aws-sdk-sns 1.23.0 → 1.28.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3894b5b22dc0342f12d95671c956e0882159fb2933d55312efc3bf686c8d354e
4
- data.tar.gz: c14cd8e726026183608f9d5ecffa861be9532ce6c4c045e4625a52be7a354c49
3
+ metadata.gz: 45b8acdaa8ab119ccffadab846b65abd4c95c10d4721cf74a5ff3f6ab601f2bf
4
+ data.tar.gz: f289d6e41b035a989bf9c6a7eea842d29914ea012572d293b04c3c2a92bf6d59
5
5
  SHA512:
6
- metadata.gz: 7bca415a7bab5f9d6d41b72d43806c88cf276c9c465faa908bdb93c32417c844eaf1d2b8e1501dc274a9f423fd578e72859f6fd74e052b2b16746f386ba79005
7
- data.tar.gz: a88a9fc4d1d6b56df49c9703bc45417e4631838c32e13c8f5e772f7db39e8ad9de05a750d02adc8beadb61acf7d76e1fe621f98ddf1194c9ff1f39379a6c1d82
6
+ metadata.gz: a4efacd88554360f4ab4a1f08589b4ee5a8794f9a77eb470f3a0c9f5859ab0cf87944cf5772e5d9e27f8e753795c4eda5749b5224c1f3758c1c03ea84a38ff1b
7
+ data.tar.gz: 391eb3b717fec77c7e07fa22ca56126c426b7dc5d2dd39d76ca30ae456bb2e62b15af6f3a036ee345a485819717d0fcf39e6ef90812e926480cbec0783e04294
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -49,6 +51,6 @@ require_relative 'aws-sdk-sns/customizations'
49
51
  # @service
50
52
  module Aws::SNS
51
53
 
52
- GEM_VERSION = '1.23.0'
54
+ GEM_VERSION = '1.28.0'
53
55
 
54
56
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/query.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::SNS
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::Query)
74
78
 
@@ -161,7 +165,7 @@ module Aws::SNS
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +180,7 @@ module Aws::SNS
176
180
  # requests fetching endpoints information. Defaults to 60 sec.
177
181
  #
178
182
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
184
  #
181
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
186
  # The log formatter.
@@ -425,25 +429,34 @@ module Aws::SNS
425
429
  end
426
430
 
427
431
  # Creates a platform application object for one of the supported push
428
- # notification services, such as APNS and FCM, to which devices and
429
- # mobile apps may register. You must specify PlatformPrincipal and
430
- # PlatformCredential attributes when using the
431
- # `CreatePlatformApplication` action. The PlatformPrincipal is received
432
- # from the notification service. For APNS/APNS\_SANDBOX,
433
- # PlatformPrincipal is "SSL certificate". For FCM, PlatformPrincipal
434
- # is not applicable. For ADM, PlatformPrincipal is "client id". The
435
- # PlatformCredential is also received from the notification service. For
436
- # WNS, PlatformPrincipal is "Package Security Identifier". For MPNS,
437
- # PlatformPrincipal is "TLS certificate". For Baidu, PlatformPrincipal
438
- # is "API key".
439
- #
440
- # For APNS/APNS\_SANDBOX, PlatformCredential is "private key". For
441
- # FCM, PlatformCredential is "API key". For ADM, PlatformCredential is
442
- # "client secret". For WNS, PlatformCredential is "secret key". For
443
- # MPNS, PlatformCredential is "private key". For Baidu,
444
- # PlatformCredential is "secret key". The PlatformApplicationArn that
445
- # is returned when using `CreatePlatformApplication` is then used as an
446
- # attribute for the `CreatePlatformEndpoint` action.
432
+ # notification services, such as APNS and GCM (Firebase Cloud
433
+ # Messaging), to which devices and mobile apps may register. You must
434
+ # specify `PlatformPrincipal` and `PlatformCredential` attributes when
435
+ # using the `CreatePlatformApplication` action.
436
+ #
437
+ # `PlatformPrincipal` and `PlatformCredential` are received from the
438
+ # notification service.
439
+ #
440
+ # * For `ADM`, `PlatformPrincipal` is `client id` and
441
+ # `PlatformCredential` is `client secret`.
442
+ #
443
+ # * For `Baidu`, `PlatformPrincipal` is `API key` and
444
+ # `PlatformCredential` is `secret key`.
445
+ #
446
+ # * For `APNS` and `APNS_SANDBOX`, `PlatformPrincipal` is `SSL
447
+ # certificate` and `PlatformCredential` is `private key`.
448
+ #
449
+ # * For `GCM` (Firebase Cloud Messaging), there is no
450
+ # `PlatformPrincipal` and the `PlatformCredential` is `API key`.
451
+ #
452
+ # * For `MPNS`, `PlatformPrincipal` is `TLS certificate` and
453
+ # `PlatformCredential` is `private key`.
454
+ #
455
+ # * For `WNS`, `PlatformPrincipal` is `Package Security Identifier` and
456
+ # `PlatformCredential` is `secret key`.
457
+ #
458
+ # You can use the returned `PlatformApplicationArn` as an attribute for
459
+ # the `CreatePlatformEndpoint` action.
447
460
  #
