amazonka-xray-2.0: Amazon X-Ray 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.XRay.UpdateSamplingRule

Description

Modifies a sampling rule's configuration.

Synopsis

Creating a Request

data UpdateSamplingRule Source #

See: newUpdateSamplingRule smart constructor.

Constructors

UpdateSamplingRule' 

Fields

Instances

Instances details
ToJSON UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

ToHeaders UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

ToPath UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

ToQuery UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

AWSRequest UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

Associated Types

type AWSResponse UpdateSamplingRule #

Generic UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

Associated Types

type Rep UpdateSamplingRule :: Type -> Type #

Read UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

Show UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

NFData UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

Methods

rnf :: UpdateSamplingRule -> () #

Eq UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

Hashable UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

type AWSResponse UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

type Rep UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

type Rep UpdateSamplingRule = D1 ('MetaData "UpdateSamplingRule" "Amazonka.XRay.UpdateSamplingRule" "amazonka-xray-2.0-EVMSPoflqtHB9ZqvEIOE4Q" 'False) (C1 ('MetaCons "UpdateSamplingRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "samplingRuleUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SamplingRuleUpdate)))

newUpdateSamplingRule Source #

Create a value of UpdateSamplingRule 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:samplingRuleUpdate:UpdateSamplingRule', updateSamplingRule_samplingRuleUpdate - The rule and fields to change.

Request Lenses

Destructuring the Response

data UpdateSamplingRuleResponse Source #

See: newUpdateSamplingRuleResponse smart constructor.

Constructors

UpdateSamplingRuleResponse' 

Fields

Instances

Instances details
Generic UpdateSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

Associated Types

type Rep UpdateSamplingRuleResponse :: Type -> Type #

Read UpdateSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

Show UpdateSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

NFData UpdateSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

Eq UpdateSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

type Rep UpdateSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

type Rep UpdateSamplingRuleResponse = D1 ('MetaData "UpdateSamplingRuleResponse" "Amazonka.XRay.UpdateSamplingRule" "amazonka-xray-2.0-EVMSPoflqtHB9ZqvEIOE4Q" 'False) (C1 ('MetaCons "UpdateSamplingRuleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "samplingRuleRecord") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SamplingRuleRecord)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateSamplingRuleResponse Source #

Create a value of UpdateSamplingRuleResponse 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:samplingRuleRecord:UpdateSamplingRuleResponse', updateSamplingRuleResponse_samplingRuleRecord - The updated rule definition and metadata.

UpdateSamplingRuleResponse, updateSamplingRuleResponse_httpStatus - The response's http status code.

Response Lenses