create_o_auth_client_application
¶
create_o_auth_client_application(
aws_account_id: AwsAccountId,
o_auth_client_application_id: OAuthClientApplicationId,
name: ResourceName,
o_auth_client_authentication_type: OAuthClientAuthenticationType,
client_id: OAuthClientId,
client_secret: OAuthClientSecret,
o_auth_token_endpoint_url: OAuthTokenEndpointUrl,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
o_auth_authorization_endpoint_url: Optional[OAuthAuthorizationEndpointUrl] = None,
o_auth_scopes: Optional[OAuthScopesString] = None,
data_source_type: Optional[DataSourceType] = None,
identity_provider_vpc_connection_properties: Optional[
VpcConnectionProperties
] = None,
tags: Optional[TagList] = None,
) -> CreateOAuthClientApplicationResponse
Creates an OAuthClientApplication.
Parameters:
-
aws_account_id(AwsAccountId) –The Amazon Web Services account ID.
-
o_auth_client_application_id(OAuthClientApplicationId) –An ID for the OAuthClientApplication that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
-
name(ResourceName) –The display name for the OAuthClientApplication.
-
o_auth_client_authentication_type(OAuthClientAuthenticationType) –The authentication type to use for the OAuthClientApplication. This determines the OAuth 2.0 grant flow that is used when the data source connects to the identity provider. Valid values are
TOKEN. -
client_id(OAuthClientId) –The client ID of the OAuth application that is registered with the identity provider.
-
client_secret(OAuthClientSecret) –The client secret of the OAuth application that is registered with the identity provider.
-
o_auth_token_endpoint_url(OAuthTokenEndpointUrl) –The token endpoint URL of the identity provider that is used to obtain access tokens.
-
o_auth_authorization_endpoint_url(Optional[OAuthAuthorizationEndpointUrl], default:None) –The authorization endpoint URL of the identity provider that is used to obtain authorization codes.
-
o_auth_scopes(Optional[OAuthScopesString], default:None) –The OAuth scopes that are requested when the OAuthClientApplication obtains an access token from the identity provider.
-
data_source_type(Optional[DataSourceType], default:None) –The type of data source that the OAuthClientApplication is used with. Valid values are
SNOWFLAKE. -
tags(Optional[TagList], default:None) –Contains a map of the key-value pairs for the resource tag or tags assigned to the OAuthClientApplication.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
LimitExceededException–A limit is exceeded.
-
ResourceExistsException–The resource specified already exists.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–Access is throttled.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/quick_sight.py
3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 | |