aws-sdk-connect 1.68.0 → 1.69.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -382,6 +382,38 @@ module Aws::Connect
382
382
  include Aws::Structure
383
383
  end
384
384
 
385
+ # @note When making an API call, you may pass AssociatePhoneNumberContactFlowRequest
386
+ # data as a hash:
387
+ #
388
+ # {
389
+ # phone_number_id: "PhoneNumberId", # required
390
+ # instance_id: "InstanceId", # required
391
+ # contact_flow_id: "ContactFlowId", # required
392
+ # }
393
+ #
394
+ # @!attribute [rw] phone_number_id
395
+ # A unique identifier for the phone number.
396
+ # @return [String]
397
+ #
398
+ # @!attribute [rw] instance_id
399
+ # The identifier of the Amazon Connect instance. You can find the
400
+ # instanceId in the ARN of the instance.
401
+ # @return [String]
402
+ #
403
+ # @!attribute [rw] contact_flow_id
404
+ # The identifier of the contact flow.
405
+ # @return [String]
406
+ #
407
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociatePhoneNumberContactFlowRequest AWS API Documentation
408
+ #
409
+ class AssociatePhoneNumberContactFlowRequest < Struct.new(
410
+ :phone_number_id,
411
+ :instance_id,
412
+ :contact_flow_id)
413
+ SENSITIVE = []
414
+ include Aws::Structure
415
+ end
416
+
385
417
  # @note When making an API call, you may pass AssociateQueueQuickConnectsRequest
386
418
  # data as a hash:
387
419
  #
@@ -538,6 +570,31 @@ module Aws::Connect
538
570
  include Aws::Structure
539
571
  end
540
572
 
573
+ # Information about available phone numbers.
574
+ #
575
+ # @!attribute [rw] phone_number
576
+ # The phone number. Phone numbers are formatted `[+] [country code]
577
+ # [subscriber number including area code]`.
578
+ # @return [String]
579
+ #
580
+ # @!attribute [rw] phone_number_country_code
581
+ # The ISO country code.
582
+ # @return [String]
583
+ #
584
+ # @!attribute [rw] phone_number_type
585
+ # The type of phone number.
586
+ # @return [String]
587
+ #
588
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AvailableNumberSummary AWS API Documentation
589
+ #
590
+ class AvailableNumberSummary < Struct.new(
591
+ :phone_number,
592
+ :phone_number_country_code,
593
+ :phone_number_type)
594
+ SENSITIVE = []
595
+ include Aws::Structure
596
+ end
597
+
541
598
  # A chat message.
542
599
  #
543
600
  # @note When making an API call, you may pass ChatMessage
@@ -589,6 +646,133 @@ module Aws::Connect
589
646
  include Aws::Structure
590
647
  end
591
648
 
