DeliverConfigSnapshot
Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, AWS Config sends the following notifications using an Amazon SNS topic that you have specified.
-
Notification of the start of the delivery.
-
Notification of the completion of the delivery, if the delivery was successfully completed.
-
Notification of delivery failure, if the delivery failed.
Request Syntax
{
"deliveryChannelName": "string
"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- deliveryChannelName
-
The name of the delivery channel through which the snapshot is delivered.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 256.
Required: Yes
Response Syntax
{
"configSnapshotId": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- configSnapshotId
-
The ID of the snapshot that is being created.
Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
- NoAvailableConfigurationRecorderException
-
There are no customer managed configuration recorders available to record your resources. Use the PutConfigurationRecorder operation to create the customer managed configuration recorder.
HTTP Status Code: 400
- NoRunningConfigurationRecorderException
-
There is no configuration recorder running.
HTTP Status Code: 400
- NoSuchDeliveryChannelException
-
You have specified a delivery channel that does not exist.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: