aws-sdk-chimesdkmessaging 1.16.0 → 1.18.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -82,7 +82,7 @@ module Aws::ChimeSDKMessaging
82
82
  # @return [Types::Identity]
83
83
  #
84
84
  # @!attribute [rw] type
85
- # The membership types set for the channel users.
85
+ # The membership types set for the channel members.
86
86
  # @return [String]
87
87
  #
88
88
  # @!attribute [rw] members
@@ -90,7 +90,7 @@ module Aws::ChimeSDKMessaging
90
90
  # @return [Array<Types::Identity>]
91
91
  #
92
92
  # @!attribute [rw] channel_arn
93
- # The ARN of the channel to which you're adding users.
93
+ # The ARN of the channel to which you're adding members.
94
94
  # @return [String]
95
95
  #
96
96
  # @!attribute [rw] sub_channel_id
@@ -135,7 +135,7 @@ module Aws::ChimeSDKMessaging
135
135
  end
136
136
 
137
137
  # @!attribute [rw] channel_arn
138
- # The ARN of the channel to which you're adding users.
138
+ # The ARN of the channel to which you're adding users or bots.
139
139
  # @return [String]
140
140
  #
141
141
  # @!attribute [rw] type
@@ -147,12 +147,14 @@ module Aws::ChimeSDKMessaging
147
147
  # @return [String]
148
148
  #
149
149
  # @!attribute [rw] member_arns
150
- # The `AppInstanceUserArn`s of the members you want to add to the
151
- # channel.
150
+ # The ARNs of the members you want to add to the channel. Only
151
+ # `AppInstanceUsers` and `AppInstanceBots` can be added as a channel
152
+ # member.
152
153
  # @return [Array<String>]
153
154
  #
154
155
  # @!attribute [rw] chime_bearer
155
- # The `AppInstanceUserArn` of the user that makes the API call.
156
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
157
+ # API call.
156
158
  # @return [String]
157
159
  #
158
160
  # @!attribute [rw] sub_channel_id
@@ -242,6 +244,10 @@ module Aws::ChimeSDKMessaging
242
244
  # An elastic channel can support a maximum of 1-million members.
243
245
  # @return [Types::ElasticChannelConfiguration]
244
246
  #
247
+ # @!attribute [rw] expiration_settings
248
+ # Settings that control when a channel expires.
249
+ # @return [Types::ExpirationSettings]
250
+ #
245
251
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/Channel AWS API Documentation
246
252
  #
247
253
  class Channel < Struct.new(
@@ -255,7 +261,8 @@ module Aws::ChimeSDKMessaging
255
261
  :last_message_timestamp,
256
262
  :last_updated_timestamp,
257
263
  :channel_flow_arn,
258
- :elastic_channel_configuration)
264
+ :elastic_channel_configuration,
265
+ :expiration_settings)
259
266
  SENSITIVE = [:name, :metadata]
260
267
  include Aws::Structure
261
268
  end
@@ -594,6 +601,10 @@ module Aws::ChimeSDKMessaging
594
601
  # The ID of the SubChannel.
595
602
  # @return [String]
596
603
  #
604
+ # @!attribute [rw] content_type
605
+ # The content type of the channel message.
606
+ # @return [String]
607
+ #
597
608
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelMessage AWS API Documentation
598
609
  #
599
610
  class ChannelMessage < Struct.new(
@@ -610,8 +621,9 @@ module Aws::ChimeSDKMessaging
610
621
  :persistence,
611
622
  :status,
612
623
  :message_attributes,
613
- :sub_channel_id)
614
- SENSITIVE = [:content, :metadata]
624
+ :sub_channel_id,
625
+ :content_type)
626
+ SENSITIVE = [:content, :metadata, :content_type]
615
627
  include Aws::Structure
616
628
  end
617
629
 
@@ -642,6 +654,10 @@ module Aws::ChimeSDKMessaging
642
654
  # The ID of the SubChannel.
643
655
  # @return [String]
644
656
  #
657
+ # @!attribute [rw] content_type
658
+ # The content type of the call-back message.
659
+ # @return [String]
660
+ #
645
661
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelMessageCallback AWS API Documentation
646
662
  #
