1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. sagemaker
  6. getAction

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.75.0
published on Monday, Aug 17, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.75.0
published on Monday, Aug 17, 2026 by Pulumi

    Resource type definition for AWS::SageMaker::Action. An action is a lineage tracking entity that represents an action or activity, such as a model deployment or an HPO job.

    Using getAction

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAction(args: GetActionArgs, opts?: InvokeOptions): Promise<GetActionResult>
    function getActionOutput(args: GetActionOutputArgs, opts?: InvokeOutputOptions): Output<GetActionResult>
    def get_action(arn: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetActionResult
    def get_action_output(arn: pulumi.Input[Optional[str]] = None,
                   opts: Optional[InvokeOutputOptions] = None) -> Output[GetActionResult]
    func LookupAction(ctx *Context, args *LookupActionArgs, opts ...InvokeOption) (*LookupActionResult, error)
    func LookupActionOutput(ctx *Context, args *LookupActionOutputArgs, opts ...InvokeOption) LookupActionResultOutput

    > Note: This function is named LookupAction in the Go SDK.

    public static class GetAction 
    {
        public static Task<GetActionResult> InvokeAsync(GetActionArgs args, InvokeOptions? opts = null)
        public static Output<GetActionResult> Invoke(GetActionInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetActionResult> Invoke(GetActionInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetActionResult> getAction(GetActionArgs args, InvokeOptions options)
    public static Output<GetActionResult> getAction(GetActionArgs args, InvokeOptions options)
    public static Output<GetActionResult> getAction(GetActionArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:sagemaker:getAction
      arguments:
        # arguments dictionary
    data "aws-native_sagemaker_get_action" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the action.
    Arn string
    The Amazon Resource Name (ARN) of the action.
    arn string
    The Amazon Resource Name (ARN) of the action.
    arn String
    The Amazon Resource Name (ARN) of the action.
    arn string
    The Amazon Resource Name (ARN) of the action.
    arn str
    The Amazon Resource Name (ARN) of the action.
    arn String
    The Amazon Resource Name (ARN) of the action.

    getAction Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the action.
    CreationTime string
    When the action was created.
    Description string
    The description of the action.
    LastModifiedTime string
    When the action was last modified.
    Properties Dictionary<string, string>
    A list of properties to add to the action.
    Status Pulumi.AwsNative.SageMaker.ActionStatus
    The status of the action.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    A list of tags to apply to the action.
    Arn string
    The Amazon Resource Name (ARN) of the action.
    CreationTime string
    When the action was created.
    Description string
    The description of the action.
    LastModifiedTime string
    When the action was last modified.
    Properties map[string]string
    A list of properties to add to the action.
    Status ActionStatus
    The status of the action.
    Tags Tag
    A list of tags to apply to the action.
    arn string
    The Amazon Resource Name (ARN) of the action.
    creation_time string
    When the action was created.
    description string
    The description of the action.
    last_modified_time string
    When the action was last modified.
    properties map(string)
    A list of properties to add to the action.
    status "Unknown" | "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped"
    The status of the action.
    tags list(object)
    A list of tags to apply to the action.
    arn String
    The Amazon Resource Name (ARN) of the action.
    creationTime String
    When the action was created.
    description String
    The description of the action.
    lastModifiedTime String
    When the action was last modified.
    properties Map<String,String>
    A list of properties to add to the action.
    status ActionStatus
    The status of the action.
    tags List<Tag>
    A list of tags to apply to the action.
    arn string
    The Amazon Resource Name (ARN) of the action.
    creationTime string
    When the action was created.
    description string
    The description of the action.
    lastModifiedTime string
    When the action was last modified.
    properties {[key: string]: string}
    A list of properties to add to the action.
    status ActionStatus
    The status of the action.
    tags Tag[]
    A list of tags to apply to the action.
    arn str
    The Amazon Resource Name (ARN) of the action.
    creation_time str
    When the action was created.
    description str
    The description of the action.
    last_modified_time str
    When the action was last modified.
    properties Mapping[str, str]
    A list of properties to add to the action.
    status ActionStatus
    The status of the action.
    tags Sequence[root_Tag]
    A list of tags to apply to the action.
    arn String
    The Amazon Resource Name (ARN) of the action.
    creationTime String
    When the action was created.
    description String
    The description of the action.
    lastModifiedTime String
    When the action was last modified.
    properties Map<String>
    A list of properties to add to the action.
    status "Unknown" | "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped"
    The status of the action.
    tags List<Property Map>
    A list of tags to apply to the action.

    Supporting Types

    ActionStatus

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.75.0
    published on Monday, Aug 17, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial