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.RenewOffering 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.
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.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/RenewOfferingResult'
'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/RenewOfferingRequest'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- DeviceFarm_20150623.RenewOffering
tags:
- '#X Amz Target=DeviceFarm 20150623.RenewOffering'
components:
schemas:
DevicePlatform:
type: string
enum:
- ANDROID
- IOS
OfferingIdentifier:
type: string
minLength: 32
Integer:
type: integer
OfferingTransaction:
type: object
properties:
offeringStatus:
allOf:
- $ref: '#/components/schemas/OfferingStatus'
- description: The status of an offering transaction.
transactionId:
allOf:
- $ref: '#/components/schemas/TransactionIdentifier'
- description: The transaction ID of the offering transaction.
offeringPromotionId:
allOf:
- $ref: '#/components/schemas/OfferingPromotionIdentifier'
- description: The ID that corresponds to a device offering promotion.
createdOn:
allOf:
- $ref: '#/components/schemas/DateTime'
- description: The date on which an offering transaction was created.
cost:
allOf:
- $ref: '#/components/schemas/MonetaryAmount'
- description: The cost of an offering transaction.
description: Represents the metadata of an offering transaction.
NotEligibleException: {}
Message:
type: string
minLength: 0
maxLength: 16384
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
RenewOfferingResult:
type: object
example:
offeringTransaction:
cost:
amount: 250
currencyCode: USD
createdOn: '1472648880'
offeringStatus:
type: RENEW
effectiveOn: '1472688000'
offering:
type: RECURRING
description: Android Remote Access Unmetered Device Slot
id: D68B3C05-1BA6-4360-BC69-12345EXAMPLE
platform: ANDROID
quantity: 1
transactionId: e90f1405-8c35-4561-be43-12345EXAMPLE
properties:
offeringTransaction:
allOf:
- $ref: '#/components/schemas/OfferingTransaction'
- description: Represents the status of the offering transaction for the renewal.
description: The result of a renewal offering.
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.
RenewOfferingRequest:
type: object
required:
- offeringId
- quantity
title: RenewOfferingRequest
properties:
offeringId:
allOf:
- $ref: '#/components/schemas/OfferingIdentifier'
- description: The ID of a request to renew an offering.
quantity:
allOf:
- $ref: '#/components/schemas/Integer'
- description: The quantity requested in an offering renewal.
description: A request that represents an offering renewal.
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
OfferingPromotionIdentifier:
type: string
minLength: 4
TransactionIdentifier:
type: string
minLength: 32
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