aws-sdk-chime 1.14.0 → 1.15.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
  SHA1:
3
- metadata.gz: ef6a52f54270cb614f6a4d291e82ee2eeb3214ba
4
- data.tar.gz: 3cb28568df18d7c85663380c672d0304537bba56
3
+ metadata.gz: ae73c3d4adb2b8f6e1ce79270c0b38cbe7dcf8a5
4
+ data.tar.gz: 740de8ccf1458bd47c259a47e74bd2564dec72eb
5
5
  SHA512:
6
- metadata.gz: 671c33ac643ed2ef0055e66fd32d34d71ed83b8efee4f75d094c9e821bc02ebe129f3f0decc353e65cb655fcd5832bc64cb6f9f3ef486c0085577964ea2f96c2
7
- data.tar.gz: 8e173920fa6be52af229f22ee32918bf70fa3fcb6b60815adcc4b71fe9f0b72ff5090e0658cd32c0bfca93850f3c3f49c38bc4d8cd8c74c0d746fe85fd08781e
6
+ metadata.gz: 47de940e1c4f0b38c07cd6e92e15443cdddce340bc36da90c8b9bd9b4aa34d0a81c32bcce81e30bbb78e4a27d7e1edf8c097089efab87f550348073c26c3a9a2
7
+ data.tar.gz: 1d4ff823c0bbbe3349c92a0cb1daa111e0531f67db9b32092696967f8b0b2202b70fa133e207dba352c76fc7af7a754c649692dd81c6f284b475a34d231d34a8
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-chime/customizations'
42
42
  # @service
43
43
  module Aws::Chime
44
44
 
45
- GEM_VERSION = '1.14.0'
45
+ GEM_VERSION = '1.15.0'
46
46
 
47
47
  end
@@ -284,7 +284,7 @@ module Aws::Chime
284
284
  req.send_request(options)
285
285
  end
286
286
 
287
- # Associates a phone number with the specified Amazon Chime Voice
287
+ # Associates phone numbers with the specified Amazon Chime Voice
288
288
  # Connector.
289
289
  #
290
290
  # @option params [required, String] :voice_connector_id
@@ -293,6 +293,12 @@ module Aws::Chime
293
293
  # @option params [Array<String>] :e164_phone_numbers
294
294
  # List of phone numbers, in E.164 format.
295
295
  #
296
+ # @option params [Boolean] :force_associate
297
+ # If true, associates the provided phone numbers with the provided
298
+ # Amazon Chime Voice Connector and removes any previously existing
299
+ # associations. If false, does not associate any phone numbers that have
300
+ # previously existing associations.
301
+ #
296
302
  # @return [Types::AssociatePhoneNumbersWithVoiceConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
297
303
  #
298
304
  # * {Types::AssociatePhoneNumbersWithVoiceConnectorResponse#phone_number_errors #phone_number_errors} => Array&lt;Types::PhoneNumberError&gt;
@@ -302,13 +308,14 @@ module Aws::Chime
302
308
  # resp = client.associate_phone_numbers_with_voice_connector({
303
309
  # voice_connector_id: "NonEmptyString", # required
304
310
  # e164_phone_numbers: ["E164PhoneNumber"],
311
+ # force_associate: false,
305
312
  # })
306
313
  #
307
314
  # @example Response structure
308
315
  #
309
316
  # resp.phone_number_errors #=> Array
310
317
  # resp.phone_number_errors[0].phone_number_id #=> String
311
- # resp.phone_number_errors[0].error_code #=> String, one of "Unauthorized", "Forbidden", "NotFound", "BadRequest", "Conflict", "ServiceFailure", "ServiceUnavailable", "Unprocessable", "Throttled", "PreconditionFailed"
318
+ # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
312
319
  # resp.phone_number_errors[0].error_message #=> String
313
320
  #
314
321
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumbersWithVoiceConnector AWS API Documentation
@@ -320,6 +327,49 @@ module Aws::Chime
320
327
  req.send_request(options)
321
328
  end
322
329
 
330
+ # Associates phone numbers with the specified Amazon Chime Voice
331
+ # Connector group.
332
+ #
333
+ # @option params [required, String] :voice_connector_group_id
334
+ # The Amazon Chime Voice Connector group ID.
335
+ #
336
+ # @option params [Array<String>] :e164_phone_numbers
337
+ # List of phone numbers, in E.164 format.
338
+ #
339
+ # @option params [Boolean] :force_associate
340
+ # If true, associates the provided phone numbers with the provided
341
+ # Amazon Chime Voice Connector Group and removes any previously existing
342
+ # associations. If false, does not associate any phone numbers that have
343
+ # previously existing associations.
344
+ #
345
+ # @return [Types::AssociatePhoneNumbersWithVoiceConnectorGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
346
+ #
347
+ # * {Types::AssociatePhoneNumbersWithVoiceConnectorGroupResponse#phone_number_errors #phone_number_errors} => Array&lt;Types::PhoneNumberError&gt;
348
+ #
349
+ # @example Request syntax with placeholder values
350
+ #
351
+ # resp = client.associate_phone_numbers_with_voice_connector_group({
352
+ # voice_connector_group_id: "NonEmptyString", # required
353
+ # e164_phone_numbers: ["E164PhoneNumber"],
354
+ # force_associate: false,
355
+ # })
356
+ #
357
+ # @example Response structure
358
+ #
359
+ # resp.phone_number_errors #=> Array
360
+ # resp.phone_number_errors[0].phone_number_id #=> String
361
+ # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
362
+ # resp.phone_number_errors[0].error_message #=> String
363
+ #
364
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumbersWithVoiceConnectorGroup AWS API Documentation
365
+ #
366
+ # @overload associate_phone_numbers_with_voice_connector_group(params = {})
367
+ # @param [Hash] params ({})
368
+ def associate_phone_numbers_with_voice_connector_group(params = {}, options = {})
369
+ req = build_request(:associate_phone_numbers_with_voice_connector_group, params)
370
+ req.send_request(options)
371
+ end
372
+
323
373
  # Moves phone numbers into the **Deletion queue**. Phone numbers must be
