Skip to content

Commit 698811b

Browse files
authored
feat(aws-android-sdk-sns): update models to latest (#2049)
1 parent 6b4a34e commit 698811b

File tree

6 files changed

+27
-600
lines changed

6 files changed

+27
-600
lines changed

aws-android-sdk-sns/src/main/java/com/amazonaws/services/sns/AmazonSNS.java

Lines changed: 3 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,7 @@ CreatePlatformEndpointResult createPlatformEndpoint(
322322
/**
323323
* <p>
324324
* Creates a topic to which notifications can be published. Users can create
325-
* at most 100,000 standard topics (at most 1,000 FIFO topics). For more
326-
* information, see <a
325+
* at most 100,000 topics. For more information, see <a
327326
* href="http://aws.amazon.com/sns/">https://aws.amazon.com/sns</a>. This
328327
* action is idempotent, so if the requester already owns a topic with the
329328
* specified name, that topic's ARN is returned without creating a new
@@ -1766,7 +1765,7 @@ ConfirmSubscriptionResult confirmSubscription(String topicArn, String token)
17661765
* <ul>
17671766
* <li>
17681767
* <p>
1769-
* <code>KmsMasterKeyId</code> The ID of an AWS-managed
1768+
* <code>KmsMasterKeyId</code> - The ID of an AWS-managed
17701769
* customer master key (CMK) for Amazon SNS or a custom CMK. For
17711770
* more information, see <a href=
17721771
* "https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html#sse-key-terms"
@@ -1777,34 +1776,6 @@ ConfirmSubscriptionResult confirmSubscription(String topicArn, String token)
17771776
* </p>
17781777
* </li>
17791778
* </ul>
1780-
* <p>
1781-
* The following attribute applies only to FIFO topics:
1782-
* </p>
1783-
* <ul>
1784-
* <li>
1785-
* <p>
1786-
* <code>ContentBasedDeduplication</code> – Enables content-based
1787-
* deduplication. Amazon SNS uses a SHA-256 hash to generate the
1788-
* <code>MessageDeduplicationId</code> using the body of the
1789-
* message (but not the attributes of the message).
1790-
* </p>
1791-
* </li>
1792-
* <li>
1793-
* <p>
1794-
* When <code>ContentBasedDeduplication</code> is in effect,
1795-
* messages with identical content sent within the deduplication
1796-
* interval are treated as duplicates and only one copy of the
1797-
* message is delivered.
1798-
* </p>
1799-
* </li>
1800-
* <li>
1801-
* <p>
1802-
* If the queue has <code>ContentBasedDeduplication</code> set,
1803-
* your <code>MessageDeduplicationId</code> overrides the
1804-
* generated one.
1805-
* </p>
1806-
* </li>
1807-
* </ul>
18081779
* @param attributeValue <p>
18091780
* The new value for the attribute.
18101781
* </p>
@@ -1827,8 +1798,7 @@ void setTopicAttributes(String topicArn, String attributeName, String attributeV
18271798
/**
18281799
* <p>
18291800
* Creates a topic to which notifications can be published. Users can create
1830-
* at most 100,000 standard topics (at most 1,000 FIFO topics). For more
1831-
* information, see <a
1801+
* at most 100,000 topics. For more information, see <a
18321802
* href="http://aws.amazon.com/sns/">https://aws.amazon.com/sns</a>. This
18331803
* action is idempotent, so if the requester already owns a topic with the
18341804
* specified name, that topic's ARN is returned without creating a new
@@ -1843,10 +1813,6 @@ void setTopicAttributes(String topicArn, String attributeName, String attributeV
18431813
* lowercase ASCII letters, numbers, underscores, and hyphens,
18441814
* and must be between 1 and 256 characters long.
18451815
* </p>
1846-
* <p>
1847-
* For a FIFO (first-in-first-out) topic, the name must end with
1848-
* the <code>.fifo</code> suffix.
1849-
* </p>
18501816
* @return createTopicResult The response from the CreateTopic service
18511817
* method, as returned by Amazon Simple Notification Service.
18521818
* @throws InvalidParameterException

aws-android-sdk-sns/src/main/java/com/amazonaws/services/sns/AmazonSNSAsync.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -514,8 +514,7 @@ Future<CreatePlatformEndpointResult> createPlatformEndpointAsync(
514514
/**
515515
* <p>
516516
* Creates a topic to which notifications can be published. Users can create
517-
* at most 100,000 standard topics (at most 1,000 FIFO topics). For more
518-
* information, see <a
517+
* at most 100,000 topics. For more information, see <a
519518
* href="http://aws.amazon.com/sns/">https://aws.amazon.com/sns</a>. This
520519
* action is idempotent, so if the requester already owns a topic with the
521520
* specified name, that topic's ARN is returned without creating a new
@@ -551,8 +550,7 @@ Future<CreateTopicResult> createTopicAsync(CreateTopicRequest createTopicRequest
551550
/**
552551
* <p>
553552
* Creates a topic to which notifications can be published. Users can create
554-
* at most 100,000 standard topics (at most 1,000 FIFO topics). For more
555-
* information, see <a
553+
* at most 100,000 topics. For more information, see <a
556554
* href="http://aws.amazon.com/sns/">https://aws.amazon.com/sns</a>. This
557555
* action is idempotent, so if the requester already owns a topic with the
558556
* specified name, that topic's ARN is returned without creating a new

aws-android-sdk-sns/src/main/java/com/amazonaws/services/sns/AmazonSNSAsyncClient.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -821,8 +821,7 @@ public CreatePlatformEndpointResult call() throws Exception {
821821
/**
822822
* <p>
823823
* Creates a topic to which notifications can be published. Users can create
824-
* at most 100,000 standard topics (at most 1,000 FIFO topics). For more
825-
* information, see <a
824+
* at most 100,000 topics. For more information, see <a
826825
* href="http://aws.amazon.com/sns/">https://aws.amazon.com/sns</a>. This
827826
* action is idempotent, so if the requester already owns a topic with the
828827
* specified name, that topic's ARN is returned without creating a new
@@ -864,8 +863,7 @@ public CreateTopicResult call() throws Exception {
864863
/**
865864
* <p>
866865
* Creates a topic to which notifications can be published. Users can create
867-
* at most 100,000 standard topics (at most 1,000 FIFO topics). For more
868-
* information, see <a
866+
* at most 100,000 topics. For more information, see <a
869867
* href="http://aws.amazon.com/sns/">https://aws.amazon.com/sns</a>. This
870868
* action is idempotent, so if the requester already owns a topic with the
871869
* specified name, that topic's ARN is returned without creating a new

aws-android-sdk-sns/src/main/java/com/amazonaws/services/sns/AmazonSNSClient.java

Lines changed: 3 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -691,8 +691,7 @@ public CreatePlatformEndpointResult createPlatformEndpoint(
691691
/**
692692
* <p>
693693
* Creates a topic to which notifications can be published. Users can create
694-
* at most 100,000 standard topics (at most 1,000 FIFO topics). For more
695-
* information, see <a
694+
* at most 100,000 topics. For more information, see <a
696695
* href="http://aws.amazon.com/sns/">https://aws.amazon.com/sns</a>. This
697696
* action is idempotent, so if the requester already owns a topic with the
698697
* specified name, that topic's ARN is returned without creating a new
@@ -2657,7 +2656,7 @@ public ConfirmSubscriptionResult confirmSubscription(String topicArn, String tok
26572656
* <ul>
26582657
* <li>
26592658
* <p>
2660-
* <code>KmsMasterKeyId</code> The ID of an AWS-managed
2659+
* <code>KmsMasterKeyId</code> - The ID of an AWS-managed
26612660
* customer master key (CMK) for Amazon SNS or a custom CMK. For
26622661
* more information, see <a href=
26632662
* "https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html#sse-key-terms"
@@ -2668,34 +2667,6 @@ public ConfirmSubscriptionResult confirmSubscription(String topicArn, String tok
26682667
* </p>
26692668
* </li>
26702669
* </ul>
2671-
* <p>
2672-
* The following attribute applies only to FIFO topics:
2673-
* </p>
2674-
* <ul>
2675-
* <li>
2676-
* <p>
2677-
* <code>ContentBasedDeduplication</code> – Enables content-based
2678-
* deduplication. Amazon SNS uses a SHA-256 hash to generate the
2679-
* <code>MessageDeduplicationId</code> using the body of the
2680-
* message (but not the attributes of the message).
2681-
* </p>
2682-
* </li>
2683-
* <li>
2684-
* <p>
2685-
* When <code>ContentBasedDeduplication</code> is in effect,
2686-
* messages with identical content sent within the deduplication
2687-
* interval are treated as duplicates and only one copy of the
2688-
* message is delivered.
2689-
* </p>
2690-
* </li>
2691-
* <li>
2692-
* <p>
2693-
* If the queue has <code>ContentBasedDeduplication</code> set,
2694-
* your <code>MessageDeduplicationId</code> overrides the
2695-
* generated one.
2696-
* </p>
2697-
* </li>
2698-
* </ul>
26992670
* @param attributeValue <p>
27002671
* The new value for the attribute.
27012672
* </p>
@@ -2724,8 +2695,7 @@ public void setTopicAttributes(String topicArn, String attributeName, String att
27242695
/**
27252696
* <p>
27262697
* Creates a topic to which notifications can be published. Users can create
2727-
* at most 100,000 standard topics (at most 1,000 FIFO topics). For more
2728-
* information, see <a
2698+
* at most 100,000 topics. For more information, see <a
27292699
* href="http://aws.amazon.com/sns/">https://aws.amazon.com/sns</a>. This
27302700
* action is idempotent, so if the requester already owns a topic with the
27312701
* specified name, that topic's ARN is returned without creating a new
@@ -2740,10 +2710,6 @@ public void setTopicAttributes(String topicArn, String attributeName, String att
27402710
* lowercase ASCII letters, numbers, underscores, and hyphens,
27412711
* and must be between 1 and 256 characters long.
27422712
* </p>
2743-
* <p>
2744-
* For a FIFO (first-in-first-out) topic, the name must end with
2745-
* the <code>.fifo</code> suffix.
2746-
* </p>
27472713
* @return createTopicResult The response from the CreateTopic service
27482714
* method, as returned by Amazon Simple Notification Service.
27492715
* @throws InvalidParameterException

0 commit comments

Comments
 (0)