aws-sdk-sns 1.97.0 → 1.106.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.
@@ -354,18 +354,10 @@ module Aws::SNS
354
354
  # * `DisplayName` – The display name to use for a topic with SMS
355
355
  # subscriptions.
356
356
  #
357
- # * `FifoTopic` – Set to true to create a FIFO topic.
358
- #
359
357
  # * `Policy` – The policy that defines who can access your topic. By
360
358
  # default, only the topic owner can publish or subscribe to the
361
359
  # topic.
362
360
  #
363
- # * `SignatureVersion` – The signature version corresponds to the
364
- # hashing algorithm used while creating the signature of the
365
- # notifications, subscription confirmations, or unsubscribe
366
- # confirmation messages sent by Amazon SNS. By default,
367
- # `SignatureVersion` is set to `1`.
368
- #
369
361
  # * `TracingConfig` – Tracing mode of an Amazon SNS topic. By default
370
362
  # `TracingConfig` is set to `PassThrough`, and the topic passes
371
363
  # through the tracing header it receives from an Amazon SNS
@@ -374,16 +366,104 @@ module Aws::SNS
374
366
  # flag in the tracing header is true. This is only supported on
375
367
  # standard topics.
376
368
  #
377
- # The following attribute applies only to [server-side encryption][1]:
369
+ # * HTTP
370
+ #
371
+ # * `HTTPSuccessFeedbackRoleArn` – Indicates successful message
372
+ # delivery status for an Amazon SNS topic that is subscribed to an
373
+ # HTTP endpoint.
374
+ #
375
+ # * `HTTPSuccessFeedbackSampleRate` – Indicates percentage of
376
+ # successful messages to sample for an Amazon SNS topic that is
377
+ # subscribed to an HTTP endpoint.
378
+ #
379
+ # * `HTTPFailureFeedbackRoleArn` – Indicates failed message delivery
380
+ # status for an Amazon SNS topic that is subscribed to an HTTP
381
+ # endpoint.
382
+ # * Amazon Data Firehose
383
+ #
384
+ # * `FirehoseSuccessFeedbackRoleArn` – Indicates successful message
385
+ # delivery status for an Amazon SNS topic that is subscribed to an
386
+ # Amazon Data Firehose endpoint.
387
+ #
388
+ # * `FirehoseSuccessFeedbackSampleRate` – Indicates percentage of
389
+ # successful messages to sample for an Amazon SNS topic that is
390
+ # subscribed to an Amazon Data Firehose endpoint.
391
+ #
392
+ # * `FirehoseFailureFeedbackRoleArn` – Indicates failed message
393
+ # delivery status for an Amazon SNS topic that is subscribed to an
394
+ # Amazon Data Firehose endpoint.
395
+ # * Lambda
396
+ #
397
+ # * `LambdaSuccessFeedbackRoleArn` – Indicates successful message
398
+ # delivery status for an Amazon SNS topic that is subscribed to an
399
+ # Lambda endpoint.
400
+ #
401
+ # * `LambdaSuccessFeedbackSampleRate` – Indicates percentage of
402
+ # successful messages to sample for an Amazon SNS topic that is
403
+ # subscribed to an Lambda endpoint.
404
+ #
405
+ # * `LambdaFailureFeedbackRoleArn` – Indicates failed message
406
+ # delivery status for an Amazon SNS topic that is subscribed to an
407
+ # Lambda endpoint.
408
+ # * Platform application endpoint
409
+ #
410
+ # * `ApplicationSuccessFeedbackRoleArn` – Indicates successful
411
+ # message delivery status for an Amazon SNS topic that is
412
+ # subscribed to a platform application endpoint.
413
+ #
414
+ # * `ApplicationSuccessFeedbackSampleRate` – Indicates percentage of
415
+ # successful messages to sample for an Amazon SNS topic that is
416
+ # subscribed to an platform application endpoint.
417
+ #
418
+ # * `ApplicationFailureFeedbackRoleArn` – Indicates failed message
419
+ # delivery status for an Amazon SNS topic that is subscribed to an
420
+ # platform application endpoint.
421
+ # <note markdown="1"> In addition to being able to configure topic attributes for
422
+ # message delivery status of notification messages sent to Amazon
423
+ # SNS application endpoints, you can also configure application
424
+ # attributes for the delivery status of push notification messages
425
+ # sent to push notification services.
426
+ #
427
+ # For example, For more information, see [Using Amazon SNS
428
+ # Application Attributes for Message Delivery Status][1].
429
+ #
430
+ # </note>
431
+ #
432
+ # * Amazon SQS
433
+ #
434
+ # * `SQSSuccessFeedbackRoleArn` – Indicates successful message
435
+ # delivery status for an Amazon SNS topic that is subscribed to an
436
+ # Amazon SQS endpoint.
437
+ #
438
+ # * `SQSSuccessFeedbackSampleRate` – Indicates percentage of
439
+ # successful messages to sample for an Amazon SNS topic that is
440
+ # subscribed to an Amazon SQS endpoint.
441
+ #
442
+ # * `SQSFailureFeedbackRoleArn` – Indicates failed message delivery
443
+ # status for an Amazon SNS topic that is subscribed to an Amazon
444
+ # SQS endpoint.
445
+ #
446
+ # <note markdown="1"> The &lt;ENDPOINT&gt;SuccessFeedbackRoleArn and
447
+ # &lt;ENDPOINT&gt;FailureFeedbackRoleArn attributes are used to give
448
+ # Amazon SNS write access to use CloudWatch Logs on your behalf. The
449
+ # &lt;ENDPOINT&gt;SuccessFeedbackSampleRate attribute is for
450
+ # specifying the sample rate percentage (0-100) of successfully
451
+ # delivered messages. After you configure the
452
+ # &lt;ENDPOINT&gt;FailureFeedbackRoleArn attribute, then all failed
453
+ # message deliveries generate CloudWatch Logs.
454
+ #
455
+ # </note>
456
+ #
457
+ # The following attribute applies only to [server-side encryption][2]:
378
458
  #
