aws-sdk-sns 1.36.0 → 1.37.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/lib/aws-sdk-sns.rb +1 -1
- data/lib/aws-sdk-sns/client.rb +63 -13
- data/lib/aws-sdk-sns/subscription.rb +35 -0
- data/lib/aws-sdk-sns/topic.rb +37 -12
- data/lib/aws-sdk-sns/types.rb +71 -11
- 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: 7f01f8e00050aaf3a45fbccfc577f6e3854fd658f177852b736219eebab72a91
|
|
4
|
+
data.tar.gz: bfbed9e33dbd687b94eeeb3460bd51b4a0b8e1dceb9568725d12b7ac0267ef48
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c361bb0037da1916a34b6c50fc9a56be707cb2128745a72cb960104d412e49fb51533b2a4efa832db0b44aa4516306c165f38d7d3b0b881563843478e62e899f
|
|
7
|
+
data.tar.gz: f29e057169dbfe66c1d278349bd082f48093acaa72541c957ae30b138a1377c89b915b0df664a9d11c3494dd92a45a07f0e942b4451590f21c127003223b74f5
|
data/lib/aws-sdk-sns.rb
CHANGED
data/lib/aws-sdk-sns/client.rb
CHANGED
|
@@ -1653,6 +1653,12 @@ module Aws::SNS
|
|
|
1653
1653
|
# parameter. For more information, see [Publishing to a mobile phone][1]
|
|
1654
1654
|
# in the *Amazon SNS Developer Guide*.
|
|
1655
1655
|
#
|
|
1656
|
+
# <note markdown="1"> To use this operation, you must grant the Amazon SNS service principal
|
|
1657
|
+
# (`sns.amazonaws.com`) permission to perform the `s3:ListBucket`
|
|
1658
|
+
# action.
|
|
1659
|
+
#
|
|
1660
|
+
# </note>
|
|
1661
|
+
#
|
|
1656
1662
|
#
|
|
1657
1663
|
#
|
|
1658
1664
|
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sms_publish-to-phone.html
|
|
@@ -1791,6 +1797,25 @@ module Aws::SNS
|
|
|
1791
1797
|
# service that powers the subscribed endpoint becomes unavailable) are
|
|
1792
1798
|
# held in the dead-letter queue for further analysis or reprocessing.
|
|
1793
1799
|
#
|
|
1800
|
+
# The following attribute applies only to Amazon Kinesis Data Firehose
|
|
1801
|
+
# delivery stream subscriptions:
|
|
1802
|
+
#
|
|
1803
|
+
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
|
1804
|
+
# following:
|
|
1805
|
+
#
|
|
1806
|
+
# * Permission to write to the Kinesis Data Firehose delivery stream
|
|
1807
|
+
#
|
|
1808
|
+
# * Amazon SNS listed as a trusted entity
|
|
1809
|
+
#
|
|
1810
|
+
# Specifying a valid ARN for this attribute is required for Kinesis
|
|
1811
|
+
# Data Firehose delivery stream subscriptions. For more information,
|
|
1812
|
+
# see [Fanout to Kinesis Data Firehose delivery streams][1] in the
|
|
1813
|
+
# *Amazon SNS Developer Guide*.
|
|
1814
|
+
#
|
|
1815
|
+
#
|
|
1816
|
+
#
|
|
1817
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-kinesis-subscriber.html
|
|
1818
|
+
#
|
|
1794
1819
|
# @option params [String] :attribute_value
|
|
1795
1820
|
# The new value for the attribute in JSON format.
|
|
1796
1821
|
#
|
|
@@ -1904,7 +1929,7 @@ module Aws::SNS
|
|
|
1904
1929
|
# The ARN of the topic you want to subscribe to.
|
|
1905
1930
|
#
|
|
1906
1931
|
# @option params [required, String] :protocol
|
|
1907
|
-
# The protocol you want to use. Supported protocols include:
|
|
1932
|
+
# The protocol that you want to use. Supported protocols include:
|
|
1908
1933
|
#
|
|
1909
1934
|
# * `http` – delivery of JSON-encoded message via HTTP POST
|
|
1910
1935
|
#
|
|
@@ -1919,36 +1944,42 @@ module Aws::SNS
|
|
|
1919
1944
|
# * `sqs` – delivery of JSON-encoded message to an Amazon SQS queue
|
|
1920
1945
|
#
|
|
1921
1946
|
# * `application` – delivery of JSON-encoded message to an EndpointArn
|
|
1922
|
-
# for a mobile app and device
|
|
1947
|
+
# for a mobile app and device
|
|
1923
1948
|
#
|
|
1924
|
-
# * `lambda` – delivery of JSON-encoded message to an
|
|
1925
|
-
# function
|
|
1949
|
+
# * `lambda` – delivery of JSON-encoded message to an AWS Lambda
|
|
1950
|
+
# function
|
|
1951
|
+
#
|
|
1952
|
+
# * `firehose` – delivery of JSON-encoded message to an Amazon Kinesis
|
|
1953
|
+
# Data Firehose delivery stream.
|
|
1926
1954
|
#
|
|
1927
1955
|
# @option params [String] :endpoint
|
|
1928
1956
|
# The endpoint that you want to receive notifications. Endpoints vary by
|
|
1929
1957
|
# protocol:
|
|
1930
1958
|
#
|
|
1931
1959
|
# * For the `http` protocol, the (public) endpoint is a URL beginning
|
|
1932
|
-
# with `http
|
|
1960
|
+
# with `http://`.
|
|
1933
1961
|
#
|
|
1934
1962
|
# * For the `https` protocol, the (public) endpoint is a URL beginning
|
|
1935
|
-
# with `https
|
|
1963
|
+
# with `https://`.
|
|
1936
1964
|
#
|
|
1937
|
-
# * For the `email` protocol, the endpoint is an email address
|
|
1965
|
+
# * For the `email` protocol, the endpoint is an email address.
|
|
1938
1966
|
#
|
|
1939
|
-
# * For the `email-json` protocol, the endpoint is an email address
|
|
1967
|
+
# * For the `email-json` protocol, the endpoint is an email address.
|
|
1940
1968
|
#
|
|
1941
1969
|
# * For the `sms` protocol, the endpoint is a phone number of an
|
|
1942
|
-
# SMS-enabled device
|
|
1970
|
+
# SMS-enabled device.
|
|
1943
1971
|
#
|
|
1944
1972
|
# * For the `sqs` protocol, the endpoint is the ARN of an Amazon SQS
|
|
1945
|
-
# queue
|
|
1973
|
+
# queue.
|
|
1946
1974
|
#
|
|
1947
1975
|
# * For the `application` protocol, the endpoint is the EndpointArn of a
|
|
1948
1976
|
# mobile app and device.
|
|
1949
1977
|
#
|
|
1950
|
-
# * For the `lambda` protocol, the endpoint is the ARN of an
|
|
1951
|
-
#
|
|
1978
|
+
# * For the `lambda` protocol, the endpoint is the ARN of an AWS Lambda
|
|
1979
|
+
# function.
|
|
1980
|
+
#
|
|
1981
|
+
# * For the `firehose` protocol, the endpoint is the ARN of an Amazon
|
|
1982
|
+
# Kinesis Data Firehose delivery stream.
|
|
1952
1983
|
#
|
|
1953
1984
|
# @option params [Hash<String,String>] :attributes
|
|
1954
1985
|
# A map of attributes with their corresponding values.
|
|
@@ -1975,6 +2006,25 @@ module Aws::SNS
|
|
|
1975
2006
|
# service that powers the subscribed endpoint becomes unavailable) are
|
|
1976
2007
|
# held in the dead-letter queue for further analysis or reprocessing.
|
|
1977
2008
|
#
|
|
2009
|
+
# The following attribute applies only to Amazon Kinesis Data Firehose
|
|
2010
|
+
# delivery stream subscriptions:
|
|
2011
|
+
#
|
|
2012
|
+
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
|
2013
|
+
# following:
|
|
2014
|
+
#
|
|
2015
|
+
# * Permission to write to the Kinesis Data Firehose delivery stream
|
|
2016
|
+
#
|
|
2017
|
+
# * Amazon SNS listed as a trusted entity
|
|
2018
|
+
#
|
|
2019
|
+
# Specifying a valid ARN for this attribute is required for Kinesis
|
|
2020
|
+
# Data Firehose delivery stream subscriptions. For more information,
|
|
2021
|
+
# see [Fanout to Kinesis Data Firehose delivery streams][1] in the
|
|
2022
|
+
# *Amazon SNS Developer Guide*.
|
|
2023
|
+
#
|
|
2024
|
+
#
|
|
2025
|
+
#
|
|
2026
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-kinesis-subscriber.html
|
|
2027
|
+
#
|
|
1978
2028
|
# @option params [Boolean] :return_subscription_arn
|
|
1979
2029
|
# Sets whether the response from the `Subscribe` request includes the
|
|
1980
2030
|
# subscription ARN, even if the subscription is not yet confirmed.
|
|
@@ -2147,7 +2197,7 @@ module Aws::SNS
|
|
|
2147
2197
|
params: params,
|
|
2148
2198
|
config: config)
|
|
2149
2199
|
context[:gem_name] = 'aws-sdk-sns'
|
|
2150
|
-
context[:gem_version] = '1.
|
|
2200
|
+
context[:gem_version] = '1.37.0'
|
|
2151
2201
|
Seahorse::Client::Request.new(handlers, context)
|
|
2152
2202
|
end
|
|
2153
2203
|
|
|
@@ -72,9 +72,25 @@ module Aws::SNS
|
|
|
72
72
|
#
|
|
73
73
|
# * `TopicArn` – The topic ARN that the subscription is associated with.
|
|
74
74
|
#
|
|
75
|
+
# The following attribute applies only to Amazon Kinesis Data Firehose
|
|
76
|
+
# delivery stream subscriptions:
|
|
77
|
+
#
|
|
78
|
+
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
|
79
|
+
# following:
|
|
80
|
+
#
|
|
81
|
+
# * Permission to write to the Kinesis Data Firehose delivery stream
|
|
82
|
+
#
|
|
83
|
+
# * Amazon SNS listed as a trusted entity
|
|
84
|
+
#
|
|
85
|
+
# Specifying a valid ARN for this attribute is required for Kinesis
|
|
86
|
+
# Data Firehose delivery stream subscriptions. For more information,
|
|
87
|
+
# see [Fanout to Kinesis Data Firehose delivery streams][2] in the
|
|
88
|
+
# *Amazon SNS Developer Guide*.
|
|
89
|
+
#
|
|
75
90
|
#
|
|
76
91
|
#
|
|
77
92
|
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-message-filtering.html
|
|
93
|
+
# [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-kinesis-subscriber.html
|
|
78
94
|
# @return [Hash<String,String>]
|
|
79
95
|
def attributes
|
|
80
96
|
data[:attributes]
|
|
@@ -159,6 +175,25 @@ module Aws::SNS
|
|
|
159
175
|
# endpoint is unreachable) or server errors (for example, when the
|
|
160
176
|
# service that powers the subscribed endpoint becomes unavailable) are
|
|
161
177
|
# held in the dead-letter queue for further analysis or reprocessing.
|
|
178
|
+
#
|
|
179
|
+
# The following attribute applies only to Amazon Kinesis Data Firehose
|
|
180
|
+
# delivery stream subscriptions:
|
|
181
|
+
#
|
|
182
|
+
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
|
183
|
+
# following:
|
|
184
|
+
#
|
|
185
|
+
# * Permission to write to the Kinesis Data Firehose delivery stream
|
|
186
|
+
#
|
|
187
|
+
# * Amazon SNS listed as a trusted entity
|
|
188
|
+
#
|
|
189
|
+
# Specifying a valid ARN for this attribute is required for Kinesis
|
|
190
|
+
# Data Firehose delivery stream subscriptions. For more information,
|
|
191
|
+
# see [Fanout to Kinesis Data Firehose delivery streams][1] in the
|
|
192
|
+
# *Amazon SNS Developer Guide*.
|
|
193
|
+
#
|
|
194
|
+
#
|
|
195
|
+
#
|
|
196
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-kinesis-subscriber.html
|
|
162
197
|
# @option options [String] :attribute_value
|
|
163
198
|
# The new value for the attribute in JSON format.
|
|
164
199
|
# @return [EmptyStructure]
|
data/lib/aws-sdk-sns/topic.rb
CHANGED
|
@@ -434,7 +434,7 @@ module Aws::SNS
|
|
|
434
434
|
# })
|
|
435
435
|
# @param [Hash] options ({})
|
|
436
436
|
# @option options [required, String] :protocol
|
|
437
|
-
# The protocol you want to use. Supported protocols include:
|
|
437
|
+
# The protocol that you want to use. Supported protocols include:
|
|
438
438
|
#
|
|
439
439
|
# * `http` – delivery of JSON-encoded message via HTTP POST
|
|
440
440
|
#
|
|
@@ -449,35 +449,41 @@ module Aws::SNS
|
|
|
449
449
|
# * `sqs` – delivery of JSON-encoded message to an Amazon SQS queue
|
|
450
450
|
#
|
|
451
451
|
# * `application` – delivery of JSON-encoded message to an EndpointArn
|
|
452
|
-
# for a mobile app and device
|
|
452
|
+
# for a mobile app and device
|
|
453
453
|
#
|
|
454
|
-
# * `lambda` – delivery of JSON-encoded message to an
|
|
455
|
-
# function
|
|
454
|
+
# * `lambda` – delivery of JSON-encoded message to an AWS Lambda
|
|
455
|
+
# function
|
|
456
|
+
#
|
|
457
|
+
# * `firehose` – delivery of JSON-encoded message to an Amazon Kinesis
|
|
458
|
+
# Data Firehose delivery stream.
|
|
456
459
|
# @option options [String] :endpoint
|
|
457
460
|
# The endpoint that you want to receive notifications. Endpoints vary by
|
|
458
461
|
# protocol:
|
|
459
462
|
#
|
|
460
463
|
# * For the `http` protocol, the (public) endpoint is a URL beginning
|
|
461
|
-
# with `http
|
|
464
|
+
# with `http://`.
|
|
462
465
|
#
|
|
463
466
|
# * For the `https` protocol, the (public) endpoint is a URL beginning
|
|
464
|
-
# with `https
|
|
467
|
+
# with `https://`.
|
|
465
468
|
#
|
|
466
|
-
# * For the `email` protocol, the endpoint is an email address
|
|
469
|
+
# * For the `email` protocol, the endpoint is an email address.
|
|
467
470
|
#
|
|
468
|
-
# * For the `email-json` protocol, the endpoint is an email address
|
|
471
|
+
# * For the `email-json` protocol, the endpoint is an email address.
|
|
469
472
|
#
|
|
470
473
|
# * For the `sms` protocol, the endpoint is a phone number of an
|
|
471
|
-
# SMS-enabled device
|
|
474
|
+
# SMS-enabled device.
|
|
472
475
|
#
|
|
473
476
|
# * For the `sqs` protocol, the endpoint is the ARN of an Amazon SQS
|
|
474
|
-
# queue
|
|
477
|
+
# queue.
|
|
475
478
|
#
|
|
476
479
|
# * For the `application` protocol, the endpoint is the EndpointArn of a
|
|
477
480
|
# mobile app and device.
|
|
478
481
|
#
|
|
479
|
-
# * For the `lambda` protocol, the endpoint is the ARN of an
|
|
480
|
-
#
|
|
482
|
+
# * For the `lambda` protocol, the endpoint is the ARN of an AWS Lambda
|
|
483
|
+
# function.
|
|
484
|
+
#
|
|
485
|
+
# * For the `firehose` protocol, the endpoint is the ARN of an Amazon
|
|
486
|
+
# Kinesis Data Firehose delivery stream.
|
|
481
487
|
# @option options [Hash<String,String>] :attributes
|
|
482
488
|
# A map of attributes with their corresponding values.
|
|
483
489
|
#
|
|
@@ -502,6 +508,25 @@ module Aws::SNS
|
|
|
502
508
|
# endpoint is unreachable) or server errors (for example, when the
|
|
503
509
|
# service that powers the subscribed endpoint becomes unavailable) are
|
|
504
510
|
# held in the dead-letter queue for further analysis or reprocessing.
|
|
511
|
+
#
|
|
512
|
+
# The following attribute applies only to Amazon Kinesis Data Firehose
|
|
513
|
+
# delivery stream subscriptions:
|
|
514
|
+
#
|
|
515
|
+
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
|
516
|
+
# following:
|
|
517
|
+
#
|
|
518
|
+
# * Permission to write to the Kinesis Data Firehose delivery stream
|
|
519
|
+
#
|
|
520
|
+
# * Amazon SNS listed as a trusted entity
|
|
521
|
+
#
|
|
522
|
+
# Specifying a valid ARN for this attribute is required for Kinesis
|
|
523
|
+
# Data Firehose delivery stream subscriptions. For more information,
|
|
524
|
+
# see [Fanout to Kinesis Data Firehose delivery streams][1] in the
|
|
525
|
+
# *Amazon SNS Developer Guide*.
|
|
526
|
+
#
|
|
527
|
+
#
|
|
528
|
+
#
|
|
529
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-kinesis-subscriber.html
|
|
505
530
|
# @option options [Boolean] :return_subscription_arn
|
|
506
531
|
# Sets whether the response from the `Subscribe` request includes the
|
|
507
532
|
# subscription ARN, even if the subscription is not yet confirmed.
|
data/lib/aws-sdk-sns/types.rb
CHANGED
|
@@ -734,9 +734,25 @@ module Aws::SNS
|
|
|
734
734
|
# * `TopicArn` – The topic ARN that the subscription is associated
|
|
735
735
|
# with.
|
|
736
736
|
#
|
|
737
|
+
# The following attribute applies only to Amazon Kinesis Data Firehose
|
|
738
|
+
# delivery stream subscriptions:
|
|
739
|
+
#
|
|
740
|
+
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
|
741
|
+
# following:
|
|
742
|
+
#
|
|
743
|
+
# * Permission to write to the Kinesis Data Firehose delivery stream
|
|
744
|
+
#
|
|
745
|
+
# * Amazon SNS listed as a trusted entity
|
|
746
|
+
#
|
|
747
|
+
# Specifying a valid ARN for this attribute is required for Kinesis
|
|
748
|
+
# Data Firehose delivery stream subscriptions. For more information,
|
|
749
|
+
# see [Fanout to Kinesis Data Firehose delivery streams][2] in the
|
|
750
|
+
# *Amazon SNS Developer Guide*.
|
|
751
|
+
#
|
|
737
752
|
#
|
|
738
753
|
#
|
|
739
754
|
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-message-filtering.html
|
|
755
|
+
# [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-kinesis-subscriber.html
|
|
740
756
|
# @return [Hash<String,String>]
|
|
741
757
|
#
|
|
742
758
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributesResponse AWS API Documentation
|
|
@@ -1937,6 +1953,25 @@ module Aws::SNS
|
|
|
1937
1953
|
# when the service that powers the subscribed endpoint becomes
|
|
1938
1954
|
# unavailable) are held in the dead-letter queue for further
|
|
1939
1955
|
# analysis or reprocessing.
|
|
1956
|
+
#
|
|
1957
|
+
# The following attribute applies only to Amazon Kinesis Data Firehose
|
|
1958
|
+
# delivery stream subscriptions:
|
|
1959
|
+
#
|
|
1960
|
+
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
|
1961
|
+
# following:
|
|
1962
|
+
#
|
|
1963
|
+
# * Permission to write to the Kinesis Data Firehose delivery stream
|
|
1964
|
+
#
|
|
1965
|
+
# * Amazon SNS listed as a trusted entity
|
|
1966
|
+
#
|
|
1967
|
+
# Specifying a valid ARN for this attribute is required for Kinesis
|
|
1968
|
+
# Data Firehose delivery stream subscriptions. For more information,
|
|
1969
|
+
# see [Fanout to Kinesis Data Firehose delivery streams][1] in the
|
|
1970
|
+
# *Amazon SNS Developer Guide*.
|
|
1971
|
+
#
|
|
1972
|
+
#
|
|
1973
|
+
#
|
|
1974
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-kinesis-subscriber.html
|
|
1940
1975
|
# @return [String]
|
|
1941
1976
|
#
|
|
1942
1977
|
# @!attribute [rw] attribute_value
|
|
@@ -2071,7 +2106,7 @@ module Aws::SNS
|
|
|
2071
2106
|
# @return [String]
|
|
2072
2107
|
#
|
|
2073
2108
|
# @!attribute [rw] protocol
|
|
2074
|
-
# The protocol you want to use. Supported protocols include:
|
|
2109
|
+
# The protocol that you want to use. Supported protocols include:
|
|
2075
2110
|
#
|
|
2076
2111
|
# * `http` – delivery of JSON-encoded message via HTTP POST
|
|
2077
2112
|
#
|
|
@@ -2086,10 +2121,13 @@ module Aws::SNS
|
|
|
2086
2121
|
# * `sqs` – delivery of JSON-encoded message to an Amazon SQS queue
|
|
2087
2122
|
#
|
|
2088
2123
|
# * `application` – delivery of JSON-encoded message to an EndpointArn
|
|
2089
|
-
# for a mobile app and device
|
|
2124
|
+
# for a mobile app and device
|
|
2125
|
+
#
|
|
2126
|
+
# * `lambda` – delivery of JSON-encoded message to an AWS Lambda
|
|
2127
|
+
# function
|
|
2090
2128
|
#
|
|
2091
|
-
# * `
|
|
2092
|
-
#
|
|
2129
|
+
# * `firehose` – delivery of JSON-encoded message to an Amazon Kinesis
|
|
2130
|
+
# Data Firehose delivery stream.
|
|
2093
2131
|
# @return [String]
|
|
2094
2132
|
#
|
|
2095
2133
|
# @!attribute [rw] endpoint
|
|
@@ -2097,26 +2135,29 @@ module Aws::SNS
|
|
|
2097
2135
|
# by protocol:
|
|
2098
2136
|
#
|
|
2099
2137
|
# * For the `http` protocol, the (public) endpoint is a URL beginning
|
|
2100
|
-
# with `http
|
|
2138
|
+
# with `http://`.
|
|
2101
2139
|
#
|
|
2102
2140
|
# * For the `https` protocol, the (public) endpoint is a URL beginning
|
|
2103
|
-
# with `https
|
|
2141
|
+
# with `https://`.
|
|
2104
2142
|
#
|
|
2105
|
-
# * For the `email` protocol, the endpoint is an email address
|
|
2143
|
+
# * For the `email` protocol, the endpoint is an email address.
|
|
2106
2144
|
#
|
|
2107
|
-
# * For the `email-json` protocol, the endpoint is an email address
|
|
2145
|
+
# * For the `email-json` protocol, the endpoint is an email address.
|
|
2108
2146
|
#
|
|
2109
2147
|
# * For the `sms` protocol, the endpoint is a phone number of an
|
|
2110
|
-
# SMS-enabled device
|
|
2148
|
+
# SMS-enabled device.
|
|
2111
2149
|
#
|
|
2112
2150
|
# * For the `sqs` protocol, the endpoint is the ARN of an Amazon SQS
|
|
2113
|
-
# queue
|
|
2151
|
+
# queue.
|
|
2114
2152
|
#
|
|
2115
2153
|
# * For the `application` protocol, the endpoint is the EndpointArn of
|
|
2116
2154
|
# a mobile app and device.
|
|
2117
2155
|
#
|
|
2118
|
-
# * For the `lambda` protocol, the endpoint is the ARN of an
|
|
2156
|
+
# * For the `lambda` protocol, the endpoint is the ARN of an AWS
|
|
2119
2157
|
# Lambda function.
|
|
2158
|
+
#
|
|
2159
|
+
# * For the `firehose` protocol, the endpoint is the ARN of an Amazon
|
|
2160
|
+
# Kinesis Data Firehose delivery stream.
|
|
2120
2161
|
# @return [String]
|
|
2121
2162
|
#
|
|
2122
2163
|
# @!attribute [rw] attributes
|
|
@@ -2145,6 +2186,25 @@ module Aws::SNS
|
|
|
2145
2186
|
# when the service that powers the subscribed endpoint becomes
|
|
2146
2187
|
# unavailable) are held in the dead-letter queue for further
|
|
2147
2188
|
# analysis or reprocessing.
|
|
2189
|
+
#
|
|
2190
|
+
# The following attribute applies only to Amazon Kinesis Data Firehose
|
|
2191
|
+
# delivery stream subscriptions:
|
|
2192
|
+
#
|
|
2193
|
+
# * `SubscriptionRoleArn` – The ARN of the IAM role that has the
|
|
2194
|
+
# following:
|
|
2195
|
+
#
|
|
2196
|
+
# * Permission to write to the Kinesis Data Firehose delivery stream
|
|
2197
|
+
#
|
|
2198
|
+
# * Amazon SNS listed as a trusted entity
|
|
2199
|
+
#
|
|
2200
|
+
# Specifying a valid ARN for this attribute is required for Kinesis
|
|
2201
|
+
# Data Firehose delivery stream subscriptions. For more information,
|
|
2202
|
+
# see [Fanout to Kinesis Data Firehose delivery streams][1] in the
|
|
2203
|
+
# *Amazon SNS Developer Guide*.
|
|
2204
|
+
#
|
|
2205
|
+
#
|
|
2206
|
+
#
|
|
2207
|
+
# [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-kinesis-subscriber.html
|
|
2148
2208
|
# @return [Hash<String,String>]
|
|
2149
2209
|
#
|
|
2150
2210
|
# @!attribute [rw] return_subscription_arn
|
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.37.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:
|
|
11
|
+
date: 2021-01-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|