AWSEC2DescribeHostsRequest Class Reference

Inherits from AWSRequest : AWSModel : AWSMTLModel
Declared in AWSEC2Model.h
AWSEC2Model.m

Overview

Contains the parameters for DescribeHosts.

  filter

One or more filters.

  • instance-type - The instance type size that the Dedicated host is configured to support.

  • auto-placement - Whether auto-placement is enabled or disabled (on | off).

  • host-reservation-id - The ID of the reservation associated with this host.

  • client-token - The idempotency token you provided when you launched the instance

  • state- The allocation state of the Dedicated host (available | under-assessment | permanent-failure | released | released-permanent-failure).

  • availability-zone - The Availability Zone of the host.

@property (nonatomic, strong) NSArray<AWSEC2Filter*> *filter

Declared In

AWSEC2Model.h

  hostIds

The IDs of the Dedicated hosts. The IDs are used for targeted instance launches.

@property (nonatomic, strong) NSArray<NSString*> *hostIds

Declared In

AWSEC2Model.h

  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 will receive an error. You cannot specify this parameter and the host IDs parameter in the same request.

@property (nonatomic, strong) NSNumber *maxResults

Declared In

AWSEC2Model.h

  nextToken

The token to retrieve the next page of results.

@property (nonatomic, strong) NSString *nextToken

Declared In

AWSEC2Model.h