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 |
List all SyncJobs.
Synopsis
- data ListSyncJobs = ListSyncJobs' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- workspaceId :: Text
- newListSyncJobs :: Text -> ListSyncJobs
- listSyncJobs_maxResults :: Lens' ListSyncJobs (Maybe Natural)
- listSyncJobs_nextToken :: Lens' ListSyncJobs (Maybe Text)
- listSyncJobs_workspaceId :: Lens' ListSyncJobs Text
- data ListSyncJobsResponse = ListSyncJobsResponse' {}
- newListSyncJobsResponse :: Int -> ListSyncJobsResponse
- listSyncJobsResponse_nextToken :: Lens' ListSyncJobsResponse (Maybe Text)
- listSyncJobsResponse_syncJobSummaries :: Lens' ListSyncJobsResponse (Maybe [SyncJobSummary])
- listSyncJobsResponse_httpStatus :: Lens' ListSyncJobsResponse Int
Creating a Request
data ListSyncJobs Source #
See: newListSyncJobs
smart constructor.
ListSyncJobs' | |
|
Instances
Create a value of ListSyncJobs
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:maxResults:ListSyncJobs'
, listSyncJobs_maxResults
- The maximum number of results to return at one time. The default is 50.
Valid Range: Minimum value of 0. Maximum value of 200.
ListSyncJobs
, listSyncJobs_nextToken
- The string that specifies the next page of results.
ListSyncJobs
, listSyncJobs_workspaceId
- The ID of the workspace that contains the sync job.
Request Lenses
listSyncJobs_maxResults :: Lens' ListSyncJobs (Maybe Natural) Source #
The maximum number of results to return at one time. The default is 50.
Valid Range: Minimum value of 0. Maximum value of 200.
listSyncJobs_nextToken :: Lens' ListSyncJobs (Maybe Text) Source #
The string that specifies the next page of results.
listSyncJobs_workspaceId :: Lens' ListSyncJobs Text Source #
The ID of the workspace that contains the sync job.
Destructuring the Response
data ListSyncJobsResponse Source #
See: newListSyncJobsResponse
smart constructor.
ListSyncJobsResponse' | |
|
Instances
newListSyncJobsResponse Source #
Create a value of ListSyncJobsResponse
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:
ListSyncJobs
, listSyncJobsResponse_nextToken
- The string that specifies the next page of results.
$sel:syncJobSummaries:ListSyncJobsResponse'
, listSyncJobsResponse_syncJobSummaries
- The listed SyncJob summaries.
$sel:httpStatus:ListSyncJobsResponse'
, listSyncJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listSyncJobsResponse_nextToken :: Lens' ListSyncJobsResponse (Maybe Text) Source #
The string that specifies the next page of results.
listSyncJobsResponse_syncJobSummaries :: Lens' ListSyncJobsResponse (Maybe [SyncJobSummary]) Source #
The listed SyncJob summaries.
listSyncJobsResponse_httpStatus :: Lens' ListSyncJobsResponse Int Source #
The response's http status code.