aws-sdk-chimesdkmessaging 1.20.0 → 1.21.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 38a19392c677a809ad843636db7125f62fc36f7d7582b1a198a2b76023db8b85
4
- data.tar.gz: 0e57f98a3bb83cd74725bb1d61179fa3fd609a1ef4ea1a9c8327be54547e84fb
3
+ metadata.gz: 895c21110b72fa1f9c437862c15a188a5e4ad61fbe9478a4b85ee172088486f5
4
+ data.tar.gz: 79dc9d3b9504d04c9b027e06f98a79a5513577e1845aff0e058464a00136e3bf
5
5
  SHA512:
6
- metadata.gz: c71dd56a31c1a3e1286cb94c6c3e5be58617dc1673655fedf30ec75774c5c86a5beaad2eb17d3a78dbd127a0bbf09cbdf1596104c2e790dc007625726f4c323e
7
- data.tar.gz: fb5c31966d80ae91089ed907137a98760e16385e7513aa78ee236c58cea89c8110eef61548cc4b640b01af82c59c43bb4c88239f24bd48183061a169ac92bc26
6
+ metadata.gz: fdd3810c1228bfdf01d9652b558b07823ae579239e52a60e2b7ad20243a40d4fcb8e29b96ff8e7a2bbef58f5009fa00f9272c09db3dcd7165ed9a3f0173df85a
7
+ data.tar.gz: 9c3879386271fcbaf6d824b736701ccc0a788c99b432aea75d370e35256d974bcae7a33304e44f76ad6550f2531c932e8e520cfc2ad9f65edec2e442afed0edb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.21.0 (2023-06-22)
5
+ ------------------
6
+
7
+ * Feature - ChannelMessages can be made visible to sender and intended recipient rather than all channel members with the target attribute. For example, a user can send messages to a bot and receive messages back in a group channel without other members seeing them.
8
+
4
9
  1.20.0 (2023-06-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.20.0
1
+ 1.21.0
@@ -480,9 +480,9 @@ module Aws::ChimeSDKMessaging
480
480
  req.send_request(options)
481
481
  end
482
482
 
483
- # Calls back Chime SDK Messaging with a processing response message.
484
- # This should be invoked from the processor Lambda. This is a developer
485
- # API.
483
+ # Calls back Amazon Chime SDK messaging with a processing response
484
+ # message. This should be invoked from the processor Lambda. This is a
485
+ # developer API.
486
486
  #
487
487
  # You can return one of the following processing responses:
488
488
  #
@@ -728,7 +728,7 @@ module Aws::ChimeSDKMessaging
728
728
  # 3. The Standard message type
729
729
  #
730
730
  # <note markdown="1"> Channel flows don't process Control or System messages. For more
731
- # information about the message types provided by Chime SDK Messaging,
731
+ # information about the message types provided by Chime SDK messaging,
732
732
  # refer to [Message types][1] in the *Amazon Chime developer guide*.
733
733
  #
734
734
  # </note>
@@ -1593,7 +1593,7 @@ module Aws::ChimeSDKMessaging
1593
1593
 
1594
1594
  # Gets the membership preferences of an `AppInstanceUser` or
1595
1595
  # `AppInstanceBot` for the specified channel. A user or a bot must be a
1596
- # member of the channel and own the membership to be able to retrieve
1596
+ # member of the channel and own the membership in order to retrieve
1597
1597
  # membership preferences. Users or bots in the `AppInstanceAdmin` and
1598
1598
  # channel moderator roles can't retrieve preferences for other users or
1599
1599
  # bots. Banned users or bots can't retrieve membership preferences for
@@ -1706,6 +1706,8 @@ module Aws::ChimeSDKMessaging
1706
1706
  # resp.channel_message.message_attributes["MessageAttributeName"].string_values[0] #=> String
1707
1707
  # resp.channel_message.sub_channel_id #=> String
1708
1708
  # resp.channel_message.content_type #=> String
1709
+ # resp.channel_message.target #=> Array
1710
+ # resp.channel_message.target[0].member_arn #=> String
1709
1711
  #
1710
1712
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessage AWS API Documentation
1711
1713
  #
@@ -1738,7 +1740,7 @@ module Aws::ChimeSDKMessaging
1738
1740
  #
1739
1741
  # DENIED
1740
1742
  #
1741
- # : Messasge denied by the processor
1743
+ # : Message denied by the processor
1742
1744
  #
1743
1745
  # <note markdown="1"> * This API does not return statuses for denied messages, because we
1744
1746
  # don't store them once the processor denies them.
@@ -2035,7 +2037,7 @@ module Aws::ChimeSDKMessaging
2035
2037
  req.send_request(options)
2036
2038
  end
2037
2039
 
2038
- # Lists all channels that anr `AppInstanceUser` or `AppInstanceBot` is a
2040
+ # Lists all channels that an `AppInstanceUser` or `AppInstanceBot` is a
2039
2041
  # part of. Only an `AppInstanceAdmin` can call the API with a user ARN
2040
2042
  # that is not their own.
2041
2043
  #
@@ -2187,6 +2189,8 @@ module Aws::ChimeSDKMessaging
2187
2189
  # resp.channel_messages[0].message_attributes["MessageAttributeName"].string_values #=> Array
2188
2190
  # resp.channel_messages[0].message_attributes["MessageAttributeName"].string_values[0] #=> String
2189
2191
  # resp.channel_messages[0].content_type #=> String
2192
+ # resp.channel_messages[0].target #=> Array
2193
+ # resp.channel_messages[0].target[0].member_arn #=> String
2190
2194
  # resp.sub_channel_id #=> String
2191
2195
  #
2192
2196
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMessages AWS API Documentation
@@ -2571,12 +2575,12 @@ module Aws::ChimeSDKMessaging
2571
2575
  end
2572
2576
 
2573
2577
  # Sets the membership preferences of an `AppInstanceUser` or
2574
- # `AppIntanceBot` for the specified channel. The user or bot must be a
2578
+ # `AppInstanceBot` for the specified channel. The user or bot must be a
2575
2579
  # member of the channel. Only the user or bot who owns the membership
2576
2580
  # can set preferences. Users or bots in the `AppInstanceAdmin` and
2577
- # channel moderator roles can't set preferences for other users or
2578
- # users. Banned users or bots can't set membership preferences for the
2579
- # channel from which they are banned.
2581
+ # channel moderator roles can't set preferences for other users. Banned
2582
+ # users or bots can't set membership preferences for the channel from
2583
+ # which they are banned.
2580
2584
  #
2581
2585
  # <note markdown="1"> The x-amz-chime-bearer request header is mandatory. Use the ARN of an
2582
2586
  # `AppInstanceUser` or `AppInstanceBot` that makes the API call as the
@@ -2802,8 +2806,11 @@ module Aws::ChimeSDKMessaging
2802
2806
  # the `AppInstanceUser` or `AppInstanceBot` that makes the API call as
2803
2807
  # the value in the header.
2804
2808
  #
2805
- # Also, `STANDARD` messages can contain 4KB of data and the 1KB of
2806
- # metadata. `CONTROL` messages can contain 30 bytes of data and no
2809
+ # Also, `STANDARD` messages can be up to 4KB in size and contain
2810
+ # metadata. Metadata is arbitrary, and you can use it in a variety of
2811
+ # ways, such as containing a link to an attachment.
2812
+ #
2813
+ # `CONTROL` messages are limited to 30 bytes and do not contain
2807
2814
  # metadata.
2808
2815
  #
2809
2816
  # </note>
@@ -2812,11 +2819,18 @@ module Aws::ChimeSDKMessaging
2812
2819
  # The ARN of the channel.
2813
2820
  #
2814
2821
  # @option params [required, String] :content
2815
- # The content of the message.
2822
+ # The content of the channel message.
2816
2823
  #
2817
2824
  # @option params [required, String] :type
2818
2825
  # The type of message, `STANDARD` or `CONTROL`.
2819
2826
  #
2827
+ # `STANDARD` messages can be up to 4KB in size and contain metadata.
2828
+ # Metadata is arbitrary, and you can use it in a variety of ways, such
2829
+ # as containing a link to an attachment.
2830
+ #
2831
+ # `CONTROL` messages are limited to 30 bytes and do not contain
2832
+ # metadata.
2833
+ #
2820
2834
  # @option params [required, String] :persistence
2821
2835
  # Boolean that controls whether the message is persisted on the back
2822
2836
  # end. Required.
@@ -2847,6 +2861,13 @@ module Aws::ChimeSDKMessaging
2847
2861
  # @option params [String] :content_type
2848
2862
  # The content type of the channel message.
2849
2863
  #
2864
+ # @option params [Array<Types::Target>] :target
2865
+ # The target of a message. Must be a member of the channel, such as
2866
+ # another user, a bot, or the sender. Only the target and the sender can
2867
+ # view targeted messages. Only users who can see targeted messages can
2868
+ # take actions on them. However, administrators can delete targeted
2869
+ # messages that they can’t see.
2870
+ #
2850
2871
  # @return [Types::SendChannelMessageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2851
2872
  #
2852
2873
  # * {Types::SendChannelMessageResponse#channel_arn #channel_arn} => String
@@ -2876,6 +2897,11 @@ module Aws::ChimeSDKMessaging
2876
2897
  # },
2877
2898
  # sub_channel_id: "SubChannelId",
2878
2899
  # content_type: "ContentType",
2900
+ # target: [
2901
+ # {
2902
+ # member_arn: "ChimeArn",
2903
+ # },
2904
+ # ],
2879
2905
  # })
2880
2906
  #
2881
2907
  # @example Response structure
@@ -3070,7 +3096,7 @@ module Aws::ChimeSDKMessaging
3070
3096
  # The ID string of the message being updated.
3071
3097
  #
3072
3098
  # @option params [required, String] :content
3073
- # The content of the message being updated.
3099
+ # The content of the channel message.
3074
3100
  #
3075
3101
  # @option params [String] :metadata
3076
3102
  # The metadata of the message being updated.
@@ -3178,7 +3204,7 @@ module Aws::ChimeSDKMessaging
3178
3204
  params: params,
3179
3205
  config: config)
3180
3206
  context[:gem_name] = 'aws-sdk-chimesdkmessaging'
3181
- context[:gem_version] = '1.20.0'
3207
+ context[:gem_version] = '1.21.0'
3182
3208
  Seahorse::Client::Request.new(handlers, context)
3183
3209
  end
3184
3210
 
@@ -207,6 +207,8 @@ module Aws::ChimeSDKMessaging
207
207
  TagList = Shapes::ListShape.new(name: 'TagList')
208
208
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
209
209
  TagValue = Shapes::StringShape.new(name: 'TagValue')
210
+ Target = Shapes::StructureShape.new(name: 'Target')
211
+ TargetList = Shapes::ListShape.new(name: 'TargetList')
210
212
  TargetMembershipsPerSubChannel = Shapes::IntegerShape.new(name: 'TargetMembershipsPerSubChannel')
211
213
  ThrottledClientException = Shapes::StructureShape.new(name: 'ThrottledClientException')
212
214
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
@@ -359,6 +361,7 @@ module Aws::ChimeSDKMessaging
359
361
  ChannelMessage.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageAttributeMap, location_name: "MessageAttributes"))
360
362
  ChannelMessage.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
361
363
  ChannelMessage.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, location_name: "ContentType"))
364
+ ChannelMessage.add_member(:target, Shapes::ShapeRef.new(shape: TargetList, location_name: "Target"))
362
365
  ChannelMessage.struct_class = Types::ChannelMessage
