describe_mac_hosts
¶
describe_mac_hosts(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
29593 29594 29595 29596 29597 29598 29599 29600 29601 29602 29603 29604 29605 29606 29607 29608 29609 29610 29611 29612 29613 29614 29615 29616 29617 29618 29619 29620 29621 29622 29623 29624 29625 29626 29627 29628 29629 29630 29631 29632 29633 29634 29635 29636 29637 29638 29639 29640 29641 29642 29643 29644 29645 29646 29647 29648 29649 29650 29651 | |