Skip to content

Commit 8d9c286

Browse files
author
awstools
committed
docs(client-sns): This release adds the message payload-filtering feature to the SNS Subscribe, SetSubscriptionAttributes, and GetSubscriptionAttributes API actions
1 parent 4f42dff commit 8d9c286

23 files changed

+790
-558
lines changed

clients/client-sns/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ AWS SDK for JavaScript SNS Client for Node.js, Browser and React Native.
1111

1212
<fullname>Amazon Simple Notification Service</fullname>
1313

14-
<p>Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build
15-
distributed web-enabled applications. Applications can use Amazon SNS to easily push
14+
<p>Amazon Simple Notification Service (Amazon SNS) is a web service that enables you
15+
to build distributed web-enabled applications. Applications can use Amazon SNS to easily push
1616
real-time notification messages to interested subscribers over multiple delivery
1717
protocols. For more information about this product see the <a href="http://aws.amazon.com/sns/">Amazon SNS product page</a>. For detailed information about Amazon SNS features
1818
and their associated API calls, see the <a href="https://docs.aws.amazon.com/sns/latest/dg/">Amazon SNS Developer Guide</a>. </p>

clients/client-sns/src/SNS.ts

Lines changed: 76 additions & 39 deletions
Large diffs are not rendered by default.

clients/client-sns/src/SNSClient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,8 @@ export interface SNSClientResolvedConfig extends SNSClientResolvedConfigType {}
408408