324
374
  # disassociated from any users or Amazon Chime Voice Connectors before
325
375
  # they can be deleted.
@@ -344,7 +394,7 @@ module Aws::Chime
344
394
  #
345
395
  # resp.phone_number_errors #=> Array
346
396
  # resp.phone_number_errors[0].phone_number_id #=> String
347
- # resp.phone_number_errors[0].error_code #=> String, one of "Unauthorized", "Forbidden", "NotFound", "BadRequest", "Conflict", "ServiceFailure", "ServiceUnavailable", "Unprocessable", "Throttled", "PreconditionFailed"
397
+ # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
348
398
  # resp.phone_number_errors[0].error_message #=> String
349
399
  #
350
400
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchDeletePhoneNumber AWS API Documentation
@@ -399,7 +449,7 @@ module Aws::Chime
399
449
  #
400
450
  # resp.user_errors #=> Array
401
451
  # resp.user_errors[0].user_id #=> String
402
- # resp.user_errors[0].error_code #=> String, one of "Unauthorized", "Forbidden", "NotFound", "BadRequest", "Conflict", "ServiceFailure", "ServiceUnavailable", "Unprocessable", "Throttled", "PreconditionFailed"
452
+ # resp.user_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
403
453
  # resp.user_errors[0].error_message #=> String
404
454
  #
405
455
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchSuspendUser AWS API Documentation
@@ -446,7 +496,7 @@ module Aws::Chime
446
496
  #
447
497
  # resp.user_errors #=> Array
448
498
  # resp.user_errors[0].user_id #=> String
449
- # resp.user_errors[0].error_code #=> String, one of "Unauthorized", "Forbidden", "NotFound", "BadRequest", "Conflict", "ServiceFailure", "ServiceUnavailable", "Unprocessable", "Throttled", "PreconditionFailed"
499
+ # resp.user_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
450
500
  # resp.user_errors[0].error_message #=> String
451
501
  #
452
502
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUnsuspendUser AWS API Documentation
@@ -458,14 +508,21 @@ module Aws::Chime
458
508
  req.send_request(options)
459
509
  end
460
510
 
461
- # Updates phone number product types. Choose from Amazon Chime Business
462
- # Calling and Amazon Chime Voice Connector product types. For toll-free
463
- # numbers, you can use only the Amazon Chime Voice Connector product
464
- # type.
511
+ # Updates phone number product types or calling names. You can update
512
+ # one attribute at a time for each `UpdatePhoneNumberRequestItem`. For
513
+ # example, you can update either the product type or the calling name.
514
+ #
515
+ # For product types, choose from Amazon Chime Business Calling and
516
+ # Amazon Chime Voice Connector. For toll-free numbers, you must use the
517
+ # Amazon Chime Voice Connector product type.
518
+ #
519
+ # Updates to outbound calling names can take up to 72 hours to complete.
520
+ # Pending updates to outbound calling names must be complete before you
521
+ # can request another update.
465
522
  #
466
523
  # @option params [required, Array<Types::UpdatePhoneNumberRequestItem>] :update_phone_number_request_items
467
- # The request containing the phone number IDs and product types to
468
- # update.
524
+ # The request containing the phone number IDs and product types or
525
+ # calling names to update.
469
526
  #
470
527
  # @return [Types::BatchUpdatePhoneNumberResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
471
528
  #
@@ -478,6 +535,7 @@ module Aws::Chime
478
535
  # {
479
536
  # phone_number_id: "NonEmptyString", # required
480
537
  # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector
538
+ # calling_name: "CallingName",
481
539
  # },
482
540
  # ],
483
541
  # })
@@ -486,7 +544,7 @@ module Aws::Chime
486
544
  #
487
545
  # resp.phone_number_errors #=> Array
488
546
  # resp.phone_number_errors[0].phone_number_id #=> String
489
- # resp.phone_number_errors[0].error_code #=> String, one of "Unauthorized", "Forbidden", "NotFound", "BadRequest", "Conflict", "ServiceFailure", "ServiceUnavailable", "Unprocessable", "Throttled", "PreconditionFailed"
547
+ # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
490
548
  # resp.phone_number_errors[0].error_message #=> String
491
549
  #
492
550
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUpdatePhoneNumber AWS API Documentation
@@ -528,7 +586,7 @@ module Aws::Chime
528
586
  #
529
587
  # resp.user_errors #=> Array
530
588
  # resp.user_errors[0].user_id #=> String
531
- # resp.user_errors[0].error_code #=> String, one of "Unauthorized", "Forbidden", "NotFound", "BadRequest", "Conflict", "ServiceFailure", "ServiceUnavailable", "Unprocessable", "Throttled", "PreconditionFailed"
589
+ # resp.user_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
532
590
  # resp.user_errors[0].error_message #=> String
533
591
  #
534
592
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUpdateUser AWS API Documentation
@@ -629,7 +687,7 @@ module Aws::Chime
629
687
 
630
688
  # Creates an order for phone numbers to be provisioned. Choose from
631
689
  # Amazon Chime Business Calling and Amazon Chime Voice Connector product
632
- # types. For toll-free numbers, you can use only the Amazon Chime Voice
690
+ # types. For toll-free numbers, you must use the Amazon Chime Voice
633
691
  # Connector product type.
634
692
  #
635
693
  # @option params [required, String] :product_type
@@ -670,14 +728,21 @@ module Aws::Chime
670
728
  end
671
729
 
672
730
  # Creates an Amazon Chime Voice Connector under the administrator's AWS
673
- # account. Enabling CreateVoiceConnectorRequest$RequireEncryption
674
- # configures your Amazon Chime Voice Connector to use TLS transport for
675
- # SIP signaling and Secure RTP (SRTP) for media. Inbound calls use TLS
676
- # transport, and unencrypted outbound calls are blocked.
731
+ # account. You can choose to create an Amazon Chime Voice Connector in a
732
+ # specific AWS Region.
733
+ #
734
+ # Enabling CreateVoiceConnectorRequest$RequireEncryption configures your
735
+ # Amazon Chime Voice Connector to use TLS transport for SIP signaling
736
+ # and Secure RTP (SRTP) for media. Inbound calls use TLS transport, and
737
+ # unencrypted outbound calls are blocked.
677
738
  #
