libZSservicesZSamazonka-iotfleethubZSamazonka-iotfleethub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTFleetHub.CreateApplication

Description

Creates a Fleet Hub for AWS IoT Device Management web application.

Fleet Hub for AWS IoT Device Management is in public preview and is subject to change.

Synopsis

Creating a Request

data CreateApplication Source #

See: newCreateApplication smart constructor.

Constructors

CreateApplication' 

Fields

  • applicationDescription :: Maybe Text

    An optional description of the web application.

  • clientToken :: Maybe Text

    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.

  • tags :: Maybe (HashMap Text Text)

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

  • applicationName :: Text

    The name of the web application.

  • roleArn :: Text

    The ARN of the role that the web application assumes when it interacts with AWS IoT Core.

    The name of the role must be in the form AWSIotFleetHub_random_string .

Instances

Instances details
Eq CreateApplication Source # 
Instance details

Defined in Amazonka.IoTFleetHub.CreateApplication

Read CreateApplication Source # 
Instance details

Defined in Amazonka.IoTFleetHub.CreateApplication

Show CreateApplication Source # 
Instance details

Defined in Amazonka.IoTFleetHub.CreateApplication

Generic CreateApplication Source # 
Instance details

Defined in Amazonka.IoTFleetHub.CreateApplication

Associated Types

type Rep CreateApplication :: Type -> Type #

NFData CreateApplication Source # 
Instance details

Defined in Amazonka.IoTFleetHub.CreateApplication

Methods

rnf :: CreateApplication -> () #

Hashable CreateApplication Source # 
Instance details

Defined in Amazonka.IoTFleetHub.CreateApplication

ToJSON CreateApplication Source # 
Instance details

Defined in Amazonka.IoTFleetHub.CreateApplication

AWSRequest CreateApplication Source # 
Instance details

Defined in Amazonka.IoTFleetHub.CreateApplication

Associated Types

type AWSResponse CreateApplication #

ToHeaders CreateApplication Source # 
Instance details

Defined in Amazonka.IoTFleetHub.CreateApplication

ToPath CreateApplication Source # 
Instance details

Defined in Amazonka.IoTFleetHub.CreateApplication

ToQuery CreateApplication Source # 
Instance details

Defined in Amazonka.IoTFleetHub.CreateApplication

type Rep CreateApplication Source # 
Instance details

Defined in Amazonka.IoTFleetHub.CreateApplication

type Rep CreateApplication = D1 ('MetaData "CreateApplication" "Amazonka.IoTFleetHub.CreateApplication" "libZSservicesZSamazonka-iotfleethubZSamazonka-iotfleethub" 'False) (C1 ('MetaCons "CreateApplication'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "applicationDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "applicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateApplication Source # 
Instance details

Defined in Amazonka.IoTFleetHub.CreateApplication

newCreateApplication Source #

Create a value of CreateApplication with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:applicationDescription:CreateApplication', createApplication_applicationDescription - An optional description of the web application.

$sel:clientToken:CreateApplication', createApplication_clientToken - 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.

$sel:tags:CreateApplication', createApplication_tags - A set of key/value pairs that you can use to manage the web application resource.

$sel:applicationName:CreateApplication', createApplication_applicationName - The name of the web application.

$sel:roleArn:CreateApplication', createApplication_roleArn - The ARN of the role that the web application assumes when it interacts with AWS IoT Core.

The name of the role must be in the form AWSIotFleetHub_random_string .

Request Lenses

createApplication_applicationDescription :: Lens' CreateApplication (Maybe Text) Source #

An optional description of the web application.

createApplication_clientToken :: Lens' CreateApplication (Maybe Text) Source #

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.

createApplication_tags :: Lens' CreateApplication (Maybe (HashMap Text Text)) Source #

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

createApplication_roleArn :: Lens' CreateApplication Text Source #

The ARN of the role that the web application assumes when it interacts with AWS IoT Core.

The name of the role must be in the form AWSIotFleetHub_random_string .

Destructuring the Response

data CreateApplicationResponse Source #

See: newCreateApplicationResponse smart constructor.

Constructors

CreateApplicationResponse' 

Fields

Instances

Instances details
Eq CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.IoTFleetHub.CreateApplication

Read CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.IoTFleetHub.CreateApplication

Show CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.IoTFleetHub.CreateApplication

Generic CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.IoTFleetHub.CreateApplication

Associated Types

type Rep CreateApplicationResponse :: Type -> Type #

NFData CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.IoTFleetHub.CreateApplication

type Rep CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.IoTFleetHub.CreateApplication

type Rep CreateApplicationResponse = D1 ('MetaData "CreateApplicationResponse" "Amazonka.IoTFleetHub.CreateApplication" "libZSservicesZSamazonka-iotfleethubZSamazonka-iotfleethub" 'False) (C1 ('MetaCons "CreateApplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "applicationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateApplicationResponse Source #

Create a value of CreateApplicationResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:CreateApplicationResponse', createApplicationResponse_httpStatus - The response's http status code.

$sel:applicationId:CreateApplicationResponse', createApplicationResponse_applicationId - The unique Id of the web application.

$sel:applicationArn:CreateApplicationResponse', createApplicationResponse_applicationArn - The ARN of the web application.

Response Lenses