Amazon.SimpleNotificationService.AmazonSimpleNotificationServiceClient.SetTopicAttributesAsync C# (CSharp) Method

SetTopicAttributesAsync() public method

Allows a topic owner to set an attribute of the topic to a new value.
/// Indicates that the user has been denied access to the requested resource. /// /// Indicates an internal service error. /// /// Indicates that a request parameter does not comply with the associated constraints. /// /// Indicates that the requested resource does not exist. ///
public SetTopicAttributesAsync ( string topicArn, string attributeName, string attributeValue, SetTopicAttributesResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
topicArn string The ARN of the topic to modify.
attributeName string The name of the attribute you want to set. Only a subset of the topic's attributes are mutable. Valid values: Policy | DisplayName | DeliveryPolicy
attributeValue string The new value for the attribute.
callback SetTopicAttributesResponse>.AmazonServiceCallback An Action delegate that is invoked when the operation completes.
options AsyncOptions /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. ///
return void
        public void SetTopicAttributesAsync(string topicArn, string attributeName, string attributeValue,  AmazonServiceCallback<SetTopicAttributesRequest, SetTopicAttributesResponse> callback, AsyncOptions options = null)
        {
            var request = new SetTopicAttributesRequest();
            request.TopicArn = topicArn;
            request.AttributeName = attributeName;
            request.AttributeValue = attributeValue;
            SetTopicAttributesAsync(request, callback, options);
        }

Same methods

AmazonSimpleNotificationServiceClient::SetTopicAttributesAsync ( SetTopicAttributesRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonSimpleNotificationServiceClient::SetTopicAttributesAsync ( string topicArn, string attributeName, string attributeValue, System cancellationToken = default(CancellationToken) ) : Task
AmazonSimpleNotificationServiceClient::SetTopicAttributesAsync ( SetTopicAttributesRequest request, SetTopicAttributesResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonSimpleNotificationServiceClient