disassociate_external_connection
¶
disassociate_external_connection(
domain: DomainName,
repository: RepositoryName,
external_connection: ExternalConnectionName,
*,
config_overrides: Optional[codeartifactClientConfig] = None,
domain_owner: Optional[AccountId] = None,
) -> DisassociateExternalConnectionResult
Removes an existing external connection from a repository.
Parameters:
-
domain(DomainName) –The name of the domain that contains the repository from which to remove the external repository.
-
domain_owner(Optional[AccountId], default:None) –The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
-
repository(RepositoryName) –The name of the repository from which the external connection will be removed.
-
external_connection(ExternalConnectionName) –The name of the external connection to be removed from the repository.
Raises:
-
AccessDeniedException–The operation did not succeed because of an unauthorized access attempt.
-
ConflictException–The operation did not succeed because prerequisites are not met.
-
InternalServerException–The operation did not succeed because of an error that occurred inside CodeArtifact.
-
ResourceNotFoundException–The operation did not succeed because the resource requested is not found in the service.
-
ServiceQuotaExceededException–The operation did not succeed because it would have exceeded a service limit for your account.
-
ThrottlingException–The operation did not succeed because too many requests are sent to the service.
-
ValidationException–The operation did not succeed because a parameter in the request was sent with an invalid value.
-
UnknownServiceError–The service returned an error code this client does not model.