aws-sdk-chime 1.14.0 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,27 @@ module Aws::Chime
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class AccessDeniedException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::Chime::Types::AccessDeniedException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def code
24
+ @code || @data[:code]
25
+ end
26
+
27
+ # @return [String]
28
+ def message
29
+ @message || @data[:message]
30
+ end
31
+
32
+ end
33
+
13
34
  class BadRequestException < ServiceError
14
35
 
15
36
  # @param [Seahorse::Client::RequestContext] context
@@ -8,6 +8,22 @@
8
8
  module Aws::Chime
9
9
  module Types
10
10
 
11
+ # You don't have permissions to perform the requested operation.
12
+ #
13
+ # @!attribute [rw] code
14
+ # @return [String]
15
+ #
16
+ # @!attribute [rw] message
17
+ # @return [String]
18
+ #
19
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AccessDeniedException AWS API Documentation
20
+ #
21
+ class AccessDeniedException < Struct.new(
22
+ :code,
23
+ :message)
24
+ include Aws::Structure
25
+ end
26
+
11
27
  # The Amazon Chime account details. An AWS account can have multiple
12
28
  # Amazon Chime accounts.
13
29
  #
@@ -133,12 +149,59 @@ module Aws::Chime
133
149
  #
134
150
  class AssociatePhoneNumberWithUserResponse < Aws::EmptyStructure; end
135
151
 
152
+ # @note When making an API call, you may pass AssociatePhoneNumbersWithVoiceConnectorGroupRequest
153
+ # data as a hash:
154
+ #
155
+ # {
156
+ # voice_connector_group_id: "NonEmptyString", # required
157
+ # e164_phone_numbers: ["E164PhoneNumber"],
158
+ # force_associate: false,
159
+ # }
160
+ #
161
+ # @!attribute [rw] voice_connector_group_id
162
+ # The Amazon Chime Voice Connector group ID.
163
+ # @return [String]
164
+ #
165
+ # @!attribute [rw] e164_phone_numbers
166
+ # List of phone numbers, in E.164 format.
167
+ # @return [Array<String>]
168
+ #
169
+ # @!attribute [rw] force_associate
170
+ # If true, associates the provided phone numbers with the provided
171
+ # Amazon Chime Voice Connector Group and removes any previously
172
+ # existing associations. If false, does not associate any phone
173
+ # numbers that have previously existing associations.
174
+ # @return [Boolean]
175
+ #
176
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumbersWithVoiceConnectorGroupRequest AWS API Documentation
177
+ #
178
+ class AssociatePhoneNumbersWithVoiceConnectorGroupRequest < Struct.new(
179
+ :voice_connector_group_id,
180
+ :e164_phone_numbers,
181
+ :force_associate)
182
+ include Aws::Structure
183
+ end
184
+
185
+ # @!attribute [rw] phone_number_errors
186
+ # If the action fails for one or more of the phone numbers in the
187
+ # request, a list of the phone numbers is returned, along with error
188
+ # codes and error messages.
189
+ # @return [Array<Types::PhoneNumberError>]
190
+ #
191
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumbersWithVoiceConnectorGroupResponse AWS API Documentation
192
+ #
193
+ class AssociatePhoneNumbersWithVoiceConnectorGroupResponse < Struct.new(
194
+ :phone_number_errors)
195
+ include Aws::Structure
196
+ end
197
+
136
198
  # @note When making an API call, you may pass AssociatePhoneNumbersWithVoiceConnectorRequest
137
199
  # data as a hash:
138
200
  #
139
201
  # {
140
202
  # voice_connector_id: "NonEmptyString", # required
141
203
  # e164_phone_numbers: ["E164PhoneNumber"],
204
+ # force_associate: false,
142
205
  # }
143
206
  #
144
207
  # @!attribute [rw] voice_connector_id
@@ -149,11 +212,19 @@ module Aws::Chime
149
212
  # List of phone numbers, in E.164 format.
150
213
  # @return [Array<String>]
151
214
  #
215
+ # @!attribute [rw] force_associate
216
+ # If true, associates the provided phone numbers with the provided
217
+ # Amazon Chime Voice Connector and removes any previously existing
218
+ # associations. If false, does not associate any phone numbers that
219
+ # have previously existing associations.
220
+ # @return [Boolean]
221
+ #
152
222
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumbersWithVoiceConnectorRequest AWS API Documentation
153
223
  #
154
224
  class AssociatePhoneNumbersWithVoiceConnectorRequest < Struct.new(
155
225
  :voice_connector_id,
156
- :e164_phone_numbers)
226
+ :e164_phone_numbers,
227
+ :force_associate)
157
228
  include Aws::Structure
158
229
  end
159
230
 
@@ -299,13 +370,14 @@ module Aws::Chime
299
370
  # {
300
371
  # phone_number_id: "NonEmptyString", # required
301
372
  # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector
373
+ # calling_name: "CallingName",
302
374
  # },
303
375
  # ],
304
376
  # }
305
377
  #
306
378
  # @!attribute [rw] update_phone_number_request_items
