connect_app_authorization
async
¶
connect_app_authorization(
app_bundle_identifier: Identifier,
app_authorization_identifier: Identifier,
*,
config_overrides: Optional[AsyncAppFabricClientConfig] = None,
auth_request: Optional[AuthRequest] = None,
) -> ConnectAppAuthorizationResponse
Establishes a connection between Amazon Web Services AppFabric and an application, which allows AppFabric to call the APIs of the application.
Parameters:
-
app_bundle_identifier(Identifier) –The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle that contains the app authorization 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.
-
auth_request(Optional[AuthRequest], default:None) –Contains OAuth2 authorization information.
This is required if the app authorization for the request is configured with an OAuth2 (
oauth2) authorization type.
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.