363
366
 
364
367
  ChannelMessageCallback.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location_name: "MessageId"))
@@ -386,6 +389,7 @@ module Aws::ChimeSDKMessaging
386
389
  ChannelMessageSummary.add_member(:status, Shapes::ShapeRef.new(shape: ChannelMessageStatusStructure, location_name: "Status"))
387
390
  ChannelMessageSummary.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageAttributeMap, location_name: "MessageAttributes"))
388
391
  ChannelMessageSummary.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, location_name: "ContentType"))
392
+ ChannelMessageSummary.add_member(:target, Shapes::ShapeRef.new(shape: TargetList, location_name: "Target"))
389
393
  ChannelMessageSummary.struct_class = Types::ChannelMessageSummary
390
394
 
391
395
  ChannelMessageSummaryList.member = Shapes::ShapeRef.new(shape: ChannelMessageSummary)
@@ -859,6 +863,7 @@ module Aws::ChimeSDKMessaging
859
863
  SendChannelMessageRequest.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageAttributeMap, location_name: "MessageAttributes"))
860
864
  SendChannelMessageRequest.add_member(:sub_channel_id, Shapes::ShapeRef.new(shape: SubChannelId, location_name: "SubChannelId"))
861
865
  SendChannelMessageRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, location_name: "ContentType"))
866
+ SendChannelMessageRequest.add_member(:target, Shapes::ShapeRef.new(shape: TargetList, location_name: "Target"))
862
867
  SendChannelMessageRequest.struct_class = Types::SendChannelMessageRequest
863
868
 
864
869
  SendChannelMessageResponse.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "ChannelArn"))
@@ -899,6 +904,11 @@ module Aws::ChimeSDKMessaging
899
904
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
900
905
  TagResourceRequest.struct_class = Types::TagResourceRequest
