aws-sdk-chime 1.25.0 → 1.30.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: d5ac8096ebc155ca08b8d12e9c6023a958a84803932d7d78d0a3802573265bf3
4
- data.tar.gz: 2ebbe313933a793402adbbb8013a26f3951fc698a652e08c4817725849767de9
3
+ metadata.gz: f226b7c38a902a3a1c379f40e2284c17419e5fd714e645c4b56b231b152b47b7
4
+ data.tar.gz: '08b0817f9d56273edd549d6df8634208fa82b8bc06c577baaddd955bc195d9c8'
5
5
  SHA512:
6
- metadata.gz: d853888deef77c56e84d039f281f125a60a98bc559fcad9512f219ddb87d9b67c14098610d391fcfa108af221ab14e79ede674e7c0873d810a40179e77ddaa46
7
- data.tar.gz: ce0305189d5015e05836952a3df91a000570256d66eb817fd0d16fc9823289826a41db1512d91cef49db5953ddf708bf67567de4a3fd18e250c945f7441bc071
6
+ metadata.gz: 38e68ff614aa292b5f49dc16f9b75339ccf35f45fea9290d8a6a6fd5664e0dd9dc686329346c099cb1dbba8f1418853f78835d685f6fe60e2c62966a7814b820
7
+ data.tar.gz: bb52e6557a15a669c2ea30794f8e9c68206311c476ebe2a232d2bca59135a8bc2bdc9101ed05ab483c7c1d7f53863ffbedf1d527d13e922204b59fd35578e16d
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-chime/customizations'
45
45
  # @service
46
46
  module Aws::Chime
47
47
 
48
- GEM_VERSION = '1.25.0'
48
+ GEM_VERSION = '1.30.0'
49
49
 
50
50
  end
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
24
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
25
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
26
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
27
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
28
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
29
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
30
 
@@ -69,6 +70,7 @@ module Aws::Chime
69
70
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
71
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
72
  add_plugin(Aws::Plugins::TransferEncoding)
73
+ add_plugin(Aws::Plugins::HttpChecksum)
72
74
  add_plugin(Aws::Plugins::SignatureV4)
73
75
  add_plugin(Aws::Plugins::Protocols::RestJson)
74
76
 
@@ -161,7 +163,7 @@ module Aws::Chime
161
163
  # @option options [String] :endpoint
162
164
  # The client endpoint is normally constructed from the `:region`
163
165
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
166
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
167
  #
166
168
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
169
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +178,7 @@ module Aws::Chime
176
178
  # requests fetching endpoints information. Defaults to 60 sec.
177
179
  #
178
180
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
181
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
182
  #
181
183
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
184
  # The log formatter.
@@ -931,13 +933,15 @@ module Aws::Chime
931
933
  end
932
934
 
933
935
  # 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*.
936
+ # with no initial attendees. For more information about specifying media
937
+ # Regions, see [Amazon Chime SDK Media Regions][1] in the *Amazon Chime
938
+ # Developer Guide*. For more information about the Amazon Chime SDK, see
939
+ # [Using the Amazon Chime SDK][2] in the *Amazon Chime Developer Guide*.
937
940
  #
938
941
  #
939
942
  #
940
- # [1]: https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html
943
+ # [1]: https://docs.aws.amazon.com/chime/latest/dg/chime-sdk-meetings-regions.html
944
+ # [2]: https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html
941
945
  #
942
946
  # @option params [required, String] :client_request_token
943
947
  # The unique identifier for the client request. Use a different token
@@ -953,10 +957,12 @@ module Aws::Chime
953
957
  # Reserved.
954
958
  #
955
959
  # @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`.
960
+ # The Region in which to create the meeting. Default: `us-east-1`.
961
+ #
962
+ # Available values: `ap-northeast-1`, `ap-southeast-1`,
963
+ # `ap-southeast-2`, `ca-central-1`, `eu-central-1`, `eu-north-1`,
964
+ # `eu-west-1`, `eu-west-2`, `eu-west-3`, `sa-east-1`, `us-east-1`,
965
+ # `us-east-2`, `us-west-1`, `us-west-2`.
960
966
  #
961
967
  # @option params [Array<Types::Tag>] :tags
962
968
  # The tag key-value pairs.
@@ -1010,6 +1016,116 @@ module Aws::Chime
1010
1016
  req.send_request(options)
1011
1017
  end
1012
1018
 
