aws-sdk-chimesdkmessaging 1.7.0 → 1.10.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-chimesdkmessaging/client.rb +31 -9
- data/lib/aws-sdk-chimesdkmessaging/client_api.rb +5 -3
- data/lib/aws-sdk-chimesdkmessaging/types.rb +41 -11
- data/lib/aws-sdk-chimesdkmessaging.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39c5fb6fb6c0585e8247b4451c13006739e9474f399b06f3ae8c00975fd930b3
|
4
|
+
data.tar.gz: 36ec9ec731ab19bdbf7cf1598724325e7366439b778eb8ed6dc8f7b661e8cddc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 912fa56ac51afefa24403aa05a6eb50195fbff16ce552d9e1e4a841980f9506d0243537605b99abdabdf0e71266f595043e295693ddd2fc19f2d7d45e6493473
|
7
|
+
data.tar.gz: 2cbf0c5d068e1124061245aa70edf967348302d4e0f80f019991e6db5cdcc425f8d5bf6c9039db22763e267a40b3a244f9cdcbda984ae567f389175d778894ff
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.10.0 (2022-02-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.9.0 (2022-02-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.8.0 (2021-12-21)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - The Amazon Chime SDK now supports updating message attributes via channel flows
|
18
|
+
|
4
19
|
1.7.0 (2021-11-30)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.10.0
|
@@ -27,6 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
35
|
|
@@ -73,6 +76,9 @@ module Aws::ChimeSDKMessaging
|
|
73
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
84
|
|
@@ -175,6 +181,10 @@ module Aws::ChimeSDKMessaging
|
|
175
181
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
176
182
|
# a clock skew correction and retry requests with skewed client clocks.
|
177
183
|
#
|
184
|
+
# @option options [String] :defaults_mode ("legacy")
|
185
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
186
|
+
# accepted modes and the configuration defaults that are included.
|
187
|
+
#
|
178
188
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
179
189
|
# Set to true to disable SDK automatically adding host prefix
|
180
190
|
# to default service endpoint when available.
|
@@ -297,7 +307,7 @@ module Aws::ChimeSDKMessaging
|
|
297
307
|
# seconds to wait when opening a HTTP session before raising a
|
298
308
|
# `Timeout::Error`.
|
299
309
|
#
|
300
|
-
# @option options [
|
310
|
+
# @option options [Float] :http_read_timeout (60) The default
|
301
311
|
# number of seconds to wait for response data. This value can
|
302
312
|
# safely be set per-request on the session.
|
303
313
|
#
|
@@ -313,6 +323,9 @@ module Aws::ChimeSDKMessaging
|
|
313
323
|
# disables this behaviour. This value can safely be set per
|
314
324
|
# request on the session.
|
315
325
|
#
|
326
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
327
|
+
# in seconds.
|
328
|
+
#
|
316
329
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
317
330
|
# HTTP debug output will be sent to the `:logger`.
|
318
331
|
#
|
@@ -477,6 +490,16 @@ module Aws::ChimeSDKMessaging
|
|
477
490
|
# message_id: "MessageId", # required
|
478
491
|
# content: "NonEmptyContent",
|
479
492
|
# metadata: "Metadata",
|
493
|
+
# push_notification: {
|
494
|
+
# title: "PushNotificationTitle",
|
495
|
+
# body: "PushNotificationBody",
|
496
|
+
# type: "DEFAULT", # accepts DEFAULT, VOIP
|
497
|
+
# },
|
498
|
+
# message_attributes: {
|
499
|
+
# "MessageAttributeName" => {
|
500
|
+
# string_values: ["MessageAttributeStringValue"],
|
501
|
+
# },
|
502
|
+
# },
|
480
503
|
# },
|
481
504
|
# })
|
482
505
|
#
|
@@ -1729,10 +1752,9 @@ module Aws::ChimeSDKMessaging
|
|
1729
1752
|
#
|
1730
1753
|
# @option params [String] :type
|
1731
1754
|
# The membership type of a user, `DEFAULT` or `HIDDEN`. Default members
|
1732
|
-
# are
|
1733
|
-
# members are only returned if the type filter in
|
1734
|
-
# `ListChannelMemberships` equals `HIDDEN`.
|
1735
|
-
# not returned.
|
1755
|
+
# are returned as part of `ListChannelMemberships` if no type is
|
1756
|
+
# specified. Hidden members are only returned if the type filter in
|
1757
|
+
# `ListChannelMemberships` equals `HIDDEN`.
|
1736
1758
|
#
|
1737
1759
|
# @option params [Integer] :max_results
|
1738
1760
|
# The maximum number of channel memberships that you want returned.
|
@@ -2353,9 +2375,9 @@ module Aws::ChimeSDKMessaging
|
|
2353
2375
|
# client_request_token: "ClientRequestToken", # required
|
2354
2376
|
# chime_bearer: "ChimeArn", # required
|
2355
2377
|
# push_notification: {
|
2356
|
-
# title: "PushNotificationTitle",
|
2357
|
-
# body: "PushNotificationBody",
|
2358
|
-
# type: "DEFAULT", #
|
2378
|
+
# title: "PushNotificationTitle",
|
2379
|
+
# body: "PushNotificationBody",
|
2380
|
+
# type: "DEFAULT", # accepts DEFAULT, VOIP
|
2359
2381
|
# },
|
2360
2382
|
# message_attributes: {
|
2361
2383
|
# "MessageAttributeName" => {
|
@@ -2645,7 +2667,7 @@ module Aws::ChimeSDKMessaging
|
|
2645
2667
|
params: params,
|
2646
2668
|
config: config)
|
2647
2669
|
context[:gem_name] = 'aws-sdk-chimesdkmessaging'
|
2648
|
-
context[:gem_version] = '1.
|
2670
|
+
context[:gem_version] = '1.10.0'
|
2649
2671
|
Seahorse::Client::Request.new(handlers, context)
|
2650
2672
|
end
|
2651
2673
|
|
@@ -319,6 +319,8 @@ module Aws::ChimeSDKMessaging
|
|
319
319
|
ChannelMessageCallback.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location_name: "MessageId"))
|
320
320
|
ChannelMessageCallback.add_member(:content, Shapes::ShapeRef.new(shape: NonEmptyContent, location_name: "Content"))
|
321
321
|
ChannelMessageCallback.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata"))
|
322
|
+
ChannelMessageCallback.add_member(:push_notification, Shapes::ShapeRef.new(shape: PushNotificationConfiguration, location_name: "PushNotification"))
|
323
|
+
ChannelMessageCallback.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageAttributeMap, location_name: "MessageAttributes"))
|
322
324
|
ChannelMessageCallback.struct_class = Types::ChannelMessageCallback
|
323
325
|
|
324
326
|
ChannelMessageStatusStructure.add_member(:value, Shapes::ShapeRef.new(shape: ChannelMessageStatus, location_name: "Value"))
|
@@ -682,9 +684,9 @@ module Aws::ChimeSDKMessaging
|
|
682
684
|
|
683
685
|
ProcessorList.member = Shapes::ShapeRef.new(shape: Processor)
|
684
686
|
|
685
|
-
PushNotificationConfiguration.add_member(:title, Shapes::ShapeRef.new(shape: PushNotificationTitle,
|
686
|
-
PushNotificationConfiguration.add_member(:body, Shapes::ShapeRef.new(shape: PushNotificationBody,
|
687
|
-
PushNotificationConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: PushNotificationType,
|
687
|
+
PushNotificationConfiguration.add_member(:title, Shapes::ShapeRef.new(shape: PushNotificationTitle, location_name: "Title"))
|
688
|
+
PushNotificationConfiguration.add_member(:body, Shapes::ShapeRef.new(shape: PushNotificationBody, location_name: "Body"))
|
689
|
+
PushNotificationConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: PushNotificationType, location_name: "Type"))
|
688
690
|
PushNotificationConfiguration.struct_class = Types::PushNotificationConfiguration
|
689
691
|
|
690
692
|
PushNotificationPreferences.add_member(:allow_notifications, Shapes::ShapeRef.new(shape: AllowNotifications, required: true, location_name: "AllowNotifications"))
|
@@ -374,6 +374,16 @@ module Aws::ChimeSDKMessaging
|
|
374
374
|
# message_id: "MessageId", # required
|
375
375
|
# content: "NonEmptyContent",
|
376
376
|
# metadata: "Metadata",
|
377
|
+
# push_notification: {
|
378
|
+
# title: "PushNotificationTitle",
|
379
|
+
# body: "PushNotificationBody",
|
380
|
+
# type: "DEFAULT", # accepts DEFAULT, VOIP
|
381
|
+
# },
|
382
|
+
# message_attributes: {
|
383
|
+
# "MessageAttributeName" => {
|
384
|
+
# string_values: ["MessageAttributeStringValue"],
|
385
|
+
# },
|
386
|
+
# },
|
377
387
|
# },
|
378
388
|
# }
|
379
389
|
#
|
@@ -630,6 +640,16 @@ module Aws::ChimeSDKMessaging
|
|
630
640
|
# message_id: "MessageId", # required
|
631
641
|
# content: "NonEmptyContent",
|
632
642
|
# metadata: "Metadata",
|
643
|
+
# push_notification: {
|
644
|
+
# title: "PushNotificationTitle",
|
645
|
+
# body: "PushNotificationBody",
|
646
|
+
# type: "DEFAULT", # accepts DEFAULT, VOIP
|
647
|
+
# },
|
648
|
+
# message_attributes: {
|
649
|
+
# "MessageAttributeName" => {
|
650
|
+
# string_values: ["MessageAttributeStringValue"],
|
651
|
+
# },
|
652
|
+
# },
|
633
653
|
# }
|
634
654
|
#
|
635
655
|
# @!attribute [rw] message_id
|
@@ -644,12 +664,23 @@ module Aws::ChimeSDKMessaging
|
|
644
664
|
# The message metadata.
|
645
665
|
# @return [String]
|
646
666
|
#
|
667
|
+
# @!attribute [rw] push_notification
|
668
|
+
# The push notification configuration of the message.
|
669
|
+
# @return [Types::PushNotificationConfiguration]
|
670
|
+
#
|
671
|
+
# @!attribute [rw] message_attributes
|
672
|
+
# The attributes for the message, used for message filtering along
|
673
|
+
# with a `FilterRule` defined in the `PushNotificationPreferences`.
|
674
|
+
# @return [Hash<String,Types::MessageAttributeValue>]
|
675
|
+
#
|
647
676
|
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelMessageCallback AWS API Documentation
|
648
677
|
#
|
649
678
|
class ChannelMessageCallback < Struct.new(
|
650
679
|
:message_id,
|
651
680
|
:content,
|
652
|
-
:metadata
|
681
|
+
:metadata,
|
682
|
+
:push_notification,
|
683
|
+
:message_attributes)
|
653
684
|
SENSITIVE = [:content, :metadata]
|
654
685
|
include Aws::Structure
|
655
686
|
end
|
@@ -2055,10 +2086,9 @@ module Aws::ChimeSDKMessaging
|
|
2055
2086
|
#
|
2056
2087
|
# @!attribute [rw] type
|
2057
2088
|
# The membership type of a user, `DEFAULT` or `HIDDEN`. Default
|
2058
|
-
# members are
|
2059
|
-
# Hidden members are only returned if the type filter in
|
2060
|
-
# `ListChannelMemberships` equals `HIDDEN`.
|
2061
|
-
# are not returned.
|
2089
|
+
# members are returned as part of `ListChannelMemberships` if no type
|
2090
|
+
# is specified. Hidden members are only returned if the type filter in
|
2091
|
+
# `ListChannelMemberships` equals `HIDDEN`.
|
2062
2092
|
# @return [String]
|
2063
2093
|
#
|
2064
2094
|
# @!attribute [rw] max_results
|
@@ -2588,9 +2618,9 @@ module Aws::ChimeSDKMessaging
|
|
2588
2618
|
# data as a hash:
|
2589
2619
|
#
|
2590
2620
|
# {
|
2591
|
-
# title: "PushNotificationTitle",
|
2592
|
-
# body: "PushNotificationBody",
|
2593
|
-
# type: "DEFAULT", #
|
2621
|
+
# title: "PushNotificationTitle",
|
2622
|
+
# body: "PushNotificationBody",
|
2623
|
+
# type: "DEFAULT", # accepts DEFAULT, VOIP
|
2594
2624
|
# }
|
2595
2625
|
#
|
2596
2626
|
# @!attribute [rw] title
|
@@ -2791,9 +2821,9 @@ module Aws::ChimeSDKMessaging
|
|
2791
2821
|
# client_request_token: "ClientRequestToken", # required
|
2792
2822
|
# chime_bearer: "ChimeArn", # required
|
2793
2823
|
# push_notification: {
|
2794
|
-
# title: "PushNotificationTitle",
|
2795
|
-
# body: "PushNotificationBody",
|
2796
|
-
# type: "DEFAULT", #
|
2824
|
+
# title: "PushNotificationTitle",
|
2825
|
+
# body: "PushNotificationBody",
|
2826
|
+
# type: "DEFAULT", # accepts DEFAULT, VOIP
|
2797
2827
|
# },
|
2798
2828
|
# message_attributes: {
|
2799
2829
|
# "MessageAttributeName" => {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-chimesdkmessaging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.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: 2022-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|