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

Description

Modifies the specified attribute of the specified Amazon FPGA Image (AFI).

Synopsis

Creating a Request

data ModifyFpgaImageAttribute Source #

See: newModifyFpgaImageAttribute smart constructor.

Constructors

ModifyFpgaImageAttribute' 

Fields

Instances

Instances details
ToHeaders ModifyFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyFpgaImageAttribute

ToPath ModifyFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyFpgaImageAttribute

ToQuery ModifyFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyFpgaImageAttribute

AWSRequest ModifyFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyFpgaImageAttribute

Generic ModifyFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyFpgaImageAttribute

Associated Types

type Rep ModifyFpgaImageAttribute :: Type -> Type #

Read ModifyFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyFpgaImageAttribute

Show ModifyFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyFpgaImageAttribute

NFData ModifyFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyFpgaImageAttribute

Eq ModifyFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyFpgaImageAttribute

Hashable ModifyFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyFpgaImageAttribute

type AWSResponse ModifyFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyFpgaImageAttribute

type Rep ModifyFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyFpgaImageAttribute

newModifyFpgaImageAttribute Source #

Create a value of ModifyFpgaImageAttribute 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:attribute:ModifyFpgaImageAttribute', modifyFpgaImageAttribute_attribute - The name of the attribute.

ModifyFpgaImageAttribute, modifyFpgaImageAttribute_description - A description for the AFI.

$sel:dryRun:ModifyFpgaImageAttribute', modifyFpgaImageAttribute_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.

$sel:loadPermission:ModifyFpgaImageAttribute', modifyFpgaImageAttribute_loadPermission - The load permission for the AFI.

ModifyFpgaImageAttribute, modifyFpgaImageAttribute_name - A name for the AFI.

$sel:operationType:ModifyFpgaImageAttribute', modifyFpgaImageAttribute_operationType - The operation type.

ModifyFpgaImageAttribute, modifyFpgaImageAttribute_productCodes - The product codes. After you add a product code to an AFI, it can't be removed. This parameter is valid only when modifying the productCodes attribute.

$sel:userGroups:ModifyFpgaImageAttribute', modifyFpgaImageAttribute_userGroups - The user groups. This parameter is valid only when modifying the loadPermission attribute.

$sel:userIds:ModifyFpgaImageAttribute', modifyFpgaImageAttribute_userIds - The Amazon Web Services account IDs. This parameter is valid only when modifying the loadPermission attribute.

ModifyFpgaImageAttribute, modifyFpgaImageAttribute_fpgaImageId - The ID of the AFI.

Request Lenses

modifyFpgaImageAttribute_dryRun :: Lens' ModifyFpgaImageAttribute (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.

modifyFpgaImageAttribute_productCodes :: Lens' ModifyFpgaImageAttribute (Maybe [Text]) Source #

The product codes. After you add a product code to an AFI, it can't be removed. This parameter is valid only when modifying the productCodes attribute.

modifyFpgaImageAttribute_userGroups :: Lens' ModifyFpgaImageAttribute (Maybe [Text]) Source #

The user groups. This parameter is valid only when modifying the loadPermission attribute.

modifyFpgaImageAttribute_userIds :: Lens' ModifyFpgaImageAttribute (Maybe [Text]) Source #

The Amazon Web Services account IDs. This parameter is valid only when modifying the loadPermission attribute.

Destructuring the Response

data ModifyFpgaImageAttributeResponse Source #

See: newModifyFpgaImageAttributeResponse smart constructor.

Constructors

ModifyFpgaImageAttributeResponse' 

Fields

Instances

Instances details
Generic ModifyFpgaImageAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyFpgaImageAttribute

Associated Types

type Rep ModifyFpgaImageAttributeResponse :: Type -> Type #

Read ModifyFpgaImageAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyFpgaImageAttribute

Show ModifyFpgaImageAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyFpgaImageAttribute

NFData ModifyFpgaImageAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyFpgaImageAttribute

Eq ModifyFpgaImageAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyFpgaImageAttribute

type Rep ModifyFpgaImageAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyFpgaImageAttribute

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

newModifyFpgaImageAttributeResponse Source #

Create a value of ModifyFpgaImageAttributeResponse 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:fpgaImageAttribute:ModifyFpgaImageAttributeResponse', modifyFpgaImageAttributeResponse_fpgaImageAttribute - Information about the attribute.

$sel:httpStatus:ModifyFpgaImageAttributeResponse', modifyFpgaImageAttributeResponse_httpStatus - The response's http status code.

Response Lenses