1019
+ # Creates a new Amazon Chime SDK meeting in the specified media Region,
1020
+ # with attendees. For more information about specifying media Regions,
1021
+ # see [Amazon Chime SDK Media Regions][1] in the *Amazon Chime Developer
1022
+ # Guide*. For more information about the Amazon Chime SDK, see [Using
1023
+ # the Amazon Chime SDK][2] in the *Amazon Chime Developer Guide*.
1024
+ #
1025
+ #
1026
+ #
1027
+ # [1]: https://docs.aws.amazon.com/chime/latest/dg/chime-sdk-meetings-regions.html
1028
+ # [2]: https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html
1029
+ #
1030
+ # @option params [required, String] :client_request_token
1031
+ # The unique identifier for the client request. Use a different token
1032
+ # for different meetings.
1033
+ #
1034
+ # **A suitable default value is auto-generated.** You should normally
1035
+ # not need to pass this option.**
1036
+ #
1037
+ # @option params [String] :external_meeting_id
1038
+ # The external meeting ID.
1039
+ #
1040
+ # @option params [String] :meeting_host_id
1041
+ # Reserved.
1042
+ #
1043
+ # @option params [String] :media_region
1044
+ # The Region in which to create the meeting. Default: `us-east-1`.
1045
+ #
1046
+ # Available values: `ap-northeast-1`, `ap-southeast-1`,
1047
+ # `ap-southeast-2`, `ca-central-1`, `eu-central-1`, `eu-north-1`,
1048
+ # `eu-west-1`, `eu-west-2`, `eu-west-3`, `sa-east-1`, `us-east-1`,
1049
+ # `us-east-2`, `us-west-1`, `us-west-2`.
1050
+ #
1051
+ # @option params [Array<Types::Tag>] :tags
1052
+ # The tag key-value pairs.
1053
+ #
1054
+ # @option params [Types::MeetingNotificationConfiguration] :notifications_configuration
1055
+ # The configuration for resource targets to receive notifications when
1056
+ # Amazon Chime SDK meeting and attendee events occur. The Amazon Chime
1057
+ # SDK supports resource targets located in the US East (N. Virginia) AWS
1058
+ # Region (`us-east-1`).
1059
+ #
1060
+ # @option params [Array<Types::CreateAttendeeRequestItem>] :attendees
1061
+ # The request containing the attendees to create.
1062
+ #
1063
+ # @return [Types::CreateMeetingWithAttendeesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1064
+ #
1065
+ # * {Types::CreateMeetingWithAttendeesResponse#meeting #meeting} => Types::Meeting
1066
+ # * {Types::CreateMeetingWithAttendeesResponse#attendees #attendees} => Array&lt;Types::Attendee&gt;
1067
+ # * {Types::CreateMeetingWithAttendeesResponse#errors #errors} => Array&lt;Types::CreateAttendeeError&gt;
1068
+ #
1069
+ # @example Request syntax with placeholder values
1070
+ #
1071
+ # resp = client.create_meeting_with_attendees({
1072
+ # client_request_token: "ClientRequestToken", # required
1073
+ # external_meeting_id: "ExternalMeetingIdType",
1074
+ # meeting_host_id: "ExternalUserIdType",
1075
+ # media_region: "String",
1076
+ # tags: [
1077
+ # {
1078
+ # key: "TagKey", # required
1079
+ # value: "TagValue", # required
1080
+ # },
1081
+ # ],
1082
+ # notifications_configuration: {
1083
+ # sns_topic_arn: "Arn",
1084
+ # sqs_queue_arn: "Arn",
1085
+ # },
1086
+ # attendees: [
1087
+ # {
1088
+ # external_user_id: "ExternalUserIdType", # required
1089
+ # tags: [
1090
+ # {
1091
+ # key: "TagKey", # required
1092
+ # value: "TagValue", # required
1093
+ # },
1094
+ # ],
1095
+ # },
1096
+ # ],
1097
+ # })
1098
+ #
1099
+ # @example Response structure
1100
+ #
1101
+ # resp.meeting.meeting_id #=> String
1102
+ # resp.meeting.external_meeting_id #=> String
1103
+ # resp.meeting.media_placement.audio_host_url #=> String
1104
+ # resp.meeting.media_placement.audio_fallback_url #=> String
1105
+ # resp.meeting.media_placement.screen_data_url #=> String
1106
+ # resp.meeting.media_placement.screen_sharing_url #=> String
1107
+ # resp.meeting.media_placement.screen_viewing_url #=> String
1108
+ # resp.meeting.media_placement.signaling_url #=> String
1109
+ # resp.meeting.media_placement.turn_control_url #=> String
1110
+ # resp.meeting.media_region #=> String
1111
+ # resp.attendees #=> Array
1112
+ # resp.attendees[0].external_user_id #=> String
1113
+ # resp.attendees[0].attendee_id #=> String
1114
+ # resp.attendees[0].join_token #=> String
1115
+ # resp.errors #=> Array
1116
+ # resp.errors[0].external_user_id #=> String
1117
+ # resp.errors[0].error_code #=> String
1118
+ # resp.errors[0].error_message #=> String
1119
+ #
1120
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingWithAttendees AWS API Documentation
1121
+ #
1122
+ # @overload create_meeting_with_attendees(params = {})
1123
+ # @param [Hash] params ({})
1124
+ def create_meeting_with_attendees(params = {}, options = {})
1125
+ req = build_request(:create_meeting_with_attendees, params)
1126
+ req.send_request(options)
1127
+ end
1128
+
1013
1129
  # Creates an order for phone numbers to be provisioned. Choose from
1014
1130
  # Amazon Chime Business Calling and Amazon Chime Voice Connector product
1015
1131
  # types. For toll-free numbers, you must use the Amazon Chime Voice
@@ -2321,6 +2437,44 @@ module Aws::Chime
2321
2437
  req.send_request(options)
2322
2438
  end
2323
2439
 
2440
+ # Gets the retention settings for the specified Amazon Chime Enterprise
2441
+ # account. For more information about retention settings, see [Managing
2442
+ # Chat Retention Policies][1] in the *Amazon Chime Administration
2443
+ # Guide*.
2444
+ #
2445
+ #
2446
+ #
2447
+ # [1]: https://docs.aws.amazon.com/chime/latest/ag/chat-retention.html
2448
+ #
2449
+ # @option params [required, String] :account_id
2450
+ # The Amazon Chime account ID.
2451
+ #
2452
+ # @return [Types::GetRetentionSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2453
+ #
2454
+ # * {Types::GetRetentionSettingsResponse#retention_settings #retention_settings} => Types::RetentionSettings
2455
+ # * {Types::GetRetentionSettingsResponse#initiate_deletion_timestamp #initiate_deletion_timestamp} => Time
2456
+ #
2457
+ # @example Request syntax with placeholder values
2458
+ #
2459
+ # resp = client.get_retention_settings({
2460
+ # account_id: "NonEmptyString", # required
2461
+ # })
2462
+ #
2463
+ # @example Response structure
2464
+ #
2465
+ # resp.retention_settings.room_retention_settings.retention_days #=> Integer
2466
+ # resp.retention_settings.conversation_retention_settings.retention_days #=> Integer
2467
+ # resp.initiate_deletion_timestamp #=> Time
2468
+ #
2469
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRetentionSettings AWS API Documentation
2470
+ #
2471
+ # @overload get_retention_settings(params = {})
2472
+ # @param [Hash] params ({})
2473
+ def get_retention_settings(params = {}, options = {})
2474
+ req = build_request(:get_retention_settings, params)
2475
+ req.send_request(options)
2476
+ end
2477
+
2324
2478
  # Retrieves room details, such as the room name, for a room in an Amazon
2325
2479
  # Chime Enterprise account.
2326
2480
  #
@@ -2633,6 +2787,8 @@ module Aws::Chime
2633
2787
  #
2634
2788
  # resp.streaming_configuration.data_retention_in_hours #=> Integer
2635
2789
  # resp.streaming_configuration.disabled #=> Boolean
2790
+ # resp.streaming_configuration.streaming_notification_targets #=> Array
2791
+ # resp.streaming_configuration.streaming_notification_targets[0].notification_target #=> String, one of "EventBridge", "SNS", "SQS"
2636
2792
  #
2637
2793
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorStreamingConfiguration AWS API Documentation
2638
2794
  #
@@ -3597,6 +3753,63 @@ module Aws::Chime
3597
3753
  req.send_request(options)
3598
3754
  end
3599
3755
 
3756
+ # Puts retention settings for the specified Amazon Chime Enterprise
3757
+ # account. We recommend using AWS CloudTrail to monitor usage of this
3758
+ # API for your account. For more information, see [Logging Amazon Chime
3759
+ # API Calls with AWS CloudTrail][1] in the *Amazon Chime Administration
3760
+ # Guide*.
3761
+ #
3762
+ # To turn off existing retention settings, remove the number of days
3763
+ # from the corresponding **RetentionDays** field in the
3764
+ # **RetentionSettings** object. For more information about retention
3765
+ # settings, see [Managing Chat Retention Policies][2] in the *Amazon
3766
+ # Chime Administration Guide*.
3767
+ #
3768
+ #
3769
+ #
3770
+ # [1]: https://docs.aws.amazon.com/chime/latest/ag/cloudtrail.html
3771
+ # [2]: https://docs.aws.amazon.com/chime/latest/ag/chat-retention.html
3772
+ #
3773
+ # @option params [required, String] :account_id
3774
+ # The Amazon Chime account ID.
3775
+ #
3776
+ # @option params [required, Types::RetentionSettings] :retention_settings
3777
+ # The retention settings.
3778
+ #
3779
+ # @return [Types::PutRetentionSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3780
+ #
3781
+ # * {Types::PutRetentionSettingsResponse#retention_settings #retention_settings} => Types::RetentionSettings
3782
+ # * {Types::PutRetentionSettingsResponse#initiate_deletion_timestamp #initiate_deletion_timestamp} => Time
3783
+ #
3784
+ # @example Request syntax with placeholder values
3785
+ #
3786
+ # resp = client.put_retention_settings({
3787
+ # account_id: "NonEmptyString", # required
3788
+ # retention_settings: { # required
3789
+ # room_retention_settings: {
3790
+ # retention_days: 1,
3791
+ # },
3792
+ # conversation_retention_settings: {
3793
+ # retention_days: 1,
3794
+ # },
3795
+ # },
3796
+ # })
3797
+ #
3798
+ # @example Response structure
3799
+ #
3800
+ # resp.retention_settings.room_retention_settings.retention_days #=> Integer
3801
+ # resp.retention_settings.conversation_retention_settings.retention_days #=> Integer
3802
+ # resp.initiate_deletion_timestamp #=> Time
3803
+ #
3804
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutRetentionSettings AWS API Documentation
3805
+ #
3806
+ # @overload put_retention_settings(params = {})
3807
+ # @param [Hash] params ({})
3808
+ def put_retention_settings(params = {}, options = {})
3809
+ req = build_request(:put_retention_settings, params)
3810
+ req.send_request(options)
3811
+ end
3812
+
3600
3813
  # Adds a logging configuration for the specified Amazon Chime Voice
3601
3814
  # Connector. The logging configuration specifies whether SIP message
3602
3815
  # logs are enabled for sending to Amazon CloudWatch Logs.
@@ -3755,6 +3968,11 @@ module Aws::Chime
3755
3968
  # streaming_configuration: { # required
3756
3969
  # data_retention_in_hours: 1, # required
3757
3970
  # disabled: false,
3971
+ # streaming_notification_targets: [
3972
+ # {
3973
+ # notification_target: "EventBridge", # required, accepts EventBridge, SNS, SQS
3974
+ # },
3975
+ # ],
3758
3976
  # },
3759
3977
  # })
3760
3978
  #
@@ -3762,6 +3980,8 @@ module Aws::Chime
3762
3980
  #
3763
3981
  # resp.streaming_configuration.data_retention_in_hours #=> Integer
3764
3982
  # resp.streaming_configuration.disabled #=> Boolean
3983
+ # resp.streaming_configuration.streaming_notification_targets #=> Array
3984
+ # resp.streaming_configuration.streaming_notification_targets[0].notification_target #=> String, one of "EventBridge", "SNS", "SQS"
3765
3985
  #
3766
3986
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorStreamingConfiguration AWS API Documentation
3767
3987
  #
@@ -4879,7 +5099,7 @@ module Aws::Chime
4879
5099
  params: params,
4880
5100
  config: config)
4881
5101
  context[:gem_name] = 'aws-sdk-chime'
4882
- context[:gem_version] = '1.25.0'
5102
+ context[:gem_version] = '1.30.0'
4883
5103
  Seahorse::Client::Request.new(handlers, context)
4884
5104
  end
4885
5105
 
@@ -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')
@@ -75,6 +76,9 @@ module Aws::Chime
75
76
  CreateBotResponse = Shapes::StructureShape.new(name: 'CreateBotResponse')
76
77
  CreateMeetingRequest = Shapes::StructureShape.new(name: 'CreateMeetingRequest')
77
78
  CreateMeetingResponse = Shapes::StructureShape.new(name: 'CreateMeetingResponse')
79
+ CreateMeetingWithAttendeesRequest = Shapes::StructureShape.new(name: 'CreateMeetingWithAttendeesRequest')
80
+ CreateMeetingWithAttendeesRequestItemList = Shapes::ListShape.new(name: 'CreateMeetingWithAttendeesRequestItemList')
81
+ CreateMeetingWithAttendeesResponse = Shapes::StructureShape.new(name: 'CreateMeetingWithAttendeesResponse')
78
82
  CreatePhoneNumberOrderRequest = Shapes::StructureShape.new(name: 'CreatePhoneNumberOrderRequest')
79
83
  CreatePhoneNumberOrderResponse = Shapes::StructureShape.new(name: 'CreatePhoneNumberOrderResponse')
80
84
  CreateProxySessionRequest = Shapes::StructureShape.new(name: 'CreateProxySessionRequest')
@@ -147,6 +151,8 @@ module Aws::Chime
147
151
  GetPhoneNumberSettingsResponse = Shapes::StructureShape.new(name: 'GetPhoneNumberSettingsResponse')
