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

Description

Resets the specified attribute of the specified Amazon FPGA Image (AFI) to its default value. You can only reset the load permission attribute.

Synopsis

Creating a Request

data ResetFpgaImageAttribute Source #

See: newResetFpgaImageAttribute smart constructor.

Constructors

ResetFpgaImageAttribute' 

Fields

  • attribute :: Maybe ResetFpgaImageAttributeName

    The attribute.

  • 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 ResetFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetFpgaImageAttribute

ToPath ResetFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetFpgaImageAttribute

ToQuery ResetFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetFpgaImageAttribute

AWSRequest ResetFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetFpgaImageAttribute

Generic ResetFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetFpgaImageAttribute

Associated Types

type Rep ResetFpgaImageAttribute :: Type -> Type #

Read ResetFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetFpgaImageAttribute

Show ResetFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetFpgaImageAttribute

NFData ResetFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetFpgaImageAttribute

Methods

rnf :: ResetFpgaImageAttribute -> () #

Eq ResetFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetFpgaImageAttribute

Hashable ResetFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetFpgaImageAttribute

type AWSResponse ResetFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetFpgaImageAttribute

type Rep ResetFpgaImageAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetFpgaImageAttribute

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

newResetFpgaImageAttribute Source #

Create a value of ResetFpgaImageAttribute 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:ResetFpgaImageAttribute', resetFpgaImageAttribute_attribute - The attribute.

$sel:dryRun:ResetFpgaImageAttribute', resetFpgaImageAttribute_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.

ResetFpgaImageAttribute, resetFpgaImageAttribute_fpgaImageId - The ID of the AFI.

Request Lenses

resetFpgaImageAttribute_dryRun :: Lens' ResetFpgaImageAttribute (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 ResetFpgaImageAttributeResponse Source #

See: newResetFpgaImageAttributeResponse smart constructor.

Constructors

ResetFpgaImageAttributeResponse' 

Fields

Instances

Instances details
Generic ResetFpgaImageAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ResetFpgaImageAttribute

Associated Types

type Rep ResetFpgaImageAttributeResponse :: Type -> Type #

Read ResetFpgaImageAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ResetFpgaImageAttribute

Show ResetFpgaImageAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ResetFpgaImageAttribute

NFData ResetFpgaImageAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ResetFpgaImageAttribute

Eq ResetFpgaImageAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ResetFpgaImageAttribute

type Rep ResetFpgaImageAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ResetFpgaImageAttribute

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

newResetFpgaImageAttributeResponse Source #

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

$sel:httpStatus:ResetFpgaImageAttributeResponse', resetFpgaImageAttributeResponse_httpStatus - The response's http status code.

Response Lenses

resetFpgaImageAttributeResponse_return :: Lens' ResetFpgaImageAttributeResponse (Maybe Bool) Source #

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