Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data GetOfferingStatus = GetOfferingStatus' {}
- newGetOfferingStatus :: GetOfferingStatus
- getOfferingStatus_nextToken :: Lens' GetOfferingStatus (Maybe Text)
- data GetOfferingStatusResponse = GetOfferingStatusResponse' {
- nextPeriod :: Maybe (HashMap Text OfferingStatus)
- current :: Maybe (HashMap Text OfferingStatus)
- nextToken :: Maybe Text
- httpStatus :: Int
- newGetOfferingStatusResponse :: Int -> GetOfferingStatusResponse
- getOfferingStatusResponse_nextPeriod :: Lens' GetOfferingStatusResponse (Maybe (HashMap Text OfferingStatus))
- getOfferingStatusResponse_current :: Lens' GetOfferingStatusResponse (Maybe (HashMap Text OfferingStatus))
- getOfferingStatusResponse_nextToken :: Lens' GetOfferingStatusResponse (Maybe Text)
- getOfferingStatusResponse_httpStatus :: Lens' GetOfferingStatusResponse Int
Creating a Request
data GetOfferingStatus Source #
Represents the request to retrieve the offering status for the specified customer or account.
See: newGetOfferingStatus
smart constructor.
Instances
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.
GetOfferingStatusResponse' | |
|
Instances
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.
getOfferingStatusResponse_httpStatus :: Lens' GetOfferingStatusResponse Int Source #
The response's http status code.