aws-sdk-chime 1.26.0 → 1.31.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: e11846fe0191cd4b3bb36745511bedd9b22e15eb08625eb14f35e91ab6444f43
4
+ data.tar.gz: aad2afed22cbdd67131d7d42ddffd7e82ef3e7ca2b91a2469f8827f5fdf94a0b
5
5
  SHA512:
6
- metadata.gz: bfb6518ed1b4daa13c005f27fad0b9adcc2c6ebeaa500c21a767478280dace3647f9a0eb8882f5f2bc7853fecafd029f327a289e75e66ce3b7d7a00bae12d110
7
- data.tar.gz: 388fd6e85790f2083b5de700a6413bc89d871e4aac97662838cdbda1bf2f43eeeeb816859a1a90d5b8e7c87817c062d0865e7733246f5dee6d3476a4b82a99d2
6
+ metadata.gz: c77c826ffdbe94ce07932783d313a90e5357e95cfa58c17ba6513e6d19d65e5cb8f388322fdf9ecb4ca24fadc7a27f93886eb82f38b3309e373dc5a8c9c4dac1
7
+ data.tar.gz: 45f33e26dc67ed0a359659df5a6f88fc880592a98303d83bb118b886a052216f7d05ec2bd485f1a3b30766ea1cb72445ae7c0d02033834d472d1da991608c6c2
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-chime/customizations'
45
47
  # @service
46
48
  module Aws::Chime
47
49
 
48
- GEM_VERSION = '1.26.0'
50
+ GEM_VERSION = '1.31.0'
49
51
 
50
52
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::Chime
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::RestJson)
74
78
 
@@ -161,7 +165,7 @@ module Aws::Chime
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +180,7 @@ module Aws::Chime
176
180
  # requests fetching endpoints information. Defaults to 60 sec.
177
181
  #
178
182
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
184
  #
181
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
186
  # The log formatter.
@@ -931,13 +935,15 @@ module Aws::Chime
931
935
  end
932
936
 
933
937
  # Creates a new Amazon Chime SDK meeting in the specified media Region
934
- # with no initial attendees. For more information about the Amazon Chime
935
- # SDK, see [Using the Amazon Chime SDK][1] in the *Amazon Chime
936
- # Developer Guide*.
938
+ # with no initial attendees. For more information about specifying media
939
+ # Regions, see [Amazon Chime SDK Media Regions][1] in the *Amazon Chime
940
+ # Developer Guide*. For more information about the Amazon Chime SDK, see
941
+ # [Using the Amazon Chime SDK][2] in the *Amazon Chime Developer Guide*.
937
942
  #
938
943
  #
939
944
  #
940
- # [1]: https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html
945
+ # [1]: https://docs.aws.amazon.com/chime/latest/dg/chime-sdk-meetings-regions.html
946
+ # [2]: https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html
941
947
  #
942
948
  # @option params [required, String] :client_request_token
943
949
  # The unique identifier for the client request. Use a different token
@@ -953,10 +959,12 @@ module Aws::Chime
953
959
  # Reserved.
954
960
  #
955
961
  # @option params [String] :media_region
956
- # The Region in which to create the meeting. Available values:
957
- # `ap-northeast-1`, `ap-southeast-1`, `ap-southeast-2`, `ca-central-1`,
958
- # `eu-central-1`, `eu-north-1`, `eu-west-1`, `eu-west-2`, `eu-west-3`,
959
- # `sa-east-1`, `us-east-1`, `us-east-2`, `us-west-1`, `us-west-2`.
962
+ # The Region in which to create the meeting. Default: `us-east-1`.
963
+ #
964
+ # Available values: `ap-northeast-1`, `ap-southeast-1`,
965
+ # `ap-southeast-2`, `ca-central-1`, `eu-central-1`, `eu-north-1`,
966
+ # `eu-west-1`, `eu-west-2`, `eu-west-3`, `sa-east-1`, `us-east-1`,
967
+ # `us-east-2`, `us-west-1`, `us-west-2`.
960
968
  #