647
663
  class ChannelMessageCallback < Struct.new(
@@ -650,8 +666,9 @@ module Aws::ChimeSDKMessaging
650
666
  :metadata,
651
667
  :push_notification,
652
668
  :message_attributes,
653
- :sub_channel_id)
654
- SENSITIVE = [:content, :metadata]
669
+ :sub_channel_id,
670
+ :content_type)
671
+ SENSITIVE = [:content, :metadata, :content_type]
655
672
  include Aws::Structure
656
673
  end
657
674
 
@@ -722,6 +739,10 @@ module Aws::ChimeSDKMessaging
722
739
  # The message attribues listed in a the summary of a channel message.
723
740
  # @return [Hash<String,Types::MessageAttributeValue>]
724
741
  #
742
+ # @!attribute [rw] content_type
743
+ # The content type of the channel messsage listed in the summary.
744
+ # @return [String]
745
+ #
725
746
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelMessageSummary AWS API Documentation
726
747
  #
727
748
  class ChannelMessageSummary < Struct.new(
@@ -735,8 +756,9 @@ module Aws::ChimeSDKMessaging
735
756
  :sender,
736
757
  :redacted,
737
758
  :status,
738
- :message_attributes)
739
- SENSITIVE = [:content, :metadata]
759
+ :message_attributes,
760
+ :content_type)
761
+ SENSITIVE = [:content, :metadata, :content_type]
740
762
  include Aws::Structure
741
763
  end
742
764
 
@@ -863,7 +885,8 @@ module Aws::ChimeSDKMessaging
863
885
  # @return [String]
864
886
  #
865
887
  # @!attribute [rw] chime_bearer
866
- # The `AppInstanceUserArn` of the user that makes the API call.
888
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
889
+ # API call.
867
890
  # @return [String]
868
891
  #
869
892
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelBanRequest AWS API Documentation
@@ -912,6 +935,9 @@ module Aws::ChimeSDKMessaging
912
935
  #
913
936
  # @!attribute [rw] client_request_token
914
937
  # The client token for the request. An Idempotency token.
938
+ #
939
+ # **A suitable default value is auto-generated.** You should normally
940
+ # not need to pass this option.
915
941
  # @return [String]
916
942
  #
917
943
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelFlowRequest AWS API Documentation
@@ -956,7 +982,8 @@ module Aws::ChimeSDKMessaging
956
982
  # @return [String]
957
983
  #
958
984
  # @!attribute [rw] chime_bearer
959
- # The `AppInstanceUserArn` of the user that makes the API call.
985
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
986
+ # API call.
960
987
  # @return [String]
961
988
  #
962
989
  # @!attribute [rw] sub_channel_id
@@ -1011,7 +1038,8 @@ module Aws::ChimeSDKMessaging
1011
1038
  # @return [String]
1012
1039
  #
1013
1040
  # @!attribute [rw] chime_bearer
1014
- # The `AppInstanceUserArn` of the user that makes the API call.
1041
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1042
+ # API call.
1015
1043
  # @return [String]
1016
1044
  #
1017
1045
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelModeratorRequest AWS API Documentation
@@ -1078,7 +1106,8 @@ module Aws::ChimeSDKMessaging
1078
1106
  # @return [Array<Types::Tag>]
1079
1107
  #
1080
1108
  # @!attribute [rw] chime_bearer
1081
- # The `AppInstanceUserArn` of the user that makes the API call.
1109
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1110
+ # API call.
1082
1111
  # @return [String]
1083
1112
  #
1084
1113
  # @!attribute [rw] channel_id
@@ -1099,6 +1128,11 @@ module Aws::ChimeSDKMessaging
1099
1128
  # excluding moderators.
1100
1129
  # @return [Types::ElasticChannelConfiguration]
1101
1130
  #
1131
+ # @!attribute [rw] expiration_settings
1132
+ # Settings that control the interval after which the channel is
1133
+ # automatically deleted.
1134
+ # @return [Types::ExpirationSettings]
1135
+ #
1102
1136
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelRequest AWS API Documentation
1103
1137
  #
1104
1138
  class CreateChannelRequest < Struct.new(
@@ -1113,7 +1147,8 @@ module Aws::ChimeSDKMessaging
1113
1147
  :channel_id,
1114
1148
  :member_arns,
1115
1149
  :moderator_arns,
1116
- :elastic_channel_configuration)
1150
+ :elastic_channel_configuration,
1151
+ :expiration_settings)
1117
1152
  SENSITIVE = [:name, :metadata, :client_request_token, :channel_id]
1118
1153
  include Aws::Structure
1119
1154
  end
@@ -1139,7 +1174,8 @@ module Aws::ChimeSDKMessaging
1139
1174
  # @return [String]
1140
1175
  #
1141
1176
  # @!attribute [rw] chime_bearer
1142
- # The `AppInstanceUserArn` of the user that makes the API call.
1177
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1178
+ # API call.
1143
1179
  # @return [String]
1144
1180
  #
1145
1181
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelBanRequest AWS API Documentation
@@ -1174,7 +1210,8 @@ module Aws::ChimeSDKMessaging
1174
1210
  # @return [String]
1175
1211
  #
1176
1212
  # @!attribute [rw] chime_bearer
1177
- # The `AppInstanceUserArn` of the user that makes the API call.
1213
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1214
+ # API call.
1178
1215
  # @return [String]
1179
1216
  #
1180
1217
  # @!attribute [rw] sub_channel_id
@@ -1205,7 +1242,8 @@ module Aws::ChimeSDKMessaging
1205
1242
  # @return [String]
1206
1243
  #
1207
1244
  # @!attribute [rw] chime_bearer
1208
- # The `AppInstanceUserArn` of the user that makes the API call.
1245
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1246
+ # API call.
1209
1247
  # @return [String]
1210
1248
  #
1211
1249
  # @!attribute [rw] sub_channel_id
@@ -1237,7 +1275,8 @@ module Aws::ChimeSDKMessaging
1237
1275
  # @return [String]
1238
1276
  #
1239
1277
  # @!attribute [rw] chime_bearer
1240
- # The `AppInstanceUserArn` of the user that makes the API call.
1278
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1279
+ # API call.
1241
1280
  # @return [String]
1242
1281
  #
1243
1282
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelModeratorRequest AWS API Documentation
@@ -1255,19 +1294,15 @@ module Aws::ChimeSDKMessaging
1255
1294
  # @return [String]
1256
1295
  #
1257
1296
  # @!attribute [rw] chime_bearer
1258
- # The `AppInstanceUserArn` of the user that makes the API call.
1259
- # @return [String]
1260
- #
1261
- # @!attribute [rw] sub_channel_id
1262
- # The ID of the SubChannel in the request.
1297
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1298
+ # API call.
1263
1299
  # @return [String]
1264
1300
  #
1265
1301
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelRequest AWS API Documentation
1266
1302
  #
1267
1303
  class DeleteChannelRequest < Struct.new(
1268
1304
  :channel_arn,
1269
- :chime_bearer,
1270
- :sub_channel_id)
1305
+ :chime_bearer)
1271
1306
  SENSITIVE = []
1272
1307
  include Aws::Structure
1273
1308
  end
@@ -1293,7 +1328,8 @@ module Aws::ChimeSDKMessaging
1293
1328
  # @return [String]
1294
1329
  #
1295
1330
  # @!attribute [rw] chime_bearer
1296
- # The `AppInstanceUserArn` of the user that makes the API call.
1331
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1332
+ # API call.
1297
1333
  # @return [String]
1298
1334
  #
1299
1335
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelBanRequest AWS API Documentation
@@ -1347,11 +1383,12 @@ module Aws::ChimeSDKMessaging
1347
1383
  # @return [String]
1348
1384
  #
1349
1385
  # @!attribute [rw] app_instance_user_arn
1350
- # The ARN of the user in a channel.
1386
+ # The ARN of the user or bot in a channel.
1351
1387
  # @return [String]
1352
1388
  #
1353
1389
  # @!attribute [rw] chime_bearer
1354
- # The `AppInstanceUserArn` of the user that makes the API call.
1390
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1391
+ # API call.
1355
1392
  # @return [String]
1356
1393
  #
1357
1394
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembershipForAppInstanceUserRequest AWS API Documentation
@@ -1385,7 +1422,8 @@ module Aws::ChimeSDKMessaging
1385
1422
  # @return [String]
1386
1423
  #
1387
1424
  # @!attribute [rw] chime_bearer
1388
- # The `AppInstanceUserArn` of the user that makes the API call.
1425
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1426
+ # API call.
1389
1427
  # @return [String]
1390
1428
  #
1391
1429
  # @!attribute [rw] sub_channel_id
@@ -1425,11 +1463,12 @@ module Aws::ChimeSDKMessaging
1425
1463
  # @return [String]
1426
1464
  #
1427
1465
  # @!attribute [rw] app_instance_user_arn
1428
- # The ARN of the `AppInstanceUser` in the moderated channel.
1466
+ # The ARN of the user or bot in the moderated channel.
1429
1467
  # @return [String]
1430
1468
  #
1431
1469
  # @!attribute [rw] chime_bearer
1432
- # The `AppInstanceUserArn` of the user that makes the API call.
1470
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1471
+ # API call.
1433
1472
  # @return [String]
1434
1473
  #
1435
1474
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratedByAppInstanceUserRequest AWS API Documentation
@@ -1463,7 +1502,8 @@ module Aws::ChimeSDKMessaging
1463
1502
  # @return [String]
1464
1503
  #
1465
1504
  # @!attribute [rw] chime_bearer
1466
- # The `AppInstanceUserArn` of the user that makes the API call.
1505
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1506
+ # API call.
1467
1507
  # @return [String]
1468
1508
  #
1469
1509
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratorRequest AWS API Documentation
@@ -1493,7 +1533,8 @@ module Aws::ChimeSDKMessaging
1493
1533
  # @return [String]
1494
1534
  #
1495
1535
  # @!attribute [rw] chime_bearer
1496
- # The `AppInstanceUserArn` of the user that makes the API call.
1536
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1537
+ # API call.
1497
1538
  # @return [String]
1498
1539
  #
1499
1540
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelRequest AWS API Documentation
@@ -1567,6 +1608,26 @@ module Aws::ChimeSDKMessaging
1567
1608
  include Aws::Structure
1568
1609
  end
1569
1610
 
1611
+ # Settings that control the interval after which a channel is deleted.
1612
+ #
1613
+ # @!attribute [rw] expiration_days
1614
+ # The period in days after which the system automatically deletes a
1615
+ # channel.
1616
+ # @return [Integer]
1617
+ #
1618
+ # @!attribute [rw] expiration_criterion
1619
+ # The conditions that must be met for a channel to expire.
1620
+ # @return [String]
1621
+ #
1622
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ExpirationSettings AWS API Documentation
1623
+ #
1624
+ class ExpirationSettings < Struct.new(
1625
+ :expiration_days,
1626
+ :expiration_criterion)
1627
+ SENSITIVE = []
1628
+ include Aws::Structure
1629
+ end
1630
+
1570
1631
  # The client is permanently forbidden from making the request.
1571
1632
  #
1572
1633
  # @!attribute [rw] code
@@ -1593,7 +1654,8 @@ module Aws::ChimeSDKMessaging
1593
1654
  # @return [String]
1594
1655
  #
1595
1656
  # @!attribute [rw] chime_bearer
1596
- # The `AppInstanceUserARN` of the user making the API call.
1657
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1658
+ # API call.
1597
1659
  # @return [String]
1598
1660
  #
1599
1661
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMembershipPreferencesRequest AWS API Documentation
@@ -1637,7 +1699,8 @@ module Aws::ChimeSDKMessaging
1637
1699
  # @return [String]
1638
1700
  #
1639
1701
  # @!attribute [rw] chime_bearer
1640
- # The `AppInstanceUserArn` of the user that makes the API call.
1702
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1703
+ # API call.
1641
1704
  # @return [String]
1642
1705
  #
