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

Description

 
Synopsis

Documentation

data CreateFleetError Source #

Describes the instances that could not be launched by the fleet.

See: newCreateFleetError smart constructor.

Constructors

CreateFleetError' 

Fields

Instances

Instances details
FromXML CreateFleetError Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateFleetError

Generic CreateFleetError Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateFleetError

Associated Types

type Rep CreateFleetError :: Type -> Type #

Read CreateFleetError Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateFleetError

Show CreateFleetError Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateFleetError

NFData CreateFleetError Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateFleetError

Methods

rnf :: CreateFleetError -> () #

Eq CreateFleetError Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateFleetError

Hashable CreateFleetError Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateFleetError

type Rep CreateFleetError Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateFleetError

type Rep CreateFleetError = D1 ('MetaData "CreateFleetError" "Amazonka.EC2.Types.CreateFleetError" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreateFleetError'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "launchTemplateAndOverrides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateAndOverridesResponse)) :*: S1 ('MetaSel ('Just "lifecycle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceLifecycle)))))

newCreateFleetError :: CreateFleetError Source #

Create a value of CreateFleetError 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:errorCode:CreateFleetError', createFleetError_errorCode - The error code that indicates why the instance could not be launched. For more information about error codes, see Error codes.

$sel:errorMessage:CreateFleetError', createFleetError_errorMessage - The error message that describes why the instance could not be launched. For more information about error messages, see Error codes.

$sel:launchTemplateAndOverrides:CreateFleetError', createFleetError_launchTemplateAndOverrides - The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.

$sel:lifecycle:CreateFleetError', createFleetError_lifecycle - Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.

createFleetError_errorCode :: Lens' CreateFleetError (Maybe Text) Source #

The error code that indicates why the instance could not be launched. For more information about error codes, see Error codes.

createFleetError_errorMessage :: Lens' CreateFleetError (Maybe Text) Source #

The error message that describes why the instance could not be launched. For more information about error messages, see Error codes.

createFleetError_launchTemplateAndOverrides :: Lens' CreateFleetError (Maybe LaunchTemplateAndOverridesResponse) Source #

The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.

createFleetError_lifecycle :: Lens' CreateFleetError (Maybe InstanceLifecycle) Source #

Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.