openapi: 3.0.0 info: version: 2015-06-23 x-release: v4 title: 'AWS Device Farm #X Amz Target=DeviceFarm 20150623.CreateDevicePool #X Amz Target=DeviceFarm 20150623.CreateDevicePool #X Amz Target=DeviceFarm 20150623.GetOfferingStatus API' description:
Welcome to the AWS Device Farm API documentation, which contains APIs for:
Testing on desktop browsers
Device Farm makes it possible for you to test your web applications on desktop browsers using Selenium. The APIs for desktop browser testing contain TestGrid in their names. For more information, see Testing Web Applications on Selenium with Device Farm.
Testing on real mobile devices
Device Farm makes it possible for you to test apps on physical phones, tablets, and other devices in the cloud. For more information, see the Device Farm Developer Guide.
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.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/GetOfferingStatusResult'
'480':
description: ArgumentException
content:
application/json:
schema:
$ref: '#/components/schemas/ArgumentException'
'481':
description: NotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundException'
'482':
description: NotEligibleException
content:
application/json:
schema:
$ref: '#/components/schemas/NotEligibleException'
'483':
description: LimitExceededException
content:
application/json:
schema:
$ref: '#/components/schemas/LimitExceededException'
'484':
description: ServiceAccountException
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceAccountException'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/GetOfferingStatusRequest'
parameters:
- name: nextToken
in: query
schema:
type: string
description: Pagination token
required: false
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- DeviceFarm_20150623.GetOfferingStatus
tags:
- '#X Amz Target=DeviceFarm 20150623.GetOfferingStatus'
components:
schemas:
DevicePlatform:
type: string
enum:
- ANDROID
- IOS
OfferingIdentifier:
type: string
minLength: 32
Integer:
type: integer
NotEligibleException: {}
GetOfferingStatusRequest:
type: object
title: GetOfferingStatusRequest
properties:
nextToken:
allOf:
- $ref: '#/components/schemas/PaginationToken'
- description: 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.
description: Represents the request to retrieve the offering status for the specified customer or account.
Message:
type: string
minLength: 0
maxLength: 16384
PaginationToken:
type: string
minLength: 4
maxLength: 1024
OfferingStatusMap:
type: object
additionalProperties:
$ref: '#/components/schemas/OfferingStatus'
LimitExceededException: {}
RecurringChargeFrequency:
type: string
enum:
- MONTHLY
Offering:
type: object
properties:
id:
allOf:
- $ref: '#/components/schemas/OfferingIdentifier'
- description: The ID that corresponds to a device offering.
description:
allOf:
- $ref: '#/components/schemas/Message'
- description: A string that describes the offering.
type:
allOf:
- $ref: '#/components/schemas/OfferingType'
- description: The type of offering (for example, RECURRING) for a device.
platform:
allOf:
- $ref: '#/components/schemas/DevicePlatform'
- description: The platform of the device (for example, ANDROID or IOS).
recurringCharges:
allOf:
- $ref: '#/components/schemas/RecurringCharges'
- description: Specifies whether there are recurring charges for the offering.
description: Represents the metadata of a device offering.
OfferingType:
type: string
enum:
- RECURRING
DateTime:
type: string
format: date-time
RecurringCharge:
type: object
properties:
cost:
allOf:
- $ref: '#/components/schemas/MonetaryAmount'
- description: The cost of the recurring charge.
frequency:
allOf:
- $ref: '#/components/schemas/RecurringChargeFrequency'
- description: The frequency in which charges recur.
description: Specifies whether charges for devices are recurring.
CurrencyCode:
type: string
enum:
- USD
OfferingStatus:
type: object
properties:
type:
allOf:
- $ref: '#/components/schemas/OfferingTransactionType'
- description: The type specified for the offering status.
offering:
allOf:
- $ref: '#/components/schemas/Offering'
- description: Represents the metadata of an offering status.
quantity:
allOf:
- $ref: '#/components/schemas/Integer'
- description: The number of available devices in the offering.
effectiveOn:
allOf:
- $ref: '#/components/schemas/DateTime'
- description: The date on which the offering is effective.
description: The status of the offering.
ServiceAccountException: {}
NotFoundException: {}
MonetaryAmount:
type: object
properties:
amount:
allOf:
- $ref: '#/components/schemas/Double'
- description: The numerical amount of an offering or transaction.
currencyCode:
allOf:
- $ref: '#/components/schemas/CurrencyCode'
- description: The currency code of a monetary amount. For example, USD means U.S. dollars.
description: A number that represents the monetary amount for an offering or transaction.
Double:
type: number
format: double
RecurringCharges:
type: array
items:
$ref: '#/components/schemas/RecurringCharge'
OfferingTransactionType:
type: string
enum:
- PURCHASE
- RENEW
- SYSTEM
GetOfferingStatusResult:
type: object
example:
current:
D68B3C05-1BA6-4360-BC69-12345EXAMPLE:
offering:
type: RECURRING
description: Android Remote Access Unmetered Device Slot
id: D68B3C05-1BA6-4360-BC69-12345EXAMPLE
platform: ANDROID
quantity: 1
nextPeriod:
D68B3C05-1BA6-4360-BC69-12345EXAMPLE:
effectiveOn: '1472688000'
offering:
type: RECURRING
description: Android Remote Access Unmetered Device Slot
id: D68B3C05-1BA6-4360-BC69-12345EXAMPLE
platform: ANDROID
quantity: 1
properties:
current:
allOf:
- $ref: '#/components/schemas/OfferingStatusMap'
- description: When specified, gets the offering status for the current period.
nextPeriod:
allOf:
- $ref: '#/components/schemas/OfferingStatusMap'
- description: When specified, gets the offering status for the next period.
nextToken:
allOf:
- $ref: '#/components/schemas/PaginationToken'
- description: 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.
description: Returns the status result for a device offering.
ArgumentException: {}
parameters:
X-Amz-Credential:
name: X-Amz-Credential
in: header
schema:
type: string
required: false
X-Amz-Algorithm:
name: X-Amz-Algorithm
in: header
schema:
type: string
required: false
X-Amz-Content-Sha256:
name: X-Amz-Content-Sha256
in: header
schema:
type: string
required: false
X-Amz-Security-Token:
name: X-Amz-Security-Token
in: header
schema:
type: string
required: false
X-Amz-SignedHeaders:
name: X-Amz-SignedHeaders
in: header
schema:
type: string
required: false
X-Amz-Date:
name: X-Amz-Date
in: header
schema:
type: string
required: false
X-Amz-Signature:
name: X-Amz-Signature
in: header
schema:
type: string
required: false
securitySchemes:
hmac:
type: apiKey
name: Authorization
in: header
description: Amazon Signature authorization v4
x-amazon-apigateway-authtype: awsSigv4
externalDocs:
description: Amazon Web Services documentation
url: https://docs.aws.amazon.com/devicefarm/
x-hasEquivalentPaths: true