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 |
Lists the sync resources.
Synopsis
- data ListSyncResources = ListSyncResources' {
- filters :: Maybe [SyncResourceFilter]
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- workspaceId :: Text
- syncSource :: Text
- newListSyncResources :: Text -> Text -> ListSyncResources
- listSyncResources_filters :: Lens' ListSyncResources (Maybe [SyncResourceFilter])
- listSyncResources_maxResults :: Lens' ListSyncResources (Maybe Natural)
- listSyncResources_nextToken :: Lens' ListSyncResources (Maybe Text)
- listSyncResources_workspaceId :: Lens' ListSyncResources Text
- listSyncResources_syncSource :: Lens' ListSyncResources Text
- data ListSyncResourcesResponse = ListSyncResourcesResponse' {}
- newListSyncResourcesResponse :: Int -> ListSyncResourcesResponse
- listSyncResourcesResponse_nextToken :: Lens' ListSyncResourcesResponse (Maybe Text)
- listSyncResourcesResponse_syncResources :: Lens' ListSyncResourcesResponse (Maybe [SyncResourceSummary])
- listSyncResourcesResponse_httpStatus :: Lens' ListSyncResourcesResponse Int
Creating a Request
data ListSyncResources Source #
See: newListSyncResources
smart constructor.
ListSyncResources' | |
|
Instances
Create a value of ListSyncResources
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:filters:ListSyncResources'
, listSyncResources_filters
- A list of objects that filter the request.
$sel:maxResults:ListSyncResources'
, listSyncResources_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.
ListSyncResources
, listSyncResources_nextToken
- The string that specifies the next page of results.
ListSyncResources
, listSyncResources_workspaceId
- The ID of the workspace that contains the sync job.
ListSyncResources
, listSyncResources_syncSource
- The sync soucre.
Currently the only supported syncSoucre is SITEWISE
.
Request Lenses
listSyncResources_filters :: Lens' ListSyncResources (Maybe [SyncResourceFilter]) Source #
A list of objects that filter the request.
listSyncResources_maxResults :: Lens' ListSyncResources (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.
listSyncResources_nextToken :: Lens' ListSyncResources (Maybe Text) Source #
The string that specifies the next page of results.
listSyncResources_workspaceId :: Lens' ListSyncResources Text Source #
The ID of the workspace that contains the sync job.
listSyncResources_syncSource :: Lens' ListSyncResources Text Source #
The sync soucre.
Currently the only supported syncSoucre is SITEWISE
.
Destructuring the Response
data ListSyncResourcesResponse Source #
See: newListSyncResourcesResponse
smart constructor.
ListSyncResourcesResponse' | |
|
Instances
newListSyncResourcesResponse Source #
Create a value of ListSyncResourcesResponse
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:
ListSyncResources
, listSyncResourcesResponse_nextToken
- The string that specifies the next page of results.
$sel:syncResources:ListSyncResourcesResponse'
, listSyncResourcesResponse_syncResources
- The sync resources.
$sel:httpStatus:ListSyncResourcesResponse'
, listSyncResourcesResponse_httpStatus
- The response's http status code.
Response Lenses
listSyncResourcesResponse_nextToken :: Lens' ListSyncResourcesResponse (Maybe Text) Source #
The string that specifies the next page of results.
listSyncResourcesResponse_syncResources :: Lens' ListSyncResourcesResponse (Maybe [SyncResourceSummary]) Source #
The sync resources.
listSyncResourcesResponse_httpStatus :: Lens' ListSyncResourcesResponse Int Source #
The response's http status code.