AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Creates a delivery channel object to deliver configuration information and other compliance information to an Amazon S3 bucket and Amazon SNS topic. For more information, see Notifications that Config Sends to an Amazon SNS topic.

Before you can create a delivery channel, you must create a configuration recorder.

You can use this action to change the Amazon S3 bucket or an Amazon SNS topic of the existing delivery channel. To change the Amazon S3 bucket or an Amazon SNS topic, call this action and specify the changed values for the S3 bucket and the SNS topic. If you specify a different value for either the S3 bucket or the SNS topic, this action will keep the existing value for the parameter that is not changed.

You can have only one delivery channel per region in your account.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to PutDeliveryChannelAsync.

Namespace: Amazon.ConfigService
Assembly: AWSSDK.ConfigService.dll
Version: 3.x.y.z

Syntax

C#
public virtual PutDeliveryChannelResponse PutDeliveryChannel(
         PutDeliveryChannelRequest request
)

Parameters

request
Type: Amazon.ConfigService.Model.PutDeliveryChannelRequest

Container for the necessary parameters to execute the PutDeliveryChannel service method.

Return Value


The response from the PutDeliveryChannel service method, as returned by ConfigService.

Exceptions

ExceptionCondition
InsufficientDeliveryPolicyException Your Amazon S3 bucket policy does not permit Config to write to it.
InvalidDeliveryChannelNameException The specified delivery channel name is not valid.
InvalidS3KeyPrefixException The specified Amazon S3 key prefix is not valid.
InvalidS3KmsKeyArnException The specified Amazon KMS Key ARN is not valid.
InvalidSNSTopicARNException The specified Amazon SNS topic does not exist.
MaxNumberOfDeliveryChannelsExceededException You have reached the limit of the number of delivery channels you can create.
NoAvailableConfigurationRecorderException There are no configuration recorders available to provide the role needed to describe your resources. Create a configuration recorder.
NoSuchBucketException The specified Amazon S3 bucket does not exist.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also