start_integration_authorization
¶
start_integration_authorization(
provider_type: IntegrationAuthorizationProviderType,
*,
config_overrides: Optional[ContinuumClientConfig] = None,
name: Optional[IntegrationName] = None,
) -> StartIntegrationAuthorizationOutput
Starts an OAuth authorization for a new integration and returns the values the caller sends to the provider's authorization endpoint. The authorization belongs to the calling AWS account, can be redeemed once by CreateIntegration from that same account, and expires after ten minutes.
Parameters:
-
provider_type(IntegrationAuthorizationProviderType) –The provider to authorize. Only GITHUB is supported.
-
name(Optional[IntegrationName], default:None) –The name the integration will be created with. When specified, the request fails with ConflictException if an integration with this name already exists in the account, before the caller leaves for the provider. The name is only checked: it is not reserved, stored, or authorized. CreateIntegration requires its own name, checks it again, and may use a different one.
Raises:
-
AccessDeniedException–The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
-
ConflictException–The request could not be completed due to a conflict with the current state of the resource.
-
InternalServerException–The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
-
ThrottlingException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.