901
906
 
907
+ Target.add_member(:member_arn, Shapes::ShapeRef.new(shape: ChimeArn, location_name: "MemberArn"))
908
+ Target.struct_class = Types::Target
909
+
910
+ TargetList.member = Shapes::ShapeRef.new(shape: Target)
911
+
902
912
  ThrottledClientException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
903
913
  ThrottledClientException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
904
914
  ThrottledClientException.struct_class = Types::ThrottledClientException
@@ -553,7 +553,15 @@ module Aws::ChimeSDKMessaging
553
553
  # @return [String]
554
554
  #
555
555
  # @!attribute [rw] content
556
- # The message content.
556
+ # The content of the channel message. For Amazon Lex V2 bot responses,
557
+ # this field holds a list of messages originating from the bot. For
558
+ # more information, refer to [Processing responses from an
559
+ # AppInstanceBot][1] in the *Amazon Chime SDK Messaging Developer
560
+ # Guide*.
561
+ #
562
+ #
563
+ #
564
+ # [1]: https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html
557
565
  # @return [String]
558
566
  #
559
567
  # @!attribute [rw] metadata
@@ -593,8 +601,15 @@ module Aws::ChimeSDKMessaging
593
601
  # @return [Types::ChannelMessageStatusStructure]
594
602
  #
595
603
  # @!attribute [rw] message_attributes
596
- # The attributes for the message, used for message filtering along
597
- # with a `FilterRule` defined in the `PushNotificationPreferences`.
604
+ # The attributes for the channel message. For Amazon Lex V2 bot
605
+ # responses, the attributes are mapped to specific fields from the
606
+ # bot. For more information, refer to [Processing responses from an
607
+ # AppInstanceBot][1] in the *Amazon Chime SDK Messaging Developer
608
+ # Guide*.
609
+ #
610
+ #
611
+ #
612
+ # [1]: https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html
598
613
  # @return [Hash<String,Types::MessageAttributeValue>]
599
614
  #
600
615
  # @!attribute [rw] sub_channel_id
@@ -602,9 +617,25 @@ module Aws::ChimeSDKMessaging
602
617
  # @return [String]
603
618
  #
604
619
  # @!attribute [rw] content_type
605
- # The content type of the channel message.
620
+ # The content type of the channel message. For Amazon Lex V2 bot
621
+ # responses, the content type is `application/amz-chime-lex-msgs` for
622
+ # success responses and `application/amz-chime-lex-error` for failure
623
+ # responses. For more information, refer to [Processing responses from
624
+ # an AppInstanceBot][1] in the *Amazon Chime SDK Messaging Developer
625
+ # Guide*.
626
+ #
627
+ #
628
+ #
629
+ # [1]: https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html
606
630
  # @return [String]
607
631
  #
632
+ # @!attribute [rw] target
633
+ # The target of a message, a sender, a user, or a bot. Only the target
634
+ # and the sender can view targeted messages. Only users who can see
635
+ # targeted messages can take actions on them. However, administrators
636
+ # can delete targeted messages that they can’t see.
637
+ # @return [Array<Types::Target>]
638
+ #
608
639
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelMessage AWS API Documentation
609
640
  #
610
641
  class ChannelMessage < Struct.new(
@@ -622,7 +653,8 @@ module Aws::ChimeSDKMessaging
622
653
  :status,
623
654
  :message_attributes,
624
655
  :sub_channel_id,
625
- :content_type)
656
+ :content_type,
657
+ :target)
626
658
  SENSITIVE = [:content, :metadata, :content_type]
627
659
  include Aws::Structure
628
660
  end
@@ -634,7 +666,15 @@ module Aws::ChimeSDKMessaging
634
666
  # @return [String]
635
667
  #
636
668
  # @!attribute [rw] content
637
- # The message content.
669
+ # The message content. For Amazon Lex V2 bot responses, this field
670
+ # holds a list of messages originating from the bot. For more
671
+ # information, refer to [Processing responses from an
672
+ # AppInstanceBot][1] in the *Amazon Chime SDK Messaging Developer
673
+ # Guide*.
674
+ #
675
+ #
676
+ #
677
+ # [1]: https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html
638
678
  # @return [String]
639
679
  #
640
680
  # @!attribute [rw] metadata
@@ -646,8 +686,15 @@ module Aws::ChimeSDKMessaging
646
686
  # @return [Types::PushNotificationConfiguration]
647
687
  #
648
688
  # @!attribute [rw] message_attributes
