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 |
Get the attributes of the specified dimension group for a DB instance or
data source. For example, if you specify a SQL ID,
GetDimensionKeyDetails
retrieves the full text of the dimension
db.sql.statement
associated with this ID. This operation is useful
because GetResourceMetrics
and DescribeDimensionKeys
don't support
retrieval of large SQL statement text.
Synopsis
- data GetDimensionKeyDetails = GetDimensionKeyDetails' {}
- newGetDimensionKeyDetails :: ServiceType -> Text -> Text -> Text -> GetDimensionKeyDetails
- getDimensionKeyDetails_requestedDimensions :: Lens' GetDimensionKeyDetails (Maybe (NonEmpty Text))
- getDimensionKeyDetails_serviceType :: Lens' GetDimensionKeyDetails ServiceType
- getDimensionKeyDetails_identifier :: Lens' GetDimensionKeyDetails Text
- getDimensionKeyDetails_group :: Lens' GetDimensionKeyDetails Text
- getDimensionKeyDetails_groupIdentifier :: Lens' GetDimensionKeyDetails Text
- data GetDimensionKeyDetailsResponse = GetDimensionKeyDetailsResponse' {}
- newGetDimensionKeyDetailsResponse :: Int -> GetDimensionKeyDetailsResponse
- getDimensionKeyDetailsResponse_dimensions :: Lens' GetDimensionKeyDetailsResponse (Maybe [DimensionKeyDetail])
- getDimensionKeyDetailsResponse_httpStatus :: Lens' GetDimensionKeyDetailsResponse Int
Creating a Request
data GetDimensionKeyDetails Source #
See: newGetDimensionKeyDetails
smart constructor.
GetDimensionKeyDetails' | |
|
Instances
newGetDimensionKeyDetails Source #
:: ServiceType | |
-> Text | |
-> Text | |
-> Text | |
-> GetDimensionKeyDetails |
Create a value of GetDimensionKeyDetails
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:requestedDimensions:GetDimensionKeyDetails'
, getDimensionKeyDetails_requestedDimensions
- A list of dimensions to retrieve the detail data for within the given
dimension group. For the dimension group db.sql
, specify either the
full dimension name db.sql.statement
or the short dimension name
statement
. If you don't specify this parameter, Performance Insights
returns all dimension data within the specified dimension group.
$sel:serviceType:GetDimensionKeyDetails'
, getDimensionKeyDetails_serviceType
- The AWS service for which Performance Insights returns data. The only
valid value is RDS
.
$sel:identifier:GetDimensionKeyDetails'
, getDimensionKeyDetails_identifier
- The ID for a data source from which to gather dimension data. This ID
must be immutable and unique within an AWS Region. When a DB instance is
the data source, specify its DbiResourceId
value. For example, specify
db-ABCDEFGHIJKLMNOPQRSTU1VW2X
.
$sel:group':GetDimensionKeyDetails'
, getDimensionKeyDetails_group
- The name of the dimension group. The only valid value is db.sql
.
Performance Insights searches the specified group for the dimension
group ID.
$sel:groupIdentifier:GetDimensionKeyDetails'
, getDimensionKeyDetails_groupIdentifier
- The ID of the dimension group from which to retrieve dimension details.
For dimension group db.sql
, the group ID is db.sql.id
.
Request Lenses
getDimensionKeyDetails_requestedDimensions :: Lens' GetDimensionKeyDetails (Maybe (NonEmpty Text)) Source #
A list of dimensions to retrieve the detail data for within the given
dimension group. For the dimension group db.sql
, specify either the
full dimension name db.sql.statement
or the short dimension name
statement
. If you don't specify this parameter, Performance Insights
returns all dimension data within the specified dimension group.
getDimensionKeyDetails_serviceType :: Lens' GetDimensionKeyDetails ServiceType Source #
The AWS service for which Performance Insights returns data. The only
valid value is RDS
.
getDimensionKeyDetails_identifier :: Lens' GetDimensionKeyDetails Text Source #
The ID for a data source from which to gather dimension data. This ID
must be immutable and unique within an AWS Region. When a DB instance is
the data source, specify its DbiResourceId
value. For example, specify
db-ABCDEFGHIJKLMNOPQRSTU1VW2X
.
getDimensionKeyDetails_group :: Lens' GetDimensionKeyDetails Text Source #
The name of the dimension group. The only valid value is db.sql
.
Performance Insights searches the specified group for the dimension
group ID.
getDimensionKeyDetails_groupIdentifier :: Lens' GetDimensionKeyDetails Text Source #
The ID of the dimension group from which to retrieve dimension details.
For dimension group db.sql
, the group ID is db.sql.id
.
Destructuring the Response
data GetDimensionKeyDetailsResponse Source #
See: newGetDimensionKeyDetailsResponse
smart constructor.
GetDimensionKeyDetailsResponse' | |
|
Instances
Eq GetDimensionKeyDetailsResponse Source # | |
Read GetDimensionKeyDetailsResponse Source # | |
Show GetDimensionKeyDetailsResponse Source # | |
Defined in Amazonka.Pi.GetDimensionKeyDetails | |
Generic GetDimensionKeyDetailsResponse Source # | |
NFData GetDimensionKeyDetailsResponse Source # | |
Defined in Amazonka.Pi.GetDimensionKeyDetails rnf :: GetDimensionKeyDetailsResponse -> () # | |
type Rep GetDimensionKeyDetailsResponse Source # | |
Defined in Amazonka.Pi.GetDimensionKeyDetails type Rep GetDimensionKeyDetailsResponse = D1 ('MetaData "GetDimensionKeyDetailsResponse" "Amazonka.Pi.GetDimensionKeyDetails" "libZSservicesZSamazonka-piZSamazonka-pi" 'False) (C1 ('MetaCons "GetDimensionKeyDetailsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DimensionKeyDetail])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetDimensionKeyDetailsResponse Source #
Create a value of GetDimensionKeyDetailsResponse
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:dimensions:GetDimensionKeyDetailsResponse'
, getDimensionKeyDetailsResponse_dimensions
- The details for the requested dimensions.
$sel:httpStatus:GetDimensionKeyDetailsResponse'
, getDimensionKeyDetailsResponse_httpStatus
- The response's http status code.
Response Lenses
getDimensionKeyDetailsResponse_dimensions :: Lens' GetDimensionKeyDetailsResponse (Maybe [DimensionKeyDetail]) Source #
The details for the requested dimensions.
getDimensionKeyDetailsResponse_httpStatus :: Lens' GetDimensionKeyDetailsResponse Int Source #
The response's http status code.