Class: Aws::ElasticInference::Types::DescribeAcceleratorsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/types.rb

Overview

Note:

When making an API call, you may pass DescribeAcceleratorsRequest data as a hash:

{
  accelerator_ids: ["AcceleratorId"],
  filters: [
    {
      name: "FilterName",
      values: ["String"],
    },
  ],
  max_results: 1,
  next_token: "NextToken",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accelerator_idsArray<String>

The IDs of the accelerators to describe.

Returns:

  • (Array<String>)


184
185
186
187
188
189
190
191
# File 'gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/types.rb', line 184

class DescribeAcceleratorsRequest < Struct.new(
  :accelerator_ids,
  :filters,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#filtersArray<Types::Filter>

One or more filters. Filter names and values are case-sensitive. Valid filter names are: accelerator-types: can provide a list of accelerator type names to filter for. instance-id: can provide a list of EC2 instance ids to filter for.

Returns:



184
185
186
187
188
189
190
191
# File 'gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/types.rb', line 184

class DescribeAcceleratorsRequest < Struct.new(
  :accelerator_ids,
  :filters,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The total number of items to return in the command's output. If the total number of items available is more than the value specified, a NextToken is provided in the command's output. To resume pagination, provide the NextToken value in the starting-token argument of a subsequent command. Do not use the NextToken response element directly outside of the AWS CLI.

Returns:

  • (Integer)


184
185
186
187
188
189
190
191
# File 'gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/types.rb', line 184

class DescribeAcceleratorsRequest < Struct.new(
  :accelerator_ids,
  :filters,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

Returns:

  • (String)


184
185
186
187
188
189
190
191
# File 'gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/types.rb', line 184

class DescribeAcceleratorsRequest < Struct.new(
  :accelerator_ids,
  :filters,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end