libZSservicesZSamazonka-mwaaZSamazonka-mwaa
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.MwAA.PublishMetrics

Description

An operation for publishing metrics from the customers to the Ops plane.

Synopsis

Creating a Request

data PublishMetrics Source #

See: newPublishMetrics smart constructor.

Constructors

PublishMetrics' 

Fields

  • environmentName :: Text

    Publishes environment metric data to Amazon CloudWatch.

  • metricData :: [MetricDatum]

    Publishes metric data points to Amazon CloudWatch. CloudWatch associates the data points with the specified metrica.

Instances

Instances details
Eq PublishMetrics Source # 
Instance details

Defined in Amazonka.MwAA.PublishMetrics

Read PublishMetrics Source # 
Instance details

Defined in Amazonka.MwAA.PublishMetrics

Show PublishMetrics Source # 
Instance details

Defined in Amazonka.MwAA.PublishMetrics

Generic PublishMetrics Source # 
Instance details

Defined in Amazonka.MwAA.PublishMetrics

Associated Types

type Rep PublishMetrics :: Type -> Type #

NFData PublishMetrics Source # 
Instance details

Defined in Amazonka.MwAA.PublishMetrics

Methods

rnf :: PublishMetrics -> () #

Hashable PublishMetrics Source # 
Instance details

Defined in Amazonka.MwAA.PublishMetrics

ToJSON PublishMetrics Source # 
Instance details

Defined in Amazonka.MwAA.PublishMetrics

AWSRequest PublishMetrics Source # 
Instance details

Defined in Amazonka.MwAA.PublishMetrics

Associated Types

type AWSResponse PublishMetrics #

ToHeaders PublishMetrics Source # 
Instance details

Defined in Amazonka.MwAA.PublishMetrics

ToPath PublishMetrics Source # 
Instance details

Defined in Amazonka.MwAA.PublishMetrics

ToQuery PublishMetrics Source # 
Instance details

Defined in Amazonka.MwAA.PublishMetrics

type Rep PublishMetrics Source # 
Instance details

Defined in Amazonka.MwAA.PublishMetrics

type Rep PublishMetrics = D1 ('MetaData "PublishMetrics" "Amazonka.MwAA.PublishMetrics" "libZSservicesZSamazonka-mwaaZSamazonka-mwaa" 'False) (C1 ('MetaCons "PublishMetrics'" 'PrefixI 'True) (S1 ('MetaSel ('Just "environmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "metricData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [MetricDatum])))
type AWSResponse PublishMetrics Source # 
Instance details

Defined in Amazonka.MwAA.PublishMetrics

newPublishMetrics Source #

Create a value of PublishMetrics 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:environmentName:PublishMetrics', publishMetrics_environmentName - Publishes environment metric data to Amazon CloudWatch.

$sel:metricData:PublishMetrics', publishMetrics_metricData - Publishes metric data points to Amazon CloudWatch. CloudWatch associates the data points with the specified metrica.

Request Lenses

publishMetrics_environmentName :: Lens' PublishMetrics Text Source #

Publishes environment metric data to Amazon CloudWatch.

publishMetrics_metricData :: Lens' PublishMetrics [MetricDatum] Source #

Publishes metric data points to Amazon CloudWatch. CloudWatch associates the data points with the specified metrica.

Destructuring the Response

data PublishMetricsResponse Source #

See: newPublishMetricsResponse smart constructor.

Constructors

PublishMetricsResponse' 

Fields

Instances

Instances details
Eq PublishMetricsResponse Source # 
Instance details

Defined in Amazonka.MwAA.PublishMetrics

Read PublishMetricsResponse Source # 
Instance details

Defined in Amazonka.MwAA.PublishMetrics

Show PublishMetricsResponse Source # 
Instance details

Defined in Amazonka.MwAA.PublishMetrics

Generic PublishMetricsResponse Source # 
Instance details

Defined in Amazonka.MwAA.PublishMetrics

Associated Types

type Rep PublishMetricsResponse :: Type -> Type #

NFData PublishMetricsResponse Source # 
Instance details

Defined in Amazonka.MwAA.PublishMetrics

Methods

rnf :: PublishMetricsResponse -> () #

type Rep PublishMetricsResponse Source # 
Instance details

Defined in Amazonka.MwAA.PublishMetrics

type Rep PublishMetricsResponse = D1 ('MetaData "PublishMetricsResponse" "Amazonka.MwAA.PublishMetrics" "libZSservicesZSamazonka-mwaaZSamazonka-mwaa" 'False) (C1 ('MetaCons "PublishMetricsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPublishMetricsResponse Source #

Create a value of PublishMetricsResponse 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:httpStatus:PublishMetricsResponse', publishMetricsResponse_httpStatus - The response's http status code.

Response Lenses