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
3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 | |