409409
/**
410410
* <fullname>Amazon Simple Notification Service</fullname>
411-
* <p>Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build
412-
* distributed web-enabled applications. Applications can use Amazon SNS to easily push
411+
* <p>Amazon Simple Notification Service (Amazon SNS) is a web service that enables you
412+
* to build distributed web-enabled applications. Applications can use Amazon SNS to easily push
413413
* real-time notification messages to interested subscribers over multiple delivery
414414
* protocols. For more information about this product see the <a href="http://aws.amazon.com/sns/">Amazon SNS product page</a>. For detailed information about Amazon SNS features
415415
* and their associated API calls, see the <a href="https://docs.aws.amazon.com/sns/latest/dg/">Amazon SNS Developer Guide</a>. </p>

clients/client-sns/src/commands/AddPermissionCommand.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ export interface AddPermissionCommandOutput extends __MetadataBearer {}
2626
/**
2727
* <p>Adds a statement to a topic's access control policy, granting access for the specified
2828
* Amazon Web Services accounts to the specified actions.</p>
29+
* <note>
30+
* <p>To remove the ability to change topic permissions, you must deny permissions to
31+
* the <code>AddPermission</code>, <code>RemovePermission</code>, and
32+
* <code>SetTopicAttributes</code> actions in your IAM policy.</p>
33+
* </note>
2934
* @example
3035
* Use a bare-bones client and the command you need to make an API call.
3136
* ```javascript

clients/client-sns/src/commands/CheckIfPhoneNumberIsOptedOutCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ export interface CheckIfPhoneNumberIsOptedOutCommandOutput
3232

3333
/**
3434
* <p>Accepts a phone number and indicates whether the phone holder has opted out of
35-
* receiving SMS messages from your Amazon Web Services account. You cannot send SMS messages to a number that
36-
* is opted out.</p>
35+
* receiving SMS messages from your Amazon Web Services account. You cannot send SMS messages to a number
36+
* that is opted out.</p>
3737
* <p>To resume sending messages, you can opt in the number by using the
3838
* <code>OptInPhoneNumber</code> action.</p>
3939
* @example

clients/client-sns/src/commands/CreatePlatformApplicationCommand.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ export interface CreatePlatformApplicationCommandOutput extends CreatePlatformAp
4747
* and <code>PlatformCredential</code> is <code>secret key</code>.</p>
4848
* </li>
4949
* <li>
50-
* <p>For <code>APNS</code> and <code>APNS_SANDBOX</code> using certificate credentials,
51-
* <code>PlatformPrincipal</code> is <code>SSL certificate</code> and
50+
* <p>For <code>APNS</code> and <code>APNS_SANDBOX</code> using certificate
51+
* credentials, <code>PlatformPrincipal</code> is <code>SSL certificate</code> and
5252
* <code>PlatformCredential</code> is <code>private key</code>.</p>
5353
* </li>
5454
* <li>
5555
* <p>For <code>APNS</code> and <code>APNS_SANDBOX</code> using token credentials,
56-
* <code>PlatformPrincipal</code> is <code>signing key ID</code> and
57-
* <code>PlatformCredential</code> is <code>signing key</code>.</p>
56+
* <code>PlatformPrincipal</code> is <code>signing key ID</code> and
57+
* <code>PlatformCredential</code> is <code>signing key</code>.</p>
5858
* </li>
5959
* <li>
6060
* <p>For <code>GCM</code> (Firebase Cloud Messaging), there is no

clients/client-sns/src/commands/CreatePlatformEndpointCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ export interface CreatePlatformEndpointCommandOutput extends CreateEndpointRespo
4141
* Notifications</a>. </p>
4242
* <p>When using <code>CreatePlatformEndpoint</code> with Baidu, two attributes must be
4343
* provided: ChannelId and UserId. The token field must also contain the ChannelId. For
44-
* more information, see <a href="https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePushBaiduEndpoint.html">Creating an Amazon SNS Endpoint
45-
* for Baidu</a>. </p>
44+
* more information, see <a href="https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePushBaiduEndpoint.html">Creating an Amazon SNS Endpoint for
45+
* Baidu</a>. </p>
4646
* @example
4747
* Use a bare-bones client and the command you need to make an API call.
4848
* ```javascript

clients/client-sns/src/commands/DeleteSMSSandboxPhoneNumberCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ export interface DeleteSMSSandboxPhoneNumberCommandInput extends DeleteSMSSandbo
2929
export interface DeleteSMSSandboxPhoneNumberCommandOutput extends DeleteSMSSandboxPhoneNumberResult, __MetadataBearer {}
3030

3131
/**
32-
* <p>Deletes an Amazon Web Services account's verified or pending phone number from the SMS sandbox.</p>
32+
* <p>Deletes an Amazon Web Services account's verified or pending phone number from the SMS
33+
* sandbox.</p>
3334
* <p>When you start using Amazon SNS to send SMS messages, your Amazon Web Services account is in the
3435
* <i>SMS sandbox</i>. The SMS sandbox provides a safe environment for
3536
* you to try Amazon SNS features without risking your reputation as an SMS sender. While your

clients/client-sns/src/commands/GetDataProtectionPolicyCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ export interface GetDataProtectionPolicyCommandInput extends GetDataProtectionPo
2929
export interface GetDataProtectionPolicyCommandOutput extends GetDataProtectionPolicyResponse, __MetadataBearer {}
3030

3131
/**
32-
* <p>Retrieves the specified inline <code>DataProtectionPolicy</code> document that is stored in the specified Amazon SNS topic. </p>
32+
* <p>Retrieves the specified inline <code>DataProtectionPolicy</code> document that is
33+
* stored in the specified Amazon SNS topic. </p>
3334
* @example
3435
* Use a bare-bones client and the command you need to make an API call.
3536
* ```javascript

clients/client-sns/src/commands/GetSMSSandboxAccountStatusCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ export interface GetSMSSandboxAccountStatusCommandInput extends GetSMSSandboxAcc
2929
export interface GetSMSSandboxAccountStatusCommandOutput extends GetSMSSandboxAccountStatusResult, __MetadataBearer {}
3030

3131
/**
32-
* <p>Retrieves the SMS sandbox status for the calling Amazon Web Services account in the target Amazon Web Services Region.</p>
32+
* <p>Retrieves the SMS sandbox status for the calling Amazon Web Services account in the target
33+
* Amazon Web Services Region.</p>
3334
* <p>When you start using Amazon SNS to send SMS messages, your Amazon Web Services account is in the
3435
* <i>SMS sandbox</i>. The SMS sandbox provides a safe environment for
3536
* you to try Amazon SNS features without risking your reputation as an SMS sender. While your

0 commit comments

Comments
 (0)