libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm
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.DeviceFarm.ListOfferings

Description

Returns a list of products or offerings that the user can manage through the API. Each offering record indicates the recurring price per unit and the frequency for that offering. The API returns a NotEligible error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.

This operation returns paginated results.

Synopsis

Creating a Request

data ListOfferings Source #

Represents the request to list all offerings.

See: newListOfferings smart constructor.

Constructors

ListOfferings' 

Fields

  • nextToken :: Maybe Text

    An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

Instances

Instances details
Eq ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

Read ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

Show ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

Generic ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

Associated Types

type Rep ListOfferings :: Type -> Type #

NFData ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

Methods

rnf :: ListOfferings -> () #

Hashable ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

ToJSON ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

AWSPager ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

AWSRequest ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

Associated Types

type AWSResponse ListOfferings #

ToHeaders ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

ToPath ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

ToQuery ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

type Rep ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

type Rep ListOfferings = D1 ('MetaData "ListOfferings" "Amazonka.DeviceFarm.ListOfferings" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "ListOfferings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

newListOfferings :: ListOfferings Source #

Create a value of ListOfferings 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:nextToken:ListOfferings', listOfferings_nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

Request Lenses

listOfferings_nextToken :: Lens' ListOfferings (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

Destructuring the Response

data ListOfferingsResponse Source #

Represents the return values of the list of offerings.

See: newListOfferingsResponse smart constructor.

Constructors

ListOfferingsResponse' 

Fields

  • nextToken :: Maybe Text

    An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

  • offerings :: Maybe [Offering]

    A value that represents the list offering results.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListOfferingsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

Read ListOfferingsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

Show ListOfferingsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

Generic ListOfferingsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

Associated Types

type Rep ListOfferingsResponse :: Type -> Type #

NFData ListOfferingsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

Methods

rnf :: ListOfferingsResponse -> () #

type Rep ListOfferingsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

type Rep ListOfferingsResponse = D1 ('MetaData "ListOfferingsResponse" "Amazonka.DeviceFarm.ListOfferings" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "ListOfferingsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "offerings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Offering])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListOfferingsResponse Source #

Create a value of ListOfferingsResponse 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:nextToken:ListOfferings', listOfferingsResponse_nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

$sel:offerings:ListOfferingsResponse', listOfferingsResponse_offerings - A value that represents the list offering results.

$sel:httpStatus:ListOfferingsResponse', listOfferingsResponse_httpStatus - The response's http status code.

Response Lenses

listOfferingsResponse_nextToken :: Lens' ListOfferingsResponse (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

listOfferingsResponse_offerings :: Lens' ListOfferingsResponse (Maybe [Offering]) Source #

A value that represents the list offering results.