aws-sdk-chimesdkmessaging 1.7.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa5295ba7afcff9db1721b5c53a14270d7e0297d5422ca3bb4e9d9a5a961dba8
4
- data.tar.gz: b3decd8139305eb53a9b0ff55d05c34268c8f7f9bc9c2e82c3ca3ef519748064
3
+ metadata.gz: 2b3e41600d1bcd4ab8474aba3969ff9cf2ffacf83f2cb2f0c95a8269465e73e5
4
+ data.tar.gz: b26a0f251d8789936d08518226ca9d58d9f72e998f53aac1f5018d3f50a26100
5
5
  SHA512:
6
- metadata.gz: 2211ce5e7c928b515e01dac7697c2fcb8d987b4dc2d5dba52582779278451d6242a7fafd471736d5a496c9afa32b7d10b729332c4612b7669e01e023f0f70399
7
- data.tar.gz: e817410c26211da1478ff1dc140d80f43098c47f9c825bd039571fe6ae5b1913d22f035ed2a3fa9f9e7aff5852fd2cb1d45090e2449d9f651a3d3983024737c4
6
+ metadata.gz: 01b279a1c4f8d95eaf44b6ae8efbb08db286705c41a25d1f9155b5dd297b3f8aa3c3cfbb1798f361171823cb0abb4dbb69dce61139770fd481ae2fe016e94490
7
+ data.tar.gz: e8bc2b9b1baf2d0b5fe971d2000e1897f8c5460cbc723392fe6449310da7b5e1af8fe1d84efa4d1b4bb82197b91ec06788c50e85bd6d55a70a725155b7d15bf2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.8.0 (2021-12-21)
5
+ ------------------
6
+
7
+ * Feature - The Amazon Chime SDK now supports updating message attributes via channel flows
8
+
4
9
  1.7.0 (2021-11-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.7.0
1
+ 1.8.0
@@ -27,6 +27,7 @@ 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'
30
31
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
32
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
33
 
@@ -73,6 +74,7 @@ module Aws::ChimeSDKMessaging
73
74
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
75
  add_plugin(Aws::Plugins::TransferEncoding)
75
76
  add_plugin(Aws::Plugins::HttpChecksum)
77
+ add_plugin(Aws::Plugins::DefaultsMode)
76
78
  add_plugin(Aws::Plugins::SignatureV4)
77
79
  add_plugin(Aws::Plugins::Protocols::RestJson)
78
80
 
@@ -175,6 +177,10 @@ module Aws::ChimeSDKMessaging
175
177
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
176
178
  # a clock skew correction and retry requests with skewed client clocks.
177
179
  #
180
+ # @option options [String] :defaults_mode ("legacy")
181
+ # See {Aws::DefaultsModeConfiguration} for a list of the
182
+ # accepted modes and the configuration defaults that are included.
183
+ #
178
184
  # @option options [Boolean] :disable_host_prefix_injection (false)
179
185
  # Set to true to disable SDK automatically adding host prefix
180
186
  # to default service endpoint when available.
@@ -297,7 +303,7 @@ module Aws::ChimeSDKMessaging
297
303
  # seconds to wait when opening a HTTP session before raising a
298
304
  # `Timeout::Error`.
299
305
  #
300
- # @option options [Integer] :http_read_timeout (60) The default
306
+ # @option options [Float] :http_read_timeout (60) The default
301
307
  # number of seconds to wait for response data. This value can
302
308
  # safely be set per-request on the session.
303
309
  #
@@ -313,6 +319,9 @@ module Aws::ChimeSDKMessaging
313
319
  # disables this behaviour. This value can safely be set per
314
320
  # request on the session.
315
321
  #
322
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
323
+ # in seconds.
324
+ #
316
325
  # @option options [Boolean] :http_wire_trace (false) When `true`,
317
326
  # HTTP debug output will be sent to the `:logger`.
318
327
  #
@@ -477,6 +486,16 @@ module Aws::ChimeSDKMessaging
477
486
  # message_id: "MessageId", # required
478
487
  # content: "NonEmptyContent",
479
488
  # metadata: "Metadata",
489
+ # push_notification: {
490
+ # title: "PushNotificationTitle",
491
+ # body: "PushNotificationBody",
492
+ # type: "DEFAULT", # accepts DEFAULT, VOIP
493
+ # },
494
+ # message_attributes: {
495
+ # "MessageAttributeName" => {
496
+ # string_values: ["MessageAttributeStringValue"],
497
+ # },
498
+ # },
480
499
  # },
481
500
  # })
482
501
  #
@@ -1729,10 +1748,9 @@ module Aws::ChimeSDKMessaging
1729
1748
  #
1730
1749
  # @option params [String] :type
1731
1750
  # The membership type of a user, `DEFAULT` or `HIDDEN`. Default members
1732
- # are always returned as part of `ListChannelMemberships`. Hidden
1733
- # members are only returned if the type filter in
1734
- # `ListChannelMemberships` equals `HIDDEN`. Otherwise hidden members are
1735
- # not returned.
1751
+ # are returned as part of `ListChannelMemberships` if no type is
1752
+ # specified. Hidden members are only returned if the type filter in
1753
+ # `ListChannelMemberships` equals `HIDDEN`.
1736
1754
  #
1737
1755
  # @option params [Integer] :max_results
1738
1756
  # The maximum number of channel memberships that you want returned.
@@ -2353,9 +2371,9 @@ module Aws::ChimeSDKMessaging
2353
2371
  # client_request_token: "ClientRequestToken", # required
2354
2372
  # chime_bearer: "ChimeArn", # required
2355
2373
  # push_notification: {
2356
- # title: "PushNotificationTitle", # required
2357
- # body: "PushNotificationBody", # required
2358
- # type: "DEFAULT", # required, accepts DEFAULT, VOIP
2374
+ # title: "PushNotificationTitle",
2375
+ # body: "PushNotificationBody",
2376
+ # type: "DEFAULT", # accepts DEFAULT, VOIP
2359
2377
  # },
2360
2378
  # message_attributes: {
2361
2379
  # "MessageAttributeName" => {
@@ -2645,7 +2663,7 @@ module Aws::ChimeSDKMessaging
2645
2663
  params: params,
2646
2664
  config: config)
