Class: Aws::EC2::Types::DescribeCapacityReservationsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::DescribeCapacityReservationsRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
When making an API call, you may pass DescribeCapacityReservationsRequest data as a hash:
{
capacity_reservation_ids: ["String"],
next_token: "String",
max_results: 1,
filters: [
{
name: "String",
values: ["String"],
},
],
dry_run: false,
}
Instance Attribute Summary collapse
-
#capacity_reservation_ids ⇒ Array<String>
The ID of the Capacity Reservation.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#filters ⇒ Array<Types::Filter>
One or more filters.
-
#max_results ⇒ Integer
The maximum number of results to return for the request in a single page.
-
#next_token ⇒ String
The token to retrieve the next page of results.
Instance Attribute Details
#capacity_reservation_ids ⇒ Array<String>
The ID of the Capacity Reservation.
9530 9531 9532 9533 9534 9535 9536 9537 |
# File 'lib/aws-sdk-ec2/types.rb', line 9530 class DescribeCapacityReservationsRequest < Struct.new( :capacity_reservation_ids, :next_token, :max_results, :filters, :dry_run) 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`.
9530 9531 9532 9533 9534 9535 9536 9537 |
# File 'lib/aws-sdk-ec2/types.rb', line 9530 class DescribeCapacityReservationsRequest < Struct.new( :capacity_reservation_ids, :next_token, :max_results, :filters, :dry_run) include Aws::Structure end |
#filters ⇒ Array<Types::Filter>
One or more filters.
9530 9531 9532 9533 9534 9535 9536 9537 |
# File 'lib/aws-sdk-ec2/types.rb', line 9530 class DescribeCapacityReservationsRequest < Struct.new( :capacity_reservation_ids, :next_token, :max_results, :filters, :dry_run) include Aws::Structure end |
#max_results ⇒ Integer
The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value.
9530 9531 9532 9533 9534 9535 9536 9537 |
# File 'lib/aws-sdk-ec2/types.rb', line 9530 class DescribeCapacityReservationsRequest < Struct.new( :capacity_reservation_ids, :next_token, :max_results, :filters, :dry_run) include Aws::Structure end |
#next_token ⇒ String
The token to retrieve the next page of results.
9530 9531 9532 9533 9534 9535 9536 9537 |
# File 'lib/aws-sdk-ec2/types.rb', line 9530 class DescribeCapacityReservationsRequest < Struct.new( :capacity_reservation_ids, :next_token, :max_results, :filters, :dry_run) include Aws::Structure end |