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.Types.FpgaImageState

Description

 
Synopsis

Documentation

data FpgaImageState Source #

Describes the state of the bitstream generation process for an Amazon FPGA image (AFI).

See: newFpgaImageState smart constructor.

Constructors

FpgaImageState' 

Fields

  • code :: Maybe FpgaImageStateCode

    The state. The following are the possible values:

    • pending - AFI bitstream generation is in progress.
    • available - The AFI is available for use.
    • failed - AFI bitstream generation failed.
    • unavailable - The AFI is no longer available for use.
  • message :: Maybe Text

    If the state is failed, this is the error message.

Instances

Instances details
FromXML FpgaImageState Source # 
Instance details

Defined in Amazonka.EC2.Types.FpgaImageState

Generic FpgaImageState Source # 
Instance details

Defined in Amazonka.EC2.Types.FpgaImageState

Associated Types

type Rep FpgaImageState :: Type -> Type #

Read FpgaImageState Source # 
Instance details

Defined in Amazonka.EC2.Types.FpgaImageState

Show FpgaImageState Source # 
Instance details

Defined in Amazonka.EC2.Types.FpgaImageState

NFData FpgaImageState Source # 
Instance details

Defined in Amazonka.EC2.Types.FpgaImageState

Methods

rnf :: FpgaImageState -> () #

Eq FpgaImageState Source # 
Instance details

Defined in Amazonka.EC2.Types.FpgaImageState

Hashable FpgaImageState Source # 
Instance details

Defined in Amazonka.EC2.Types.FpgaImageState

type Rep FpgaImageState Source # 
Instance details

Defined in Amazonka.EC2.Types.FpgaImageState

type Rep FpgaImageState = D1 ('MetaData "FpgaImageState" "Amazonka.EC2.Types.FpgaImageState" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "FpgaImageState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FpgaImageStateCode)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newFpgaImageState :: FpgaImageState Source #

Create a value of FpgaImageState 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:code:FpgaImageState', fpgaImageState_code - The state. The following are the possible values:

  • pending - AFI bitstream generation is in progress.
  • available - The AFI is available for use.
  • failed - AFI bitstream generation failed.
  • unavailable - The AFI is no longer available for use.

$sel:message:FpgaImageState', fpgaImageState_message - If the state is failed, this is the error message.

fpgaImageState_code :: Lens' FpgaImageState (Maybe FpgaImageStateCode) Source #

The state. The following are the possible values:

  • pending - AFI bitstream generation is in progress.
  • available - The AFI is available for use.
  • failed - AFI bitstream generation failed.
  • unavailable - The AFI is no longer available for use.

fpgaImageState_message :: Lens' FpgaImageState (Maybe Text) Source #

If the state is failed, this is the error message.