148
152
  GetProxySessionRequest = Shapes::StructureShape.new(name: 'GetProxySessionRequest')
149
153
  GetProxySessionResponse = Shapes::StructureShape.new(name: 'GetProxySessionResponse')
154
+ GetRetentionSettingsRequest = Shapes::StructureShape.new(name: 'GetRetentionSettingsRequest')
155
+ GetRetentionSettingsResponse = Shapes::StructureShape.new(name: 'GetRetentionSettingsResponse')
150
156
  GetRoomRequest = Shapes::StructureShape.new(name: 'GetRoomRequest')
151
157
  GetRoomResponse = Shapes::StructureShape.new(name: 'GetRoomResponse')
152
158
  GetUserRequest = Shapes::StructureShape.new(name: 'GetUserRequest')
@@ -232,6 +238,7 @@ module Aws::Chime
232
238
  NonEmptyString128 = Shapes::StringShape.new(name: 'NonEmptyString128')
233
239
  NonEmptyStringList = Shapes::ListShape.new(name: 'NonEmptyStringList')
234
240
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
241
+ NotificationTarget = Shapes::StringShape.new(name: 'NotificationTarget')
235
242
  NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
236
243
  NumberSelectionBehavior = Shapes::StringShape.new(name: 'NumberSelectionBehavior')
237
244
  OrderedPhoneNumber = Shapes::StructureShape.new(name: 'OrderedPhoneNumber')
@@ -271,6 +278,8 @@ module Aws::Chime
271
278
  ProxySessions = Shapes::ListShape.new(name: 'ProxySessions')
272
279
  PutEventsConfigurationRequest = Shapes::StructureShape.new(name: 'PutEventsConfigurationRequest')
273
280
  PutEventsConfigurationResponse = Shapes::StructureShape.new(name: 'PutEventsConfigurationResponse')
281
+ PutRetentionSettingsRequest = Shapes::StructureShape.new(name: 'PutRetentionSettingsRequest')
282
+ PutRetentionSettingsResponse = Shapes::StructureShape.new(name: 'PutRetentionSettingsResponse')
274
283
  PutVoiceConnectorLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorLoggingConfigurationRequest')
275
284
  PutVoiceConnectorLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'PutVoiceConnectorLoggingConfigurationResponse')
276
285
  PutVoiceConnectorOriginationRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorOriginationRequest')
@@ -295,11 +304,14 @@ module Aws::Chime
295
304
  RestorePhoneNumberRequest = Shapes::StructureShape.new(name: 'RestorePhoneNumberRequest')
296
305
  RestorePhoneNumberResponse = Shapes::StructureShape.new(name: 'RestorePhoneNumberResponse')
297
306
  ResultMax = Shapes::IntegerShape.new(name: 'ResultMax')
307
+ RetentionDays = Shapes::IntegerShape.new(name: 'RetentionDays')
308
+ RetentionSettings = Shapes::StructureShape.new(name: 'RetentionSettings')
298
309
  Room = Shapes::StructureShape.new(name: 'Room')
299
310
  RoomList = Shapes::ListShape.new(name: 'RoomList')
300
311
  RoomMembership = Shapes::StructureShape.new(name: 'RoomMembership')
301
312
  RoomMembershipList = Shapes::ListShape.new(name: 'RoomMembershipList')
302
313
  RoomMembershipRole = Shapes::StringShape.new(name: 'RoomMembershipRole')
314
+ RoomRetentionSettings = Shapes::StructureShape.new(name: 'RoomRetentionSettings')
303
315
  SearchAvailablePhoneNumbersRequest = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersRequest')
304
316
  SearchAvailablePhoneNumbersResponse = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersResponse')
305
317
  SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
@@ -309,6 +321,8 @@ module Aws::Chime
309
321
  SigninDelegateGroup = Shapes::StructureShape.new(name: 'SigninDelegateGroup')
310
322
  SigninDelegateGroupList = Shapes::ListShape.new(name: 'SigninDelegateGroupList')
311
323
  StreamingConfiguration = Shapes::StructureShape.new(name: 'StreamingConfiguration')
324
+ StreamingNotificationTarget = Shapes::StructureShape.new(name: 'StreamingNotificationTarget')
325
+ StreamingNotificationTargetList = Shapes::ListShape.new(name: 'StreamingNotificationTargetList')
312
326
  String = Shapes::StringShape.new(name: 'String')
313
327
  String128 = Shapes::StringShape.new(name: 'String128')
314
328
  StringList = Shapes::ListShape.new(name: 'StringList')
@@ -521,6 +535,9 @@ module Aws::Chime
521
535
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
522
536
  ConflictException.struct_class = Types::ConflictException
523
537
 
538
+ ConversationRetentionSettings.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
539
+ ConversationRetentionSettings.struct_class = Types::ConversationRetentionSettings
540
+
524
541
  CountryList.member = Shapes::ShapeRef.new(shape: Country)
525
542
 
526
543
  CreateAccountRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccountName, required: true, location_name: "Name"))
@@ -567,6 +584,22 @@ module Aws::Chime
567
584
  CreateMeetingResponse.add_member(:meeting, Shapes::ShapeRef.new(shape: Meeting, location_name: "Meeting"))
568
585
  CreateMeetingResponse.struct_class = Types::CreateMeetingResponse
569
586
 
