Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Initiates a bulk publish of all existing datasets for an Identity Pool to the configured stream. Customers are limited to one successful bulk publish per 24 hours. Bulk publish is an asynchronous request, customers can see the status of the request via the GetBulkPublishDetails operation.
This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.
Synopsis
- data BulkPublish = BulkPublish' {}
- newBulkPublish :: Text -> BulkPublish
- bulkPublish_identityPoolId :: Lens' BulkPublish Text
- data BulkPublishResponse = BulkPublishResponse' {
- identityPoolId :: Maybe Text
- httpStatus :: Int
- newBulkPublishResponse :: Int -> BulkPublishResponse
- bulkPublishResponse_identityPoolId :: Lens' BulkPublishResponse (Maybe Text)
- bulkPublishResponse_httpStatus :: Lens' BulkPublishResponse Int
Creating a Request
data BulkPublish Source #
The input for the BulkPublish operation.
See: newBulkPublish
smart constructor.
BulkPublish' | |
|
Instances
Create a value of BulkPublish
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:identityPoolId:BulkPublish'
, bulkPublish_identityPoolId
- A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito. GUID generation is unique within a region.
Request Lenses
bulkPublish_identityPoolId :: Lens' BulkPublish Text Source #
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
Destructuring the Response
data BulkPublishResponse Source #
The output for the BulkPublish operation.
See: newBulkPublishResponse
smart constructor.
BulkPublishResponse' | |
|
Instances
newBulkPublishResponse Source #
Create a value of BulkPublishResponse
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:identityPoolId:BulkPublish'
, bulkPublishResponse_identityPoolId
- A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito. GUID generation is unique within a region.
$sel:httpStatus:BulkPublishResponse'
, bulkPublishResponse_httpStatus
- The response's http status code.
Response Lenses
bulkPublishResponse_identityPoolId :: Lens' BulkPublishResponse (Maybe Text) Source #
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
bulkPublishResponse_httpStatus :: Lens' BulkPublishResponse Int Source #
The response's http status code.