448
461
  # @option params [required, String] :name
449
462
  # Application names must be made up of only uppercase and lowercase
@@ -452,7 +465,7 @@ module Aws::SNS
452
465
  #
453
466
  # @option params [required, String] :platform
454
467
  # The following platforms are supported: ADM (Amazon Device Messaging),
455
- # APNS (Apple Push Notification Service), APNS\_SANDBOX, and FCM
468
+ # APNS (Apple Push Notification Service), APNS\_SANDBOX, and GCM
456
469
  # (Firebase Cloud Messaging).
457
470
  #
458
471
  # @option params [required, Hash<String,String>] :attributes
@@ -490,16 +503,16 @@ module Aws::SNS
490
503
  end
491
504
 
492
505
  # Creates an endpoint for a device and mobile app on one of the
493
- # supported push notification services, such as FCM and APNS.
494
- # `CreatePlatformEndpoint` requires the PlatformApplicationArn that is
495
- # returned from `CreatePlatformApplication`. The EndpointArn that is
496
- # returned when using `CreatePlatformEndpoint` can then be used by the
497
- # `Publish` action to send a message to a mobile app or by the
498
- # `Subscribe` action for subscription to a topic. The
499
- # `CreatePlatformEndpoint` action is idempotent, so if the requester
500
- # already owns an endpoint with the same device token and attributes,
501
- # that endpoint's ARN is returned without creating a new endpoint. For
502
- # more information, see [Using Amazon SNS Mobile Push Notifications][1].
506
+ # supported push notification services, such as GCM (Firebase Cloud
507
+ # Messaging) and APNS. `CreatePlatformEndpoint` requires the
508
+ # `PlatformApplicationArn` that is returned from
509
+ # `CreatePlatformApplication`. You can use the returned `EndpointArn` to
510
+ # send a message to a mobile app or by the `Subscribe` action for
511
+ # subscription to a topic. The `CreatePlatformEndpoint` action is
512
+ # idempotent, so if the requester already owns an endpoint with the same
513
+ # device token and attributes, that endpoint's ARN is returned without
514
+ # creating a new endpoint. For more information, see [Using Amazon SNS
515
+ # Mobile Push Notifications][1].
503
516
  #
504
517
  # When using `CreatePlatformEndpoint` with Baidu, two attributes must be
505
518
  # provided: ChannelId and UserId. The token field must also contain the
@@ -520,8 +533,8 @@ module Aws::SNS
520
533
  # device. The specific name for Token will vary, depending on which
521
534
  # notification service is being used. For example, when using APNS as
522
535
  # the notification service, you need the device token. Alternatively,
523
- # when using FCM or ADM, the device token equivalent is called the
524
- # registration ID.
536
+ # when using GCM (Firebase Cloud Messaging) or ADM, the device token
537
+ # equivalent is called the registration ID.
525
538
  #
526
539
  # @option params [String] :custom_user_data
527
540
  # Arbitrary user data to associate with the endpoint. Amazon SNS does
@@ -563,10 +576,11 @@ module Aws::SNS
563
576
  end
564
577
 
565
578
  # Creates a topic to which notifications can be published. Users can
