aws-sdk-chimesdkmessaging 1.16.0 → 1.17.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
@@ -956,7 +979,8 @@ module Aws::ChimeSDKMessaging
956
979
  # @return [String]
957
980
  #
958
981
  # @!attribute [rw] chime_bearer
959
- # The `AppInstanceUserArn` of the user that makes the API call.
982
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
983
+ # API call.
960
984
  # @return [String]
961
985
  #
962
986
  # @!attribute [rw] sub_channel_id
@@ -1011,7 +1035,8 @@ module Aws::ChimeSDKMessaging
1011
1035
  # @return [String]
1012
1036
  #
1013
1037
  # @!attribute [rw] chime_bearer
1014
- # The `AppInstanceUserArn` of the user that makes the API call.
1038
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1039
+ # API call.
1015
1040
  # @return [String]
1016
1041
  #
1017
1042
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelModeratorRequest AWS API Documentation
@@ -1078,7 +1103,8 @@ module Aws::ChimeSDKMessaging
1078
1103
  # @return [Array<Types::Tag>]
1079
1104
  #
1080
1105
  # @!attribute [rw] chime_bearer
1081
- # The `AppInstanceUserArn` of the user that makes the API call.
1106
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1107
+ # API call.
1082
1108
  # @return [String]
1083
1109
  #
1084
1110
  # @!attribute [rw] channel_id
@@ -1099,6 +1125,11 @@ module Aws::ChimeSDKMessaging
1099
1125
  # excluding moderators.
1100
1126
  # @return [Types::ElasticChannelConfiguration]
1101
1127
  #
1128
+ # @!attribute [rw] expiration_settings
1129
+ # Settings that control the interval after which the channel is
1130
+ # automatically deleted.
1131
+ # @return [Types::ExpirationSettings]
1132
+ #
1102
1133
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelRequest AWS API Documentation
1103
1134
  #
1104
1135
  class CreateChannelRequest < Struct.new(
@@ -1113,7 +1144,8 @@ module Aws::ChimeSDKMessaging
1113
1144
  :channel_id,
1114
1145
  :member_arns,
1115
1146
  :moderator_arns,
1116
- :elastic_channel_configuration)
1147
+ :elastic_channel_configuration,
1148
+ :expiration_settings)
1117
1149
  SENSITIVE = [:name, :metadata, :client_request_token, :channel_id]
1118
1150
  include Aws::Structure
1119
1151
  end
@@ -1139,7 +1171,8 @@ module Aws::ChimeSDKMessaging
1139
1171
  # @return [String]
1140
1172
  #
1141
1173
  # @!attribute [rw] chime_bearer
1142
- # The `AppInstanceUserArn` of the user that makes the API call.
1174
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1175
+ # API call.
1143
1176
  # @return [String]
1144
1177
  #
1145
1178
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelBanRequest AWS API Documentation
@@ -1174,7 +1207,8 @@ module Aws::ChimeSDKMessaging
1174
1207
  # @return [String]
1175
1208
  #
1176
1209
  # @!attribute [rw] chime_bearer
1177
- # The `AppInstanceUserArn` of the user that makes the API call.
1210
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1211
+ # API call.
1178
1212
  # @return [String]
1179
1213
  #
1180
1214
  # @!attribute [rw] sub_channel_id
@@ -1205,7 +1239,8 @@ module Aws::ChimeSDKMessaging
1205
1239
  # @return [String]
1206
1240
  #
1207
1241
  # @!attribute [rw] chime_bearer
1208
- # The `AppInstanceUserArn` of the user that makes the API call.
1242
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1243
+ # API call.
1209
1244
  # @return [String]
1210
1245
  #
1211
1246
  # @!attribute [rw] sub_channel_id
@@ -1237,7 +1272,8 @@ module Aws::ChimeSDKMessaging
1237
1272
  # @return [String]
1238
1273
  #
1239
1274
  # @!attribute [rw] chime_bearer
1240
- # The `AppInstanceUserArn` of the user that makes the API call.
1275
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1276
+ # API call.
1241
1277
  # @return [String]
1242
1278
  #
1243
1279
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelModeratorRequest AWS API Documentation
@@ -1255,7 +1291,8 @@ module Aws::ChimeSDKMessaging
1255
1291
  # @return [String]
1256
1292
  #
1257
1293
  # @!attribute [rw] chime_bearer
1258
- # The `AppInstanceUserArn` of the user that makes the API call.
1294
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1295
+ # API call.
1259
1296
  # @return [String]
1260
1297
  #
1261
1298
  # @!attribute [rw] sub_channel_id
@@ -1293,7 +1330,8 @@ module Aws::ChimeSDKMessaging
1293
1330
  # @return [String]
1294
1331
  #
1295
1332
  # @!attribute [rw] chime_bearer
1296
- # The `AppInstanceUserArn` of the user that makes the API call.
1333
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1334
+ # API call.
1297
1335
  # @return [String]
1298
1336
  #
1299
1337
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelBanRequest AWS API Documentation
@@ -1347,11 +1385,12 @@ module Aws::ChimeSDKMessaging
1347
1385
  # @return [String]
1348
1386
  #
1349
1387
  # @!attribute [rw] app_instance_user_arn
1350
- # The ARN of the user in a channel.
1388
+ # The ARN of the user or bot in a channel.
1351
1389
  # @return [String]
1352
1390
  #
1353
1391
  # @!attribute [rw] chime_bearer
1354
- # The `AppInstanceUserArn` of the user that makes the API call.
1392
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1393
+ # API call.
1355
1394
  # @return [String]
1356
1395
  #
1357
1396
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembershipForAppInstanceUserRequest AWS API Documentation
@@ -1385,7 +1424,8 @@ module Aws::ChimeSDKMessaging
1385
1424
  # @return [String]
1386
1425
  #
1387
1426
  # @!attribute [rw] chime_bearer
1388
- # The `AppInstanceUserArn` of the user that makes the API call.
1427
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1428
+ # API call.
1389
1429
  # @return [String]
1390
1430
  #
1391
1431
  # @!attribute [rw] sub_channel_id
@@ -1425,11 +1465,12 @@ module Aws::ChimeSDKMessaging
1425
1465
  # @return [String]
1426
1466
  #
1427
1467
  # @!attribute [rw] app_instance_user_arn
1428
- # The ARN of the `AppInstanceUser` in the moderated channel.
1468
+ # The ARN of the user or bot in the moderated channel.
1429
1469
  # @return [String]
1430
1470
  #
1431
1471
  # @!attribute [rw] chime_bearer
1432
- # The `AppInstanceUserArn` of the user that makes the API call.
1472
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1473
+ # API call.
1433
1474
  # @return [String]
1434
1475
  #
1435
1476
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratedByAppInstanceUserRequest AWS API Documentation
@@ -1463,7 +1504,8 @@ module Aws::ChimeSDKMessaging
1463
1504
  # @return [String]
1464
1505
  #
1465
1506
  # @!attribute [rw] chime_bearer
1466
- # The `AppInstanceUserArn` of the user that makes the API call.
1507
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1508
+ # API call.
1467
1509
  # @return [String]
1468
1510
  #
1469
1511
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratorRequest AWS API Documentation
@@ -1493,7 +1535,8 @@ module Aws::ChimeSDKMessaging
1493
1535
  # @return [String]
1494
1536
  #
1495
1537
  # @!attribute [rw] chime_bearer
1496
- # The `AppInstanceUserArn` of the user that makes the API call.
1538
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1539
+ # API call.
1497
1540
  # @return [String]
1498
1541
  #
1499
1542
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelRequest AWS API Documentation
@@ -1567,6 +1610,26 @@ module Aws::ChimeSDKMessaging
1567
1610
  include Aws::Structure
1568
1611
  end
1569
1612
 
