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

****************
get_ops_metadata
****************



.. py:method:: SSM.Client.get_ops_metadata(**kwargs)

  

  View operational metadata related to an application in Application Manager.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsMetadata>`_  


  **Request Syntax**
  ::

    response = client.get_ops_metadata(
        OpsMetadataArn='string',
        MaxResults=123,
        NextToken='string'
    )
    
  :type OpsMetadataArn: string
  :param OpsMetadataArn: **[REQUIRED]** 

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

    

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

    
    ::

      {
          '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**
  
  *   :py:class:`SSM.Client.exceptions.OpsMetadataNotFoundException`

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

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

  