create_o_auth_client_application
async
¶
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[AsyncQuickSightClientConfig] = 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/async_quick_sight.py
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 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 | |