Connect.Client.
list_approved_origins
(**kwargs)¶This API is in preview release for Amazon Connect and is subject to change.
Returns a paginated list of all approved origins associated with the instance.
See also: AWS API Documentation
Request Syntax
response = client.list_approved_origins(
InstanceId='string',
NextToken='string',
MaxResults=123
)
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
dict
Response Syntax
{
'Origins': [
'string',
],
'NextToken': 'string'
}
Response Structure
(dict) --
Origins (list) --
The approved origins.
NextToken (string) --
If there are additional results, this is the token for the next set of results.
Exceptions
Connect.Client.exceptions.ResourceNotFoundException
Connect.Client.exceptions.InternalServiceException
Connect.Client.exceptions.InvalidRequestException
Connect.Client.exceptions.InvalidParameterException
Connect.Client.exceptions.ThrottlingException