| 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 |
Amazonka.OpenSearch.DescribeDomain
Description
Returns domain configuration information about the specified domain, including the domain ID, domain endpoint, and domain ARN.
Synopsis
- data DescribeDomain = DescribeDomain' {
- domainName :: Text
- newDescribeDomain :: Text -> DescribeDomain
- describeDomain_domainName :: Lens' DescribeDomain Text
- data DescribeDomainResponse = DescribeDomainResponse' {}
- newDescribeDomainResponse :: Int -> DomainStatus -> DescribeDomainResponse
- describeDomainResponse_httpStatus :: Lens' DescribeDomainResponse Int
- describeDomainResponse_domainStatus :: Lens' DescribeDomainResponse DomainStatus
Creating a Request
data DescribeDomain Source #
Container for the parameters to the DescribeDomain operation.
See: newDescribeDomain smart constructor.
Constructors
| DescribeDomain' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeDomain |
Create a value of DescribeDomain 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:domainName:DescribeDomain', describeDomain_domainName - The name of the domain for which you want information.
Request Lenses
describeDomain_domainName :: Lens' DescribeDomain Text Source #
The name of the domain for which you want information.
Destructuring the Response
data DescribeDomainResponse Source #
The result of a DescribeDomain request. Contains the status of the
domain specified in the request.
See: newDescribeDomainResponse smart constructor.
Constructors
| DescribeDomainResponse' | |
Fields
| |
Instances
newDescribeDomainResponse Source #
Arguments
| :: Int | |
| -> DomainStatus | |
| -> DescribeDomainResponse |
Create a value of DescribeDomainResponse 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:DescribeDomainResponse', describeDomainResponse_httpStatus - The response's http status code.
$sel:domainStatus:DescribeDomainResponse', describeDomainResponse_domainStatus - The current status of the domain.
Response Lenses
describeDomainResponse_httpStatus :: Lens' DescribeDomainResponse Int Source #
The response's http status code.
describeDomainResponse_domainStatus :: Lens' DescribeDomainResponse DomainStatus Source #
The current status of the domain.