961
969
  # @option params [Array<Types::Tag>] :tags
962
970
  # The tag key-value pairs.
@@ -1010,6 +1018,116 @@ module Aws::Chime
1010
1018
  req.send_request(options)
1011
1019
  end
1012
1020
 
1021
+ # Creates a new Amazon Chime SDK meeting in the specified media Region,
1022
+ # with attendees. For more information about specifying media Regions,
1023
+ # see [Amazon Chime SDK Media Regions][1] in the *Amazon Chime Developer
1024
+ # Guide*. For more information about the Amazon Chime SDK, see [Using
1025
+ # the Amazon Chime SDK][2] in the *Amazon Chime Developer Guide*.
1026
+ #
1027
+ #
1028
+ #
1029
+ # [1]: https://docs.aws.amazon.com/chime/latest/dg/chime-sdk-meetings-regions.html
1030
+ # [2]: https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html
1031
+ #
1032
+ # @option params [required, String] :client_request_token
1033
+ # The unique identifier for the client request. Use a different token
1034
+ # for different meetings.
1035
+ #
1036
+ # **A suitable default value is auto-generated.** You should normally
1037
+ # not need to pass this option.**
1038
+ #
1039
+ # @option params [String] :external_meeting_id
1040
+ # The external meeting ID.
1041
+ #
1042
+ # @option params [String] :meeting_host_id
1043
+ # Reserved.
1044
+ #
1045
+ # @option params [String] :media_region
1046
+ # The Region in which to create the meeting. Default: `us-east-1`.
1047
+ #
1048
+ # Available values: `ap-northeast-1`, `ap-southeast-1`,
1049
+ # `ap-southeast-2`, `ca-central-1`, `eu-central-1`, `eu-north-1`,
1050
+ # `eu-west-1`, `eu-west-2`, `eu-west-3`, `sa-east-1`, `us-east-1`,
1051
+ # `us-east-2`, `us-west-1`, `us-west-2`.
1052
+ #
1053
+ # @option params [Array<Types::Tag>] :tags
1054
+ # The tag key-value pairs.
1055
+ #
1056
+ # @option params [Types::MeetingNotificationConfiguration] :notifications_configuration
1057
+ # The configuration for resource targets to receive notifications when
1058
+ # Amazon Chime SDK meeting and attendee events occur. The Amazon Chime
1059
+ # SDK supports resource targets located in the US East (N. Virginia) AWS
1060
+ # Region (`us-east-1`).
1061
+ #
1062
+ # @option params [Array<Types::CreateAttendeeRequestItem>] :attendees
1063
+ # The request containing the attendees to create.
1064
+ #
1065
+ # @return [Types::CreateMeetingWithAttendeesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1066
+ #
1067
+ # * {Types::CreateMeetingWithAttendeesResponse#meeting #meeting} => Types::Meeting
1068
+ # * {Types::CreateMeetingWithAttendeesResponse#attendees #attendees} => Array&lt;Types::Attendee&gt;
1069
+ # * {Types::CreateMeetingWithAttendeesResponse#errors #errors} => Array&lt;Types::CreateAttendeeError&gt;
1070
+ #
1071
+ # @example Request syntax with placeholder values
1072
+ #
1073
+ # resp = client.create_meeting_with_attendees({
1074
+ # client_request_token: "ClientRequestToken", # required
1075
+ # external_meeting_id: "ExternalMeetingIdType",
1076
+ # meeting_host_id: "ExternalUserIdType",
1077
+ # media_region: "String",
1078
+ # tags: [
1079
+ # {
1080
+ # key: "TagKey", # required
1081
+ # value: "TagValue", # required
1082
+ # },
1083
+ # ],
1084
+ # notifications_configuration: {
1085
+ # sns_topic_arn: "Arn",
1086
+ # sqs_queue_arn: "Arn",
1087
+ # },
1088
+ # attendees: [
1089
+ # {
1090
+ # external_user_id: "ExternalUserIdType", # required
1091
+ # tags: [
1092
+ # {
1093
+ # key: "TagKey", # required
1094
+ # value: "TagValue", # required
1095
+ # },
1096
+ # ],
1097
+ # },
1098
+ # ],
1099
+ # })
1100
+ #
1101
+ # @example Response structure
1102
+ #
1103
+ # resp.meeting.meeting_id #=> String
1104
+ # resp.meeting.external_meeting_id #=> String
1105
+ # resp.meeting.media_placement.audio_host_url #=> String
1106
+ # resp.meeting.media_placement.audio_fallback_url #=> String
1107
+ # resp.meeting.media_placement.screen_data_url #=> String
1108
+ # resp.meeting.media_placement.screen_sharing_url #=> String
1109
+ # resp.meeting.media_placement.screen_viewing_url #=> String
1110
+ # resp.meeting.media_placement.signaling_url #=> String
1111
+ # resp.meeting.media_placement.turn_control_url #=> String
1112
+ # resp.meeting.media_region #=> String
1113
+ # resp.attendees #=> Array
1114
+ # resp.attendees[0].external_user_id #=> String
1115
+ # resp.attendees[0].attendee_id #=> String
1116
+ # resp.attendees[0].join_token #=> String
1117
+ # resp.errors #=> Array
1118
+ # resp.errors[0].external_user_id #=> String
1119
+ # resp.errors[0].error_code #=> String
1120
+ # resp.errors[0].error_message #=> String
1121
+ #
1122
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingWithAttendees AWS API Documentation
1123
+ #
1124
+ # @overload create_meeting_with_attendees(params = {})
1125
+ # @param [Hash] params ({})
1126
+ def create_meeting_with_attendees(params = {}, options = {})
1127
+ req = build_request(:create_meeting_with_attendees, params)
1128
+ req.send_request(options)
1129
+ end
1130
+
1013
1131
  # Creates an order for phone numbers to be provisioned. Choose from
