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 your resource data sync configurations. Includes information about the last time a sync attempted to start, the last sync status, and the last time a sync successfully completed.
The number of sync configurations might be too large to return using a
single call to ListResourceDataSync
. You can limit the number of sync
configurations returned by using the MaxResults
parameter. To
determine whether there are more sync configurations to list, check the
value of NextToken
in the output. If there are more sync
configurations to list, you can request them by specifying the
NextToken
returned in the call to the parameter of a subsequent call.
This operation returns paginated results.
Synopsis
- data ListResourceDataSync = ListResourceDataSync' {}
- newListResourceDataSync :: ListResourceDataSync
- listResourceDataSync_maxResults :: Lens' ListResourceDataSync (Maybe Natural)
- listResourceDataSync_nextToken :: Lens' ListResourceDataSync (Maybe Text)
- listResourceDataSync_syncType :: Lens' ListResourceDataSync (Maybe Text)
- data ListResourceDataSyncResponse = ListResourceDataSyncResponse' {}
- newListResourceDataSyncResponse :: Int -> ListResourceDataSyncResponse
- listResourceDataSyncResponse_nextToken :: Lens' ListResourceDataSyncResponse (Maybe Text)
- listResourceDataSyncResponse_resourceDataSyncItems :: Lens' ListResourceDataSyncResponse (Maybe [ResourceDataSyncItem])
- listResourceDataSyncResponse_httpStatus :: Lens' ListResourceDataSyncResponse Int
Creating a Request
data ListResourceDataSync Source #
See: newListResourceDataSync
smart constructor.
ListResourceDataSync' | |
|
Instances
newListResourceDataSync :: ListResourceDataSync Source #
Create a value of ListResourceDataSync
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:ListResourceDataSync'
, listResourceDataSync_maxResults
- The maximum number of items to return for this call. The call also
returns a token that you can specify in a subsequent call to get the
next set of results.
ListResourceDataSync
, listResourceDataSync_nextToken
- A token to start the list. Use this token to get the next set of
results.
ListResourceDataSync
, listResourceDataSync_syncType
- View a list of resource data syncs according to the sync type. Specify
SyncToDestination
to view resource data syncs that synchronize data to
an Amazon S3 bucket. Specify SyncFromSource
to view resource data
syncs from Organizations or from multiple Amazon Web Services Regions.
Request Lenses
listResourceDataSync_maxResults :: Lens' ListResourceDataSync (Maybe Natural) Source #
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
listResourceDataSync_nextToken :: Lens' ListResourceDataSync (Maybe Text) Source #
A token to start the list. Use this token to get the next set of results.
listResourceDataSync_syncType :: Lens' ListResourceDataSync (Maybe Text) Source #
View a list of resource data syncs according to the sync type. Specify
SyncToDestination
to view resource data syncs that synchronize data to
an Amazon S3 bucket. Specify SyncFromSource
to view resource data
syncs from Organizations or from multiple Amazon Web Services Regions.
Destructuring the Response
data ListResourceDataSyncResponse Source #
See: newListResourceDataSyncResponse
smart constructor.
ListResourceDataSyncResponse' | |
|
Instances
newListResourceDataSyncResponse Source #
Create a value of ListResourceDataSyncResponse
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:
ListResourceDataSync
, listResourceDataSyncResponse_nextToken
- The token for the next set of items to return. Use this token to get the
next set of results.
$sel:resourceDataSyncItems:ListResourceDataSyncResponse'
, listResourceDataSyncResponse_resourceDataSyncItems
- A list of your current resource data sync configurations and their
statuses.
$sel:httpStatus:ListResourceDataSyncResponse'
, listResourceDataSyncResponse_httpStatus
- The response's http status code.
Response Lenses
listResourceDataSyncResponse_nextToken :: Lens' ListResourceDataSyncResponse (Maybe Text) Source #
The token for the next set of items to return. Use this token to get the next set of results.
listResourceDataSyncResponse_resourceDataSyncItems :: Lens' ListResourceDataSyncResponse (Maybe [ResourceDataSyncItem]) Source #
A list of your current resource data sync configurations and their statuses.
listResourceDataSyncResponse_httpStatus :: Lens' ListResourceDataSyncResponse Int Source #
The response's http status code.