649
+ # @note When making an API call, you may pass ClaimPhoneNumberRequest
650
+ # data as a hash:
651
+ #
652
+ # {
653
+ # target_arn: "ARN", # required
654
+ # phone_number: "PhoneNumber", # required
655
+ # phone_number_description: "PhoneNumberDescription",
656
+ # tags: {
657
+ # "TagKey" => "TagValue",
658
+ # },
659
+ # client_token: "ClientToken",
660
+ # }
661
+ #
662
+ # @!attribute [rw] target_arn
663
+ # The Amazon Resource Name (ARN) for Amazon Connect instances that
664
+ # phone numbers are claimed to.
665
+ # @return [String]
666
+ #
667
+ # @!attribute [rw] phone_number
668
+ # The phone number you want to claim. Phone numbers are formatted `[+]
669
+ # [country code] [subscriber number including area code]`.
670
+ # @return [String]
671
+ #
672
+ # @!attribute [rw] phone_number_description
673
+ # The description of the phone number.
674
+ # @return [String]
675
+ #
676
+ # @!attribute [rw] tags
677
+ # The tags used to organize, track, or control access for this
678
+ # resource.
679
+ # @return [Hash<String,String>]
680
+ #
681
+ # @!attribute [rw] client_token
682
+ # A unique, case-sensitive identifier that you provide to ensure the
683
+ # idempotency of the request.
684
+ #
685
+ # **A suitable default value is auto-generated.** You should normally
686
+ # not need to pass this option.
687
+ # @return [String]
688
+ #
689
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ClaimPhoneNumberRequest AWS API Documentation
690
+ #
691
+ class ClaimPhoneNumberRequest < Struct.new(
692
+ :target_arn,
693
+ :phone_number,
694
+ :phone_number_description,
695
+ :tags,
696
+ :client_token)
697
+ SENSITIVE = []
698
+ include Aws::Structure
699
+ end
700
+
701
+ # @!attribute [rw] phone_number_id
702
+ # The identifier of the phone number.
703
+ # @return [String]
704
+ #
705
+ # @!attribute [rw] phone_number_arn
706
+ # The Amazon Resource Name (ARN) of the phone number.
707
+ # @return [String]
708
+ #
709
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ClaimPhoneNumberResponse AWS API Documentation
710
+ #
711
+ class ClaimPhoneNumberResponse < Struct.new(
712
+ :phone_number_id,
713
+ :phone_number_arn)
714
+ SENSITIVE = []
715
+ include Aws::Structure
716
+ end
717
+
718
+ # Information about a phone number that has been claimed to your Amazon
719
+ # Connect instance.
720
+ #
721
+ # @!attribute [rw] phone_number_id
722
+ # The identifier of the phone number.
723
+ # @return [String]
724
+ #
725
+ # @!attribute [rw] phone_number_arn
726
+ # The Amazon Resource Name (ARN) of the phone number.
727
+ # @return [String]
728
+ #
729
+ # @!attribute [rw] phone_number
730
+ # The phone number. Phone numbers are formatted `[+] [country code]
731
+ # [subscriber number including area code]`.
732
+ # @return [String]
733
+ #
734
+ # @!attribute [rw] phone_number_country_code
735
+ # The ISO country code.
736
+ # @return [String]
737
+ #
738
+ # @!attribute [rw] phone_number_type
739
+ # The type of phone number.
740
+ # @return [String]
741
+ #
742
+ # @!attribute [rw] phone_number_description
743
+ # The description of the phone number.
744
+ # @return [String]
745
+ #
746
+ # @!attribute [rw] target_arn
747
+ # The Amazon Resource Name (ARN) for Amazon Connect instances that
748
+ # phone numbers are claimed to.
749
+ # @return [String]
750
+ #
751
+ # @!attribute [rw] tags
752
+ # The tags used to organize, track, or control access for this
753
+ # resource.
754
+ # @return [Hash<String,String>]
755
+ #
756
+ # @!attribute [rw] phone_number_status
757
+ # The status of the phone number.
758
+ # @return [Types::PhoneNumberStatus]
759
+ #
760
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ClaimedPhoneNumberSummary AWS API Documentation
761
+ #
762
+ class ClaimedPhoneNumberSummary < Struct.new(
763
+ :phone_number_id,
764
+ :phone_number_arn,
765
+ :phone_number,
766
+ :phone_number_country_code,
767
+ :phone_number_type,
768
+ :phone_number_description,
769
+ :target_arn,
770
+ :tags,
771
+ :phone_number_status)
772
+ SENSITIVE = []
773
+ include Aws::Structure
774
+ end
775
+
592
776
  # Contains information about a contact.
593
777
  #
594
778
  # @!attribute [rw] arn
@@ -2736,6 +2920,38 @@ module Aws::Connect
2736
2920
  include Aws::Structure
2737
2921
  end
2738
2922
 
