| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeArtifact.DisassociateExternalConnection
Description
Removes an existing external connection from a repository.
Synopsis
- data DisassociateExternalConnection = DisassociateExternalConnection' {
- domainOwner :: Maybe Text
- domain :: Text
- repository :: Text
- externalConnection :: Text
- newDisassociateExternalConnection :: Text -> Text -> Text -> DisassociateExternalConnection
- disassociateExternalConnection_domainOwner :: Lens' DisassociateExternalConnection (Maybe Text)
- disassociateExternalConnection_domain :: Lens' DisassociateExternalConnection Text
- disassociateExternalConnection_repository :: Lens' DisassociateExternalConnection Text
- disassociateExternalConnection_externalConnection :: Lens' DisassociateExternalConnection Text
- data DisassociateExternalConnectionResponse = DisassociateExternalConnectionResponse' {}
- newDisassociateExternalConnectionResponse :: Int -> DisassociateExternalConnectionResponse
- disassociateExternalConnectionResponse_repository :: Lens' DisassociateExternalConnectionResponse (Maybe RepositoryDescription)
- disassociateExternalConnectionResponse_httpStatus :: Lens' DisassociateExternalConnectionResponse Int
Creating a Request
data DisassociateExternalConnection Source #
See: newDisassociateExternalConnection smart constructor.
Constructors
| DisassociateExternalConnection' | |
Fields
| |
Instances
newDisassociateExternalConnection Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> DisassociateExternalConnection |
Create a value of DisassociateExternalConnection with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DisassociateExternalConnection, disassociateExternalConnection_domainOwner - The 12-digit account number of the Amazon Web Services account that owns
the domain. It does not include dashes or spaces.
$sel:domain:DisassociateExternalConnection', disassociateExternalConnection_domain - The name of the domain that contains the repository from which to remove
the external repository.
DisassociateExternalConnection, disassociateExternalConnection_repository - The name of the repository from which the external connection will be
removed.
$sel:externalConnection:DisassociateExternalConnection', disassociateExternalConnection_externalConnection - The name of the external connection to be removed from the repository.
Request Lenses
disassociateExternalConnection_domainOwner :: Lens' DisassociateExternalConnection (Maybe Text) Source #
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
disassociateExternalConnection_domain :: Lens' DisassociateExternalConnection Text Source #
The name of the domain that contains the repository from which to remove the external repository.
disassociateExternalConnection_repository :: Lens' DisassociateExternalConnection Text Source #
The name of the repository from which the external connection will be removed.
disassociateExternalConnection_externalConnection :: Lens' DisassociateExternalConnection Text Source #
The name of the external connection to be removed from the repository.
Destructuring the Response
data DisassociateExternalConnectionResponse Source #
See: newDisassociateExternalConnectionResponse smart constructor.
Constructors
| DisassociateExternalConnectionResponse' | |
Fields
| |
Instances
newDisassociateExternalConnectionResponse Source #
Arguments
| :: Int | |
| -> DisassociateExternalConnectionResponse |
Create a value of DisassociateExternalConnectionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DisassociateExternalConnection, disassociateExternalConnectionResponse_repository - The repository associated with the removed external connection.
$sel:httpStatus:DisassociateExternalConnectionResponse', disassociateExternalConnectionResponse_httpStatus - The response's http status code.
Response Lenses
disassociateExternalConnectionResponse_repository :: Lens' DisassociateExternalConnectionResponse (Maybe RepositoryDescription) Source #
The repository associated with the removed external connection.
disassociateExternalConnectionResponse_httpStatus :: Lens' DisassociateExternalConnectionResponse Int Source #
The response's http status code.