307
- # The request containing the phone number IDs and product types to
308
- # update.
379
+ # The request containing the phone number IDs and product types or
380
+ # calling names to update.
309
381
  # @return [Array<Types::UpdatePhoneNumberRequestItem>]
310
382
  #
311
383
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUpdatePhoneNumberRequest AWS API Documentation
@@ -569,11 +641,52 @@ module Aws::Chime
569
641
  include Aws::Structure
570
642
  end
571
643
 
644
+ # @note When making an API call, you may pass CreateVoiceConnectorGroupRequest
645
+ # data as a hash:
646
+ #
647
+ # {
648
+ # name: "VoiceConnectorGroupName", # required
649
+ # voice_connector_items: [
650
+ # {
651
+ # voice_connector_id: "NonEmptyString", # required
652
+ # priority: 1, # required
653
+ # },
654
+ # ],
655
+ # }
656
+ #
657
+ # @!attribute [rw] name
658
+ # The name of the Amazon Chime Voice Connector group.
659
+ # @return [String]
660
+ #
661
+ # @!attribute [rw] voice_connector_items
662
+ # The Amazon Chime Voice Connectors to route inbound calls to.
663
+ # @return [Array<Types::VoiceConnectorItem>]
664
+ #
665
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateVoiceConnectorGroupRequest AWS API Documentation
666
+ #
667
+ class CreateVoiceConnectorGroupRequest < Struct.new(
668
+ :name,
669
+ :voice_connector_items)
670
+ include Aws::Structure
671
+ end
672
+
673
+ # @!attribute [rw] voice_connector_group
674
+ # The Amazon Chime Voice Connector group details.
675
+ # @return [Types::VoiceConnectorGroup]
676
+ #
677
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateVoiceConnectorGroupResponse AWS API Documentation
678
+ #
679
+ class CreateVoiceConnectorGroupResponse < Struct.new(
680
+ :voice_connector_group)
681
+ include Aws::Structure
682
+ end
683
+
572
684
  # @note When making an API call, you may pass CreateVoiceConnectorRequest
573
685
  # data as a hash:
574
686
  #
575
687
  # {
576
688
  # name: "VoiceConnectorName", # required
689
+ # aws_region: "us-east-1", # accepts us-east-1, us-west-2
577
690
  # require_encryption: false, # required
578
691
  # }
579
692
  #
@@ -581,6 +694,11 @@ module Aws::Chime
581
694
  # The name of the Amazon Chime Voice Connector.
582
695
  # @return [String]
583
696
  #
697
+ # @!attribute [rw] aws_region
698
+ # The AWS Region in which the Amazon Chime Voice Connector is created.
699
+ # Default value: `us-east-1`.
700
+ # @return [String]
701
+ #
584
702
  # @!attribute [rw] require_encryption
585
703
  # When enabled, requires encryption for the Amazon Chime Voice
586
704
  # Connector.
@@ -590,6 +708,7 @@ module Aws::Chime
590
708
  #
591
709
  class CreateVoiceConnectorRequest < Struct.new(
592
710
  :name,
711
+ :aws_region,
593
712
  :require_encryption)
594
713
  include Aws::Structure
595
714
  end
@@ -698,6 +817,24 @@ module Aws::Chime
698
817
  include Aws::Structure
699
818
  end
700
819
 
820
+ # @note When making an API call, you may pass DeleteVoiceConnectorGroupRequest
821
+ # data as a hash:
822
+ #
823
+ # {
824
+ # voice_connector_group_id: "NonEmptyString", # required
825
+ # }
826
+ #
827
+ # @!attribute [rw] voice_connector_group_id
828
+ # The Amazon Chime Voice Connector group ID.
829
+ # @return [String]
830
+ #
831
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorGroupRequest AWS API Documentation
832
+ #
833
+ class DeleteVoiceConnectorGroupRequest < Struct.new(
834
+ :voice_connector_group_id)
835
+ include Aws::Structure
836
+ end
837
+
701
838
  # @note When making an API call, you may pass DeleteVoiceConnectorOriginationRequest
702
839
  # data as a hash:
703
840
  #
@@ -734,6 +871,24 @@ module Aws::Chime
734
871
  include Aws::Structure
735
872
  end
736
873
 
874
+ # @note When making an API call, you may pass DeleteVoiceConnectorStreamingConfigurationRequest
875
+ # data as a hash:
876
+ #
877
+ # {
878
+ # voice_connector_id: "NonEmptyString", # required
879
+ # }
880
+ #
881
+ # @!attribute [rw] voice_connector_id
882
+ # The Amazon Chime Voice Connector ID.
883
+ # @return [String]
884
+ #
885
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorStreamingConfigurationRequest AWS API Documentation
886
+ #
887
+ class DeleteVoiceConnectorStreamingConfigurationRequest < Struct.new(
888
+ :voice_connector_id)
889
+ include Aws::Structure
890
+ end
891
+
737
892
  # @note When making an API call, you may pass DeleteVoiceConnectorTerminationCredentialsRequest
738
893
  # data as a hash:
739
894
  #