2923
+ # @note When making an API call, you may pass DescribePhoneNumberRequest
2924
+ # data as a hash:
2925
+ #
2926
+ # {
2927
+ # phone_number_id: "PhoneNumberId", # required
2928
+ # }
2929
+ #
2930
+ # @!attribute [rw] phone_number_id
2931
+ # The identifier of the phone number.
2932
+ # @return [String]
2933
+ #
2934
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribePhoneNumberRequest AWS API Documentation
2935
+ #
2936
+ class DescribePhoneNumberRequest < Struct.new(
2937
+ :phone_number_id)
2938
+ SENSITIVE = []
2939
+ include Aws::Structure
2940
+ end
2941
+
2942
+ # @!attribute [rw] claimed_phone_number_summary
2943
+ # Information about a phone number that's been claimed to your Amazon
2944
+ # Connect instance.
2945
+ # @return [Types::ClaimedPhoneNumberSummary]
2946
+ #
2947
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribePhoneNumberResponse AWS API Documentation
2948
+ #
2949
+ class DescribePhoneNumberResponse < Struct.new(
2950
+ :claimed_phone_number_summary)
2951
+ SENSITIVE = []
2952
+ include Aws::Structure
2953
+ end
2954
+
2739
2955
  # @note When making an API call, you may pass DescribeQueueRequest
2740
2956
  # data as a hash:
2741
2957
  #
@@ -3225,6 +3441,32 @@ module Aws::Connect
3225
3441
  include Aws::Structure
3226
3442
  end
3227
3443
 
3444
+ # @note When making an API call, you may pass DisassociatePhoneNumberContactFlowRequest
3445
+ # data as a hash:
3446
+ #
3447
+ # {
3448
+ # phone_number_id: "PhoneNumberId", # required
3449
+ # instance_id: "InstanceId", # required
3450
+ # }
3451
+ #
3452
+ # @!attribute [rw] phone_number_id
3453
+ # The identifier of the phone number.
3454
+ # @return [String]
3455
+ #
3456
+ # @!attribute [rw] instance_id
3457
+ # The identifier of the Amazon Connect instance. You can find the
3458
+ # instanceId in the ARN of the instance.
3459
+ # @return [String]
3460
+ #
3461
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociatePhoneNumberContactFlowRequest AWS API Documentation
3462
+ #
3463
+ class DisassociatePhoneNumberContactFlowRequest < Struct.new(
3464
+ :phone_number_id,
3465
+ :instance_id)
3466
+ SENSITIVE = []
3467
+ include Aws::Structure
3468
+ end
3469
+
3228
3470
  # @note When making an API call, you may pass DisassociateQueueQuickConnectsRequest
3229
3471
  # data as a hash:
3230
3472
  #
@@ -5771,6 +6013,122 @@ module Aws::Connect
5771
6013
  include Aws::Structure
5772
6014
  end
5773
6015
 
