:doc:`SSM <../../ssm>` / Client / list_ops_metadata

*****************
list_ops_metadata
*****************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsMetadata>`_  


  **Request Syntax**
  ::

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

    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) --* 

        
    
    

  :type MaxResults: integer
  :param MaxResults: 

    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.

    

  
  :type NextToken: string
  :param NextToken: 

    A token to start the list. Use this token to get the next set of results.

    

  
  
  :rtype: 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**
  
  *   :py:class:`SSM.Client.exceptions.OpsMetadataInvalidArgumentException`

  
  *   :py:class:`SSM.Client.exceptions.InternalServerError`

  