@@ -805,6 +960,43 @@ module Aws::Chime
805
960
  #
806
961
  class DisassociatePhoneNumberFromUserResponse < Aws::EmptyStructure; end
807
962
 
963
+ # @note When making an API call, you may pass DisassociatePhoneNumbersFromVoiceConnectorGroupRequest
964
+ # data as a hash:
965
+ #
966
+ # {
967
+ # voice_connector_group_id: "NonEmptyString", # required
968
+ # e164_phone_numbers: ["E164PhoneNumber"],
969
+ # }
970
+ #
971
+ # @!attribute [rw] voice_connector_group_id
972
+ # The Amazon Chime Voice Connector group ID.
973
+ # @return [String]
974
+ #
975
+ # @!attribute [rw] e164_phone_numbers
976
+ # List of phone numbers, in E.164 format.
977
+ # @return [Array<String>]
978
+ #
979
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnectorGroupRequest AWS API Documentation
980
+ #
981
+ class DisassociatePhoneNumbersFromVoiceConnectorGroupRequest < Struct.new(
982
+ :voice_connector_group_id,
983
+ :e164_phone_numbers)
984
+ include Aws::Structure
985
+ end
986
+
987
+ # @!attribute [rw] phone_number_errors
988
+ # If the action fails for one or more of the phone numbers in the
989
+ # request, a list of the phone numbers is returned, along with error
990
+ # codes and error messages.
991
+ # @return [Array<Types::PhoneNumberError>]
992
+ #
993
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnectorGroupResponse AWS API Documentation
994
+ #
995
+ class DisassociatePhoneNumbersFromVoiceConnectorGroupResponse < Struct.new(
996
+ :phone_number_errors)
997
+ include Aws::Structure
998
+ end
999
+
808
1000
  # @note When making an API call, you may pass DisassociatePhoneNumbersFromVoiceConnectorRequest
809
1001
  # data as a hash:
810
1002
  #
@@ -1086,6 +1278,22 @@ module Aws::Chime
1086
1278
  include Aws::Structure
1087
1279
  end
1088
1280
 
1281
+ # @!attribute [rw] calling_name
1282
+ # The default outbound calling name for the account.
1283
+ # @return [String]
1284
+ #
1285
+ # @!attribute [rw] calling_name_updated_timestamp
1286
+ # The updated outbound calling name timestamp, in ISO 8601 format.
1287
+ # @return [Time]
1288
+ #
1289
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumberSettingsResponse AWS API Documentation
1290
+ #
1291
+ class GetPhoneNumberSettingsResponse < Struct.new(
1292
+ :calling_name,
1293
+ :calling_name_updated_timestamp)
1294
+ include Aws::Structure
1295
+ end
1296
+
1089
1297
  # @note When making an API call, you may pass GetUserRequest
1090
1298
  # data as a hash:
1091
1299
  #
@@ -1156,6 +1364,64 @@ module Aws::Chime
1156
1364
  include Aws::Structure
1157
1365
  end
1158
1366
 
1367
+ # @note When making an API call, you may pass GetVoiceConnectorGroupRequest
1368
+ # data as a hash:
1369
+ #
1370
+ # {
1371
+ # voice_connector_group_id: "NonEmptyString", # required
1372
+ # }
1373
+ #
1374
+ # @!attribute [rw] voice_connector_group_id
1375
+ # The Amazon Chime Voice Connector group ID.
1376
+ # @return [String]
1377
+ #
1378
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorGroupRequest AWS API Documentation
1379
+ #
1380
+ class GetVoiceConnectorGroupRequest < Struct.new(
1381
+ :voice_connector_group_id)
1382
+ include Aws::Structure
1383
+ end
1384
+
1385
+ # @!attribute [rw] voice_connector_group
1386
+ # The Amazon Chime Voice Connector group details.
1387
+ # @return [Types::VoiceConnectorGroup]
1388
+ #
1389
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorGroupResponse AWS API Documentation
1390
+ #
1391
+ class GetVoiceConnectorGroupResponse < Struct.new(
1392
+ :voice_connector_group)
1393
+ include Aws::Structure
1394
+ end
1395
+
1396
+ # @note When making an API call, you may pass GetVoiceConnectorLoggingConfigurationRequest
1397
+ # data as a hash:
1398
+ #
1399
+ # {
1400
+ # voice_connector_id: "NonEmptyString", # required
1401
+ # }
1402
+ #
1403
+ # @!attribute [rw] voice_connector_id
1404
+ # The Amazon Chime Voice Connector ID.
1405
+ # @return [String]
1406
+ #
1407
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorLoggingConfigurationRequest AWS API Documentation
1408
+ #
1409
+ class GetVoiceConnectorLoggingConfigurationRequest < Struct.new(
1410
+ :voice_connector_id)
1411
+ include Aws::Structure
1412
+ end
1413
+
1414
+ # @!attribute [rw] logging_configuration
1415
+ # The logging configuration details.
1416
+ # @return [Types::LoggingConfiguration]
1417
+ #
1418
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorLoggingConfigurationResponse AWS API Documentation
1419
+ #
1420
+ class GetVoiceConnectorLoggingConfigurationResponse < Struct.new(
1421
+ :logging_configuration)
1422
+ include Aws::Structure
1423
+ end
1424
+
1159
1425
  # @note When making an API call, you may pass GetVoiceConnectorOriginationRequest
1160
1426
  # data as a hash:
1161
1427
  #
@@ -1214,6 +1480,35 @@ module Aws::Chime
1214
1480
  include Aws::Structure
1215
1481
  end
1216
1482
 
1483
+ # @note When making an API call, you may pass GetVoiceConnectorStreamingConfigurationRequest
1484
+ # data as a hash:
1485
+ #
1486
+ # {
1487
+ # voice_connector_id: "NonEmptyString", # required
1488
+ # }
1489
+ #
1490
+ # @!attribute [rw] voice_connector_id
1491
+ # The Amazon Chime Voice Connector ID.
1492
+ # @return [String]
1493
+ #
1494
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorStreamingConfigurationRequest AWS API Documentation
1495
+ #
1496
+ class GetVoiceConnectorStreamingConfigurationRequest < Struct.new(
1497
+ :voice_connector_id)
1498
+ include Aws::Structure
1499
+ end
1500
+
1501
+ # @!attribute [rw] streaming_configuration
1502
+ # The streaming configuration details.
1503
+ # @return [Types::StreamingConfiguration]
1504
+ #
1505
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorStreamingConfigurationResponse AWS API Documentation
1506
+ #
1507
+ class GetVoiceConnectorStreamingConfigurationResponse < Struct.new(
1508
+ :streaming_configuration)
1509
+ include Aws::Structure
1510
+ end
1511
+
1217
1512
  # @note When making an API call, you may pass GetVoiceConnectorTerminationHealthRequest
1218
1513
  # data as a hash:
1219
1514
  #
@@ -1482,7 +1777,7 @@ module Aws::Chime
1482
1777
  # {
1483
1778
  # status: "AcquireInProgress", # accepts AcquireInProgress, AcquireFailed, Unassigned, Assigned, ReleaseInProgress, DeleteInProgress, ReleaseFailed, DeleteFailed
1484
1779
  # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector
1485
- # filter_name: "AccountId", # accepts AccountId, UserId, VoiceConnectorId
1780
+ # filter_name: "AccountId", # accepts AccountId, UserId, VoiceConnectorId, VoiceConnectorGroupId
1486
1781
  # filter_value: "String",
1487
1782
  # max_results: 1,
1488
1783
  # next_token: "String",
@@ -1593,6 +1888,46 @@ module Aws::Chime
1593
1888
  include Aws::Structure
1594
1889
  end
1595
1890
 
1891
+ # @note When making an API call, you may pass ListVoiceConnectorGroupsRequest
1892
+ # data as a hash:
1893
+ #
1894
+ # {
1895
+ # next_token: "String",
1896
+ # max_results: 1,
1897
+ # }
1898
+ #
1899
+ # @!attribute [rw] next_token
1900
+ # The token to use to retrieve the next page of results.
1901
+ # @return [String]
1902
+ #
1903
+ # @!attribute [rw] max_results
1904
+ # The maximum number of results to return in a single call.
1905
+ # @return [Integer]
1906
+ #
1907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectorGroupsRequest AWS API Documentation
1908
+ #
1909
+ class ListVoiceConnectorGroupsRequest < Struct.new(
1910
+ :next_token,
1911
+ :max_results)
1912
+ include Aws::Structure
1913
+ end
1914
+
1915
+ # @!attribute [rw] voice_connector_groups
1916
+ # The details of the Amazon Chime Voice Connector groups.
1917
+ # @return [Array<Types::VoiceConnectorGroup>]
1918
+ #
1919
+ # @!attribute [rw] next_token
1920
+ # The token to use to retrieve the next page of results.
1921
+ # @return [String]
1922
+ #
1923
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectorGroupsResponse AWS API Documentation
1924
+ #
1925
+ class ListVoiceConnectorGroupsResponse < Struct.new(
1926
+ :voice_connector_groups,
1927
+ :next_token)
1928
+ include Aws::Structure
1929
+ end
1930
+
1596
1931
  # @note When making an API call, you may pass ListVoiceConnectorTerminationCredentialsRequest
1597
1932
  # data as a hash:
1598
1933
  #
@@ -1662,6 +1997,29 @@ module Aws::Chime
1662
1997
  include Aws::Structure
1663
1998
  end
1664
1999
 
2000
+ # The logging configuration associated with an Amazon Chime Voice
2001
+ # Connector. Specifies whether SIP message logs are enabled for sending
2002
+ # to Amazon CloudWatch Logs.
2003
+ #
2004
+ # @note When making an API call, you may pass LoggingConfiguration
2005
+ # data as a hash:
2006
+ #
2007
+ # {
2008
+ # enable_sip_logs: false,
2009
+ # }
2010
+ #
2011
+ # @!attribute [rw] enable_sip_logs
2012
+ # When true, enables SIP message logs for sending to Amazon CloudWatch
2013
+ # Logs.
2014
+ # @return [Boolean]
2015
+ #
2016
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/LoggingConfiguration AWS API Documentation
2017
+ #
2018
+ class LoggingConfiguration < Struct.new(
2019
+ :enable_sip_logs)
2020
+ include Aws::Structure
2021
+ end
2022
+
1665
2023
  # @note When making an API call, you may pass LogoutUserRequest