566
- # create at most 100,000 topics. For more information, see
567
- # [https://aws.amazon.com/sns][1]. This action is idempotent, so if the
568
- # requester already owns a topic with the specified name, that topic's
569
- # ARN is returned without creating a new topic.
579
+ # create at most 100,000 standard topics (at most 1,000 FIFO topics).
580
+ # For more information, see [https://aws.amazon.com/sns][1]. This action
581
+ # is idempotent, so if the requester already owns a topic with the
582
+ # specified name, that topic's ARN is returned without creating a new
583
+ # topic.
570
584
  #
571
585
  #
572
586
  #
@@ -579,6 +593,9 @@ module Aws::SNS
579
593
  # lowercase ASCII letters, numbers, underscores, and hyphens, and must
580
594
  # be between 1 and 256 characters long.
581
595
  #
596
+ # For a FIFO (first-in-first-out) topic, the name must end with the
597
+ # `.fifo` suffix.
598
+ #
582
599
  # @option params [Hash<String,String>] :attributes
583
600
  # A map of attributes with their corresponding values.
584
601
  #
@@ -591,18 +608,34 @@ module Aws::SNS
591
608
  # * `DisplayName` – The display name to use for a topic with SMS
592
609
  # subscriptions.
593
610
  #
611
+ # * `FifoTopic` – Set to true to create a FIFO topic.
612
+ #
594
613
  # * `Policy` – The policy that defines who can access your topic. By
595
614
  # default, only the topic owner can publish or subscribe to the topic.
596
615
  #
597
616
  # The following attribute applies only to [server-side-encryption][1]\:
598
617
  #
599
- # * `KmsMasterKeyId` - The ID of an AWS-managed customer master key
618
+ # * `KmsMasterKeyId` The ID of an AWS-managed customer master key
600
619
  # (CMK) for Amazon SNS or a custom CMK. For more information, see [Key
601
620
  # Terms][2]. For more examples, see [KeyId][3] in the *AWS Key
602
621
  # Management Service API Reference*.
603
622
  #
604
623
  # ^
605
624
  #
625
+ # The following attribute applies only to FIFO topics:
626
+ #
627
+ # * `ContentBasedDeduplication` – Enables content-based deduplication.
628
+ # Amazon SNS uses a SHA-256 hash to generate the
629
+ # `MessageDeduplicationId` using the body of the message (but not the
630
+ # attributes of the message).
631
+ #
632
+ # * When `ContentBasedDeduplication` is in effect, messages with
633
+ # identical content sent within the deduplication interval are treated
634
+ # as duplicates and only one copy of the message is delivered.
635
+ #
636
+ # * If the queue has `ContentBasedDeduplication` set, your
637
+ # `MessageDeduplicationId` overrides the generated one.
638
+ #
606
639
  #
607
640
  #
608
641
  # [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
@@ -681,8 +714,9 @@ module Aws::SNS
681
714
  end
682
715
 
683
716
  # Deletes a platform application object for one of the supported push
684
- # notification services, such as APNS and FCM. For more information, see
685
- # [Using Amazon SNS Mobile Push Notifications][1].
717
+ # notification services, such as APNS and GCM (Firebase Cloud
718
+ # Messaging). For more information, see [Using Amazon SNS Mobile Push
719
+ # Notifications][1].
686
720
  #
687
721
  #
688
722
  #
@@ -734,8 +768,9 @@ module Aws::SNS
734
768
  end
735
769
 
736
770
  # Retrieves the endpoint attributes for a device on one of the supported
737
- # push notification services, such as FCM and APNS. For more
738
- # information, see [Using Amazon SNS Mobile Push Notifications][1].
771
+ # push notification services, such as GCM (Firebase Cloud Messaging) and
772
+ # APNS. For more information, see [Using Amazon SNS Mobile Push
773
+ # Notifications][1].
739
774
  #
740
775
  #
741
776
  #
@@ -769,8 +804,9 @@ module Aws::SNS
769
804
  end
770
805
 
771
806
  # Retrieves the attributes of the platform application object for the
772
- # supported push notification services, such as APNS and FCM. For more
773
- # information, see [Using Amazon SNS Mobile Push Notifications][1].
807
+ # supported push notification services, such as APNS and GCM (Firebase
808
+ # Cloud Messaging). For more information, see [Using Amazon SNS Mobile
809
+ # Push Notifications][1].
774
810
  #
775
811
  #
776
812
  #