678
739
  # @option params [required, String] :name
679
740
  # The name of the Amazon Chime Voice Connector.
680
741
  #
742
+ # @option params [String] :aws_region
743
+ # The AWS Region in which the Amazon Chime Voice Connector is created.
744
+ # Default value: `us-east-1`.
745
+ #
681
746
  # @option params [required, Boolean] :require_encryption
682
747
  # When enabled, requires encryption for the Amazon Chime Voice
683
748
  # Connector.
@@ -690,12 +755,14 @@ module Aws::Chime
690
755
  #
691
756
  # resp = client.create_voice_connector({
692
757
  # name: "VoiceConnectorName", # required
758
+ # aws_region: "us-east-1", # accepts us-east-1, us-west-2
693
759
  # require_encryption: false, # required
694
760
  # })
695
761
  #
696
762
  # @example Response structure
697
763
  #
698
764
  # resp.voice_connector.voice_connector_id #=> String
765
+ # resp.voice_connector.aws_region #=> String, one of "us-east-1", "us-west-2"
699
766
  # resp.voice_connector.name #=> String
700
767
  # resp.voice_connector.outbound_host_name #=> String
701
768
  # resp.voice_connector.require_encryption #=> Boolean
@@ -711,6 +778,56 @@ module Aws::Chime
711
778
  req.send_request(options)
712
779
  end
713
780
 
781
+ # Creates an Amazon Chime Voice Connector group under the
782
+ # administrator's AWS account. You can associate up to three existing
783
+ # Amazon Chime Voice Connectors with the Amazon Chime Voice Connector
784
+ # group by including `VoiceConnectorItems` in the request.
785
+ #
786
+ # You can include Amazon Chime Voice Connectors from different AWS
787
+ # Regions in your group. This creates a fault tolerant mechanism for
788
+ # fallback in case of availability events.
789
+ #
790
+ # @option params [required, String] :name
791
+ # The name of the Amazon Chime Voice Connector group.
792
+ #
793
+ # @option params [Array<Types::VoiceConnectorItem>] :voice_connector_items
794
+ # The Amazon Chime Voice Connectors to route inbound calls to.
795
+ #
796
+ # @return [Types::CreateVoiceConnectorGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
797
+ #
798
+ # * {Types::CreateVoiceConnectorGroupResponse#voice_connector_group #voice_connector_group} => Types::VoiceConnectorGroup
799
+ #
800
+ # @example Request syntax with placeholder values
801
+ #
802
+ # resp = client.create_voice_connector_group({
803
+ # name: "VoiceConnectorGroupName", # required
804
+ # voice_connector_items: [
805
+ # {
806
+ # voice_connector_id: "NonEmptyString", # required
807
+ # priority: 1, # required
808
+ # },
809
+ # ],
810
+ # })
811
+ #
812
+ # @example Response structure
813
+ #
814
+ # resp.voice_connector_group.voice_connector_group_id #=> String
815
+ # resp.voice_connector_group.name #=> String
816
+ # resp.voice_connector_group.voice_connector_items #=> Array
817
+ # resp.voice_connector_group.voice_connector_items[0].voice_connector_id #=> String
818
+ # resp.voice_connector_group.voice_connector_items[0].priority #=> Integer
819
+ # resp.voice_connector_group.created_timestamp #=> Time
820
+ # resp.voice_connector_group.updated_timestamp #=> Time
821
+ #
822
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateVoiceConnectorGroup AWS API Documentation
823
+ #
824
+ # @overload create_voice_connector_group(params = {})
825
+ # @param [Hash] params ({})
826
+ def create_voice_connector_group(params = {}, options = {})
827
+ req = build_request(:create_voice_connector_group, params)
828
+ req.send_request(options)
829
+ end
830
+
714
831
  # Deletes the specified Amazon Chime account. You must suspend all users
715
832
  # before deleting a `Team` account. You can use the BatchSuspendUser
716
833
  # action to do so.
@@ -801,8 +918,8 @@ module Aws::Chime
801
918
  end
802
919
 
803
920
  # Deletes the specified Amazon Chime Voice Connector. Any phone numbers
804
- # assigned to the Amazon Chime Voice Connector must be unassigned from
805
- # it before it can be deleted.
921
+ # associated with the Amazon Chime Voice Connector must be disassociated
922
+ # from it before it can be deleted.
806
923
  #
807
924
  # @option params [required, String] :voice_connector_id
808
925
  # The Amazon Chime Voice Connector ID.
@@ -824,6 +941,30 @@ module Aws::Chime
824
941
  req.send_request(options)
825
942
  end
826
943
 
944
+ # Deletes the specified Amazon Chime Voice Connector group. Any
945
+ # `VoiceConnectorItems` and phone numbers associated with the group must
946
+ # be removed before it can be deleted.
947
+ #
948
+ # @option params [required, String] :voice_connector_group_id
949
+ # The Amazon Chime Voice Connector group ID.
950
+ #
951
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
952
+ #
953
+ # @example Request syntax with placeholder values
954
+ #
955
+ # resp = client.delete_voice_connector_group({
956
+ # voice_connector_group_id: "NonEmptyString", # required
957
+ # })
958
+ #
959
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorGroup AWS API Documentation
960
+ #
961
+ # @overload delete_voice_connector_group(params = {})
962
+ # @param [Hash] params ({})
963
+ def delete_voice_connector_group(params = {}, options = {})
964
+ req = build_request(:delete_voice_connector_group, params)
965
+ req.send_request(options)
966
+ end
967
+
827
968
  # Deletes the origination settings for the specified Amazon Chime Voice
828
969
  # Connector.
829
970
  #
@@ -847,6 +988,29 @@ module Aws::Chime
847
988
  req.send_request(options)
848
989
  end
849
990
 
