create_access_control_application_secret
async
¶
create_access_control_application_secret(
aws_account_id: AwsAccountId,
application_id: ShortRestrictiveResourceId,
client_secret_configuration: ClientSecretConfiguration,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
description: Optional[AccessControlApplicationDescription] = None,
) -> CreateAccessControlApplicationSecretResponse
Creates a client secret for an access control application. An access control application can have up to two client secrets, so that you can rotate a secret without downtime.
Provide the Amazon Web Services Secrets Manager (Secrets Manager) secret ARN for each Region where the client secret, issued by your identity provider (IdP), is stored.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the Quick Sight account.
-
application_id(ShortRestrictiveResourceId) –The ID of the access control application.
-
description(Optional[AccessControlApplicationDescription], default:None) –A description of the client secret, for example
rotation-june-2026. If you don't provide a description, the client secret has no description. -
client_secret_configuration(ClientSecretConfiguration) –The source of the client secret, which is your IdP, and the Amazon Web Services Secrets Manager ARNs of the secret.
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
1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 | |