Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, AWS Config sends following notifications using an Amazon SNS topic that you have specified.
- Notification of starting the delivery.
- Notification of delivery completed, if the delivery was successfully completed.
- Notification of delivery failure, if the delivery failed to complete.
See: AWS API Reference for DeliverConfigSnapshot.
- deliverConfigSnapshot :: Text -> DeliverConfigSnapshot
- data DeliverConfigSnapshot
- dcsDeliveryChannelName :: Lens' DeliverConfigSnapshot Text
- deliverConfigSnapshotResponse :: Int -> DeliverConfigSnapshotResponse
- data DeliverConfigSnapshotResponse
- dcsrsConfigSnapshotId :: Lens' DeliverConfigSnapshotResponse (Maybe Text)
- dcsrsStatus :: Lens' DeliverConfigSnapshotResponse Int
Creating a Request
Creates a value of DeliverConfigSnapshot
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeliverConfigSnapshot Source
The input for the DeliverConfigSnapshot action.
See: deliverConfigSnapshot
smart constructor.
Request Lenses
dcsDeliveryChannelName :: Lens' DeliverConfigSnapshot Text Source
The name of the delivery channel through which the snapshot is delivered.
Destructuring the Response
deliverConfigSnapshotResponse Source
Creates a value of DeliverConfigSnapshotResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeliverConfigSnapshotResponse Source
The output for the DeliverConfigSnapshot action in JSON format.
See: deliverConfigSnapshotResponse
smart constructor.
Response Lenses
dcsrsConfigSnapshotId :: Lens' DeliverConfigSnapshotResponse (Maybe Text) Source
The ID of the snapshot that is being created.
dcsrsStatus :: Lens' DeliverConfigSnapshotResponse Int Source
The response status code.