:doc:`DataZone <../../datazone>` / Client / batch_get_attributes_metadata

*****************************
batch_get_attributes_metadata
*****************************



.. py:method:: DataZone.Client.batch_get_attributes_metadata(**kwargs)

  

  Gets the attribute metadata.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/BatchGetAttributesMetadata>`_  


  **Request Syntax**
  ::

    response = client.batch_get_attributes_metadata(
        domainIdentifier='string',
        entityType='ASSET'|'LISTING',
        entityIdentifier='string',
        entityRevision='string',
        attributeIdentifiers=[
            'string',
        ]
    )
    
  :type domainIdentifier: string
  :param domainIdentifier: **[REQUIRED]** 

    The domain ID where you want to get the attribute metadata.

    

  
  :type entityType: string
  :param entityType: **[REQUIRED]** 

    The entity type for which you want to get attribute metadata.

    

  
  :type entityIdentifier: string
  :param entityIdentifier: **[REQUIRED]** 

    The entity ID for which you want to get attribute metadata.

    

  
  :type entityRevision: string
  :param entityRevision: 

    The entity revision for which you want to get attribute metadata.

    

  
  :type attributeIdentifiers: list
  :param attributeIdentifiers: **[REQUIRED]** 

    The attribute identifier.

    

  
    - *(string) --* 

    

  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'attributes': [
              {
                  'attributeIdentifier': 'string',
                  'forms': [
                      {
                          'formName': 'string',
                          'typeName': 'string',
                          'typeRevision': 'string',
                          'content': 'string'
                      },
                  ]
              },
          ],
          'errors': [
              {
                  'attributeIdentifier': 'string',
                  'code': 'string',
                  'message': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **attributes** *(list) --* 

        The results of the BatchGetAttributesMetadata action.

        
        

        - *(dict) --* 

          The results of the BatchGetAttribute action.

          
          

          - **attributeIdentifier** *(string) --* 

            The attribute ID.

            
          

          - **forms** *(list) --* 

            The metadata forms that are part of the results of the BatchGetAttribute action.

            
            

            - *(dict) --* 

              The details of a metadata form.

              
              

              - **formName** *(string) --* 

                The name of the metadata form.

                
              

              - **typeName** *(string) --* 

                The name of the metadata form type.

                
              

              - **typeRevision** *(string) --* 

                The revision of the metadata form type.

                
              

              - **content** *(string) --* 

                The content of the metadata form.

                
          
        
      
    
      

      - **errors** *(list) --* 

        The errors generated when the BatchGetAttributesMetadata action is invoked.

        
        

        - *(dict) --* 

          The attribute error.

          
          

          - **attributeIdentifier** *(string) --* 

            The attribute ID as part of the attribute error.

            
          

          - **code** *(string) --* 

            The code generated as part of the attribute error.

            
          

          - **message** *(string) --* 

            The message generated as part of the attribute error.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`DataZone.Client.exceptions.InternalServerException`

  
  *   :py:class:`DataZone.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`DataZone.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`DataZone.Client.exceptions.ThrottlingException`

  
  *   :py:class:`DataZone.Client.exceptions.ValidationException`

  
  *   :py:class:`DataZone.Client.exceptions.UnauthorizedException`

  