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

Description

Copies the specified Amazon FPGA Image (AFI) to the current Region.

Synopsis

Creating a Request

data CopyFpgaImage Source #

See: newCopyFpgaImage smart constructor.

Constructors

CopyFpgaImage' 

Fields

  • clientToken :: Maybe Text

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.

  • description :: Maybe Text

    The description for the new AFI.

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

  • name :: Maybe Text

    The name for the new AFI. The default is the name of the source AFI.

  • sourceFpgaImageId :: Text

    The ID of the source AFI.

  • sourceRegion :: Text

    The Region that contains the source AFI.

Instances

Instances details
ToHeaders CopyFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CopyFpgaImage

ToPath CopyFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CopyFpgaImage

ToQuery CopyFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CopyFpgaImage

AWSRequest CopyFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CopyFpgaImage

Associated Types

type AWSResponse CopyFpgaImage #

Generic CopyFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CopyFpgaImage

Associated Types

type Rep CopyFpgaImage :: Type -> Type #

Read CopyFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CopyFpgaImage

Show CopyFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CopyFpgaImage

NFData CopyFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CopyFpgaImage

Methods

rnf :: CopyFpgaImage -> () #

Eq CopyFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CopyFpgaImage

Hashable CopyFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CopyFpgaImage

type AWSResponse CopyFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CopyFpgaImage

type Rep CopyFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CopyFpgaImage

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

newCopyFpgaImage Source #

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

CopyFpgaImage, copyFpgaImage_clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.

CopyFpgaImage, copyFpgaImage_description - The description for the new AFI.

$sel:dryRun:CopyFpgaImage', copyFpgaImage_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.

CopyFpgaImage, copyFpgaImage_name - The name for the new AFI. The default is the name of the source AFI.

$sel:sourceFpgaImageId:CopyFpgaImage', copyFpgaImage_sourceFpgaImageId - The ID of the source AFI.

$sel:sourceRegion:CopyFpgaImage', copyFpgaImage_sourceRegion - The Region that contains the source AFI.

Request Lenses

copyFpgaImage_clientToken :: Lens' CopyFpgaImage (Maybe Text) Source #

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.

copyFpgaImage_description :: Lens' CopyFpgaImage (Maybe Text) Source #

The description for the new AFI.

copyFpgaImage_dryRun :: Lens' CopyFpgaImage (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.

copyFpgaImage_name :: Lens' CopyFpgaImage (Maybe Text) Source #

The name for the new AFI. The default is the name of the source AFI.

copyFpgaImage_sourceRegion :: Lens' CopyFpgaImage Text Source #

The Region that contains the source AFI.

Destructuring the Response

data CopyFpgaImageResponse Source #

See: newCopyFpgaImageResponse smart constructor.

Constructors

CopyFpgaImageResponse' 

Fields

Instances

Instances details
Generic CopyFpgaImageResponse Source # 
Instance details

Defined in Amazonka.EC2.CopyFpgaImage

Associated Types

type Rep CopyFpgaImageResponse :: Type -> Type #

Read CopyFpgaImageResponse Source # 
Instance details

Defined in Amazonka.EC2.CopyFpgaImage

Show CopyFpgaImageResponse Source # 
Instance details

Defined in Amazonka.EC2.CopyFpgaImage

NFData CopyFpgaImageResponse Source # 
Instance details

Defined in Amazonka.EC2.CopyFpgaImage

Methods

rnf :: CopyFpgaImageResponse -> () #

Eq CopyFpgaImageResponse Source # 
Instance details

Defined in Amazonka.EC2.CopyFpgaImage

type Rep CopyFpgaImageResponse Source # 
Instance details

Defined in Amazonka.EC2.CopyFpgaImage

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

newCopyFpgaImageResponse Source #

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

CopyFpgaImageResponse, copyFpgaImageResponse_fpgaImageId - The ID of the new AFI.

$sel:httpStatus:CopyFpgaImageResponse', copyFpgaImageResponse_httpStatus - The response's http status code.

Response Lenses