[ aws . configservice ]
Returns the current status of the specified delivery channel. If a delivery channel is not specified, this action returns the current status of all delivery channels associated with the account.
Note
Currently, you can specify only one delivery channel per region in your account.
See also: AWS API Documentation
See ‘aws help’ for descriptions of global parameters.
describe-delivery-channel-status
[--delivery-channel-names <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
--delivery-channel-names
(list)
A list of delivery channel names.
(string)
Syntax:
"string" "string" ...
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml
.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
See ‘aws help’ for descriptions of global parameters.
To get status information for the delivery channel
The following command returns the status of the delivery channel:
aws configservice describe-delivery-channel-status
Output:
{
"DeliveryChannelsStatus": [
{
"configStreamDeliveryInfo": {
"lastStatusChangeTime": 1452193834.381,
"lastStatus": "SUCCESS"
},
"configHistoryDeliveryInfo": {
"lastSuccessfulTime": 1450317838.412,
"lastStatus": "SUCCESS",
"lastAttemptTime": 1450317838.412
},
"configSnapshotDeliveryInfo": {
"lastSuccessfulTime": 1452185597.094,
"lastStatus": "SUCCESS",
"lastAttemptTime": 1452185597.094
},
"name": "default"
}
]
}
DeliveryChannelsStatus -> (list)
A list that contains the status of a specified delivery channel.
(structure)
The status of a specified delivery channel.
Valid values:
Success
|Failure
name -> (string)
The name of the delivery channel.
configSnapshotDeliveryInfo -> (structure)
A list containing the status of the delivery of the snapshot to the specified Amazon S3 bucket.
lastStatus -> (string)
Status of the last attempted delivery.
lastErrorCode -> (string)
The error code from the last attempted delivery.
lastErrorMessage -> (string)
The error message from the last attempted delivery.
lastAttemptTime -> (timestamp)
The time of the last attempted delivery.
lastSuccessfulTime -> (timestamp)
The time of the last successful delivery.
nextDeliveryTime -> (timestamp)
The time that the next delivery occurs.
configHistoryDeliveryInfo -> (structure)
A list that contains the status of the delivery of the configuration history to the specified Amazon S3 bucket.
lastStatus -> (string)
Status of the last attempted delivery.
lastErrorCode -> (string)
The error code from the last attempted delivery.
lastErrorMessage -> (string)
The error message from the last attempted delivery.
lastAttemptTime -> (timestamp)
The time of the last attempted delivery.
lastSuccessfulTime -> (timestamp)
The time of the last successful delivery.
nextDeliveryTime -> (timestamp)
The time that the next delivery occurs.
configStreamDeliveryInfo -> (structure)
A list containing the status of the delivery of the configuration stream notification to the specified Amazon SNS topic.
lastStatus -> (string)
Status of the last attempted delivery.
Note Providing an SNS topic on a DeliveryChannel for AWS Config is optional. If the SNS delivery is turned off, the last status will be Not_Applicable .
lastErrorCode -> (string)
The error code from the last attempted delivery.
lastErrorMessage -> (string)
The error message from the last attempted delivery.
lastStatusChangeTime -> (timestamp)
The time from the last status change.