1666
2024
  # data as a hash:
1667
2025
  #
@@ -1764,7 +2122,7 @@ module Aws::Chime
1764
2122
 
1765
2123
  # Origination routes define call distribution properties for your SIP
1766
2124
  # hosts to receive inbound calls using your Amazon Chime Voice
1767
- # Connector. Limit: 10 origination routes per Amazon Chime Voice
2125
+ # Connector. Limit: Ten origination routes for each Amazon Chime Voice
1768
2126
  # Connector.
1769
2127
  #
1770
2128
  # @note When making an API call, you may pass OriginationRoute
@@ -1779,7 +2137,7 @@ module Aws::Chime
1779
2137
  # }
1780
2138
  #
1781
2139
  # @!attribute [rw] host
1782
- # The FODN or IP address to contact for origination traffic.
2140
+ # The FQDN or IP address to contact for origination traffic.
1783
2141
  # @return [String]
1784
2142
  #
1785
2143
  # @!attribute [rw] port
@@ -1843,6 +2201,14 @@ module Aws::Chime
1843
2201
  # The phone number associations.
1844
2202
  # @return [Array<Types::PhoneNumberAssociation>]
1845
2203
  #
2204
+ # @!attribute [rw] calling_name
2205
+ # The outbound calling name associated with the phone number.
2206
+ # @return [String]
2207
+ #
2208
+ # @!attribute [rw] calling_name_status
2209
+ # The outbound calling name status.
2210
+ # @return [String]
2211
+ #
1846
2212
  # @!attribute [rw] created_timestamp
1847
2213
  # The phone number creation timestamp, in ISO 8601 format.
1848
2214
  # @return [Time]
@@ -1865,6 +2231,8 @@ module Aws::Chime
1865
2231
  :status,
1866
2232
  :capabilities,
1867
2233
  :associations,
2234
+ :calling_name,
2235
+ :calling_name_status,
1868
2236
  :created_timestamp,
1869
2237
  :updated_timestamp,
1870
2238
  :deletion_timestamp)
@@ -1872,15 +2240,17 @@ module Aws::Chime
1872
2240
  end
1873
2241
 
1874
2242
  # The phone number associations, such as Amazon Chime account ID, Amazon
1875
- # Chime user ID, or Amazon Chime Voice Connector ID.
2243
+ # Chime user ID, Amazon Chime Voice Connector ID, or Amazon Chime Voice
2244
+ # Connector group ID.
1876
2245
  #
1877
2246
  # @!attribute [rw] value
1878
2247
  # Contains the ID for the entity specified in Name.
1879
2248
  # @return [String]
1880
2249
  #
1881
2250
  # @!attribute [rw] name
1882
- # Defines the association with an Amazon Chime account ID, user ID, or
1883
- # Amazon Chime Voice Connector ID.
2251
+ # Defines the association with an Amazon Chime account ID, user ID,
2252
+ # Amazon Chime Voice Connector ID, or Amazon Chime Voice Connector
2253
+ # group ID.
1884
2254
  # @return [String]
1885
2255
  #
1886
2256
  # @!attribute [rw] associated_timestamp
@@ -1896,8 +2266,9 @@ module Aws::Chime
1896
2266
  include Aws::Structure
1897
2267
  end
1898
2268
 
1899
- # The phone number capabilities, such as enabled inbound and outbound
1900
- # calling and text messaging.
2269
+ # The phone number capabilities for Amazon Chime Business Calling phone
2270
+ # numbers, such as enabled inbound and outbound calling and text
2271
+ # messaging.
1901
2272
  #
1902
2273
  # @!attribute [rw] inbound_call
1903
2274
  # Allows or denies inbound calling for the specified phone number.
@@ -2051,6 +2422,43 @@ module Aws::Chime
2051
2422
  include Aws::Structure
2052
2423
  end
2053
2424
 
2425
+ # @note When making an API call, you may pass PutVoiceConnectorLoggingConfigurationRequest
2426
+ # data as a hash:
2427
+ #
2428
+ # {
2429
+ # voice_connector_id: "NonEmptyString", # required
2430
+ # logging_configuration: { # required
2431
+ # enable_sip_logs: false,
2432
+ # },
2433
+ # }
2434
+ #
2435
+ # @!attribute [rw] voice_connector_id
2436
+ # The Amazon Chime Voice Connector ID.
2437
+ # @return [String]
2438
+ #
2439
+ # @!attribute [rw] logging_configuration
2440
+ # The logging configuration details to add.
2441
+ # @return [Types::LoggingConfiguration]
2442
+ #
2443
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorLoggingConfigurationRequest AWS API Documentation
2444
+ #
2445
+ class PutVoiceConnectorLoggingConfigurationRequest < Struct.new(
2446
+ :voice_connector_id,
2447
+ :logging_configuration)
2448
+ include Aws::Structure
2449
+ end
2450
+
2451
+ # @!attribute [rw] logging_configuration
2452
+ # The updated logging configuration details.
2453
+ # @return [Types::LoggingConfiguration]
2454
+ #
2455
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorLoggingConfigurationResponse AWS API Documentation
2456
+ #
2457
+ class PutVoiceConnectorLoggingConfigurationResponse < Struct.new(
2458
+ :logging_configuration)
2459
+ include Aws::Structure
2460
+ end
2461
+
2054
2462
  # @note When making an API call, you may pass PutVoiceConnectorOriginationRequest
