Skip to content

Describe Mac Hosts

ec2_describe_mac_hosts R Documentation

Describes the specified EC2 Mac Dedicated Host or all of your EC2 Mac Dedicated Hosts

Description

Describes the specified EC2 Mac Dedicated Host or all of your EC2 Mac Dedicated Hosts.

Usage

ec2_describe_mac_hosts(Filters, HostIds, MaxResults, NextToken)

Arguments

Filters

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.

HostIds

The IDs of the EC2 Mac Dedicated Hosts.

MaxResults

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.

NextToken

The token to use to retrieve the next page of results.

Value

A list with the following syntax:

list(
  MacHosts = list(
    list(
      HostId = "string",
      MacOSLatestSupportedVersions = list(
        "string"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_mac_hosts(
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  ),
  HostIds = list(
    "string"
  ),
  MaxResults = 123,
  NextToken = "string"
)