1643
1706
  # @!attribute [rw] sub_channel_id
@@ -1758,7 +1821,7 @@ module Aws::ChimeSDKMessaging
1758
1821
  include Aws::Structure
1759
1822
  end
1760
1823
 
1761
- # The details of a user.
1824
+ # The details of a user or bot.
1762
1825
  #
1763
1826
  # @!attribute [rw] arn
1764
1827
  # The ARN in an Identity.
@@ -1810,7 +1873,8 @@ module Aws::ChimeSDKMessaging
1810
1873
  # @return [String]
1811
1874
  #
1812
1875
  # @!attribute [rw] chime_bearer
1813
- # The `AppInstanceUserArn` of the user that makes the API call.
1876
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1877
+ # API call.
1814
1878
  # @return [String]
1815
1879
  #
1816
1880
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelBansRequest AWS API Documentation
@@ -1889,7 +1953,7 @@ module Aws::ChimeSDKMessaging
1889
1953
  end
1890
1954
 
1891
1955
  # @!attribute [rw] app_instance_user_arn
1892
- # The ARN of the `AppInstanceUser`s
1956
+ # The ARN of the user or bot.
1893
1957
  # @return [String]
1894
1958
  #
1895
1959
  # @!attribute [rw] max_results
@@ -1902,7 +1966,8 @@ module Aws::ChimeSDKMessaging
1902
1966
  # @return [String]
1903
1967
  #
1904
1968
  # @!attribute [rw] chime_bearer
1905
- # The `AppInstanceUserArn` of the user that makes the API call.
1969
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1970
+ # API call.
1906
1971
  # @return [String]
1907
1972
  #
1908
1973
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMembershipsForAppInstanceUserRequest AWS API Documentation
@@ -1955,7 +2020,8 @@ module Aws::ChimeSDKMessaging
1955
2020
  # @return [String]
1956
2021
  #
1957
2022
  # @!attribute [rw] chime_bearer
1958
- # The `AppInstanceUserArn` of the user that makes the API call.
2023
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
2024
+ # API call.
1959
2025
  # @return [String]
1960
2026
  #
1961
2027
  # @!attribute [rw] sub_channel_id
@@ -2030,7 +2096,8 @@ module Aws::ChimeSDKMessaging
2030
2096
  # @return [String]
2031
2097
  #
2032
2098
  # @!attribute [rw] chime_bearer
2033
- # The `AppInstanceUserArn` of the user that makes the API call.
2099
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
2100
+ # API call.
2034
2101
  # @return [String]
2035
2102
  #
2036
2103
  # @!attribute [rw] sub_channel_id
@@ -2099,7 +2166,8 @@ module Aws::ChimeSDKMessaging
2099
2166
  # @return [String]
2100
2167
  #
2101
2168
  # @!attribute [rw] chime_bearer
2102
- # The `AppInstanceUserArn` of the user that makes the API call.
2169
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
2170
+ # API call.
2103
2171
  # @return [String]
2104
2172
  #
2105
2173
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelModeratorsRequest AWS API Documentation
@@ -2178,7 +2246,7 @@ module Aws::ChimeSDKMessaging
2178
2246
  end
2179
2247
 
2180
2248
  # @!attribute [rw] app_instance_user_arn
2181
- # The ARN of the user in the moderated channel.
2249
+ # The ARN of the user or bot in the moderated channel.
2182
2250
  # @return [String]
2183
2251
  #
2184
2252
  # @!attribute [rw] max_results
@@ -2191,7 +2259,8 @@ module Aws::ChimeSDKMessaging
2191
2259
  # @return [String]
2192
2260
  #
2193
2261
  # @!attribute [rw] chime_bearer
2194
- # The `AppInstanceUserArn` of the user that makes the API call.
2262
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
2263
+ # API call.
2195
2264
  # @return [String]
2196
2265
  #
2197
2266
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsModeratedByAppInstanceUserRequest AWS API Documentation
@@ -2243,7 +2312,8 @@ module Aws::ChimeSDKMessaging
2243
2312
  # @return [String]
2244
2313
  #
