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 |
Returns a list of upgrade-compatible versions of
OpenSearch/Elasticsearch. You can optionally pass a DomainName
to
get all upgrade-compatible versions of OpenSearch/Elasticsearch for
that specific domain.
Synopsis
- data GetCompatibleVersions = GetCompatibleVersions' {
- domainName :: Maybe Text
- newGetCompatibleVersions :: GetCompatibleVersions
- getCompatibleVersions_domainName :: Lens' GetCompatibleVersions (Maybe Text)
- data GetCompatibleVersionsResponse = GetCompatibleVersionsResponse' {}
- newGetCompatibleVersionsResponse :: Int -> GetCompatibleVersionsResponse
- getCompatibleVersionsResponse_compatibleVersions :: Lens' GetCompatibleVersionsResponse (Maybe [CompatibleVersionsMap])
- getCompatibleVersionsResponse_httpStatus :: Lens' GetCompatibleVersionsResponse Int
Creating a Request
data GetCompatibleVersions Source #
Container for the request parameters to GetCompatibleVersions
operation.
See: newGetCompatibleVersions
smart constructor.
Instances
newGetCompatibleVersions :: GetCompatibleVersions Source #
Create a value of GetCompatibleVersions
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:GetCompatibleVersions'
, getCompatibleVersions_domainName
- Undocumented member.
Request Lenses
getCompatibleVersions_domainName :: Lens' GetCompatibleVersions (Maybe Text) Source #
Undocumented member.
Destructuring the Response
data GetCompatibleVersionsResponse Source #
Container for the response returned by the GetCompatibleVersions
operation.
See: newGetCompatibleVersionsResponse
smart constructor.
GetCompatibleVersionsResponse' | |
|
Instances
newGetCompatibleVersionsResponse Source #
Create a value of GetCompatibleVersionsResponse
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:compatibleVersions:GetCompatibleVersionsResponse'
, getCompatibleVersionsResponse_compatibleVersions
- A map of compatible OpenSearch versions returned as part of the
GetCompatibleVersions
operation.
$sel:httpStatus:GetCompatibleVersionsResponse'
, getCompatibleVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
getCompatibleVersionsResponse_compatibleVersions :: Lens' GetCompatibleVersionsResponse (Maybe [CompatibleVersionsMap]) Source #
A map of compatible OpenSearch versions returned as part of the
GetCompatibleVersions
operation.
getCompatibleVersionsResponse_httpStatus :: Lens' GetCompatibleVersionsResponse Int Source #
The response's http status code.