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 |
Describe the limits for a given instance type and OpenSearch or
Elasticsearch version. When modifying an existing domain, specify the
DomainName
to see which limits you can modify.
Synopsis
- data DescribeInstanceTypeLimits = DescribeInstanceTypeLimits' {}
- newDescribeInstanceTypeLimits :: OpenSearchPartitionInstanceType -> Text -> DescribeInstanceTypeLimits
- describeInstanceTypeLimits_domainName :: Lens' DescribeInstanceTypeLimits (Maybe Text)
- describeInstanceTypeLimits_instanceType :: Lens' DescribeInstanceTypeLimits OpenSearchPartitionInstanceType
- describeInstanceTypeLimits_engineVersion :: Lens' DescribeInstanceTypeLimits Text
- data DescribeInstanceTypeLimitsResponse = DescribeInstanceTypeLimitsResponse' {
- limitsByRole :: Maybe (HashMap Text Limits)
- httpStatus :: Int
- newDescribeInstanceTypeLimitsResponse :: Int -> DescribeInstanceTypeLimitsResponse
- describeInstanceTypeLimitsResponse_limitsByRole :: Lens' DescribeInstanceTypeLimitsResponse (Maybe (HashMap Text Limits))
- describeInstanceTypeLimitsResponse_httpStatus :: Lens' DescribeInstanceTypeLimitsResponse Int
Creating a Request
data DescribeInstanceTypeLimits Source #
Container for the parameters to the DescribeInstanceTypeLimits
operation.
See: newDescribeInstanceTypeLimits
smart constructor.
DescribeInstanceTypeLimits' | |
|
Instances
newDescribeInstanceTypeLimits Source #
Create a value of DescribeInstanceTypeLimits
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:DescribeInstanceTypeLimits'
, describeInstanceTypeLimits_domainName
- The name of the domain you want to modify. Only include this value if
you're querying OpenSearch Limits
for an existing domain.
$sel:instanceType:DescribeInstanceTypeLimits'
, describeInstanceTypeLimits_instanceType
- The instance type for an OpenSearch cluster for which OpenSearch
Limits
are needed.
$sel:engineVersion:DescribeInstanceTypeLimits'
, describeInstanceTypeLimits_engineVersion
- Version of OpenSearch for which Limits
are needed.
Request Lenses
describeInstanceTypeLimits_domainName :: Lens' DescribeInstanceTypeLimits (Maybe Text) Source #
The name of the domain you want to modify. Only include this value if
you're querying OpenSearch Limits
for an existing domain.
describeInstanceTypeLimits_instanceType :: Lens' DescribeInstanceTypeLimits OpenSearchPartitionInstanceType Source #
The instance type for an OpenSearch cluster for which OpenSearch
Limits
are needed.
describeInstanceTypeLimits_engineVersion :: Lens' DescribeInstanceTypeLimits Text Source #
Version of OpenSearch for which Limits
are needed.
Destructuring the Response
data DescribeInstanceTypeLimitsResponse Source #
Container for the parameters received from the
DescribeInstanceTypeLimits
operation.
See: newDescribeInstanceTypeLimitsResponse
smart constructor.
DescribeInstanceTypeLimitsResponse' | |
|
Instances
Eq DescribeInstanceTypeLimitsResponse Source # | |
Read DescribeInstanceTypeLimitsResponse Source # | |
Show DescribeInstanceTypeLimitsResponse Source # | |
Generic DescribeInstanceTypeLimitsResponse Source # | |
NFData DescribeInstanceTypeLimitsResponse Source # | |
Defined in Amazonka.OpenSearch.DescribeInstanceTypeLimits rnf :: DescribeInstanceTypeLimitsResponse -> () # | |
type Rep DescribeInstanceTypeLimitsResponse Source # | |
Defined in Amazonka.OpenSearch.DescribeInstanceTypeLimits type Rep DescribeInstanceTypeLimitsResponse = D1 ('MetaData "DescribeInstanceTypeLimitsResponse" "Amazonka.OpenSearch.DescribeInstanceTypeLimits" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "DescribeInstanceTypeLimitsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limitsByRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Limits))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeInstanceTypeLimitsResponse Source #
Create a value of DescribeInstanceTypeLimitsResponse
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:limitsByRole:DescribeInstanceTypeLimitsResponse'
, describeInstanceTypeLimitsResponse_limitsByRole
- Undocumented member.
$sel:httpStatus:DescribeInstanceTypeLimitsResponse'
, describeInstanceTypeLimitsResponse_httpStatus
- The response's http status code.
Response Lenses
describeInstanceTypeLimitsResponse_limitsByRole :: Lens' DescribeInstanceTypeLimitsResponse (Maybe (HashMap Text Limits)) Source #
Undocumented member.
describeInstanceTypeLimitsResponse_httpStatus :: Lens' DescribeInstanceTypeLimitsResponse Int Source #
The response's http status code.