Class: Aws::EC2::Types::AssociateInstanceEventWindowRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::AssociateInstanceEventWindowRequest
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
Note:
When making an API call, you may pass AssociateInstanceEventWindowRequest data as a hash:
{
dry_run: false,
instance_event_window_id: "InstanceEventWindowId", # required
association_target: { # required
instance_ids: ["InstanceId"],
instance_tags: [
{
key: "String",
value: "String",
},
],
dedicated_host_ids: ["DedicatedHostId"],
},
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#association_target ⇒ Types::InstanceEventWindowAssociationRequest
One or more targets associated with the specified event window.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#instance_event_window_id ⇒ String
The ID of the event window.
Instance Attribute Details
#association_target ⇒ Types::InstanceEventWindowAssociationRequest
One or more targets associated with the specified event window.
2072 2073 2074 2075 2076 2077 2078 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2072 class AssociateInstanceEventWindowRequest < Struct.new( :dry_run, :instance_event_window_id, :association_target) SENSITIVE = [] include Aws::Structure end |
#dry_run ⇒ Boolean
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
.
2072 2073 2074 2075 2076 2077 2078 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2072 class AssociateInstanceEventWindowRequest < Struct.new( :dry_run, :instance_event_window_id, :association_target) SENSITIVE = [] include Aws::Structure end |
#instance_event_window_id ⇒ String
The ID of the event window.
2072 2073 2074 2075 2076 2077 2078 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2072 class AssociateInstanceEventWindowRequest < Struct.new( :dry_run, :instance_event_window_id, :association_target) SENSITIVE = [] include Aws::Structure end |