991
+ # Deletes the streaming configuration for the specified Amazon Chime
992
+ # Voice Connector.
993
+ #
994
+ # @option params [required, String] :voice_connector_id
995
+ # The Amazon Chime Voice Connector ID.
996
+ #
997
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
998
+ #
999
+ # @example Request syntax with placeholder values
1000
+ #
1001
+ # resp = client.delete_voice_connector_streaming_configuration({
1002
+ # voice_connector_id: "NonEmptyString", # required
1003
+ # })
1004
+ #
1005
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorStreamingConfiguration AWS API Documentation
1006
+ #
1007
+ # @overload delete_voice_connector_streaming_configuration(params = {})
1008
+ # @param [Hash] params ({})
1009
+ def delete_voice_connector_streaming_configuration(params = {}, options = {})
1010
+ req = build_request(:delete_voice_connector_streaming_configuration, params)
1011
+ req.send_request(options)
1012
+ end
1013
+
850
1014
  # Deletes the termination settings for the specified Amazon Chime Voice
851
1015
  # Connector.
852
1016
  #
@@ -925,7 +1089,7 @@ module Aws::Chime
925
1089
  req.send_request(options)
926
1090
  end
927
1091
 
928
- # Disassociates the specified phone number from the specified Amazon
1092
+ # Disassociates the specified phone numbers from the specified Amazon
929
1093
  # Chime Voice Connector.
930
1094
  #
931
1095
  # @option params [required, String] :voice_connector_id
@@ -949,7 +1113,7 @@ module Aws::Chime
949
1113
  #
950
1114
  # resp.phone_number_errors #=> Array
951
1115
  # resp.phone_number_errors[0].phone_number_id #=> String
952
- # resp.phone_number_errors[0].error_code #=> String, one of "Unauthorized", "Forbidden", "NotFound", "BadRequest", "Conflict", "ServiceFailure", "ServiceUnavailable", "Unprocessable", "Throttled", "PreconditionFailed"
1116
+ # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
953
1117
  # resp.phone_number_errors[0].error_message #=> String
954
1118
  #
955
1119
  # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnector AWS API Documentation
@@ -961,6 +1125,42 @@ module Aws::Chime
961
1125
  req.send_request(options)
962
1126
  end
963
1127
 
1128
+ # Disassociates the specified phone numbers from the specified Amazon
1129
+ # Chime Voice Connector group.
1130
+ #
1131
+ # @option params [required, String] :voice_connector_group_id
1132
+ # The Amazon Chime Voice Connector group ID.
1133
+ #
1134
+ # @option params [Array<String>] :e164_phone_numbers
1135
+ # List of phone numbers, in E.164 format.
1136
+ #
1137
+ # @return [Types::DisassociatePhoneNumbersFromVoiceConnectorGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1138
+ #
1139
+ # * {Types::DisassociatePhoneNumbersFromVoiceConnectorGroupResponse#phone_number_errors #phone_number_errors} => Array&lt;Types::PhoneNumberError&gt;
1140
+ #
1141
+ # @example Request syntax with placeholder values
1142
+ #
1143
+ # resp = client.disassociate_phone_numbers_from_voice_connector_group({
1144
+ # voice_connector_group_id: "NonEmptyString", # required
1145
+ # e164_phone_numbers: ["E164PhoneNumber"],
1146
+ # })
1147
+ #
1148
+ # @example Response structure
1149
+ #
1150
+ # resp.phone_number_errors #=> Array
1151
+ # resp.phone_number_errors[0].phone_number_id #=> String
1152
+ # resp.phone_number_errors[0].error_code #=> String, one of "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist"
1153
+ # resp.phone_number_errors[0].error_message #=> String
1154
+ #
1155
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnectorGroup AWS API Documentation
1156
+ #
1157
+ # @overload disassociate_phone_numbers_from_voice_connector_group(params = {})
1158
+ # @param [Hash] params ({})
1159
+ def disassociate_phone_numbers_from_voice_connector_group(params = {}, options = {})
1160
+ req = build_request(:disassociate_phone_numbers_from_voice_connector_group, params)
1161
+ req.send_request(options)
1162
+ end
1163
+
964
1164
  # Retrieves details for the specified Amazon Chime account, such as
965
1165
  # account type and supported licenses.
966
1166
  #
@@ -1163,8 +1363,10 @@ module Aws::Chime
1163
1363
  # resp.phone_number.capabilities.outbound_mms #=> Boolean
1164
1364
  # resp.phone_number.associations #=> Array
1165
1365
  # resp.phone_number.associations[0].value #=> String
1166
- # resp.phone_number.associations[0].name #=> String, one of "AccountId", "UserId", "VoiceConnectorId"
1366
+ # resp.phone_number.associations[0].name #=> String, one of "AccountId", "UserId", "VoiceConnectorId", "VoiceConnectorGroupId"
1167
1367
  # resp.phone_number.associations[0].associated_timestamp #=> Time
1368
+ # resp.phone_number.calling_name #=> String
1369
+ # resp.phone_number.calling_name_status #=> String, one of "Unassigned", "UpdateInProgress", "UpdateSucceeded", "UpdateFailed"
1168
1370
  # resp.phone_number.created_timestamp #=> Time
1169
1371
  # resp.phone_number.updated_timestamp #=> Time
1170
1372
  # resp.phone_number.deletion_timestamp #=> Time
@@ -1215,6 +1417,28 @@ module Aws::Chime
1215
1417
  req.send_request(options)
1216
1418
  end
1217
1419
 
1420
+ # Retrieves the phone number settings for the administrator's AWS
1421
+ # account, such as the default outbound calling name.
1422
+ #
1423
+ # @return [Types::GetPhoneNumberSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1424
+ #
1425
+ # * {Types::GetPhoneNumberSettingsResponse#calling_name #calling_name} => String
1426
+ # * {Types::GetPhoneNumberSettingsResponse#calling_name_updated_timestamp #calling_name_updated_timestamp} => Time
1427
+ #
1428
+ # @example Response structure
1429
+ #
1430
+ # resp.calling_name #=> String
1431
+ # resp.calling_name_updated_timestamp #=> Time
1432
+ #
1433
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumberSettings AWS API Documentation
1434
+ #
1435
+ # @overload get_phone_number_settings(params = {})
1436
+ # @param [Hash] params ({})
1437
+ def get_phone_number_settings(params = {}, options = {})
1438
+ req = build_request(:get_phone_number_settings, params)
1439
+ req.send_request(options)
1440
+ end
1441
+
1218
1442
  # Retrieves details for the specified user ID, such as primary email