@@ -904,11 +940,11 @@ module Aws::SNS
904
940
  end
905
941
 
906
942
  # Lists the endpoints and endpoint attributes for devices in a supported
907
- # push notification service, such as FCM and APNS. The results for
908
- # `ListEndpointsByPlatformApplication` are paginated and return a
909
- # limited list of endpoints, up to 100. If additional records are
910
- # available after the first page results, then a NextToken string will
911
- # be returned. To receive the next page, you call
943
+ # push notification service, such as GCM (Firebase Cloud Messaging) and
944
+ # APNS. The results for `ListEndpointsByPlatformApplication` are
945
+ # paginated and return a limited list of endpoints, up to 100. If
946
+ # additional records are available after the first page results, then a
947
+ # NextToken string will be returned. To receive the next page, you call
912
948
  # `ListEndpointsByPlatformApplication` again using the NextToken string
913
949
  # received from the previous call. When there are no more records to
914
950
  # return, NextToken will be null. For more information, see [Using
@@ -1003,14 +1039,15 @@ module Aws::SNS
1003
1039
  end
1004
1040
 
1005
1041
  # Lists the platform application objects for the supported push
1006
- # notification services, such as APNS and FCM. The results for
1007
- # `ListPlatformApplications` are paginated and return a limited list of
1008
- # applications, up to 100. If additional records are available after the
1009
- # first page results, then a NextToken string will be returned. To
1010
- # receive the next page, you call `ListPlatformApplications` using the
1011
- # NextToken string received from the previous call. When there are no
1012
- # more records to return, NextToken will be null. For more information,
1013
- # see [Using Amazon SNS Mobile Push Notifications][1].
1042
+ # notification services, such as APNS and GCM (Firebase Cloud
1043
+ # Messaging). The results for `ListPlatformApplications` are paginated
1044
+ # and return a limited list of applications, up to 100. If additional
1045
+ # records are available after the first page results, then a NextToken
1046
+ # string will be returned. To receive the next page, you call
1047
+ # `ListPlatformApplications` using the NextToken string received from
1048
+ # the previous call. When there are no more records to return,
1049
+ # `NextToken` will be null. For more information, see [Using Amazon SNS
1050
+ # Mobile Push Notifications][1].
1014
1051
  #
1015
1052
  # This action is throttled at 15 transactions per second (TPS).
1016
1053
  #
@@ -1241,8 +1278,9 @@ module Aws::SNS
1241
1278
  req.send_request(options)
1242
1279
  end
1243
1280
 
1244
- # Sends a message to an Amazon SNS topic or sends a text message (SMS
1245
- # message) directly to a phone number.
1281
+ # Sends a message to an Amazon SNS topic, a text message (SMS message)
1282
+ # directly to a phone number, or a message to a mobile platform endpoint
1283
+ # (when you specify the `TargetArn`).
1246
1284
  #
1247
1285
  # If you send a message to a topic, Amazon SNS delivers the message to
1248
1286
  # each endpoint that is subscribed to the topic. The format of the
@@ -1261,6 +1299,9 @@ module Aws::SNS
1261
1299
  # For more information about formatting messages, see [Send Custom
1262
1300
  # Platform-Specific Payloads in Messages to Mobile Devices][1].
1263
1301
  #
1302
+ # You can publish messages only to topics and endpoints in the same AWS
1303
+ # Region.
1304
+ #
1264
1305
  #
1265
1306
  #
1266
1307
  # [1]: https://docs.aws.amazon.com/sns/latest/dg/mobile-push-send-custommessage.html
@@ -1429,8 +1470,9 @@ module Aws::SNS
1429
1470
  end
1430
1471
 
1431
1472
  # Sets the attributes for an endpoint for a device on one of the
1432
- # supported push notification services, such as FCM and APNS. For more
1433
- # information, see [Using Amazon SNS Mobile Push Notifications][1].
1473
+ # supported push notification services, such as GCM (Firebase Cloud
1474
+ # Messaging) and APNS. For more information, see [Using Amazon SNS
1475
+ # Mobile Push Notifications][1].
1434
1476
  #
1435
1477
  #
1436
1478
  #
@@ -1478,11 +1520,11 @@ module Aws::SNS
1478
1520
  end
1479
1521
 
