Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
DisassociateExternalConnection' | |
|
Instances
newDisassociateExternalConnection Source #
:: 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:
$sel:domainOwner:DisassociateExternalConnection'
, disassociateExternalConnection_domainOwner
- The 12-digit account number of the AWS 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.
$sel: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 AWS 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.
DisassociateExternalConnectionResponse' | |
|
Instances
newDisassociateExternalConnectionResponse Source #
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:
$sel:repository: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.