describe_instance_type_offerings
¶
describe_instance_type_offerings(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
27223 27224 27225 27226 27227 27228 27229 27230 27231 27232 27233 27234 27235 27236 27237 27238 27239 27240 27241 27242 27243 27244 27245 27246 27247 27248 27249 27250 27251 27252 27253 27254 27255 27256 27257 27258 27259 27260 27261 27262 27263 27264 27265 27266 27267 27268 27269 27270 27271 27272 27273 27274 27275 27276 27277 27278 27279 27280 27281 | |