update_app_authorization
¶
update_app_authorization(
app_bundle_identifier: Identifier,
app_authorization_identifier: Identifier,
*,
config_overrides: Optional[AppFabricClientConfig] = None,
credential: Optional[Credential] = None,
tenant: Optional[Tenant] = None,
) -> UpdateAppAuthorizationResponse
Updates an app authorization within an app bundle, which allows AppFabric to connect to an application.
If the app authorization was in a connected state, updating the app authorization will set it back to a PendingConnect state.
Parameters:
-
app_bundle_identifier(Identifier) –The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
-
app_authorization_identifier(Identifier) –The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
-
credential(Optional[Credential], default:None) –Contains credentials for the application, such as an API key or OAuth2 client ID and secret.
Specify credentials that match the authorization type of the app authorization to update. For example, if the authorization type of the app authorization is OAuth2 (
oauth2), then you should provide only the OAuth2 credentials. -
tenant(Optional[Tenant], default:None) –Contains information about an application tenant, such as the application display name and identifier.
Raises:
-
AccessDeniedException–You are not authorized to perform this operation.
-
InternalServerException–The request processing has failed because of an unknown error, exception, or failure with an internal server.
-
ResourceNotFoundException–The specified resource does not exist.
-
ThrottlingException–The request rate exceeds the limit.
-
ValidationException–The request has invalid or missing parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_appfabric/_services/app_fabric.py
1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 | |