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

Description

Deletes the specified Amazon FPGA Image (AFI).

Synopsis

Creating a Request

data DeleteFpgaImage Source #

See: newDeleteFpgaImage smart constructor.

Constructors

DeleteFpgaImage' 

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.

  • fpgaImageId :: Text

    The ID of the AFI.

Instances

Instances details
ToHeaders DeleteFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.DeleteFpgaImage

ToPath DeleteFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.DeleteFpgaImage

ToQuery DeleteFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.DeleteFpgaImage

AWSRequest DeleteFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.DeleteFpgaImage

Associated Types

type AWSResponse DeleteFpgaImage #

Generic DeleteFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.DeleteFpgaImage

Associated Types

type Rep DeleteFpgaImage :: Type -> Type #

Read DeleteFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.DeleteFpgaImage

Show DeleteFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.DeleteFpgaImage

NFData DeleteFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.DeleteFpgaImage

Methods

rnf :: DeleteFpgaImage -> () #

Eq DeleteFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.DeleteFpgaImage

Hashable DeleteFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.DeleteFpgaImage

type AWSResponse DeleteFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.DeleteFpgaImage

type Rep DeleteFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.DeleteFpgaImage

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

newDeleteFpgaImage Source #

Create a value of DeleteFpgaImage 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:DeleteFpgaImage', deleteFpgaImage_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.

DeleteFpgaImage, deleteFpgaImage_fpgaImageId - The ID of the AFI.

Request Lenses

deleteFpgaImage_dryRun :: Lens' DeleteFpgaImage (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 DeleteFpgaImageResponse Source #

See: newDeleteFpgaImageResponse smart constructor.

Constructors

DeleteFpgaImageResponse' 

Fields

Instances

Instances details
Generic DeleteFpgaImageResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteFpgaImage

Associated Types

type Rep DeleteFpgaImageResponse :: Type -> Type #

Read DeleteFpgaImageResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteFpgaImage

Show DeleteFpgaImageResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteFpgaImage

NFData DeleteFpgaImageResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteFpgaImage

Methods

rnf :: DeleteFpgaImageResponse -> () #

Eq DeleteFpgaImageResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteFpgaImage

type Rep DeleteFpgaImageResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteFpgaImage

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

newDeleteFpgaImageResponse Source #

Create a value of DeleteFpgaImageResponse 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:return':DeleteFpgaImageResponse', deleteFpgaImageResponse_return - Is true if the request succeeds, and an error otherwise.

$sel:httpStatus:DeleteFpgaImageResponse', deleteFpgaImageResponse_httpStatus - The response's http status code.

Response Lenses

deleteFpgaImageResponse_return :: Lens' DeleteFpgaImageResponse (Maybe Bool) Source #

Is true if the request succeeds, and an error otherwise.