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.ListOfferingPromotions 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 caller is not permitted to invoke the operation. Contact aws-devicefarm-support@amazon.com if you must be able to invoke this operation.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/ListOfferingPromotionsResult'
'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/ListOfferingPromotionsRequest'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- DeviceFarm_20150623.ListOfferingPromotions
tags:
- '#X Amz Target=DeviceFarm 20150623.ListOfferingPromotions'
components:
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
schemas:
ListOfferingPromotionsRequest:
type: object
title: ListOfferingPromotionsRequest
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.
NotEligibleException: {}
Message:
type: string
minLength: 0
maxLength: 16384
PaginationToken:
type: string
minLength: 4
maxLength: 1024
LimitExceededException: {}
OfferingPromotion:
type: object
properties:
id:
allOf:
- $ref: '#/components/schemas/OfferingPromotionIdentifier'
- description: The ID of the offering promotion.
description:
allOf:
- $ref: '#/components/schemas/Message'
- description: A string that describes the offering promotion.
description: Represents information about an offering promotion.
OfferingPromotions:
type: array
items:
$ref: '#/components/schemas/OfferingPromotion'
ListOfferingPromotionsResult:
type: object
properties:
offeringPromotions:
allOf:
- $ref: '#/components/schemas/OfferingPromotions'
- description: Information about the offering promotions.
nextToken:
allOf:
- $ref: '#/components/schemas/PaginationToken'
- description: An identifier to be used in the next call to this operation, to return the next set of items in the list.
ServiceAccountException: {}
NotFoundException: {}
OfferingPromotionIdentifier:
type: string
minLength: 4
ArgumentException: {}
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