1219
1443
  # address, license type, and personal meeting PIN.
1220
1444
  #
@@ -1315,6 +1539,7 @@ module Aws::Chime
1315
1539
  # @example Response structure
1316
1540
  #
1317
1541
  # resp.voice_connector.voice_connector_id #=> String
1542
+ # resp.voice_connector.aws_region #=> String, one of "us-east-1", "us-west-2"
1318
1543
  # resp.voice_connector.name #=> String
1319
1544
  # resp.voice_connector.outbound_host_name #=> String
1320
1545
  # resp.voice_connector.require_encryption #=> Boolean
@@ -1330,6 +1555,71 @@ module Aws::Chime
1330
1555
  req.send_request(options)
1331
1556
  end
1332
1557
 
1558
+ # Retrieves details for the specified Amazon Chime Voice Connector
1559
+ # group, such as timestamps, name, and associated `VoiceConnectorItems`.
1560
+ #
1561
+ # @option params [required, String] :voice_connector_group_id
1562
+ # The Amazon Chime Voice Connector group ID.
1563
+ #
1564
+ # @return [Types::GetVoiceConnectorGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1565
+ #
1566
+ # * {Types::GetVoiceConnectorGroupResponse#voice_connector_group #voice_connector_group} => Types::VoiceConnectorGroup
1567
+ #
1568
+ # @example Request syntax with placeholder values
1569
+ #
1570
+ # resp = client.get_voice_connector_group({
1571
+ # voice_connector_group_id: "NonEmptyString", # required
1572
+ # })
1573
+ #
1574
+ # @example Response structure
1575
+ #
1576
+ # resp.voice_connector_group.voice_connector_group_id #=> String
1577
+ # resp.voice_connector_group.name #=> String
1578
+ # resp.voice_connector_group.voice_connector_items #=> Array
1579
+ # resp.voice_connector_group.voice_connector_items[0].voice_connector_id #=> String
1580
+ # resp.voice_connector_group.voice_connector_items[0].priority #=> Integer
1581
+ # resp.voice_connector_group.created_timestamp #=> Time
1582
+ # resp.voice_connector_group.updated_timestamp #=> Time
1583
+ #
1584
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorGroup AWS API Documentation
1585
+ #
1586
+ # @overload get_voice_connector_group(params = {})
1587
+ # @param [Hash] params ({})
1588
+ def get_voice_connector_group(params = {}, options = {})
1589
+ req = build_request(:get_voice_connector_group, params)
1590
+ req.send_request(options)
1591
+ end
1592
+
1593
+ # Retrieves the logging configuration details for the specified Amazon
1594
+ # Chime Voice Connector. Shows whether SIP message logs are enabled for
1595
+ # sending to Amazon CloudWatch Logs.
1596
+ #
1597
+ # @option params [required, String] :voice_connector_id
1598
+ # The Amazon Chime Voice Connector ID.
1599
+ #
1600
+ # @return [Types::GetVoiceConnectorLoggingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1601
+ #
1602
+ # * {Types::GetVoiceConnectorLoggingConfigurationResponse#logging_configuration #logging_configuration} => Types::LoggingConfiguration
1603
+ #
1604
+ # @example Request syntax with placeholder values
1605
+ #
1606
+ # resp = client.get_voice_connector_logging_configuration({
1607
+ # voice_connector_id: "NonEmptyString", # required
1608
+ # })
1609
+ #
1610
+ # @example Response structure
1611
+ #
1612
+ # resp.logging_configuration.enable_sip_logs #=> Boolean
1613
+ #
1614
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorLoggingConfiguration AWS API Documentation
1615
+ #
1616
+ # @overload get_voice_connector_logging_configuration(params = {})
1617
+ # @param [Hash] params ({})
1618
+ def get_voice_connector_logging_configuration(params = {}, options = {})
1619
+ req = build_request(:get_voice_connector_logging_configuration, params)
1620
+ req.send_request(options)
1621
+ end
1622
+
1333
1623
  # Retrieves origination setting details for the specified Amazon Chime
1334
1624
  # Voice Connector.
1335
1625
  #
@@ -1365,6 +1655,38 @@ module Aws::Chime
1365
1655
  req.send_request(options)
1366
1656
  end
1367
1657
 
1658
+ # Retrieves the streaming configuration details for the specified Amazon
1659
+ # Chime Voice Connector. Shows whether media streaming is enabled for
1660
+ # sending to Amazon Kinesis, and shows the retention period for the
1661
+ # Amazon Kinesis data, in hours.
1662
+ #
1663
+ # @option params [required, String] :voice_connector_id
1664
+ # The Amazon Chime Voice Connector ID.
1665
+ #
1666
+ # @return [Types::GetVoiceConnectorStreamingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1667
+ #
1668
+ # * {Types::GetVoiceConnectorStreamingConfigurationResponse#streaming_configuration #streaming_configuration} => Types::StreamingConfiguration
1669
+ #
1670
+ # @example Request syntax with placeholder values
1671
+ #
1672
+ # resp = client.get_voice_connector_streaming_configuration({
1673
+ # voice_connector_id: "NonEmptyString", # required
1674
+ # })
1675
+ #
1676
+ # @example Response structure
1677
+ #
1678
+ # resp.streaming_configuration.data_retention_in_hours #=> Integer
1679
+ # resp.streaming_configuration.disabled #=> Boolean
1680
+ #
1681
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorStreamingConfiguration AWS API Documentation
1682
+ #
1683
+ # @overload get_voice_connector_streaming_configuration(params = {})
1684
+ # @param [Hash] params ({})
1685
+ def get_voice_connector_streaming_configuration(params = {}, options = {})
1686
+ req = build_request(:get_voice_connector_streaming_configuration, params)
1687
+ req.send_request(options)
1688
+ end
1689
+
1368
1690
  # Retrieves termination setting details for the specified Amazon Chime
1369
1691
  # Voice Connector.
1370
1692
  #
