Cloud
Manage Device Clouds.
Create
Create a device cloud
This call created a device cloud object in preparation for running an
AWS CloudFormation template to create the required device cloud resources
in the target AWS account.
Endpoint
1 |
|
Authorized User Role
1 |
|
Request Body
Field | Type |
---|---|
enable | boolean |
error | string |
external | string |
iotPolicy | string |
name | string |
open | boolean |
region | string |
schema | object |
shadows | boolean |
sync | boolean |
type | string |
Response
A cloud object.
Field | Type |
---|---|
accountId | string |
api | string |
apiGateway | string |
awsAccount | string |
connected | boolean |
deviceRole | string |
devices | number |
enable | boolean |
error | string |
host | string |
hubs | number |
id | string |
iotPolicy | string |
load | number |
name | string |
open | boolean |
planId | string |
provisioned | date |
quota | object |
region | string |
schema | object |
shadows | boolean |
stack | string |
status | string |
suspended | boolean |
sync | boolean |
tenants | number |
trailBucket | string |
type | string |
version | number |
userPoolId | string |
userPoolClient | string |
Find
Get a list of device clouds
Endpoint
1 |
|
Authorized User Role
1 |
|
Request Body
Field | Type |
---|---|
id | string |
Query String Options
Field | Type |
---|---|
hidden | boolean |
filter | string |
limit | number |
next | object |
prev | object |
index | string |
where | string |
log | boolean |
Response
Paged response.
Field | Type | Notes |
---|---|---|
data | array | A list of cloud records. |
next | string | Paged cursor to use for the next page of items. |
prev | string | Pages cursor to use for the previous page of items. |
Cloud
An array of Cloud items.
Field | Type |
---|---|
accountId | string |
api | string |
apiGateway | string |
awsAccount | string |
connected | boolean |
deviceRole | string |
devices | number |
enable | boolean |
error | string |
host | string |
hubs | number |
id | string |
iotPolicy | string |
load | number |
name | string |
open | boolean |
planId | string |
provisioned | date |
quota | object |
region | string |
schema | object |
shadows | boolean |
stack | string |
status | string |
suspended | boolean |
sync | boolean |
tenants | number |
trailBucket | string |
type | string |
version | number |
userPoolId | string |
userPoolClient | string |
Get
Get a cloud object
Endpoint
1 |
|
Authorized User Role
1 |
|
Request Body
Field | Type | Required |
---|---|---|
id | string | yes |
Response
A cloud object.
Field | Type |
---|---|
accountId | string |
api | string |
apiGateway | string |
awsAccount | string |
connected | boolean |
deviceRole | string |
devices | number |
enable | boolean |
error | string |
host | string |
hubs | number |
id | string |
iotPolicy | string |
load | number |
name | string |
open | boolean |
planId | string |
provisioned | date |
quota | object |
region | string |
schema | object |
shadows | boolean |
stack | string |
status | string |
suspended | boolean |
sync | boolean |
tenants | number |
trailBucket | string |
type | string |
version | number |
userPoolId | string |
userPoolClient | string |
GetBrowserKeys
Get temporary AWS IAM credentials for use in the browser
Endpoint
1 |
|
Authorized User Role
1 |
|
Request Body
Field | Type | Required |
---|---|---|
id | string | yes |
Response
Temporary AWS cloud credentials for access to the device cloud AWS account.
Field | Type |
---|---|
accessKeyId | string |
secretAccessKey | string |
sessionToken | string |
expires | date |
region | string |
Init
Endpoint
1 |
|
Authorized User Role
1 |
|
Request Body
A object.
Response
Field | Type |
---|---|
accountId | string |
api | string |
apiGateway | string |
awsAccount | string |
connected | boolean |
deviceRole | string |
devices | number |
enable | boolean |
error | string |
host | string |
hubs | number |
id | string |
iotPolicy | string |
load | number |
name | string |
open | boolean |
planId | string |
provisioned | date |
quota | object |
region | string |
schema | object |
shadows | boolean |
stack | string |
status | string |
suspended | boolean |
sync | boolean |
tenants | number |
trailBucket | string |
type | string |
version | number |
userPoolId | string |
userPoolClient | string |
Provision
Endpoint
1 |
|
Authorized User Role
1 |
|
Request Body
Field | Type | Required |
---|---|---|
id | string | yes |
Query String Options
Field | Type |
---|---|
invoke | string |
Response
Field | Type |
---|---|
accountId | string |
api | string |
apiGateway | string |
awsAccount | string |
connected | boolean |
deviceRole | string |
devices | number |
enable | boolean |
error | string |
host | string |
hubs | number |
id | string |
iotPolicy | string |
load | number |
name | string |
open | boolean |
planId | string |
provisioned | date |
quota | object |
region | string |
schema | object |
shadows | boolean |
stack | string |
status | string |
suspended | boolean |
sync | boolean |
tenants | number |
trailBucket | string |
type | string |
version | number |
userPoolId | string |
userPoolClient | string |
ProvisionAsync
Endpoint
1 |
|
Authorized User Role
1 |
|
Request Body
Field | Type | Required |
---|---|---|
id | string | yes |
accountId | string | yes |
Response
Field | Type |
---|---|
accountId | string |
api | string |
apiGateway | string |
awsAccount | string |
connected | boolean |
deviceRole | string |
devices | number |
enable | boolean |
error | string |
host | string |
hubs | number |
id | string |
iotPolicy | string |
load | number |
name | string |
open | boolean |
planId | string |
provisioned | date |
quota | object |
region | string |
schema | object |
shadows | boolean |
stack | string |
status | string |
suspended | boolean |
sync | boolean |
tenants | number |
trailBucket | string |
type | string |
version | number |
userPoolId | string |
userPoolClient | string |
Remove
Endpoint
1 |
|
Authorized User Role
1 |
|
Request Body
Field | Type | Required |
---|---|---|
id | string | yes |
Query String Options
Field | Type |
---|---|
invoke | string |
RemoveAsync
Endpoint
1 |
|
Authorized User Role
1 |
|
Request Body
Field | Type | Required |
---|---|---|
accountId | string | yes |
id | string | yes |
UpdateStack
Endpoint
1 |
|
Authorized User Role
1 |
|
Request Body
Field | Type | Required |
---|---|---|
id | string | yes |
Response
Field | Type |
---|---|
accountId | string |
api | string |
apiGateway | string |
awsAccount | string |
connected | boolean |
deviceRole | string |
devices | number |
enable | boolean |
error | string |
host | string |
hubs | number |
id | string |
iotPolicy | string |
load | number |
name | string |
open | boolean |
planId | string |
provisioned | date |
quota | object |
region | string |
schema | object |
shadows | boolean |
stack | string |
status | string |
suspended | boolean |
sync | boolean |
tenants | number |
trailBucket | string |
type | string |
version | number |
userPoolId | string |
userPoolClient | string |
WaitForTemplate
Endpoint
1 |
|
Authorized User Role
1 |
|
Request Body
Field | Type | Required |
---|---|---|
id | string | yes |
Response
Field | Type |
---|---|
accountId | string |
api | string |
apiGateway | string |
awsAccount | string |
connected | boolean |
deviceRole | string |
devices | number |
enable | boolean |
error | string |
host | string |
hubs | number |
id | string |
iotPolicy | string |
load | number |
name | string |
open | boolean |
planId | string |
provisioned | date |
quota | object |
region | string |
schema | object |
shadows | boolean |
stack | string |
status | string |
suspended | boolean |
sync | boolean |
tenants | number |
trailBucket | string |
type | string |
version | number |
userPoolId | string |
userPoolClient | string |
GetHosts
Endpoint
1 |
|
Authorized User Role
1 |
|
Request Body
Field | Type |
---|---|
open | boolean |
region | string |
Response
Paged response.
Field | Type | Notes |
---|---|---|
data | array | A list of cloud records. |
next | string | Paged cursor to use for the next page of items. |
prev | string | Pages cursor to use for the previous page of items. |
Host
An array of Host items.
Field | Type |
---|---|
name | string |
region | string |
Connect
Pass IAM Role from device cloud back to the builer when the CFT completes
Endpoint
1 |
|
Authorized User Role
1 |
|
Request Body
Field | Type |
---|---|
api | string |
awsAccount | string |
cloud | string |
deviceRole | string |
connected | boolean |
error | string |
external | string |
roleArn | string |
stack | string |
token | object |
version | string |
Response
Field | Type |
---|---|
accountId | string |
api | string |
apiGateway | string |
awsAccount | string |
connected | boolean |
deviceRole | string |
devices | number |
enable | boolean |
error | string |
host | string |
hubs | number |
id | string |
iotPolicy | string |
load | number |
name | string |
open | boolean |
planId | string |
provisioned | date |
quota | object |
region | string |
schema | object |
shadows | boolean |
stack | string |
status | string |
suspended | boolean |
sync | boolean |
tenants | number |
trailBucket | string |
type | string |
version | number |
userPoolId | string |
userPoolClient | string |
Report
Report monthly device usage from a device cloud to the builder
Endpoint
1 |
|
Authorized User Role
1 |
|
Request Body
Field | Type |
---|---|
accountId | string |
count | number |
cloudId | string |
load | number |
usage | array |
Usage
An array of Usage items.
Field | Type |
---|---|
devices | number |
tenants | number |
load | number |
Update
Endpoint
1 |
|
Authorized User Role
1 |
|
Request Body
Field | Type |
---|---|
attachments | object |
deviceRole | string |
enable | boolean |
erase | object |
error | string |
external | string |
id | string |
iotPolicy | string |
name | string |
open | boolean |
region | string |
schema | object |
shadows | boolean |
sync | boolean |
type | string |
Response
A cloud object.
Field | Type |
---|---|
accountId | string |
api | string |
apiGateway | string |
awsAccount | string |
connected | boolean |
deviceRole | string |
devices | number |
enable | boolean |
error | string |
host | string |
hubs | number |
id | string |
iotPolicy | string |
load | number |
name | string |
open | boolean |
planId | string |
provisioned | date |
quota | object |
region | string |
schema | object |
shadows | boolean |
stack | string |
status | string |
suspended | boolean |
sync | boolean |
tenants | number |
trailBucket | string |
type | string |
version | number |
userPoolId | string |
userPoolClient | string |