587
+ CreateMeetingWithAttendeesRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
588
+ CreateMeetingWithAttendeesRequest.add_member(:external_meeting_id, Shapes::ShapeRef.new(shape: ExternalMeetingIdType, location_name: "ExternalMeetingId"))
589
+ CreateMeetingWithAttendeesRequest.add_member(:meeting_host_id, Shapes::ShapeRef.new(shape: ExternalUserIdType, location_name: "MeetingHostId"))
590
+ CreateMeetingWithAttendeesRequest.add_member(:media_region, Shapes::ShapeRef.new(shape: String, location_name: "MediaRegion"))
591
+ CreateMeetingWithAttendeesRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MeetingTagList, location_name: "Tags"))
592
+ CreateMeetingWithAttendeesRequest.add_member(:notifications_configuration, Shapes::ShapeRef.new(shape: MeetingNotificationConfiguration, location_name: "NotificationsConfiguration"))
593
+ CreateMeetingWithAttendeesRequest.add_member(:attendees, Shapes::ShapeRef.new(shape: CreateMeetingWithAttendeesRequestItemList, location_name: "Attendees"))
594
+ CreateMeetingWithAttendeesRequest.struct_class = Types::CreateMeetingWithAttendeesRequest
595
+
596
+ CreateMeetingWithAttendeesRequestItemList.member = Shapes::ShapeRef.new(shape: CreateAttendeeRequestItem)
597
+
598
+ CreateMeetingWithAttendeesResponse.add_member(:meeting, Shapes::ShapeRef.new(shape: Meeting, location_name: "Meeting"))
599
+ CreateMeetingWithAttendeesResponse.add_member(:attendees, Shapes::ShapeRef.new(shape: AttendeeList, location_name: "Attendees"))
600
+ CreateMeetingWithAttendeesResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchCreateAttendeeErrorList, location_name: "Errors"))
601
+ CreateMeetingWithAttendeesResponse.struct_class = Types::CreateMeetingWithAttendeesResponse
602
+
570
603
  CreatePhoneNumberOrderRequest.add_member(:product_type, Shapes::ShapeRef.new(shape: PhoneNumberProductType, required: true, location_name: "ProductType"))
571
604
  CreatePhoneNumberOrderRequest.add_member(:e164_phone_numbers, Shapes::ShapeRef.new(shape: E164PhoneNumberList, required: true, location_name: "E164PhoneNumbers"))
572
605
  CreatePhoneNumberOrderRequest.struct_class = Types::CreatePhoneNumberOrderRequest
@@ -795,6 +828,13 @@ module Aws::Chime
795
828
  GetProxySessionResponse.add_member(:proxy_session, Shapes::ShapeRef.new(shape: ProxySession, location_name: "ProxySession"))
796
829
  GetProxySessionResponse.struct_class = Types::GetProxySessionResponse
797
830
 
831
+ GetRetentionSettingsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
832
+ GetRetentionSettingsRequest.struct_class = Types::GetRetentionSettingsRequest
833
+
834
+ GetRetentionSettingsResponse.add_member(:retention_settings, Shapes::ShapeRef.new(shape: RetentionSettings, location_name: "RetentionSettings"))
835
+ GetRetentionSettingsResponse.add_member(:initiate_deletion_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "InitiateDeletionTimestamp"))
836
+ GetRetentionSettingsResponse.struct_class = Types::GetRetentionSettingsResponse
837
+
798
838
  GetRoomRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
799
839
  GetRoomRequest.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "roomId"))
800
840
  GetRoomRequest.struct_class = Types::GetRoomRequest
@@ -1187,6 +1227,14 @@ module Aws::Chime
1187
1227
  PutEventsConfigurationResponse.add_member(:events_configuration, Shapes::ShapeRef.new(shape: EventsConfiguration, location_name: "EventsConfiguration"))
1188
1228
  PutEventsConfigurationResponse.struct_class = Types::PutEventsConfigurationResponse
1189
1229
 
1230
+ PutRetentionSettingsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
1231
+ PutRetentionSettingsRequest.add_member(:retention_settings, Shapes::ShapeRef.new(shape: RetentionSettings, required: true, location_name: "RetentionSettings"))
1232
+ PutRetentionSettingsRequest.struct_class = Types::PutRetentionSettingsRequest
1233
+
1234
+ PutRetentionSettingsResponse.add_member(:retention_settings, Shapes::ShapeRef.new(shape: RetentionSettings, location_name: "RetentionSettings"))
1235
+ PutRetentionSettingsResponse.add_member(:initiate_deletion_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "InitiateDeletionTimestamp"))
1236
+ PutRetentionSettingsResponse.struct_class = Types::PutRetentionSettingsResponse
1237
+
1190
1238
  PutVoiceConnectorLoggingConfigurationRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
1191
1239
  PutVoiceConnectorLoggingConfigurationRequest.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, required: true, location_name: "LoggingConfiguration"))
1192
1240
  PutVoiceConnectorLoggingConfigurationRequest.struct_class = Types::PutVoiceConnectorLoggingConfigurationRequest
@@ -1267,6 +1315,10 @@ module Aws::Chime
1267
1315
  RestorePhoneNumberResponse.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "PhoneNumber"))
1268
1316
  RestorePhoneNumberResponse.struct_class = Types::RestorePhoneNumberResponse
1269
1317
 
1318
+ RetentionSettings.add_member(:room_retention_settings, Shapes::ShapeRef.new(shape: RoomRetentionSettings, location_name: "RoomRetentionSettings"))
1319
+ RetentionSettings.add_member(:conversation_retention_settings, Shapes::ShapeRef.new(shape: ConversationRetentionSettings, location_name: "ConversationRetentionSettings"))
1320
+ RetentionSettings.struct_class = Types::RetentionSettings
1321
+
1270
1322
  Room.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "RoomId"))
1271
1323
  Room.add_member(:name, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Name"))
1272
1324
  Room.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AccountId"))
@@ -1286,6 +1338,9 @@ module Aws::Chime
1286
1338
 
1287
1339
  RoomMembershipList.member = Shapes::ShapeRef.new(shape: RoomMembership)
1288
1340
 
1341
+ RoomRetentionSettings.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
1342
+ RoomRetentionSettings.struct_class = Types::RoomRetentionSettings
1343
+
1289
1344
  SearchAvailablePhoneNumbersRequest.add_member(:area_code, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "area-code"))
1290
1345
  SearchAvailablePhoneNumbersRequest.add_member(:city, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "city"))
1291
1346
  SearchAvailablePhoneNumbersRequest.add_member(:country, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "country"))
@@ -1315,8 +1370,14 @@ module Aws::Chime
1315
1370
 
1316
1371
  StreamingConfiguration.add_member(:data_retention_in_hours, Shapes::ShapeRef.new(shape: DataRetentionInHours, required: true, location_name: "DataRetentionInHours"))