@@ -1616,7 +1938,8 @@ module Aws::Chime
1616
1938
  end
1617
1939
 
1618
1940
  # Lists the phone numbers for the specified Amazon Chime account, Amazon
1619
- # Chime user, or Amazon Chime Voice Connector.
1941
+ # Chime user, Amazon Chime Voice Connector, or Amazon Chime Voice
1942
+ # Connector group.
1620
1943
  #
1621
1944
  # @option params [String] :status
1622
1945
  # The phone number status.
@@ -1646,7 +1969,7 @@ module Aws::Chime
1646
1969
  # resp = client.list_phone_numbers({
1647
1970
  # status: "AcquireInProgress", # accepts AcquireInProgress, AcquireFailed, Unassigned, Assigned, ReleaseInProgress, DeleteInProgress, ReleaseFailed, DeleteFailed
1648
1971
  # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector
1649
- # filter_name: "AccountId", # accepts AccountId, UserId, VoiceConnectorId
1972
+ # filter_name: "AccountId", # accepts AccountId, UserId, VoiceConnectorId, VoiceConnectorGroupId
1650
1973
  # filter_value: "String",
1651
1974
  # max_results: 1,
1652
1975
  # next_token: "String",
@@ -1668,8 +1991,10 @@ module Aws::Chime
1668
1991
  # resp.phone_numbers[0].capabilities.outbound_mms #=> Boolean
1669
1992
  # resp.phone_numbers[0].associations #=> Array
1670
1993
  # resp.phone_numbers[0].associations[0].value #=> String
1671
- # resp.phone_numbers[0].associations[0].name #=> String, one of "AccountId", "UserId", "VoiceConnectorId"
1994
+ # resp.phone_numbers[0].associations[0].name #=> String, one of "AccountId", "UserId", "VoiceConnectorId", "VoiceConnectorGroupId"
1672
1995
  # resp.phone_numbers[0].associations[0].associated_timestamp #=> Time
1996
+ # resp.phone_numbers[0].calling_name #=> String
1997
+ # resp.phone_numbers[0].calling_name_status #=> String, one of "Unassigned", "UpdateInProgress", "UpdateSucceeded", "UpdateFailed"
1673
1998
  # resp.phone_numbers[0].created_timestamp #=> Time
1674
1999
  # resp.phone_numbers[0].updated_timestamp #=> Time
1675
2000
  # resp.phone_numbers[0].deletion_timestamp #=> Time
@@ -1740,6 +2065,48 @@ module Aws::Chime
1740
2065
  req.send_request(options)
1741
2066
  end
1742
2067
 
2068
+ # Lists the Amazon Chime Voice Connector groups for the administrator's
2069
+ # AWS account.
2070
+ #
2071
+ # @option params [String] :next_token
2072
+ # The token to use to retrieve the next page of results.
2073
+ #
2074
+ # @option params [Integer] :max_results
2075
+ # The maximum number of results to return in a single call.
2076
+ #
2077
+ # @return [Types::ListVoiceConnectorGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2078
+ #
2079
+ # * {Types::ListVoiceConnectorGroupsResponse#voice_connector_groups #voice_connector_groups} => Array&lt;Types::VoiceConnectorGroup&gt;
2080
+ # * {Types::ListVoiceConnectorGroupsResponse#next_token #next_token} => String
2081
+ #
2082
+ # @example Request syntax with placeholder values
2083
+ #
2084
+ # resp = client.list_voice_connector_groups({
2085
+ # next_token: "String",
2086
+ # max_results: 1,
2087
+ # })
2088
+ #
2089
+ # @example Response structure
2090
+ #
2091
+ # resp.voice_connector_groups #=> Array
2092
+ # resp.voice_connector_groups[0].voice_connector_group_id #=> String
2093
+ # resp.voice_connector_groups[0].name #=> String
2094
+ # resp.voice_connector_groups[0].voice_connector_items #=> Array
2095
+ # resp.voice_connector_groups[0].voice_connector_items[0].voice_connector_id #=> String
2096
+ # resp.voice_connector_groups[0].voice_connector_items[0].priority #=> Integer
2097
+ # resp.voice_connector_groups[0].created_timestamp #=> Time
2098
+ # resp.voice_connector_groups[0].updated_timestamp #=> Time
2099
+ # resp.next_token #=> String
2100
+ #
2101
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectorGroups AWS API Documentation
2102
+ #
2103
+ # @overload list_voice_connector_groups(params = {})
2104
+ # @param [Hash] params ({})
2105
+ def list_voice_connector_groups(params = {}, options = {})
2106
+ req = build_request(:list_voice_connector_groups, params)
2107
+ req.send_request(options)
2108
+ end
2109
+
1743
2110
  # Lists the SIP credentials for the specified Amazon Chime Voice
1744
2111
  # Connector.
1745
2112
  #
@@ -1795,6 +2162,7 @@ module Aws::Chime
1795
2162
  #
1796
2163
  # resp.voice_connectors #=> Array
1797
2164
  # resp.voice_connectors[0].voice_connector_id #=> String
2165
+ # resp.voice_connectors[0].aws_region #=> String, one of "us-east-1", "us-west-2"
1798
2166
  # resp.voice_connectors[0].name #=> String
1799
2167
  # resp.voice_connectors[0].outbound_host_name #=> String
1800
2168
  # resp.voice_connectors[0].require_encryption #=> Boolean
@@ -1882,6 +2250,42 @@ module Aws::Chime
1882
2250
  req.send_request(options)
1883
2251
  end
1884
2252
 