1014
1132
  # Amazon Chime Business Calling and Amazon Chime Voice Connector product
1015
1133
  # types. For toll-free numbers, you must use the Amazon Chime Voice
@@ -2321,6 +2439,44 @@ module Aws::Chime
2321
2439
  req.send_request(options)
2322
2440
  end
2323
2441
 
2442
+ # Gets the retention settings for the specified Amazon Chime Enterprise
2443
+ # account. For more information about retention settings, see [Managing
2444
+ # Chat Retention Policies][1] in the *Amazon Chime Administration
2445
+ # Guide*.
2446
+ #
2447
+ #
2448
+ #
2449
+ # [1]: https://docs.aws.amazon.com/chime/latest/ag/chat-retention.html
2450
+ #
2451
+ # @option params [required, String] :account_id
2452
+ # The Amazon Chime account ID.
2453
+ #
2454
+ # @return [Types::GetRetentionSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2455
+ #
2456
+ # * {Types::GetRetentionSettingsResponse#retention_settings #retention_settings} => Types::RetentionSettings
2457
+ # * {Types::GetRetentionSettingsResponse#initiate_deletion_timestamp #initiate_deletion_timestamp} => Time
2458
+ #
2459
+ # @example Request syntax with placeholder values
2460
+ #
2461
+ # resp = client.get_retention_settings({
2462
+ # account_id: "NonEmptyString", # required
2463
+ # })
2464
+ #
2465
+ # @example Response structure
2466
+ #
2467
+ # resp.retention_settings.room_retention_settings.retention_days #=> Integer
2468
+ # resp.retention_settings.conversation_retention_settings.retention_days #=> Integer
2469
+ # resp.initiate_deletion_timestamp #=> Time
2470
+ #
2471
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRetentionSettings AWS API Documentation
2472
+ #
2473
+ # @overload get_retention_settings(params = {})
2474
+ # @param [Hash] params ({})
2475
+ def get_retention_settings(params = {}, options = {})
2476
+ req = build_request(:get_retention_settings, params)
2477
+ req.send_request(options)
2478
+ end
2479
+
2324
2480
  # Retrieves room details, such as the room name, for a room in an Amazon
