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 |
Checks if the specified CNAME is available.
Synopsis
- data CheckDNSAvailability = CheckDNSAvailability' {
- cNAMEPrefix :: Text
- newCheckDNSAvailability :: Text -> CheckDNSAvailability
- checkDNSAvailability_cNAMEPrefix :: Lens' CheckDNSAvailability Text
- data CheckDNSAvailabilityResponse = CheckDNSAvailabilityResponse' {}
- newCheckDNSAvailabilityResponse :: Int -> CheckDNSAvailabilityResponse
- checkDNSAvailabilityResponse_fullyQualifiedCNAME :: Lens' CheckDNSAvailabilityResponse (Maybe Text)
- checkDNSAvailabilityResponse_available :: Lens' CheckDNSAvailabilityResponse (Maybe Bool)
- checkDNSAvailabilityResponse_httpStatus :: Lens' CheckDNSAvailabilityResponse Int
Creating a Request
data CheckDNSAvailability Source #
Results message indicating whether a CNAME is available.
See: newCheckDNSAvailability
smart constructor.
CheckDNSAvailability' | |
|
Instances
newCheckDNSAvailability Source #
Create a value of CheckDNSAvailability
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:cNAMEPrefix:CheckDNSAvailability'
, checkDNSAvailability_cNAMEPrefix
- The prefix used when this CNAME is reserved.
Request Lenses
checkDNSAvailability_cNAMEPrefix :: Lens' CheckDNSAvailability Text Source #
The prefix used when this CNAME is reserved.
Destructuring the Response
data CheckDNSAvailabilityResponse Source #
Indicates if the specified CNAME is available.
See: newCheckDNSAvailabilityResponse
smart constructor.
CheckDNSAvailabilityResponse' | |
|
Instances
newCheckDNSAvailabilityResponse Source #
Create a value of CheckDNSAvailabilityResponse
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:fullyQualifiedCNAME:CheckDNSAvailabilityResponse'
, checkDNSAvailabilityResponse_fullyQualifiedCNAME
- The fully qualified CNAME to reserve when CreateEnvironment is called
with the provided prefix.
$sel:available:CheckDNSAvailabilityResponse'
, checkDNSAvailabilityResponse_available
- Indicates if the specified CNAME is available:
true
: The CNAME is available.false
: The CNAME is not available.
$sel:httpStatus:CheckDNSAvailabilityResponse'
, checkDNSAvailabilityResponse_httpStatus
- The response's http status code.
Response Lenses
checkDNSAvailabilityResponse_fullyQualifiedCNAME :: Lens' CheckDNSAvailabilityResponse (Maybe Text) Source #
The fully qualified CNAME to reserve when CreateEnvironment is called with the provided prefix.
checkDNSAvailabilityResponse_available :: Lens' CheckDNSAvailabilityResponse (Maybe Bool) Source #
Indicates if the specified CNAME is available:
true
: The CNAME is available.false
: The CNAME is not available.
checkDNSAvailabilityResponse_httpStatus :: Lens' CheckDNSAvailabilityResponse Int Source #
The response's http status code.