1317
1372
  StreamingConfiguration.add_member(:disabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Disabled"))
1373
+ StreamingConfiguration.add_member(:streaming_notification_targets, Shapes::ShapeRef.new(shape: StreamingNotificationTargetList, location_name: "StreamingNotificationTargets"))
1318
1374
  StreamingConfiguration.struct_class = Types::StreamingConfiguration
1319
1375
 
1376
+ StreamingNotificationTarget.add_member(:notification_target, Shapes::ShapeRef.new(shape: NotificationTarget, required: true, location_name: "NotificationTarget"))
1377
+ StreamingNotificationTarget.struct_class = Types::StreamingNotificationTarget
1378
+
1379
+ StreamingNotificationTargetList.member = Shapes::ShapeRef.new(shape: StreamingNotificationTarget)
1380
+
1320
1381
  StringList.member = Shapes::ShapeRef.new(shape: String)
1321
1382
 
1322
1383
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
@@ -1796,6 +1857,21 @@ module Aws::Chime
1796
1857
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1797
1858
  end)
1798
1859
 
1860
+ api.add_operation(:create_meeting_with_attendees, Seahorse::Model::Operation.new.tap do |o|
1861
+ o.name = "CreateMeetingWithAttendees"
1862
+ o.http_method = "POST"
1863
+ o.http_request_uri = "/meetings?operation=create-attendees"
1864
+ o.input = Shapes::ShapeRef.new(shape: CreateMeetingWithAttendeesRequest)
1865
+ o.output = Shapes::ShapeRef.new(shape: CreateMeetingWithAttendeesResponse)
1866
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1867
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1868
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
1869
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
1870
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
1871
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1872
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
1873
+ end)
1874
+
1799
1875
  api.add_operation(:create_phone_number_order, Seahorse::Model::Operation.new.tap do |o|
1800
1876
  o.name = "CreatePhoneNumberOrder"
1801
1877
  o.http_method = "POST"
@@ -2358,6 +2434,21 @@ module Aws::Chime
2358
2434
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
2359
2435
  end)
2360
2436
 
2437
+ api.add_operation(:get_retention_settings, Seahorse::Model::Operation.new.tap do |o|
2438
+ o.name = "GetRetentionSettings"
2439
+ o.http_method = "GET"
2440
+ o.http_request_uri = "/accounts/{accountId}/retention-settings"
2441
+ o.input = Shapes::ShapeRef.new(shape: GetRetentionSettingsRequest)
2442
+ o.output = Shapes::ShapeRef.new(shape: GetRetentionSettingsResponse)
2443
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
2444
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2445
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2446
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2447
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
2448
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2449
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
2450
+ end)
2451
+
2361
2452
  api.add_operation(:get_room, Seahorse::Model::Operation.new.tap do |o|
2362
2453
  o.name = "GetRoom"
2363
2454
  o.http_method = "GET"
@@ -2874,6 +2965,22 @@ module Aws::Chime
2874
2965
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2875
2966
  end)
2876
2967
 