2325
2481
  # Chime Enterprise account.
2326
2482
  #
@@ -3599,6 +3755,63 @@ module Aws::Chime
3599
3755
  req.send_request(options)
3600
3756
  end
3601
3757
 
3758
+ # Puts retention settings for the specified Amazon Chime Enterprise
3759
+ # account. We recommend using AWS CloudTrail to monitor usage of this
3760
+ # API for your account. For more information, see [Logging Amazon Chime
3761
+ # API Calls with AWS CloudTrail][1] in the *Amazon Chime Administration
3762
+ # Guide*.
3763
+ #
3764
+ # To turn off existing retention settings, remove the number of days
3765
+ # from the corresponding **RetentionDays** field in the
3766
+ # **RetentionSettings** object. For more information about retention
3767
+ # settings, see [Managing Chat Retention Policies][2] in the *Amazon
3768
+ # Chime Administration Guide*.
3769
+ #
3770
+ #
3771
+ #
3772
+ # [1]: https://docs.aws.amazon.com/chime/latest/ag/cloudtrail.html
3773
+ # [2]: https://docs.aws.amazon.com/chime/latest/ag/chat-retention.html
3774
+ #
3775
+ # @option params [required, String] :account_id
3776
+ # The Amazon Chime account ID.
3777
+ #
3778
+ # @option params [required, Types::RetentionSettings] :retention_settings
3779
+ # The retention settings.
3780
+ #
3781
+ # @return [Types::PutRetentionSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3782
+ #
3783
+ # * {Types::PutRetentionSettingsResponse#retention_settings #retention_settings} => Types::RetentionSettings
3784
+ # * {Types::PutRetentionSettingsResponse#initiate_deletion_timestamp #initiate_deletion_timestamp} => Time
3785
+ #
3786
+ # @example Request syntax with placeholder values
3787
+ #
3788
+ # resp = client.put_retention_settings({
3789
+ # account_id: "NonEmptyString", # required
3790
+ # retention_settings: { # required
3791
+ # room_retention_settings: {
3792
+ # retention_days: 1,
3793
+ # },
3794
+ # conversation_retention_settings: {
3795
+ # retention_days: 1,
3796
+ # },
3797
+ # },
3798
+ # })
3799
+ #
3800
+ # @example Response structure
3801
+ #
3802
+ # resp.retention_settings.room_retention_settings.retention_days #=> Integer
3803
+ # resp.retention_settings.conversation_retention_settings.retention_days #=> Integer
3804
+ # resp.initiate_deletion_timestamp #=> Time
3805
+ #
3806
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutRetentionSettings AWS API Documentation
3807
+ #
3808
+ # @overload put_retention_settings(params = {})
3809
+ # @param [Hash] params ({})
3810
+ def put_retention_settings(params = {}, options = {})
3811
+ req = build_request(:put_retention_settings, params)
3812
+ req.send_request(options)
3813
+ end
3814
+
3602
3815
  # Adds a logging configuration for the specified Amazon Chime Voice
3603
3816
  # Connector. The logging configuration specifies whether SIP message
3604
3817
  # logs are enabled for sending to Amazon CloudWatch Logs.
@@ -4888,7 +5101,7 @@ module Aws::Chime
4888
5101
  params: params,
4889
5102
  config: config)
4890
5103
  context[:gem_name] = 'aws-sdk-chime'
