| 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 |
Amazonka.OpenSearch.DescribeDomain
Description
Describes the domain configuration for the specified Amazon OpenSearch Service domain, including the domain ID, domain service 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:
DescribeDomain, describeDomain_domainName - The name of the domain that you want information about.
Request Lenses
describeDomain_domainName :: Lens' DescribeDomain Text Source #
The name of the domain that you want information about.
Destructuring the Response
data DescribeDomainResponse Source #
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 - List that contains the status of each specified OpenSearch Service
domain.
Response Lenses
describeDomainResponse_httpStatus :: Lens' DescribeDomainResponse Int Source #
The response's http status code.
describeDomainResponse_domainStatus :: Lens' DescribeDomainResponse DomainStatus Source #
List that contains the status of each specified OpenSearch Service domain.