create_application
(**kwargs)¶Creates a Fleet Hub for AWS IoT Device Management web application.
Note
Fleet Hub for AWS IoT Device Management is in public preview and is subject to change.
See also: AWS API Documentation
Request Syntax
response = client.create_application(
applicationName='string',
applicationDescription='string',
clientToken='string',
roleArn='string',
tags={
'string': 'string'
}
)
[REQUIRED]
The name of the web application.
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
This field is autopopulated if not provided.
[REQUIRED]
The ARN of the role that the web application assumes when it interacts with AWS IoT Core.
Note
The name of the role must be in the form AWSIotFleetHub_random_string
.
A set of key/value pairs that you can use to manage the web application resource.
dict
Response Syntax
{
'applicationId': 'string',
'applicationArn': 'string'
}
Response Structure
(dict) --
applicationId (string) --
The unique Id of the web application.
applicationArn (string) --
The ARN of the web application.
Exceptions
IoTFleetHub.Client.exceptions.InvalidRequestException
IoTFleetHub.Client.exceptions.InternalFailureException
IoTFleetHub.Client.exceptions.ThrottlingException
IoTFleetHub.Client.exceptions.LimitExceededException