update_action

update_action(**kwargs)

Updates an action.

See also: AWS API Documentation

Request Syntax

response = client.update_action(
    ActionName='string',
    Description='string',
    Status='Unknown'|'InProgress'|'Completed'|'Failed'|'Stopping'|'Stopped',
    Properties={
        'string': 'string'
    },
    PropertiesToRemove=[
        'string',
    ]
)
Parameters
  • ActionName (string) --

    [REQUIRED]

    The name of the action to update.

  • Description (string) -- The new description for the action.
  • Status (string) -- The new status for the action.
  • Properties (dict) --

    The new list of properties. Overwrites the current property list.

    • (string) --
      • (string) --
  • PropertiesToRemove (list) --

    A list of properties to remove.

    • (string) --
Return type

dict

Returns

Response Syntax

{
    'ActionArn': 'string'
}

Response Structure

  • (dict) --

    • ActionArn (string) --

      The Amazon Resource Name (ARN) of the action.

Exceptions

  • SageMaker.Client.exceptions.ConflictException
  • SageMaker.Client.exceptions.ResourceNotFound