create_access_control_application
async
¶
create_access_control_application(
aws_account_id: AwsAccountId,
application_id: ShortRestrictiveResourceId,
name: ResourceName,
namespace: Namespace,
authentication_type: AccessControlApplicationAuthenticationType,
idp_authorizing_configuration: IdpAuthorizingConfigInput,
quick_authentication_configuration: QuickAuthenticationConfigInput,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
description: Optional[AccessControlApplicationDescription] = None,
tags: Optional[TagList] = None,
) -> CreateAccessControlApplicationResponse
Creates an access control application in an Amazon Quick Sight account. You use an access control application to define how an external client signs in to Quick Sight with OAuth 2.0.
To connect a client to Quick Sight through an inbound connector, associate the access control application with the connector by using the UpdateInboundConnectorApplicationAssociations operation.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the Quick Sight account.
-
application_id(ShortRestrictiveResourceId) –The ID for the access control application. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
Quick Sight reserves IDs that start with
quick-aca-for the access control application of the Quick Sight desktop application. To create one, the ID must bequick-aca-followed by your Amazon Web Services account ID and the namespace, separated by a hyphen. For example,quick-aca-111122223333-default. In addition,QuickAuthenticationTypemust beQUICK_MANAGED_PUBLIC_AUTH_CODEwithhttp://localhost:18080as the only redirect URI, andIdpAuthorizingTypemust beIDC_AUTH_CODEorQUICK_MANAGED_AUTH_CODE. -
name(ResourceName) –The name of the access control application.
-
description(Optional[AccessControlApplicationDescription], default:None) –The description of the access control application.
-
namespace(Namespace) –The Quick Sight namespace for the access control application.
-
authentication_type(AccessControlApplicationAuthenticationType) –The authentication protocol that the access control application uses.
-
idp_authorizing_configuration(IdpAuthorizingConfigInput) –The identity provider configuration of the access control application.
-
quick_authentication_configuration(QuickAuthenticationConfigInput) –The Quick Sight authentication configuration of the access control application. You provide redirect URIs, and Quick Sight generates the client ID.
-
tags(Optional[TagList], default:None) –The tags to assign to the access control application.
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.
-
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
1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 | |