amazonka-devicefarm-2.0: Amazon Device Farm SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.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

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 #

Generic ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

Associated Types

type Rep ListOfferings :: Type -> Type #

Read ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

Show ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

NFData ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

Methods

rnf :: ListOfferings -> () #

Eq ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

Hashable ListOfferings Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

type AWSResponse 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" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "ListOfferings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:

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
Generic ListOfferingsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

Associated Types

type Rep ListOfferingsResponse :: Type -> Type #

Read ListOfferingsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

Show ListOfferingsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

NFData ListOfferingsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

Methods

rnf :: ListOfferingsResponse -> () #

Eq ListOfferingsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

type Rep ListOfferingsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListOfferings

type Rep ListOfferingsResponse = D1 ('MetaData "ListOfferingsResponse" "Amazonka.DeviceFarm.ListOfferings" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" '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:

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.