2055
2463
  # data as a hash:
2056
2464
  #
@@ -2097,6 +2505,44 @@ module Aws::Chime
2097
2505
  include Aws::Structure
2098
2506
  end
2099
2507
 
2508
+ # @note When making an API call, you may pass PutVoiceConnectorStreamingConfigurationRequest
2509
+ # data as a hash:
2510
+ #
2511
+ # {
2512
+ # voice_connector_id: "NonEmptyString", # required
2513
+ # streaming_configuration: { # required
2514
+ # data_retention_in_hours: 1, # required
2515
+ # disabled: false,
2516
+ # },
2517
+ # }
2518
+ #
2519
+ # @!attribute [rw] voice_connector_id
2520
+ # The Amazon Chime Voice Connector ID.
2521
+ # @return [String]
2522
+ #
2523
+ # @!attribute [rw] streaming_configuration
2524
+ # The streaming configuration details to add.
2525
+ # @return [Types::StreamingConfiguration]
2526
+ #
2527
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorStreamingConfigurationRequest AWS API Documentation
2528
+ #
2529
+ class PutVoiceConnectorStreamingConfigurationRequest < Struct.new(
2530
+ :voice_connector_id,
2531
+ :streaming_configuration)
2532
+ include Aws::Structure
2533
+ end
2534
+
2535
+ # @!attribute [rw] streaming_configuration
2536
+ # The updated streaming configuration details.
2537
+ # @return [Types::StreamingConfiguration]
2538
+ #
2539
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorStreamingConfigurationResponse AWS API Documentation
2540
+ #
2541
+ class PutVoiceConnectorStreamingConfigurationResponse < Struct.new(
2542
+ :streaming_configuration)
2543
+ include Aws::Structure
2544
+ end
2545
+
2100
2546
  # @note When making an API call, you may pass PutVoiceConnectorTerminationCredentialsRequest
2101
2547
  # data as a hash:
2102
2548
  #
@@ -2380,6 +2826,35 @@ module Aws::Chime
2380
2826
  include Aws::Structure
2381
2827
  end
2382
2828
 
2829
+ # The streaming configuration associated with an Amazon Chime Voice
2830
+ # Connector. Specifies whether media streaming is enabled for sending to
2831
+ # Amazon Kinesis, and shows the retention period for the Amazon Kinesis
2832
+ # data, in hours.
2833
+ #
2834
+ # @note When making an API call, you may pass StreamingConfiguration
2835
+ # data as a hash:
2836
+ #
2837
+ # {
2838
+ # data_retention_in_hours: 1, # required
2839
+ # disabled: false,
2840
+ # }
2841
+ #
2842
+ # @!attribute [rw] data_retention_in_hours
2843
+ # The retention period for the Amazon Kinesis data, in hours.
2844
+ # @return [Integer]
2845
+ #
2846
+ # @!attribute [rw] disabled
2847
+ # When true, media streaming to Amazon Kinesis is turned off.
2848
+ # @return [Boolean]
2849
+ #
2850
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/StreamingConfiguration AWS API Documentation
2851
+ #
2852
+ class StreamingConfiguration < Struct.new(
2853
+ :data_retention_in_hours,
2854
+ :disabled)
2855
+ include Aws::Structure
2856
+ end
2857
+
2383
2858
  # Settings that allow management of telephony permissions for an Amazon
2384
2859
  # Chime user, such as inbound and outbound calling and text messaging.
2385
2860
  #
@@ -2437,11 +2912,12 @@ module Aws::Chime
2437
2912
  # @return [String]
2438
2913
  #
2439
2914
  # @!attribute [rw] calling_regions
2440
- # The countries to which calls are allowed.
2915
+ # The countries to which calls are allowed, in ISO 3166-1 alpha-2
2916
+ # format. Required.
2441
2917
  # @return [Array<String>]
2442
2918
  #
2443
2919
  # @!attribute [rw] cidr_allowed_list
2444
- # The IP addresses allowed to make calls, in CIDR format.
2920
+ # The IP addresses allowed to make calls, in CIDR format. Required.
2445
2921
  # @return [Array<String>]
2446
2922
  #
2447
2923
  # @!attribute [rw] disabled
@@ -2670,6 +3146,7 @@ module Aws::Chime
2670
3146
  # {
2671
3147
  # phone_number_id: "String", # required
2672
3148
  # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector
3149
+ # calling_name: "CallingName",
2673
3150
  # }
2674
3151
  #
2675
3152
  # @!attribute [rw] phone_number_id
@@ -2680,16 +3157,21 @@ module Aws::Chime
2680
3157
  # The product type.
2681
3158
  # @return [String]
2682
3159
  #
3160
+ # @!attribute [rw] calling_name
3161
+ # The outbound calling name associated with the phone number.
3162
+ # @return [String]
3163
+ #
2683
3164
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdatePhoneNumberRequest AWS API Documentation
2684
3165
  #
2685
3166
  class UpdatePhoneNumberRequest < Struct.new(
2686
3167
  :phone_number_id,
2687
- :product_type)
3168
+ :product_type,
3169
+ :calling_name)
2688
3170
  include Aws::Structure
2689
3171
  end
2690
3172
 
2691
- # The phone number ID and product type fields to update, used with the
2692
- # BatchUpdatePhoneNumber and UpdatePhoneNumber actions.
3173
+ # The phone number ID, product type, or calling name fields to update,
3174
+ # used with the BatchUpdatePhoneNumber and UpdatePhoneNumber actions.
2693
3175
  #
2694
3176
  # @note When making an API call, you may pass UpdatePhoneNumberRequestItem
2695
3177
  # data as a hash:
@@ -2697,6 +3179,7 @@ module Aws::Chime
2697
3179
  # {
2698
3180
  # phone_number_id: "NonEmptyString", # required
2699
3181
  # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector
3182
+ # calling_name: "CallingName",
2700
3183
  # }
2701
3184
  #
2702
3185
  # @!attribute [rw] phone_number_id
@@ -2707,11 +3190,16 @@ module Aws::Chime
2707
3190
  # The product type to update.
2708
3191
  # @return [String]
2709
3192
  #
3193
+ # @!attribute [rw] calling_name
3194
+ # The outbound calling name to update.
3195
+ # @return [String]
3196
+ #
2710
3197
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdatePhoneNumberRequestItem AWS API Documentation
2711
3198
  #
2712
3199
  class UpdatePhoneNumberRequestItem < Struct.new(
2713
3200
  :phone_number_id,
2714
- :product_type)
3201
+ :product_type,
3202
+ :calling_name)
2715
3203
  include Aws::Structure
2716
3204
  end
2717
3205
 
@@ -2726,6 +3214,24 @@ module Aws::Chime
2726
3214
  include Aws::Structure
2727
3215
  end
2728
3216
 
3217
+ # @note When making an API call, you may pass UpdatePhoneNumberSettingsRequest
3218
+ # data as a hash:
3219
+ #
3220
+ # {
3221
+ # calling_name: "CallingName", # required
3222
+ # }
3223
+ #
3224
+ # @!attribute [rw] calling_name
3225
+ # The default outbound calling name for the account.
3226
+ # @return [String]
3227
+ #
3228
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdatePhoneNumberSettingsRequest AWS API Documentation
3229
+ #
3230
+ class UpdatePhoneNumberSettingsRequest < Struct.new(
3231
+ :calling_name)
3232
+ include Aws::Structure
3233
+ end
3234
+
2729
3235
  # @note When making an API call, you may pass UpdateUserRequest
2730
3236
  # data as a hash:
2731
3237
  #
@@ -2831,6 +3337,52 @@ module Aws::Chime
2831
3337
  include Aws::Structure
2832
3338
  end
2833
3339
 
3340
+ # @note When making an API call, you may pass UpdateVoiceConnectorGroupRequest
3341
+ # data as a hash:
3342
+ #
3343
+ # {
3344
+ # voice_connector_group_id: "NonEmptyString", # required
3345
+ # name: "VoiceConnectorGroupName", # required
3346
+ # voice_connector_items: [ # required
3347
+ # {
3348
+ # voice_connector_id: "NonEmptyString", # required
3349
+ # priority: 1, # required
3350
+ # },
3351
+ # ],
3352
+ # }
3353
+ #
3354
+ # @!attribute [rw] voice_connector_group_id
3355
+ # The Amazon Chime Voice Connector group ID.
3356
+ # @return [String]
3357
+ #
3358
+ # @!attribute [rw] name
3359
+ # The name of the Amazon Chime Voice Connector group.
3360
+ # @return [String]
3361
+ #
3362
+ # @!attribute [rw] voice_connector_items
3363
+ # The `VoiceConnectorItems` to associate with the group.
3364
+ # @return [Array<Types::VoiceConnectorItem>]
3365
+ #
3366
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateVoiceConnectorGroupRequest AWS API Documentation
3367
+ #
3368
+ class UpdateVoiceConnectorGroupRequest < Struct.new(
3369
+ :voice_connector_group_id,
3370
+ :name,
3371
+ :voice_connector_items)
3372
+ include Aws::Structure
3373
+ end
3374
+
3375
+ # @!attribute [rw] voice_connector_group
3376
+ # The updated Amazon Chime Voice Connector group details.
3377
+ # @return [Types::VoiceConnectorGroup]
3378
+ #
3379
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateVoiceConnectorGroupResponse AWS API Documentation
3380
+ #
3381
+ class UpdateVoiceConnectorGroupResponse < Struct.new(
3382
+ :voice_connector_group)
3383
+ include Aws::Structure
3384
+ end
3385
+
2834
3386
  # @note When making an API call, you may pass UpdateVoiceConnectorRequest
