amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.DeleteManagedPrefixList

Description

Deletes the specified managed prefix list. You must first remove all references to the prefix list in your resources.

Synopsis

Creating a Request

data DeleteManagedPrefixList Source #

See: newDeleteManagedPrefixList smart constructor.

Constructors

DeleteManagedPrefixList' 

Fields

  • dryRun :: Maybe Bool

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • prefixListId :: Text

    The ID of the prefix list.

Instances

Instances details
ToHeaders DeleteManagedPrefixList Source # 
Instance details

Defined in Amazonka.EC2.DeleteManagedPrefixList

ToPath DeleteManagedPrefixList Source # 
Instance details

Defined in Amazonka.EC2.DeleteManagedPrefixList

ToQuery DeleteManagedPrefixList Source # 
Instance details

Defined in Amazonka.EC2.DeleteManagedPrefixList

AWSRequest DeleteManagedPrefixList Source # 
Instance details

Defined in Amazonka.EC2.DeleteManagedPrefixList

Generic DeleteManagedPrefixList Source # 
Instance details

Defined in Amazonka.EC2.DeleteManagedPrefixList

Associated Types

type Rep DeleteManagedPrefixList :: Type -> Type #

Read DeleteManagedPrefixList Source # 
Instance details

Defined in Amazonka.EC2.DeleteManagedPrefixList

Show DeleteManagedPrefixList Source # 
Instance details

Defined in Amazonka.EC2.DeleteManagedPrefixList

NFData DeleteManagedPrefixList Source # 
Instance details

Defined in Amazonka.EC2.DeleteManagedPrefixList

Methods

rnf :: DeleteManagedPrefixList -> () #

Eq DeleteManagedPrefixList Source # 
Instance details

Defined in Amazonka.EC2.DeleteManagedPrefixList

Hashable DeleteManagedPrefixList Source # 
Instance details

Defined in Amazonka.EC2.DeleteManagedPrefixList

type AWSResponse DeleteManagedPrefixList Source # 
Instance details

Defined in Amazonka.EC2.DeleteManagedPrefixList

type Rep DeleteManagedPrefixList Source # 
Instance details

Defined in Amazonka.EC2.DeleteManagedPrefixList

type Rep DeleteManagedPrefixList = D1 ('MetaData "DeleteManagedPrefixList" "Amazonka.EC2.DeleteManagedPrefixList" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DeleteManagedPrefixList'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "prefixListId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteManagedPrefixList Source #

Create a value of DeleteManagedPrefixList 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:dryRun:DeleteManagedPrefixList', deleteManagedPrefixList_dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

DeleteManagedPrefixList, deleteManagedPrefixList_prefixListId - The ID of the prefix list.

Request Lenses

deleteManagedPrefixList_dryRun :: Lens' DeleteManagedPrefixList (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Destructuring the Response

data DeleteManagedPrefixListResponse Source #

See: newDeleteManagedPrefixListResponse smart constructor.

Constructors

DeleteManagedPrefixListResponse' 

Fields

Instances

Instances details
Generic DeleteManagedPrefixListResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteManagedPrefixList

Associated Types

type Rep DeleteManagedPrefixListResponse :: Type -> Type #

Read DeleteManagedPrefixListResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteManagedPrefixList

Show DeleteManagedPrefixListResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteManagedPrefixList

NFData DeleteManagedPrefixListResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteManagedPrefixList

Eq DeleteManagedPrefixListResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteManagedPrefixList

type Rep DeleteManagedPrefixListResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteManagedPrefixList

type Rep DeleteManagedPrefixListResponse = D1 ('MetaData "DeleteManagedPrefixListResponse" "Amazonka.EC2.DeleteManagedPrefixList" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DeleteManagedPrefixListResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "prefixList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ManagedPrefixList)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteManagedPrefixListResponse Source #

Create a value of DeleteManagedPrefixListResponse 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:

DeleteManagedPrefixListResponse, deleteManagedPrefixListResponse_prefixList - Information about the prefix list.

$sel:httpStatus:DeleteManagedPrefixListResponse', deleteManagedPrefixListResponse_httpStatus - The response's http status code.

Response Lenses