1613
+ # Settings that control the interval after which a channel is deleted.
1614
+ #
1615
+ # @!attribute [rw] expiration_days
1616
+ # The period in days after which the system automatically deletes a
1617
+ # channel.
1618
+ # @return [Integer]
1619
+ #
1620
+ # @!attribute [rw] expiration_criterion
1621
+ # The conditions that must be met for a channel to expire.
1622
+ # @return [String]
1623
+ #
1624
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ExpirationSettings AWS API Documentation
1625
+ #
1626
+ class ExpirationSettings < Struct.new(
1627
+ :expiration_days,
1628
+ :expiration_criterion)
1629
+ SENSITIVE = []
1630
+ include Aws::Structure
1631
+ end
1632
+
1570
1633
  # The client is permanently forbidden from making the request.
1571
1634
  #
1572
1635
  # @!attribute [rw] code
@@ -1593,7 +1656,8 @@ module Aws::ChimeSDKMessaging
1593
1656
  # @return [String]
1594
1657
  #
1595
1658
  # @!attribute [rw] chime_bearer
1596
- # The `AppInstanceUserARN` of the user making the API call.
1659
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1660
+ # API call.
1597
1661
  # @return [String]
1598
1662
  #
1599
1663
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMembershipPreferencesRequest AWS API Documentation
@@ -1637,7 +1701,8 @@ module Aws::ChimeSDKMessaging
1637
1701
  # @return [String]
1638
1702
  #
1639
1703
  # @!attribute [rw] chime_bearer
1640
- # The `AppInstanceUserArn` of the user that makes the API call.
1704
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1705
+ # API call.
1641
1706
  # @return [String]
1642
1707
  #
1643
1708
  # @!attribute [rw] sub_channel_id
@@ -1758,7 +1823,7 @@ module Aws::ChimeSDKMessaging
1758
1823
  include Aws::Structure
1759
1824
  end
1760
1825
 
1761
- # The details of a user.
1826
+ # The details of a user or bot.
1762
1827
  #
1763
1828
  # @!attribute [rw] arn
1764
1829
  # The ARN in an Identity.
@@ -1810,7 +1875,8 @@ module Aws::ChimeSDKMessaging
1810
1875
  # @return [String]
1811
1876
  #
1812
1877
  # @!attribute [rw] chime_bearer
1813
- # The `AppInstanceUserArn` of the user that makes the API call.
1878
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1879
+ # API call.
1814
1880
  # @return [String]
1815
1881
  #
1816
1882
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelBansRequest AWS API Documentation
@@ -1889,7 +1955,7 @@ module Aws::ChimeSDKMessaging
1889
1955
  end
1890
1956
 
1891
1957
  # @!attribute [rw] app_instance_user_arn
1892
- # The ARN of the `AppInstanceUser`s
1958
+ # The ARN of the user or bot.
1893
1959
  # @return [String]
1894
1960
  #
1895
1961
  # @!attribute [rw] max_results
@@ -1902,7 +1968,8 @@ module Aws::ChimeSDKMessaging
1902
1968
  # @return [String]
1903
1969
  #
1904
1970
  # @!attribute [rw] chime_bearer
1905
- # The `AppInstanceUserArn` of the user that makes the API call.
1971
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
1972
+ # API call.
1906
1973
  # @return [String]
1907
1974
  #
1908
1975
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMembershipsForAppInstanceUserRequest AWS API Documentation
@@ -1955,7 +2022,8 @@ module Aws::ChimeSDKMessaging
1955
2022
  # @return [String]
1956
2023
  #
1957
2024
  # @!attribute [rw] chime_bearer
1958
- # The `AppInstanceUserArn` of the user that makes the API call.
2025
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
2026
+ # API call.
1959
2027
  # @return [String]
1960
2028
  #
1961
2029
  # @!attribute [rw] sub_channel_id
@@ -2030,7 +2098,8 @@ module Aws::ChimeSDKMessaging
2030
2098
  # @return [String]
2031
2099
  #
2032
2100
  # @!attribute [rw] chime_bearer
2033
- # The `AppInstanceUserArn` of the user that makes the API call.
2101
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
2102
+ # API call.
2034
2103
  # @return [String]
2035
2104
  #
2036
2105
  # @!attribute [rw] sub_channel_id
@@ -2099,7 +2168,8 @@ module Aws::ChimeSDKMessaging
2099
2168
  # @return [String]
2100
2169
  #
2101
2170
  # @!attribute [rw] chime_bearer
2102
- # The `AppInstanceUserArn` of the user that makes the API call.
2171
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
2172
+ # API call.
2103
2173
  # @return [String]
2104
2174
  #
2105
2175
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelModeratorsRequest AWS API Documentation
@@ -2178,7 +2248,7 @@ module Aws::ChimeSDKMessaging
2178
2248
  end
2179
2249
 
2180
2250
  # @!attribute [rw] app_instance_user_arn
2181
- # The ARN of the user in the moderated channel.
2251
+ # The ARN of the user or bot in the moderated channel.
2182
2252
  # @return [String]
2183
2253
  #
2184
2254
  # @!attribute [rw] max_results
@@ -2191,7 +2261,8 @@ module Aws::ChimeSDKMessaging
2191
2261
  # @return [String]
2192
2262
  #
2193
2263
  # @!attribute [rw] chime_bearer
2194
- # The `AppInstanceUserArn` of the user that makes the API call.
2264
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
2265
+ # API call.
2195
2266
  # @return [String]
2196
2267
  #
2197
2268
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsModeratedByAppInstanceUserRequest AWS API Documentation
@@ -2243,7 +2314,8 @@ module Aws::ChimeSDKMessaging
2243
2314
  # @return [String]
2244
2315
  #
2245
2316
  # @!attribute [rw] chime_bearer
2246
- # The `AppInstanceUserArn` of the user that makes the API call.
2317
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
2318
+ # API call.
2247
2319
  # @return [String]
2248
2320
  #
2249
2321
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsRequest AWS API Documentation
@@ -2499,16 +2571,57 @@ module Aws::ChimeSDKMessaging
2499
2571
  include Aws::Structure
2500
2572
  end
2501
2573
 
2574
+ # @!attribute [rw] channel_arn
2575
+ # The ARN of the channel.
2576
+ # @return [String]
2577
+ #
2578
+ # @!attribute [rw] chime_bearer
2579
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
2580
+ # API call.
2581
+ # @return [String]
2582
+ #
2583
+ # @!attribute [rw] expiration_settings
2584
+ # Settings that control the interval after which a channel is deleted.
2585
+ # @return [Types::ExpirationSettings]
2586
+ #
2587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelExpirationSettingsRequest AWS API Documentation
2588
+ #
2589
+ class PutChannelExpirationSettingsRequest < Struct.new(
2590
+ :channel_arn,
2591
+ :chime_bearer,
2592
+ :expiration_settings)
2593
+ SENSITIVE = []
2594
+ include Aws::Structure
2595
+ end
2596
+
2597
+ # @!attribute [rw] channel_arn
2598
+ # The channel ARN.
2599
+ # @return [String]
2600
+ #
2601
+ # @!attribute [rw] expiration_settings
2602
+ # Settings that control the interval after which a channel is deleted.
2603
+ # @return [Types::ExpirationSettings]
2604
+ #
2605
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelExpirationSettingsResponse AWS API Documentation
2606
+ #
2607
+ class PutChannelExpirationSettingsResponse < Struct.new(
2608
+ :channel_arn,
2609
+ :expiration_settings)
2610
+ SENSITIVE = []
2611
+ include Aws::Structure
2612
+ end
2613
+
2502
2614
  # @!attribute [rw] channel_arn
2503
2615
  # The ARN of the channel.
2504
2616
  # @return [String]
2505
2617
  #
2506
2618
  # @!attribute [rw] member_arn
2507
- # The `AppInstanceUserArn` of the member setting the preferences.
2619
+ # The ARN of the member setting the preferences.
2508
2620
  # @return [String]
2509
2621
  #
2510
2622
  # @!attribute [rw] chime_bearer
2511
- # The `AppInstanceUserARN` of the user making the API call.
2623
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
2624
+ # API call.
2512
2625
  # @return [String]
2513
2626
  #
2514
2627
  # @!attribute [rw] preferences
@@ -2587,7 +2700,8 @@ module Aws::ChimeSDKMessaging
2587
2700
  # @return [String]
2588
2701
  #
2589
2702
  # @!attribute [rw] chime_bearer
2590
- # The `AppInstanceUserArn` of the user that makes the API call.
2703
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
2704
+ # API call.
2591
2705
  # @return [String]
2592
2706
  #
2593
2707
  # @!attribute [rw] sub_channel_id
@@ -2763,7 +2877,8 @@ module Aws::ChimeSDKMessaging
2763
2877
  # @return [String]
2764
2878
  #
2765
2879
  # @!attribute [rw] chime_bearer
2766
- # The `AppInstanceUserArn` of the user that makes the API call.
2880
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
2881
+ # API call.
2767
2882
  # @return [String]
2768
2883
  #
2769
2884
  # @!attribute [rw] push_notification
@@ -2779,6 +2894,10 @@ module Aws::ChimeSDKMessaging
2779
2894
  # The ID of the SubChannel in the request.
2780
2895
  # @return [String]
2781
2896
  #
2897
+ # @!attribute [rw] content_type
2898
+ # The content type of the channel message.
2899
+ # @return [String]
2900
+ #
2782
2901
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SendChannelMessageRequest AWS API Documentation
2783
2902
  #
2784
2903
  class SendChannelMessageRequest < Struct.new(
@@ -2791,8 +2910,9 @@ module Aws::ChimeSDKMessaging
2791
2910
  :chime_bearer,
2792
2911
  :push_notification,
2793
2912
  :message_attributes,
2794
- :sub_channel_id)
2795
- SENSITIVE = [:content, :metadata, :client_request_token]
2913
+ :sub_channel_id,
2914
+ :content_type)
2915
+ SENSITIVE = [:content, :metadata, :client_request_token, :content_type]
2796
2916
  include Aws::Structure
2797
2917
  end
2798
2918
 
@@ -3033,7 +3153,8 @@ module Aws::ChimeSDKMessaging
3033
3153
  # @return [String]
3034
3154
  #
3035
3155
  # @!attribute [rw] chime_bearer
3036
- # The `AppInstanceUserArn` of the user that makes the API call.
3156
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
3157
+ # API call.
3037
3158
  # @return [String]
3038
3159
  #
3039
3160
  # @!attribute [rw] sub_channel_id
@@ -3045,6 +3166,10 @@ module Aws::ChimeSDKMessaging
3045
3166
  # </note>
3046
3167
  # @return [String]
3047
3168
  #
3169
+ # @!attribute [rw] content_type
3170
+ # The content type of the channel message.
3171
+ # @return [String]
3172
+ #
3048
3173
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelMessageRequest AWS API Documentation
3049
3174
  #
3050
3175
  class UpdateChannelMessageRequest < Struct.new(
@@ -3053,8 +3178,9 @@ module Aws::ChimeSDKMessaging
3053
3178
  :content,
3054
3179
  :metadata,
3055
3180
  :chime_bearer,
3056
- :sub_channel_id)
3057
- SENSITIVE = [:content, :metadata]
3181
+ :sub_channel_id,
3182
+ :content_type)
3183
+ SENSITIVE = [:content, :metadata, :content_type]
3058
3184
  include Aws::Structure
3059
3185
  end
3060
3186
 
@@ -3090,7 +3216,8 @@ module Aws::ChimeSDKMessaging
3090
3216
  # @return [String]
3091
3217
  #
3092
3218
  # @!attribute [rw] chime_bearer
3093
- # The `AppInstanceUserArn` of the user that makes the API call.
3219
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
3220
+ # API call.
3094
3221
  # @return [String]
3095
3222
  #
3096
3223
  # @!attribute [rw] sub_channel_id
@@ -3141,7 +3268,8 @@ module Aws::ChimeSDKMessaging
3141
3268
  # @return [String]
3142
3269
  #
3143
3270
  # @!attribute [rw] chime_bearer
3144
- # The `AppInstanceUserArn` of the user that makes the API call.
3271
+ # The ARN of the `AppInstanceUser` or `AppInstanceBot` that makes the
3272
+ # API call.
3145
3273
  # @return [String]
3146
3274
  #
3147
3275
  # @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.17.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.17.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-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core