2253
+ # Adds a logging configuration for the specified Amazon Chime Voice
2254
+ # Connector. The logging configuration specifies whether SIP message
2255
+ # logs are enabled for sending to Amazon CloudWatch Logs.
2256
+ #
2257
+ # @option params [required, String] :voice_connector_id
2258
+ # The Amazon Chime Voice Connector ID.
2259
+ #
2260
+ # @option params [required, Types::LoggingConfiguration] :logging_configuration
2261
+ # The logging configuration details to add.
2262
+ #
2263
+ # @return [Types::PutVoiceConnectorLoggingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2264
+ #
2265
+ # * {Types::PutVoiceConnectorLoggingConfigurationResponse#logging_configuration #logging_configuration} => Types::LoggingConfiguration
2266
+ #
2267
+ # @example Request syntax with placeholder values
2268
+ #
2269
+ # resp = client.put_voice_connector_logging_configuration({
2270
+ # voice_connector_id: "NonEmptyString", # required
2271
+ # logging_configuration: { # required
2272
+ # enable_sip_logs: false,
2273
+ # },
2274
+ # })
2275
+ #
2276
+ # @example Response structure
2277
+ #
2278
+ # resp.logging_configuration.enable_sip_logs #=> Boolean
2279
+ #
2280
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorLoggingConfiguration AWS API Documentation
2281
+ #
2282
+ # @overload put_voice_connector_logging_configuration(params = {})
2283
+ # @param [Hash] params ({})
2284
+ def put_voice_connector_logging_configuration(params = {}, options = {})
2285
+ req = build_request(:put_voice_connector_logging_configuration, params)
2286
+ req.send_request(options)
2287
+ end
2288
+
1885
2289
  # Adds origination settings for the specified Amazon Chime Voice
1886
2290
  # Connector.
1887
2291
  #
@@ -1932,6 +2336,45 @@ module Aws::Chime
1932
2336
  req.send_request(options)
1933
2337
  end
1934
2338
 
2339
+ # Adds a streaming configuration for the specified Amazon Chime Voice
2340
+ # Connector. The streaming configuration specifies whether media
2341
+ # streaming is enabled for sending to Amazon Kinesis, and sets the
2342
+ # retention period for the Amazon Kinesis data, in hours.
2343
+ #
2344
+ # @option params [required, String] :voice_connector_id
2345
+ # The Amazon Chime Voice Connector ID.
2346
+ #
2347
+ # @option params [required, Types::StreamingConfiguration] :streaming_configuration
2348
+ # The streaming configuration details to add.
2349
+ #
2350
+ # @return [Types::PutVoiceConnectorStreamingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2351
+ #
2352
+ # * {Types::PutVoiceConnectorStreamingConfigurationResponse#streaming_configuration #streaming_configuration} => Types::StreamingConfiguration
2353
+ #
2354
+ # @example Request syntax with placeholder values
2355
+ #
2356
+ # resp = client.put_voice_connector_streaming_configuration({
2357
+ # voice_connector_id: "NonEmptyString", # required
2358
+ # streaming_configuration: { # required
2359
+ # data_retention_in_hours: 1, # required
2360
+ # disabled: false,
2361
+ # },
2362
+ # })
2363
+ #
2364
+ # @example Response structure
2365
+ #
2366
+ # resp.streaming_configuration.data_retention_in_hours #=> Integer
2367
+ # resp.streaming_configuration.disabled #=> Boolean
2368
+ #
2369
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorStreamingConfiguration AWS API Documentation
2370
+ #
2371
+ # @overload put_voice_connector_streaming_configuration(params = {})
2372
+ # @param [Hash] params ({})
2373
+ def put_voice_connector_streaming_configuration(params = {}, options = {})
2374
+ req = build_request(:put_voice_connector_streaming_configuration, params)
2375
+ req.send_request(options)
2376
+ end
2377
+
1935
2378
  # Adds termination settings for the specified Amazon Chime Voice
1936
2379
  # Connector.
1937
2380
  #
@@ -2124,8 +2567,10 @@ module Aws::Chime
2124
2567
  # resp.phone_number.capabilities.outbound_mms #=> Boolean
2125
2568
  # resp.phone_number.associations #=> Array
2126
2569
  # resp.phone_number.associations[0].value #=> String
2127
- # resp.phone_number.associations[0].name #=> String, one of "AccountId", "UserId", "VoiceConnectorId"
2570
+ # resp.phone_number.associations[0].name #=> String, one of "AccountId", "UserId", "VoiceConnectorId", "VoiceConnectorGroupId"
2128
2571
  # resp.phone_number.associations[0].associated_timestamp #=> Time
2572
+ # resp.phone_number.calling_name #=> String
2573
+ # resp.phone_number.calling_name_status #=> String, one of "Unassigned", "UpdateInProgress", "UpdateSucceeded", "UpdateFailed"
2129
2574
  # resp.phone_number.created_timestamp #=> Time
2130
2575
  # resp.phone_number.updated_timestamp #=> Time
2131
2576
  # resp.phone_number.deletion_timestamp #=> Time
@@ -2345,9 +2790,17 @@ module Aws::Chime
2345
2790
  req.send_request(options)
2346
2791
  end
2347
2792
 
2348
- # Updates phone number details, such as product type, for the specified
2349
- # phone number ID. For toll-free numbers, you can use only the Amazon
2350
- # Chime Voice Connector product type.
2793
+ # Updates phone number details, such as product type or calling name,
2794
+ # for the specified phone number ID. You can update one phone number
2795
+ # detail at a time. For example, you can update either the product type
2796
+ # or the calling name in one action.
2797
+ #
2798
+ # For toll-free numbers, you must use the Amazon Chime Voice Connector
2799
+ # product type.
2800
+ #
2801
+ # Updates to outbound calling names can take up to 72 hours to complete.
2802
+ # Pending updates to outbound calling names must be complete before you
2803
+ # can request another update.
2351
2804
  #
2352
2805
  # @option params [required, String] :phone_number_id
2353
2806
  # The phone number ID.
@@ -2355,6 +2808,9 @@ module Aws::Chime
2355
2808
  # @option params [String] :product_type
2356
2809
  # The product type.
2357
2810
  #
2811
+ # @option params [String] :calling_name
2812
+ # The outbound calling name associated with the phone number.
2813
+ #
2358
2814
  # @return [Types::UpdatePhoneNumberResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2359
2815
  #
2360
2816
  # * {Types::UpdatePhoneNumberResponse#phone_number #phone_number} => Types::PhoneNumber
@@ -2364,6 +2820,7 @@ module Aws::Chime
2364
2820
  # resp = client.update_phone_number({
2365
2821
  # phone_number_id: "String", # required
