libZSservicesZSamazonka-xrayZSamazonka-xray
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.XRay.GetSamplingTargets

Description

Requests a sampling quota for rules that the service is using to sample requests.

Synopsis

Creating a Request

data GetSamplingTargets Source #

See: newGetSamplingTargets smart constructor.

Constructors

GetSamplingTargets' 

Fields

Instances

Instances details
Eq GetSamplingTargets Source # 
Instance details

Defined in Amazonka.XRay.GetSamplingTargets

Read GetSamplingTargets Source # 
Instance details

Defined in Amazonka.XRay.GetSamplingTargets

Show GetSamplingTargets Source # 
Instance details

Defined in Amazonka.XRay.GetSamplingTargets

Generic GetSamplingTargets Source # 
Instance details

Defined in Amazonka.XRay.GetSamplingTargets

Associated Types

type Rep GetSamplingTargets :: Type -> Type #

NFData GetSamplingTargets Source # 
Instance details

Defined in Amazonka.XRay.GetSamplingTargets

Methods

rnf :: GetSamplingTargets -> () #

Hashable GetSamplingTargets Source # 
Instance details

Defined in Amazonka.XRay.GetSamplingTargets

ToJSON GetSamplingTargets Source # 
Instance details

Defined in Amazonka.XRay.GetSamplingTargets

AWSRequest GetSamplingTargets Source # 
Instance details

Defined in Amazonka.XRay.GetSamplingTargets

Associated Types

type AWSResponse GetSamplingTargets #

ToHeaders GetSamplingTargets Source # 
Instance details

Defined in Amazonka.XRay.GetSamplingTargets

ToPath GetSamplingTargets Source # 
Instance details

Defined in Amazonka.XRay.GetSamplingTargets

ToQuery GetSamplingTargets Source # 
Instance details

Defined in Amazonka.XRay.GetSamplingTargets

type Rep GetSamplingTargets Source # 
Instance details

Defined in Amazonka.XRay.GetSamplingTargets

type Rep GetSamplingTargets = D1 ('MetaData "GetSamplingTargets" "Amazonka.XRay.GetSamplingTargets" "libZSservicesZSamazonka-xrayZSamazonka-xray" 'False) (C1 ('MetaCons "GetSamplingTargets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "samplingStatisticsDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SamplingStatisticsDocument])))
type AWSResponse GetSamplingTargets Source # 
Instance details

Defined in Amazonka.XRay.GetSamplingTargets

newGetSamplingTargets :: GetSamplingTargets Source #

Create a value of GetSamplingTargets 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:samplingStatisticsDocuments:GetSamplingTargets', getSamplingTargets_samplingStatisticsDocuments - Information about rules that the service is using to sample requests.

Request Lenses

getSamplingTargets_samplingStatisticsDocuments :: Lens' GetSamplingTargets [SamplingStatisticsDocument] Source #

Information about rules that the service is using to sample requests.

Destructuring the Response

data GetSamplingTargetsResponse Source #

See: newGetSamplingTargetsResponse smart constructor.

Constructors

GetSamplingTargetsResponse' 

Fields

Instances

Instances details
Eq GetSamplingTargetsResponse Source # 
Instance details

Defined in Amazonka.XRay.GetSamplingTargets

Read GetSamplingTargetsResponse Source # 
Instance details

Defined in Amazonka.XRay.GetSamplingTargets

Show GetSamplingTargetsResponse Source # 
Instance details

Defined in Amazonka.XRay.GetSamplingTargets

Generic GetSamplingTargetsResponse Source # 
Instance details

Defined in Amazonka.XRay.GetSamplingTargets

Associated Types

type Rep GetSamplingTargetsResponse :: Type -> Type #

NFData GetSamplingTargetsResponse Source # 
Instance details

Defined in Amazonka.XRay.GetSamplingTargets

type Rep GetSamplingTargetsResponse Source # 
Instance details

Defined in Amazonka.XRay.GetSamplingTargets

type Rep GetSamplingTargetsResponse = D1 ('MetaData "GetSamplingTargetsResponse" "Amazonka.XRay.GetSamplingTargets" "libZSservicesZSamazonka-xrayZSamazonka-xray" 'False) (C1 ('MetaCons "GetSamplingTargetsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "unprocessedStatistics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UnprocessedStatistics])) :*: S1 ('MetaSel ('Just "lastRuleModification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "samplingTargetDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SamplingTargetDocument])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetSamplingTargetsResponse Source #

Create a value of GetSamplingTargetsResponse 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:unprocessedStatistics:GetSamplingTargetsResponse', getSamplingTargetsResponse_unprocessedStatistics - Information about SamplingStatisticsDocument that X-Ray could not process.

$sel:lastRuleModification:GetSamplingTargetsResponse', getSamplingTargetsResponse_lastRuleModification - The last time a user changed the sampling rule configuration. If the sampling rule configuration changed since the service last retrieved it, the service should call GetSamplingRules to get the latest version.

$sel:samplingTargetDocuments:GetSamplingTargetsResponse', getSamplingTargetsResponse_samplingTargetDocuments - Updated rules that the service should use to sample requests.

$sel:httpStatus:GetSamplingTargetsResponse', getSamplingTargetsResponse_httpStatus - The response's http status code.

Response Lenses

getSamplingTargetsResponse_lastRuleModification :: Lens' GetSamplingTargetsResponse (Maybe UTCTime) Source #

The last time a user changed the sampling rule configuration. If the sampling rule configuration changed since the service last retrieved it, the service should call GetSamplingRules to get the latest version.