4891
- context[:gem_version] = '1.26.0'
5104
+ context[:gem_version] = '1.31.0'
4892
5105
  Seahorse::Client::Request.new(handlers, context)
4893
5106
  end
4894
5107
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -61,6 +63,7 @@ module Aws::Chime
61
63
  CapabilityList = Shapes::ListShape.new(name: 'CapabilityList')
62
64
  ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
63
65
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
66
+ ConversationRetentionSettings = Shapes::StructureShape.new(name: 'ConversationRetentionSettings')
64
67
  Country = Shapes::StringShape.new(name: 'Country')
65
68
  CountryList = Shapes::ListShape.new(name: 'CountryList')
66
69
  CpsLimit = Shapes::IntegerShape.new(name: 'CpsLimit')
@@ -75,6 +78,9 @@ module Aws::Chime
75
78
  CreateBotResponse = Shapes::StructureShape.new(name: 'CreateBotResponse')
76
79
  CreateMeetingRequest = Shapes::StructureShape.new(name: 'CreateMeetingRequest')
77
80
  CreateMeetingResponse = Shapes::StructureShape.new(name: 'CreateMeetingResponse')
81
+ CreateMeetingWithAttendeesRequest = Shapes::StructureShape.new(name: 'CreateMeetingWithAttendeesRequest')
82
+ CreateMeetingWithAttendeesRequestItemList = Shapes::ListShape.new(name: 'CreateMeetingWithAttendeesRequestItemList')
83
+ CreateMeetingWithAttendeesResponse = Shapes::StructureShape.new(name: 'CreateMeetingWithAttendeesResponse')
78
84
  CreatePhoneNumberOrderRequest = Shapes::StructureShape.new(name: 'CreatePhoneNumberOrderRequest')
79
85
  CreatePhoneNumberOrderResponse = Shapes::StructureShape.new(name: 'CreatePhoneNumberOrderResponse')
80
86
  CreateProxySessionRequest = Shapes::StructureShape.new(name: 'CreateProxySessionRequest')
@@ -147,6 +153,8 @@ module Aws::Chime
147
153
  GetPhoneNumberSettingsResponse = Shapes::StructureShape.new(name: 'GetPhoneNumberSettingsResponse')
148
154
  GetProxySessionRequest = Shapes::StructureShape.new(name: 'GetProxySessionRequest')
149
155
  GetProxySessionResponse = Shapes::StructureShape.new(name: 'GetProxySessionResponse')
156
+ GetRetentionSettingsRequest = Shapes::StructureShape.new(name: 'GetRetentionSettingsRequest')
157
+ GetRetentionSettingsResponse = Shapes::StructureShape.new(name: 'GetRetentionSettingsResponse')
150
158
  GetRoomRequest = Shapes::StructureShape.new(name: 'GetRoomRequest')
151
159
  GetRoomResponse = Shapes::StructureShape.new(name: 'GetRoomResponse')
152
160
  GetUserRequest = Shapes::StructureShape.new(name: 'GetUserRequest')
@@ -272,6 +280,8 @@ module Aws::Chime
272
280
  ProxySessions = Shapes::ListShape.new(name: 'ProxySessions')
273
281
  PutEventsConfigurationRequest = Shapes::StructureShape.new(name: 'PutEventsConfigurationRequest')
274
282
  PutEventsConfigurationResponse = Shapes::StructureShape.new(name: 'PutEventsConfigurationResponse')
283
+ PutRetentionSettingsRequest = Shapes::StructureShape.new(name: 'PutRetentionSettingsRequest')
284
+ PutRetentionSettingsResponse = Shapes::StructureShape.new(name: 'PutRetentionSettingsResponse')
275
285
  PutVoiceConnectorLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorLoggingConfigurationRequest')
276
286
  PutVoiceConnectorLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'PutVoiceConnectorLoggingConfigurationResponse')
277
287
  PutVoiceConnectorOriginationRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorOriginationRequest')