2366
2822
  # product_type: "BusinessCalling", # accepts BusinessCalling, VoiceConnector
2823
+ # calling_name: "CallingName",
2367
2824
  # })
2368
2825
  #
2369
2826
  # @example Response structure
@@ -2381,8 +2838,10 @@ module Aws::Chime
2381
2838
  # resp.phone_number.capabilities.outbound_mms #=> Boolean
2382
2839
  # resp.phone_number.associations #=> Array
2383
2840
  # resp.phone_number.associations[0].value #=> String
2384
- # resp.phone_number.associations[0].name #=> String, one of "AccountId", "UserId", "VoiceConnectorId"
2841
+ # resp.phone_number.associations[0].name #=> String, one of "AccountId", "UserId", "VoiceConnectorId", "VoiceConnectorGroupId"
2385
2842
  # resp.phone_number.associations[0].associated_timestamp #=> Time
2843
+ # resp.phone_number.calling_name #=> String
2844
+ # resp.phone_number.calling_name_status #=> String, one of "Unassigned", "UpdateInProgress", "UpdateSucceeded", "UpdateFailed"
2386
2845
  # resp.phone_number.created_timestamp #=> Time
2387
2846
  # resp.phone_number.updated_timestamp #=> Time
2388
2847
  # resp.phone_number.deletion_timestamp #=> Time
@@ -2396,6 +2855,31 @@ module Aws::Chime
2396
2855
  req.send_request(options)
2397
2856
  end
2398
2857
 
2858
+ # Updates the phone number settings for the administrator's AWS
2859
+ # account, such as the default outbound calling name. You can update the
2860
+ # default outbound calling name once every seven days. Outbound calling
2861
+ # names can take up to 72 hours to be updated.
2862
+ #
2863
+ # @option params [required, String] :calling_name
2864
+ # The default outbound calling name for the account.
2865
+ #
2866
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2867
+ #
2868
+ # @example Request syntax with placeholder values
2869
+ #
2870
+ # resp = client.update_phone_number_settings({
2871
+ # calling_name: "CallingName", # required
2872
+ # })
2873
+ #
2874
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdatePhoneNumberSettings AWS API Documentation
2875
+ #
2876
+ # @overload update_phone_number_settings(params = {})
2877
+ # @param [Hash] params ({})
2878
+ def update_phone_number_settings(params = {}, options = {})
2879
+ req = build_request(:update_phone_number_settings, params)
2880
+ req.send_request(options)
2881
+ end
2882
+
2399
2883
  # Updates user details for a specified user ID. Currently, only
2400
2884
  # `LicenseType` updates are supported for this action.
2401
2885
  #
@@ -2508,6 +2992,7 @@ module Aws::Chime
2508
2992
  # @example Response structure
2509
2993
  #
2510
2994
  # resp.voice_connector.voice_connector_id #=> String
2995
+ # resp.voice_connector.aws_region #=> String, one of "us-east-1", "us-west-2"
2511
2996
  # resp.voice_connector.name #=> String
2512
2997
  # resp.voice_connector.outbound_host_name #=> String
2513
2998
  # resp.voice_connector.require_encryption #=> Boolean
@@ -2523,6 +3008,54 @@ module Aws::Chime
2523
3008
  req.send_request(options)
2524
3009
  end
2525
3010
 
3011
+ # Updates details for the specified Amazon Chime Voice Connector group,
3012
+ # such as the name and Amazon Chime Voice Connector priority ranking.
3013
+ #
3014
+ # @option params [required, String] :voice_connector_group_id
3015
+ # The Amazon Chime Voice Connector group ID.
3016
+ #
3017
+ # @option params [required, String] :name
3018
+ # The name of the Amazon Chime Voice Connector group.
3019
+ #
3020
+ # @option params [required, Array<Types::VoiceConnectorItem>] :voice_connector_items
3021
+ # The `VoiceConnectorItems` to associate with the group.
3022
+ #
3023
+ # @return [Types::UpdateVoiceConnectorGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3024
+ #
3025
+ # * {Types::UpdateVoiceConnectorGroupResponse#voice_connector_group #voice_connector_group} => Types::VoiceConnectorGroup
3026
+ #
3027
+ # @example Request syntax with placeholder values
3028
+ #
3029
+ # resp = client.update_voice_connector_group({
3030
+ # voice_connector_group_id: "NonEmptyString", # required
3031
+ # name: "VoiceConnectorGroupName", # required
3032
+ # voice_connector_items: [ # required
3033
+ # {
3034
+ # voice_connector_id: "NonEmptyString", # required
3035
+ # priority: 1, # required
3036
+ # },
3037
+ # ],
3038
+ # })
3039
+ #
3040
+ # @example Response structure
3041
+ #
3042
+ # resp.voice_connector_group.voice_connector_group_id #=> String
3043
+ # resp.voice_connector_group.name #=> String
3044
+ # resp.voice_connector_group.voice_connector_items #=> Array
3045
+ # resp.voice_connector_group.voice_connector_items[0].voice_connector_id #=> String
3046
+ # resp.voice_connector_group.voice_connector_items[0].priority #=> Integer
3047
+ # resp.voice_connector_group.created_timestamp #=> Time
3048
+ # resp.voice_connector_group.updated_timestamp #=> Time
3049
+ #
3050
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateVoiceConnectorGroup AWS API Documentation
3051
+ #
3052
+ # @overload update_voice_connector_group(params = {})
3053
+ # @param [Hash] params ({})
3054
+ def update_voice_connector_group(params = {}, options = {})
3055
+ req = build_request(:update_voice_connector_group, params)
3056
+ req.send_request(options)
3057
+ end
3058
+
2526
3059
  # @!endgroup
2527
3060
 
2528
3061
  # @param params ({})
@@ -2536,7 +3069,7 @@ module Aws::Chime
2536
3069
  params: params,
2537
3070
  config: config)
2538
3071
  context[:gem_name] = 'aws-sdk-chime'
2539
- context[:gem_version] = '1.14.0'
3072
+ context[:gem_version] = '1.15.0'
2540
3073
  Seahorse::Client::Request.new(handlers, context)
2541
3074
  end
2542
3075