aws-sdk-chimesdkmessaging 1.5.0 → 1.9.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-chimesdkmessaging/client.rb +41 -10
- 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: 9fb85a313793ec3eb95d8156221e92ab0d9792404ca5d886daae696bb4d7805e
|
4
|
+
data.tar.gz: 361dc4f964408f9660e0b3aa69231cf6b1fa7857f1b0b6b92b0e6d87a51af0c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86527feae87359693cfdff7371eb3b85c4622f2d7af1719f1b96288d252480b9574f5fc5184be598b64cb998a0306972bb24fae44512158f2e7e58564cbc7ddb
|
7
|
+
data.tar.gz: 313615cb4ab3586a15e08f0c5aeaf0459490f234df614804c2541f8f4ed7d73e3d66617b6777d3218f349f9226899a1abf039fc12bc9d65d4cc935423d94f16b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.9.0 (2022-02-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.8.0 (2021-12-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - The Amazon Chime SDK now supports updating message attributes via channel flows
|
13
|
+
|
14
|
+
1.7.0 (2021-11-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.6.0 (2021-11-04)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.5.0 (2021-10-26)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.9.0
|
@@ -27,6 +27,8 @@ 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/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::ChimeSDKMessaging
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
82
|
|
@@ -119,7 +123,9 @@ module Aws::ChimeSDKMessaging
|
|
119
123
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
124
|
# are very aggressive. Construct and pass an instance of
|
121
125
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
126
|
+
# enable retries and extended timeouts. Instance profile credential
|
127
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
128
|
+
# to true.
|
123
129
|
#
|
124
130
|
# @option options [required, String] :region
|
125
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +179,10 @@ module Aws::ChimeSDKMessaging
|
|
173
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
187
|
# Set to true to disable SDK automatically adding host prefix
|
178
188
|
# to default service endpoint when available.
|
@@ -275,6 +285,15 @@ module Aws::ChimeSDKMessaging
|
|
275
285
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
286
|
# requests are made, and retries are disabled.
|
277
287
|
#
|
288
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
289
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
290
|
+
# will be used if available.
|
291
|
+
#
|
292
|
+
# @option options [Boolean] :use_fips_endpoint
|
293
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
294
|
+
# When a `fips` region is used, the region is normalized and this config
|
295
|
+
# is set to `true`.
|
296
|
+
#
|
278
297
|
# @option options [Boolean] :validate_params (true)
|
279
298
|
# When `true`, request parameters are validated before
|
280
299
|
# sending the request.
|
@@ -286,7 +305,7 @@ module Aws::ChimeSDKMessaging
|
|
286
305
|
# seconds to wait when opening a HTTP session before raising a
|
287
306
|
# `Timeout::Error`.
|
288
307
|
#
|
289
|
-
# @option options [
|
308
|
+
# @option options [Float] :http_read_timeout (60) The default
|
290
309
|
# number of seconds to wait for response data. This value can
|
291
310
|
# safely be set per-request on the session.
|
292
311
|
#
|
@@ -302,6 +321,9 @@ module Aws::ChimeSDKMessaging
|
|
302
321
|
# disables this behaviour. This value can safely be set per
|
303
322
|
# request on the session.
|
304
323
|
#
|
324
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
325
|
+
# in seconds.
|
326
|
+
#
|
305
327
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
306
328
|
# HTTP debug output will be sent to the `:logger`.
|
307
329
|
#
|
@@ -466,6 +488,16 @@ module Aws::ChimeSDKMessaging
|
|
466
488
|
# message_id: "MessageId", # required
|
467
489
|
# content: "NonEmptyContent",
|
468
490
|
# metadata: "Metadata",
|
491
|
+
# push_notification: {
|
492
|
+
# title: "PushNotificationTitle",
|
493
|
+
# body: "PushNotificationBody",
|
494
|
+
# type: "DEFAULT", # accepts DEFAULT, VOIP
|
495
|
+
# },
|
496
|
+
# message_attributes: {
|
497
|
+
# "MessageAttributeName" => {
|
498
|
+
# string_values: ["MessageAttributeStringValue"],
|
499
|
+
# },
|
500
|
+
# },
|
469
501
|
# },
|
470
502
|
# })
|
471
503
|
#
|
@@ -1718,10 +1750,9 @@ module Aws::ChimeSDKMessaging
|
|
1718
1750
|
#
|
1719
1751
|
# @option params [String] :type
|
1720
1752
|
# The membership type of a user, `DEFAULT` or `HIDDEN`. Default members
|
1721
|
-
# are
|
1722
|
-
# members are only returned if the type filter in
|
1723
|
-
# `ListChannelMemberships` equals `HIDDEN`.
|
1724
|
-
# not returned.
|
1753
|
+
# are returned as part of `ListChannelMemberships` if no type is
|
1754
|
+
# specified. Hidden members are only returned if the type filter in
|
1755
|
+
# `ListChannelMemberships` equals `HIDDEN`.
|
1725
1756
|
#
|
1726
1757
|
# @option params [Integer] :max_results
|
1727
1758
|
# The maximum number of channel memberships that you want returned.
|
@@ -2342,9 +2373,9 @@ module Aws::ChimeSDKMessaging
|
|
2342
2373
|
# client_request_token: "ClientRequestToken", # required
|
2343
2374
|
# chime_bearer: "ChimeArn", # required
|
2344
2375
|
# push_notification: {
|
2345
|
-
# title: "PushNotificationTitle",
|
2346
|
-
# body: "PushNotificationBody",
|
2347
|
-
# type: "DEFAULT", #
|
2376
|
+
# title: "PushNotificationTitle",
|
2377
|
+
# body: "PushNotificationBody",
|
2378
|
+
# type: "DEFAULT", # accepts DEFAULT, VOIP
|
2348
2379
|
# },
|
2349
2380
|
# message_attributes: {
|
2350
2381
|
# "MessageAttributeName" => {
|
@@ -2634,7 +2665,7 @@ module Aws::ChimeSDKMessaging
|
|
2634
2665
|
params: params,
|
2635
2666
|
config: config)
|
2636
2667
|
context[:gem_name] = 'aws-sdk-chimesdkmessaging'
|
2637
|
-
context[:gem_version] = '1.
|
2668
|
+
context[:gem_version] = '1.9.0'
|
2638
2669
|
Seahorse::Client::Request.new(handlers, context)
|
2639
2670
|
end
|
2640
2671
|
|
@@ -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.9.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-03 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.126.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.126.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|