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 |
Lists all instance types and available features for a given OpenSearch or Elasticsearch version.
Synopsis
- data ListInstanceTypeDetails = ListInstanceTypeDetails' {
- domainName :: Maybe Text
- maxResults :: Maybe Int
- nextToken :: Maybe Text
- engineVersion :: Text
- newListInstanceTypeDetails :: Text -> ListInstanceTypeDetails
- listInstanceTypeDetails_domainName :: Lens' ListInstanceTypeDetails (Maybe Text)
- listInstanceTypeDetails_maxResults :: Lens' ListInstanceTypeDetails (Maybe Int)
- listInstanceTypeDetails_nextToken :: Lens' ListInstanceTypeDetails (Maybe Text)
- listInstanceTypeDetails_engineVersion :: Lens' ListInstanceTypeDetails Text
- data ListInstanceTypeDetailsResponse = ListInstanceTypeDetailsResponse' {}
- newListInstanceTypeDetailsResponse :: Int -> ListInstanceTypeDetailsResponse
- listInstanceTypeDetailsResponse_instanceTypeDetails :: Lens' ListInstanceTypeDetailsResponse (Maybe [InstanceTypeDetails])
- listInstanceTypeDetailsResponse_nextToken :: Lens' ListInstanceTypeDetailsResponse (Maybe Text)
- listInstanceTypeDetailsResponse_httpStatus :: Lens' ListInstanceTypeDetailsResponse Int
Creating a Request
data ListInstanceTypeDetails Source #
See: newListInstanceTypeDetails
smart constructor.
ListInstanceTypeDetails' | |
|
Instances
newListInstanceTypeDetails Source #
Create a value of ListInstanceTypeDetails
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:
ListInstanceTypeDetails
, listInstanceTypeDetails_domainName
- Name of the domain to list instance type details for.
$sel:maxResults:ListInstanceTypeDetails'
, listInstanceTypeDetails_maxResults
- An optional parameter that specifies the maximum number of results to
return. You can use nextToken
to get the next page of results.
ListInstanceTypeDetails
, listInstanceTypeDetails_nextToken
- If your initial ListInstanceTypeDetails
operation returns a
nextToken
, you can include the returned nextToken
in subsequent
ListInstanceTypeDetails
operations, which returns results in the next
page.
ListInstanceTypeDetails
, listInstanceTypeDetails_engineVersion
- Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y
or OpenSearch_X.Y. Defaults to the latest version of OpenSearch.
Request Lenses
listInstanceTypeDetails_domainName :: Lens' ListInstanceTypeDetails (Maybe Text) Source #
Name of the domain to list instance type details for.
listInstanceTypeDetails_maxResults :: Lens' ListInstanceTypeDetails (Maybe Int) Source #
An optional parameter that specifies the maximum number of results to
return. You can use nextToken
to get the next page of results.
listInstanceTypeDetails_nextToken :: Lens' ListInstanceTypeDetails (Maybe Text) Source #
If your initial ListInstanceTypeDetails
operation returns a
nextToken
, you can include the returned nextToken
in subsequent
ListInstanceTypeDetails
operations, which returns results in the next
page.
listInstanceTypeDetails_engineVersion :: Lens' ListInstanceTypeDetails Text Source #
Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the latest version of OpenSearch.
Destructuring the Response
data ListInstanceTypeDetailsResponse Source #
See: newListInstanceTypeDetailsResponse
smart constructor.
ListInstanceTypeDetailsResponse' | |
|
Instances
newListInstanceTypeDetailsResponse Source #
Create a value of ListInstanceTypeDetailsResponse
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:instanceTypeDetails:ListInstanceTypeDetailsResponse'
, listInstanceTypeDetailsResponse_instanceTypeDetails
- Lists all supported instance types and features for the given OpenSearch
or Elasticsearch version.
ListInstanceTypeDetails
, listInstanceTypeDetailsResponse_nextToken
- When nextToken
is returned, there are more results available. The
value of nextToken
is a unique pagination token for each page. Make
the call again using the returned token to retrieve the next page.
$sel:httpStatus:ListInstanceTypeDetailsResponse'
, listInstanceTypeDetailsResponse_httpStatus
- The response's http status code.
Response Lenses
listInstanceTypeDetailsResponse_instanceTypeDetails :: Lens' ListInstanceTypeDetailsResponse (Maybe [InstanceTypeDetails]) Source #
Lists all supported instance types and features for the given OpenSearch or Elasticsearch version.
listInstanceTypeDetailsResponse_nextToken :: Lens' ListInstanceTypeDetailsResponse (Maybe Text) Source #
When nextToken
is returned, there are more results available. The
value of nextToken
is a unique pagination token for each page. Make
the call again using the returned token to retrieve the next page.
listInstanceTypeDetailsResponse_httpStatus :: Lens' ListInstanceTypeDetailsResponse Int Source #
The response's http status code.