Skip to main content

o_auth_client_applications

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

Overview

Nameo_auth_client_applications
TypeResource
Idaws.quicksight.o_auth_client_applications

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
o_auth_client_applicationobjectThe information about the OAuthClientApplication.
request_idstringThe Amazon Web Services request ID for this operation.
statusintegerThe HTTP status of the request.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_o_auth_client_applicationselectaws_account_id, o_auth_client_application_id, regionDescribes an OAuthClientApplication.
list_o_auth_client_applicationsselectaws_account_id, regionnext-token, max-resultsLists all OAuthClientApplications in the current Amazon Web Services Region that belong to this Amazon Web Services account.
create_o_auth_client_applicationinsertaws_account_id, region, OAuthClientApplicationId, OAuthClientAuthenticationType, ClientId, ClientSecret, OAuthTokenEndpointUrlCreates an OAuthClientApplication.
update_o_auth_client_applicationupdateaws_account_id, o_auth_client_application_id, regionUpdates an OAuthClientApplication.
delete_o_auth_client_applicationdeleteaws_account_id, o_auth_client_application_id, regionDeletes an OAuthClientApplication.

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
aws_account_idstringThe Amazon Web Services account ID.
o_auth_client_application_idstringThe ID of the OAuthClientApplication that you want to delete.
regionstringAWS region (default: us-east-1)
max-resultsintegerThe maximum number of results to return.
next-tokenstringA pagination token that can be used in a subsequent request.

SELECT examples

Describes an OAuthClientApplication.

SELECT
o_auth_client_application,
request_id,
status
FROM aws.quicksight.o_auth_client_applications
WHERE aws_account_id = '{{ aws_account_id }}' -- required
AND o_auth_client_application_id = '{{ o_auth_client_application_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates an OAuthClientApplication.

INSERT INTO aws.quicksight.o_auth_client_applications (
OAuthClientApplicationId,
Name,
OAuthClientAuthenticationType,
ClientId,
ClientSecret,
OAuthTokenEndpointUrl,
OAuthAuthorizationEndpointUrl,
OAuthScopes,
DataSourceType,
IdentityProviderVpcConnectionProperties,
Tags,
aws_account_id,
region
)
SELECT
'{{ OAuthClientApplicationId }}' /* required */,
'{{ Name }}',
'{{ OAuthClientAuthenticationType }}' /* required */,
'{{ ClientId }}' /* required */,
'{{ ClientSecret }}' /* required */,
'{{ OAuthTokenEndpointUrl }}' /* required */,
'{{ OAuthAuthorizationEndpointUrl }}',
'{{ OAuthScopes }}',
'{{ DataSourceType }}',
'{{ IdentityProviderVpcConnectionProperties }}',
'{{ Tags }}',
'{{ aws_account_id }}',
'{{ region }}'
RETURNING
arn,
creation_status,
o_auth_client_application_id,
request_id,
status
;

UPDATE examples

Updates an OAuthClientApplication.

UPDATE aws.quicksight.o_auth_client_applications
SET
Name = '{{ Name }}',
ClientId = '{{ ClientId }}',
ClientSecret = '{{ ClientSecret }}',
OAuthTokenEndpointUrl = '{{ OAuthTokenEndpointUrl }}',
OAuthAuthorizationEndpointUrl = '{{ OAuthAuthorizationEndpointUrl }}',
OAuthScopes = '{{ OAuthScopes }}',
DataSourceType = '{{ DataSourceType }}',
IdentityProviderVpcConnectionProperties = '{{ IdentityProviderVpcConnectionProperties }}'
WHERE
aws_account_id = '{{ aws_account_id }}' --required
AND o_auth_client_application_id = '{{ o_auth_client_application_id }}' --required
AND region = '{{ region }}' --required
RETURNING
arn,
o_auth_client_application_id,
request_id,
status,
update_status;

DELETE examples

Deletes an OAuthClientApplication.

DELETE FROM aws.quicksight.o_auth_client_applications
WHERE aws_account_id = '{{ aws_account_id }}' --required
AND o_auth_client_application_id = '{{ o_auth_client_application_id }}' --required
AND region = '{{ region }}' --required
;