Connect / Client / associate_approved_origin
associate_approved_origin¶
- Connect.Client.associate_approved_origin(**kwargs)¶
This API is in preview release for Connect Customer and is subject to change.
Associates an approved origin to an Connect Customer instance.
See also: AWS API Documentation
Request Syntax
response = client.associate_approved_origin( InstanceId='string', Origin='string', ClientToken='string' )
- Parameters:
InstanceId (string) –
[REQUIRED]
The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Origin (string) –
[REQUIRED]
The domain to add to your allow list.
ClientToken (string) –
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
This field is autopopulated if not provided.
- Returns:
None
Exceptions
Connect.Client.exceptions.ResourceNotFoundExceptionConnect.Client.exceptions.ResourceConflictExceptionConnect.Client.exceptions.InternalServiceExceptionConnect.Client.exceptions.InvalidRequestExceptionConnect.Client.exceptions.InvalidParameterExceptionConnect.Client.exceptions.ServiceQuotaExceededExceptionConnect.Client.exceptions.ThrottlingException