6016
+ # Information about phone numbers that have been claimed to your Amazon
6017
+ # Connect instance.
6018
+ #
6019
+ # @!attribute [rw] phone_number_id
6020
+ # The identifier of the phone number.
6021
+ # @return [String]
6022
+ #
6023
+ # @!attribute [rw] phone_number_arn
6024
+ # The Amazon Resource Name (ARN) of the phone number.
6025
+ # @return [String]
6026
+ #
6027
+ # @!attribute [rw] phone_number
6028
+ # The phone number. Phone numbers are formatted `[+] [country code]
6029
+ # [subscriber number including area code]`.
6030
+ # @return [String]
6031
+ #
6032
+ # @!attribute [rw] phone_number_country_code
6033
+ # The ISO country code.
6034
+ # @return [String]
6035
+ #
6036
+ # @!attribute [rw] phone_number_type
6037
+ # The type of phone number.
6038
+ # @return [String]
6039
+ #
6040
+ # @!attribute [rw] target_arn
6041
+ # The Amazon Resource Name (ARN) for Amazon Connect instances that
6042
+ # phone numbers are claimed to.
6043
+ # @return [String]
6044
+ #
6045
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListPhoneNumbersSummary AWS API Documentation
6046
+ #
6047
+ class ListPhoneNumbersSummary < Struct.new(
6048
+ :phone_number_id,
6049
+ :phone_number_arn,
6050
+ :phone_number,
6051
+ :phone_number_country_code,
6052
+ :phone_number_type,
6053
+ :target_arn)
6054
+ SENSITIVE = []
6055
+ include Aws::Structure
6056
+ end
6057
+
6058
+ # @note When making an API call, you may pass ListPhoneNumbersV2Request
6059
+ # data as a hash:
6060
+ #
6061
+ # {
6062
+ # target_arn: "ARN",
6063
+ # max_results: 1,
6064
+ # next_token: "LargeNextToken",
6065
+ # phone_number_country_codes: ["AF"], # accepts AF, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BR, IO, VG, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CK, CR, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, TL, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GU, GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, CI, JM, JP, JE, JO, KZ, KE, KI, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, KP, MP, NO, OM, PK, PW, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, CG, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, KR, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TG, TK, TO, TT, TN, TR, TM, TC, TV, VI, UG, UA, AE, GB, US, UY, UZ, VU, VA, VE, VN, WF, EH, YE, ZM, ZW
6066
+ # phone_number_types: ["TOLL_FREE"], # accepts TOLL_FREE, DID
6067
+ # phone_number_prefix: "PhoneNumberPrefix",
6068
+ # }
6069
+ #
6070
+ # @!attribute [rw] target_arn
6071
+ # The Amazon Resource Name (ARN) for Amazon Connect instances that
6072
+ # phone numbers are claimed to. If `TargetArn` input is not provided,
6073
+ # this API lists numbers claimed to all the Amazon Connect instances
6074
+ # belonging to your account.
6075
+ # @return [String]
6076
+ #
6077
+ # @!attribute [rw] max_results
6078
+ # The maximum number of results to return per page.
6079
+ # @return [Integer]
6080
+ #
6081
+ # @!attribute [rw] next_token
6082
+ # The token for the next set of results. Use the value returned in the
6083
+ # previous response in the next request to retrieve the next set of
6084
+ # results.
6085
+ # @return [String]
6086
+ #
6087
+ # @!attribute [rw] phone_number_country_codes
6088
+ # The ISO country code.
6089
+ # @return [Array<String>]
6090
+ #
6091
+ # @!attribute [rw] phone_number_types
6092
+ # The type of phone number.
6093
+ # @return [Array<String>]
6094
+ #
6095
+ # @!attribute [rw] phone_number_prefix
6096
+ # The prefix of the phone number. If provided, it must contain `+` as
6097
+ # part of the country code.
6098
+ # @return [String]
6099
+ #
6100
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListPhoneNumbersV2Request AWS API Documentation
6101
+ #
6102
+ class ListPhoneNumbersV2Request < Struct.new(
6103
+ :target_arn,
6104
+ :max_results,
6105
+ :next_token,
6106
+ :phone_number_country_codes,
6107
+ :phone_number_types,
6108
+ :phone_number_prefix)
6109
+ SENSITIVE = []
6110
+ include Aws::Structure
6111
+ end
6112
+
6113
+ # @!attribute [rw] next_token
6114
+ # If there are additional results, this is the token for the next set
6115
+ # of results.
6116
+ # @return [String]
6117
+ #
6118
+ # @!attribute [rw] list_phone_numbers_summary_list
6119
+ # Information about phone numbers that have been claimed to your
6120
+ # Amazon Connect instances.
6121
+ # @return [Array<Types::ListPhoneNumbersSummary>]
6122
+ #
6123
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListPhoneNumbersV2Response AWS API Documentation
6124
+ #
6125
+ class ListPhoneNumbersV2Response < Struct.new(
6126
+ :next_token,
6127
+ :list_phone_numbers_summary_list)
6128
+ SENSITIVE = []
6129
+ include Aws::Structure
6130
+ end
6131
+
5774
6132
  # @note When making an API call, you may pass ListPromptsRequest
5775
6133
  # data as a hash:
5776
6134
  #
@@ -6592,6 +6950,25 @@ module Aws::Connect
6592
6950
  include Aws::Structure
6593
6951
  end
6594
6952
 
