ManagedintegrationsforIoTDeviceManagement / Client / create_cloud_connector
create_cloud_connector¶
- ManagedintegrationsforIoTDeviceManagement.Client.create_cloud_connector(**kwargs)¶
Creates a C2C (cloud-to-cloud) connector.
See also: AWS API Documentation
Request Syntax
response = client.create_cloud_connector( Name='string', EndpointConfig={ 'lambda': { 'arn': 'string' } }, Description='string', EndpointType='LAMBDA', ClientToken='string' )
- Parameters:
Name (string) –
[REQUIRED]
The display name of the C2C connector.
EndpointConfig (dict) –
[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.
Description (string) – A description of the C2C connector.
EndpointType (string) – The type of endpoint used for the cloud connector, which defines how the connector communicates with external services.
ClientToken (string) –
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.
- Return type:
dict
- Returns:
Response Syntax
{ 'Id': 'string' }
Response Structure
(dict) –
Id (string) –
The unique identifier assigned to the newly created cloud connector.
Exceptions
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.AccessDeniedException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ValidationException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.InternalServerException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ConflictException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ThrottlingException