aws-sdk-chime 1.26.0 → 1.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d1fb9f19d9227451e3125e27fe2680804e7b70a4085d192fcd9a968b87157ca
4
- data.tar.gz: d3814016706152a993ac56832b9e8c23b4a2b85a2871143f388d1a5ffca90bd1
3
+ metadata.gz: 377df0186cb066727567b106a1c4e3c23d562d6ca3f659957d1153271120056b
4
+ data.tar.gz: 1067528e41e7834015ec28521443296bd584b6d61e794bea250788cacedc1329
5
5
  SHA512:
6
- metadata.gz: bfb6518ed1b4daa13c005f27fad0b9adcc2c6ebeaa500c21a767478280dace3647f9a0eb8882f5f2bc7853fecafd029f327a289e75e66ce3b7d7a00bae12d110
7
- data.tar.gz: 388fd6e85790f2083b5de700a6413bc89d871e4aac97662838cdbda1bf2f43eeeeb816859a1a90d5b8e7c87817c062d0865e7733246f5dee6d3476a4b82a99d2
6
+ metadata.gz: dc14b6408bfd0657785e3fc3557d8779aa8001a6594664b5136a1822f0a04482bcc46c8945c0cd5bac97202207203789d7cdb5e3ff77ecffc1cf49f106c1d478
7
+ data.tar.gz: '091b64742de4f52fe44df689bba8ccc631c56aea432839ed4a3b735dd0f269cf48c9e8ffa9db9696b0215e3d8136cde9dd248587cb629cfde145c5f90b336aff'
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-chime/customizations'
45
45
  # @service
46
46
  module Aws::Chime
47
47
 
48
- GEM_VERSION = '1.26.0'
48
+ GEM_VERSION = '1.27.0'
49
49
 
50
50
  end
@@ -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
  #
@@ -3599,6 +3637,63 @@ module Aws::Chime
3599
3637
  req.send_request(options)
3600
3638
  end
3601
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
+
3602
3697
  # Adds a logging configuration for the specified Amazon Chime Voice
3603
3698
  # Connector. The logging configuration specifies whether SIP message
3604
3699
  # logs are enabled for sending to Amazon CloudWatch Logs.
@@ -4888,7 +4983,7 @@ module Aws::Chime
4888
4983
  params: params,
4889
4984
  config: config)
4890
4985
  context[:gem_name] = 'aws-sdk-chime'
4891
- context[:gem_version] = '1.26.0'
4986
+ context[:gem_version] = '1.27.0'
4892
4987
  Seahorse::Client::Request.new(handlers, context)
4893
4988
  end
4894
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')
@@ -272,6 +275,8 @@ module Aws::Chime
272
275
  ProxySessions = Shapes::ListShape.new(name: 'ProxySessions')
273
276
  PutEventsConfigurationRequest = Shapes::StructureShape.new(name: 'PutEventsConfigurationRequest')
274
277
  PutEventsConfigurationResponse = Shapes::StructureShape.new(name: 'PutEventsConfigurationResponse')
278
+ PutRetentionSettingsRequest = Shapes::StructureShape.new(name: 'PutRetentionSettingsRequest')
279
+ PutRetentionSettingsResponse = Shapes::StructureShape.new(name: 'PutRetentionSettingsResponse')
275
280
  PutVoiceConnectorLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorLoggingConfigurationRequest')
276
281
  PutVoiceConnectorLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'PutVoiceConnectorLoggingConfigurationResponse')
277
282
  PutVoiceConnectorOriginationRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorOriginationRequest')
@@ -296,11 +301,14 @@ module Aws::Chime
296
301
  RestorePhoneNumberRequest = Shapes::StructureShape.new(name: 'RestorePhoneNumberRequest')
297
302
  RestorePhoneNumberResponse = Shapes::StructureShape.new(name: 'RestorePhoneNumberResponse')
298
303
  ResultMax = Shapes::IntegerShape.new(name: 'ResultMax')
304
+ RetentionDays = Shapes::IntegerShape.new(name: 'RetentionDays')
305
+ RetentionSettings = Shapes::StructureShape.new(name: 'RetentionSettings')
299
306
  Room = Shapes::StructureShape.new(name: 'Room')
300
307
  RoomList = Shapes::ListShape.new(name: 'RoomList')
301
308
  RoomMembership = Shapes::StructureShape.new(name: 'RoomMembership')
302
309
  RoomMembershipList = Shapes::ListShape.new(name: 'RoomMembershipList')
303
310
  RoomMembershipRole = Shapes::StringShape.new(name: 'RoomMembershipRole')