6953
+ # The status of the phone number.
6954
+ #
6955
+ # @!attribute [rw] status
6956
+ # The status.
6957
+ # @return [String]
6958
+ #
6959
+ # @!attribute [rw] message
6960
+ # The status message.
6961
+ # @return [String]
6962
+ #
6963
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/PhoneNumberStatus AWS API Documentation
6964
+ #
6965
+ class PhoneNumberStatus < Struct.new(
6966
+ :status,
6967
+ :message)
6968
+ SENSITIVE = []
6969
+ include Aws::Structure
6970
+ end
6971
+
6595
6972
  # Contains summary information about a phone number for a contact
6596
6973
  # center.
6597
6974
  #
@@ -7004,6 +7381,35 @@ module Aws::Connect
7004
7381
  class Unknown < ReferenceSummary; end
7005
7382
  end
7006
7383
 
7384
+ # @note When making an API call, you may pass ReleasePhoneNumberRequest
7385
+ # data as a hash:
7386
+ #
7387
+ # {
7388
+ # phone_number_id: "PhoneNumberId", # required
7389
+ # client_token: "ClientToken",
7390
+ # }
7391
+ #
7392
+ # @!attribute [rw] phone_number_id
7393
+ # The identifier of the phone number.
7394
+ # @return [String]
7395
+ #
7396
+ # @!attribute [rw] client_token
7397
+ # A unique, case-sensitive identifier that you provide to ensure the
7398
+ # idempotency of the request.
7399
+ #
7400
+ # **A suitable default value is auto-generated.** You should normally
7401
+ # not need to pass this option.
7402
+ # @return [String]
7403
+ #
7404
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ReleasePhoneNumberRequest AWS API Documentation
7405
+ #
7406
+ class ReleasePhoneNumberRequest < Struct.new(
7407
+ :phone_number_id,
7408
+ :client_token)
7409
+ SENSITIVE = []
7410
+ include Aws::Structure
7411
+ end
7412
+
7007
7413
  # A resource already has that name.
7008
7414
  #
7009
7415
  # @!attribute [rw] message
@@ -7331,6 +7737,78 @@ module Aws::Connect
7331
7737
  include Aws::Structure
7332
7738
  end
7333
7739
 
7740
+ # @note When making an API call, you may pass SearchAvailablePhoneNumbersRequest
7741
+ # data as a hash:
7742
+ #
7743
+ # {
7744
+ # target_arn: "ARN", # required
7745
+ # phone_number_country_code: "AF", # required, accepts AF, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BR, IO, VG, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CK, CR, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, TL, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GU, GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, CI, JM, JP, JE, JO, KZ, KE, KI, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, KP, MP, NO, OM, PK, PW, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, CG, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, KR, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TG, TK, TO, TT, TN, TR, TM, TC, TV, VI, UG, UA, AE, GB, US, UY, UZ, VU, VA, VE, VN, WF, EH, YE, ZM, ZW
7746
+ # phone_number_type: "TOLL_FREE", # required, accepts TOLL_FREE, DID
7747
+ # phone_number_prefix: "PhoneNumberPrefix",
7748
+ # max_results: 1,
7749
+ # next_token: "LargeNextToken",
7750
+ # }
7751
+ #
7752
+ # @!attribute [rw] target_arn
7753
+ # The Amazon Resource Name (ARN) for Amazon Connect instances that
7754
+ # phone numbers are claimed to.
7755
+ # @return [String]
7756
+ #
7757
+ # @!attribute [rw] phone_number_country_code
7758
+ # The ISO country code.
7759
+ # @return [String]
7760
+ #
7761
+ # @!attribute [rw] phone_number_type
7762
+ # The type of phone number.
7763
+ # @return [String]
7764
+ #
7765
+ # @!attribute [rw] phone_number_prefix
7766
+ # The prefix of the phone number. If provided, it must contain `+` as
7767
+ # part of the country code.
7768
+ # @return [String]
7769
+ #
7770
+ # @!attribute [rw] max_results
7771
+ # The maximum number of results to return per page.
7772
+ # @return [Integer]
7773
+ #
7774
+ # @!attribute [rw] next_token
7775
+ # The token for the next set of results. Use the value returned in the
7776
+ # previous response in the next request to retrieve the next set of
7777
+ # results.
7778
+ # @return [String]
7779
+ #
7780
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchAvailablePhoneNumbersRequest AWS API Documentation
7781
+ #
7782
+ class SearchAvailablePhoneNumbersRequest < Struct.new(
7783
+ :target_arn,
7784
+ :phone_number_country_code,
7785
+ :phone_number_type,
7786
+ :phone_number_prefix,
7787
+ :max_results,
7788
+ :next_token)
7789
+ SENSITIVE = []
7790
+ include Aws::Structure
7791
+ end
7792
+
7793
+ # @!attribute [rw] next_token
7794
+ # If there are additional results, this is the token for the next set
7795
+ # of results.
7796
+ # @return [String]
7797
+ #
7798
+ # @!attribute [rw] available_numbers_list
7799
+ # A list of available phone numbers that you can claim for your Amazon
7800
+ # Connect instance.
7801
+ # @return [Array<Types::AvailableNumberSummary>]
7802
+ #
7803
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchAvailablePhoneNumbersResponse AWS API Documentation
7804
+ #
7805
+ class SearchAvailablePhoneNumbersResponse < Struct.new(
7806
+ :next_token,
7807
+ :available_numbers_list)
7808
+ SENSITIVE = []
7809
+ include Aws::Structure
7810
+ end
7811
+
7334
7812
  # @note When making an API call, you may pass SearchVocabulariesRequest
