:doc:`Greengrass <../../greengrass>` / Client / create_group_version

********************
create_group_version
********************



.. py:method:: Greengrass.Client.create_group_version(**kwargs)

  Creates a version of a group which has already been defined.

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroupVersion>`_  


  **Request Syntax**
  ::

    response = client.create_group_version(
        AmznClientToken='string',
        ConnectorDefinitionVersionArn='string',
        CoreDefinitionVersionArn='string',
        DeviceDefinitionVersionArn='string',
        FunctionDefinitionVersionArn='string',
        GroupId='string',
        LoggerDefinitionVersionArn='string',
        ResourceDefinitionVersionArn='string',
        SubscriptionDefinitionVersionArn='string'
    )
    
  :type AmznClientToken: string
  :param AmznClientToken: A client token used to correlate requests and responses.

  
  :type ConnectorDefinitionVersionArn: string
  :param ConnectorDefinitionVersionArn: The ARN of the connector definition version for this group.

  
  :type CoreDefinitionVersionArn: string
  :param CoreDefinitionVersionArn: The ARN of the core definition version for this group.

  
  :type DeviceDefinitionVersionArn: string
  :param DeviceDefinitionVersionArn: The ARN of the device definition version for this group.

  
  :type FunctionDefinitionVersionArn: string
  :param FunctionDefinitionVersionArn: The ARN of the function definition version for this group.

  
  :type GroupId: string
  :param GroupId: **[REQUIRED]** The ID of the Greengrass group.

  
  :type LoggerDefinitionVersionArn: string
  :param LoggerDefinitionVersionArn: The ARN of the logger definition version for this group.

  
  :type ResourceDefinitionVersionArn: string
  :param ResourceDefinitionVersionArn: The ARN of the resource definition version for this group.

  
  :type SubscriptionDefinitionVersionArn: string
  :param SubscriptionDefinitionVersionArn: The ARN of the subscription definition version for this group.

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

    
    ::

      {
          'Arn': 'string',
          'CreationTimestamp': 'string',
          'Id': 'string',
          'Version': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* Success. The response contains information about the group version.
      

      - **Arn** *(string) --* The ARN of the version.
      

      - **CreationTimestamp** *(string) --* The time, in milliseconds since the epoch, when the version was created.
      

      - **Id** *(string) --* The ID of the parent definition that the version is associated with.
      

      - **Version** *(string) --* The ID of the version.
  
  **Exceptions**
  
  *   :py:class:`Greengrass.Client.exceptions.BadRequestException`

  