libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront
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.CloudFront.GetMonitoringSubscription

Description

Gets information about whether additional CloudWatch metrics are enabled for the specified CloudFront distribution.

Synopsis

Creating a Request

data GetMonitoringSubscription Source #

See: newGetMonitoringSubscription smart constructor.

Constructors

GetMonitoringSubscription' 

Fields

  • distributionId :: Text

    The ID of the distribution that you are getting metrics information for.

Instances

Instances details
Eq GetMonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.GetMonitoringSubscription

Read GetMonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.GetMonitoringSubscription

Show GetMonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.GetMonitoringSubscription

Generic GetMonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.GetMonitoringSubscription

Associated Types

type Rep GetMonitoringSubscription :: Type -> Type #

NFData GetMonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.GetMonitoringSubscription

Hashable GetMonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.GetMonitoringSubscription

AWSRequest GetMonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.GetMonitoringSubscription

ToHeaders GetMonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.GetMonitoringSubscription

ToPath GetMonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.GetMonitoringSubscription

ToQuery GetMonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.GetMonitoringSubscription

type Rep GetMonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.GetMonitoringSubscription

type Rep GetMonitoringSubscription = D1 ('MetaData "GetMonitoringSubscription" "Amazonka.CloudFront.GetMonitoringSubscription" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "GetMonitoringSubscription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "distributionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetMonitoringSubscription Source # 
Instance details

Defined in Amazonka.CloudFront.GetMonitoringSubscription

newGetMonitoringSubscription Source #

Create a value of GetMonitoringSubscription 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:distributionId:GetMonitoringSubscription', getMonitoringSubscription_distributionId - The ID of the distribution that you are getting metrics information for.

Request Lenses

getMonitoringSubscription_distributionId :: Lens' GetMonitoringSubscription Text Source #

The ID of the distribution that you are getting metrics information for.

Destructuring the Response

data GetMonitoringSubscriptionResponse Source #

See: newGetMonitoringSubscriptionResponse smart constructor.

Constructors

GetMonitoringSubscriptionResponse' 

Fields

Instances

Instances details
Eq GetMonitoringSubscriptionResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetMonitoringSubscription

Read GetMonitoringSubscriptionResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetMonitoringSubscription

Show GetMonitoringSubscriptionResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetMonitoringSubscription

Generic GetMonitoringSubscriptionResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetMonitoringSubscription

Associated Types

type Rep GetMonitoringSubscriptionResponse :: Type -> Type #

NFData GetMonitoringSubscriptionResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetMonitoringSubscription

type Rep GetMonitoringSubscriptionResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetMonitoringSubscription

type Rep GetMonitoringSubscriptionResponse = D1 ('MetaData "GetMonitoringSubscriptionResponse" "Amazonka.CloudFront.GetMonitoringSubscription" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "GetMonitoringSubscriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "monitoringSubscription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MonitoringSubscription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetMonitoringSubscriptionResponse Source #

Create a value of GetMonitoringSubscriptionResponse 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:monitoringSubscription:GetMonitoringSubscriptionResponse', getMonitoringSubscriptionResponse_monitoringSubscription - A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

$sel:httpStatus:GetMonitoringSubscriptionResponse', getMonitoringSubscriptionResponse_httpStatus - The response's http status code.

Response Lenses

getMonitoringSubscriptionResponse_monitoringSubscription :: Lens' GetMonitoringSubscriptionResponse (Maybe MonitoringSubscription) Source #

A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.