2245
2314
  # @!attribute [rw] chime_bearer
2246
- # The `AppInstanceUserArn` of the user that makes the API call.
2315
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
2316
+ # API call.
2247
2317
  # @return [String]
2248
2318
  #
2249
2319
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsRequest AWS API Documentation
@@ -2499,16 +2569,57 @@ module Aws::ChimeSDKMessaging
2499
2569
  include Aws::Structure
2500
2570
  end
2501
2571
 
2572
+ # @!attribute [rw] channel_arn
2573
+ # The ARN of the channel.
2574
+ # @return [String]
2575
+ #
2576
+ # @!attribute [rw] chime_bearer
2577
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
2578
+ # API call.
2579
+ # @return [String]
2580
+ #
2581
+ # @!attribute [rw] expiration_settings
2582
+ # Settings that control the interval after which a channel is deleted.
2583
+ # @return [Types::ExpirationSettings]
2584
+ #
2585
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelExpirationSettingsRequest AWS API Documentation
2586
+ #
2587
+ class PutChannelExpirationSettingsRequest < Struct.new(
2588
+ :channel_arn,
2589
+ :chime_bearer,
2590
+ :expiration_settings)
2591
+ SENSITIVE = []
2592
+ include Aws::Structure
2593
+ end
2594
+
2595
+ # @!attribute [rw] channel_arn
2596
+ # The channel ARN.
2597
+ # @return [String]
2598
+ #
2599
+ # @!attribute [rw] expiration_settings
2600
+ # Settings that control the interval after which a channel is deleted.
2601
+ # @return [Types::ExpirationSettings]
2602
+ #
2603
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelExpirationSettingsResponse AWS API Documentation
2604
+ #
2605
+ class PutChannelExpirationSettingsResponse < Struct.new(
2606
+ :channel_arn,
2607
+ :expiration_settings)
2608
+ SENSITIVE = []
2609
+ include Aws::Structure
2610
+ end
2611
+
2502
2612
  # @!attribute [rw] channel_arn
2503
2613
  # The ARN of the channel.
2504
2614
  # @return [String]
2505
2615
  #
2506
2616
  # @!attribute [rw] member_arn
2507
- # The `AppInstanceUserArn` of the member setting the preferences.
2617
+ # The ARN of the member setting the preferences.
2508
2618
  # @return [String]
2509
2619
  #
2510
2620
  # @!attribute [rw] chime_bearer
2511
- # The `AppInstanceUserARN` of the user making the API call.
2621
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
2622
+ # API call.
2512
2623
  # @return [String]
2513
2624
  #
2514
2625
  # @!attribute [rw] preferences
@@ -2587,7 +2698,8 @@ module Aws::ChimeSDKMessaging
2587
2698
  # @return [String]
2588
2699
  #
2589
2700
  # @!attribute [rw] chime_bearer
2590
- # The `AppInstanceUserArn` of the user that makes the API call.
2701
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
2702
+ # API call.
2591
2703
  # @return [String]
2592
2704
  #
2593
2705
  # @!attribute [rw] sub_channel_id
@@ -2763,7 +2875,8 @@ module Aws::ChimeSDKMessaging
2763
2875
  # @return [String]
2764
2876
  #
2765
2877
  # @!attribute [rw] chime_bearer
2766
- # The `AppInstanceUserArn` of the user that makes the API call.
2878
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
2879
+ # API call.
2767
2880
  # @return [String]
2768
2881
  #
2769
2882
  # @!attribute [rw] push_notification
@@ -2779,6 +2892,10 @@ module Aws::ChimeSDKMessaging
2779
2892
  # The ID of the SubChannel in the request.
2780
2893
  # @return [String]
2781
2894
  #
2895
+ # @!attribute [rw] content_type
2896
+ # The content type of the channel message.
2897
+ # @return [String]
2898
+ #
2782
2899
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SendChannelMessageRequest AWS API Documentation
2783
2900
  #