311
+ RoomRetentionSettings = Shapes::StructureShape.new(name: 'RoomRetentionSettings')
304
312
  SearchAvailablePhoneNumbersRequest = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersRequest')
305
313
  SearchAvailablePhoneNumbersResponse = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersResponse')
306
314
  SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
@@ -524,6 +532,9 @@ module Aws::Chime
524
532
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
525
533
  ConflictException.struct_class = Types::ConflictException
526
534
 
535
+ ConversationRetentionSettings.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
536
+ ConversationRetentionSettings.struct_class = Types::ConversationRetentionSettings
537
+
527
538
  CountryList.member = Shapes::ShapeRef.new(shape: Country)
528
539
 
529
540
  CreateAccountRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccountName, required: true, location_name: "Name"))
@@ -798,6 +809,13 @@ module Aws::Chime
798
809
  GetProxySessionResponse.add_member(:proxy_session, Shapes::ShapeRef.new(shape: ProxySession, location_name: "ProxySession"))
799
810
  GetProxySessionResponse.struct_class = Types::GetProxySessionResponse
800
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
+
801
819
  GetRoomRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
802
820
  GetRoomRequest.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "roomId"))
803
821
  GetRoomRequest.struct_class = Types::GetRoomRequest
@@ -1190,6 +1208,14 @@ module Aws::Chime
1190
1208
  PutEventsConfigurationResponse.add_member(:events_configuration, Shapes::ShapeRef.new(shape: EventsConfiguration, location_name: "EventsConfiguration"))
1191
1209
  PutEventsConfigurationResponse.struct_class = Types::PutEventsConfigurationResponse
1192
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
+
1193
1219
  PutVoiceConnectorLoggingConfigurationRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
1194
1220
  PutVoiceConnectorLoggingConfigurationRequest.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, required: true, location_name: "LoggingConfiguration"))
1195
1221
  PutVoiceConnectorLoggingConfigurationRequest.struct_class = Types::PutVoiceConnectorLoggingConfigurationRequest
@@ -1270,6 +1296,10 @@ module Aws::Chime
1270
1296
  RestorePhoneNumberResponse.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "PhoneNumber"))
1271
1297
  RestorePhoneNumberResponse.struct_class = Types::RestorePhoneNumberResponse
1272
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
+
1273
1303
  Room.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "RoomId"))
1274
1304
  Room.add_member(:name, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Name"))
1275
1305
  Room.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AccountId"))
@@ -1289,6 +1319,9 @@ module Aws::Chime
1289
1319
 
1290
1320
  RoomMembershipList.member = Shapes::ShapeRef.new(shape: RoomMembership)
1291
1321
 
1322
+ RoomRetentionSettings.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
1323
+ RoomRetentionSettings.struct_class = Types::RoomRetentionSettings
1324
+
1292
1325
  SearchAvailablePhoneNumbersRequest.add_member(:area_code, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "area-code"))
1293
1326
  SearchAvailablePhoneNumbersRequest.add_member(:city, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "city"))
1294
1327
  SearchAvailablePhoneNumbersRequest.add_member(:country, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "country"))
@@ -2367,6 +2400,21 @@ module Aws::Chime
2367
2400
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
2368
2401
  end)
2369
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
+
2370
2418
  api.add_operation(:get_room, Seahorse::Model::Operation.new.tap do |o|
2371
2419
  o.name = "GetRoom"
2372
2420
  o.http_method = "GET"
@@ -2883,6 +2931,22 @@ module Aws::Chime
2883
2931
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2884
2932
  end)
2885
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
+
2886
2950
  api.add_operation(:put_voice_connector_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
2887
2951
  o.name = "PutVoiceConnectorLoggingConfiguration"
2888
2952
  o.http_method = "PUT"
@@ -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
  #
@@ -4466,6 +4570,38 @@ module Aws::Chime
4466
4570
  include Aws::Structure
4467
4571
  end
4468
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
+
4469
4605
  # The Amazon Chime chat room details.
4470
4606
  #
4471
4607
  # @!attribute [rw] room_id
@@ -4538,6 +4674,27 @@ module Aws::Chime
4538
4674
  include Aws::Structure
4539
4675
  end
4540
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
+
4541
4698
  # @note When making an API call, you may pass SearchAvailablePhoneNumbersRequest
4542
4699
  # data as a hash:
4543
4700
  #
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.26.0
4
+ version: 1.27.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-05-19 00:00:00.000000000 Z
11
+ date: 2020-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core