2647
2665
  context[:gem_name] = 'aws-sdk-chimesdkmessaging'
2648
- context[:gem_version] = '1.7.0'
2666
+ context[:gem_version] = '1.8.0'
2649
2667
  Seahorse::Client::Request.new(handlers, context)
2650
2668
  end
2651
2669
 
@@ -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, required: true, location_name: "Title"))
686
- PushNotificationConfiguration.add_member(:body, Shapes::ShapeRef.new(shape: PushNotificationBody, required: true, location_name: "Body"))
687
- PushNotificationConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: PushNotificationType, required: true, location_name: "Type"))
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 always returned as part of `ListChannelMemberships`.
2059
- # Hidden members are only returned if the type filter in
2060
- # `ListChannelMemberships` equals `HIDDEN`. Otherwise hidden members
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", # required
2592
- # body: "PushNotificationBody", # required
2593
- # type: "DEFAULT", # required, accepts DEFAULT, VOIP
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", # required
2795
- # body: "PushNotificationBody", # required
2796
- # type: "DEFAULT", # required, accepts DEFAULT, VOIP
2824
+ # title: "PushNotificationTitle",
2825
+ # body: "PushNotificationBody",
2826
+ # type: "DEFAULT", # accepts DEFAULT, VOIP
2797
2827
  # },
2798
2828
  # message_attributes: {
2799
2829
  # "MessageAttributeName" => {
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-chimesdkmessaging/customizations'
48
48
  # @!group service
49
49
  module Aws::ChimeSDKMessaging
50
50
 
51
- GEM_VERSION = '1.7.0'
51
+ GEM_VERSION = '1.8.0'
52
52
 
53
53
  end
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.7.0
4
+ version: 1.8.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: 2021-11-30 00:00:00.000000000 Z
11
+ date: 2021-12-21 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.122.0
22
+ version: 3.125.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.122.0
32
+ version: 3.125.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement