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 |
Gets the availability options configured for a domain. By default, shows
the configuration with any pending changes. Set the Deployed
option to
true
to show the active configuration and exclude pending changes. For
more information, see
Configuring Availability Options
in the Amazon CloudSearch Developer Guide.
See: AWS API Reference for DescribeAvailabilityOptions.
- describeAvailabilityOptions :: Text -> DescribeAvailabilityOptions
- data DescribeAvailabilityOptions
- daoDeployed :: Lens' DescribeAvailabilityOptions (Maybe Bool)
- daoDomainName :: Lens' DescribeAvailabilityOptions Text
- describeAvailabilityOptionsResponse :: Int -> DescribeAvailabilityOptionsResponse
- data DescribeAvailabilityOptionsResponse
- daorsAvailabilityOptions :: Lens' DescribeAvailabilityOptionsResponse (Maybe AvailabilityOptionsStatus)
- daorsStatus :: Lens' DescribeAvailabilityOptionsResponse Int
Creating a Request
describeAvailabilityOptions Source
Creates a value of DescribeAvailabilityOptions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeAvailabilityOptions Source
Container for the parameters to the DescribeAvailabilityOptions
operation. Specifies the name of the domain you want to describe. To
show the active configuration and exclude any pending changes, set the
Deployed option to true
.
See: describeAvailabilityOptions
smart constructor.
Request Lenses
daoDeployed :: Lens' DescribeAvailabilityOptions (Maybe Bool) Source
Whether to display the deployed configuration (true
) or include any
pending changes (false
). Defaults to false
.
daoDomainName :: Lens' DescribeAvailabilityOptions Text Source
The name of the domain you want to describe.
Destructuring the Response
describeAvailabilityOptionsResponse Source
Creates a value of DescribeAvailabilityOptionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeAvailabilityOptionsResponse Source
The result of a DescribeAvailabilityOptions
request. Indicates whether
or not the Multi-AZ option is enabled for the domain specified in the
request.
See: describeAvailabilityOptionsResponse
smart constructor.
Response Lenses
daorsAvailabilityOptions :: Lens' DescribeAvailabilityOptionsResponse (Maybe AvailabilityOptionsStatus) Source
The availability options configured for the domain. Indicates whether Multi-AZ is enabled for the domain.
daorsStatus :: Lens' DescribeAvailabilityOptionsResponse Int Source
The response status code.