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

Description

Deletes a sampling rule.

Synopsis

Creating a Request

data DeleteSamplingRule Source #

See: newDeleteSamplingRule smart constructor.

Constructors

DeleteSamplingRule' 

Fields

  • ruleARN :: Maybe Text

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

  • ruleName :: Maybe Text

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

Instances

Instances details
ToJSON DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.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

AWSRequest DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

Associated Types

type AWSResponse DeleteSamplingRule #

Generic DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

Associated Types

type Rep DeleteSamplingRule :: Type -> Type #

Read DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

Show DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

NFData DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

Methods

rnf :: DeleteSamplingRule -> () #

Eq DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

Hashable DeleteSamplingRule Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

type AWSResponse 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" "amazonka-xray-2.0-EVMSPoflqtHB9ZqvEIOE4Q" 'False) (C1 ('MetaCons "DeleteSamplingRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ruleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:

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

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

Request Lenses

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

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

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

The name 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
Generic DeleteSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

Associated Types

type Rep DeleteSamplingRuleResponse :: Type -> Type #

Read DeleteSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

Show DeleteSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

NFData DeleteSamplingRuleResponse Source # 
Instance details

Defined in Amazonka.XRay.DeleteSamplingRule

Eq 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" "amazonka-xray-2.0-EVMSPoflqtHB9ZqvEIOE4Q" '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.

DeleteSamplingRuleResponse, deleteSamplingRuleResponse_httpStatus - The response's http status code.

Response Lenses