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.GetOfferingStatus

Description

Gets the current status and future status of all offerings purchased by an AWS account. The response indicates how many offerings are currently available and the offerings that will be available in the next period. 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 GetOfferingStatus Source #

Represents the request to retrieve the offering status for the specified customer or account.

See: newGetOfferingStatus smart constructor.

Constructors

GetOfferingStatus' 

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

Defined in Amazonka.DeviceFarm.GetOfferingStatus

ToHeaders GetOfferingStatus Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

ToPath GetOfferingStatus Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

ToQuery GetOfferingStatus Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

AWSPager GetOfferingStatus Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

AWSRequest GetOfferingStatus Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

Associated Types

type AWSResponse GetOfferingStatus #

Generic GetOfferingStatus Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

Associated Types

type Rep GetOfferingStatus :: Type -> Type #

Read GetOfferingStatus Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

Show GetOfferingStatus Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

NFData GetOfferingStatus Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

Methods

rnf :: GetOfferingStatus -> () #

Eq GetOfferingStatus Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

Hashable GetOfferingStatus Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

type AWSResponse GetOfferingStatus Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

type Rep GetOfferingStatus Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

type Rep GetOfferingStatus = D1 ('MetaData "GetOfferingStatus" "Amazonka.DeviceFarm.GetOfferingStatus" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "GetOfferingStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newGetOfferingStatus :: GetOfferingStatus Source #

Create a value of GetOfferingStatus 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:

GetOfferingStatus, getOfferingStatus_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

getOfferingStatus_nextToken :: Lens' GetOfferingStatus (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 GetOfferingStatusResponse Source #

Returns the status result for a device offering.

See: newGetOfferingStatusResponse smart constructor.

Constructors

GetOfferingStatusResponse' 

Fields

Instances

Instances details
Generic GetOfferingStatusResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

Associated Types

type Rep GetOfferingStatusResponse :: Type -> Type #

Read GetOfferingStatusResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

Show GetOfferingStatusResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

NFData GetOfferingStatusResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

Eq GetOfferingStatusResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

type Rep GetOfferingStatusResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

type Rep GetOfferingStatusResponse = D1 ('MetaData "GetOfferingStatusResponse" "Amazonka.DeviceFarm.GetOfferingStatus" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "GetOfferingStatusResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "current") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text OfferingStatus))) :*: S1 ('MetaSel ('Just "nextPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text OfferingStatus)))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetOfferingStatusResponse Source #

Create a value of GetOfferingStatusResponse 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:current:GetOfferingStatusResponse', getOfferingStatusResponse_current - When specified, gets the offering status for the current period.

$sel:nextPeriod:GetOfferingStatusResponse', getOfferingStatusResponse_nextPeriod - When specified, gets the offering status for the next period.

GetOfferingStatus, getOfferingStatusResponse_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:httpStatus:GetOfferingStatusResponse', getOfferingStatusResponse_httpStatus - The response's http status code.

Response Lenses

getOfferingStatusResponse_current :: Lens' GetOfferingStatusResponse (Maybe (HashMap Text OfferingStatus)) Source #

When specified, gets the offering status for the current period.

getOfferingStatusResponse_nextPeriod :: Lens' GetOfferingStatusResponse (Maybe (HashMap Text OfferingStatus)) Source #

When specified, gets the offering status for the next period.

getOfferingStatusResponse_nextToken :: Lens' GetOfferingStatusResponse (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.