| 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.ElasticSearch.GetCompatibleElasticsearchVersions
Description
Returns a list of upgrade compatible Elastisearch versions. You can
optionally pass a DomainName to get all upgrade compatible
Elasticsearch versions for that specific domain.
Synopsis
- data GetCompatibleElasticsearchVersions = GetCompatibleElasticsearchVersions' {
- domainName :: Maybe Text
- newGetCompatibleElasticsearchVersions :: GetCompatibleElasticsearchVersions
- getCompatibleElasticsearchVersions_domainName :: Lens' GetCompatibleElasticsearchVersions (Maybe Text)
- data GetCompatibleElasticsearchVersionsResponse = GetCompatibleElasticsearchVersionsResponse' {}
- newGetCompatibleElasticsearchVersionsResponse :: Int -> GetCompatibleElasticsearchVersionsResponse
- getCompatibleElasticsearchVersionsResponse_compatibleElasticsearchVersions :: Lens' GetCompatibleElasticsearchVersionsResponse (Maybe [CompatibleVersionsMap])
- getCompatibleElasticsearchVersionsResponse_httpStatus :: Lens' GetCompatibleElasticsearchVersionsResponse Int
Creating a Request
data GetCompatibleElasticsearchVersions Source #
Container for request parameters to
GetCompatibleElasticsearchVersions operation.
See: newGetCompatibleElasticsearchVersions smart constructor.
Constructors
| GetCompatibleElasticsearchVersions' | |
Fields
| |
Instances
newGetCompatibleElasticsearchVersions :: GetCompatibleElasticsearchVersions Source #
Create a value of GetCompatibleElasticsearchVersions 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:
GetCompatibleElasticsearchVersions, getCompatibleElasticsearchVersions_domainName - Undocumented member.
Request Lenses
getCompatibleElasticsearchVersions_domainName :: Lens' GetCompatibleElasticsearchVersions (Maybe Text) Source #
Undocumented member.
Destructuring the Response
data GetCompatibleElasticsearchVersionsResponse Source #
Container for response returned by
GetCompatibleElasticsearchVersions operation.
See: newGetCompatibleElasticsearchVersionsResponse smart constructor.
Constructors
| GetCompatibleElasticsearchVersionsResponse' | |
Fields
| |
Instances
newGetCompatibleElasticsearchVersionsResponse Source #
Arguments
| :: Int | |
| -> GetCompatibleElasticsearchVersionsResponse |
Create a value of GetCompatibleElasticsearchVersionsResponse 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:compatibleElasticsearchVersions:GetCompatibleElasticsearchVersionsResponse', getCompatibleElasticsearchVersionsResponse_compatibleElasticsearchVersions - A map of compatible Elasticsearch versions returned as part of the
GetCompatibleElasticsearchVersions operation.
$sel:httpStatus:GetCompatibleElasticsearchVersionsResponse', getCompatibleElasticsearchVersionsResponse_httpStatus - The response's http status code.
Response Lenses
getCompatibleElasticsearchVersionsResponse_compatibleElasticsearchVersions :: Lens' GetCompatibleElasticsearchVersionsResponse (Maybe [CompatibleVersionsMap]) Source #
A map of compatible Elasticsearch versions returned as part of the
GetCompatibleElasticsearchVersions operation.
getCompatibleElasticsearchVersionsResponse_httpStatus :: Lens' GetCompatibleElasticsearchVersionsResponse Int Source #
The response's http status code.