1480
1522
  # Sets the attributes of the platform application object for the
1481
- # supported push notification services, such as APNS and FCM. For more
1482
- # information, see [Using Amazon SNS Mobile Push Notifications][1]. For
1483
- # information on configuring attributes for message delivery status, see
1484
- # [Using Amazon SNS Application Attributes for Message Delivery
1485
- # Status][2].
1523
+ # supported push notification services, such as APNS and GCM (Firebase
1524
+ # Cloud Messaging). For more information, see [Using Amazon SNS Mobile
1525
+ # Push Notifications][1]. For information on configuring attributes for
1526
+ # message delivery status, see [Using Amazon SNS Application Attributes
1527
+ # for Message Delivery Status][2].
1486
1528
  #
1487
1529
  #
1488
1530
  #
@@ -1497,26 +1539,27 @@ module Aws::SNS
1497
1539
  # include the following:
1498
1540
  #
1499
1541
  # * `PlatformCredential` – The credential received from the notification
1500
- # service. For APNS/APNS\_SANDBOX, PlatformCredential is private key.
1501
- # For FCM, PlatformCredential is "API key". For ADM,
1502
- # PlatformCredential is "client secret".
1542
+ # service. For `APNS` and `APNS_SANDBOX`, `PlatformCredential` is
1543
+ # `private key`. For `GCM` (Firebase Cloud Messaging),
1544
+ # `PlatformCredential` is `API key`. For `ADM`, `PlatformCredential`
1545
+ # is `client secret`.
1503
1546
  #
1504
1547
  # * `PlatformPrincipal` – The principal received from the notification
1505
- # service. For APNS/APNS\_SANDBOX, PlatformPrincipal is SSL
1506
- # certificate. For FCM, PlatformPrincipal is not applicable. For ADM,
1507
- # PlatformPrincipal is "client id".
1548
+ # service. For `APNS` and `APNS_SANDBOX`, `PlatformPrincipal` is `SSL
1549
+ # certificate`. For `GCM` (Firebase Cloud Messaging), there is no
1550
+ # `PlatformPrincipal`. For `ADM`, `PlatformPrincipal` is `client id`.
1508
1551
  #
1509
- # * `EventEndpointCreated` – Topic ARN to which EndpointCreated event
1510
- # notifications should be sent.
1552
+ # * `EventEndpointCreated` – Topic ARN to which `EndpointCreated` event
1553
+ # notifications are sent.
1511
1554
  #
1512
- # * `EventEndpointDeleted` – Topic ARN to which EndpointDeleted event
1513
- # notifications should be sent.
1555
+ # * `EventEndpointDeleted` – Topic ARN to which `EndpointDeleted` event
1556
+ # notifications are sent.
1514
1557
  #
1515
- # * `EventEndpointUpdated` – Topic ARN to which EndpointUpdate event
1516
- # notifications should be sent.
1558
+ # * `EventEndpointUpdated` – Topic ARN to which `EndpointUpdate` event
1559
+ # notifications are sent.
1517
1560
  #
1518
- # * `EventDeliveryFailure` – Topic ARN to which DeliveryFailure event
1519
- # notifications should be sent upon Direct Publish delivery failure
1561
+ # * `EventDeliveryFailure` – Topic ARN to which `DeliveryFailure` event
1562
+ # notifications are sent upon Direct Publish delivery failure
1520
1563
  # (permanent) to one of the application's endpoints.
1521
1564
  #
1522
1565
  # * `SuccessFeedbackRoleArn` – IAM role ARN used to give Amazon SNS
@@ -1738,13 +1781,27 @@ module Aws::SNS
1738
1781
  #
1739
1782
  # The following attribute applies only to [server-side-encryption][1]\:
1740
1783
  #
1741
- # * `KmsMasterKeyId` - The ID of an AWS-managed customer master key
1784
+ # * `KmsMasterKeyId` The ID of an AWS-managed customer master key
1742
1785
  # (CMK) for Amazon SNS or a custom CMK. For more information, see [Key
1743
1786
  # Terms][2]. For more examples, see [KeyId][3] in the *AWS Key
1744
1787
  # Management Service API Reference*.
1745
1788
  #
1746
1789
  # ^
1747
1790
  #
