IoTFleetHub / Client / create_application

create_application#

IoTFleetHub.Client.create_application(**kwargs)#

Creates a Fleet Hub for IoT Device Management web application.

When creating a Fleet Hub application, you must create an organization instance of IAM Identity Center if you don’t already have one. The Fleet Hub application you create must also be in the same Amazon Web Services Region of the organization instance of IAM Identity Center. For more information see Enabling IAM Identity Center and Organization instances of IAM Identity Center.

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 Amazon Web Services 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