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_ops_metadata

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