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

Description

 
Synopsis

Documentation

data CapacityReservationTarget Source #

Describes a target Capacity Reservation or Capacity Reservation group.

See: newCapacityReservationTarget smart constructor.

Constructors

CapacityReservationTarget' 

Fields

Instances

Instances details
ToQuery CapacityReservationTarget Source # 
Instance details

Defined in Amazonka.EC2.Types.CapacityReservationTarget

Generic CapacityReservationTarget Source # 
Instance details

Defined in Amazonka.EC2.Types.CapacityReservationTarget

Associated Types

type Rep CapacityReservationTarget :: Type -> Type #

Read CapacityReservationTarget Source # 
Instance details

Defined in Amazonka.EC2.Types.CapacityReservationTarget

Show CapacityReservationTarget Source # 
Instance details

Defined in Amazonka.EC2.Types.CapacityReservationTarget

NFData CapacityReservationTarget Source # 
Instance details

Defined in Amazonka.EC2.Types.CapacityReservationTarget

Eq CapacityReservationTarget Source # 
Instance details

Defined in Amazonka.EC2.Types.CapacityReservationTarget

Hashable CapacityReservationTarget Source # 
Instance details

Defined in Amazonka.EC2.Types.CapacityReservationTarget

type Rep CapacityReservationTarget Source # 
Instance details

Defined in Amazonka.EC2.Types.CapacityReservationTarget

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

newCapacityReservationTarget :: CapacityReservationTarget Source #

Create a value of CapacityReservationTarget 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:capacityReservationId:CapacityReservationTarget', capacityReservationTarget_capacityReservationId - The ID of the Capacity Reservation in which to run the instance.

$sel:capacityReservationResourceGroupArn:CapacityReservationTarget', capacityReservationTarget_capacityReservationResourceGroupArn - The ARN of the Capacity Reservation resource group in which to run the instance.

capacityReservationTarget_capacityReservationId :: Lens' CapacityReservationTarget (Maybe Text) Source #

The ID of the Capacity Reservation in which to run the instance.

capacityReservationTarget_capacityReservationResourceGroupArn :: Lens' CapacityReservationTarget (Maybe Text) Source #

The ARN of the Capacity Reservation resource group in which to run the instance.