Copyright | (c) 2013-2016 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 |
Network.AWS.Config.DeliverConfigSnapshot
Description
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.
- deliverConfigSnapshot :: Text -> DeliverConfigSnapshot
- data DeliverConfigSnapshot
- dcsDeliveryChannelName :: Lens' DeliverConfigSnapshot Text
- deliverConfigSnapshotResponse :: Int -> DeliverConfigSnapshotResponse
- data DeliverConfigSnapshotResponse
- dcsrsConfigSnapshotId :: Lens' DeliverConfigSnapshotResponse (Maybe Text)
- dcsrsResponseStatus :: Lens' DeliverConfigSnapshotResponse Int
Creating a Request
Arguments
:: Text | |
-> DeliverConfigSnapshot |
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:
dcsDeliveryChannelName
- The name of the delivery channel through which the snapshot is delivered.
data DeliverConfigSnapshot #
The input for the DeliverConfigSnapshot
action.
See: deliverConfigSnapshot
smart constructor.
Instances
Request Lenses
dcsDeliveryChannelName :: Lens' DeliverConfigSnapshot Text #
The name of the delivery channel through which the snapshot is delivered.
Destructuring the Response
deliverConfigSnapshotResponse #
Arguments
:: Int | |
-> DeliverConfigSnapshotResponse |
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:
dcsrsConfigSnapshotId
- The ID of the snapshot that is being created.dcsrsResponseStatus
- -- | The response status code.
data DeliverConfigSnapshotResponse #
The output for the DeliverConfigSnapshot
action in JSON format.
See: deliverConfigSnapshotResponse
smart constructor.
Response Lenses
dcsrsConfigSnapshotId :: Lens' DeliverConfigSnapshotResponse (Maybe Text) #
The ID of the snapshot that is being created.
dcsrsResponseStatus :: Lens' DeliverConfigSnapshotResponse Int #
- - | The response status code.