379
459
  # * `KmsMasterKeyId` – The ID of an Amazon Web Services managed
380
460
  # customer master key (CMK) for Amazon SNS or a custom CMK. For more
381
- # information, see [Key Terms][2]. For more examples, see [KeyId][3]
461
+ # information, see [Key Terms][3]. For more examples, see [KeyId][4]
382
462
  # in the *Key Management Service API Reference*.
383
463
  #
384
464
  # ^
385
465
  #
386
- # The following attributes apply only to [FIFO topics][4]:
466
+ # The following attributes apply only to [FIFO topics][5]:
387
467
  #
388
468
  # * `ArchivePolicy` – The policy that sets the retention period for
389
469
  # messages stored in the message archive of an Amazon SNS FIFO
@@ -395,7 +475,7 @@ module Aws::SNS
395
475
  # * By default, `ContentBasedDeduplication` is set to `false`. If
396
476
  # you create a FIFO topic and this attribute is `false`, you must
397
477
  # specify a value for the `MessageDeduplicationId` parameter for
398
- # the [Publish][5] action.
478
+ # the [Publish][6] action.
399
479
  #
400
480
  # * When you set `ContentBasedDeduplication` to `true`, Amazon SNS
401
481
  # uses a SHA-256 hash to generate the `MessageDeduplicationId`
@@ -419,17 +499,18 @@ module Aws::SNS
419
499
  # * `MessageGroup` – The scope of deduplication is within each
420
500
  # individual message group, which enables higher throughput per
421
501
  # topic subject to regional quotas. For more information on quotas
422
- # or to request an increase, see [Amazon SNS service quotas][6] in
502
+ # or to request an increase, see [Amazon SNS service quotas][7] in
423
503
  # the Amazon Web Services General Reference.
424
504
  #
425
505
  #
426
506
  #
427
- # [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
428
- # [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html#sse-key-terms
429
- # [3]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
430
- # [4]: https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html
431
- # [5]: https://docs.aws.amazon.com/sns/latest/api/API_Publish.html
432
- # [6]: https://docs.aws.amazon.com/general/latest/gr/sns.html
507
+ # [1]: https://docs.aws.amazon.com/sns/latest/dg/sns-msg-status.html
508
+ # [2]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
509
+ # [3]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html#sse-key-terms
510
+ # [4]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
511
+ # [5]: https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html
512
+ # [6]: https://docs.aws.amazon.com/sns/latest/api/API_Publish.html
513
+ # [7]: https://docs.aws.amazon.com/general/latest/gr/sns.html
433
514
  # @return [Hash<String,String>]
434
515
  #
435
516
  # @!attribute [rw] tags
@@ -580,7 +661,7 @@ module Aws::SNS
580
661
 
581
662
  # Indicates that the number of filter polices in your Amazon Web
582
663
  # Services account exceeds the limit. To add more filter polices, submit
583
- # an Amazon SNS Limit Increase case in the Amazon Web Services Support
664
+ # an Amazon SNS Limit Increase case in the Amazon Web ServicesSupport
584
665
  # Center.
585
666
  #
586
667
  # @!attribute [rw] message
@@ -1734,7 +1815,7 @@ module Aws::SNS
1734
1815
  # that is a string.
1735
1816
  #
1736
1817
  # You can define other top-level keys that define the message you want
1737
- # to send to a specific transport protocol (e.g. http).
1818
+ # to send to a specific transport protocol (for example, http).
1738
1819
  # @return [String]
1739
1820
  #
1740
1821
  # @!attribute [rw] message_attributes
@@ -1812,27 +1893,30 @@ module Aws::SNS
1812
1893
  # @return [String]
1813
1894
  #
1814
1895
  # @!attribute [rw] message_group_id
1815
- # This parameter applies only to FIFO (first-in-first-out) topics.
1816
- #
1817
- # The tag that specifies that a message belongs to a specific message
1818
- # group. Messages that belong to the same message group are processed
1819
- # in a FIFO manner (however, messages in different message groups
1820
- # might be processed out of order). To interleave multiple ordered
1821
- # streams within a single topic, use `MessageGroupId` values (for
1822
- # example, session data for multiple users). In this scenario,
1823
- # multiple consumers can process the topic, but the session data of
1824
- # each user is processed in a FIFO fashion.
1825
- #
1826
- # You must associate a non-empty `MessageGroupId` with a message. If
1827
- # you don't provide a `MessageGroupId`, the action fails.
1896
+ # FIFO topics: The tag that specifies that a message belongs to a
1897
+ # specific message group. Messages that belong to the same message
1898
+ # group are processed in a FIFO manner (however, messages in different
1899
+ # message groups might be processed out of order). To interleave
1900
+ # multiple ordered streams within a single topic, use `MessageGroupId`
1901
+ # values (for example, session data for multiple users). In this
1902
+ # scenario, multiple consumers can process the topic, but the session
1903
+ # data of each user is processed in a FIFO fashion. You must associate
1904
+ # a non-empty `MessageGroupId` with a message. If you do not provide a
1905
+ # `MessageGroupId`, the action fails.
1906
+ #
1907
+ # Standard topics: The `MessageGroupId` is optional and is forwarded
1908
+ # only to Amazon SQS standard subscriptions to activate [fair
1909
+ # queues][1]. The `MessageGroupId` is not used for, or sent to, any
1910
+ # other endpoint types.
1828
1911
  #
1829
1912
  # The length of `MessageGroupId` is 128 characters.
1830
1913
  #
1831
1914
  # `MessageGroupId` can contain alphanumeric characters `(a-z, A-Z,
1832
1915
  # 0-9)` and punctuation `` (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) ``.
1833
1916
  #
1834
- # `MessageGroupId` is required for FIFO topics. You can't use it for
1835
- # standard topics.
1917
+ #
1918
+ #
1919
+ # [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-fair-queues.html
1836
1920
  # @return [String]
1837
1921
  #
1838
1922
  # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PublishBatchRequestEntry AWS API Documentation
@@ -2060,16 +2144,25 @@ module Aws::SNS
2060
2144
  # @return [String]
2061
2145
  #
2062
2146
  # @!attribute [rw] message_group_id
2063
- # This parameter applies only to FIFO (first-in-first-out) topics. The
2064
- # `MessageGroupId` can contain up to 128 alphanumeric characters
2147
+ # The `MessageGroupId` can contain up to 128 alphanumeric characters
2065
2148
  # `(a-z, A-Z, 0-9)` and punctuation ``
2066
2149
  # (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) ``.
2067
2150
  #
2068
- # The `MessageGroupId` is a tag that specifies that a message belongs
2069
- # to a specific message group. Messages that belong to the same
2070
- # message group are processed in a FIFO manner (however, messages in
2071
- # different message groups might be processed out of order). Every
2072
- # message must include a `MessageGroupId`.
2151
+ # For FIFO topics: The `MessageGroupId` is a tag that specifies that a
2152
+ # message belongs to a specific message group. Messages that belong to
2153
+ # the same message group are processed in a FIFO manner (however,
2154
+ # messages in different message groups might be processed out of
2155
+ # order). Every message must include a `MessageGroupId`.
2156
+ #
2157
+ # For standard topics: The `MessageGroupId` is optional and is
2158
+ # forwarded only to Amazon SQS standard subscriptions to activate
2159
+ # [fair queues][1]. The `MessageGroupId` is not used for, or sent to,
2160
+ # any other endpoint types. When provided, the same validation rules
2161
+ # apply as for FIFO topics.
2162
+ #
2163
+ #
2164
+ #
2165
+ # [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-fair-queues.html
2073
2166
  # @return [String]
2074
2167
  #
2075
2168
  # @see http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PublishInput AWS API Documentation
@@ -2536,10 +2629,6 @@ module Aws::SNS
2536
2629
  # special request parameters that the `SetTopicAttributes` action
2537
2630
  # uses:
2538
2631
  #
2539
- # * `ApplicationSuccessFeedbackRoleArn` – Indicates failed message
2540
- # delivery status for an Amazon SNS topic that is subscribed to a
2541
- # platform application endpoint.
2542
- #
2543
2632
  # * `DeliveryPolicy` – The policy that defines how Amazon SNS retries
2544
2633
  # failed deliveries to HTTP/S endpoints.
2545
2634
  #
@@ -2571,19 +2660,19 @@ module Aws::SNS
2571
2660
  # * `HTTPFailureFeedbackRoleArn` – Indicates failed message delivery
2572
2661
  # status for an Amazon SNS topic that is subscribed to an HTTP
2573
2662
  # endpoint.
2574
- # * Amazon Kinesis Data Firehose
2663
+ # * Amazon Data Firehose
2575
2664
  #
2576
2665
  # * `FirehoseSuccessFeedbackRoleArn` – Indicates successful message
2577
2666
  # delivery status for an Amazon SNS topic that is subscribed to an
2578
- # Amazon Kinesis Data Firehose endpoint.
2667
+ # Amazon Data Firehose endpoint.
2579
2668
  #
2580
2669
  # * `FirehoseSuccessFeedbackSampleRate` – Indicates percentage of
2581
2670
  # successful messages to sample for an Amazon SNS topic that is
2582
- # subscribed to an Amazon Kinesis Data Firehose endpoint.
2671
+ # subscribed to an Amazon Data Firehose endpoint.
2583
2672
  #
2584
2673
  # * `FirehoseFailureFeedbackRoleArn` – Indicates failed message
2585
2674
  # delivery status for an Amazon SNS topic that is subscribed to an
2586
- # Amazon Kinesis Data Firehose endpoint.
2675
+ # Amazon Data Firehose endpoint.
2587
2676
  # * Lambda
2588
2677
  #
2589
2678
  # * `LambdaSuccessFeedbackRoleArn` – Indicates successful message
@@ -2601,15 +2690,15 @@ module Aws::SNS
2601
2690
  #
2602
2691
  # * `ApplicationSuccessFeedbackRoleArn` – Indicates successful
2603
2692
  # message delivery status for an Amazon SNS topic that is
2604
- # subscribed to an Amazon Web Services application endpoint.
2693
+ # subscribed to an platform application endpoint.
2605
2694
  #
2606
2695
  # * `ApplicationSuccessFeedbackSampleRate` – Indicates percentage of
2607
2696
  # successful messages to sample for an Amazon SNS topic that is
