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.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
Eq UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

Read UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

Show UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

Generic UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

Associated Types

type Rep UpdateSamplingRule :: Type -> Type #

NFData UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

Methods

rnf :: UpdateSamplingRule -> () #

Hashable UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

ToJSON UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

AWSRequest UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

Associated Types

type AWSResponse 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

type Rep UpdateSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

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

Defined in Amazonka.XRay.UpdateSamplingRule

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
Eq UpdateSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

Read UpdateSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

Show UpdateSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

Generic UpdateSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.UpdateSamplingRule

Associated Types

type Rep UpdateSamplingRuleResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-xrayZSamazonka-xray" '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.

$sel:httpStatus:UpdateSamplingRuleResponse', updateSamplingRuleResponse_httpStatus - The response's http status code.

Response Lenses