@@ -296,11 +306,14 @@ module Aws::Chime
296
306
  RestorePhoneNumberRequest = Shapes::StructureShape.new(name: 'RestorePhoneNumberRequest')
297
307
  RestorePhoneNumberResponse = Shapes::StructureShape.new(name: 'RestorePhoneNumberResponse')
298
308
  ResultMax = Shapes::IntegerShape.new(name: 'ResultMax')
309
+ RetentionDays = Shapes::IntegerShape.new(name: 'RetentionDays')
310
+ RetentionSettings = Shapes::StructureShape.new(name: 'RetentionSettings')
299
311
  Room = Shapes::StructureShape.new(name: 'Room')
300
312
  RoomList = Shapes::ListShape.new(name: 'RoomList')
301
313
  RoomMembership = Shapes::StructureShape.new(name: 'RoomMembership')
302
314
  RoomMembershipList = Shapes::ListShape.new(name: 'RoomMembershipList')
303
315
  RoomMembershipRole = Shapes::StringShape.new(name: 'RoomMembershipRole')
316
+ RoomRetentionSettings = Shapes::StructureShape.new(name: 'RoomRetentionSettings')
304
317
  SearchAvailablePhoneNumbersRequest = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersRequest')
305
318
  SearchAvailablePhoneNumbersResponse = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersResponse')
306
319
  SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
@@ -524,6 +537,9 @@ module Aws::Chime
524
537
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
525
538
  ConflictException.struct_class = Types::ConflictException
526
539
 
540
+ ConversationRetentionSettings.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
541
+ ConversationRetentionSettings.struct_class = Types::ConversationRetentionSettings
542
+
527
543
  CountryList.member = Shapes::ShapeRef.new(shape: Country)
528
544
 
529
545
  CreateAccountRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccountName, required: true, location_name: "Name"))
@@ -570,6 +586,22 @@ module Aws::Chime
570
586
  CreateMeetingResponse.add_member(:meeting, Shapes::ShapeRef.new(shape: Meeting, location_name: "Meeting"))
571
587
  CreateMeetingResponse.struct_class = Types::CreateMeetingResponse
572
588
 
589
+ CreateMeetingWithAttendeesRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
590
+ CreateMeetingWithAttendeesRequest.add_member(:external_meeting_id, Shapes::ShapeRef.new(shape: ExternalMeetingIdType, location_name: "ExternalMeetingId"))
591
+ CreateMeetingWithAttendeesRequest.add_member(:meeting_host_id, Shapes::ShapeRef.new(shape: ExternalUserIdType, location_name: "MeetingHostId"))
592
+ CreateMeetingWithAttendeesRequest.add_member(:media_region, Shapes::ShapeRef.new(shape: String, location_name: "MediaRegion"))
593
+ CreateMeetingWithAttendeesRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MeetingTagList, location_name: "Tags"))
594
+ CreateMeetingWithAttendeesRequest.add_member(:notifications_configuration, Shapes::ShapeRef.new(shape: MeetingNotificationConfiguration, location_name: "NotificationsConfiguration"))
595
+ CreateMeetingWithAttendeesRequest.add_member(:attendees, Shapes::ShapeRef.new(shape: CreateMeetingWithAttendeesRequestItemList, location_name: "Attendees"))
596
+ CreateMeetingWithAttendeesRequest.struct_class = Types::CreateMeetingWithAttendeesRequest
597
+
598
+ CreateMeetingWithAttendeesRequestItemList.member = Shapes::ShapeRef.new(shape: CreateAttendeeRequestItem)
599
+
600
+ CreateMeetingWithAttendeesResponse.add_member(:meeting, Shapes::ShapeRef.new(shape: Meeting, location_name: "Meeting"))
601
+ CreateMeetingWithAttendeesResponse.add_member(:attendees, Shapes::ShapeRef.new(shape: AttendeeList, location_name: "Attendees"))
602
+ CreateMeetingWithAttendeesResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchCreateAttendeeErrorList, location_name: "Errors"))
603
+ CreateMeetingWithAttendeesResponse.struct_class = Types::CreateMeetingWithAttendeesResponse
604
+
573
605
  CreatePhoneNumberOrderRequest.add_member(:product_type, Shapes::ShapeRef.new(shape: PhoneNumberProductType, required: true, location_name: "ProductType"))
574
606
  CreatePhoneNumberOrderRequest.add_member(:e164_phone_numbers, Shapes::ShapeRef.new(shape: E164PhoneNumberList, required: true, location_name: "E164PhoneNumbers"))
575
607
  CreatePhoneNumberOrderRequest.struct_class = Types::CreatePhoneNumberOrderRequest
@@ -798,6 +830,13 @@ module Aws::Chime
798
830
  GetProxySessionResponse.add_member(:proxy_session, Shapes::ShapeRef.new(shape: ProxySession, location_name: "ProxySession"))
799
831
  GetProxySessionResponse.struct_class = Types::GetProxySessionResponse
800
832
 
833
+ GetRetentionSettingsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
834
+ GetRetentionSettingsRequest.struct_class = Types::GetRetentionSettingsRequest
835
+
836
+ GetRetentionSettingsResponse.add_member(:retention_settings, Shapes::ShapeRef.new(shape: RetentionSettings, location_name: "RetentionSettings"))
837
+ GetRetentionSettingsResponse.add_member(:initiate_deletion_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "InitiateDeletionTimestamp"))
838
+ GetRetentionSettingsResponse.struct_class = Types::GetRetentionSettingsResponse
839
+
801
840
  GetRoomRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
802
841
  GetRoomRequest.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "roomId"))
803
842
  GetRoomRequest.struct_class = Types::GetRoomRequest
@@ -1190,6 +1229,14 @@ module Aws::Chime
1190
1229
  PutEventsConfigurationResponse.add_member(:events_configuration, Shapes::ShapeRef.new(shape: EventsConfiguration, location_name: "EventsConfiguration"))
1191
1230
  PutEventsConfigurationResponse.struct_class = Types::PutEventsConfigurationResponse
1192
1231
 
1232
+ PutRetentionSettingsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
1233
+ PutRetentionSettingsRequest.add_member(:retention_settings, Shapes::ShapeRef.new(shape: RetentionSettings, required: true, location_name: "RetentionSettings"))
1234
+ PutRetentionSettingsRequest.struct_class = Types::PutRetentionSettingsRequest
1235
+
1236
+ PutRetentionSettingsResponse.add_member(:retention_settings, Shapes::ShapeRef.new(shape: RetentionSettings, location_name: "RetentionSettings"))
1237
+ PutRetentionSettingsResponse.add_member(:initiate_deletion_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "InitiateDeletionTimestamp"))
1238
+ PutRetentionSettingsResponse.struct_class = Types::PutRetentionSettingsResponse
1239
+
1193
1240
  PutVoiceConnectorLoggingConfigurationRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
1194
1241
  PutVoiceConnectorLoggingConfigurationRequest.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, required: true, location_name: "LoggingConfiguration"))
1195
1242
  PutVoiceConnectorLoggingConfigurationRequest.struct_class = Types::PutVoiceConnectorLoggingConfigurationRequest
@@ -1270,6 +1317,10 @@ module Aws::Chime
1270
1317
  RestorePhoneNumberResponse.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "PhoneNumber"))
1271
1318
  RestorePhoneNumberResponse.struct_class = Types::RestorePhoneNumberResponse
1272
1319
 
1320
+ RetentionSettings.add_member(:room_retention_settings, Shapes::ShapeRef.new(shape: RoomRetentionSettings, location_name: "RoomRetentionSettings"))
1321
+ RetentionSettings.add_member(:conversation_retention_settings, Shapes::ShapeRef.new(shape: ConversationRetentionSettings, location_name: "ConversationRetentionSettings"))
1322
+ RetentionSettings.struct_class = Types::RetentionSettings
1323
+
1273
1324
  Room.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "RoomId"))
