amazonka-iottwinmaker-2.0: Amazon IoT TwinMaker SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IotTwinMaker.CreateSyncJob

Description

This action creates a SyncJob.

Synopsis

Creating a Request

data CreateSyncJob Source #

See: newCreateSyncJob smart constructor.

Constructors

CreateSyncJob' 

Fields

  • tags :: Maybe (HashMap Text Text)

    The SyncJob tags.

  • workspaceId :: Text

    The workspace Id.

  • syncSource :: Text

    The sync source.

    Currently the only supported syncSoucre is SITEWISE .

  • syncRole :: Text

    The SyncJob IAM role. This IAM role is used by the sync job to read from the syncSource, and create, update or delete the corresponding resources.

Instances

Instances details
ToJSON CreateSyncJob Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateSyncJob

ToHeaders CreateSyncJob Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateSyncJob

ToPath CreateSyncJob Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateSyncJob

ToQuery CreateSyncJob Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateSyncJob

AWSRequest CreateSyncJob Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateSyncJob

Associated Types

type AWSResponse CreateSyncJob #

Generic CreateSyncJob Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateSyncJob

Associated Types

type Rep CreateSyncJob :: Type -> Type #

Read CreateSyncJob Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateSyncJob

Show CreateSyncJob Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateSyncJob

NFData CreateSyncJob Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateSyncJob

Methods

rnf :: CreateSyncJob -> () #

Eq CreateSyncJob Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateSyncJob

Hashable CreateSyncJob Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateSyncJob

type AWSResponse CreateSyncJob Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateSyncJob

type Rep CreateSyncJob Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateSyncJob

type Rep CreateSyncJob = D1 ('MetaData "CreateSyncJob" "Amazonka.IotTwinMaker.CreateSyncJob" "amazonka-iottwinmaker-2.0-F9krWmdiZsuIxDlP9hNtjs" 'False) (C1 ('MetaCons "CreateSyncJob'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "syncSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "syncRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateSyncJob Source #

Create a value of CreateSyncJob 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:tags:CreateSyncJob', createSyncJob_tags - The SyncJob tags.

CreateSyncJob, createSyncJob_workspaceId - The workspace Id.

CreateSyncJob, createSyncJob_syncSource - The sync source.

Currently the only supported syncSoucre is SITEWISE .

$sel:syncRole:CreateSyncJob', createSyncJob_syncRole - The SyncJob IAM role. This IAM role is used by the sync job to read from the syncSource, and create, update or delete the corresponding resources.

Request Lenses

createSyncJob_syncSource :: Lens' CreateSyncJob Text Source #

The sync source.

Currently the only supported syncSoucre is SITEWISE .

createSyncJob_syncRole :: Lens' CreateSyncJob Text Source #

The SyncJob IAM role. This IAM role is used by the sync job to read from the syncSource, and create, update or delete the corresponding resources.

Destructuring the Response

data CreateSyncJobResponse Source #

See: newCreateSyncJobResponse smart constructor.

Constructors

CreateSyncJobResponse' 

Fields

Instances

Instances details
Generic CreateSyncJobResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateSyncJob

Associated Types

type Rep CreateSyncJobResponse :: Type -> Type #

Read CreateSyncJobResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateSyncJob

Show CreateSyncJobResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateSyncJob

NFData CreateSyncJobResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateSyncJob

Methods

rnf :: CreateSyncJobResponse -> () #

Eq CreateSyncJobResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateSyncJob

type Rep CreateSyncJobResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateSyncJob

type Rep CreateSyncJobResponse = D1 ('MetaData "CreateSyncJobResponse" "Amazonka.IotTwinMaker.CreateSyncJob" "amazonka-iottwinmaker-2.0-F9krWmdiZsuIxDlP9hNtjs" 'False) (C1 ('MetaCons "CreateSyncJobResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "creationDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SyncJobState))))

newCreateSyncJobResponse Source #

Create a value of CreateSyncJobResponse 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:CreateSyncJobResponse', createSyncJobResponse_httpStatus - The response's http status code.

CreateSyncJobResponse, createSyncJobResponse_arn - The SyncJob ARN.

CreateSyncJobResponse, createSyncJobResponse_creationDateTime - The date and time for the SyncJob creation.

CreateSyncJobResponse, createSyncJobResponse_state - The SyncJob response state.

Response Lenses