LookoutEquipment / Client / update_model

update_model#

LookoutEquipment.Client.update_model(**kwargs)#

Updates a model in the account.

See also: AWS API Documentation

Request Syntax

response = client.update_model(
    ModelName='string',
    LabelsInputConfiguration={
        'S3InputConfiguration': {
            'Bucket': 'string',
            'Prefix': 'string'
        },
        'LabelGroupName': 'string'
    },
    RoleArn='string'
)
Parameters:
  • ModelName (string) –

    [REQUIRED]

    The name of the model to update.

  • LabelsInputConfiguration (dict) –

    Contains the configuration information for the S3 location being used to hold label data.

    • S3InputConfiguration (dict) –

      Contains location information for the S3 location being used for label data.

      • Bucket (string) – [REQUIRED]

        The name of the S3 bucket holding the label data.

      • Prefix (string) –

        The prefix for the S3 bucket used for the label data.

    • LabelGroupName (string) –

      The name of the label group to be used for label data.

  • RoleArn (string) – The ARN of the model to update.

Returns:

None

Exceptions

  • LookoutEquipment.Client.exceptions.ConflictException

  • LookoutEquipment.Client.exceptions.ResourceNotFoundException

  • LookoutEquipment.Client.exceptions.ValidationException

  • LookoutEquipment.Client.exceptions.ThrottlingException

  • LookoutEquipment.Client.exceptions.AccessDeniedException

  • LookoutEquipment.Client.exceptions.InternalServerException