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.ListOfferings 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/ListOfferingsResult'
'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/ListOfferingsRequest'
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.ListOfferings
tags:
- '#X Amz Target=DeviceFarm 20150623.ListOfferings'
components:
schemas:
DevicePlatform:
type: string
enum:
- ANDROID
- IOS
OfferingIdentifier:
type: string
minLength: 32
NotEligibleException: {}
Message:
type: string
minLength: 0
maxLength: 16384
PaginationToken:
type: string
minLength: 4
maxLength: 1024
LimitExceededException: {}
ListOfferingsResult:
type: object
example:
offerings:
- type: RECURRING
description: iOS Unmetered Device Slot
id: A53D4D73-A6F6-4B82-A0B0-12345EXAMPLE
platform: IOS
recurringCharges:
- cost:
amount: 250
currencyCode: USD
frequency: MONTHLY
- type: RECURRING
description: Android Unmetered Device Slot
id: 8980F81C-00D7-469D-8EC6-12345EXAMPLE
platform: ANDROID
recurringCharges:
- cost:
amount: 250
currencyCode: USD
frequency: MONTHLY
- type: RECURRING
description: Android Remote Access Unmetered Device Slot
id: D68B3C05-1BA6-4360-BC69-12345EXAMPLE
platform: ANDROID
recurringCharges:
- cost:
amount: 250
currencyCode: USD
frequency: MONTHLY
- type: RECURRING
description: iOS Remote Access Unmetered Device Slot
id: 552B4DAD-A6C9-45C4-94FB-12345EXAMPLE
platform: IOS
recurringCharges:
- cost:
amount: 250
currencyCode: USD
frequency: MONTHLY
properties:
offerings:
allOf:
- $ref: '#/components/schemas/Offerings'
- description: A value that represents the list offering results.
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 return values of the list of offerings.
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
ListOfferingsRequest:
type: object
title: ListOfferingsRequest
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 list all offerings.
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
Offerings:
type: array
items:
$ref: '#/components/schemas/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'
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