Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns domain configuration information about the specified Amazon OpenSearch Service domains.
Synopsis
- data DescribeDomains = DescribeDomains' {
- domainNames :: [Text]
- newDescribeDomains :: DescribeDomains
- describeDomains_domainNames :: Lens' DescribeDomains [Text]
- data DescribeDomainsResponse = DescribeDomainsResponse' {}
- newDescribeDomainsResponse :: Int -> DescribeDomainsResponse
- describeDomainsResponse_httpStatus :: Lens' DescribeDomainsResponse Int
- describeDomainsResponse_domainStatusList :: Lens' DescribeDomainsResponse [DomainStatus]
Creating a Request
data DescribeDomains Source #
Container for the parameters to the DescribeDomains
operation.
See: newDescribeDomains
smart constructor.
DescribeDomains' | |
|
Instances
newDescribeDomains :: DescribeDomains Source #
Create a value of DescribeDomains
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:domainNames:DescribeDomains'
, describeDomains_domainNames
- Array of OpenSearch Service domain names that you want information
about. If you don't specify any domains, OpenSearch Service returns
information about all domains owned by the account.
Request Lenses
describeDomains_domainNames :: Lens' DescribeDomains [Text] Source #
Array of OpenSearch Service domain names that you want information about. If you don't specify any domains, OpenSearch Service returns information about all domains owned by the account.
Destructuring the Response
data DescribeDomainsResponse Source #
Contains the status of the specified domains or all domains owned by the account.
See: newDescribeDomainsResponse
smart constructor.
DescribeDomainsResponse' | |
|
Instances
newDescribeDomainsResponse Source #
Create a value of DescribeDomainsResponse
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:DescribeDomainsResponse'
, describeDomainsResponse_httpStatus
- The response's http status code.
$sel:domainStatusList:DescribeDomainsResponse'
, describeDomainsResponse_domainStatusList
- The status of the requested domains.
Response Lenses
describeDomainsResponse_httpStatus :: Lens' DescribeDomainsResponse Int Source #
The response's http status code.
describeDomainsResponse_domainStatusList :: Lens' DescribeDomainsResponse [DomainStatus] Source #
The status of the requested domains.