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.DeleteSamplingRule

Description

Deletes a sampling rule.

Synopsis

Creating a Request

data DeleteSamplingRule Source #

See: newDeleteSamplingRule smart constructor.

Constructors

DeleteSamplingRule' 

Fields

  • ruleName :: Maybe Text

    The name of the sampling rule. Specify a rule by either name or ARN, but not both.

  • ruleARN :: Maybe Text

    The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

Instances

Instances details
Eq DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

Read DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

Show DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

Generic DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

Associated Types

type Rep DeleteSamplingRule :: Type -> Type #

NFData DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

Methods

rnf :: DeleteSamplingRule -> () #

Hashable DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

ToJSON DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

AWSRequest DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

Associated Types

type AWSResponse DeleteSamplingRule #

ToHeaders DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

ToPath DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

ToQuery DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

type Rep DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

type Rep DeleteSamplingRule = D1 ('MetaData "DeleteSamplingRule" "Amazonka.XRay.DeleteSamplingRule" "libZSservicesZSamazonka-xrayZSamazonka-xray" 'False) (C1 ('MetaCons "DeleteSamplingRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ruleARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

newDeleteSamplingRule :: DeleteSamplingRule Source #

Create a value of DeleteSamplingRule 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:ruleName:DeleteSamplingRule', deleteSamplingRule_ruleName - The name of the sampling rule. Specify a rule by either name or ARN, but not both.

$sel:ruleARN:DeleteSamplingRule', deleteSamplingRule_ruleARN - The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

Request Lenses

deleteSamplingRule_ruleName :: Lens' DeleteSamplingRule (Maybe Text) Source #

The name of the sampling rule. Specify a rule by either name or ARN, but not both.

deleteSamplingRule_ruleARN :: Lens' DeleteSamplingRule (Maybe Text) Source #

The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.

Destructuring the Response

data DeleteSamplingRuleResponse Source #

See: newDeleteSamplingRuleResponse smart constructor.

Constructors

DeleteSamplingRuleResponse' 

Fields

Instances

Instances details
Eq DeleteSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

Read DeleteSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

Show DeleteSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

Generic DeleteSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

Associated Types

type Rep DeleteSamplingRuleResponse :: Type -> Type #

NFData DeleteSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

type Rep DeleteSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

type Rep DeleteSamplingRuleResponse = D1 ('MetaData "DeleteSamplingRuleResponse" "Amazonka.XRay.DeleteSamplingRule" "libZSservicesZSamazonka-xrayZSamazonka-xray" 'False) (C1 ('MetaCons "DeleteSamplingRuleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "samplingRuleRecord") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SamplingRuleRecord)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteSamplingRuleResponse Source #

Create a value of DeleteSamplingRuleResponse 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:DeleteSamplingRuleResponse', deleteSamplingRuleResponse_samplingRuleRecord - The deleted rule definition and metadata.

$sel:httpStatus:DeleteSamplingRuleResponse', deleteSamplingRuleResponse_httpStatus - The response's http status code.

Response Lenses