libZSservicesZSamazonka-piZSamazonka-pi
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Pi.GetDimensionKeyDetails

Description

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

Creating a Request

data GetDimensionKeyDetails Source #

See: newGetDimensionKeyDetails smart constructor.

Constructors

GetDimensionKeyDetails' 

Fields

  • requestedDimensions :: Maybe (NonEmpty Text)

    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.

  • serviceType :: ServiceType

    The AWS service for which Performance Insights returns data. The only valid value is RDS.

  • identifier :: Text

    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.

  • group' :: Text

    The name of the dimension group. The only valid value is db.sql. Performance Insights searches the specified group for the dimension group ID.

  • groupIdentifier :: Text

    The ID of the dimension group from which to retrieve dimension details. For dimension group db.sql, the group ID is db.sql.id.

Instances

Instances details
Eq GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

Read GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

Show GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

Generic GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

Associated Types

type Rep GetDimensionKeyDetails :: Type -> Type #

NFData GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

Methods

rnf :: GetDimensionKeyDetails -> () #

Hashable GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

ToJSON GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

AWSRequest GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

Associated Types

type AWSResponse GetDimensionKeyDetails #

ToHeaders GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

ToPath GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

ToQuery GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

type Rep GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

type Rep GetDimensionKeyDetails = D1 ('MetaData "GetDimensionKeyDetails" "Amazonka.Pi.GetDimensionKeyDetails" "libZSservicesZSamazonka-piZSamazonka-pi" 'False) (C1 ('MetaCons "GetDimensionKeyDetails'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestedDimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "serviceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ServiceType)) :*: (S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "groupIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse GetDimensionKeyDetails Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

newGetDimensionKeyDetails Source #

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.

Constructors

GetDimensionKeyDetailsResponse' 

Fields

Instances

Instances details
Eq GetDimensionKeyDetailsResponse Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

Read GetDimensionKeyDetailsResponse Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

Show GetDimensionKeyDetailsResponse Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

Generic GetDimensionKeyDetailsResponse Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

Associated Types

type Rep GetDimensionKeyDetailsResponse :: Type -> Type #

NFData GetDimensionKeyDetailsResponse Source # 
Instance details

Defined in Amazonka.Pi.GetDimensionKeyDetails

type Rep GetDimensionKeyDetailsResponse Source # 
Instance details

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