aws-sdk-chime 1.23.0 → 1.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-chime.rb +1 -1
- data/lib/aws-sdk-chime/client.rb +170 -4
- data/lib/aws-sdk-chime/client_api.rb +121 -0
- data/lib/aws-sdk-chime/types.rb +261 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d755b9e752197b0e834b0e18ee1516b9b745abc6a555972b7681be38504f62b5
|
4
|
+
data.tar.gz: e02131e3790871859ac2aa09c895ea95c4a25199ea42cba1de6d5b47c7f70665
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9999741ed9765da58507cae790838b95d0737465a2d63967b11b6f7075398f48795dcf68292030387707befa2dcc9cf880957da426287c2769396ab1d8bd2192
|
7
|
+
data.tar.gz: 162b95a384cf71995d2f1ad19e6406e9a6d8a01d42bfe4c84cb52b59a3bff20846635f1a4a84362de5f712a0b9f976678343399fcf3f7319224d116a1079c7ca
|
data/lib/aws-sdk-chime.rb
CHANGED
data/lib/aws-sdk-chime/client.rb
CHANGED
@@ -105,7 +105,7 @@ module Aws::Chime
|
|
105
105
|
# @option options [required, String] :region
|
106
106
|
# The AWS region to connect to. The configured `:region` is
|
107
107
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
109
109
|
#
|
110
110
|
# * `Aws.config[:region]`
|
111
111
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +161,7 @@ module Aws::Chime
|
|
161
161
|
# @option options [String] :endpoint
|
162
162
|
# The client endpoint is normally constructed from the `:region`
|
163
163
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
165
165
|
#
|
166
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +176,7 @@ module Aws::Chime
|
|
176
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
177
|
#
|
178
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
180
|
#
|
181
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
182
|
# The log formatter.
|
@@ -2321,6 +2321,44 @@ module Aws::Chime
|
|
2321
2321
|
req.send_request(options)
|
2322
2322
|
end
|
2323
2323
|
|
2324
|
+
# Gets the retention settings for the specified Amazon Chime Enterprise
|
2325
|
+
# account. For more information about retention settings, see [Managing
|
2326
|
+
# Chat Retention Policies][1] in the *Amazon Chime Administration
|
2327
|
+
# Guide*.
|
2328
|
+
#
|
2329
|
+
#
|
2330
|
+
#
|
2331
|
+
# [1]: https://docs.aws.amazon.com/chime/latest/ag/chat-retention.html
|
2332
|
+
#
|
2333
|
+
# @option params [required, String] :account_id
|
2334
|
+
# The Amazon Chime account ID.
|
2335
|
+
#
|
2336
|
+
# @return [Types::GetRetentionSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2337
|
+
#
|
2338
|
+
# * {Types::GetRetentionSettingsResponse#retention_settings #retention_settings} => Types::RetentionSettings
|
2339
|
+
# * {Types::GetRetentionSettingsResponse#initiate_deletion_timestamp #initiate_deletion_timestamp} => Time
|
2340
|
+
#
|
2341
|
+
# @example Request syntax with placeholder values
|
2342
|
+
#
|
2343
|
+
# resp = client.get_retention_settings({
|
2344
|
+
# account_id: "NonEmptyString", # required
|
2345
|
+
# })
|
2346
|
+
#
|
2347
|
+
# @example Response structure
|
2348
|
+
#
|
2349
|
+
# resp.retention_settings.room_retention_settings.retention_days #=> Integer
|
2350
|
+
# resp.retention_settings.conversation_retention_settings.retention_days #=> Integer
|
2351
|
+
# resp.initiate_deletion_timestamp #=> Time
|
2352
|
+
#
|
2353
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRetentionSettings AWS API Documentation
|
2354
|
+
#
|
2355
|
+
# @overload get_retention_settings(params = {})
|
2356
|
+
# @param [Hash] params ({})
|
2357
|
+
def get_retention_settings(params = {}, options = {})
|
2358
|
+
req = build_request(:get_retention_settings, params)
|
2359
|
+
req.send_request(options)
|
2360
|
+
end
|
2361
|
+
|
2324
2362
|
# Retrieves room details, such as the room name, for a room in an Amazon
|
2325
2363
|
# Chime Enterprise account.
|
2326
2364
|
#
|
@@ -2633,6 +2671,8 @@ module Aws::Chime
|
|
2633
2671
|
#
|
2634
2672
|
# resp.streaming_configuration.data_retention_in_hours #=> Integer
|
2635
2673
|
# resp.streaming_configuration.disabled #=> Boolean
|
2674
|
+
# resp.streaming_configuration.streaming_notification_targets #=> Array
|
2675
|
+
# resp.streaming_configuration.streaming_notification_targets[0].notification_target #=> String, one of "EventBridge", "SNS", "SQS"
|
2636
2676
|
#
|
2637
2677
|
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorStreamingConfiguration AWS API Documentation
|
2638
2678
|
#
|
@@ -3597,6 +3637,63 @@ module Aws::Chime
|
|
3597
3637
|
req.send_request(options)
|
3598
3638
|
end
|
3599
3639
|
|
3640
|
+
# Puts retention settings for the specified Amazon Chime Enterprise
|
3641
|
+
# account. We recommend using AWS CloudTrail to monitor usage of this
|
3642
|
+
# API for your account. For more information, see [Logging Amazon Chime
|
3643
|
+
# API Calls with AWS CloudTrail][1] in the *Amazon Chime Administration
|
3644
|
+
# Guide*.
|
3645
|
+
#
|
3646
|
+
# To turn off existing retention settings, remove the number of days
|
3647
|
+
# from the corresponding **RetentionDays** field in the
|
3648
|
+
# **RetentionSettings** object. For more information about retention
|
3649
|
+
# settings, see [Managing Chat Retention Policies][2] in the *Amazon
|
3650
|
+
# Chime Administration Guide*.
|
3651
|
+
#
|
3652
|
+
#
|
3653
|
+
#
|
3654
|
+
# [1]: https://docs.aws.amazon.com/chime/latest/ag/cloudtrail.html
|
3655
|
+
# [2]: https://docs.aws.amazon.com/chime/latest/ag/chat-retention.html
|
3656
|
+
#
|
3657
|
+
# @option params [required, String] :account_id
|
3658
|
+
# The Amazon Chime account ID.
|
3659
|
+
#
|
3660
|
+
# @option params [required, Types::RetentionSettings] :retention_settings
|
3661
|
+
# The retention settings.
|
3662
|
+
#
|
3663
|
+
# @return [Types::PutRetentionSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3664
|
+
#
|
3665
|
+
# * {Types::PutRetentionSettingsResponse#retention_settings #retention_settings} => Types::RetentionSettings
|
3666
|
+
# * {Types::PutRetentionSettingsResponse#initiate_deletion_timestamp #initiate_deletion_timestamp} => Time
|
3667
|
+
#
|
3668
|
+
# @example Request syntax with placeholder values
|
3669
|
+
#
|
3670
|
+
# resp = client.put_retention_settings({
|
3671
|
+
# account_id: "NonEmptyString", # required
|
3672
|
+
# retention_settings: { # required
|
3673
|
+
# room_retention_settings: {
|
3674
|
+
# retention_days: 1,
|
3675
|
+
# },
|
3676
|
+
# conversation_retention_settings: {
|
3677
|
+
# retention_days: 1,
|
3678
|
+
# },
|
3679
|
+
# },
|
3680
|
+
# })
|
3681
|
+
#
|
3682
|
+
# @example Response structure
|
3683
|
+
#
|
3684
|
+
# resp.retention_settings.room_retention_settings.retention_days #=> Integer
|
3685
|
+
# resp.retention_settings.conversation_retention_settings.retention_days #=> Integer
|
3686
|
+
# resp.initiate_deletion_timestamp #=> Time
|
3687
|
+
#
|
3688
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutRetentionSettings AWS API Documentation
|
3689
|
+
#
|
3690
|
+
# @overload put_retention_settings(params = {})
|
3691
|
+
# @param [Hash] params ({})
|
3692
|
+
def put_retention_settings(params = {}, options = {})
|
3693
|
+
req = build_request(:put_retention_settings, params)
|
3694
|
+
req.send_request(options)
|
3695
|
+
end
|
3696
|
+
|
3600
3697
|
# Adds a logging configuration for the specified Amazon Chime Voice
|
3601
3698
|
# Connector. The logging configuration specifies whether SIP message
|
3602
3699
|
# logs are enabled for sending to Amazon CloudWatch Logs.
|
@@ -3755,6 +3852,11 @@ module Aws::Chime
|
|
3755
3852
|
# streaming_configuration: { # required
|
3756
3853
|
# data_retention_in_hours: 1, # required
|
3757
3854
|
# disabled: false,
|
3855
|
+
# streaming_notification_targets: [
|
3856
|
+
# {
|
3857
|
+
# notification_target: "EventBridge", # required, accepts EventBridge, SNS, SQS
|
3858
|
+
# },
|
3859
|
+
# ],
|
3758
3860
|
# },
|
3759
3861
|
# })
|
3760
3862
|
#
|
@@ -3762,6 +3864,8 @@ module Aws::Chime
|
|
3762
3864
|
#
|
3763
3865
|
# resp.streaming_configuration.data_retention_in_hours #=> Integer
|
3764
3866
|
# resp.streaming_configuration.disabled #=> Boolean
|
3867
|
+
# resp.streaming_configuration.streaming_notification_targets #=> Array
|
3868
|
+
# resp.streaming_configuration.streaming_notification_targets[0].notification_target #=> String, one of "EventBridge", "SNS", "SQS"
|
3765
3869
|
#
|
3766
3870
|
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorStreamingConfiguration AWS API Documentation
|
3767
3871
|
#
|
@@ -3849,6 +3953,68 @@ module Aws::Chime
|
|
3849
3953
|
req.send_request(options)
|
3850
3954
|
end
|
3851
3955
|
|
3956
|
+
# Redacts the specified message from the specified Amazon Chime
|
3957
|
+
# conversation.
|
3958
|
+
#
|
3959
|
+
# @option params [required, String] :account_id
|
3960
|
+
# The Amazon Chime account ID.
|
3961
|
+
#
|
3962
|
+
# @option params [required, String] :conversation_id
|
3963
|
+
# The conversation ID.
|
3964
|
+
#
|
3965
|
+
# @option params [required, String] :message_id
|
3966
|
+
# The message ID.
|
3967
|
+
#
|
3968
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3969
|
+
#
|
3970
|
+
# @example Request syntax with placeholder values
|
3971
|
+
#
|
3972
|
+
# resp = client.redact_conversation_message({
|
3973
|
+
# account_id: "NonEmptyString", # required
|
3974
|
+
# conversation_id: "NonEmptyString", # required
|
3975
|
+
# message_id: "NonEmptyString", # required
|
3976
|
+
# })
|
3977
|
+
#
|
3978
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactConversationMessage AWS API Documentation
|
3979
|
+
#
|
3980
|
+
# @overload redact_conversation_message(params = {})
|
3981
|
+
# @param [Hash] params ({})
|
3982
|
+
def redact_conversation_message(params = {}, options = {})
|
3983
|
+
req = build_request(:redact_conversation_message, params)
|
3984
|
+
req.send_request(options)
|
3985
|
+
end
|
3986
|
+
|
3987
|
+
# Redacts the specified message from the specified Amazon Chime chat
|
3988
|
+
# room.
|
3989
|
+
#
|
3990
|
+
# @option params [required, String] :account_id
|
3991
|
+
# The Amazon Chime account ID.
|
3992
|
+
#
|
3993
|
+
# @option params [required, String] :room_id
|
3994
|
+
# The room ID.
|
3995
|
+
#
|
3996
|
+
# @option params [required, String] :message_id
|
3997
|
+
# The message ID.
|
3998
|
+
#
|
3999
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4000
|
+
#
|
4001
|
+
# @example Request syntax with placeholder values
|
4002
|
+
#
|
4003
|
+
# resp = client.redact_room_message({
|
4004
|
+
# account_id: "NonEmptyString", # required
|
4005
|
+
# room_id: "NonEmptyString", # required
|
4006
|
+
# message_id: "NonEmptyString", # required
|
4007
|
+
# })
|
4008
|
+
#
|
4009
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactRoomMessage AWS API Documentation
|
4010
|
+
#
|
4011
|
+
# @overload redact_room_message(params = {})
|
4012
|
+
# @param [Hash] params ({})
|
4013
|
+
def redact_room_message(params = {}, options = {})
|
4014
|
+
req = build_request(:redact_room_message, params)
|
4015
|
+
req.send_request(options)
|
4016
|
+
end
|
4017
|
+
|
3852
4018
|
# Regenerates the security token for a bot.
|
3853
4019
|
#
|
3854
4020
|
# @option params [required, String] :account_id
|
@@ -4817,7 +4983,7 @@ module Aws::Chime
|
|
4817
4983
|
params: params,
|
4818
4984
|
config: config)
|
4819
4985
|
context[:gem_name] = 'aws-sdk-chime'
|
4820
|
-
context[:gem_version] = '1.
|
4986
|
+
context[:gem_version] = '1.28.0'
|
4821
4987
|
Seahorse::Client::Request.new(handlers, context)
|
4822
4988
|
end
|
4823
4989
|
|
@@ -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.28.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: 2020-
|
11
|
+
date: 2020-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|