amazonka-shield-2.0: Amazon Shield 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.Shield.DeleteProtection

Description

Deletes an Shield Advanced Protection.

Synopsis

Creating a Request

data DeleteProtection Source #

See: newDeleteProtection smart constructor.

Constructors

DeleteProtection' 

Fields

  • protectionId :: Text

    The unique identifier (ID) for the Protection object to be deleted.

Instances

Instances details
ToJSON DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

ToHeaders DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

ToPath DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

ToQuery DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

AWSRequest DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

Associated Types

type AWSResponse DeleteProtection #

Generic DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

Associated Types

type Rep DeleteProtection :: Type -> Type #

Read DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

Show DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

NFData DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

Methods

rnf :: DeleteProtection -> () #

Eq DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

Hashable DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

type AWSResponse DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

type Rep DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

type Rep DeleteProtection = D1 ('MetaData "DeleteProtection" "Amazonka.Shield.DeleteProtection" "amazonka-shield-2.0-Cz9Fa9OSQ93AE4UCXBDcFo" 'False) (C1 ('MetaCons "DeleteProtection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "protectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteProtection Source #

Create a value of DeleteProtection 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:protectionId:DeleteProtection', deleteProtection_protectionId - The unique identifier (ID) for the Protection object to be deleted.

Request Lenses

deleteProtection_protectionId :: Lens' DeleteProtection Text Source #

The unique identifier (ID) for the Protection object to be deleted.

Destructuring the Response

data DeleteProtectionResponse Source #

See: newDeleteProtectionResponse smart constructor.

Constructors

DeleteProtectionResponse' 

Fields

Instances

Instances details
Generic DeleteProtectionResponse Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

Associated Types

type Rep DeleteProtectionResponse :: Type -> Type #

Read DeleteProtectionResponse Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

Show DeleteProtectionResponse Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

NFData DeleteProtectionResponse Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

Eq DeleteProtectionResponse Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

type Rep DeleteProtectionResponse Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

type Rep DeleteProtectionResponse = D1 ('MetaData "DeleteProtectionResponse" "Amazonka.Shield.DeleteProtection" "amazonka-shield-2.0-Cz9Fa9OSQ93AE4UCXBDcFo" 'False) (C1 ('MetaCons "DeleteProtectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteProtectionResponse Source #

Create a value of DeleteProtectionResponse 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:httpStatus:DeleteProtectionResponse', deleteProtectionResponse_httpStatus - The response's http status code.

Response Lenses