aws-sdk-sns 1.76.0 → 1.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sns/client.rb +25 -28
- data/lib/aws-sdk-sns/client_api.rb +2 -0
- data/lib/aws-sdk-sns/platform_endpoint.rb +2 -3
- data/lib/aws-sdk-sns/resource.rb +1 -1
- data/lib/aws-sdk-sns/subscription.rb +12 -14
- data/lib/aws-sdk-sns/topic.rb +8 -10
- data/lib/aws-sdk-sns/types.rb +22 -23
- data/lib/aws-sdk-sns.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8052f2e801d8718791670cb9dc1143b2174aba07f235dddfccdbc3808312796
|
4
|
+
data.tar.gz: afcdba89a06e9ae37f490dc05ec6ad56cde6119433b32bf54049334f2fdf2980
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f7ff98e7db86dc18bd00d1fd4bf62e634f9d14245d873ad03021257364472b1caf476fe0d5c003f45a6b86a72cdb61e998dcc35d32998afb448b1615220d32a
|
7
|
+
data.tar.gz: 547f429b0fd886a25ae9d704f7344a476027b4c00652be2e037f05c5c433f87015af408ec664be1437532bd9b9563a169fc05e6d45ff9dfec544f2a37dfbb3c8
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.77.0
|
data/lib/aws-sdk-sns/client.rb
CHANGED
@@ -546,20 +546,20 @@ module Aws::SNS
|
|
546
546
|
# `PlatformPrincipal` and `PlatformCredential` are received from the
|
547
547
|
# notification service.
|
548
548
|
#
|
549
|
-
# * For
|
550
|
-
#
|
549
|
+
# * For ADM, `PlatformPrincipal` is `client id` and `PlatformCredential`
|
550
|
+
# is `client secret`.
|
551
551
|
#
|
552
|
-
# * For
|
553
|
-
# `PlatformCredential` is `secret key`.
|
554
|
-
#
|
555
|
-
# * For `APNS` and `APNS_SANDBOX` using certificate credentials,
|
552
|
+
# * For APNS and `APNS_SANDBOX` using certificate credentials,
|
556
553
|
# `PlatformPrincipal` is `SSL certificate` and `PlatformCredential` is
|
557
554
|
# `private key`.
|
558
555
|
#
|
559
|
-
# * For
|
556
|
+
# * For APNS and `APNS_SANDBOX` using token credentials,
|
560
557
|
# `PlatformPrincipal` is `signing key ID` and `PlatformCredential` is
|
561
558
|
# `signing key`.
|
562
559
|
#
|
560
|
+
# * For Baidu, `PlatformPrincipal` is `API key` and `PlatformCredential`
|
561
|
+
# is `secret key`.
|
562
|
+
#
|
563
563
|
# * For GCM (Firebase Cloud Messaging) using key credentials, there is
|
564
564
|
# no `PlatformPrincipal`. The `PlatformCredential` is `API key`.
|
565
565
|
#
|
@@ -570,10 +570,10 @@ module Aws::SNS
|
|
570
570
|
# format the file correctly, Amazon SNS recommends using the following
|
571
571
|
# command: `` SERVICE_JSON=`jq @json <<< cat service.json` ``.
|
572
572
|
#
|
573
|
-
# * For
|
573
|
+
# * For MPNS, `PlatformPrincipal` is `TLS certificate` and
|
574
574
|
# `PlatformCredential` is `private key`.
|
575
575
|
#
|
576
|
-
# * For
|
576
|
+
# * For WNS, `PlatformPrincipal` is `Package Security Identifier` and
|
577
577
|
# `PlatformCredential` is `secret key`.
|
578
578
|
#
|
579
579
|
# You can use the returned `PlatformApplicationArn` as an attribute for
|
@@ -765,7 +765,7 @@ module Aws::SNS
|
|
765
765
|
# @option params [Hash<String,String>] :attributes
|
766
766
|
# A map of attributes with their corresponding values.
|
767
767
|
#
|
768
|
-
# The following lists
|
768
|
+
# The following lists names, descriptions, and values of the special
|
769
769
|
# request parameters that the `CreateTopic` action uses:
|
770
770
|
#
|
771
771
|
# * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
|
@@ -1801,9 +1801,8 @@ module Aws::SNS
|
|
1801
1801
|
# is delivered to email endpoints. This field will also be included, if
|
1802
1802
|
# present, in the standard JSON messages delivered to other endpoints.
|
1803
1803
|
#
|
1804
|
-
# Constraints: Subjects must be
|
1805
|
-
#
|
1806
|
-
# characters; and must be less than 100 characters long.
|
1804
|
+
# Constraints: Subjects must be UTF-8 text with no line breaks or
|
1805
|
+
# control characters, and less than 100 characters long.
|
1807
1806
|
#
|
1808
1807
|
# @option params [String] :message_structure
|
1809
1808
|
# Set `MessageStructure` to `json` if you want to send a different
|
@@ -2368,20 +2367,19 @@ module Aws::SNS
|
|
2368
2367
|
# service that powers the subscribed endpoint becomes unavailable) are
|
2369
2368
|
# held in the dead-letter queue for further analysis or reprocessing.
|
2370
2369
|
#
|
2371
|
-
# The following attribute applies only to Amazon
|
2372
|
-
#
|
2370
|
+
# The following attribute applies only to Amazon Data Firehose delivery
|
2371
|
+
# stream subscriptions:
|
2373
2372
|
#
|
2374
2373
|
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
2375
2374
|
# following:
|
2376
2375
|
#
|
2377
|
-
# * Permission to write to the
|
2376
|
+
# * Permission to write to the Firehose delivery stream
|
2378
2377
|
#
|
2379
2378
|
# * Amazon SNS listed as a trusted entity
|
2380
2379
|
#
|
2381
|
-
# Specifying a valid ARN for this attribute is required for
|
2382
|
-
#
|
2383
|
-
#
|
2384
|
-
# *Amazon SNS Developer Guide*.
|
2380
|
+
# Specifying a valid ARN for this attribute is required for Firehose
|
2381
|
+
# delivery stream subscriptions. For more information, see [Fanout to
|
2382
|
+
# Firehose delivery streams][1] in the *Amazon SNS Developer Guide*.
|
2385
2383
|
#
|
2386
2384
|
#
|
2387
2385
|
#
|
@@ -2698,20 +2696,19 @@ module Aws::SNS
|
|
2698
2696
|
# service that powers the subscribed endpoint becomes unavailable) are
|
2699
2697
|
# held in the dead-letter queue for further analysis or reprocessing.
|
2700
2698
|
#
|
2701
|
-
# The following attribute applies only to Amazon
|
2702
|
-
#
|
2699
|
+
# The following attribute applies only to Amazon Data Firehose delivery
|
2700
|
+
# stream subscriptions:
|
2703
2701
|
#
|
2704
2702
|
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
2705
2703
|
# following:
|
2706
2704
|
#
|
2707
|
-
# * Permission to write to the
|
2705
|
+
# * Permission to write to the Firehose delivery stream
|
2708
2706
|
#
|
2709
2707
|
# * Amazon SNS listed as a trusted entity
|
2710
2708
|
#
|
2711
|
-
# Specifying a valid ARN for this attribute is required for
|
2712
|
-
#
|
2713
|
-
#
|
2714
|
-
# *Amazon SNS Developer Guide*.
|
2709
|
+
# Specifying a valid ARN for this attribute is required for Firehose
|
2710
|
+
# delivery stream subscriptions. For more information, see [Fanout to
|
2711
|
+
# Firehose delivery streams][1] in the *Amazon SNS Developer Guide*.
|
2715
2712
|
#
|
2716
2713
|
# The following attributes apply only to [FIFO topics][2]:
|
2717
2714
|
#
|
@@ -2959,7 +2956,7 @@ module Aws::SNS
|
|
2959
2956
|
params: params,
|
2960
2957
|
config: config)
|
2961
2958
|
context[:gem_name] = 'aws-sdk-sns'
|
2962
|
-
context[:gem_version] = '1.
|
2959
|
+
context[:gem_version] = '1.77.0'
|
2963
2960
|
Seahorse::Client::Request.new(handlers, context)
|
2964
2961
|
end
|
2965
2962
|
|
@@ -665,8 +665,10 @@ module Aws::SNS
|
|
665
665
|
|
666
666
|
api.metadata = {
|
667
667
|
"apiVersion" => "2010-03-31",
|
668
|
+
"auth" => ["aws.auth#sigv4"],
|
668
669
|
"endpointPrefix" => "sns",
|
669
670
|
"protocol" => "query",
|
671
|
+
"protocols" => ["query"],
|
670
672
|
"serviceAbbreviation" => "Amazon SNS",
|
671
673
|
"serviceFullName" => "Amazon Simple Notification Service",
|
672
674
|
"serviceId" => "SNS",
|
@@ -200,9 +200,8 @@ module Aws::SNS
|
|
200
200
|
# is delivered to email endpoints. This field will also be included, if
|
201
201
|
# present, in the standard JSON messages delivered to other endpoints.
|
202
202
|
#
|
203
|
-
# Constraints: Subjects must be
|
204
|
-
#
|
205
|
-
# characters; and must be less than 100 characters long.
|
203
|
+
# Constraints: Subjects must be UTF-8 text with no line breaks or
|
204
|
+
# control characters, and less than 100 characters long.
|
206
205
|
# @option options [String] :message_structure
|
207
206
|
# Set `MessageStructure` to `json` if you want to send a different
|
208
207
|
# message for each protocol. For example, using one publish action, you
|
data/lib/aws-sdk-sns/resource.rb
CHANGED
@@ -99,7 +99,7 @@ module Aws::SNS
|
|
99
99
|
# @option options [Hash<String,String>] :attributes
|
100
100
|
# A map of attributes with their corresponding values.
|
101
101
|
#
|
102
|
-
# The following lists
|
102
|
+
# The following lists names, descriptions, and values of the special
|
103
103
|
# request parameters that the `CreateTopic` action uses:
|
104
104
|
#
|
105
105
|
# * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
|
@@ -81,20 +81,19 @@ module Aws::SNS
|
|
81
81
|
#
|
82
82
|
# * `TopicArn` – The topic ARN that the subscription is associated with.
|
83
83
|
#
|
84
|
-
# The following attribute applies only to Amazon
|
85
|
-
#
|
84
|
+
# The following attribute applies only to Amazon Data Firehose delivery
|
85
|
+
# stream subscriptions:
|
86
86
|
#
|
87
87
|
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
88
88
|
# following:
|
89
89
|
#
|
90
|
-
# * Permission to write to the
|
90
|
+
# * Permission to write to the Firehose delivery stream
|
91
91
|
#
|
92
92
|
# * Amazon SNS listed as a trusted entity
|
93
93
|
#
|
94
|
-
# Specifying a valid ARN for this attribute is required for
|
95
|
-
#
|
96
|
-
#
|
97
|
-
# *Amazon SNS Developer Guide*.
|
94
|
+
# Specifying a valid ARN for this attribute is required for Firehose
|
95
|
+
# delivery stream subscriptions. For more information, see [Fanout to
|
96
|
+
# Firehose delivery streams][2] in the *Amazon SNS Developer Guide*.
|
98
97
|
#
|
99
98
|
#
|
100
99
|
#
|
@@ -197,20 +196,19 @@ module Aws::SNS
|
|
197
196
|
# service that powers the subscribed endpoint becomes unavailable) are
|
198
197
|
# held in the dead-letter queue for further analysis or reprocessing.
|
199
198
|
#
|
200
|
-
# The following attribute applies only to Amazon
|
201
|
-
#
|
199
|
+
# The following attribute applies only to Amazon Data Firehose delivery
|
200
|
+
# stream subscriptions:
|
202
201
|
#
|
203
202
|
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
204
203
|
# following:
|
205
204
|
#
|
206
|
-
# * Permission to write to the
|
205
|
+
# * Permission to write to the Firehose delivery stream
|
207
206
|
#
|
208
207
|
# * Amazon SNS listed as a trusted entity
|
209
208
|
#
|
210
|
-
# Specifying a valid ARN for this attribute is required for
|
211
|
-
#
|
212
|
-
#
|
213
|
-
# *Amazon SNS Developer Guide*.
|
209
|
+
# Specifying a valid ARN for this attribute is required for Firehose
|
210
|
+
# delivery stream subscriptions. For more information, see [Fanout to
|
211
|
+
# Firehose delivery streams][1] in the *Amazon SNS Developer Guide*.
|
214
212
|
#
|
215
213
|
#
|
216
214
|
#
|
data/lib/aws-sdk-sns/topic.rb
CHANGED
@@ -322,9 +322,8 @@ module Aws::SNS
|
|
322
322
|
# is delivered to email endpoints. This field will also be included, if
|
323
323
|
# present, in the standard JSON messages delivered to other endpoints.
|
324
324
|
#
|
325
|
-
# Constraints: Subjects must be
|
326
|
-
#
|
327
|
-
# characters; and must be less than 100 characters long.
|
325
|
+
# Constraints: Subjects must be UTF-8 text with no line breaks or
|
326
|
+
# control characters, and less than 100 characters long.
|
328
327
|
# @option options [String] :message_structure
|
329
328
|
# Set `MessageStructure` to `json` if you want to send a different
|
330
329
|
# message for each protocol. For example, using one publish action, you
|
@@ -663,20 +662,19 @@ module Aws::SNS
|
|
663
662
|
# service that powers the subscribed endpoint becomes unavailable) are
|
664
663
|
# held in the dead-letter queue for further analysis or reprocessing.
|
665
664
|
#
|
666
|
-
# The following attribute applies only to Amazon
|
667
|
-
#
|
665
|
+
# The following attribute applies only to Amazon Data Firehose delivery
|
666
|
+
# stream subscriptions:
|
668
667
|
#
|
669
668
|
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
670
669
|
# following:
|
671
670
|
#
|
672
|
-
# * Permission to write to the
|
671
|
+
# * Permission to write to the Firehose delivery stream
|
673
672
|
#
|
674
673
|
# * Amazon SNS listed as a trusted entity
|
675
674
|
#
|
676
|
-
# Specifying a valid ARN for this attribute is required for
|
677
|
-
#
|
678
|
-
#
|
679
|
-
# *Amazon SNS Developer Guide*.
|
675
|
+
# Specifying a valid ARN for this attribute is required for Firehose
|
676
|
+
# delivery stream subscriptions. For more information, see [Fanout to
|
677
|
+
# Firehose delivery streams][1] in the *Amazon SNS Developer Guide*.
|
680
678
|
#
|
681
679
|
# The following attributes apply only to [FIFO topics][2]:
|
682
680
|
#
|
data/lib/aws-sdk-sns/types.rb
CHANGED
@@ -345,8 +345,8 @@ module Aws::SNS
|
|
345
345
|
# @!attribute [rw] attributes
|
346
346
|
# A map of attributes with their corresponding values.
|
347
347
|
#
|
348
|
-
# The following lists
|
349
|
-
#
|
348
|
+
# The following lists names, descriptions, and values of the special
|
349
|
+
# request parameters that the `CreateTopic` action uses:
|
350
350
|
#
|
351
351
|
# * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
|
352
352
|
# failed deliveries to HTTP/S endpoints.
|
@@ -839,20 +839,20 @@ module Aws::SNS
|
|
839
839
|
# * `TopicArn` – The topic ARN that the subscription is associated
|
840
840
|
# with.
|
841
841
|
#
|
842
|
-
# The following attribute applies only to Amazon
|
842
|
+
# The following attribute applies only to Amazon Data Firehose
|
843
843
|
# delivery stream subscriptions:
|
844
844
|
#
|
845
845
|
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
846
846
|
# following:
|
847
847
|
#
|
848
|
-
# * Permission to write to the
|
848
|
+
# * Permission to write to the Firehose delivery stream
|
849
849
|
#
|
850
850
|
# * Amazon SNS listed as a trusted entity
|
851
851
|
#
|
852
|
-
# Specifying a valid ARN for this attribute is required for
|
853
|
-
#
|
854
|
-
#
|
855
|
-
#
|
852
|
+
# Specifying a valid ARN for this attribute is required for Firehose
|
853
|
+
# delivery stream subscriptions. For more information, see [Fanout
|
854
|
+
# to Firehose delivery streams][2] in the *Amazon SNS Developer
|
855
|
+
# Guide*.
|
856
856
|
#
|
857
857
|
#
|
858
858
|
#
|
@@ -1960,9 +1960,8 @@ module Aws::SNS
|
|
1960
1960
|
# included, if present, in the standard JSON messages delivered to
|
1961
1961
|
# other endpoints.
|
1962
1962
|
#
|
1963
|
-
# Constraints: Subjects must be
|
1964
|
-
#
|
1965
|
-
# characters; and must be less than 100 characters long.
|
1963
|
+
# Constraints: Subjects must be UTF-8 text with no line breaks or
|
1964
|
+
# control characters, and less than 100 characters long.
|
1966
1965
|
# @return [String]
|
1967
1966
|
#
|
1968
1967
|
# @!attribute [rw] message_structure
|
@@ -2436,20 +2435,20 @@ module Aws::SNS
|
|
2436
2435
|
# unavailable) are held in the dead-letter queue for further
|
2437
2436
|
# analysis or reprocessing.
|
2438
2437
|
#
|
2439
|
-
# The following attribute applies only to Amazon
|
2438
|
+
# The following attribute applies only to Amazon Data Firehose
|
2440
2439
|
# delivery stream subscriptions:
|
2441
2440
|
#
|
2442
2441
|
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
2443
2442
|
# following:
|
2444
2443
|
#
|
2445
|
-
# * Permission to write to the
|
2444
|
+
# * Permission to write to the Firehose delivery stream
|
2446
2445
|
#
|
2447
2446
|
# * Amazon SNS listed as a trusted entity
|
2448
2447
|
#
|
2449
|
-
# Specifying a valid ARN for this attribute is required for
|
2450
|
-
#
|
2451
|
-
#
|
2452
|
-
#
|
2448
|
+
# Specifying a valid ARN for this attribute is required for Firehose
|
2449
|
+
# delivery stream subscriptions. For more information, see [Fanout
|
2450
|
+
# to Firehose delivery streams][1] in the *Amazon SNS Developer
|
2451
|
+
# Guide*.
|
2453
2452
|
#
|
2454
2453
|
#
|
2455
2454
|
#
|
@@ -2761,20 +2760,20 @@ module Aws::SNS
|
|
2761
2760
|
# unavailable) are held in the dead-letter queue for further
|
2762
2761
|
# analysis or reprocessing.
|
2763
2762
|
#
|
2764
|
-
# The following attribute applies only to Amazon
|
2763
|
+
# The following attribute applies only to Amazon Data Firehose
|
2765
2764
|
# delivery stream subscriptions:
|
2766
2765
|
#
|
2767
2766
|
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
2768
2767
|
# following:
|
2769
2768
|
#
|
2770
|
-
# * Permission to write to the
|
2769
|
+
# * Permission to write to the Firehose delivery stream
|
2771
2770
|
#
|
2772
2771
|
# * Amazon SNS listed as a trusted entity
|
2773
2772
|
#
|
2774
|
-
# Specifying a valid ARN for this attribute is required for
|
2775
|
-
#
|
2776
|
-
#
|
2777
|
-
#
|
2773
|
+
# Specifying a valid ARN for this attribute is required for Firehose
|
2774
|
+
# delivery stream subscriptions. For more information, see [Fanout
|
2775
|
+
# to Firehose delivery streams][1] in the *Amazon SNS Developer
|
2776
|
+
# Guide*.
|
2778
2777
|
#
|
2779
2778
|
# The following attributes apply only to [FIFO topics][2]:
|
2780
2779
|
#
|
data/lib/aws-sdk-sns.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-sns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.77.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|