| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ElasticBeanstalk.CheckDNSAvailability
Description
Checks if the specified CNAME is available.
See: AWS API Reference for CheckDNSAvailability.
- checkDNSAvailability :: Text -> CheckDNSAvailability
- data CheckDNSAvailability
- cdaCNAMEPrefix :: Lens' CheckDNSAvailability Text
- checkDNSAvailabilityResponse :: Int -> CheckDNSAvailabilityResponse
- data CheckDNSAvailabilityResponse
- cdarsFullyQualifiedCNAME :: Lens' CheckDNSAvailabilityResponse (Maybe Text)
- cdarsAvailable :: Lens' CheckDNSAvailabilityResponse (Maybe Bool)
- cdarsStatus :: Lens' CheckDNSAvailabilityResponse Int
Creating a Request
Arguments
| :: Text | |
| -> CheckDNSAvailability |
Creates a value of CheckDNSAvailability with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CheckDNSAvailability Source
Results message indicating whether a CNAME is available.
See: checkDNSAvailability smart constructor.
Instances
Request Lenses
cdaCNAMEPrefix :: Lens' CheckDNSAvailability Text Source
The prefix used when this CNAME is reserved.
Destructuring the Response
checkDNSAvailabilityResponse Source
Arguments
| :: Int | |
| -> CheckDNSAvailabilityResponse |
Creates a value of CheckDNSAvailabilityResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CheckDNSAvailabilityResponse Source
Indicates if the specified CNAME is available.
See: checkDNSAvailabilityResponse smart constructor.
Response Lenses
cdarsFullyQualifiedCNAME :: Lens' CheckDNSAvailabilityResponse (Maybe Text) Source
The fully qualified CNAME to reserve when CreateEnvironment is called with the provided prefix.
cdarsAvailable :: Lens' CheckDNSAvailabilityResponse (Maybe Bool) Source
Indicates if the specified CNAME is available:
true : The CNAME is available.
true : The CNAME is not available.
true: The CNAME is available.false: The CNAME is not available.
cdarsStatus :: Lens' CheckDNSAvailabilityResponse Int Source
The response status code.