SageMaker / Client / update_context

update_context#

SageMaker.Client.update_context(**kwargs)#

Updates a context.

See also: AWS API Documentation

Request Syntax

response = client.update_context(
    ContextName='string',
    Description='string',
    Properties={
        'string': 'string'
    },
    PropertiesToRemove=[
        'string',
    ]
)
Parameters:
  • ContextName (string) –

    [REQUIRED]

    The name of the context to update.

  • Description (string) – The new description for the context.

  • 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

{
    'ContextArn': 'string'
}

Response Structure

  • (dict) –

    • ContextArn (string) –

      The Amazon Resource Name (ARN) of the context.

Exceptions