get_ops_metadata

SSM.Client.get_ops_metadata(**kwargs)

View operational metadata related to an application in Application Manager.

See also: AWS API Documentation

Request Syntax

response = client.get_ops_metadata(
    OpsMetadataArn='string',
    MaxResults=123,
    NextToken='string'
)
Parameters
  • OpsMetadataArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of an OpsMetadata Object to view.

  • MaxResults (integer) -- The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
  • NextToken (string) -- A token to start the list. Use this token to get the next set of results.
Return type

dict

Returns

Response Syntax

{
    'ResourceId': 'string',
    'Metadata': {
        'string': {
            'Value': 'string'
        }
    },
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • ResourceId (string) --

      The resource ID of the Application Manager application.

    • Metadata (dict) --

      OpsMetadata for an Application Manager application.

      • (string) --

        • (dict) --

          Metadata to assign to an Application Manager application.

          • Value (string) --

            Metadata value to assign to an Application Manager application.

    • NextToken (string) --

      The token for the next set of items to return. Use this token to get the next set of results.

Exceptions

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