describe_mac_hosts
async
¶
describe_mac_hosts(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
filters: Optional[FilterList] = None,
host_ids: Optional[RequestHostIdList] = None,
max_results: Optional[DescribeMacHostsRequestMaxResults] = None,
next_token: Optional[String] = None,
) -> DescribeMacHostsResult
Describes the specified EC2 Mac Dedicated Host or all of your EC2 Mac Dedicated Hosts.
Parameters:
-
filters(Optional[FilterList], default:None) –The filters.
-
availability-zone- The Availability Zone of the EC2 Mac Dedicated Host. -
instance-type- The instance type size that the EC2 Mac Dedicated Host is configured to support.
-
-
host_ids(Optional[RequestHostIdList], default:None) –The IDs of the EC2 Mac Dedicated Hosts.
-
max_results(Optional[DescribeMacHostsRequestMaxResults], default:None) –The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned
nextTokenvalue. This value can be between 5 and 500. IfmaxResultsis given a larger value than 500, you receive an error. -
next_token(Optional[String], default:None) –The token to use to retrieve 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
29998 29999 30000 30001 30002 30003 30004 30005 30006 30007 30008 30009 30010 30011 30012 30013 30014 30015 30016 30017 30018 30019 30020 30021 30022 30023 30024 30025 30026 30027 30028 30029 30030 30031 30032 30033 30034 30035 30036 30037 30038 30039 30040 30041 30042 30043 30044 30045 30046 30047 30048 30049 30050 30051 30052 30053 30054 30055 30056 30057 | |