11/*
2- * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License").
55 * You may not use this file except in compliance with the License.
@@ -2242,6 +2242,13 @@ ConfirmSubscriptionResult confirmSubscription(String topicArn, String token)
22422242 * <ul>
22432243 * <li>
22442244 * <p>
2245+ * <code>ApplicationSuccessFeedbackRoleArn</code> – Indicates
2246+ * failed message delivery status for an Amazon SNS topic that is
2247+ * subscribed to a platform application endpoint.
2248+ * </p>
2249+ * </li>
2250+ * <li>
2251+ * <p>
22452252 * <code>DeliveryPolicy</code> – The policy that defines how
22462253 * Amazon SNS retries failed deliveries to HTTP/S endpoints.
22472254 * </p>
@@ -2261,17 +2268,175 @@ ConfirmSubscriptionResult confirmSubscription(String topicArn, String token)
22612268 * </li>
22622269 * <li>
22632270 * <p>
2264- * <code>TracingConfig</code> – Tracing mode of an Amazon SNS
2265- * topic. By default <code>TracingConfig</code> is set to
2266- * <code>PassThrough</code>, and the topic passes through the
2267- * tracing header it receives from an Amazon SNS publisher to its
2268- * subscriptions. If set to Active, Amazon SNS will vend X-Ray
2269- * segment data to topic owner account if the sampled flag in the
2270- * tracing header is true. This is only supported on standard
2271- * topics.
2271+ * HTTP
2272+ * </p>
2273+ * <ul>
2274+ * <li>
2275+ * <p>
2276+ * <code>HTTPSuccessFeedbackRoleArn</code> – Indicates successful
2277+ * message delivery status for an Amazon SNS topic that is
2278+ * subscribed to an HTTP endpoint.
2279+ * </p>
2280+ * </li>
2281+ * <li>
2282+ * <p>
2283+ * <code>HTTPSuccessFeedbackSampleRate</code> – Indicates
2284+ * percentage of successful messages to sample for an Amazon SNS
2285+ * topic that is subscribed to an HTTP endpoint.
22722286 * </p>
22732287 * </li>
2288+ * <li>
2289+ * <p>
2290+ * <code>HTTPFailureFeedbackRoleArn</code> – Indicates failed
2291+ * message delivery status for an Amazon SNS topic that is
2292+ * subscribed to an HTTP endpoint.
2293+ * </p>
2294+ * </li>
2295+ * </ul>
2296+ * </li>
2297+ * <li>
2298+ * <p>
2299+ * Amazon Kinesis Data Firehose
2300+ * </p>
2301+ * <ul>
2302+ * <li>
2303+ * <p>
2304+ * <code>FirehoseSuccessFeedbackRoleArn</code> – Indicates
2305+ * successful message delivery status for an Amazon SNS topic
2306+ * that is subscribed to an Amazon Kinesis Data Firehose
2307+ * endpoint.
2308+ * </p>
2309+ * </li>
2310+ * <li>
2311+ * <p>
2312+ * <code>FirehoseSuccessFeedbackSampleRate</code> – Indicates
2313+ * percentage of successful messages to sample for an Amazon SNS
2314+ * topic that is subscribed to an Amazon Kinesis Data Firehose
2315+ * endpoint.
2316+ * </p>
2317+ * </li>
2318+ * <li>
2319+ * <p>
2320+ * <code>FirehoseFailureFeedbackRoleArn</code> – Indicates failed
2321+ * message delivery status for an Amazon SNS topic that is
2322+ * subscribed to an Amazon Kinesis Data Firehose endpoint.
2323+ * </p>
2324+ * </li>
2325+ * </ul>
2326+ * </li>
2327+ * <li>
2328+ * <p>
2329+ * Lambda
2330+ * </p>
2331+ * <ul>
2332+ * <li>
2333+ * <p>
2334+ * <code>LambdaSuccessFeedbackRoleArn</code> – Indicates
2335+ * successful message delivery status for an Amazon SNS topic
2336+ * that is subscribed to an Lambda endpoint.
2337+ * </p>
2338+ * </li>
2339+ * <li>
2340+ * <p>
2341+ * <code>LambdaSuccessFeedbackSampleRate</code> – Indicates
2342+ * percentage of successful messages to sample for an Amazon SNS
2343+ * topic that is subscribed to an Lambda endpoint.
2344+ * </p>
2345+ * </li>
2346+ * <li>
2347+ * <p>
2348+ * <code>LambdaFailureFeedbackRoleArn</code> – Indicates failed
2349+ * message delivery status for an Amazon SNS topic that is
2350+ * subscribed to an Lambda endpoint.
2351+ * </p>
2352+ * </li>
2353+ * </ul>
2354+ * </li>
2355+ * <li>
2356+ * <p>
2357+ * Platform application endpoint
2358+ * </p>
2359+ * <ul>
2360+ * <li>
2361+ * <p>
2362+ * <code>ApplicationSuccessFeedbackRoleArn</code> – Indicates
2363+ * successful message delivery status for an Amazon SNS topic
2364+ * that is subscribed to an Amazon Web Services application
2365+ * endpoint.
2366+ * </p>
2367+ * </li>
2368+ * <li>
2369+ * <p>
2370+ * <code>ApplicationSuccessFeedbackSampleRate</code> – Indicates
2371+ * percentage of successful messages to sample for an Amazon SNS
2372+ * topic that is subscribed to an Amazon Web Services application
2373+ * endpoint.
2374+ * </p>
2375+ * </li>
2376+ * <li>
2377+ * <p>
2378+ * <code>ApplicationFailureFeedbackRoleArn</code> – Indicates
2379+ * failed message delivery status for an Amazon SNS topic that is
2380+ * subscribed to an Amazon Web Services application endpoint.
2381+ * </p>
2382+ * </li>
2383+ * </ul>
2384+ * <note>
2385+ * <p>
2386+ * In addition to being able to configure topic attributes for
2387+ * message delivery status of notification messages sent to
2388+ * Amazon SNS application endpoints, you can also configure
2389+ * application attributes for the delivery status of push
2390+ * notification messages sent to push notification services.
2391+ * </p>
2392+ * <p>
2393+ * For example, For more information, see <a href=
2394+ * "https://docs.aws.amazon.com/sns/latest/dg/sns-msg-status.html"
2395+ * >Using Amazon SNS Application Attributes for Message Delivery
2396+ * Status</a>.
2397+ * </p>
2398+ * </note></li>
2399+ * <li>
2400+ * <p>
2401+ * Amazon SQS
2402+ * </p>
2403+ * <ul>
2404+ * <li>
2405+ * <p>
2406+ * <code>SQSSuccessFeedbackRoleArn</code> – Indicates successful
2407+ * message delivery status for an Amazon SNS topic that is
2408+ * subscribed to an Amazon SQS endpoint.
2409+ * </p>
2410+ * </li>
2411+ * <li>
2412+ * <p>
2413+ * <code>SQSSuccessFeedbackSampleRate</code> – Indicates
2414+ * percentage of successful messages to sample for an Amazon SNS
2415+ * topic that is subscribed to an Amazon SQS endpoint.
2416+ * </p>
2417+ * </li>
2418+ * <li>
2419+ * <p>
2420+ * <code>SQSFailureFeedbackRoleArn</code> – Indicates failed
2421+ * message delivery status for an Amazon SNS topic that is
2422+ * subscribed to an Amazon SQS endpoint.
2423+ * </p>
2424+ * </li>
2425+ * </ul>
2426+ * </li>
22742427 * </ul>
2428+ * <note>
2429+ * <p>
2430+ * The <ENDPOINT>SuccessFeedbackRoleArn and
2431+ * <ENDPOINT>FailureFeedbackRoleArn attributes are used to
2432+ * give Amazon SNS write access to use CloudWatch Logs on your
2433+ * behalf. The <ENDPOINT>SuccessFeedbackSampleRate
2434+ * attribute is for specifying the sample rate percentage (0-100)
2435+ * of successfully delivered messages. After you configure the
2436+ * <ENDPOINT>FailureFeedbackRoleArn attribute, then all
2437+ * failed message deliveries generate CloudWatch Logs.
2438+ * </p>
2439+ * </note>
22752440 * <p>
22762441 * The following attribute applies only to <a href=
22772442 * "https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html"
0 commit comments