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

SetSubscriptionAttributes() 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 SetSubscriptionAttributes ( string subscriptionArn, string attributeName, string attributeValue ) : SetSubscriptionAttributesResponse
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.
return SetSubscriptionAttributesResponse
        public SetSubscriptionAttributesResponse SetSubscriptionAttributes(string subscriptionArn, string attributeName, string attributeValue)
        {
            var request = new SetSubscriptionAttributesRequest();
            request.SubscriptionArn = subscriptionArn;
            request.AttributeName = attributeName;
            request.AttributeValue = attributeValue;
            return SetSubscriptionAttributes(request);
        }

Same methods

AmazonSimpleNotificationServiceClient::SetSubscriptionAttributes ( SetSubscriptionAttributesRequest request ) : SetSubscriptionAttributesResponse
AmazonSimpleNotificationServiceClient