Copyright | (c) 2013-2016 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 information about the search domains owned by this account. Can be limited to specific domains. Shows all domains by default. To get the number of searchable documents in a domain, use the console or submit a matchall
request to your domain's search endpoint: q=matchall&q.parser=structured&size=0
. For more information, see Getting Information about a Search Domain in the Amazon CloudSearch Developer Guide .
- describeDomains :: DescribeDomains
- data DescribeDomains
- ddDomainNames :: Lens' DescribeDomains [Text]
- describeDomainsResponse :: Int -> DescribeDomainsResponse
- data DescribeDomainsResponse
- ddsrsResponseStatus :: Lens' DescribeDomainsResponse Int
- ddsrsDomainStatusList :: Lens' DescribeDomainsResponse [DomainStatus]
Creating a Request
describeDomains :: DescribeDomains Source #
Creates a value of DescribeDomains
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddDomainNames
- The names of the domains you want to include in the response.
data DescribeDomains Source #
Container for the parameters to the
operation. By default shows the status of all domains. To restrict the response to particular domains, specify the names of the domains you want to describe.DescribeDomains
See: describeDomains
smart constructor.
Request Lenses
ddDomainNames :: Lens' DescribeDomains [Text] Source #
The names of the domains you want to include in the response.
Destructuring the Response
describeDomainsResponse Source #
Creates a value of DescribeDomainsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddsrsResponseStatus
- -- | The response status code.ddsrsDomainStatusList
- Undocumented member.
data DescribeDomainsResponse Source #
The result of a DescribeDomains
request. Contains the status of the domains specified in the request or all domains owned by the account.
See: describeDomainsResponse
smart constructor.
Response Lenses
ddsrsResponseStatus :: Lens' DescribeDomainsResponse Int Source #
- - | The response status code.
ddsrsDomainStatusList :: Lens' DescribeDomainsResponse [DomainStatus] Source #
Undocumented member.