update_ops_metadata

SSM.Client.update_ops_metadata(**kwargs)

Amazon Web Services Systems Manager calls this API operation when you edit OpsMetadata in Application Manager.

See also: AWS API Documentation

Request Syntax

response = client.update_ops_metadata(
    OpsMetadataArn='string',
    MetadataToUpdate={
        'string': {
            'Value': 'string'
        }
    },
    KeysToDelete=[
        'string',
    ]
)
Parameters
  • OpsMetadataArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the OpsMetadata Object to update.

  • MetadataToUpdate (dict) --

    Metadata to add to an OpsMetadata object.

    • (string) --
      • (dict) --

        Metadata to assign to an Application Manager application.

        • Value (string) --

          Metadata value to assign to an Application Manager application.

  • KeysToDelete (list) --

    The metadata keys to delete from the OpsMetadata object.

    • (string) --
Return type

dict

Returns

Response Syntax

{
    'OpsMetadataArn': 'string'
}

Response Structure

  • (dict) --

    • OpsMetadataArn (string) --

      The Amazon Resource Name (ARN) of the OpsMetadata Object that was updated.

Exceptions

  • SSM.Client.exceptions.OpsMetadataNotFoundException
  • SSM.Client.exceptions.OpsMetadataInvalidArgumentException
  • SSM.Client.exceptions.OpsMetadataKeyLimitExceededException
  • SSM.Client.exceptions.OpsMetadataTooManyUpdatesException
  • SSM.Client.exceptions.InternalServerError