Connect / Client / associate_approved_origin

associate_approved_origin#

Connect.Client.associate_approved_origin(**kwargs)#

This API is in preview release for Amazon Connect and is subject to change.

Associates an approved origin to an Amazon Connect instance.

See also: AWS API Documentation

Request Syntax

response = client.associate_approved_origin(
    InstanceId='string',
    Origin='string'
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect 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.

Returns:

None

Exceptions

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.ResourceConflictException

  • Connect.Client.exceptions.InternalServiceException

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.ServiceQuotaExceededException

  • Connect.Client.exceptions.ThrottlingException