DescribeCapacityBlockOfferingsRequest
¶
Source code in docs_src/capo_ec2/types/describe_capacity_block_offerings_request.py
all_availability_zones
instance-attribute
¶
all_availability_zones: NotRequired[Boolean]
Include all Availability Zones and Local Zones, regardless of your opt-in status. If you do not use this parameter, the results include available offerings from all Availability Zones in the Amazon Web Services Region and Local Zones you are opted into.
capacity_duration_hours
instance-attribute
¶
capacity_duration_hours: NotRequired[Integer]
The reservation duration for the Capacity Block, in hours. You must specify the duration in 1-day increments up 14 days, and in 7-day increments up to 182 days.
dry_run
instance-attribute
¶
dry_run: NotRequired[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.
end_date_range
instance-attribute
¶
end_date_range: NotRequired[MillisecondDateTime]
The latest end date for the Capacity Block offering.
instance_count
instance-attribute
¶
instance_count: NotRequired[Integer]
The number of instances for which to reserve capacity. Each Capacity Block can have up to 64 instances, and you can have up to 256 instances across Capacity Blocks.
instance_type
instance-attribute
¶
instance_type: NotRequired[String]
The type of instance for which the Capacity Block offering reserves capacity.
max_results
instance-attribute
¶
max_results: NotRequired[DescribeCapacityBlockOfferingsMaxResults]
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token
instance-attribute
¶
next_token: NotRequired[String]
The token to use to retrieve the next page of results.
start_date_range
instance-attribute
¶
start_date_range: NotRequired[MillisecondDateTime]
The earliest start date for the Capacity Block offering.