:doc:`AppRegistry <../../servicecatalog-appregistry>` / Client / create_attribute_group

**********************
create_attribute_group
**********************



.. py:method:: AppRegistry.Client.create_attribute_group(**kwargs)

  

  Creates a new attribute group as a container for user-defined attributes. This feature enables users to have full control over their cloud application's metadata in a rich machine-readable format to facilitate integration with automated workflows and third-party tools.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateAttributeGroup>`_  


  **Request Syntax**
  ::

    response = client.create_attribute_group(
        name='string',
        description='string',
        attributes='string',
        tags={
            'string': 'string'
        },
        clientToken='string'
    )
    
  :type name: string
  :param name: **[REQUIRED]** 

    The name of the attribute group.

    

  
  :type description: string
  :param description: 

    The description of the attribute group that the user provides.

    

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

    A JSON string in the form of nested key-value pairs that represent the attributes in the group and describes an application and its components.

    

  
  :type tags: dict
  :param tags: 

    Key-value pairs you can use to associate with the attribute group.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    A unique identifier that you provide to ensure idempotency. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails.

    This field is autopopulated if not provided.

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

    
    ::

      {
          'attributeGroup': {
              'id': 'string',
              'arn': 'string',
              'name': 'string',
              'description': 'string',
              'creationTime': datetime(2015, 1, 1),
              'lastUpdateTime': datetime(2015, 1, 1),
              'tags': {
                  'string': 'string'
              }
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **attributeGroup** *(dict) --* 

        Information about the attribute group.

        
        

        - **id** *(string) --* 

          The globally unique attribute group identifier of the attribute group.

          
        

        - **arn** *(string) --* 

          The Amazon resource name (ARN) that specifies the attribute group across services.

          
        

        - **name** *(string) --* 

          The name of the attribute group.

          
        

        - **description** *(string) --* 

          The description of the attribute group that the user provides.

          
        

        - **creationTime** *(datetime) --* 

          The ISO-8601 formatted timestamp of the moment the attribute group was created.

          
        

        - **lastUpdateTime** *(datetime) --* 

          The ISO-8601 formatted timestamp of the moment the attribute group was last updated. This time is the same as the creationTime for a newly created attribute group.

          
        

        - **tags** *(dict) --* 

          Key-value pairs you can use to associate with the attribute group.

          
          

          - *(string) --* 
            

            - *(string) --* 
      
    
    
  
  **Exceptions**
  
  *   :py:class:`AppRegistry.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`AppRegistry.Client.exceptions.ConflictException`

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

  
  *   :py:class:`AppRegistry.Client.exceptions.InternalServerException`

  