Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

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