describe_mac_hosts¶
Operation¶
describe_mac_hosts
async
¶
describe_mac_hosts(input: DescribeMacHostsInput, plugins: list[Plugin] | None = None) -> DescribeMacHostsOutput
Describes the specified EC2 Mac Dedicated Host or all of your EC2 Mac Dedicated Hosts.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DescribeMacHostsInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
DescribeMacHostsOutput
|
An instance of |
Input¶
DescribeMacHostsInput
dataclass
¶
Bases: _SerdeShape
Dataclass for DescribeMacHostsInput structure.
Attributes¶
filters
class-attribute
instance-attribute
¶
filters: list[Filter] | 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
class-attribute
instance-attribute
¶
The IDs of the EC2 Mac Dedicated Hosts.
max_results
class-attribute
instance-attribute
¶
max_results: int | 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 nextToken value. This value can be between 5 and 500. If
maxResults is given a larger value than 500, you receive an error.
Output¶
DescribeMacHostsOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DescribeMacHostsOutput structure.
Attributes¶
mac_hosts
class-attribute
instance-attribute
¶
mac_hosts: list[MacHost] | None = ...
Information about the EC2 Mac Dedicated Hosts.
next_token
class-attribute
instance-attribute
¶
next_token: str | None = ...
The token to use to retrieve the next page of results.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.