2784
2901
  class SendChannelMessageRequest < Struct.new(
@@ -2791,8 +2908,9 @@ module Aws::ChimeSDKMessaging
2791
2908
  :chime_bearer,
2792
2909
  :push_notification,
2793
2910
  :message_attributes,
2794
- :sub_channel_id)
2795
- SENSITIVE = [:content, :metadata, :client_request_token]
2911
+ :sub_channel_id,
2912
+ :content_type)
2913
+ SENSITIVE = [:content, :metadata, :client_request_token, :content_type]
2796
2914
  include Aws::Structure
2797
2915
  end
2798
2916
 
@@ -3033,7 +3151,8 @@ module Aws::ChimeSDKMessaging
3033
3151
  # @return [String]
3034
3152
  #
3035
3153
  # @!attribute [rw] chime_bearer
3036
- # The `AppInstanceUserArn` of the user that makes the API call.
3154
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
3155
+ # API call.
3037
3156
  # @return [String]
3038
3157
  #
3039
3158
  # @!attribute [rw] sub_channel_id
@@ -3045,6 +3164,10 @@ module Aws::ChimeSDKMessaging
3045
3164
  # </note>
3046
3165
  # @return [String]
3047
3166
  #
3167
+ # @!attribute [rw] content_type
3168
+ # The content type of the channel message.
3169
+ # @return [String]
3170
+ #
3048
3171
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelMessageRequest AWS API Documentation
3049
3172
  #
3050
3173
  class UpdateChannelMessageRequest < Struct.new(
@@ -3053,8 +3176,9 @@ module Aws::ChimeSDKMessaging
3053
3176
  :content,
3054
3177
  :metadata,
3055
3178
  :chime_bearer,
3056
- :sub_channel_id)
3057
- SENSITIVE = [:content, :metadata]
3179
+ :sub_channel_id,
3180
+ :content_type)
3181
+ SENSITIVE = [:content, :metadata, :content_type]
3058
3182
  include Aws::Structure
3059
3183
  end
3060
3184
 
@@ -3090,19 +3214,15 @@ module Aws::ChimeSDKMessaging
3090
3214
  # @return [String]
3091
3215
  #
3092
3216
  # @!attribute [rw] chime_bearer
3093
- # The `AppInstanceUserArn` of the user that makes the API call.
3094
- # @return [String]
3095
- #
3096
- # @!attribute [rw] sub_channel_id
3097
- # The ID of the SubChannel in the request.
3217
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
3218
+ # API call.
3098
3219
  # @return [String]
3099
3220
  #
3100
3221
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelReadMarkerRequest AWS API Documentation
3101
3222
  #
3102
3223
  class UpdateChannelReadMarkerRequest < Struct.new(
3103
3224
  :channel_arn,
3104
- :chime_bearer,
3105
- :sub_channel_id)
3225
+ :chime_bearer)
3106
3226
  SENSITIVE = []
3107
3227
  include Aws::Structure
3108
3228
  end
@@ -3111,15 +3231,10 @@ module Aws::ChimeSDKMessaging
3111
3231
  # The ARN of the channel.
3112
3232
  # @return [String]
3113
3233
  #
3114
- # @!attribute [rw] sub_channel_id
3115
- # The ID of the SubChannel in the response.
3116
- # @return [String]
3117
- #
3118
3234
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelReadMarkerResponse AWS API Documentation
3119
3235
  #
3120
3236
  class UpdateChannelReadMarkerResponse < Struct.new(
3121
- :channel_arn,
3122
- :sub_channel_id)
3237
+ :channel_arn)
3123
3238
  SENSITIVE = []
3124
3239
  include Aws::Structure
3125
3240
  end
@@ -3141,7 +3256,8 @@ module Aws::ChimeSDKMessaging
3141
3256
  # @return [String]
3142
3257
  #
3143
3258
  # @!attribute [rw] chime_bearer
3144
- # The `AppInstanceUserArn` of the user that makes the API call.
3259
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
3260
+ # API call.
3145
3261
  # @return [String]
3146
3262
  #
3147
3263
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelRequest AWS API Documentation
@@ -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.16.0'
55
+ GEM_VERSION = '1.18.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.16.0
4
+ version: 1.18.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-03-21 00:00:00.000000000 Z
11
+ date: 2023-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core