1274
1325
  Room.add_member(:name, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Name"))
1275
1326
  Room.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AccountId"))
@@ -1289,6 +1340,9 @@ module Aws::Chime
1289
1340
 
1290
1341
  RoomMembershipList.member = Shapes::ShapeRef.new(shape: RoomMembership)
1291
1342
 
1343
+ RoomRetentionSettings.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
1344
+ RoomRetentionSettings.struct_class = Types::RoomRetentionSettings
1345
+
1292
1346
  SearchAvailablePhoneNumbersRequest.add_member(:area_code, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "area-code"))
1293
1347
  SearchAvailablePhoneNumbersRequest.add_member(:city, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "city"))
1294
1348
  SearchAvailablePhoneNumbersRequest.add_member(:country, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "country"))
@@ -1805,6 +1859,21 @@ module Aws::Chime
1805
1859
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1806
1860
  end)
1807
1861
 
1862
+ api.add_operation(:create_meeting_with_attendees, Seahorse::Model::Operation.new.tap do |o|
1863
+ o.name = "CreateMeetingWithAttendees"
1864
+ o.http_method = "POST"
1865
+ o.http_request_uri = "/meetings?operation=create-attendees"
1866
+ o.input = Shapes::ShapeRef.new(shape: CreateMeetingWithAttendeesRequest)
1867
+ o.output = Shapes::ShapeRef.new(shape: CreateMeetingWithAttendeesResponse)
1868
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1869
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1870
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
1871
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1872
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1873
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1874
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1875
+ end)
1876
+
1808
1877
  api.add_operation(:create_phone_number_order, Seahorse::Model::Operation.new.tap do |o|
1809
1878
  o.name = "CreatePhoneNumberOrder"
1810
1879
  o.http_method = "POST"
@@ -2367,6 +2436,21 @@ module Aws::Chime
2367
2436
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
2368
2437
  end)
2369
2438
 
2439
+ api.add_operation(:get_retention_settings, Seahorse::Model::Operation.new.tap do |o|
2440
+ o.name = "GetRetentionSettings"
2441
+ o.http_method = "GET"
2442
+ o.http_request_uri = "/accounts/{accountId}/retention-settings"
2443
+ o.input = Shapes::ShapeRef.new(shape: GetRetentionSettingsRequest)
2444
+ o.output = Shapes::ShapeRef.new(shape: GetRetentionSettingsResponse)
2445
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
2446
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2447
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2448
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2449
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
2450
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2451
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
2452
+ end)
2453
+
2370
2454
  api.add_operation(:get_room, Seahorse::Model::Operation.new.tap do |o|
2371
2455
  o.name = "GetRoom"
2372
2456
  o.http_method = "GET"
@@ -2883,6 +2967,22 @@ module Aws::Chime
2883
2967
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2884
2968
  end)
2885
2969
 
2970
+ api.add_operation(:put_retention_settings, Seahorse::Model::Operation.new.tap do |o|
2971
+ o.name = "PutRetentionSettings"
2972
+ o.http_method = "PUT"
2973
+ o.http_request_uri = "/accounts/{accountId}/retention-settings"
2974
+ o.input = Shapes::ShapeRef.new(shape: PutRetentionSettingsRequest)
2975
+ o.output = Shapes::ShapeRef.new(shape: PutRetentionSettingsResponse)
2976
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
2977
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2978
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2979
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2980
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2981
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
2982
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2983
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
2984
+ end)
2985
+
2886
2986
  api.add_operation(:put_voice_connector_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
2887
2987
  o.name = "PutVoiceConnectorLoggingConfiguration"
2888
2988
  o.http_method = "PUT"