| 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.RestoreDomainAccess
Description
Moves a domain to ACTIVE status if it was in the INACTIVE status.
Synopsis
- data RestoreDomainAccess = RestoreDomainAccess' {
- fleetArn :: Text
- domainName :: Text
- newRestoreDomainAccess :: Text -> Text -> RestoreDomainAccess
- restoreDomainAccess_fleetArn :: Lens' RestoreDomainAccess Text
- restoreDomainAccess_domainName :: Lens' RestoreDomainAccess Text
- data RestoreDomainAccessResponse = RestoreDomainAccessResponse' {
- httpStatus :: Int
- newRestoreDomainAccessResponse :: Int -> RestoreDomainAccessResponse
- restoreDomainAccessResponse_httpStatus :: Lens' RestoreDomainAccessResponse Int
Creating a Request
data RestoreDomainAccess Source #
See: newRestoreDomainAccess smart constructor.
Constructors
| RestoreDomainAccess' | |
Fields
| |
Instances
newRestoreDomainAccess Source #
Arguments
| :: Text | |
| -> Text | |
| -> RestoreDomainAccess |
Create a value of RestoreDomainAccess 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:RestoreDomainAccess', restoreDomainAccess_fleetArn - The ARN of the fleet.
$sel:domainName:RestoreDomainAccess', restoreDomainAccess_domainName - The name of the domain.
Request Lenses
restoreDomainAccess_fleetArn :: Lens' RestoreDomainAccess Text Source #
The ARN of the fleet.
restoreDomainAccess_domainName :: Lens' RestoreDomainAccess Text Source #
The name of the domain.
Destructuring the Response
data RestoreDomainAccessResponse Source #
See: newRestoreDomainAccessResponse smart constructor.
Constructors
| RestoreDomainAccessResponse' | |
Fields
| |
Instances
newRestoreDomainAccessResponse Source #
Create a value of RestoreDomainAccessResponse 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:RestoreDomainAccessResponse', restoreDomainAccessResponse_httpStatus - The response's http status code.
Response Lenses
restoreDomainAccessResponse_httpStatus :: Lens' RestoreDomainAccessResponse Int Source #
The response's http status code.