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

***********************************
create_connector_definition_version
***********************************



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

  Creates a version of a connector definition which has already been defined.

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


  **Request Syntax**
  ::

    response = client.create_connector_definition_version(
        AmznClientToken='string',
        ConnectorDefinitionId='string',
        Connectors=[
            {
                'ConnectorArn': 'string',
                'Id': 'string',
                'Parameters': {
                    'string': 'string'
                }
            },
        ]
    )
    
  :type AmznClientToken: string
  :param AmznClientToken: A client token used to correlate requests and responses.

  
  :type ConnectorDefinitionId: string
  :param ConnectorDefinitionId: **[REQUIRED]** The ID of the connector definition.

  
  :type Connectors: list
  :param Connectors: A list of references to connectors in this version, with their corresponding configuration settings.

  
    - *(dict) --* Information about a connector. Connectors run on the Greengrass core and contain built-in integration with local infrastructure, device protocols, AWS, and other cloud services.

    
      - **ConnectorArn** *(string) --* **[REQUIRED]** The ARN of the connector.

      
      - **Id** *(string) --* **[REQUIRED]** A descriptive or arbitrary ID for the connector. This value must be unique within the connector definition version. Max length is 128 characters with pattern [a-zA-Z0-9:_-]+.

      
      - **Parameters** *(dict) --* The parameters or configuration that the connector uses.

      
        - *(string) --* 

        
          - *(string) --* 

          
    
  
    

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

    
    ::

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

    

    - *(dict) --* 
      

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

  