649
- # The attributes for the message, used for message filtering along
650
- # with a `FilterRule` defined in the `PushNotificationPreferences`.
689
+ # The attributes for the channel message. For Amazon Lex V2 bot
690
+ # responses, the attributes are mapped to specific fields from the
691
+ # bot. For more information, refer to [Processing responses from an
692
+ # AppInstanceBot][1] in the *Amazon Chime SDK Messaging Developer
693
+ # Guide*.
694
+ #
695
+ #
696
+ #
697
+ # [1]: https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html
651
698
  # @return [Hash<String,Types::MessageAttributeValue>]
652
699
  #
653
700
  # @!attribute [rw] sub_channel_id
@@ -655,7 +702,16 @@ module Aws::ChimeSDKMessaging
655
702
  # @return [String]
656
703
  #
657
704
  # @!attribute [rw] content_type
658
- # The content type of the call-back message.
705
+ # The content type of the call-back message. For Amazon Lex V2 bot
706
+ # responses, the content type is `application/amz-chime-lex-msgs` for
707
+ # success responses and `application/amz-chime-lex-error` for failure
708
+ # responses. For more information, refer to [Processing responses from
709
+ # an AppInstanceBot][1] in the *Amazon Chime SDK Messaging Developer
710
+ # Guide*.
711
+ #
712
+ #
713
+ #
714
+ # [1]: https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html
659
715
  # @return [String]
660
716
  #
661
717
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelMessageCallback AWS API Documentation
@@ -679,7 +735,7 @@ module Aws::ChimeSDKMessaging
679
735
  # @return [String]
680
736
  #
681
737
  # @!attribute [rw] detail
682
- # Contains more details about the messasge status.
738
+ # Contains more details about the message status.
683
739
  # @return [String]
684
740
  #
685
741
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelMessageStatusStructure AWS API Documentation
@@ -698,7 +754,15 @@ module Aws::ChimeSDKMessaging
698
754
  # @return [String]
699
755
  #
700
756
  # @!attribute [rw] content
701
- # The content of the message.
757
+ # The content of the channel message. For Amazon Lex V2 bot responses,
758
+ # this field holds a list of messages originating from the bot. For
759
+ # more information, refer to [Processing responses from an
760
+ # AppInstanceBot][1] in the *Amazon Chime SDK Messaging Developer
761
+ # Guide*.
762
+ #
763
+ #
764
+ #
765
+ # [1]: https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html
702
766
  # @return [String]
703
767
  #
704
768
  # @!attribute [rw] metadata
@@ -736,13 +800,38 @@ module Aws::ChimeSDKMessaging
736
800
  # @return [Types::ChannelMessageStatusStructure]
737
801
  #
738
802
  # @!attribute [rw] message_attributes
739
- # The message attribues listed in a the summary of a channel message.
803
+ # The attributes for the channel message. For Amazon Lex V2 bot
804
+ # responses, the attributes are mapped to specific fields from the
805
+ # bot. For more information, refer to [Processing responses from an
806
+ # AppInstanceBot][1] in the *Amazon Chime SDK Messaging Developer
807
+ # Guide*.
808
+ #
809
+ #
810
+ #
811
+ # [1]: https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html
740
812
  # @return [Hash<String,Types::MessageAttributeValue>]
741
813
  #
742
814
  # @!attribute [rw] content_type
743
- # The content type of the channel messsage listed in the summary.
815
+ # The content type of the channel message listed in the summary. For
816
+ # Amazon Lex V2 bot responses, the content type is
817
+ # `application/amz-chime-lex-msgs` for success responses and
818
+ # `application/amz-chime-lex-error` for failure responses. For more
819
+ # information, refer to [Processing responses from an
820
+ # AppInstanceBot][1] in the *Amazon Chime SDK Messaging Developer
821
+ # Guide*.
822
+ #
823
+ #
824
+ #
825
+ # [1]: https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html
744
826
  # @return [String]
745
827
  #
828
+ # @!attribute [rw] target
829
+ # The target of a message, a sender, a user, or a bot. Only the target
830
+ # and the sender can view targeted messages. Only users who can see
831
+ # targeted messages can take actions on them. However, administrators
832
+ # can delete targeted messages that they can’t see.
833
+ # @return [Array<Types::Target>]
834
+ #
746
835
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelMessageSummary AWS API Documentation
747
836
  #
