aws-sdk-chime 1.24.0 → 1.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-chime.rb +1 -1
- data/lib/aws-sdk-chime/client.rb +171 -3
- data/lib/aws-sdk-chime/client_api.rb +121 -0
- data/lib/aws-sdk-chime/types.rb +261 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5fd6ecd1f2506de4612fa22b2bc605dbc8b938d0ad9cbcd168cc2695c0bf530
|
4
|
+
data.tar.gz: 241fecfb9a4e0d8eae3bbe7a9a154b20b62499b2d3ce4fc56caf536ff6cc359b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a4e620ad7210d602b03e01549af50dd542cfcff1223b8b8fd4e98006bdfc9f79975731bb55d5a8f286bfe5038fab94032ec47f91f938715825de9cd83edca2b
|
7
|
+
data.tar.gz: 2e87ca23f0d4d81232a41d095f0000875e3692cfd706ba456613fadab9b5f09efc3c152729f4316a5e4bd643b505390904bbbb1243edb40af9c7b11bbbda03cf
|
data/lib/aws-sdk-chime.rb
CHANGED
data/lib/aws-sdk-chime/client.rb
CHANGED
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
29
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
30
|
|
@@ -69,6 +70,7 @@ module Aws::Chime
|
|
69
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
75
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
76
|
|
@@ -161,7 +163,7 @@ module Aws::Chime
|
|
161
163
|
# @option options [String] :endpoint
|
162
164
|
# The client endpoint is normally constructed from the `:region`
|
163
165
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
167
|
#
|
166
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +178,7 @@ module Aws::Chime
|
|
176
178
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
179
|
#
|
178
180
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
181
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
182
|
#
|
181
183
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
184
|
# The log formatter.
|
@@ -2321,6 +2323,44 @@ module Aws::Chime
|
|
2321
2323
|
req.send_request(options)
|
2322
2324
|
end
|
2323
2325
|
|
2326
|
+
# Gets the retention settings for the specified Amazon Chime Enterprise
|
2327
|
+
# account. For more information about retention settings, see [Managing
|
2328
|
+
# Chat Retention Policies][1] in the *Amazon Chime Administration
|
2329
|
+
# Guide*.
|
2330
|
+
#
|
2331
|
+
#
|
2332
|
+
#
|
2333
|
+
# [1]: https://docs.aws.amazon.com/chime/latest/ag/chat-retention.html
|
2334
|
+
#
|
2335
|
+
# @option params [required, String] :account_id
|
2336
|
+
# The Amazon Chime account ID.
|
2337
|
+
#
|
2338
|
+
# @return [Types::GetRetentionSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2339
|
+
#
|
2340
|
+
# * {Types::GetRetentionSettingsResponse#retention_settings #retention_settings} => Types::RetentionSettings
|
2341
|
+
# * {Types::GetRetentionSettingsResponse#initiate_deletion_timestamp #initiate_deletion_timestamp} => Time
|
2342
|
+
#
|
2343
|
+
# @example Request syntax with placeholder values
|
2344
|
+
#
|
2345
|
+
# resp = client.get_retention_settings({
|
2346
|
+
# account_id: "NonEmptyString", # required
|
2347
|
+
# })
|
2348
|
+
#
|
2349
|
+
# @example Response structure
|
2350
|
+
#
|
2351
|
+
# resp.retention_settings.room_retention_settings.retention_days #=> Integer
|
2352
|
+
# resp.retention_settings.conversation_retention_settings.retention_days #=> Integer
|
2353
|
+
# resp.initiate_deletion_timestamp #=> Time
|
2354
|
+
#
|
2355
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRetentionSettings AWS API Documentation
|
2356
|
+
#
|
2357
|
+
# @overload get_retention_settings(params = {})
|
2358
|
+
# @param [Hash] params ({})
|
2359
|
+
def get_retention_settings(params = {}, options = {})
|
2360
|
+
req = build_request(:get_retention_settings, params)
|
2361
|
+
req.send_request(options)
|
2362
|
+
end
|
2363
|
+
|
2324
2364
|
# Retrieves room details, such as the room name, for a room in an Amazon
|
2325
2365
|
# Chime Enterprise account.
|
2326
2366
|
#
|
@@ -2633,6 +2673,8 @@ module Aws::Chime
|
|
2633
2673
|
#
|
2634
2674
|
# resp.streaming_configuration.data_retention_in_hours #=> Integer
|
2635
2675
|
# resp.streaming_configuration.disabled #=> Boolean
|
2676
|
+
# resp.streaming_configuration.streaming_notification_targets #=> Array
|
2677
|
+
# resp.streaming_configuration.streaming_notification_targets[0].notification_target #=> String, one of "EventBridge", "SNS", "SQS"
|
2636
2678
|
#
|
2637
2679
|
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorStreamingConfiguration AWS API Documentation
|
2638
2680
|
#
|
@@ -3597,6 +3639,63 @@ module Aws::Chime
|
|
3597
3639
|
req.send_request(options)
|
3598
3640
|
end
|
3599
3641
|
|
3642
|
+
# Puts retention settings for the specified Amazon Chime Enterprise
|
3643
|
+
# account. We recommend using AWS CloudTrail to monitor usage of this
|
3644
|
+
# API for your account. For more information, see [Logging Amazon Chime
|
3645
|
+
# API Calls with AWS CloudTrail][1] in the *Amazon Chime Administration
|
3646
|
+
# Guide*.
|
3647
|
+
#
|
3648
|
+
# To turn off existing retention settings, remove the number of days
|
3649
|
+
# from the corresponding **RetentionDays** field in the
|
3650
|
+
# **RetentionSettings** object. For more information about retention
|
3651
|
+
# settings, see [Managing Chat Retention Policies][2] in the *Amazon
|
3652
|
+
# Chime Administration Guide*.
|
3653
|
+
#
|
3654
|
+
#
|
3655
|
+
#
|
3656
|
+
# [1]: https://docs.aws.amazon.com/chime/latest/ag/cloudtrail.html
|
3657
|
+
# [2]: https://docs.aws.amazon.com/chime/latest/ag/chat-retention.html
|
3658
|
+
#
|
3659
|
+
# @option params [required, String] :account_id
|
3660
|
+
# The Amazon Chime account ID.
|
3661
|
+
#
|
3662
|
+
# @option params [required, Types::RetentionSettings] :retention_settings
|
3663
|
+
# The retention settings.
|
3664
|
+
#
|
3665
|
+
# @return [Types::PutRetentionSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3666
|
+
#
|
3667
|
+
# * {Types::PutRetentionSettingsResponse#retention_settings #retention_settings} => Types::RetentionSettings
|
3668
|
+
# * {Types::PutRetentionSettingsResponse#initiate_deletion_timestamp #initiate_deletion_timestamp} => Time
|
3669
|
+
#
|
3670
|
+
# @example Request syntax with placeholder values
|
3671
|
+
#
|
3672
|
+
# resp = client.put_retention_settings({
|
3673
|
+
# account_id: "NonEmptyString", # required
|
3674
|
+
# retention_settings: { # required
|
3675
|
+
# room_retention_settings: {
|
3676
|
+
# retention_days: 1,
|
3677
|
+
# },
|
3678
|
+
# conversation_retention_settings: {
|
3679
|
+
# retention_days: 1,
|
3680
|
+
# },
|
3681
|
+
# },
|
3682
|
+
# })
|
3683
|
+
#
|
3684
|
+
# @example Response structure
|
3685
|
+
#
|
3686
|
+
# resp.retention_settings.room_retention_settings.retention_days #=> Integer
|
3687
|
+
# resp.retention_settings.conversation_retention_settings.retention_days #=> Integer
|
3688
|
+
# resp.initiate_deletion_timestamp #=> Time
|
3689
|
+
#
|
3690
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutRetentionSettings AWS API Documentation
|
3691
|
+
#
|
3692
|
+
# @overload put_retention_settings(params = {})
|
3693
|
+
# @param [Hash] params ({})
|
3694
|
+
def put_retention_settings(params = {}, options = {})
|
3695
|
+
req = build_request(:put_retention_settings, params)
|
3696
|
+
req.send_request(options)
|
3697
|
+
end
|
3698
|
+
|
3600
3699
|
# Adds a logging configuration for the specified Amazon Chime Voice
|
3601
3700
|
# Connector. The logging configuration specifies whether SIP message
|
3602
3701
|
# logs are enabled for sending to Amazon CloudWatch Logs.
|
@@ -3755,6 +3854,11 @@ module Aws::Chime
|
|
3755
3854
|
# streaming_configuration: { # required
|
3756
3855
|
# data_retention_in_hours: 1, # required
|
3757
3856
|
# disabled: false,
|
3857
|
+
# streaming_notification_targets: [
|
3858
|
+
# {
|
3859
|
+
# notification_target: "EventBridge", # required, accepts EventBridge, SNS, SQS
|
3860
|
+
# },
|
3861
|
+
# ],
|
3758
3862
|
# },
|
3759
3863
|
# })
|
3760
3864
|
#
|
@@ -3762,6 +3866,8 @@ module Aws::Chime
|
|
3762
3866
|
#
|
3763
3867
|
# resp.streaming_configuration.data_retention_in_hours #=> Integer
|
3764
3868
|
# resp.streaming_configuration.disabled #=> Boolean
|
3869
|
+
# resp.streaming_configuration.streaming_notification_targets #=> Array
|
3870
|
+
# resp.streaming_configuration.streaming_notification_targets[0].notification_target #=> String, one of "EventBridge", "SNS", "SQS"
|
3765
3871
|
#
|
3766
3872
|
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorStreamingConfiguration AWS API Documentation
|
3767
3873
|
#
|
@@ -3849,6 +3955,68 @@ module Aws::Chime
|
|
3849
3955
|
req.send_request(options)
|
3850
3956
|
end
|
3851
3957
|
|
3958
|
+
# Redacts the specified message from the specified Amazon Chime
|
3959
|
+
# conversation.
|
3960
|
+
#
|
3961
|
+
# @option params [required, String] :account_id
|
3962
|
+
# The Amazon Chime account ID.
|
3963
|
+
#
|
3964
|
+
# @option params [required, String] :conversation_id
|
3965
|
+
# The conversation ID.
|
3966
|
+
#
|
3967
|
+
# @option params [required, String] :message_id
|
3968
|
+
# The message ID.
|
3969
|
+
#
|
3970
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3971
|
+
#
|
3972
|
+
# @example Request syntax with placeholder values
|
3973
|
+
#
|
3974
|
+
# resp = client.redact_conversation_message({
|
3975
|
+
# account_id: "NonEmptyString", # required
|
3976
|
+
# conversation_id: "NonEmptyString", # required
|
3977
|
+
# message_id: "NonEmptyString", # required
|
3978
|
+
# })
|
3979
|
+
#
|
3980
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactConversationMessage AWS API Documentation
|
3981
|
+
#
|
3982
|
+
# @overload redact_conversation_message(params = {})
|
3983
|
+
# @param [Hash] params ({})
|
3984
|
+
def redact_conversation_message(params = {}, options = {})
|
3985
|
+
req = build_request(:redact_conversation_message, params)
|
3986
|
+
req.send_request(options)
|
3987
|
+
end
|
3988
|
+
|
3989
|
+
# Redacts the specified message from the specified Amazon Chime chat
|
3990
|
+
# room.
|
3991
|
+
#
|
3992
|
+
# @option params [required, String] :account_id
|
3993
|
+
# The Amazon Chime account ID.
|
3994
|
+
#
|
3995
|
+
# @option params [required, String] :room_id
|
3996
|
+
# The room ID.
|
3997
|
+
#
|
3998
|
+
# @option params [required, String] :message_id
|
3999
|
+
# The message ID.
|
4000
|
+
#
|
4001
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4002
|
+
#
|
4003
|
+
# @example Request syntax with placeholder values
|
4004
|
+
#
|
4005
|
+
# resp = client.redact_room_message({
|
4006
|
+
# account_id: "NonEmptyString", # required
|
4007
|
+
# room_id: "NonEmptyString", # required
|
4008
|
+
# message_id: "NonEmptyString", # required
|
4009
|
+
# })
|
4010
|
+
#
|
4011
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactRoomMessage AWS API Documentation
|
4012
|
+
#
|
4013
|
+
# @overload redact_room_message(params = {})
|
4014
|
+
# @param [Hash] params ({})
|
4015
|
+
def redact_room_message(params = {}, options = {})
|
4016
|
+
req = build_request(:redact_room_message, params)
|
4017
|
+
req.send_request(options)
|
4018
|
+
end
|
4019
|
+
|
3852
4020
|
# Regenerates the security token for a bot.
|
3853
4021
|
#
|
3854
4022
|
# @option params [required, String] :account_id
|
@@ -4817,7 +4985,7 @@ module Aws::Chime
|
|
4817
4985
|
params: params,
|
4818
4986
|
config: config)
|
4819
4987
|
context[:gem_name] = 'aws-sdk-chime'
|
4820
|
-
context[:gem_version] = '1.
|
4988
|
+
context[:gem_version] = '1.29.1'
|
4821
4989
|
Seahorse::Client::Request.new(handlers, context)
|
4822
4990
|
end
|
4823
4991
|
|
@@ -61,6 +61,7 @@ module Aws::Chime
|
|
61
61
|
CapabilityList = Shapes::ListShape.new(name: 'CapabilityList')
|
62
62
|
ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
|
63
63
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
64
|
+
ConversationRetentionSettings = Shapes::StructureShape.new(name: 'ConversationRetentionSettings')
|
64
65
|
Country = Shapes::StringShape.new(name: 'Country')
|
65
66
|
CountryList = Shapes::ListShape.new(name: 'CountryList')
|
66
67
|
CpsLimit = Shapes::IntegerShape.new(name: 'CpsLimit')
|
@@ -147,6 +148,8 @@ module Aws::Chime
|
|
147
148
|
GetPhoneNumberSettingsResponse = Shapes::StructureShape.new(name: 'GetPhoneNumberSettingsResponse')
|
148
149
|
GetProxySessionRequest = Shapes::StructureShape.new(name: 'GetProxySessionRequest')
|
149
150
|
GetProxySessionResponse = Shapes::StructureShape.new(name: 'GetProxySessionResponse')
|
151
|
+
GetRetentionSettingsRequest = Shapes::StructureShape.new(name: 'GetRetentionSettingsRequest')
|
152
|
+
GetRetentionSettingsResponse = Shapes::StructureShape.new(name: 'GetRetentionSettingsResponse')
|
150
153
|
GetRoomRequest = Shapes::StructureShape.new(name: 'GetRoomRequest')
|
151
154
|
GetRoomResponse = Shapes::StructureShape.new(name: 'GetRoomResponse')
|
152
155
|
GetUserRequest = Shapes::StructureShape.new(name: 'GetUserRequest')
|
@@ -232,6 +235,7 @@ module Aws::Chime
|
|
232
235
|
NonEmptyString128 = Shapes::StringShape.new(name: 'NonEmptyString128')
|
233
236
|
NonEmptyStringList = Shapes::ListShape.new(name: 'NonEmptyStringList')
|
234
237
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
238
|
+
NotificationTarget = Shapes::StringShape.new(name: 'NotificationTarget')
|
235
239
|
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
236
240
|
NumberSelectionBehavior = Shapes::StringShape.new(name: 'NumberSelectionBehavior')
|
237
241
|
OrderedPhoneNumber = Shapes::StructureShape.new(name: 'OrderedPhoneNumber')
|
@@ -271,6 +275,8 @@ module Aws::Chime
|
|
271
275
|
ProxySessions = Shapes::ListShape.new(name: 'ProxySessions')
|
272
276
|
PutEventsConfigurationRequest = Shapes::StructureShape.new(name: 'PutEventsConfigurationRequest')
|
273
277
|
PutEventsConfigurationResponse = Shapes::StructureShape.new(name: 'PutEventsConfigurationResponse')
|
278
|
+
PutRetentionSettingsRequest = Shapes::StructureShape.new(name: 'PutRetentionSettingsRequest')
|
279
|
+
PutRetentionSettingsResponse = Shapes::StructureShape.new(name: 'PutRetentionSettingsResponse')
|
274
280
|
PutVoiceConnectorLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorLoggingConfigurationRequest')
|
275
281
|
PutVoiceConnectorLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'PutVoiceConnectorLoggingConfigurationResponse')
|
276
282
|
PutVoiceConnectorOriginationRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorOriginationRequest')
|
@@ -282,6 +288,10 @@ module Aws::Chime
|
|
282
288
|
PutVoiceConnectorTerminationCredentialsRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorTerminationCredentialsRequest')
|
283
289
|
PutVoiceConnectorTerminationRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorTerminationRequest')
|
284
290
|
PutVoiceConnectorTerminationResponse = Shapes::StructureShape.new(name: 'PutVoiceConnectorTerminationResponse')
|
291
|
+
RedactConversationMessageRequest = Shapes::StructureShape.new(name: 'RedactConversationMessageRequest')
|
292
|
+
RedactConversationMessageResponse = Shapes::StructureShape.new(name: 'RedactConversationMessageResponse')
|
293
|
+
RedactRoomMessageRequest = Shapes::StructureShape.new(name: 'RedactRoomMessageRequest')
|
294
|
+
RedactRoomMessageResponse = Shapes::StructureShape.new(name: 'RedactRoomMessageResponse')
|
285
295
|
RegenerateSecurityTokenRequest = Shapes::StructureShape.new(name: 'RegenerateSecurityTokenRequest')
|
286
296
|
RegenerateSecurityTokenResponse = Shapes::StructureShape.new(name: 'RegenerateSecurityTokenResponse')
|
287
297
|
RegistrationStatus = Shapes::StringShape.new(name: 'RegistrationStatus')
|
@@ -291,11 +301,14 @@ module Aws::Chime
|
|
291
301
|
RestorePhoneNumberRequest = Shapes::StructureShape.new(name: 'RestorePhoneNumberRequest')
|
292
302
|
RestorePhoneNumberResponse = Shapes::StructureShape.new(name: 'RestorePhoneNumberResponse')
|
293
303
|
ResultMax = Shapes::IntegerShape.new(name: 'ResultMax')
|
304
|
+
RetentionDays = Shapes::IntegerShape.new(name: 'RetentionDays')
|
305
|
+
RetentionSettings = Shapes::StructureShape.new(name: 'RetentionSettings')
|
294
306
|
Room = Shapes::StructureShape.new(name: 'Room')
|
295
307
|
RoomList = Shapes::ListShape.new(name: 'RoomList')
|
296
308
|
RoomMembership = Shapes::StructureShape.new(name: 'RoomMembership')
|
297
309
|
RoomMembershipList = Shapes::ListShape.new(name: 'RoomMembershipList')
|
298
310
|
RoomMembershipRole = Shapes::StringShape.new(name: 'RoomMembershipRole')
|
311
|
+
RoomRetentionSettings = Shapes::StructureShape.new(name: 'RoomRetentionSettings')
|
299
312
|
SearchAvailablePhoneNumbersRequest = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersRequest')
|
300
313
|
SearchAvailablePhoneNumbersResponse = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersResponse')
|
301
314
|
SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
|
@@ -305,6 +318,8 @@ module Aws::Chime
|
|
305
318
|
SigninDelegateGroup = Shapes::StructureShape.new(name: 'SigninDelegateGroup')
|
306
319
|
SigninDelegateGroupList = Shapes::ListShape.new(name: 'SigninDelegateGroupList')
|
307
320
|
StreamingConfiguration = Shapes::StructureShape.new(name: 'StreamingConfiguration')
|
321
|
+
StreamingNotificationTarget = Shapes::StructureShape.new(name: 'StreamingNotificationTarget')
|
322
|
+
StreamingNotificationTargetList = Shapes::ListShape.new(name: 'StreamingNotificationTargetList')
|
308
323
|
String = Shapes::StringShape.new(name: 'String')
|
309
324
|
String128 = Shapes::StringShape.new(name: 'String128')
|
310
325
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
@@ -517,6 +532,9 @@ module Aws::Chime
|
|
517
532
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
518
533
|
ConflictException.struct_class = Types::ConflictException
|
519
534
|
|
535
|
+
ConversationRetentionSettings.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
|
536
|
+
ConversationRetentionSettings.struct_class = Types::ConversationRetentionSettings
|
537
|
+
|
520
538
|
CountryList.member = Shapes::ShapeRef.new(shape: Country)
|
521
539
|
|
522
540
|
CreateAccountRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccountName, required: true, location_name: "Name"))
|
@@ -791,6 +809,13 @@ module Aws::Chime
|
|
791
809
|
GetProxySessionResponse.add_member(:proxy_session, Shapes::ShapeRef.new(shape: ProxySession, location_name: "ProxySession"))
|
792
810
|
GetProxySessionResponse.struct_class = Types::GetProxySessionResponse
|
793
811
|
|
812
|
+
GetRetentionSettingsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
813
|
+
GetRetentionSettingsRequest.struct_class = Types::GetRetentionSettingsRequest
|
814
|
+
|
815
|
+
GetRetentionSettingsResponse.add_member(:retention_settings, Shapes::ShapeRef.new(shape: RetentionSettings, location_name: "RetentionSettings"))
|
816
|
+
GetRetentionSettingsResponse.add_member(:initiate_deletion_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "InitiateDeletionTimestamp"))
|
817
|
+
GetRetentionSettingsResponse.struct_class = Types::GetRetentionSettingsResponse
|
818
|
+
|
794
819
|
GetRoomRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
795
820
|
GetRoomRequest.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "roomId"))
|
796
821
|
GetRoomRequest.struct_class = Types::GetRoomRequest
|
@@ -1183,6 +1208,14 @@ module Aws::Chime
|
|
1183
1208
|
PutEventsConfigurationResponse.add_member(:events_configuration, Shapes::ShapeRef.new(shape: EventsConfiguration, location_name: "EventsConfiguration"))
|
1184
1209
|
PutEventsConfigurationResponse.struct_class = Types::PutEventsConfigurationResponse
|
1185
1210
|
|
1211
|
+
PutRetentionSettingsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
1212
|
+
PutRetentionSettingsRequest.add_member(:retention_settings, Shapes::ShapeRef.new(shape: RetentionSettings, required: true, location_name: "RetentionSettings"))
|
1213
|
+
PutRetentionSettingsRequest.struct_class = Types::PutRetentionSettingsRequest
|
1214
|
+
|
1215
|
+
PutRetentionSettingsResponse.add_member(:retention_settings, Shapes::ShapeRef.new(shape: RetentionSettings, location_name: "RetentionSettings"))
|
1216
|
+
PutRetentionSettingsResponse.add_member(:initiate_deletion_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "InitiateDeletionTimestamp"))
|
1217
|
+
PutRetentionSettingsResponse.struct_class = Types::PutRetentionSettingsResponse
|
1218
|
+
|
1186
1219
|
PutVoiceConnectorLoggingConfigurationRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
|
1187
1220
|
PutVoiceConnectorLoggingConfigurationRequest.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, required: true, location_name: "LoggingConfiguration"))
|
1188
1221
|
PutVoiceConnectorLoggingConfigurationRequest.struct_class = Types::PutVoiceConnectorLoggingConfigurationRequest
|
@@ -1225,6 +1258,20 @@ module Aws::Chime
|
|
1225
1258
|
PutVoiceConnectorTerminationResponse.add_member(:termination, Shapes::ShapeRef.new(shape: Termination, location_name: "Termination"))
|
1226
1259
|
PutVoiceConnectorTerminationResponse.struct_class = Types::PutVoiceConnectorTerminationResponse
|
1227
1260
|
|
1261
|
+
RedactConversationMessageRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
1262
|
+
RedactConversationMessageRequest.add_member(:conversation_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "conversationId"))
|
1263
|
+
RedactConversationMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "messageId"))
|
1264
|
+
RedactConversationMessageRequest.struct_class = Types::RedactConversationMessageRequest
|
1265
|
+
|
1266
|
+
RedactConversationMessageResponse.struct_class = Types::RedactConversationMessageResponse
|
1267
|
+
|
1268
|
+
RedactRoomMessageRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
1269
|
+
RedactRoomMessageRequest.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "roomId"))
|
1270
|
+
RedactRoomMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "messageId"))
|
1271
|
+
RedactRoomMessageRequest.struct_class = Types::RedactRoomMessageRequest
|
1272
|
+
|
1273
|
+
RedactRoomMessageResponse.struct_class = Types::RedactRoomMessageResponse
|
1274
|
+
|
1228
1275
|
RegenerateSecurityTokenRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
1229
1276
|
RegenerateSecurityTokenRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "botId"))
|
1230
1277
|
RegenerateSecurityTokenRequest.struct_class = Types::RegenerateSecurityTokenRequest
|
@@ -1249,6 +1296,10 @@ module Aws::Chime
|
|
1249
1296
|
RestorePhoneNumberResponse.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "PhoneNumber"))
|
1250
1297
|
RestorePhoneNumberResponse.struct_class = Types::RestorePhoneNumberResponse
|
1251
1298
|
|
1299
|
+
RetentionSettings.add_member(:room_retention_settings, Shapes::ShapeRef.new(shape: RoomRetentionSettings, location_name: "RoomRetentionSettings"))
|
1300
|
+
RetentionSettings.add_member(:conversation_retention_settings, Shapes::ShapeRef.new(shape: ConversationRetentionSettings, location_name: "ConversationRetentionSettings"))
|
1301
|
+
RetentionSettings.struct_class = Types::RetentionSettings
|
1302
|
+
|
1252
1303
|
Room.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "RoomId"))
|
1253
1304
|
Room.add_member(:name, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Name"))
|
1254
1305
|
Room.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AccountId"))
|
@@ -1268,6 +1319,9 @@ module Aws::Chime
|
|
1268
1319
|
|
1269
1320
|
RoomMembershipList.member = Shapes::ShapeRef.new(shape: RoomMembership)
|
1270
1321
|
|
1322
|
+
RoomRetentionSettings.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
|
1323
|
+
RoomRetentionSettings.struct_class = Types::RoomRetentionSettings
|
1324
|
+
|
1271
1325
|
SearchAvailablePhoneNumbersRequest.add_member(:area_code, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "area-code"))
|
1272
1326
|
SearchAvailablePhoneNumbersRequest.add_member(:city, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "city"))
|
1273
1327
|
SearchAvailablePhoneNumbersRequest.add_member(:country, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "country"))
|
@@ -1297,8 +1351,14 @@ module Aws::Chime
|
|
1297
1351
|
|
1298
1352
|
StreamingConfiguration.add_member(:data_retention_in_hours, Shapes::ShapeRef.new(shape: DataRetentionInHours, required: true, location_name: "DataRetentionInHours"))
|
1299
1353
|
StreamingConfiguration.add_member(:disabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Disabled"))
|
1354
|
+
StreamingConfiguration.add_member(:streaming_notification_targets, Shapes::ShapeRef.new(shape: StreamingNotificationTargetList, location_name: "StreamingNotificationTargets"))
|
1300
1355
|
StreamingConfiguration.struct_class = Types::StreamingConfiguration
|
1301
1356
|
|
1357
|
+
StreamingNotificationTarget.add_member(:notification_target, Shapes::ShapeRef.new(shape: NotificationTarget, required: true, location_name: "NotificationTarget"))
|
1358
|
+
StreamingNotificationTarget.struct_class = Types::StreamingNotificationTarget
|
1359
|
+
|
1360
|
+
StreamingNotificationTargetList.member = Shapes::ShapeRef.new(shape: StreamingNotificationTarget)
|
1361
|
+
|
1302
1362
|
StringList.member = Shapes::ShapeRef.new(shape: String)
|
1303
1363
|
|
1304
1364
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
@@ -2340,6 +2400,21 @@ module Aws::Chime
|
|
2340
2400
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
2341
2401
|
end)
|
2342
2402
|
|
2403
|
+
api.add_operation(:get_retention_settings, Seahorse::Model::Operation.new.tap do |o|
|
2404
|
+
o.name = "GetRetentionSettings"
|
2405
|
+
o.http_method = "GET"
|
2406
|
+
o.http_request_uri = "/accounts/{accountId}/retention-settings"
|
2407
|
+
o.input = Shapes::ShapeRef.new(shape: GetRetentionSettingsRequest)
|
2408
|
+
o.output = Shapes::ShapeRef.new(shape: GetRetentionSettingsResponse)
|
2409
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
2410
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2411
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2412
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
2413
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
2414
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2415
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
2416
|
+
end)
|
2417
|
+
|
2343
2418
|
api.add_operation(:get_room, Seahorse::Model::Operation.new.tap do |o|
|
2344
2419
|
o.name = "GetRoom"
|
2345
2420
|
o.http_method = "GET"
|
@@ -2856,6 +2931,22 @@ module Aws::Chime
|
|
2856
2931
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2857
2932
|
end)
|
2858
2933
|
|
2934
|
+
api.add_operation(:put_retention_settings, Seahorse::Model::Operation.new.tap do |o|
|
2935
|
+
o.name = "PutRetentionSettings"
|
2936
|
+
o.http_method = "PUT"
|
2937
|
+
o.http_request_uri = "/accounts/{accountId}/retention-settings"
|
2938
|
+
o.input = Shapes::ShapeRef.new(shape: PutRetentionSettingsRequest)
|
2939
|
+
o.output = Shapes::ShapeRef.new(shape: PutRetentionSettingsResponse)
|
2940
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
2941
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2942
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2943
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
2944
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2945
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
2946
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2947
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
2948
|
+
end)
|
2949
|
+
|
2859
2950
|
api.add_operation(:put_voice_connector_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
|
2860
2951
|
o.name = "PutVoiceConnectorLoggingConfiguration"
|
2861
2952
|
o.http_method = "PUT"
|
@@ -2948,6 +3039,36 @@ module Aws::Chime
|
|
2948
3039
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
2949
3040
|
end)
|
2950
3041
|
|
3042
|
+
api.add_operation(:redact_conversation_message, Seahorse::Model::Operation.new.tap do |o|
|
3043
|
+
o.name = "RedactConversationMessage"
|
3044
|
+
o.http_method = "POST"
|
3045
|
+
o.http_request_uri = "/accounts/{accountId}/conversations/{conversationId}/messages/{messageId}?operation=redact"
|
3046
|
+
o.input = Shapes::ShapeRef.new(shape: RedactConversationMessageRequest)
|
3047
|
+
o.output = Shapes::ShapeRef.new(shape: RedactConversationMessageResponse)
|
3048
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3049
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
3050
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
3051
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
3052
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3053
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
3054
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
3055
|
+
end)
|
3056
|
+
|
3057
|
+
api.add_operation(:redact_room_message, Seahorse::Model::Operation.new.tap do |o|
|
3058
|
+
o.name = "RedactRoomMessage"
|
3059
|
+
o.http_method = "POST"
|
3060
|
+
o.http_request_uri = "/accounts/{accountId}/rooms/{roomId}/messages/{messageId}?operation=redact"
|
3061
|
+
o.input = Shapes::ShapeRef.new(shape: RedactRoomMessageRequest)
|
3062
|
+
o.output = Shapes::ShapeRef.new(shape: RedactRoomMessageResponse)
|
3063
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3064
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
3065
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
3066
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
|
3067
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3068
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
3069
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
3070
|
+
end)
|
3071
|
+
|
2951
3072
|
api.add_operation(:regenerate_security_token, Seahorse::Model::Operation.new.tap do |o|
|
2952
3073
|
o.name = "RegenerateSecurityToken"
|
2953
3074
|
o.http_method = "POST"
|
data/lib/aws-sdk-chime/types.rb
CHANGED
@@ -737,6 +737,27 @@ module Aws::Chime
|
|
737
737
|
include Aws::Structure
|
738
738
|
end
|
739
739
|
|
740
|
+
# The retention settings that determine how long to retain chat
|
741
|
+
# conversation messages for an Amazon Chime Enterprise account.
|
742
|
+
#
|
743
|
+
# @note When making an API call, you may pass ConversationRetentionSettings
|
744
|
+
# data as a hash:
|
745
|
+
#
|
746
|
+
# {
|
747
|
+
# retention_days: 1,
|
748
|
+
# }
|
749
|
+
#
|
750
|
+
# @!attribute [rw] retention_days
|
751
|
+
# The number of days for which to retain chat conversation messages.
|
752
|
+
# @return [Integer]
|
753
|
+
#
|
754
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ConversationRetentionSettings AWS API Documentation
|
755
|
+
#
|
756
|
+
class ConversationRetentionSettings < Struct.new(
|
757
|
+
:retention_days)
|
758
|
+
include Aws::Structure
|
759
|
+
end
|
760
|
+
|
740
761
|
# @note When making an API call, you may pass CreateAccountRequest
|
741
762
|
# data as a hash:
|
742
763
|
#
|
@@ -2184,6 +2205,41 @@ module Aws::Chime
|
|
2184
2205
|
include Aws::Structure
|
2185
2206
|
end
|
2186
2207
|
|
2208
|
+
# @note When making an API call, you may pass GetRetentionSettingsRequest
|
2209
|
+
# data as a hash:
|
2210
|
+
#
|
2211
|
+
# {
|
2212
|
+
# account_id: "NonEmptyString", # required
|
2213
|
+
# }
|
2214
|
+
#
|
2215
|
+
# @!attribute [rw] account_id
|
2216
|
+
# The Amazon Chime account ID.
|
2217
|
+
# @return [String]
|
2218
|
+
#
|
2219
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRetentionSettingsRequest AWS API Documentation
|
2220
|
+
#
|
2221
|
+
class GetRetentionSettingsRequest < Struct.new(
|
2222
|
+
:account_id)
|
2223
|
+
include Aws::Structure
|
2224
|
+
end
|
2225
|
+
|
2226
|
+
# @!attribute [rw] retention_settings
|
2227
|
+
# The retention settings.
|
2228
|
+
# @return [Types::RetentionSettings]
|
2229
|
+
#
|
2230
|
+
# @!attribute [rw] initiate_deletion_timestamp
|
2231
|
+
# The timestamp representing the time at which the specified items are
|
2232
|
+
# permanently deleted, in ISO 8601 format.
|
2233
|
+
# @return [Time]
|
2234
|
+
#
|
2235
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRetentionSettingsResponse AWS API Documentation
|
2236
|
+
#
|
2237
|
+
class GetRetentionSettingsResponse < Struct.new(
|
2238
|
+
:retention_settings,
|
2239
|
+
:initiate_deletion_timestamp)
|
2240
|
+
include Aws::Structure
|
2241
|
+
end
|
2242
|
+
|
2187
2243
|
# @note When making an API call, you may pass GetRoomRequest
|
2188
2244
|
# data as a hash:
|
2189
2245
|
#
|
@@ -4032,6 +4088,54 @@ module Aws::Chime
|
|
4032
4088
|
include Aws::Structure
|
4033
4089
|
end
|
4034
4090
|
|
4091
|
+
# @note When making an API call, you may pass PutRetentionSettingsRequest
|
4092
|
+
# data as a hash:
|
4093
|
+
#
|
4094
|
+
# {
|
4095
|
+
# account_id: "NonEmptyString", # required
|
4096
|
+
# retention_settings: { # required
|
4097
|
+
# room_retention_settings: {
|
4098
|
+
# retention_days: 1,
|
4099
|
+
# },
|
4100
|
+
# conversation_retention_settings: {
|
4101
|
+
# retention_days: 1,
|
4102
|
+
# },
|
4103
|
+
# },
|
4104
|
+
# }
|
4105
|
+
#
|
4106
|
+
# @!attribute [rw] account_id
|
4107
|
+
# The Amazon Chime account ID.
|
4108
|
+
# @return [String]
|
4109
|
+
#
|
4110
|
+
# @!attribute [rw] retention_settings
|
4111
|
+
# The retention settings.
|
4112
|
+
# @return [Types::RetentionSettings]
|
4113
|
+
#
|
4114
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutRetentionSettingsRequest AWS API Documentation
|
4115
|
+
#
|
4116
|
+
class PutRetentionSettingsRequest < Struct.new(
|
4117
|
+
:account_id,
|
4118
|
+
:retention_settings)
|
4119
|
+
include Aws::Structure
|
4120
|
+
end
|
4121
|
+
|
4122
|
+
# @!attribute [rw] retention_settings
|
4123
|
+
# The retention settings.
|
4124
|
+
# @return [Types::RetentionSettings]
|
4125
|
+
#
|
4126
|
+
# @!attribute [rw] initiate_deletion_timestamp
|
4127
|
+
# The timestamp representing the time at which the specified items are
|
4128
|
+
# permanently deleted, in ISO 8601 format.
|
4129
|
+
# @return [Time]
|
4130
|
+
#
|
4131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutRetentionSettingsResponse AWS API Documentation
|
4132
|
+
#
|
4133
|
+
class PutRetentionSettingsResponse < Struct.new(
|
4134
|
+
:retention_settings,
|
4135
|
+
:initiate_deletion_timestamp)
|
4136
|
+
include Aws::Structure
|
4137
|
+
end
|
4138
|
+
|
4035
4139
|
# @note When making an API call, you may pass PutVoiceConnectorLoggingConfigurationRequest
|
4036
4140
|
# data as a hash:
|
4037
4141
|
#
|
@@ -4177,6 +4281,11 @@ module Aws::Chime
|
|
4177
4281
|
# streaming_configuration: { # required
|
4178
4282
|
# data_retention_in_hours: 1, # required
|
4179
4283
|
# disabled: false,
|
4284
|
+
# streaming_notification_targets: [
|
4285
|
+
# {
|
4286
|
+
# notification_target: "EventBridge", # required, accepts EventBridge, SNS, SQS
|
4287
|
+
# },
|
4288
|
+
# ],
|
4180
4289
|
# },
|
4181
4290
|
# }
|
4182
4291
|
#
|
@@ -4277,6 +4386,74 @@ module Aws::Chime
|
|
4277
4386
|
include Aws::Structure
|
4278
4387
|
end
|
4279
4388
|
|
4389
|
+
# @note When making an API call, you may pass RedactConversationMessageRequest
|
4390
|
+
# data as a hash:
|
4391
|
+
#
|
4392
|
+
# {
|
4393
|
+
# account_id: "NonEmptyString", # required
|
4394
|
+
# conversation_id: "NonEmptyString", # required
|
4395
|
+
# message_id: "NonEmptyString", # required
|
4396
|
+
# }
|
4397
|
+
#
|
4398
|
+
# @!attribute [rw] account_id
|
4399
|
+
# The Amazon Chime account ID.
|
4400
|
+
# @return [String]
|
4401
|
+
#
|
4402
|
+
# @!attribute [rw] conversation_id
|
4403
|
+
# The conversation ID.
|
4404
|
+
# @return [String]
|
4405
|
+
#
|
4406
|
+
# @!attribute [rw] message_id
|
4407
|
+
# The message ID.
|
4408
|
+
# @return [String]
|
4409
|
+
#
|
4410
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactConversationMessageRequest AWS API Documentation
|
4411
|
+
#
|
4412
|
+
class RedactConversationMessageRequest < Struct.new(
|
4413
|
+
:account_id,
|
4414
|
+
:conversation_id,
|
4415
|
+
:message_id)
|
4416
|
+
include Aws::Structure
|
4417
|
+
end
|
4418
|
+
|
4419
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactConversationMessageResponse AWS API Documentation
|
4420
|
+
#
|
4421
|
+
class RedactConversationMessageResponse < Aws::EmptyStructure; end
|
4422
|
+
|
4423
|
+
# @note When making an API call, you may pass RedactRoomMessageRequest
|
4424
|
+
# data as a hash:
|
4425
|
+
#
|
4426
|
+
# {
|
4427
|
+
# account_id: "NonEmptyString", # required
|
4428
|
+
# room_id: "NonEmptyString", # required
|
4429
|
+
# message_id: "NonEmptyString", # required
|
4430
|
+
# }
|
4431
|
+
#
|
4432
|
+
# @!attribute [rw] account_id
|
4433
|
+
# The Amazon Chime account ID.
|
4434
|
+
# @return [String]
|
4435
|
+
#
|
4436
|
+
# @!attribute [rw] room_id
|
4437
|
+
# The room ID.
|
4438
|
+
# @return [String]
|
4439
|
+
#
|
4440
|
+
# @!attribute [rw] message_id
|
4441
|
+
# The message ID.
|
4442
|
+
# @return [String]
|
4443
|
+
#
|
4444
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactRoomMessageRequest AWS API Documentation
|
4445
|
+
#
|
4446
|
+
class RedactRoomMessageRequest < Struct.new(
|
4447
|
+
:account_id,
|
4448
|
+
:room_id,
|
4449
|
+
:message_id)
|
4450
|
+
include Aws::Structure
|
4451
|
+
end
|
4452
|
+
|
4453
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactRoomMessageResponse AWS API Documentation
|
4454
|
+
#
|
4455
|
+
class RedactRoomMessageResponse < Aws::EmptyStructure; end
|
4456
|
+
|
4280
4457
|
# @note When making an API call, you may pass RegenerateSecurityTokenRequest
|
4281
4458
|
# data as a hash:
|
4282
4459
|
#
|
@@ -4393,6 +4570,38 @@ module Aws::Chime
|
|
4393
4570
|
include Aws::Structure
|
4394
4571
|
end
|
4395
4572
|
|
4573
|
+
# The retention settings for an Amazon Chime Enterprise account that
|
4574
|
+
# determine how long to retain items such as chat room messages and chat
|
4575
|
+
# conversation messages.
|
4576
|
+
#
|
4577
|
+
# @note When making an API call, you may pass RetentionSettings
|
4578
|
+
# data as a hash:
|
4579
|
+
#
|
4580
|
+
# {
|
4581
|
+
# room_retention_settings: {
|
4582
|
+
# retention_days: 1,
|
4583
|
+
# },
|
4584
|
+
# conversation_retention_settings: {
|
4585
|
+
# retention_days: 1,
|
4586
|
+
# },
|
4587
|
+
# }
|
4588
|
+
#
|
4589
|
+
# @!attribute [rw] room_retention_settings
|
4590
|
+
# The chat room retention settings.
|
4591
|
+
# @return [Types::RoomRetentionSettings]
|
4592
|
+
#
|
4593
|
+
# @!attribute [rw] conversation_retention_settings
|
4594
|
+
# The chat conversation retention settings.
|
4595
|
+
# @return [Types::ConversationRetentionSettings]
|
4596
|
+
#
|
4597
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RetentionSettings AWS API Documentation
|
4598
|
+
#
|
4599
|
+
class RetentionSettings < Struct.new(
|
4600
|
+
:room_retention_settings,
|
4601
|
+
:conversation_retention_settings)
|
4602
|
+
include Aws::Structure
|
4603
|
+
end
|
4604
|
+
|
4396
4605
|
# The Amazon Chime chat room details.
|
4397
4606
|
#
|
4398
4607
|
# @!attribute [rw] room_id
|
@@ -4465,6 +4674,27 @@ module Aws::Chime
|
|
4465
4674
|
include Aws::Structure
|
4466
4675
|
end
|
4467
4676
|
|
4677
|
+
# The retention settings that determine how long to retain chat room
|
4678
|
+
# messages for an Amazon Chime Enterprise account.
|
4679
|
+
#
|
4680
|
+
# @note When making an API call, you may pass RoomRetentionSettings
|
4681
|
+
# data as a hash:
|
4682
|
+
#
|
4683
|
+
# {
|
4684
|
+
# retention_days: 1,
|
4685
|
+
# }
|
4686
|
+
#
|
4687
|
+
# @!attribute [rw] retention_days
|
4688
|
+
# The number of days for which to retain chat room messages.
|
4689
|
+
# @return [Integer]
|
4690
|
+
#
|
4691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RoomRetentionSettings AWS API Documentation
|
4692
|
+
#
|
4693
|
+
class RoomRetentionSettings < Struct.new(
|
4694
|
+
:retention_days)
|
4695
|
+
include Aws::Structure
|
4696
|
+
end
|
4697
|
+
|
4468
4698
|
# @note When making an API call, you may pass SearchAvailablePhoneNumbersRequest
|
4469
4699
|
# data as a hash:
|
4470
4700
|
#
|
@@ -4594,6 +4824,11 @@ module Aws::Chime
|
|
4594
4824
|
# {
|
4595
4825
|
# data_retention_in_hours: 1, # required
|
4596
4826
|
# disabled: false,
|
4827
|
+
# streaming_notification_targets: [
|
4828
|
+
# {
|
4829
|
+
# notification_target: "EventBridge", # required, accepts EventBridge, SNS, SQS
|
4830
|
+
# },
|
4831
|
+
# ],
|
4597
4832
|
# }
|
4598
4833
|
#
|
4599
4834
|
# @!attribute [rw] data_retention_in_hours
|
@@ -4604,11 +4839,36 @@ module Aws::Chime
|
|
4604
4839
|
# When true, media streaming to Amazon Kinesis is turned off.
|
4605
4840
|
# @return [Boolean]
|
4606
4841
|
#
|
4842
|
+
# @!attribute [rw] streaming_notification_targets
|
4843
|
+
# The streaming notification targets.
|
4844
|
+
# @return [Array<Types::StreamingNotificationTarget>]
|
4845
|
+
#
|
4607
4846
|
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/StreamingConfiguration AWS API Documentation
|
4608
4847
|
#
|
4609
4848
|
class StreamingConfiguration < Struct.new(
|
4610
4849
|
:data_retention_in_hours,
|
4611
|
-
:disabled
|
4850
|
+
:disabled,
|
4851
|
+
:streaming_notification_targets)
|
4852
|
+
include Aws::Structure
|
4853
|
+
end
|
4854
|
+
|
4855
|
+
# The targeted recipient for a streaming configuration notification.
|
4856
|
+
#
|
4857
|
+
# @note When making an API call, you may pass StreamingNotificationTarget
|
4858
|
+
# data as a hash:
|
4859
|
+
#
|
4860
|
+
# {
|
4861
|
+
# notification_target: "EventBridge", # required, accepts EventBridge, SNS, SQS
|
4862
|
+
# }
|
4863
|
+
#
|
4864
|
+
# @!attribute [rw] notification_target
|
4865
|
+
# The streaming notification target.
|
4866
|
+
# @return [String]
|
4867
|
+
#
|
4868
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/StreamingNotificationTarget AWS API Documentation
|
4869
|
+
#
|
4870
|
+
class StreamingNotificationTarget < Struct.new(
|
4871
|
+
:notification_target)
|
4612
4872
|
include Aws::Structure
|
4613
4873
|
end
|
4614
4874
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-chime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.29.1
|
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: 2020-
|
11
|
+
date: 2020-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.99.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|