2608
- # subscribed to an Amazon Web Services application endpoint.
2697
+ # subscribed to an platform application endpoint.
2609
2698
  #
2610
2699
  # * `ApplicationFailureFeedbackRoleArn` – Indicates failed message
2611
2700
  # delivery status for an Amazon SNS topic that is subscribed to an
2612
- # Amazon Web Services application endpoint.
2701
+ # platform application endpoint.
2613
2702
  # <note markdown="1"> In addition to being able to configure topic attributes for
2614
2703
  # message delivery status of notification messages sent to Amazon
2615
2704
  # SNS application endpoints, you can also configure application
@@ -2763,8 +2852,8 @@ module Aws::SNS
2763
2852
  #
2764
2853
  # * `lambda` – delivery of JSON-encoded message to an Lambda function
2765
2854
  #
2766
- # * `firehose` – delivery of JSON-encoded message to an Amazon Kinesis
2767
- # Data Firehose delivery stream.
2855
+ # * `firehose` – delivery of JSON-encoded message to an Amazon Data
2856
+ # Firehose delivery stream.
2768
2857
  # @return [String]
2769
2858
  #
2770
2859
  # @!attribute [rw] endpoint
@@ -2794,7 +2883,7 @@ module Aws::SNS
2794
2883
  # function.
2795
2884
  #
2796
2885
  # * For the `firehose` protocol, the endpoint is the ARN of an Amazon
2797
- # Kinesis Data Firehose delivery stream.
2886
+ # Data Firehose delivery stream.
2798
2887
  # @return [String]
2799
2888
  #
2800
2889
  # @!attribute [rw] attributes
@@ -3049,7 +3138,8 @@ module Aws::SNS
3049
3138
  include Aws::Structure
3050
3139
  end
3051
3140
 
3052
- # The batch request contains more entries than permissible.
3141
+ # The batch request contains more entries than permissible (more than
3142
+ # 10).
3053
3143
  #
3054
3144
  # @!attribute [rw] message
3055
3145
  # @return [String]
data/lib/aws-sdk-sns.rb CHANGED
@@ -58,7 +58,7 @@ module Aws::SNS
58
58
  autoload :Subscription, 'aws-sdk-sns/subscription'
59
59
  autoload :Topic, 'aws-sdk-sns/topic'
60
60
 
61
- GEM_VERSION = '1.97.0'
61
+ GEM_VERSION = '1.106.0'
62
62
 
63
63
  end
64
64
 
data/sig/client.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
data/sig/resource.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sns
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.97.0
4
+ version: 1.106.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-03-04 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: aws-sdk-core
@@ -19,7 +18,7 @@ dependencies:
19
18
  version: '3'
20
19
  - - ">="
21
20
  - !ruby/object:Gem::Version
22
- version: 3.216.0
21
+ version: 3.231.0
23
22
  type: :runtime
24
23
  prerelease: false
25
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +28,7 @@ dependencies:
29
28
  version: '3'
30
29
  - - ">="
31
30
  - !ruby/object:Gem::Version
32
- version: 3.216.0
31
+ version: 3.231.0
33
32
  - !ruby/object:Gem::Dependency
34
33
  name: aws-sigv4
35
34
  requirement: !ruby/object:Gem::Requirement
@@ -86,7 +85,6 @@ licenses:
86
85
  metadata:
87
86
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sns
88
87
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sns/CHANGELOG.md
89
- post_install_message:
90
88
  rdoc_options: []
91
89
  require_paths:
92
90
  - lib
@@ -94,15 +92,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
94
92
  requirements:
95
93
  - - ">="
96
94
  - !ruby/object:Gem::Version
97
- version: '2.5'
95
+ version: '2.7'
98
96
  required_rubygems_version: !ruby/object:Gem::Requirement
99
97
  requirements:
100
98
  - - ">="
101
99
  - !ruby/object:Gem::Version
102
100
  version: '0'
103
101
  requirements: []
104
- rubygems_version: 3.4.10
105
- signing_key:
102
+ rubygems_version: 3.6.7
106
103
  specification_version: 4
107
104
  summary: AWS SDK for Ruby - Amazon SNS
108
105
  test_files: []