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

SetSubscriptionAttributesAsync() public method

Allows a subscription 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 SetSubscriptionAttributesAsync ( string subscriptionArn, string attributeName, string attributeValue, SetSubscriptionAttributesResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
subscriptionArn string The ARN of the subscription to modify.
attributeName string The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable. Valid values: DeliveryPolicy | RawMessageDelivery
attributeValue string The new value for the attribute in JSON format.
callback SetSubscriptionAttributesResponse>.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 SetSubscriptionAttributesAsync(string subscriptionArn, string attributeName, string attributeValue,  AmazonServiceCallback<SetSubscriptionAttributesRequest, SetSubscriptionAttributesResponse> callback, AsyncOptions options = null)
        {
            var request = new SetSubscriptionAttributesRequest();
            request.SubscriptionArn = subscriptionArn;
            request.AttributeName = attributeName;
            request.AttributeValue = attributeValue;
            SetSubscriptionAttributesAsync(request, callback, options);
        }

Same methods

AmazonSimpleNotificationServiceClient::SetSubscriptionAttributesAsync ( SetSubscriptionAttributesRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonSimpleNotificationServiceClient::SetSubscriptionAttributesAsync ( string subscriptionArn, string attributeName, string attributeValue, System cancellationToken = default(CancellationToken) ) : Task
AmazonSimpleNotificationServiceClient::SetSubscriptionAttributesAsync ( SetSubscriptionAttributesRequest request, SetSubscriptionAttributesResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonSimpleNotificationServiceClient