update_app_authorization
async
¶
update_app_authorization(
app_bundle_identifier: Identifier,
app_authorization_identifier: Identifier,
*,
config_overrides: Optional[AsyncAppFabricClientConfig] = 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/async_app_fabric.py
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 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 | |