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

Description

 
Synopsis

Documentation

data InstanceEventWindowAssociationRequest Source #

One or more targets associated with the specified event window. Only one type of target (instance ID, instance tag, or Dedicated Host ID) can be associated with an event window.

See: newInstanceEventWindowAssociationRequest smart constructor.

Constructors

InstanceEventWindowAssociationRequest' 

Fields

  • dedicatedHostIds :: Maybe [Text]

    The IDs of the Dedicated Hosts to associate with the event window.

  • instanceIds :: Maybe [Text]

    The IDs of the instances to associate with the event window. If the instance is on a Dedicated Host, you can't specify the Instance ID parameter; you must use the Dedicated Host ID parameter.

  • instanceTags :: Maybe [Tag]

    The instance tags to associate with the event window. Any instances associated with the tags will be associated with the event window.

Instances

Instances details
ToQuery InstanceEventWindowAssociationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceEventWindowAssociationRequest

Generic InstanceEventWindowAssociationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceEventWindowAssociationRequest

Read InstanceEventWindowAssociationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceEventWindowAssociationRequest

Show InstanceEventWindowAssociationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceEventWindowAssociationRequest

NFData InstanceEventWindowAssociationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceEventWindowAssociationRequest

Eq InstanceEventWindowAssociationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceEventWindowAssociationRequest

Hashable InstanceEventWindowAssociationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceEventWindowAssociationRequest

type Rep InstanceEventWindowAssociationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceEventWindowAssociationRequest

type Rep InstanceEventWindowAssociationRequest = D1 ('MetaData "InstanceEventWindowAssociationRequest" "Amazonka.EC2.Types.InstanceEventWindowAssociationRequest" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "InstanceEventWindowAssociationRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dedicatedHostIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "instanceIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "instanceTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))))

newInstanceEventWindowAssociationRequest :: InstanceEventWindowAssociationRequest Source #

Create a value of InstanceEventWindowAssociationRequest 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:dedicatedHostIds:InstanceEventWindowAssociationRequest', instanceEventWindowAssociationRequest_dedicatedHostIds - The IDs of the Dedicated Hosts to associate with the event window.

$sel:instanceIds:InstanceEventWindowAssociationRequest', instanceEventWindowAssociationRequest_instanceIds - The IDs of the instances to associate with the event window. If the instance is on a Dedicated Host, you can't specify the Instance ID parameter; you must use the Dedicated Host ID parameter.

$sel:instanceTags:InstanceEventWindowAssociationRequest', instanceEventWindowAssociationRequest_instanceTags - The instance tags to associate with the event window. Any instances associated with the tags will be associated with the event window.

instanceEventWindowAssociationRequest_dedicatedHostIds :: Lens' InstanceEventWindowAssociationRequest (Maybe [Text]) Source #

The IDs of the Dedicated Hosts to associate with the event window.

instanceEventWindowAssociationRequest_instanceIds :: Lens' InstanceEventWindowAssociationRequest (Maybe [Text]) Source #

The IDs of the instances to associate with the event window. If the instance is on a Dedicated Host, you can't specify the Instance ID parameter; you must use the Dedicated Host ID parameter.

instanceEventWindowAssociationRequest_instanceTags :: Lens' InstanceEventWindowAssociationRequest (Maybe [Tag]) Source #

The instance tags to associate with the event window. Any instances associated with the tags will be associated with the event window.