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 |
Returns a map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
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.
GetCompatibleVersions' | |
|
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:
GetCompatibleVersions
, getCompatibleVersions_domainName
- The name of an existing domain. Provide this parameter to limit the
results to a single domain.
Request Lenses
getCompatibleVersions_domainName :: Lens' GetCompatibleVersions (Maybe Text) Source #
The name of an existing domain. Provide this parameter to limit the results to a single domain.
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 OpenSearch or Elasticsearch versions and the versions you can
upgrade them to.
$sel:httpStatus:GetCompatibleVersionsResponse'
, getCompatibleVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
getCompatibleVersionsResponse_compatibleVersions :: Lens' GetCompatibleVersionsResponse (Maybe [CompatibleVersionsMap]) Source #
A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
getCompatibleVersionsResponse_httpStatus :: Lens' GetCompatibleVersionsResponse Int Source #
The response's http status code.