Class: Aws::EC2::Types::CancelCapacityReservationFleetsRequest

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 CancelCapacityReservationFleetsRequest data as a hash:

{
  dry_run: false,
  capacity_reservation_fleet_ids: ["CapacityReservationFleetId"], # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#capacity_reservation_fleet_idsArray<String>

The IDs of the Capacity Reservation Fleets to cancel.

Returns:

  • (Array<String>)


3864
3865
3866
3867
3868
3869
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3864

class CancelCapacityReservationFleetsRequest < Struct.new(
  :dry_run,
  :capacity_reservation_fleet_ids)
  SENSITIVE = []
  include Aws::Structure
end

#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)


3864
3865
3866
3867
3868
3869
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3864

class CancelCapacityReservationFleetsRequest < Struct.new(
  :dry_run,
  :capacity_reservation_fleet_ids)
  SENSITIVE = []
  include Aws::Structure
end