@@ -113,6 +113,14 @@ public interface AmazonSNS {
113113 * Adds a statement to a topic's access control policy, granting access for
114114 * the specified Amazon Web Services accounts to the specified actions.
115115 * </p>
116+ * <note>
117+ * <p>
118+ * To remove the ability to change topic permissions, you must deny
119+ * permissions to the <code>AddPermission</code>,
120+ * <code>RemovePermission</code>, and <code>SetTopicAttributes</code>
121+ * actions in your IAM policy.
122+ * </p>
123+ * </note>
116124 *
117125 * @param addPermissionRequest
118126 * @throws InvalidParameterException
@@ -1253,6 +1261,14 @@ void putDataProtectionPolicy(PutDataProtectionPolicyRequest putDataProtectionPol
12531261 * <p>
12541262 * Removes a statement from a topic's access control policy.
12551263 * </p>
1264+ * <note>
1265+ * <p>
1266+ * To remove the ability to change topic permissions, you must deny
1267+ * permissions to the <code>AddPermission</code>,
1268+ * <code>RemovePermission</code>, and <code>SetTopicAttributes</code>
1269+ * actions in your IAM policy.
1270+ * </p>
1271+ * </note>
12561272 *
12571273 * @param removePermissionRequest <p>
12581274 * Input for RemovePermission action.
@@ -1402,6 +1418,14 @@ void setSubscriptionAttributes(SetSubscriptionAttributesRequest setSubscriptionA
14021418 * <p>
14031419 * Allows a topic owner to set an attribute of the topic to a new value.
14041420 * </p>
1421+ * <note>
1422+ * <p>
1423+ * To remove the ability to change topic permissions, you must deny
1424+ * permissions to the <code>AddPermission</code>,
1425+ * <code>RemovePermission</code>, and <code>SetTopicAttributes</code>
1426+ * actions in your IAM policy.
1427+ * </p>
1428+ * </note>
14051429 *
14061430 * @param setTopicAttributesRequest <p>
14071431 * Input for SetTopicAttributes action.
@@ -1535,6 +1559,13 @@ TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
15351559 * resubscribe to the topic if the <code>Unsubscribe</code> request was
15361560 * unintended.
15371561 * </p>
1562+ * <note>
1563+ * <p>
1564+ * Amazon SQS queue subscriptions require authentication for deletion. Only
1565+ * the owner of the subscription, or the owner of the topic can unsubscribe
1566+ * using the required Amazon Web Services signature.
1567+ * </p>
1568+ * </note>
15381569 * <p>
15391570 * This action is throttled at 100 transactions per second (TPS).
15401571 * </p>
@@ -1658,6 +1689,27 @@ VerifySMSSandboxPhoneNumberResult verifySMSSandboxPhoneNumber(
16581689 * </li>
16591690 * <li>
16601691 * <p>
1692+ * <code>FilterPolicyScope</code> – This attribute lets you
1693+ * choose the filtering scope by using one of the following
1694+ * string value types:
1695+ * </p>
1696+ * <ul>
1697+ * <li>
1698+ * <p>
1699+ * <code>MessageAttributes</code> (default) – The filter is
1700+ * applied on the message attributes.
1701+ * </p>
1702+ * </li>
1703+ * <li>
1704+ * <p>
1705+ * <code>MessageBody</code> – The filter is applied on the
1706+ * message body.
1707+ * </p>
1708+ * </li>
1709+ * </ul>
1710+ * </li>
1711+ * <li>
1712+ * <p>
16611713 * <code>RawMessageDelivery</code> – When set to
16621714 * <code>true</code>, enables raw message delivery to Amazon SQS
16631715 * or HTTP/S endpoints. This eliminates the need for the
@@ -1916,6 +1968,14 @@ SubscribeResult subscribe(String topicArn, String protocol, String endpoint)
19161968 * Adds a statement to a topic's access control policy, granting access for
19171969 * the specified Amazon Web Services accounts to the specified actions.
19181970 * </p>
1971+ * <note>
1972+ * <p>
1973+ * To remove the ability to change topic permissions, you must deny
1974+ * permissions to the <code>AddPermission</code>,
1975+ * <code>RemovePermission</code>, and <code>SetTopicAttributes</code>
1976+ * actions in your IAM policy.
1977+ * </p>
1978+ * </note>
19191979 *
19201980 * @param topicArn <p>
19211981 * The ARN of the topic whose access control policy you wish to
@@ -1985,6 +2045,14 @@ GetTopicAttributesResult getTopicAttributes(String topicArn) throws AmazonClient
19852045 * <p>
19862046 * Removes a statement from a topic's access control policy.
19872047 * </p>
2048+ * <note>
2049+ * <p>
2050+ * To remove the ability to change topic permissions, you must deny
2051+ * permissions to the <code>AddPermission</code>,
2052+ * <code>RemovePermission</code>, and <code>SetTopicAttributes</code>
2053+ * actions in your IAM policy.
2054+ * </p>
2055+ * </note>
19882056 *
19892057 * @param topicArn <p>
19902058 * The ARN of the topic whose access control policy you wish to
@@ -2151,6 +2219,14 @@ ConfirmSubscriptionResult confirmSubscription(String topicArn, String token)
21512219 * <p>
21522220 * Allows a topic owner to set an attribute of the topic to a new value.
21532221 * </p>
2222+ * <note>
2223+ * <p>
2224+ * To remove the ability to change topic permissions, you must deny
2225+ * permissions to the <code>AddPermission</code>,
2226+ * <code>RemovePermission</code>, and <code>SetTopicAttributes</code>
2227+ * actions in your IAM policy.
2228+ * </p>
2229+ * </note>
21542230 *
21552231 * @param topicArn <p>
21562232 * The ARN of the topic to modify.
@@ -2183,6 +2259,18 @@ ConfirmSubscriptionResult confirmSubscription(String topicArn, String token)
21832259 * subscribe to the topic.
21842260 * </p>
21852261 * </li>
2262+ * <li>
2263+ * <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.
2272+ * </p>
2273+ * </li>
21862274 * </ul>
21872275 * <p>
21882276 * The following attribute applies only to <a href=
@@ -2201,6 +2289,14 @@ ConfirmSubscriptionResult confirmSubscription(String topicArn, String token)
22012289 * >KeyId</a> in the <i>Key Management Service API Reference</i>.
22022290 * </p>
22032291 * </li>
2292+ * <li>
2293+ * <p>
2294+ * <code>SignatureVersion</code> – The signature version
2295+ * corresponds to the hashing algorithm used while creating the
2296+ * signature of the notifications, subscription confirmations, or
2297+ * unsubscribe confirmation messages sent by Amazon SNS.
2298+ * </p>
2299+ * </li>
22042300 * </ul>
22052301 * <p>
22062302 * The following attribute applies only to <a href=
@@ -2344,6 +2440,13 @@ void setTopicAttributes(String topicArn, String attributeName, String attributeV
23442440 * resubscribe to the topic if the <code>Unsubscribe</code> request was
23452441 * unintended.
23462442 * </p>
2443+ * <note>
2444+ * <p>
2445+ * Amazon SQS queue subscriptions require authentication for deletion. Only
2446+ * the owner of the subscription, or the owner of the topic can unsubscribe
2447+ * using the required Amazon Web Services signature.
2448+ * </p>
2449+ * </note>
23472450 * <p>
23482451 * This action is throttled at 100 transactions per second (TPS).
23492452 * </p>
0 commit comments