describe_elastic_gpus
async
¶
describe_elastic_gpus(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
24609 24610 24611 24612 24613 24614 24615 24616 24617 24618 24619 24620 24621 24622 24623 24624 24625 24626 24627 24628 24629 24630 24631 24632 24633 24634 24635 24636 24637 24638 24639 24640 24641 24642 24643 24644 24645 24646 24647 24648 24649 24650 24651 24652 24653 24654 24655 24656 24657 24658 24659 24660 24661 24662 24663 24664 24665 24666 24667 24668 24669 24670 24671 24672 | |