create_application

IoTFleetHub.Client.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'
    }
)
Parameters
  • applicationName (string) --

    [REQUIRED]

    The name of the web application.

  • applicationDescription (string) -- An optional description of the web application.
  • clientToken (string) --

    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.

  • roleArn (string) --

    [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 .

  • tags (dict) --

    A set of key/value pairs that you can use to manage the web application resource.

    • (string) --
      • (string) --
Return type

dict

Returns

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