7335
7813
  # data as a hash:
7336
7814
  #
@@ -8755,6 +9233,59 @@ module Aws::Connect
8755
9233
  include Aws::Structure
8756
9234
  end
8757
9235
 
9236
+ # @note When making an API call, you may pass UpdatePhoneNumberRequest
9237
+ # data as a hash:
9238
+ #
9239
+ # {
9240
+ # phone_number_id: "PhoneNumberId", # required
9241
+ # target_arn: "ARN", # required
9242
+ # client_token: "ClientToken",
9243
+ # }
9244
+ #
9245
+ # @!attribute [rw] phone_number_id
9246
+ # The identifier of the phone number.
9247
+ # @return [String]
9248
+ #
9249
+ # @!attribute [rw] target_arn
9250
+ # The Amazon Resource Name (ARN) for Amazon Connect instances that
9251
+ # phone numbers are claimed to.
9252
+ # @return [String]
9253
+ #
9254
+ # @!attribute [rw] client_token
9255
+ # A unique, case-sensitive identifier that you provide to ensure the
9256
+ # idempotency of the request.
9257
+ #
9258
+ # **A suitable default value is auto-generated.** You should normally
9259
+ # not need to pass this option.
9260
+ # @return [String]
9261
+ #
9262
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdatePhoneNumberRequest AWS API Documentation
9263
+ #
9264
+ class UpdatePhoneNumberRequest < Struct.new(
9265
+ :phone_number_id,
9266
+ :target_arn,
9267
+ :client_token)
9268
+ SENSITIVE = []
9269
+ include Aws::Structure
9270
+ end
9271
+
9272
+ # @!attribute [rw] phone_number_id
9273
+ # The identifier of the phone number.
9274
+ # @return [String]
9275
+ #
9276
+ # @!attribute [rw] phone_number_arn
9277
+ # The Amazon Resource Name (ARN) of the phone number.
9278
+ # @return [String]
9279
+ #
9280
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdatePhoneNumberResponse AWS API Documentation
9281
+ #
9282
+ class UpdatePhoneNumberResponse < Struct.new(
9283
+ :phone_number_id,
9284
+ :phone_number_arn)
9285
+ SENSITIVE = []
9286
+ include Aws::Structure
9287
+ end
9288
+
8758
9289
  # @note When making an API call, you may pass UpdateQueueHoursOfOperationRequest
8759
9290
  # data as a hash:
8760
9291
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-connect/customizations'
48
48
  # @!group service
49
49
  module Aws::Connect
50
50
 
51
- GEM_VERSION = '1.68.0'
51
+ GEM_VERSION = '1.69.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.68.0
4
+ version: 1.69.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: 2022-04-01 00:00:00.000000000 Z
11
+ date: 2022-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core