| 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 |
Amazonka.WorkLink.DisassociateDomain
Description
Disassociates a domain from Amazon WorkLink. End users lose the ability to access the domain with Amazon WorkLink.
Synopsis
- data DisassociateDomain = DisassociateDomain' {
- fleetArn :: Text
- domainName :: Text
- newDisassociateDomain :: Text -> Text -> DisassociateDomain
- disassociateDomain_fleetArn :: Lens' DisassociateDomain Text
- disassociateDomain_domainName :: Lens' DisassociateDomain Text
- data DisassociateDomainResponse = DisassociateDomainResponse' {
- httpStatus :: Int
- newDisassociateDomainResponse :: Int -> DisassociateDomainResponse
- disassociateDomainResponse_httpStatus :: Lens' DisassociateDomainResponse Int
Creating a Request
data DisassociateDomain Source #
See: newDisassociateDomain smart constructor.
Constructors
| DisassociateDomain' | |
Fields
| |
Instances
newDisassociateDomain Source #
Arguments
| :: Text | |
| -> Text | |
| -> DisassociateDomain |
Create a value of DisassociateDomain 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:fleetArn:DisassociateDomain', disassociateDomain_fleetArn - The ARN of the fleet.
$sel:domainName:DisassociateDomain', disassociateDomain_domainName - The name of the domain.
Request Lenses
disassociateDomain_fleetArn :: Lens' DisassociateDomain Text Source #
The ARN of the fleet.
disassociateDomain_domainName :: Lens' DisassociateDomain Text Source #
The name of the domain.
Destructuring the Response
data DisassociateDomainResponse Source #
See: newDisassociateDomainResponse smart constructor.
Constructors
| DisassociateDomainResponse' | |
Fields
| |
Instances
newDisassociateDomainResponse Source #
Create a value of DisassociateDomainResponse 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:httpStatus:DisassociateDomainResponse', disassociateDomainResponse_httpStatus - The response's http status code.
Response Lenses
disassociateDomainResponse_httpStatus :: Lens' DisassociateDomainResponse Int Source #
The response's http status code.