| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IotTwinMaker.GetSyncJob
Description
Gets the SyncJob.
Synopsis
- data GetSyncJob = GetSyncJob' {
- workspaceId :: Maybe Text
- syncSource :: Text
- newGetSyncJob :: Text -> GetSyncJob
- getSyncJob_workspaceId :: Lens' GetSyncJob (Maybe Text)
- getSyncJob_syncSource :: Lens' GetSyncJob Text
- data GetSyncJobResponse = GetSyncJobResponse' {
- httpStatus :: Int
- arn :: Text
- workspaceId :: Text
- syncSource :: Text
- syncRole :: Text
- status :: SyncJobStatus
- creationDateTime :: POSIX
- updateDateTime :: POSIX
- newGetSyncJobResponse :: Int -> Text -> Text -> Text -> Text -> SyncJobStatus -> UTCTime -> UTCTime -> GetSyncJobResponse
- getSyncJobResponse_httpStatus :: Lens' GetSyncJobResponse Int
- getSyncJobResponse_arn :: Lens' GetSyncJobResponse Text
- getSyncJobResponse_workspaceId :: Lens' GetSyncJobResponse Text
- getSyncJobResponse_syncSource :: Lens' GetSyncJobResponse Text
- getSyncJobResponse_syncRole :: Lens' GetSyncJobResponse Text
- getSyncJobResponse_status :: Lens' GetSyncJobResponse SyncJobStatus
- getSyncJobResponse_creationDateTime :: Lens' GetSyncJobResponse UTCTime
- getSyncJobResponse_updateDateTime :: Lens' GetSyncJobResponse UTCTime
Creating a Request
data GetSyncJob Source #
See: newGetSyncJob smart constructor.
Constructors
| GetSyncJob' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetSyncJob |
Create a value of GetSyncJob 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:
GetSyncJob, getSyncJob_workspaceId - The workspace Id.
GetSyncJob, getSyncJob_syncSource - The sync soucre.
Currently the only supported syncSoucre is SITEWISE .
Request Lenses
getSyncJob_workspaceId :: Lens' GetSyncJob (Maybe Text) Source #
The workspace Id.
getSyncJob_syncSource :: Lens' GetSyncJob Text Source #
The sync soucre.
Currently the only supported syncSoucre is SITEWISE .
Destructuring the Response
data GetSyncJobResponse Source #
See: newGetSyncJobResponse smart constructor.
Constructors
| GetSyncJobResponse' | |
Fields
| |
Instances
newGetSyncJobResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> SyncJobStatus | |
| -> UTCTime | |
| -> UTCTime | |
| -> GetSyncJobResponse |
Create a value of GetSyncJobResponse 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:GetSyncJobResponse', getSyncJobResponse_httpStatus - The response's http status code.
GetSyncJobResponse, getSyncJobResponse_arn - The sync job ARN.
GetSyncJob, getSyncJobResponse_workspaceId - The ID of the workspace that contains the sync job.
GetSyncJob, getSyncJobResponse_syncSource - The sync soucre.
Currently the only supported syncSoucre is SITEWISE .
$sel:syncRole:GetSyncJobResponse', getSyncJobResponse_syncRole - The sync IAM role.
GetSyncJobResponse, getSyncJobResponse_status - The SyncJob response status.
GetSyncJobResponse, getSyncJobResponse_creationDateTime - The creation date and time.
GetSyncJobResponse, getSyncJobResponse_updateDateTime - The update date and time.
Response Lenses
getSyncJobResponse_httpStatus :: Lens' GetSyncJobResponse Int Source #
The response's http status code.
getSyncJobResponse_arn :: Lens' GetSyncJobResponse Text Source #
The sync job ARN.
getSyncJobResponse_workspaceId :: Lens' GetSyncJobResponse Text Source #
The ID of the workspace that contains the sync job.
getSyncJobResponse_syncSource :: Lens' GetSyncJobResponse Text Source #
The sync soucre.
Currently the only supported syncSoucre is SITEWISE .
getSyncJobResponse_syncRole :: Lens' GetSyncJobResponse Text Source #
The sync IAM role.
getSyncJobResponse_status :: Lens' GetSyncJobResponse SyncJobStatus Source #
The SyncJob response status.
getSyncJobResponse_creationDateTime :: Lens' GetSyncJobResponse UTCTime Source #
The creation date and time.
getSyncJobResponse_updateDateTime :: Lens' GetSyncJobResponse UTCTime Source #
The update date and time.