1791
+ # The following attribute applies only to FIFO topics:
1792
+ #
1793
+ # * `ContentBasedDeduplication` – Enables content-based deduplication.
1794
+ # Amazon SNS uses a SHA-256 hash to generate the
1795
+ # `MessageDeduplicationId` using the body of the message (but not the
1796
+ # attributes of the message).
1797
+ #
1798
+ # * When `ContentBasedDeduplication` is in effect, messages with
1799
+ # identical content sent within the deduplication interval are treated
1800
+ # as duplicates and only one copy of the message is delivered.
1801
+ #
1802
+ # * If the queue has `ContentBasedDeduplication` set, your
1803
+ # `MessageDeduplicationId` overrides the generated one.
1804
+ #
1748
1805
  #
1749
1806
  #
1750
1807
  # [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
@@ -1773,11 +1830,13 @@ module Aws::SNS
1773
1830
  req.send_request(options)
1774
1831
  end
1775
1832
 
1776
- # Prepares to subscribe an endpoint by sending the endpoint a
1777
- # confirmation message. To actually create a subscription, the endpoint
1778
- # owner must call the `ConfirmSubscription` action with the token from
1779
- # the confirmation message. Confirmation tokens are valid for three
1780
- # days.
1833
+ # Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is
1834
+ # HTTP/S or email, or if the endpoint and the topic are not in the same
1835
+ # AWS account, the endpoint owner must the `ConfirmSubscription` action
1836
+ # to confirm the subscription.
1837
+ #
1838
+ # You call the `ConfirmSubscription` action with the token from the
1839
+ # subscription response. Confirmation tokens are valid for three days.
1781
1840
  #
1782
1841
  # This action is throttled at 100 transactions per second (TPS).
1783
1842
  #
@@ -1809,11 +1868,11 @@ module Aws::SNS
1809
1868
  # The endpoint that you want to receive notifications. Endpoints vary by
1810
1869
  # protocol:
1811
1870
  #
1812
- # * For the `http` protocol, the endpoint is an URL beginning with
1813
- # `http://`
1871
+ # * For the `http` protocol, the (public) endpoint is a URL beginning
1872
+ # with `http://`
1814
1873
  #
1815
- # * For the `https` protocol, the endpoint is a URL beginning with
1816
- # `https://`
1874
+ # * For the `https` protocol, the (public) endpoint is a URL beginning
1875
+ # with `https://`
1817
1876
  #
1818
1877
  # * For the `email` protocol, the endpoint is an email address
1819
1878
  #
@@ -1860,16 +1919,17 @@ module Aws::SNS
1860
1919
  # Sets whether the response from the `Subscribe` request includes the
1861
1920
  # subscription ARN, even if the subscription is not yet confirmed.
1862
1921
  #
1863
- # * If you have the subscription ARN returned, the response includes the
1864
- # ARN in all cases, even if the subscription is not yet confirmed.
1922
+ # * If you set this parameter to `true`, the response includes the ARN
1923
+ # in all cases, even if the subscription is not yet confirmed. In
1924
+ # addition to the ARN for confirmed subscriptions, the response also
1925
+ # includes the `pending subscription` ARN value for subscriptions that
1926
+ # aren't yet confirmed. A subscription becomes confirmed when the
1927
+ # subscriber calls the `ConfirmSubscription` action with a
1928
+ # confirmation token.
1929
+ #
1930
+ # ^
1865
1931
  #
1866
- # * If you don't have the subscription ARN returned, in addition to the
1867
- # ARN for confirmed subscriptions, the response also includes the
1868
- # `pending subscription` ARN value for subscriptions that aren't yet
1869
- # confirmed. A subscription becomes confirmed when the subscriber
1870
- # calls the `ConfirmSubscription` action with a confirmation token.
1871
1932
  #
1872
- # If you set this parameter to `true`, .
1873
1933
  #
1874
1934
  # The default value is `false`.
1875
1935
  #
@@ -2030,7 +2090,7 @@ module Aws::SNS
2030
2090
  params: params,
2031
2091
  config: config)
2032
2092
  context[:gem_name] = 'aws-sdk-sns'
2033
- context[:gem_version] = '1.23.0'
2093
+ context[:gem_version] = '1.28.0'
2034
2094
  Seahorse::Client::Request.new(handlers, context)
2035
2095
  end
2036
2096