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

Defined in Amazonka.DeviceFarm.GetOfferingStatus

Read GetOfferingStatus Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

Show GetOfferingStatus Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

Generic GetOfferingStatus Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

Associated Types

type Rep GetOfferingStatus :: Type -> Type #

NFData GetOfferingStatus Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

Methods

rnf :: GetOfferingStatus -> () #

Hashable GetOfferingStatus Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

ToJSON 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 #

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

type Rep GetOfferingStatus Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

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

Defined in Amazonka.DeviceFarm.GetOfferingStatus

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:

$sel:nextToken: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
Eq GetOfferingStatusResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

Read GetOfferingStatusResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

Show GetOfferingStatusResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

Generic GetOfferingStatusResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetOfferingStatus

Associated Types

type Rep GetOfferingStatusResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "GetOfferingStatusResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text OfferingStatus))) :*: S1 ('MetaSel ('Just "current") '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:nextPeriod:GetOfferingStatusResponse', getOfferingStatusResponse_nextPeriod - When specified, gets the offering status for the next period.

$sel:current:GetOfferingStatusResponse', getOfferingStatusResponse_current - When specified, gets the offering status for the current period.

$sel:nextToken: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_nextPeriod :: Lens' GetOfferingStatusResponse (Maybe (HashMap Text OfferingStatus)) Source #

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

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

When specified, gets the offering status for the current 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.