amazonka-pi-2.0: Amazon Performance Insights SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Pi.ListAvailableResourceDimensions

Description

Retrieve the dimensions that can be queried for each specified metric type on a specified DB instance.

Synopsis

Creating a Request

data ListAvailableResourceDimensions Source #

See: newListAvailableResourceDimensions smart constructor.

Constructors

ListAvailableResourceDimensions' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of items to return in the response. If more items exist than the specified MaxRecords value, a pagination token is included in the response so that the remaining results can be retrieved.

  • nextToken :: Maybe Text

    An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.

  • serviceType :: ServiceType

    The Amazon Web Services service for which Performance Insights returns metrics.

  • identifier :: Text

    An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VWZ.

  • metrics :: NonEmpty Text

    The types of metrics for which to retrieve dimensions. Valid values include db.load.

Instances

Instances details
ToJSON ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

ToHeaders ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

ToPath ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

ToQuery ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

AWSRequest ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

Generic ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

Associated Types

type Rep ListAvailableResourceDimensions :: Type -> Type #

Read ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

Show ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

NFData ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

Eq ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

Hashable ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

type AWSResponse ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

type Rep ListAvailableResourceDimensions Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

type Rep ListAvailableResourceDimensions = D1 ('MetaData "ListAvailableResourceDimensions" "Amazonka.Pi.ListAvailableResourceDimensions" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "ListAvailableResourceDimensions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "serviceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ServiceType) :*: (S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "metrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))))

newListAvailableResourceDimensions Source #

Create a value of ListAvailableResourceDimensions 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:maxResults:ListAvailableResourceDimensions', listAvailableResourceDimensions_maxResults - The maximum number of items to return in the response. If more items exist than the specified MaxRecords value, a pagination token is included in the response so that the remaining results can be retrieved.

ListAvailableResourceDimensions, listAvailableResourceDimensions_nextToken - An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.

$sel:serviceType:ListAvailableResourceDimensions', listAvailableResourceDimensions_serviceType - The Amazon Web Services service for which Performance Insights returns metrics.

ListAvailableResourceDimensions, listAvailableResourceDimensions_identifier - An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VWZ.

$sel:metrics:ListAvailableResourceDimensions', listAvailableResourceDimensions_metrics - The types of metrics for which to retrieve dimensions. Valid values include db.load.

Request Lenses

listAvailableResourceDimensions_maxResults :: Lens' ListAvailableResourceDimensions (Maybe Natural) Source #

The maximum number of items to return in the response. If more items exist than the specified MaxRecords value, a pagination token is included in the response so that the remaining results can be retrieved.

listAvailableResourceDimensions_nextToken :: Lens' ListAvailableResourceDimensions (Maybe Text) Source #

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.

listAvailableResourceDimensions_serviceType :: Lens' ListAvailableResourceDimensions ServiceType Source #

The Amazon Web Services service for which Performance Insights returns metrics.

listAvailableResourceDimensions_identifier :: Lens' ListAvailableResourceDimensions Text Source #

An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VWZ.

listAvailableResourceDimensions_metrics :: Lens' ListAvailableResourceDimensions (NonEmpty Text) Source #

The types of metrics for which to retrieve dimensions. Valid values include db.load.

Destructuring the Response

data ListAvailableResourceDimensionsResponse Source #

Constructors

ListAvailableResourceDimensionsResponse' 

Fields

  • metricDimensions :: Maybe [MetricDimensionGroups]

    The dimension information returned for requested metric types.

  • nextToken :: Maybe Text

    An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListAvailableResourceDimensionsResponse Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

Read ListAvailableResourceDimensionsResponse Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

Show ListAvailableResourceDimensionsResponse Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

NFData ListAvailableResourceDimensionsResponse Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

Eq ListAvailableResourceDimensionsResponse Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

type Rep ListAvailableResourceDimensionsResponse Source # 
Instance details

Defined in Amazonka.Pi.ListAvailableResourceDimensions

type Rep ListAvailableResourceDimensionsResponse = D1 ('MetaData "ListAvailableResourceDimensionsResponse" "Amazonka.Pi.ListAvailableResourceDimensions" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "ListAvailableResourceDimensionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metricDimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricDimensionGroups])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListAvailableResourceDimensionsResponse Source #

Create a value of ListAvailableResourceDimensionsResponse 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:metricDimensions:ListAvailableResourceDimensionsResponse', listAvailableResourceDimensionsResponse_metricDimensions - The dimension information returned for requested metric types.

ListAvailableResourceDimensions, listAvailableResourceDimensionsResponse_nextToken - An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.

$sel:httpStatus:ListAvailableResourceDimensionsResponse', listAvailableResourceDimensionsResponse_httpStatus - The response's http status code.

Response Lenses

listAvailableResourceDimensionsResponse_nextToken :: Lens' ListAvailableResourceDimensionsResponse (Maybe Text) Source #

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.