Class: Aws::EC2::Types::DeleteInstanceEventWindowRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass DeleteInstanceEventWindowRequest data as a hash:

{
  dry_run: false,
  force_delete: false,
  instance_event_window_id: "InstanceEventWindowId", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dry_runBoolean

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.

Returns:

  • (Boolean)


14931
14932
14933
14934
14935
14936
14937
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14931

class DeleteInstanceEventWindowRequest < Struct.new(
  :dry_run,
  :force_delete,
  :instance_event_window_id)
  SENSITIVE = []
  include Aws::Structure
end

#force_deleteBoolean

Specify true to force delete the event window. Use the force delete parameter if the event window is currently associated with targets.

Returns:

  • (Boolean)


14931
14932
14933
14934
14935
14936
14937
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14931

class DeleteInstanceEventWindowRequest < Struct.new(
  :dry_run,
  :force_delete,
  :instance_event_window_id)
  SENSITIVE = []
  include Aws::Structure
end

#instance_event_window_idString

The ID of the event window.

Returns:

  • (String)


14931
14932
14933
14934
14935
14936
14937
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 14931

class DeleteInstanceEventWindowRequest < Struct.new(
  :dry_run,
  :force_delete,
  :instance_event_window_id)
  SENSITIVE = []
  include Aws::Structure
end