748
837
  class ChannelMessageSummary < Struct.new(
@@ -757,7 +846,8 @@ module Aws::ChimeSDKMessaging
757
846
  :redacted,
758
847
  :status,
759
848
  :message_attributes,
760
- :content_type)
849
+ :content_type,
850
+ :target)
761
851
  SENSITIVE = [:content, :metadata, :content_type]
762
852
  include Aws::Structure
763
853
  end
@@ -842,7 +932,8 @@ module Aws::ChimeSDKMessaging
842
932
  # @return [String]
843
933
  #
844
934
  # @!attribute [rw] last_message_timestamp
845
- # The time at which the last persistent message in a channel was sent.
935
+ # The time at which the last persistent message visible to the caller
936
+ # in a channel was sent.
846
937
  # @return [Time]
847
938
  #
848
939
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelSummary AWS API Documentation
@@ -2851,11 +2942,18 @@ module Aws::ChimeSDKMessaging
2851
2942
  # @return [String]
2852
2943
  #
2853
2944
  # @!attribute [rw] content
2854
- # The content of the message.
2945
+ # The content of the channel message.
2855
2946
  # @return [String]
2856
2947
  #
2857
2948
  # @!attribute [rw] type
2858
2949
  # The type of message, `STANDARD` or `CONTROL`.
2950
+ #
2951
+ # `STANDARD` messages can be up to 4KB in size and contain metadata.
2952
+ # Metadata is arbitrary, and you can use it in a variety of ways, such
2953
+ # as containing a link to an attachment.
2954
+ #
2955
+ # `CONTROL` messages are limited to 30 bytes and do not contain
2956
+ # metadata.
2859
2957
  # @return [String]
2860
2958
  #
2861
2959
  # @!attribute [rw] persistence
@@ -2896,6 +2994,14 @@ module Aws::ChimeSDKMessaging
2896
2994
  # The content type of the channel message.
2897
2995
  # @return [String]
2898
2996
  #
2997
+ # @!attribute [rw] target
2998
+ # The target of a message. Must be a member of the channel, such as
2999
+ # another user, a bot, or the sender. Only the target and the sender
3000
+ # can view targeted messages. Only users who can see targeted messages
3001
+ # can take actions on them. However, administrators can delete
3002
+ # targeted messages that they can’t see.
3003
+ # @return [Array<Types::Target>]
3004
+ #
2899
3005
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SendChannelMessageRequest AWS API Documentation
2900
3006
  #
2901
3007
  class SendChannelMessageRequest < Struct.new(
@@ -2909,7 +3015,8 @@ module Aws::ChimeSDKMessaging
2909
3015
  :push_notification,
2910
3016
  :message_attributes,
2911
3017
  :sub_channel_id,
2912
- :content_type)
3018
+ :content_type,
3019
+ :target)
2913
3020
  SENSITIVE = [:content, :metadata, :client_request_token, :content_type]
2914
3021
  include Aws::Structure
2915
3022
  end
@@ -3049,6 +3156,23 @@ module Aws::ChimeSDKMessaging
3049
3156
  include Aws::Structure
3050
3157
  end
3051
3158
 
3159
+ # The target of a message, a sender, a user, or a bot. Only the target
3160
+ # and the sender can view targeted messages. Only users who can see
3161
+ # targeted messages can take actions on them. However, administrators
3162
+ # can delete targeted messages that they can’t see.
3163
+ #
3164
+ # @!attribute [rw] member_arn
3165
+ # The ARN of the target channel member.
3166
+ # @return [String]
3167
+ #
3168
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/Target AWS API Documentation
3169
+ #
3170
+ class Target < Struct.new(
3171
+ :member_arn)
3172
+ SENSITIVE = []
3173
+ include Aws::Structure
3174
+ end
3175
+
3052
3176
  # The client exceeded its request rate limit.
3053
3177
  #
3054
3178
  # @!attribute [rw] code
@@ -3143,7 +3267,7 @@ module Aws::ChimeSDKMessaging
3143
3267
  # @return [String]
3144
3268
  #
3145
3269
  # @!attribute [rw] content
3146
- # The content of the message being updated.
3270
+ # The content of the channel message.
3147
3271
  # @return [String]
3148
3272
  #
3149
3273
  # @!attribute [rw] metadata
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-chimesdkmessaging/customizations'
52
52
  # @!group service
53
53
  module Aws::ChimeSDKMessaging
54
54
 
55
- GEM_VERSION = '1.20.0'
55
+ GEM_VERSION = '1.21.0'
56
56
 
57
57
  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.20.0
4
+ version: 1.21.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: 2023-06-15 00:00:00.000000000 Z
11
+ date: 2023-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core