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

Description

Explicitly sets the quantity of devices to renew for an offering, starting from the effectiveDate of 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.

Synopsis

Creating a Request

data RenewOffering Source #

A request that represents an offering renewal.

See: newRenewOffering smart constructor.

Constructors

RenewOffering' 

Fields

Instances

Instances details
Eq RenewOffering Source # 
Instance details

Defined in Amazonka.DeviceFarm.RenewOffering

Read RenewOffering Source # 
Instance details

Defined in Amazonka.DeviceFarm.RenewOffering

Show RenewOffering Source # 
Instance details

Defined in Amazonka.DeviceFarm.RenewOffering

Generic RenewOffering Source # 
Instance details

Defined in Amazonka.DeviceFarm.RenewOffering

Associated Types

type Rep RenewOffering :: Type -> Type #

NFData RenewOffering Source # 
Instance details

Defined in Amazonka.DeviceFarm.RenewOffering

Methods

rnf :: RenewOffering -> () #

Hashable RenewOffering Source # 
Instance details

Defined in Amazonka.DeviceFarm.RenewOffering

ToJSON RenewOffering Source # 
Instance details

Defined in Amazonka.DeviceFarm.RenewOffering

AWSRequest RenewOffering Source # 
Instance details

Defined in Amazonka.DeviceFarm.RenewOffering

Associated Types

type AWSResponse RenewOffering #

ToHeaders RenewOffering Source # 
Instance details

Defined in Amazonka.DeviceFarm.RenewOffering

ToPath RenewOffering Source # 
Instance details

Defined in Amazonka.DeviceFarm.RenewOffering

ToQuery RenewOffering Source # 
Instance details

Defined in Amazonka.DeviceFarm.RenewOffering

type Rep RenewOffering Source # 
Instance details

Defined in Amazonka.DeviceFarm.RenewOffering

type Rep RenewOffering = D1 ('MetaData "RenewOffering" "Amazonka.DeviceFarm.RenewOffering" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "RenewOffering'" 'PrefixI 'True) (S1 ('MetaSel ('Just "offeringId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))
type AWSResponse RenewOffering Source # 
Instance details

Defined in Amazonka.DeviceFarm.RenewOffering

newRenewOffering Source #

Create a value of RenewOffering 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:offeringId:RenewOffering', renewOffering_offeringId - The ID of a request to renew an offering.

$sel:quantity:RenewOffering', renewOffering_quantity - The quantity requested in an offering renewal.

Request Lenses

renewOffering_offeringId :: Lens' RenewOffering Text Source #

The ID of a request to renew an offering.

renewOffering_quantity :: Lens' RenewOffering Int Source #

The quantity requested in an offering renewal.

Destructuring the Response

data RenewOfferingResponse Source #

The result of a renewal offering.

See: newRenewOfferingResponse smart constructor.

Constructors

RenewOfferingResponse' 

Fields

Instances

Instances details
Eq RenewOfferingResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.RenewOffering

Read RenewOfferingResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.RenewOffering

Show RenewOfferingResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.RenewOffering

Generic RenewOfferingResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.RenewOffering

Associated Types

type Rep RenewOfferingResponse :: Type -> Type #

NFData RenewOfferingResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.RenewOffering

Methods

rnf :: RenewOfferingResponse -> () #

type Rep RenewOfferingResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.RenewOffering

type Rep RenewOfferingResponse = D1 ('MetaData "RenewOfferingResponse" "Amazonka.DeviceFarm.RenewOffering" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "RenewOfferingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "offeringTransaction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OfferingTransaction)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRenewOfferingResponse Source #

Create a value of RenewOfferingResponse 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:offeringTransaction:RenewOfferingResponse', renewOfferingResponse_offeringTransaction - Represents the status of the offering transaction for the renewal.

$sel:httpStatus:RenewOfferingResponse', renewOfferingResponse_httpStatus - The response's http status code.

Response Lenses

renewOfferingResponse_offeringTransaction :: Lens' RenewOfferingResponse (Maybe OfferingTransaction) Source #

Represents the status of the offering transaction for the renewal.