Struct aws_sdk_sns::client::fluent_builders::SetSubscriptionAttributes   
        source ·
        [−]pub struct SetSubscriptionAttributes<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to SetSubscriptionAttributes.
Allows a subscription owner to set an attribute of the subscription to a new value.
Implementations
impl<C, M, R> SetSubscriptionAttributes<C, M, R> where
    C: SmithyConnector,
    M: SmithyMiddleware<C>,
    R: NewRequestPolicy, 
impl<C, M, R> SetSubscriptionAttributes<C, M, R> where
    C: SmithyConnector,
    M: SmithyMiddleware<C>,
    R: NewRequestPolicy, 
pub async fn send(
    self
) -> Result<SetSubscriptionAttributesOutput, SdkError<SetSubscriptionAttributesError>> where
    R::Policy: SmithyRetryPolicy<SetSubscriptionAttributesInputOperationOutputAlias, SetSubscriptionAttributesOutput, SetSubscriptionAttributesError, SetSubscriptionAttributesInputOperationRetryAlias>, 
pub async fn send(
    self
) -> Result<SetSubscriptionAttributesOutput, SdkError<SetSubscriptionAttributesError>> where
    R::Policy: SmithyRetryPolicy<SetSubscriptionAttributesInputOperationOutputAlias, SetSubscriptionAttributesOutput, SetSubscriptionAttributesError, SetSubscriptionAttributesInputOperationRetryAlias>, 
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The ARN of the subscription to modify.
The ARN of the subscription to modify.
A map of attributes with their corresponding values.
The following lists the names, descriptions, and values of the special request parameters that this action uses:
-  DeliveryPolicy– The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints.
-  FilterPolicy– The simple JSON object that lets your subscriber receive only a subset of messages, rather than receiving every message published to the topic.
-  RawMessageDelivery– When set totrue, enables raw message delivery to Amazon SQS or HTTP/S endpoints. This eliminates the need for the endpoints to process JSON formatting, which is otherwise created for Amazon SNS metadata.
-  RedrivePolicy– When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable) or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held in the dead-letter queue for further analysis or reprocessing.
The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:
-  SubscriptionRoleArn– The ARN of the IAM role that has the following:-  Permission to write to the Kinesis Data Firehose delivery stream 
-  Amazon SNS listed as a trusted entity 
 Specifying a valid ARN for this attribute is required for Kinesis Data Firehose delivery stream subscriptions. For more information, see Fanout to Kinesis Data Firehose delivery streams in the Amazon SNS Developer Guide. 
-  
A map of attributes with their corresponding values.
The following lists the names, descriptions, and values of the special request parameters that this action uses:
-  DeliveryPolicy– The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints.
-  FilterPolicy– The simple JSON object that lets your subscriber receive only a subset of messages, rather than receiving every message published to the topic.
-  RawMessageDelivery– When set totrue, enables raw message delivery to Amazon SQS or HTTP/S endpoints. This eliminates the need for the endpoints to process JSON formatting, which is otherwise created for Amazon SNS metadata.
-  RedrivePolicy– When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable) or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held in the dead-letter queue for further analysis or reprocessing.
The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:
-  SubscriptionRoleArn– The ARN of the IAM role that has the following:-  Permission to write to the Kinesis Data Firehose delivery stream 
-  Amazon SNS listed as a trusted entity 
 Specifying a valid ARN for this attribute is required for Kinesis Data Firehose delivery stream subscriptions. For more information, see Fanout to Kinesis Data Firehose delivery streams in the Amazon SNS Developer Guide. 
-  
The new value for the attribute in JSON format.
The new value for the attribute in JSON format.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for SetSubscriptionAttributes<C, M, R>
impl<C, M, R> Send for SetSubscriptionAttributes<C, M, R> where
    C: Send + Sync,
    M: Send + Sync,
    R: Send + Sync, 
impl<C, M, R> Sync for SetSubscriptionAttributes<C, M, R> where
    C: Send + Sync,
    M: Send + Sync,
    R: Send + Sync, 
impl<C, M, R> Unpin for SetSubscriptionAttributes<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for SetSubscriptionAttributes<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
