:doc:`ManagedintegrationsforIoTDeviceManagement <../../iot-managed-integrations>` / Client / create_cloud_connector

**********************
create_cloud_connector
**********************



.. py:method:: ManagedintegrationsforIoTDeviceManagement.Client.create_cloud_connector(**kwargs)

  

  Creates a C2C (cloud-to-cloud) connector.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-managed-integrations-2025-03-03/CreateCloudConnector>`_  


  **Request Syntax**
  ::

    response = client.create_cloud_connector(
        Name='string',
        EndpointConfig={
            'lambda': {
                'arn': 'string'
            }
        },
        Description='string',
        EndpointType='LAMBDA',
        ClientToken='string'
    )
    
  :type Name: string
  :param Name: **[REQUIRED]** 

    The display name of the C2C connector.

    

  
  :type EndpointConfig: dict
  :param EndpointConfig: **[REQUIRED]** 

    The configuration details for the cloud connector endpoint, including connection parameters and authentication requirements.

    

  
    - **lambda** *(dict) --* 

      The Lambda function configuration for the endpoint, used when the endpoint communicates through an AWS Lambda function.

      

    
      - **arn** *(string) --* **[REQUIRED]** 

        The Amazon Resource Name (ARN) of the Lambda function used as an endpoint.

        

      
    
  
  :type Description: string
  :param Description: 

    A description of the C2C connector.

    

  
  :type EndpointType: string
  :param EndpointType: 

    The type of endpoint used for the cloud connector, which defines how the connector communicates with external services.

    

  
  :type ClientToken: string
  :param ClientToken: 

    An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.

    This field is autopopulated if not provided.

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

    
    ::

      {
          'Id': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Id** *(string) --* 

        The unique identifier assigned to the newly created cloud connector.

        
  
  **Exceptions**
  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.AccessDeniedException`

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

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

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

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

  