2835
3387
  # data as a hash:
2836
3388
  #
@@ -2863,7 +3415,7 @@ module Aws::Chime
2863
3415
  end
2864
3416
 
2865
3417
  # @!attribute [rw] voice_connector
2866
- # The Amazon Chime Voice Connector details.
3418
+ # The updated Amazon Chime Voice Connector details.
2867
3419
  # @return [Types::VoiceConnector]
2868
3420
  #
2869
3421
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateVoiceConnectorResponse AWS API Documentation
@@ -2994,6 +3546,11 @@ module Aws::Chime
2994
3546
  # The Amazon Chime Voice Connector ID.
2995
3547
  # @return [String]
2996
3548
  #
3549
+ # @!attribute [rw] aws_region
3550
+ # The AWS Region in which the Amazon Chime Voice Connector is created.
3551
+ # Default: `us-east-1`.
3552
+ # @return [String]
3553
+ #
2997
3554
  # @!attribute [rw] name
2998
3555
  # The name of the Amazon Chime Voice Connector.
2999
3556
  # @return [String]
@@ -3021,6 +3578,7 @@ module Aws::Chime
3021
3578
  #
3022
3579
  class VoiceConnector < Struct.new(
3023
3580
  :voice_connector_id,
3581
+ :aws_region,
3024
3582
  :name,
3025
3583
  :outbound_host_name,
3026
3584
  :require_encryption,
@@ -3029,6 +3587,76 @@ module Aws::Chime
3029
3587
  include Aws::Structure
3030
3588
  end
3031
3589
 
3590
+ # The Amazon Chime Voice Connector group configuration, including
3591
+ # associated Amazon Chime Voice Connectors. You can include Amazon Chime
3592
+ # Voice Connectors from different AWS Regions in your group. This
3593
+ # creates a fault tolerant mechanism for fallback in case of
3594
+ # availability events.
3595
+ #
3596
+ # @!attribute [rw] voice_connector_group_id
3597
+ # The Amazon Chime Voice Connector group ID.
3598
+ # @return [String]
3599
+ #
3600
+ # @!attribute [rw] name
3601
+ # The name of the Amazon Chime Voice Connector group.
3602
+ # @return [String]
3603
+ #
3604
+ # @!attribute [rw] voice_connector_items
3605
+ # The Amazon Chime Voice Connectors to which to route inbound calls.
3606
+ # @return [Array<Types::VoiceConnectorItem>]
3607
+ #
3608
+ # @!attribute [rw] created_timestamp
3609
+ # The Amazon Chime Voice Connector group creation timestamp, in ISO
3610
+ # 8601 format.
3611
+ # @return [Time]
3612
+ #
3613
+ # @!attribute [rw] updated_timestamp
3614
+ # The updated Amazon Chime Voice Connector group timestamp, in ISO
3615
+ # 8601 format.
3616
+ # @return [Time]
3617
+ #
3618
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/VoiceConnectorGroup AWS API Documentation
3619
+ #
3620
+ class VoiceConnectorGroup < Struct.new(
3621
+ :voice_connector_group_id,
3622
+ :name,
3623
+ :voice_connector_items,
3624
+ :created_timestamp,
3625
+ :updated_timestamp)
3626
+ include Aws::Structure
3627
+ end
3628
+
3629
+ # For Amazon Chime Voice Connector groups, the Amazon Chime Voice
3630
+ # Connectors to which to route inbound calls. Includes priority
3631
+ # configuration settings. Limit: 3 `VoiceConnectorItems` per Amazon
3632
+ # Chime Voice Connector group.
3633
+ #
3634
+ # @note When making an API call, you may pass VoiceConnectorItem
3635
+ # data as a hash:
3636
+ #
3637
+ # {
3638
+ # voice_connector_id: "NonEmptyString", # required
3639
+ # priority: 1, # required
3640
+ # }
3641
+ #
3642
+ # @!attribute [rw] voice_connector_id
3643
+ # The Amazon Chime Voice Connector ID.
3644
+ # @return [String]
3645
+ #
3646
+ # @!attribute [rw] priority
3647
+ # The priority associated with the Amazon Chime Voice Connector, with
3648
+ # 1 being the highest priority. Higher priority Amazon Chime Voice
3649
+ # Connectors are attempted first.
3650
+ # @return [Integer]
3651
+ #
3652
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/VoiceConnectorItem AWS API Documentation
3653
+ #
3654
+ class VoiceConnectorItem < Struct.new(
3655
+ :voice_connector_id,
3656
+ :priority)
3657
+ include Aws::Structure
3658
+ end
3659
+
3032
3660
  # The Amazon Chime Voice Connector settings. Includes any Amazon S3
3033
3661
  # buckets designated for storing call detail records.
3034
3662
  #