@aws-sdk/client-connect 3.62.0 → 3.74.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.
Files changed (86) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +2 -2
  3. package/dist-cjs/Connect.js +120 -0
  4. package/dist-cjs/commands/AssociatePhoneNumberContactFlowCommand.js +36 -0
  5. package/dist-cjs/commands/ClaimPhoneNumberCommand.js +36 -0
  6. package/dist-cjs/commands/DescribePhoneNumberCommand.js +36 -0
  7. package/dist-cjs/commands/DisassociatePhoneNumberContactFlowCommand.js +36 -0
  8. package/dist-cjs/commands/ListPhoneNumbersV2Command.js +36 -0
  9. package/dist-cjs/commands/ReleasePhoneNumberCommand.js +36 -0
  10. package/dist-cjs/commands/SearchAvailablePhoneNumbersCommand.js +37 -0
  11. package/dist-cjs/commands/SearchVocabulariesCommand.js +3 -3
  12. package/dist-cjs/commands/StartChatContactCommand.js +3 -3
  13. package/dist-cjs/commands/StartContactRecordingCommand.js +3 -3
  14. package/dist-cjs/commands/StartContactStreamingCommand.js +3 -3
  15. package/dist-cjs/commands/UpdatePhoneNumberCommand.js +36 -0
  16. package/dist-cjs/commands/index.js +8 -0
  17. package/dist-cjs/models/models_0.js +795 -803
  18. package/dist-cjs/models/models_1.js +118 -2
  19. package/dist-cjs/pagination/ListPhoneNumbersV2Paginator.js +35 -0
  20. package/dist-cjs/pagination/SearchAvailablePhoneNumbersPaginator.js +35 -0
  21. package/dist-cjs/pagination/index.js +2 -0
  22. package/dist-cjs/protocols/Aws_restJson1.js +744 -12
  23. package/dist-es/Connect.js +120 -0
  24. package/dist-es/commands/AssociatePhoneNumberContactFlowCommand.js +39 -0
  25. package/dist-es/commands/ClaimPhoneNumberCommand.js +39 -0
  26. package/dist-es/commands/DescribePhoneNumberCommand.js +39 -0
  27. package/dist-es/commands/DisassociatePhoneNumberContactFlowCommand.js +39 -0
  28. package/dist-es/commands/ListPhoneNumbersV2Command.js +39 -0
  29. package/dist-es/commands/ReleasePhoneNumberCommand.js +39 -0
  30. package/dist-es/commands/SearchAvailablePhoneNumbersCommand.js +40 -0
  31. package/dist-es/commands/SearchVocabulariesCommand.js +1 -1
  32. package/dist-es/commands/StartChatContactCommand.js +1 -1
  33. package/dist-es/commands/StartContactRecordingCommand.js +1 -1
  34. package/dist-es/commands/StartContactStreamingCommand.js +1 -1
  35. package/dist-es/commands/UpdatePhoneNumberCommand.js +39 -0
  36. package/dist-es/commands/index.js +8 -0
  37. package/dist-es/models/models_0.js +320 -329
  38. package/dist-es/models/models_1.js +83 -0
  39. package/dist-es/pagination/ListPhoneNumbersV2Paginator.js +74 -0
  40. package/dist-es/pagination/SearchAvailablePhoneNumbersPaginator.js +74 -0
  41. package/dist-es/pagination/index.js +2 -0
  42. package/dist-es/protocols/Aws_restJson1.js +960 -36
  43. package/dist-types/Connect.d.ts +59 -1
  44. package/dist-types/ConnectClient.d.ts +10 -2
  45. package/dist-types/commands/AssociatePhoneNumberContactFlowCommand.d.ts +35 -0
  46. package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +35 -0
  47. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +35 -0
  48. package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +35 -0
  49. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +37 -0
  50. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +35 -0
  51. package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +36 -0
  52. package/dist-types/commands/SearchVocabulariesCommand.d.ts +1 -1
  53. package/dist-types/commands/StartChatContactCommand.d.ts +1 -1
  54. package/dist-types/commands/StartContactRecordingCommand.d.ts +1 -1
  55. package/dist-types/commands/StartContactStreamingCommand.d.ts +1 -1
  56. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +35 -0
  58. package/dist-types/commands/index.d.ts +8 -0
  59. package/dist-types/models/models_0.d.ts +778 -763
  60. package/dist-types/models/models_1.d.ts +377 -1
  61. package/dist-types/pagination/ListPhoneNumbersV2Paginator.d.ts +4 -0
  62. package/dist-types/pagination/SearchAvailablePhoneNumbersPaginator.d.ts +4 -0
  63. package/dist-types/pagination/index.d.ts +2 -0
  64. package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
  65. package/dist-types/ts3.4/Connect.d.ts +40 -0
  66. package/dist-types/ts3.4/ConnectClient.d.ts +10 -2
  67. package/dist-types/ts3.4/commands/AssociatePhoneNumberContactFlowCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/ClaimPhoneNumberCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/DescribePhoneNumberCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/ListPhoneNumbersV2Command.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +18 -0
  74. package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/StartContactRecordingCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/StartContactStreamingCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/UpdatePhoneNumberCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  80. package/dist-types/ts3.4/models/models_0.d.ts +767 -749
  81. package/dist-types/ts3.4/models/models_1.d.ts +212 -1
  82. package/dist-types/ts3.4/pagination/ListPhoneNumbersV2Paginator.d.ts +4 -0
  83. package/dist-types/ts3.4/pagination/SearchAvailablePhoneNumbersPaginator.d.ts +4 -0
  84. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  85. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  86. package/package.json +7 -7
@@ -565,6 +565,26 @@ export declare namespace AssociateLexBotRequest {
565
565
  */
566
566
  const filterSensitiveLog: (obj: AssociateLexBotRequest) => any;
567
567
  }
568
+ export interface AssociatePhoneNumberContactFlowRequest {
569
+ /**
570
+ * <p>A unique identifier for the phone number.</p>
571
+ */
572
+ PhoneNumberId: string | undefined;
573
+ /**
574
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
575
+ */
576
+ InstanceId: string | undefined;
577
+ /**
578
+ * <p>The identifier of the contact flow.</p>
579
+ */
580
+ ContactFlowId: string | undefined;
581
+ }
582
+ export declare namespace AssociatePhoneNumberContactFlowRequest {
583
+ /**
584
+ * @internal
585
+ */
586
+ const filterSensitiveLog: (obj: AssociatePhoneNumberContactFlowRequest) => any;
587
+ }
568
588
  export interface AssociateQueueQuickConnectsRequest {
569
589
  /**
570
590
  * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
@@ -686,6 +706,65 @@ export declare namespace AssociateSecurityKeyResponse {
686
706
  */
687
707
  const filterSensitiveLog: (obj: AssociateSecurityKeyResponse) => any;
688
708
  }
709
+ export interface ClaimPhoneNumberRequest {
710
+ /**
711
+ * <p>The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.</p>
712
+ */
713
+ TargetArn: string | undefined;
714
+ /**
715
+ * <p>The phone number you want to claim. Phone numbers are formatted <code>[+] [country code] [subscriber number including area code]</code>.</p>
716
+ */
717
+ PhoneNumber: string | undefined;
718
+ /**
719
+ * <p>The description of the phone number.</p>
720
+ */
721
+ PhoneNumberDescription?: string;
722
+ /**
723
+ * <p>The tags used to organize, track, or control access for this resource.</p>
724
+ */
725
+ Tags?: {
726
+ [key: string]: string;
727
+ };
728
+ /**
729
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
730
+ * request.</p>
731
+ */
732
+ ClientToken?: string;
733
+ }
734
+ export declare namespace ClaimPhoneNumberRequest {
735
+ /**
736
+ * @internal
737
+ */
738
+ const filterSensitiveLog: (obj: ClaimPhoneNumberRequest) => any;
739
+ }
740
+ export interface ClaimPhoneNumberResponse {
741
+ /**
742
+ * <p>The identifier of the phone number.</p>
743
+ */
744
+ PhoneNumberId?: string;
745
+ /**
746
+ * <p>The Amazon Resource Name (ARN) of the phone number.</p>
747
+ */
748
+ PhoneNumberArn?: string;
749
+ }
750
+ export declare namespace ClaimPhoneNumberResponse {
751
+ /**
752
+ * @internal
753
+ */
754
+ const filterSensitiveLog: (obj: ClaimPhoneNumberResponse) => any;
755
+ }
756
+ /**
757
+ * <p>An entity with the same name already exists.</p>
758
+ */
759
+ export declare class IdempotencyException extends __BaseException {
760
+ readonly name: "IdempotencyException";
761
+ readonly $fault: "client";
762
+ Message?: string;
763
+ /**
764
+ * @internal
765
+ */
766
+ constructor(opts: __ExceptionOptionType<IdempotencyException, __BaseException>);
767
+ }
689
768
  export interface CreateAgentStatusRequest {
690
769
  /**
691
770
  * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
@@ -891,18 +970,6 @@ export declare namespace CreateContactFlowModuleResponse {
891
970
  */
892
971
  const filterSensitiveLog: (obj: CreateContactFlowModuleResponse) => any;
893
972
  }
894
- /**
895
- * <p>An entity with the same name already exists.</p>
896
- */
897
- export declare class IdempotencyException extends __BaseException {
898
- readonly name: "IdempotencyException";
899
- readonly $fault: "client";
900
- Message?: string;
901
- /**
902
- * @internal
903
- */
904
- constructor(opts: __ExceptionOptionType<IdempotencyException, __BaseException>);
905
- }
906
973
  /**
907
974
  * <p>The problems with the module. Please fix before trying again.</p>
908
975
  */
@@ -2580,195 +2647,536 @@ export declare namespace DescribeInstanceStorageConfigResponse {
2580
2647
  */
2581
2648
  const filterSensitiveLog: (obj: DescribeInstanceStorageConfigResponse) => any;
2582
2649
  }
2583
- export interface DescribeQueueRequest {
2584
- /**
2585
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
2586
- */
2587
- InstanceId: string | undefined;
2588
- /**
2589
- * <p>The identifier for the queue.</p>
2590
- */
2591
- QueueId: string | undefined;
2592
- }
2593
- export declare namespace DescribeQueueRequest {
2594
- /**
2595
- * @internal
2596
- */
2597
- const filterSensitiveLog: (obj: DescribeQueueRequest) => any;
2598
- }
2599
- export declare enum QueueStatus {
2600
- DISABLED = "DISABLED",
2601
- ENABLED = "ENABLED"
2602
- }
2603
- /**
2604
- * <p>Contains information about a queue.</p>
2605
- */
2606
- export interface Queue {
2607
- /**
2608
- * <p>The name of the queue.</p>
2609
- */
2610
- Name?: string;
2611
- /**
2612
- * <p>The Amazon Resource Name (ARN) for the queue.</p>
2613
- */
2614
- QueueArn?: string;
2615
- /**
2616
- * <p>The identifier for the queue.</p>
2617
- */
2618
- QueueId?: string;
2619
- /**
2620
- * <p>The description of the queue.</p>
2621
- */
2622
- Description?: string;
2623
- /**
2624
- * <p>The outbound caller ID name, number, and outbound whisper flow.</p>
2625
- */
2626
- OutboundCallerConfig?: OutboundCallerConfig;
2627
- /**
2628
- * <p>The identifier for the hours of operation.</p>
2629
- */
2630
- HoursOfOperationId?: string;
2631
- /**
2632
- * <p>The maximum number of contacts that can be in the queue before it is considered full.</p>
2633
- */
2634
- MaxContacts?: number;
2635
- /**
2636
- * <p>The status of the queue.</p>
2637
- */
2638
- Status?: QueueStatus | string;
2639
- /**
2640
- * <p>The tags used to organize, track, or control access for this resource.</p>
2641
- */
2642
- Tags?: {
2643
- [key: string]: string;
2644
- };
2645
- }
2646
- export declare namespace Queue {
2647
- /**
2648
- * @internal
2649
- */
2650
- const filterSensitiveLog: (obj: Queue) => any;
2651
- }
2652
- export interface DescribeQueueResponse {
2653
- /**
2654
- * <p>The name of the queue.</p>
2655
- */
2656
- Queue?: Queue;
2657
- }
2658
- export declare namespace DescribeQueueResponse {
2659
- /**
2660
- * @internal
2661
- */
2662
- const filterSensitiveLog: (obj: DescribeQueueResponse) => any;
2663
- }
2664
- export interface DescribeQuickConnectRequest {
2665
- /**
2666
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
2667
- */
2668
- InstanceId: string | undefined;
2669
- /**
2670
- * <p>The identifier for the quick connect.</p>
2671
- */
2672
- QuickConnectId: string | undefined;
2673
- }
2674
- export declare namespace DescribeQuickConnectRequest {
2675
- /**
2676
- * @internal
2677
- */
2678
- const filterSensitiveLog: (obj: DescribeQuickConnectRequest) => any;
2679
- }
2680
- /**
2681
- * <p>Contains information about a quick connect.</p>
2682
- */
2683
- export interface QuickConnect {
2684
- /**
2685
- * <p>The Amazon Resource Name (ARN) of the quick connect.</p>
2686
- */
2687
- QuickConnectARN?: string;
2688
- /**
2689
- * <p>The identifier for the quick connect.</p>
2690
- */
2691
- QuickConnectId?: string;
2692
- /**
2693
- * <p>The name of the quick connect.</p>
2694
- */
2695
- Name?: string;
2696
- /**
2697
- * <p>The description.</p>
2698
- */
2699
- Description?: string;
2700
- /**
2701
- * <p>Contains information about the quick connect.</p>
2702
- */
2703
- QuickConnectConfig?: QuickConnectConfig;
2704
- /**
2705
- * <p>The tags used to organize, track, or control access for this resource.</p>
2706
- */
2707
- Tags?: {
2708
- [key: string]: string;
2709
- };
2710
- }
2711
- export declare namespace QuickConnect {
2712
- /**
2713
- * @internal
2714
- */
2715
- const filterSensitiveLog: (obj: QuickConnect) => any;
2716
- }
2717
- export interface DescribeQuickConnectResponse {
2718
- /**
2719
- * <p>Information about the quick connect.</p>
2720
- */
2721
- QuickConnect?: QuickConnect;
2722
- }
2723
- export declare namespace DescribeQuickConnectResponse {
2724
- /**
2725
- * @internal
2726
- */
2727
- const filterSensitiveLog: (obj: DescribeQuickConnectResponse) => any;
2728
- }
2729
- export interface DescribeRoutingProfileRequest {
2730
- /**
2731
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
2732
- */
2733
- InstanceId: string | undefined;
2650
+ export interface DescribePhoneNumberRequest {
2734
2651
  /**
2735
- * <p>The identifier of the routing profile.</p>
2652
+ * <p>The identifier of the phone number.</p>
2736
2653
  */
2737
- RoutingProfileId: string | undefined;
2654
+ PhoneNumberId: string | undefined;
2738
2655
  }
2739
- export declare namespace DescribeRoutingProfileRequest {
2656
+ export declare namespace DescribePhoneNumberRequest {
2740
2657
  /**
2741
2658
  * @internal
2742
2659
  */
2743
- const filterSensitiveLog: (obj: DescribeRoutingProfileRequest) => any;
2660
+ const filterSensitiveLog: (obj: DescribePhoneNumberRequest) => any;
2744
2661
  }
2745
- /**
2746
- * <p>Contains information about a routing profile.</p>
2747
- */
2748
- export interface RoutingProfile {
2749
- /**
2750
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
2751
- */
2752
- InstanceId?: string;
2753
- /**
2754
- * <p>The name of the routing profile.</p>
2755
- */
2756
- Name?: string;
2757
- /**
2758
- * <p>The Amazon Resource Name (ARN) of the routing profile.</p>
2759
- */
2760
- RoutingProfileArn?: string;
2761
- /**
2762
- * <p>The identifier of the routing profile.</p>
2763
- */
2764
- RoutingProfileId?: string;
2765
- /**
2766
- * <p>The description of the routing profile.</p>
2767
- */
2768
- Description?: string;
2769
- /**
2770
- * <p>The channels agents can handle in the Contact Control Panel (CCP) for this routing
2771
- * profile.</p>
2662
+ export declare enum PhoneNumberCountryCode {
2663
+ AD = "AD",
2664
+ AE = "AE",
2665
+ AF = "AF",
2666
+ AG = "AG",
2667
+ AI = "AI",
2668
+ AL = "AL",
2669
+ AM = "AM",
2670
+ AN = "AN",
2671
+ AO = "AO",
2672
+ AQ = "AQ",
2673
+ AR = "AR",
2674
+ AS = "AS",
2675
+ AT = "AT",
2676
+ AU = "AU",
2677
+ AW = "AW",
2678
+ AZ = "AZ",
2679
+ BA = "BA",
2680
+ BB = "BB",
2681
+ BD = "BD",
2682
+ BE = "BE",
2683
+ BF = "BF",
2684
+ BG = "BG",
2685
+ BH = "BH",
2686
+ BI = "BI",
2687
+ BJ = "BJ",
2688
+ BL = "BL",
2689
+ BM = "BM",
2690
+ BN = "BN",
2691
+ BO = "BO",
2692
+ BR = "BR",
2693
+ BS = "BS",
2694
+ BT = "BT",
2695
+ BW = "BW",
2696
+ BY = "BY",
2697
+ BZ = "BZ",
2698
+ CA = "CA",
2699
+ CC = "CC",
2700
+ CD = "CD",
2701
+ CF = "CF",
2702
+ CG = "CG",
2703
+ CH = "CH",
2704
+ CI = "CI",
2705
+ CK = "CK",
2706
+ CL = "CL",
2707
+ CM = "CM",
2708
+ CN = "CN",
2709
+ CO = "CO",
2710
+ CR = "CR",
2711
+ CU = "CU",
2712
+ CV = "CV",
2713
+ CW = "CW",
2714
+ CX = "CX",
2715
+ CY = "CY",
2716
+ CZ = "CZ",
2717
+ DE = "DE",
2718
+ DJ = "DJ",
2719
+ DK = "DK",
2720
+ DM = "DM",
2721
+ DO = "DO",
2722
+ DZ = "DZ",
2723
+ EC = "EC",
2724
+ EE = "EE",
2725
+ EG = "EG",
2726
+ EH = "EH",
2727
+ ER = "ER",
2728
+ ES = "ES",
2729
+ ET = "ET",
2730
+ FI = "FI",
2731
+ FJ = "FJ",
2732
+ FK = "FK",
2733
+ FM = "FM",
2734
+ FO = "FO",
2735
+ FR = "FR",
2736
+ GA = "GA",
2737
+ GB = "GB",
2738
+ GD = "GD",
2739
+ GE = "GE",
2740
+ GG = "GG",
2741
+ GH = "GH",
2742
+ GI = "GI",
2743
+ GL = "GL",
2744
+ GM = "GM",
2745
+ GN = "GN",
2746
+ GQ = "GQ",
2747
+ GR = "GR",
2748
+ GT = "GT",
2749
+ GU = "GU",
2750
+ GW = "GW",
2751
+ GY = "GY",
2752
+ HK = "HK",
2753
+ HN = "HN",
2754
+ HR = "HR",
2755
+ HT = "HT",
2756
+ HU = "HU",
2757
+ ID = "ID",
2758
+ IE = "IE",
2759
+ IL = "IL",
2760
+ IM = "IM",
2761
+ IN = "IN",
2762
+ IO = "IO",
2763
+ IQ = "IQ",
2764
+ IR = "IR",
2765
+ IS = "IS",
2766
+ IT = "IT",
2767
+ JE = "JE",
2768
+ JM = "JM",
2769
+ JO = "JO",
2770
+ JP = "JP",
2771
+ KE = "KE",
2772
+ KG = "KG",
2773
+ KH = "KH",
2774
+ KI = "KI",
2775
+ KM = "KM",
2776
+ KN = "KN",
2777
+ KP = "KP",
2778
+ KR = "KR",
2779
+ KW = "KW",
2780
+ KY = "KY",
2781
+ KZ = "KZ",
2782
+ LA = "LA",
2783
+ LB = "LB",
2784
+ LC = "LC",
2785
+ LI = "LI",
2786
+ LK = "LK",
2787
+ LR = "LR",
2788
+ LS = "LS",
2789
+ LT = "LT",
2790
+ LU = "LU",
2791
+ LV = "LV",
2792
+ LY = "LY",
2793
+ MA = "MA",
2794
+ MC = "MC",
2795
+ MD = "MD",
2796
+ ME = "ME",
2797
+ MF = "MF",
2798
+ MG = "MG",
2799
+ MH = "MH",
2800
+ MK = "MK",
2801
+ ML = "ML",
2802
+ MM = "MM",
2803
+ MN = "MN",
2804
+ MO = "MO",
2805
+ MP = "MP",
2806
+ MR = "MR",
2807
+ MS = "MS",
2808
+ MT = "MT",
2809
+ MU = "MU",
2810
+ MV = "MV",
2811
+ MW = "MW",
2812
+ MX = "MX",
2813
+ MY = "MY",
2814
+ MZ = "MZ",
2815
+ NA = "NA",
2816
+ NC = "NC",
2817
+ NE = "NE",
2818
+ NG = "NG",
2819
+ NI = "NI",
2820
+ NL = "NL",
2821
+ NO = "NO",
2822
+ NP = "NP",
2823
+ NR = "NR",
2824
+ NU = "NU",
2825
+ NZ = "NZ",
2826
+ OM = "OM",
2827
+ PA = "PA",
2828
+ PE = "PE",
2829
+ PF = "PF",
2830
+ PG = "PG",
2831
+ PH = "PH",
2832
+ PK = "PK",
2833
+ PL = "PL",
2834
+ PM = "PM",
2835
+ PN = "PN",
2836
+ PR = "PR",
2837
+ PT = "PT",
2838
+ PW = "PW",
2839
+ PY = "PY",
2840
+ QA = "QA",
2841
+ RE = "RE",
2842
+ RO = "RO",
2843
+ RS = "RS",
2844
+ RU = "RU",
2845
+ RW = "RW",
2846
+ SA = "SA",
2847
+ SB = "SB",
2848
+ SC = "SC",
2849
+ SD = "SD",
2850
+ SE = "SE",
2851
+ SG = "SG",
2852
+ SH = "SH",
2853
+ SI = "SI",
2854
+ SJ = "SJ",
2855
+ SK = "SK",
2856
+ SL = "SL",
2857
+ SM = "SM",
2858
+ SN = "SN",
2859
+ SO = "SO",
2860
+ SR = "SR",
2861
+ ST = "ST",
2862
+ SV = "SV",
2863
+ SX = "SX",
2864
+ SY = "SY",
2865
+ SZ = "SZ",
2866
+ TC = "TC",
2867
+ TD = "TD",
2868
+ TG = "TG",
2869
+ TH = "TH",
2870
+ TJ = "TJ",
2871
+ TK = "TK",
2872
+ TL = "TL",
2873
+ TM = "TM",
2874
+ TN = "TN",
2875
+ TO = "TO",
2876
+ TR = "TR",
2877
+ TT = "TT",
2878
+ TV = "TV",
2879
+ TW = "TW",
2880
+ TZ = "TZ",
2881
+ UA = "UA",
2882
+ UG = "UG",
2883
+ US = "US",
2884
+ UY = "UY",
2885
+ UZ = "UZ",
2886
+ VA = "VA",
2887
+ VC = "VC",
2888
+ VE = "VE",
2889
+ VG = "VG",
2890
+ VI = "VI",
2891
+ VN = "VN",
2892
+ VU = "VU",
2893
+ WF = "WF",
2894
+ WS = "WS",
2895
+ YE = "YE",
2896
+ YT = "YT",
2897
+ ZA = "ZA",
2898
+ ZM = "ZM",
2899
+ ZW = "ZW"
2900
+ }
2901
+ export declare enum PhoneNumberWorkflowStatus {
2902
+ Claimed = "CLAIMED",
2903
+ Failed = "FAILED",
2904
+ InProgress = "IN_PROGRESS"
2905
+ }
2906
+ /**
2907
+ * <p>The status of the phone number.</p>
2908
+ */
2909
+ export interface PhoneNumberStatus {
2910
+ /**
2911
+ * <p>The status.</p>
2912
+ */
2913
+ Status?: PhoneNumberWorkflowStatus | string;
2914
+ /**
2915
+ * <p>The status message.</p>
2916
+ */
2917
+ Message?: string;
2918
+ }
2919
+ export declare namespace PhoneNumberStatus {
2920
+ /**
2921
+ * @internal
2922
+ */
2923
+ const filterSensitiveLog: (obj: PhoneNumberStatus) => any;
2924
+ }
2925
+ export declare enum PhoneNumberType {
2926
+ DID = "DID",
2927
+ TOLL_FREE = "TOLL_FREE"
2928
+ }
2929
+ /**
2930
+ * <p>Information about a phone number that has been claimed to your Amazon Connect instance.</p>
2931
+ */
2932
+ export interface ClaimedPhoneNumberSummary {
2933
+ /**
2934
+ * <p>The identifier of the phone number.</p>
2935
+ */
2936
+ PhoneNumberId?: string;
2937
+ /**
2938
+ * <p>The Amazon Resource Name (ARN) of the phone number.</p>
2939
+ */
2940
+ PhoneNumberArn?: string;
2941
+ /**
2942
+ * <p>The phone number. Phone numbers are formatted <code>[+] [country code] [subscriber number including area code]</code>.</p>
2943
+ */
2944
+ PhoneNumber?: string;
2945
+ /**
2946
+ * <p>The ISO country code.</p>
2947
+ */
2948
+ PhoneNumberCountryCode?: PhoneNumberCountryCode | string;
2949
+ /**
2950
+ * <p>The type of phone number.</p>
2951
+ */
2952
+ PhoneNumberType?: PhoneNumberType | string;
2953
+ /**
2954
+ * <p>The description of the phone number.</p>
2955
+ */
2956
+ PhoneNumberDescription?: string;
2957
+ /**
2958
+ * <p>The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.</p>
2959
+ */
2960
+ TargetArn?: string;
2961
+ /**
2962
+ * <p>The tags used to organize, track, or control access for this resource.</p>
2963
+ */
2964
+ Tags?: {
2965
+ [key: string]: string;
2966
+ };
2967
+ /**
2968
+ * <p>The status of the phone number.</p>
2969
+ */
2970
+ PhoneNumberStatus?: PhoneNumberStatus;
2971
+ }
2972
+ export declare namespace ClaimedPhoneNumberSummary {
2973
+ /**
2974
+ * @internal
2975
+ */
2976
+ const filterSensitiveLog: (obj: ClaimedPhoneNumberSummary) => any;
2977
+ }
2978
+ export interface DescribePhoneNumberResponse {
2979
+ /**
2980
+ * <p>Information about a phone number that's been claimed to your Amazon Connect instance.
2981
+ * </p>
2982
+ */
2983
+ ClaimedPhoneNumberSummary?: ClaimedPhoneNumberSummary;
2984
+ }
2985
+ export declare namespace DescribePhoneNumberResponse {
2986
+ /**
2987
+ * @internal
2988
+ */
2989
+ const filterSensitiveLog: (obj: DescribePhoneNumberResponse) => any;
2990
+ }
2991
+ export interface DescribeQueueRequest {
2992
+ /**
2993
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
2994
+ */
2995
+ InstanceId: string | undefined;
2996
+ /**
2997
+ * <p>The identifier for the queue.</p>
2998
+ */
2999
+ QueueId: string | undefined;
3000
+ }
3001
+ export declare namespace DescribeQueueRequest {
3002
+ /**
3003
+ * @internal
3004
+ */
3005
+ const filterSensitiveLog: (obj: DescribeQueueRequest) => any;
3006
+ }
3007
+ export declare enum QueueStatus {
3008
+ DISABLED = "DISABLED",
3009
+ ENABLED = "ENABLED"
3010
+ }
3011
+ /**
3012
+ * <p>Contains information about a queue.</p>
3013
+ */
3014
+ export interface Queue {
3015
+ /**
3016
+ * <p>The name of the queue.</p>
3017
+ */
3018
+ Name?: string;
3019
+ /**
3020
+ * <p>The Amazon Resource Name (ARN) for the queue.</p>
3021
+ */
3022
+ QueueArn?: string;
3023
+ /**
3024
+ * <p>The identifier for the queue.</p>
3025
+ */
3026
+ QueueId?: string;
3027
+ /**
3028
+ * <p>The description of the queue.</p>
3029
+ */
3030
+ Description?: string;
3031
+ /**
3032
+ * <p>The outbound caller ID name, number, and outbound whisper flow.</p>
3033
+ */
3034
+ OutboundCallerConfig?: OutboundCallerConfig;
3035
+ /**
3036
+ * <p>The identifier for the hours of operation.</p>
3037
+ */
3038
+ HoursOfOperationId?: string;
3039
+ /**
3040
+ * <p>The maximum number of contacts that can be in the queue before it is considered full.</p>
3041
+ */
3042
+ MaxContacts?: number;
3043
+ /**
3044
+ * <p>The status of the queue.</p>
3045
+ */
3046
+ Status?: QueueStatus | string;
3047
+ /**
3048
+ * <p>The tags used to organize, track, or control access for this resource.</p>
3049
+ */
3050
+ Tags?: {
3051
+ [key: string]: string;
3052
+ };
3053
+ }
3054
+ export declare namespace Queue {
3055
+ /**
3056
+ * @internal
3057
+ */
3058
+ const filterSensitiveLog: (obj: Queue) => any;
3059
+ }
3060
+ export interface DescribeQueueResponse {
3061
+ /**
3062
+ * <p>The name of the queue.</p>
3063
+ */
3064
+ Queue?: Queue;
3065
+ }
3066
+ export declare namespace DescribeQueueResponse {
3067
+ /**
3068
+ * @internal
3069
+ */
3070
+ const filterSensitiveLog: (obj: DescribeQueueResponse) => any;
3071
+ }
3072
+ export interface DescribeQuickConnectRequest {
3073
+ /**
3074
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
3075
+ */
3076
+ InstanceId: string | undefined;
3077
+ /**
3078
+ * <p>The identifier for the quick connect.</p>
3079
+ */
3080
+ QuickConnectId: string | undefined;
3081
+ }
3082
+ export declare namespace DescribeQuickConnectRequest {
3083
+ /**
3084
+ * @internal
3085
+ */
3086
+ const filterSensitiveLog: (obj: DescribeQuickConnectRequest) => any;
3087
+ }
3088
+ /**
3089
+ * <p>Contains information about a quick connect.</p>
3090
+ */
3091
+ export interface QuickConnect {
3092
+ /**
3093
+ * <p>The Amazon Resource Name (ARN) of the quick connect.</p>
3094
+ */
3095
+ QuickConnectARN?: string;
3096
+ /**
3097
+ * <p>The identifier for the quick connect.</p>
3098
+ */
3099
+ QuickConnectId?: string;
3100
+ /**
3101
+ * <p>The name of the quick connect.</p>
3102
+ */
3103
+ Name?: string;
3104
+ /**
3105
+ * <p>The description.</p>
3106
+ */
3107
+ Description?: string;
3108
+ /**
3109
+ * <p>Contains information about the quick connect.</p>
3110
+ */
3111
+ QuickConnectConfig?: QuickConnectConfig;
3112
+ /**
3113
+ * <p>The tags used to organize, track, or control access for this resource.</p>
3114
+ */
3115
+ Tags?: {
3116
+ [key: string]: string;
3117
+ };
3118
+ }
3119
+ export declare namespace QuickConnect {
3120
+ /**
3121
+ * @internal
3122
+ */
3123
+ const filterSensitiveLog: (obj: QuickConnect) => any;
3124
+ }
3125
+ export interface DescribeQuickConnectResponse {
3126
+ /**
3127
+ * <p>Information about the quick connect.</p>
3128
+ */
3129
+ QuickConnect?: QuickConnect;
3130
+ }
3131
+ export declare namespace DescribeQuickConnectResponse {
3132
+ /**
3133
+ * @internal
3134
+ */
3135
+ const filterSensitiveLog: (obj: DescribeQuickConnectResponse) => any;
3136
+ }
3137
+ export interface DescribeRoutingProfileRequest {
3138
+ /**
3139
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
3140
+ */
3141
+ InstanceId: string | undefined;
3142
+ /**
3143
+ * <p>The identifier of the routing profile.</p>
3144
+ */
3145
+ RoutingProfileId: string | undefined;
3146
+ }
3147
+ export declare namespace DescribeRoutingProfileRequest {
3148
+ /**
3149
+ * @internal
3150
+ */
3151
+ const filterSensitiveLog: (obj: DescribeRoutingProfileRequest) => any;
3152
+ }
3153
+ /**
3154
+ * <p>Contains information about a routing profile.</p>
3155
+ */
3156
+ export interface RoutingProfile {
3157
+ /**
3158
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
3159
+ */
3160
+ InstanceId?: string;
3161
+ /**
3162
+ * <p>The name of the routing profile.</p>
3163
+ */
3164
+ Name?: string;
3165
+ /**
3166
+ * <p>The Amazon Resource Name (ARN) of the routing profile.</p>
3167
+ */
3168
+ RoutingProfileArn?: string;
3169
+ /**
3170
+ * <p>The identifier of the routing profile.</p>
3171
+ */
3172
+ RoutingProfileId?: string;
3173
+ /**
3174
+ * <p>The description of the routing profile.</p>
3175
+ */
3176
+ Description?: string;
3177
+ /**
3178
+ * <p>The channels agents can handle in the Contact Control Panel (CCP) for this routing
3179
+ * profile.</p>
2772
3180
  */
2773
3181
  MediaConcurrencies?: MediaConcurrency[];
2774
3182
  /**
@@ -3321,6 +3729,22 @@ export declare namespace DisassociateLexBotRequest {
3321
3729
  */
3322
3730
  const filterSensitiveLog: (obj: DisassociateLexBotRequest) => any;
3323
3731
  }
3732
+ export interface DisassociatePhoneNumberContactFlowRequest {
3733
+ /**
3734
+ * <p>The identifier of the phone number.</p>
3735
+ */
3736
+ PhoneNumberId: string | undefined;
3737
+ /**
3738
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
3739
+ */
3740
+ InstanceId: string | undefined;
3741
+ }
3742
+ export declare namespace DisassociatePhoneNumberContactFlowRequest {
3743
+ /**
3744
+ * @internal
3745
+ */
3746
+ const filterSensitiveLog: (obj: DisassociatePhoneNumberContactFlowRequest) => any;
3747
+ }
3324
3748
  export interface DisassociateQueueQuickConnectsRequest {
3325
3749
  /**
3326
3750
  * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
@@ -4956,346 +5380,187 @@ export interface ListLexBotsRequest {
4956
5380
  */
4957
5381
  MaxResults?: number;
4958
5382
  }
4959
- export declare namespace ListLexBotsRequest {
5383
+ export declare namespace ListLexBotsRequest {
5384
+ /**
5385
+ * @internal
5386
+ */
5387
+ const filterSensitiveLog: (obj: ListLexBotsRequest) => any;
5388
+ }
5389
+ export interface ListLexBotsResponse {
5390
+ /**
5391
+ * <p>The names and Regions of the Amazon Lex bots associated with the specified instance.</p>
5392
+ */
5393
+ LexBots?: LexBot[];
5394
+ /**
5395
+ * <p>If there are additional results, this is the token for the next set of results.</p>
5396
+ */
5397
+ NextToken?: string;
5398
+ }
5399
+ export declare namespace ListLexBotsResponse {
5400
+ /**
5401
+ * @internal
5402
+ */
5403
+ const filterSensitiveLog: (obj: ListLexBotsResponse) => any;
5404
+ }
5405
+ export interface ListPhoneNumbersRequest {
5406
+ /**
5407
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
5408
+ */
5409
+ InstanceId: string | undefined;
5410
+ /**
5411
+ * <p>The type of phone number.</p>
5412
+ */
5413
+ PhoneNumberTypes?: (PhoneNumberType | string)[];
5414
+ /**
5415
+ * <p>The ISO country code.</p>
5416
+ */
5417
+ PhoneNumberCountryCodes?: (PhoneNumberCountryCode | string)[];
5418
+ /**
5419
+ * <p>The token for the next set of results. Use the value returned in the previous
5420
+ * response in the next request to retrieve the next set of results.</p>
5421
+ */
5422
+ NextToken?: string;
5423
+ /**
5424
+ * <p>The maximum number of results to return per page.</p>
5425
+ */
5426
+ MaxResults?: number;
5427
+ }
5428
+ export declare namespace ListPhoneNumbersRequest {
5429
+ /**
5430
+ * @internal
5431
+ */
5432
+ const filterSensitiveLog: (obj: ListPhoneNumbersRequest) => any;
5433
+ }
5434
+ /**
5435
+ * <p>Contains summary information about a phone number for a contact center.</p>
5436
+ */
5437
+ export interface PhoneNumberSummary {
5438
+ /**
5439
+ * <p>The identifier of the phone number.</p>
5440
+ */
5441
+ Id?: string;
5442
+ /**
5443
+ * <p>The Amazon Resource Name (ARN) of the phone number.</p>
5444
+ */
5445
+ Arn?: string;
5446
+ /**
5447
+ * <p>The phone number.</p>
5448
+ */
5449
+ PhoneNumber?: string;
5450
+ /**
5451
+ * <p>The type of phone number.</p>
5452
+ */
5453
+ PhoneNumberType?: PhoneNumberType | string;
5454
+ /**
5455
+ * <p>The ISO country code.</p>
5456
+ */
5457
+ PhoneNumberCountryCode?: PhoneNumberCountryCode | string;
5458
+ }
5459
+ export declare namespace PhoneNumberSummary {
4960
5460
  /**
4961
5461
  * @internal
4962
5462
  */
4963
- const filterSensitiveLog: (obj: ListLexBotsRequest) => any;
5463
+ const filterSensitiveLog: (obj: PhoneNumberSummary) => any;
4964
5464
  }
4965
- export interface ListLexBotsResponse {
5465
+ export interface ListPhoneNumbersResponse {
4966
5466
  /**
4967
- * <p>The names and Regions of the Amazon Lex bots associated with the specified instance.</p>
5467
+ * <p>Information about the phone numbers.</p>
4968
5468
  */
4969
- LexBots?: LexBot[];
5469
+ PhoneNumberSummaryList?: PhoneNumberSummary[];
4970
5470
  /**
4971
5471
  * <p>If there are additional results, this is the token for the next set of results.</p>
4972
5472
  */
4973
5473
  NextToken?: string;
4974
5474
  }
4975
- export declare namespace ListLexBotsResponse {
5475
+ export declare namespace ListPhoneNumbersResponse {
4976
5476
  /**
4977
5477
  * @internal
4978
5478
  */
4979
- const filterSensitiveLog: (obj: ListLexBotsResponse) => any;
4980
- }
4981
- export declare enum PhoneNumberCountryCode {
4982
- AD = "AD",
4983
- AE = "AE",
4984
- AF = "AF",
4985
- AG = "AG",
4986
- AI = "AI",
4987
- AL = "AL",
4988
- AM = "AM",
4989
- AN = "AN",
4990
- AO = "AO",
4991
- AQ = "AQ",
4992
- AR = "AR",
4993
- AS = "AS",
4994
- AT = "AT",
4995
- AU = "AU",
4996
- AW = "AW",
4997
- AZ = "AZ",
4998
- BA = "BA",
4999
- BB = "BB",
5000
- BD = "BD",
5001
- BE = "BE",
5002
- BF = "BF",
5003
- BG = "BG",
5004
- BH = "BH",
5005
- BI = "BI",
5006
- BJ = "BJ",
5007
- BL = "BL",
5008
- BM = "BM",
5009
- BN = "BN",
5010
- BO = "BO",
5011
- BR = "BR",
5012
- BS = "BS",
5013
- BT = "BT",
5014
- BW = "BW",
5015
- BY = "BY",
5016
- BZ = "BZ",
5017
- CA = "CA",
5018
- CC = "CC",
5019
- CD = "CD",
5020
- CF = "CF",
5021
- CG = "CG",
5022
- CH = "CH",
5023
- CI = "CI",
5024
- CK = "CK",
5025
- CL = "CL",
5026
- CM = "CM",
5027
- CN = "CN",
5028
- CO = "CO",
5029
- CR = "CR",
5030
- CU = "CU",
5031
- CV = "CV",
5032
- CW = "CW",
5033
- CX = "CX",
5034
- CY = "CY",
5035
- CZ = "CZ",
5036
- DE = "DE",
5037
- DJ = "DJ",
5038
- DK = "DK",
5039
- DM = "DM",
5040
- DO = "DO",
5041
- DZ = "DZ",
5042
- EC = "EC",
5043
- EE = "EE",
5044
- EG = "EG",
5045
- EH = "EH",
5046
- ER = "ER",
5047
- ES = "ES",
5048
- ET = "ET",
5049
- FI = "FI",
5050
- FJ = "FJ",
5051
- FK = "FK",
5052
- FM = "FM",
5053
- FO = "FO",
5054
- FR = "FR",
5055
- GA = "GA",
5056
- GB = "GB",
5057
- GD = "GD",
5058
- GE = "GE",
5059
- GG = "GG",
5060
- GH = "GH",
5061
- GI = "GI",
5062
- GL = "GL",
5063
- GM = "GM",
5064
- GN = "GN",
5065
- GQ = "GQ",
5066
- GR = "GR",
5067
- GT = "GT",
5068
- GU = "GU",
5069
- GW = "GW",
5070
- GY = "GY",
5071
- HK = "HK",
5072
- HN = "HN",
5073
- HR = "HR",
5074
- HT = "HT",
5075
- HU = "HU",
5076
- ID = "ID",
5077
- IE = "IE",
5078
- IL = "IL",
5079
- IM = "IM",
5080
- IN = "IN",
5081
- IO = "IO",
5082
- IQ = "IQ",
5083
- IR = "IR",
5084
- IS = "IS",
5085
- IT = "IT",
5086
- JE = "JE",
5087
- JM = "JM",
5088
- JO = "JO",
5089
- JP = "JP",
5090
- KE = "KE",
5091
- KG = "KG",
5092
- KH = "KH",
5093
- KI = "KI",
5094
- KM = "KM",
5095
- KN = "KN",
5096
- KP = "KP",
5097
- KR = "KR",
5098
- KW = "KW",
5099
- KY = "KY",
5100
- KZ = "KZ",
5101
- LA = "LA",
5102
- LB = "LB",
5103
- LC = "LC",
5104
- LI = "LI",
5105
- LK = "LK",
5106
- LR = "LR",
5107
- LS = "LS",
5108
- LT = "LT",
5109
- LU = "LU",
5110
- LV = "LV",
5111
- LY = "LY",
5112
- MA = "MA",
5113
- MC = "MC",
5114
- MD = "MD",
5115
- ME = "ME",
5116
- MF = "MF",
5117
- MG = "MG",
5118
- MH = "MH",
5119
- MK = "MK",
5120
- ML = "ML",
5121
- MM = "MM",
5122
- MN = "MN",
5123
- MO = "MO",
5124
- MP = "MP",
5125
- MR = "MR",
5126
- MS = "MS",
5127
- MT = "MT",
5128
- MU = "MU",
5129
- MV = "MV",
5130
- MW = "MW",
5131
- MX = "MX",
5132
- MY = "MY",
5133
- MZ = "MZ",
5134
- NA = "NA",
5135
- NC = "NC",
5136
- NE = "NE",
5137
- NG = "NG",
5138
- NI = "NI",
5139
- NL = "NL",
5140
- NO = "NO",
5141
- NP = "NP",
5142
- NR = "NR",
5143
- NU = "NU",
5144
- NZ = "NZ",
5145
- OM = "OM",
5146
- PA = "PA",
5147
- PE = "PE",
5148
- PF = "PF",
5149
- PG = "PG",
5150
- PH = "PH",
5151
- PK = "PK",
5152
- PL = "PL",
5153
- PM = "PM",
5154
- PN = "PN",
5155
- PR = "PR",
5156
- PT = "PT",
5157
- PW = "PW",
5158
- PY = "PY",
5159
- QA = "QA",
5160
- RE = "RE",
5161
- RO = "RO",
5162
- RS = "RS",
5163
- RU = "RU",
5164
- RW = "RW",
5165
- SA = "SA",
5166
- SB = "SB",
5167
- SC = "SC",
5168
- SD = "SD",
5169
- SE = "SE",
5170
- SG = "SG",
5171
- SH = "SH",
5172
- SI = "SI",
5173
- SJ = "SJ",
5174
- SK = "SK",
5175
- SL = "SL",
5176
- SM = "SM",
5177
- SN = "SN",
5178
- SO = "SO",
5179
- SR = "SR",
5180
- ST = "ST",
5181
- SV = "SV",
5182
- SX = "SX",
5183
- SY = "SY",
5184
- SZ = "SZ",
5185
- TC = "TC",
5186
- TD = "TD",
5187
- TG = "TG",
5188
- TH = "TH",
5189
- TJ = "TJ",
5190
- TK = "TK",
5191
- TL = "TL",
5192
- TM = "TM",
5193
- TN = "TN",
5194
- TO = "TO",
5195
- TR = "TR",
5196
- TT = "TT",
5197
- TV = "TV",
5198
- TW = "TW",
5199
- TZ = "TZ",
5200
- UA = "UA",
5201
- UG = "UG",
5202
- US = "US",
5203
- UY = "UY",
5204
- UZ = "UZ",
5205
- VA = "VA",
5206
- VC = "VC",
5207
- VE = "VE",
5208
- VG = "VG",
5209
- VI = "VI",
5210
- VN = "VN",
5211
- VU = "VU",
5212
- WF = "WF",
5213
- WS = "WS",
5214
- YE = "YE",
5215
- YT = "YT",
5216
- ZA = "ZA",
5217
- ZM = "ZM",
5218
- ZW = "ZW"
5219
- }
5220
- export declare enum PhoneNumberType {
5221
- DID = "DID",
5222
- TOLL_FREE = "TOLL_FREE"
5479
+ const filterSensitiveLog: (obj: ListPhoneNumbersResponse) => any;
5223
5480
  }
5224
- export interface ListPhoneNumbersRequest {
5481
+ export interface ListPhoneNumbersV2Request {
5225
5482
  /**
5226
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
5483
+ * <p>The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to. If <code>TargetArn</code> input is not provided, this API lists numbers claimed to all the Amazon Connect instances belonging to your account.</p>
5227
5484
  */
5228
- InstanceId: string | undefined;
5485
+ TargetArn?: string;
5229
5486
  /**
5230
- * <p>The type of phone number.</p>
5487
+ * <p>The maximum number of results to return per page.</p>
5231
5488
  */
5232
- PhoneNumberTypes?: (PhoneNumberType | string)[];
5489
+ MaxResults?: number;
5490
+ /**
5491
+ * <p>The token for the next set of results. Use the value returned in the previous
5492
+ * response in the next request to retrieve the next set of results.</p>
5493
+ */
5494
+ NextToken?: string;
5233
5495
  /**
5234
5496
  * <p>The ISO country code.</p>
5235
5497
  */
5236
5498
  PhoneNumberCountryCodes?: (PhoneNumberCountryCode | string)[];
5237
5499
  /**
5238
- * <p>The token for the next set of results. Use the value returned in the previous
5239
- * response in the next request to retrieve the next set of results.</p>
5500
+ * <p>The type of phone number.</p>
5240
5501
  */
5241
- NextToken?: string;
5502
+ PhoneNumberTypes?: (PhoneNumberType | string)[];
5242
5503
  /**
5243
- * <p>The maximum number of results to return per page.</p>
5504
+ * <p>The prefix of the phone number. If provided, it must contain <code>+</code> as part of the country code.</p>
5244
5505
  */
5245
- MaxResults?: number;
5506
+ PhoneNumberPrefix?: string;
5246
5507
  }
5247
- export declare namespace ListPhoneNumbersRequest {
5508
+ export declare namespace ListPhoneNumbersV2Request {
5248
5509
  /**
5249
5510
  * @internal
5250
5511
  */
5251
- const filterSensitiveLog: (obj: ListPhoneNumbersRequest) => any;
5512
+ const filterSensitiveLog: (obj: ListPhoneNumbersV2Request) => any;
5252
5513
  }
5253
5514
  /**
5254
- * <p>Contains summary information about a phone number for a contact center.</p>
5515
+ * <p>Information about phone numbers that have been claimed to your Amazon Connect instance.</p>
5255
5516
  */
5256
- export interface PhoneNumberSummary {
5517
+ export interface ListPhoneNumbersSummary {
5257
5518
  /**
5258
5519
  * <p>The identifier of the phone number.</p>
5259
5520
  */
5260
- Id?: string;
5521
+ PhoneNumberId?: string;
5261
5522
  /**
5262
5523
  * <p>The Amazon Resource Name (ARN) of the phone number.</p>
5263
5524
  */
5264
- Arn?: string;
5525
+ PhoneNumberArn?: string;
5265
5526
  /**
5266
- * <p>The phone number.</p>
5527
+ * <p>The phone number. Phone numbers are formatted <code>[+] [country code] [subscriber number including area code]</code>.</p>
5267
5528
  */
5268
5529
  PhoneNumber?: string;
5530
+ /**
5531
+ * <p>The ISO country code.</p>
5532
+ */
5533
+ PhoneNumberCountryCode?: PhoneNumberCountryCode | string;
5269
5534
  /**
5270
5535
  * <p>The type of phone number.</p>
5271
5536
  */
5272
5537
  PhoneNumberType?: PhoneNumberType | string;
5273
5538
  /**
5274
- * <p>The ISO country code.</p>
5539
+ * <p>The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.</p>
5275
5540
  */
5276
- PhoneNumberCountryCode?: PhoneNumberCountryCode | string;
5541
+ TargetArn?: string;
5277
5542
  }
5278
- export declare namespace PhoneNumberSummary {
5543
+ export declare namespace ListPhoneNumbersSummary {
5279
5544
  /**
5280
5545
  * @internal
5281
5546
  */
5282
- const filterSensitiveLog: (obj: PhoneNumberSummary) => any;
5547
+ const filterSensitiveLog: (obj: ListPhoneNumbersSummary) => any;
5283
5548
  }
5284
- export interface ListPhoneNumbersResponse {
5285
- /**
5286
- * <p>Information about the phone numbers.</p>
5287
- */
5288
- PhoneNumberSummaryList?: PhoneNumberSummary[];
5549
+ export interface ListPhoneNumbersV2Response {
5289
5550
  /**
5290
5551
  * <p>If there are additional results, this is the token for the next set of results.</p>
5291
5552
  */
5292
5553
  NextToken?: string;
5554
+ /**
5555
+ * <p>Information about phone numbers that have been claimed to your Amazon Connect instances.</p>
5556
+ */
5557
+ ListPhoneNumbersSummaryList?: ListPhoneNumbersSummary[];
5293
5558
  }
5294
- export declare namespace ListPhoneNumbersResponse {
5559
+ export declare namespace ListPhoneNumbersV2Response {
5295
5560
  /**
5296
5561
  * @internal
5297
5562
  */
5298
- const filterSensitiveLog: (obj: ListPhoneNumbersResponse) => any;
5563
+ const filterSensitiveLog: (obj: ListPhoneNumbersV2Response) => any;
5299
5564
  }
5300
5565
  export interface ListPromptsRequest {
5301
5566
  /**
@@ -6035,257 +6300,24 @@ export declare namespace ListUsersResponse {
6035
6300
  */
6036
6301
  const filterSensitiveLog: (obj: ListUsersResponse) => any;
6037
6302
  }
6038
- export interface ResumeContactRecordingRequest {
6039
- /**
6040
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
6041
- */
6042
- InstanceId: string | undefined;
6043
- /**
6044
- * <p>The identifier of the contact.</p>
6045
- */
6046
- ContactId: string | undefined;
6047
- /**
6048
- * <p>The identifier of the contact. This is the identifier of the contact associated with the
6049
- * first interaction with the contact center.</p>
6050
- */
6051
- InitialContactId: string | undefined;
6052
- }
6053
- export declare namespace ResumeContactRecordingRequest {
6054
- /**
6055
- * @internal
6056
- */
6057
- const filterSensitiveLog: (obj: ResumeContactRecordingRequest) => any;
6058
- }
6059
- export interface ResumeContactRecordingResponse {
6060
- }
6061
- export declare namespace ResumeContactRecordingResponse {
6062
- /**
6063
- * @internal
6064
- */
6065
- const filterSensitiveLog: (obj: ResumeContactRecordingResponse) => any;
6066
- }
6067
- export interface SearchVocabulariesRequest {
6068
- /**
6069
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
6070
- */
6071
- InstanceId: string | undefined;
6072
- /**
6073
- * <p>The maximum number of results to return per page.</p>
6074
- */
6075
- MaxResults?: number;
6076
- /**
6077
- * <p>The token for the next set of results. Use the value returned in the previous
6078
- * response in the next request to retrieve the next set of results.</p>
6079
- */
6080
- NextToken?: string;
6081
- /**
6082
- * <p>The current state of the custom vocabulary.</p>
6083
- */
6084
- State?: VocabularyState | string;
6085
- /**
6086
- * <p>The starting pattern of the name of the vocabulary.</p>
6087
- */
6088
- NameStartsWith?: string;
6089
- /**
6090
- * <p>The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see
6091
- * <a href="https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html">What is Amazon Transcribe?</a>
6092
- * </p>
6093
- */
6094
- LanguageCode?: VocabularyLanguageCode | string;
6095
- }
6096
- export declare namespace SearchVocabulariesRequest {
6097
- /**
6098
- * @internal
6099
- */
6100
- const filterSensitiveLog: (obj: SearchVocabulariesRequest) => any;
6101
- }
6102
- /**
6103
- * <p>Contains summary information about the custom vocabulary.</p>
6104
- */
6105
- export interface VocabularySummary {
6106
- /**
6107
- * <p>A unique name of the custom vocabulary.</p>
6108
- */
6109
- Name: string | undefined;
6110
- /**
6111
- * <p>The identifier of the custom vocabulary.</p>
6112
- */
6113
- Id: string | undefined;
6114
- /**
6115
- * <p>The Amazon Resource Name (ARN) of the custom vocabulary.</p>
6116
- */
6117
- Arn: string | undefined;
6118
- /**
6119
- * <p>The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see
6120
- * <a href="https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html">What is Amazon Transcribe?</a>
6121
- * </p>
6122
- */
6123
- LanguageCode: VocabularyLanguageCode | string | undefined;
6124
- /**
6125
- * <p>The current state of the custom vocabulary.</p>
6126
- */
6127
- State: VocabularyState | string | undefined;
6128
- /**
6129
- * <p>The timestamp when the custom vocabulary was last modified.</p>
6130
- */
6131
- LastModifiedTime: Date | undefined;
6132
- /**
6133
- * <p>The reason why the custom vocabulary was not created.</p>
6134
- */
6135
- FailureReason?: string;
6136
- }
6137
- export declare namespace VocabularySummary {
6138
- /**
6139
- * @internal
6140
- */
6141
- const filterSensitiveLog: (obj: VocabularySummary) => any;
6142
- }
6143
- export interface SearchVocabulariesResponse {
6144
- /**
6145
- * <p>The list of the available custom vocabularies.</p>
6146
- */
6147
- VocabularySummaryList?: VocabularySummary[];
6148
- /**
6149
- * <p>If there are additional results, this is the token for the next set of results.</p>
6150
- */
6151
- NextToken?: string;
6152
- }
6153
- export declare namespace SearchVocabulariesResponse {
6154
- /**
6155
- * @internal
6156
- */
6157
- const filterSensitiveLog: (obj: SearchVocabulariesResponse) => any;
6158
- }
6159
- /**
6160
- * <p>A chat message.</p>
6161
- */
6162
- export interface ChatMessage {
6163
- /**
6164
- * <p>The type of the content. Supported types are <code>text/plain</code>.</p>
6165
- */
6166
- ContentType: string | undefined;
6167
- /**
6168
- * <p>The content of the chat message.</p>
6169
- */
6170
- Content: string | undefined;
6171
- }
6172
- export declare namespace ChatMessage {
6173
- /**
6174
- * @internal
6175
- */
6176
- const filterSensitiveLog: (obj: ChatMessage) => any;
6177
- }
6178
- /**
6179
- * <p>The customer's details.</p>
6180
- */
6181
- export interface ParticipantDetails {
6182
- /**
6183
- * <p>Display name of the participant.</p>
6184
- */
6185
- DisplayName: string | undefined;
6186
- }
6187
- export declare namespace ParticipantDetails {
6188
- /**
6189
- * @internal
6190
- */
6191
- const filterSensitiveLog: (obj: ParticipantDetails) => any;
6192
- }
6193
- export interface StartChatContactRequest {
6194
- /**
6195
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
6196
- */
6197
- InstanceId: string | undefined;
6198
- /**
6199
- * <p>The identifier of the contact flow for initiating the chat.
6200
- * To
6201
- * see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to <b>Routing</b>, <b>Contact Flows</b>. Choose the
6202
- * contact flow. On the contact flow page, under the name of the contact flow, choose <b>Show additional flow information</b>. The ContactFlowId is the last part of
6203
- * the ARN, shown here in bold: </p>
6204
- * <p>arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/<b>846ec553-a005-41c0-8341-xxxxxxxxxxxx</b>
6205
- * </p>
6206
- */
6207
- ContactFlowId: string | undefined;
6208
- /**
6209
- * <p>A custom key-value pair using an attribute map. The attributes are standard Amazon Connect
6210
- * attributes. They can be accessed in contact flows just like any other contact attributes. </p>
6211
- * <p>There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys
6212
- * can include only alphanumeric, dash, and underscore characters.</p>
6213
- */
6214
- Attributes?: {
6215
- [key: string]: string;
6216
- };
6303
+ export interface ReleasePhoneNumberRequest {
6217
6304
  /**
6218
- * <p>Information identifying the participant.</p>
6219
- */
6220
- ParticipantDetails: ParticipantDetails | undefined;
6221
- /**
6222
- * <p>The initial message to be sent to the newly created chat.</p>
6305
+ * <p>The identifier of the phone number.</p>
6223
6306
  */
6224
- InitialMessage?: ChatMessage;
6307
+ PhoneNumberId: string | undefined;
6225
6308
  /**
6226
6309
  * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
6227
- * request.</p>
6310
+ * request.</p>
6228
6311
  */
6229
6312
  ClientToken?: string;
6230
- /**
6231
- * <p>The total duration of the newly started chat session. If not specified, the chat session duration defaults to 25 hour.
6232
- * The minumum configurable time is 60 minutes. The maximum configurable time is 10,080 minutes (7 days).</p>
6233
- */
6234
- ChatDurationInMinutes?: number;
6235
- /**
6236
- * <p>The supported chat message content types. Content types can be text/plain or both text/plain and text/markdown.</p>
6237
- */
6238
- SupportedMessagingContentTypes?: string[];
6239
6313
  }
6240
- export declare namespace StartChatContactRequest {
6314
+ export declare namespace ReleasePhoneNumberRequest {
6241
6315
  /**
6242
6316
  * @internal
6243
6317
  */
6244
- const filterSensitiveLog: (obj: StartChatContactRequest) => any;
6318
+ const filterSensitiveLog: (obj: ReleasePhoneNumberRequest) => any;
6245
6319
  }
6246
- export interface StartChatContactResponse {
6247
- /**
6248
- * <p>The identifier of this contact within the Amazon Connect instance. </p>
6249
- */
6250
- ContactId?: string;
6251
- /**
6252
- * <p>The identifier for a chat participant. The participantId for a chat participant is the same
6253
- * throughout the chat lifecycle.</p>
6254
- */
6255
- ParticipantId?: string;
6256
- /**
6257
- * <p>The token used by the chat participant to call <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html">CreateParticipantConnection</a>. The participant token is valid for the lifetime of a chat
6258
- * participant.</p>
6259
- */
6260
- ParticipantToken?: string;
6261
- }
6262
- export declare namespace StartChatContactResponse {
6263
- /**
6264
- * @internal
6265
- */
6266
- const filterSensitiveLog: (obj: StartChatContactResponse) => any;
6267
- }
6268
- export declare enum VoiceRecordingTrack {
6269
- ALL = "ALL",
6270
- FROM_AGENT = "FROM_AGENT",
6271
- TO_AGENT = "TO_AGENT"
6272
- }
6273
- /**
6274
- * <p>Contains information about the recording configuration settings.</p>
6275
- */
6276
- export interface VoiceRecordingConfiguration {
6277
- /**
6278
- * <p>Identifies which track is being recorded.</p>
6279
- */
6280
- VoiceRecordingTrack?: VoiceRecordingTrack | string;
6281
- }
6282
- export declare namespace VoiceRecordingConfiguration {
6283
- /**
6284
- * @internal
6285
- */
6286
- const filterSensitiveLog: (obj: VoiceRecordingConfiguration) => any;
6287
- }
6288
- export interface StartContactRecordingRequest {
6320
+ export interface ResumeContactRecordingRequest {
6289
6321
  /**
6290
6322
  * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
6291
6323
  */
@@ -6299,91 +6331,74 @@ export interface StartContactRecordingRequest {
6299
6331
  * first interaction with the contact center.</p>
6300
6332
  */
6301
6333
  InitialContactId: string | undefined;
6302
- /**
6303
- * <p>The person being recorded.</p>
6304
- */
6305
- VoiceRecordingConfiguration: VoiceRecordingConfiguration | undefined;
6306
6334
  }
6307
- export declare namespace StartContactRecordingRequest {
6335
+ export declare namespace ResumeContactRecordingRequest {
6308
6336
  /**
6309
6337
  * @internal
6310
6338
  */
6311
- const filterSensitiveLog: (obj: StartContactRecordingRequest) => any;
6339
+ const filterSensitiveLog: (obj: ResumeContactRecordingRequest) => any;
6312
6340
  }
6313
- export interface StartContactRecordingResponse {
6341
+ export interface ResumeContactRecordingResponse {
6314
6342
  }
6315
- export declare namespace StartContactRecordingResponse {
6343
+ export declare namespace ResumeContactRecordingResponse {
6316
6344
  /**
6317
6345
  * @internal
6318
6346
  */
6319
- const filterSensitiveLog: (obj: StartContactRecordingResponse) => any;
6347
+ const filterSensitiveLog: (obj: ResumeContactRecordingResponse) => any;
6320
6348
  }
6321
- /**
6322
- * <p>The streaming configuration, such as the Amazon SNS streaming endpoint.</p>
6323
- */
6324
- export interface ChatStreamingConfiguration {
6349
+ export interface SearchAvailablePhoneNumbersRequest {
6325
6350
  /**
6326
- * <p>The Amazon Resource Name (ARN) of the standard Amazon SNS topic. The Amazon Resource Name (ARN) of the streaming endpoint that is used
6327
- * to publish real-time message streaming for chat conversations.</p>
6351
+ * <p>The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.</p>
6328
6352
  */
6329
- StreamingEndpointArn: string | undefined;
6330
- }
6331
- export declare namespace ChatStreamingConfiguration {
6353
+ TargetArn: string | undefined;
6332
6354
  /**
6333
- * @internal
6355
+ * <p>The ISO country code.</p>
6334
6356
  */
6335
- const filterSensitiveLog: (obj: ChatStreamingConfiguration) => any;
6336
- }
6337
- export interface StartContactStreamingRequest {
6357
+ PhoneNumberCountryCode: PhoneNumberCountryCode | string | undefined;
6338
6358
  /**
6339
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
6359
+ * <p>The type of phone number.</p>
6340
6360
  */
6341
- InstanceId: string | undefined;
6361
+ PhoneNumberType: PhoneNumberType | string | undefined;
6342
6362
  /**
6343
- * <p>The identifier of the contact. This is the identifier of the contact associated with the
6344
- * first interaction with the contact center.</p>
6363
+ * <p>The prefix of the phone number. If provided, it must contain <code>+</code> as part of the country code.</p>
6345
6364
  */
6346
- ContactId: string | undefined;
6365
+ PhoneNumberPrefix?: string;
6347
6366
  /**
6348
- * <p>The streaming configuration, such as the Amazon SNS streaming endpoint.</p>
6367
+ * <p>The maximum number of results to return per page.</p>
6349
6368
  */
6350
- ChatStreamingConfiguration: ChatStreamingConfiguration | undefined;
6369
+ MaxResults?: number;
6351
6370
  /**
6352
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
6353
- * request.</p>
6371
+ * <p>The token for the next set of results. Use the value returned in the previous
6372
+ * response in the next request to retrieve the next set of results.</p>
6354
6373
  */
6355
- ClientToken?: string;
6374
+ NextToken?: string;
6356
6375
  }
6357
- export declare namespace StartContactStreamingRequest {
6376
+ export declare namespace SearchAvailablePhoneNumbersRequest {
6358
6377
  /**
6359
6378
  * @internal
6360
6379
  */
6361
- const filterSensitiveLog: (obj: StartContactStreamingRequest) => any;
6380
+ const filterSensitiveLog: (obj: SearchAvailablePhoneNumbersRequest) => any;
6362
6381
  }
6363
- export interface StartContactStreamingResponse {
6382
+ /**
6383
+ * <p>Information about available phone numbers.</p>
6384
+ */
6385
+ export interface AvailableNumberSummary {
6364
6386
  /**
6365
- * <p>The identifier of the streaming configuration enabled. </p>
6387
+ * <p>The phone number. Phone numbers are formatted <code>[+] [country code] [subscriber number including area code]</code>.</p>
6366
6388
  */
6367
- StreamingId: string | undefined;
6368
- }
6369
- export declare namespace StartContactStreamingResponse {
6389
+ PhoneNumber?: string;
6370
6390
  /**
6371
- * @internal
6391
+ * <p>The ISO country code.</p>
6372
6392
  */
6373
- const filterSensitiveLog: (obj: StartContactStreamingResponse) => any;
6374
- }
6375
- /**
6376
- * <p>Outbound calls to the destination number are not allowed.</p>
6377
- */
6378
- export declare class DestinationNotAllowedException extends __BaseException {
6379
- readonly name: "DestinationNotAllowedException";
6380
- readonly $fault: "client";
6393
+ PhoneNumberCountryCode?: PhoneNumberCountryCode | string;
6381
6394
  /**
6382
- * <p>The message about the outbound calls.</p>
6395
+ * <p>The type of phone number.</p>
6383
6396
  */
6384
- Message?: string;
6397
+ PhoneNumberType?: PhoneNumberType | string;
6398
+ }
6399
+ export declare namespace AvailableNumberSummary {
6385
6400
  /**
6386
6401
  * @internal
6387
6402
  */
6388
- constructor(opts: __ExceptionOptionType<DestinationNotAllowedException, __BaseException>);
6403
+ const filterSensitiveLog: (obj: AvailableNumberSummary) => any;
6389
6404
  }