list_ops_metadata

SSM.Client.list_ops_metadata(**kwargs)

Amazon Web Services Systems Manager calls this API operation when displaying all Application Manager OpsMetadata objects or blobs.

See also: AWS API Documentation

Request Syntax

response = client.list_ops_metadata(
    Filters=[
        {
            'Key': 'string',
            'Values': [
                'string',
            ]
        },
    ],
    MaxResults=123,
    NextToken='string'
)
Parameters
  • Filters (list) --

    One or more filters to limit the number of OpsMetadata objects returned by the call.

    • (dict) --

      A filter to limit the number of OpsMetadata objects displayed.

      • Key (string) -- [REQUIRED]

        A filter key.

      • Values (list) -- [REQUIRED]

        A filter value.

        • (string) --
  • 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

{
    'OpsMetadataList': [
        {
            'ResourceId': 'string',
            'OpsMetadataArn': 'string',
            'LastModifiedDate': datetime(2015, 1, 1),
            'LastModifiedUser': 'string',
            'CreationDate': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • OpsMetadataList (list) --

      Returns a list of OpsMetadata objects.

      • (dict) --

        Operational metadata for an application in Application Manager.

        • ResourceId (string) --

          The ID of the Application Manager application.

        • OpsMetadataArn (string) --

          The Amazon Resource Name (ARN) of the OpsMetadata Object or blob.

        • LastModifiedDate (datetime) --

          The date the OpsMetadata object was last updated.

        • LastModifiedUser (string) --

          The user name who last updated the OpsMetadata object.

        • CreationDate (datetime) --

          The date the OpsMetadata objects was created.

    • 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.OpsMetadataInvalidArgumentException
  • SSM.Client.exceptions.InternalServerError