libZSservicesZSamazonka-shieldZSamazonka-shield
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.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
Eq DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

Read DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

Show DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

Generic DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

Associated Types

type Rep DeleteProtection :: Type -> Type #

NFData DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

Methods

rnf :: DeleteProtection -> () #

Hashable DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

ToJSON DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

AWSRequest DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

Associated Types

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

type Rep DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

type Rep DeleteProtection = D1 ('MetaData "DeleteProtection" "Amazonka.Shield.DeleteProtection" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "DeleteProtection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "protectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteProtection Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

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

Defined in Amazonka.Shield.DeleteProtection

Read DeleteProtectionResponse Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

Show DeleteProtectionResponse Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

Generic DeleteProtectionResponse Source # 
Instance details

Defined in Amazonka.Shield.DeleteProtection

Associated Types

type Rep DeleteProtectionResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-shieldZSamazonka-shield" '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