2968
+ api.add_operation(:put_retention_settings, Seahorse::Model::Operation.new.tap do |o|
2969
+ o.name = "PutRetentionSettings"
2970
+ o.http_method = "PUT"
2971
+ o.http_request_uri = "/accounts/{accountId}/retention-settings"
2972
+ o.input = Shapes::ShapeRef.new(shape: PutRetentionSettingsRequest)
2973
+ o.output = Shapes::ShapeRef.new(shape: PutRetentionSettingsResponse)
2974
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
2975
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2976
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2977
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2978
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2979
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException)
2980
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2981
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
2982
+ end)
2983
+
2877
2984
  api.add_operation(:put_voice_connector_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
2878
2985
  o.name = "PutVoiceConnectorLoggingConfiguration"
2879
2986
  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
  #
@@ -950,11 +971,12 @@ module Aws::Chime
950
971
  # @return [String]
951
972
  #
952
973
  # @!attribute [rw] media_region
953
- # The Region in which to create the meeting. Available values:
954
- # `ap-northeast-1`, `ap-southeast-1`, `ap-southeast-2`,
955
- # `ca-central-1`, `eu-central-1`, `eu-north-1`, `eu-west-1`,
956
- # `eu-west-2`, `eu-west-3`, `sa-east-1`, `us-east-1`, `us-east-2`,
957
- # `us-west-1`, `us-west-2`.
974
+ # The Region in which to create the meeting. Default: `us-east-1`.
975
+ #
976
+ # Available values: `ap-northeast-1`, `ap-southeast-1`,
977
+ # `ap-southeast-2`, `ca-central-1`, `eu-central-1`, `eu-north-1`,
978
+ # `eu-west-1`, `eu-west-2`, `eu-west-3`, `sa-east-1`, `us-east-1`,
979
+ # `us-east-2`, `us-west-1`, `us-west-2`.
958
980
  # @return [String]
959
981
  #
960
982
  # @!attribute [rw] tags
@@ -990,6 +1012,113 @@ module Aws::Chime
990
1012
  include Aws::Structure
991
1013
  end
992
1014
 
1015
+ # @note When making an API call, you may pass CreateMeetingWithAttendeesRequest
1016
+ # data as a hash:
1017
+ #
1018
+ # {
1019
+ # client_request_token: "ClientRequestToken", # required
1020
+ # external_meeting_id: "ExternalMeetingIdType",
1021
+ # meeting_host_id: "ExternalUserIdType",
1022
+ # media_region: "String",
1023
+ # tags: [
1024
+ # {
1025
+ # key: "TagKey", # required
1026
+ # value: "TagValue", # required
1027
+ # },
1028
+ # ],
1029
+ # notifications_configuration: {
1030
+ # sns_topic_arn: "Arn",
1031
+ # sqs_queue_arn: "Arn",
1032
+ # },
1033
+ # attendees: [
1034
+ # {
1035
+ # external_user_id: "ExternalUserIdType", # required
1036
+ # tags: [
1037
+ # {
1038
+ # key: "TagKey", # required
1039
+ # value: "TagValue", # required
1040
+ # },
1041
+ # ],
1042
+ # },
1043
+ # ],
1044
+ # }
1045
+ #
1046
+ # @!attribute [rw] client_request_token
1047
+ # The unique identifier for the client request. Use a different token
1048
+ # for different meetings.
1049
+ #
1050
+ # **A suitable default value is auto-generated.** You should normally
1051
+ # not need to pass this option.
1052
+ # @return [String]
1053
+ #
1054
+ # @!attribute [rw] external_meeting_id
1055
+ # The external meeting ID.
1056
+ # @return [String]
1057
+ #
1058
+ # @!attribute [rw] meeting_host_id
1059
+ # Reserved.
1060
+ # @return [String]
1061
+ #
1062
+ # @!attribute [rw] media_region
1063
+ # The Region in which to create the meeting. Default: `us-east-1`.
1064
+ #
1065
+ # Available values: `ap-northeast-1`, `ap-southeast-1`,
1066
+ # `ap-southeast-2`, `ca-central-1`, `eu-central-1`, `eu-north-1`,
1067
+ # `eu-west-1`, `eu-west-2`, `eu-west-3`, `sa-east-1`, `us-east-1`,
1068
+ # `us-east-2`, `us-west-1`, `us-west-2`.
1069
+ # @return [String]
1070
+ #
1071
+ # @!attribute [rw] tags
1072
+ # The tag key-value pairs.
1073
+ # @return [Array<Types::Tag>]
1074
+ #
1075
+ # @!attribute [rw] notifications_configuration
1076
+ # The configuration for resource targets to receive notifications when
1077
+ # Amazon Chime SDK meeting and attendee events occur. The Amazon Chime
1078
+ # SDK supports resource targets located in the US East (N. Virginia)
1079
+ # AWS Region (`us-east-1`).
1080
+ # @return [Types::MeetingNotificationConfiguration]
1081
+ #
1082
+ # @!attribute [rw] attendees
1083
+ # The request containing the attendees to create.
1084
+ # @return [Array<Types::CreateAttendeeRequestItem>]
1085
+ #
1086
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingWithAttendeesRequest AWS API Documentation
1087
+ #
1088
+ class CreateMeetingWithAttendeesRequest < Struct.new(
1089
+ :client_request_token,
1090
+ :external_meeting_id,
1091
+ :meeting_host_id,
1092
+ :media_region,
1093
+ :tags,
1094
+ :notifications_configuration,
1095
+ :attendees)
1096
+ include Aws::Structure
1097
+ end
1098
+
1099
+ # @!attribute [rw] meeting
1100
+ # A meeting created using the Amazon Chime SDK.
1101
+ # @return [Types::Meeting]
1102
+ #
1103
+ # @!attribute [rw] attendees
1104
+ # The attendee information, including attendees IDs and join tokens.
1105
+ # @return [Array<Types::Attendee>]
1106
+ #
1107
+ # @!attribute [rw] errors
1108
+ # If the action fails for one or more of the attendees in the request,
1109
+ # a list of the attendees is returned, along with error codes and
1110
+ # error messages.
1111
+ # @return [Array<Types::CreateAttendeeError>]
1112
+ #
1113
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingWithAttendeesResponse AWS API Documentation
1114
+ #
1115
+ class CreateMeetingWithAttendeesResponse < Struct.new(
1116
+ :meeting,
1117
+ :attendees,
1118
+ :errors)
1119
+ include Aws::Structure
1120
+ end
1121
+
993
1122
  # @note When making an API call, you may pass CreatePhoneNumberOrderRequest
994
1123
  # data as a hash:
995
1124
  #
@@ -2184,6 +2313,41 @@ module Aws::Chime
2184
2313
  include Aws::Structure
2185
2314
  end
2186
2315
 
2316
+ # @note When making an API call, you may pass GetRetentionSettingsRequest
2317
+ # data as a hash:
2318
+ #
2319
+ # {
2320
+ # account_id: "NonEmptyString", # required
2321
+ # }
2322
+ #
2323
+ # @!attribute [rw] account_id
2324
+ # The Amazon Chime account ID.
2325
+ # @return [String]
2326
+ #
2327
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRetentionSettingsRequest AWS API Documentation
2328
+ #
2329
+ class GetRetentionSettingsRequest < Struct.new(
2330
+ :account_id)
2331
+ include Aws::Structure
2332
+ end
2333
+
2334
+ # @!attribute [rw] retention_settings
2335
+ # The retention settings.
2336
+ # @return [Types::RetentionSettings]
2337
+ #
2338
+ # @!attribute [rw] initiate_deletion_timestamp
2339
+ # The timestamp representing the time at which the specified items are
2340
+ # permanently deleted, in ISO 8601 format.
2341
+ # @return [Time]
2342
+ #
2343
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRetentionSettingsResponse AWS API Documentation
2344
+ #
2345
+ class GetRetentionSettingsResponse < Struct.new(
2346
+ :retention_settings,
2347
+ :initiate_deletion_timestamp)
2348
+ include Aws::Structure
2349
+ end
2350
+
2187
2351
  # @note When making an API call, you may pass GetRoomRequest
2188
2352
  # data as a hash:
2189
2353
  #
@@ -3426,7 +3590,9 @@ module Aws::Chime
3426
3590
  end
3427
3591
 
3428
3592
  # The configuration for resource targets to receive notifications when
3429
- # Amazon Chime SDK meeting and attendee events occur.
3593
+ # Amazon Chime SDK meeting and attendee events occur. The Amazon Chime
3594
+ # SDK supports resource targets located in the US East (N. Virginia) AWS
3595
+ # Region (`us-east-1`).
3430
3596
  #
3431
3597
  # @note When making an API call, you may pass MeetingNotificationConfiguration
3432
3598
  # data as a hash:
@@ -4032,6 +4198,54 @@ module Aws::Chime
4032
4198
  include Aws::Structure
4033
4199
  end
4034
4200
 
4201
+ # @note When making an API call, you may pass PutRetentionSettingsRequest
4202
+ # data as a hash:
4203
+ #
4204
+ # {
4205
+ # account_id: "NonEmptyString", # required
4206
+ # retention_settings: { # required
4207
+ # room_retention_settings: {
4208
+ # retention_days: 1,
4209
+ # },
4210
+ # conversation_retention_settings: {
4211
+ # retention_days: 1,
4212
+ # },
4213
+ # },
4214
+ # }
4215
+ #
4216
+ # @!attribute [rw] account_id
4217
+ # The Amazon Chime account ID.
4218
+ # @return [String]
4219
+ #
4220
+ # @!attribute [rw] retention_settings
4221
+ # The retention settings.
4222
+ # @return [Types::RetentionSettings]
4223
+ #
4224
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutRetentionSettingsRequest AWS API Documentation
4225
+ #
4226
+ class PutRetentionSettingsRequest < Struct.new(
4227
+ :account_id,
4228
+ :retention_settings)
4229
+ include Aws::Structure
4230
+ end
4231
+
4232
+ # @!attribute [rw] retention_settings
4233
+ # The retention settings.
4234
+ # @return [Types::RetentionSettings]
4235
+ #
4236
+ # @!attribute [rw] initiate_deletion_timestamp
4237
+ # The timestamp representing the time at which the specified items are
4238
+ # permanently deleted, in ISO 8601 format.
4239
+ # @return [Time]
4240
+ #
4241
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutRetentionSettingsResponse AWS API Documentation
4242
+ #
4243
+ class PutRetentionSettingsResponse < Struct.new(
4244
+ :retention_settings,
4245
+ :initiate_deletion_timestamp)
4246
+ include Aws::Structure
4247
+ end
4248
+
4035
4249
  # @note When making an API call, you may pass PutVoiceConnectorLoggingConfigurationRequest
4036
4250
  # data as a hash:
4037
4251
  #
@@ -4177,6 +4391,11 @@ module Aws::Chime
4177
4391
  # streaming_configuration: { # required
4178
4392
  # data_retention_in_hours: 1, # required
4179
4393
  # disabled: false,
4394
+ # streaming_notification_targets: [
4395
+ # {
4396
+ # notification_target: "EventBridge", # required, accepts EventBridge, SNS, SQS
4397
+ # },
4398
+ # ],
4180
4399
  # },
4181
4400
  # }
4182
4401
  #
@@ -4461,6 +4680,38 @@ module Aws::Chime
4461
4680
  include Aws::Structure
4462
4681
  end
4463
4682
 
4683
+ # The retention settings for an Amazon Chime Enterprise account that
4684
+ # determine how long to retain items such as chat room messages and chat
4685
+ # conversation messages.
4686
+ #
4687
+ # @note When making an API call, you may pass RetentionSettings
4688
+ # data as a hash:
4689
+ #
4690
+ # {
4691
+ # room_retention_settings: {
4692
+ # retention_days: 1,
4693
+ # },
4694
+ # conversation_retention_settings: {
4695
+ # retention_days: 1,
4696
+ # },
4697
+ # }
4698
+ #
4699
+ # @!attribute [rw] room_retention_settings
4700
+ # The chat room retention settings.
4701
+ # @return [Types::RoomRetentionSettings]
4702
+ #
4703
+ # @!attribute [rw] conversation_retention_settings
4704
+ # The chat conversation retention settings.
4705
+ # @return [Types::ConversationRetentionSettings]
4706
+ #
4707
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RetentionSettings AWS API Documentation
4708
+ #
4709
+ class RetentionSettings < Struct.new(
4710
+ :room_retention_settings,
4711
+ :conversation_retention_settings)
4712
+ include Aws::Structure
4713
+ end
4714
+
4464
4715
  # The Amazon Chime chat room details.
4465
4716
  #
4466
4717
  # @!attribute [rw] room_id
@@ -4533,6 +4784,27 @@ module Aws::Chime
4533
4784
  include Aws::Structure
4534
4785
  end
4535
4786
 
4787
+ # The retention settings that determine how long to retain chat room
4788
+ # messages for an Amazon Chime Enterprise account.
4789
+ #
4790
+ # @note When making an API call, you may pass RoomRetentionSettings
4791
+ # data as a hash:
4792
+ #
4793
+ # {
4794
+ # retention_days: 1,
4795
+ # }
4796
+ #
4797
+ # @!attribute [rw] retention_days
4798
+ # The number of days for which to retain chat room messages.
4799
+ # @return [Integer]
4800
+ #
4801
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RoomRetentionSettings AWS API Documentation
4802
+ #
4803
+ class RoomRetentionSettings < Struct.new(
4804
+ :retention_days)
4805
+ include Aws::Structure
4806
+ end
4807
+
4536
4808
  # @note When making an API call, you may pass SearchAvailablePhoneNumbersRequest
4537
4809
  # data as a hash:
4538
4810
  #
@@ -4662,6 +4934,11 @@ module Aws::Chime
4662
4934
  # {
4663
4935
  # data_retention_in_hours: 1, # required
4664
4936
  # disabled: false,
4937
+ # streaming_notification_targets: [
4938
+ # {
4939
+ # notification_target: "EventBridge", # required, accepts EventBridge, SNS, SQS
4940
+ # },
4941
+ # ],
4665
4942
  # }
4666
4943
  #
4667
4944
  # @!attribute [rw] data_retention_in_hours
@@ -4672,11 +4949,36 @@ module Aws::Chime
4672
4949
  # When true, media streaming to Amazon Kinesis is turned off.
4673
4950
  # @return [Boolean]
4674
4951
  #
4952
+ # @!attribute [rw] streaming_notification_targets
4953
+ # The streaming notification targets.
4954
+ # @return [Array<Types::StreamingNotificationTarget>]
4955
+ #
4675
4956
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/StreamingConfiguration AWS API Documentation
4676
4957
  #
4677
4958
  class StreamingConfiguration < Struct.new(
4678
4959
  :data_retention_in_hours,
4679
- :disabled)
4960
+ :disabled,
4961
+ :streaming_notification_targets)
4962
+ include Aws::Structure
4963
+ end
4964
+
4965
+ # The targeted recipient for a streaming configuration notification.
4966
+ #
4967
+ # @note When making an API call, you may pass StreamingNotificationTarget
4968
+ # data as a hash:
4969
+ #
4970
+ # {
4971
+ # notification_target: "EventBridge", # required, accepts EventBridge, SNS, SQS
4972
+ # }
4973
+ #
4974
+ # @!attribute [rw] notification_target
4975
+ # The streaming notification target.
4976
+ # @return [String]
4977
+ #
4978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/StreamingNotificationTarget AWS API Documentation
4979
+ #
4980
+ class StreamingNotificationTarget < Struct.new(
4981
+ :notification_target)
4680
4982
  include Aws::Structure
4681
4983
  end
4682
4984
 
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.25.0
4
+ version: 1.30.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-18 00:00:00.000000000 Z
11
+ date: 2020-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.71.0
22
+ version: 3.99.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement