Skip to main content

approved_origins

Creates, updates, deletes, gets or lists an approved_origins resource.

Overview

Nameapproved_origins
TypeResource
Idaws.connect.approved_origins

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
originstringThe approved origins.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_approved_originsselectinstance_id, regionnextToken, maxResultsThis API is in preview release for Connect Customer and is subject to change. Returns a paginated list of all approved origins associated with the instance.
disassociate_approved_originupdateinstance_id, origin, regionclientTokenThis API is in preview release for Connect Customer and is subject to change. Revokes access to integrated applications from Connect Customer.
associate_approved_originupdateinstance_id, regionThis API is in preview release for Connect Customer and is subject to change. Associates an approved origin to an Connect Customer instance.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
instance_idstringThe identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
originstringThe domain URL of the integrated application.
regionstringAWS region (default: us-east-1)
clientTokenstringA 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.
maxResultsintegerThe maximum number of results to return per page.
nextTokenstringThe token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

SELECT examples

This API is in preview release for Connect Customer and is subject to change. Returns a paginated list of all approved origins associated with the instance.

SELECT
origin
FROM aws.connect.approved_origins
WHERE instance_id = '{{ instance_id }}' -- required
AND region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;

UPDATE examples

This API is in preview release for Connect Customer and is subject to change. Revokes access to integrated applications from Connect Customer.

UPDATE aws.connect.approved_origins
SET
-- No updatable properties
WHERE
instance_id = '{{ instance_id }}' --required
AND origin = '{{ origin }}' --required
AND region = '{{ region }}' --required
AND clientToken = '{{ clientToken}}';