describe_elastic_gpus
¶
describe_elastic_gpus(
*,
config_overrides: Optional[EC2ClientConfig] = None,
elastic_gpu_ids: Optional[ElasticGpuIdSet] = None,
dry_run: Optional[Boolean] = None,
filters: Optional[FilterList] = None,
max_results: Optional[DescribeElasticGpusMaxResults] = None,
next_token: Optional[String] = None,
) -> DescribeElasticGpusResult
Amazon Elastic Graphics reached end of life on January 8, 2024.
Describes the Elastic Graphics accelerator associated with your instances.
Parameters:
-
elastic_gpu_ids(Optional[ElasticGpuIdSet], default:None) –The Elastic Graphics accelerator IDs.
-
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. -
filters(Optional[FilterList], default:None) –The filters.
-
availability-zone- The Availability Zone in which the Elastic Graphics accelerator resides. -
elastic-gpu-health- The status of the Elastic Graphics accelerator (OK|IMPAIRED). -
elastic-gpu-state- The state of the Elastic Graphics accelerator (ATTACHED). -
elastic-gpu-type- The type of Elastic Graphics accelerator; for example,eg1.medium. -
instance-id- The ID of the instance to which the Elastic Graphics accelerator is associated.
-
-
max_results(Optional[DescribeElasticGpusMaxResults], default:None) –The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned
NextTokenvalue. This value can be between 5 and 1000. -
next_token(Optional[String], default:None) –The token to request the next page of results.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
24271 24272 24273 24274 24275 24276 24277 24278 24279 24280 24281 24282 24283 24284 24285 24286 24287 24288 24289 24290 24291 24292 24293 24294 24295 24296 24297 24298 24299 24300 24301 24302 24303 24304 24305 24306 24307 24308 24309 24310 24311 24312 24313 24314 24315 24316 24317 24318 24319 24320 24321 24322 24323 24324 24325 24326 24327 24328 24329 24330 24331 24332 24333 | |