describe_instance_type_offerings
async
¶
describe_instance_type_offerings(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
location_type: Optional[LocationType] = None,
filters: Optional[FilterList] = None,
max_results: Optional[DITOMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> DescribeInstanceTypeOfferingsResult
Lists the instance types that are offered for the specified location. If no location is specified, the default is to list the instance types that are offered in the current Region.
Parameters:
-
dry_run(Optional[Boolean], default:None) –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 isUnauthorizedOperation. -
location_type(Optional[LocationType], default:None) –The location type.
-
availability-zone- The Availability Zone. When you specify a location filter, it must be an Availability Zone for the current Region. -
availability-zone-id- The AZ ID. When you specify a location filter, it must be an AZ ID for the current Region. -
outpost- The Outpost ARN. When you specify a location filter, it must be an Outpost ARN for the current Region. -
region- The current Region. If you specify a location filter, it must match the current Region.
-
-
filters(Optional[FilterList], default:None) –One or more filters. Filter names and values are case-sensitive.
-
instance-type- The instance type. For a list of possible values, see Instance. -
location- The location. For a list of possible identifiers, see Regions and Zones.
-
-
max_results(Optional[DITOMaxResults], default:None) –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(Optional[NextToken], default:None) –The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
27598 27599 27600 27601 27602 27603 27604 27605 27606 27607 27608 27609 27610 27611 27612 27613 27614 27615 27616 27617 27618 27619 27620 27621 27622 27623 27624 27625 27626 27627 27628 27629 27630 27631 27632 27633 27634 27635 27636 27637 27638 27639 27640 27641 27642 27643 27644 27645 27646 27647 27648 27649 27650 27651 27652 27653 27654 27655 27656 27657 | |