libZSservicesZSamazonka-elastic-inferenceZSamazonka-elastic-inference
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElasticInference.DescribeAccelerators

Description

Describes information over a provided set of accelerators belonging to an account.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeAccelerators Source #

See: newDescribeAccelerators smart constructor.

Constructors

DescribeAccelerators' 

Fields

  • filters :: Maybe [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.

  • nextToken :: Maybe Text

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

  • maxResults :: Maybe Natural

    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.

  • acceleratorIds :: Maybe [Text]

    The IDs of the accelerators to describe.

Instances

Instances details
Eq DescribeAccelerators Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

Read DescribeAccelerators Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

Show DescribeAccelerators Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

Generic DescribeAccelerators Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

Associated Types

type Rep DescribeAccelerators :: Type -> Type #

NFData DescribeAccelerators Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

Methods

rnf :: DescribeAccelerators -> () #

Hashable DescribeAccelerators Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

ToJSON DescribeAccelerators Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

AWSPager DescribeAccelerators Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

AWSRequest DescribeAccelerators Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

Associated Types

type AWSResponse DescribeAccelerators #

ToHeaders DescribeAccelerators Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

ToPath DescribeAccelerators Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

ToQuery DescribeAccelerators Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

type Rep DescribeAccelerators Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

type Rep DescribeAccelerators = D1 ('MetaData "DescribeAccelerators" "Amazonka.ElasticInference.DescribeAccelerators" "libZSservicesZSamazonka-elastic-inferenceZSamazonka-elastic-inference" 'False) (C1 ('MetaCons "DescribeAccelerators'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "acceleratorIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))
type AWSResponse DescribeAccelerators Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

newDescribeAccelerators :: DescribeAccelerators Source #

Create a value of DescribeAccelerators with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:filters:DescribeAccelerators', describeAccelerators_filters - 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.

$sel:nextToken:DescribeAccelerators', describeAccelerators_nextToken - A token to specify where to start paginating. This is the NextToken from a previously truncated response.

$sel:maxResults:DescribeAccelerators', describeAccelerators_maxResults - 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.

$sel:acceleratorIds:DescribeAccelerators', describeAccelerators_acceleratorIds - The IDs of the accelerators to describe.

Request Lenses

describeAccelerators_filters :: Lens' DescribeAccelerators (Maybe [Filter]) Source #

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.

describeAccelerators_nextToken :: Lens' DescribeAccelerators (Maybe Text) Source #

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

describeAccelerators_maxResults :: Lens' DescribeAccelerators (Maybe Natural) Source #

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.

describeAccelerators_acceleratorIds :: Lens' DescribeAccelerators (Maybe [Text]) Source #

The IDs of the accelerators to describe.

Destructuring the Response

data DescribeAcceleratorsResponse Source #

See: newDescribeAcceleratorsResponse smart constructor.

Constructors

DescribeAcceleratorsResponse' 

Fields

Instances

Instances details
Eq DescribeAcceleratorsResponse Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

Read DescribeAcceleratorsResponse Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

Show DescribeAcceleratorsResponse Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

Generic DescribeAcceleratorsResponse Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

Associated Types

type Rep DescribeAcceleratorsResponse :: Type -> Type #

NFData DescribeAcceleratorsResponse Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

type Rep DescribeAcceleratorsResponse Source # 
Instance details

Defined in Amazonka.ElasticInference.DescribeAccelerators

type Rep DescribeAcceleratorsResponse = D1 ('MetaData "DescribeAcceleratorsResponse" "Amazonka.ElasticInference.DescribeAccelerators" "libZSservicesZSamazonka-elastic-inferenceZSamazonka-elastic-inference" 'False) (C1 ('MetaCons "DescribeAcceleratorsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "acceleratorSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ElasticInferenceAccelerator])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeAcceleratorsResponse Source #

Create a value of DescribeAcceleratorsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:acceleratorSet:DescribeAcceleratorsResponse', describeAcceleratorsResponse_acceleratorSet - The details of the Elastic Inference Accelerators.

$sel:nextToken:DescribeAccelerators', describeAcceleratorsResponse_nextToken - A token to specify where to start paginating. This is the NextToken from a previously truncated response.

$sel:httpStatus:DescribeAcceleratorsResponse', describeAcceleratorsResponse_httpStatus - The response's http status code.

Response Lenses

describeAcceleratorsResponse_nextToken :: Lens' DescribeAcceleratorsResponse (Maybe Text) Source #

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