@aws-sdk/client-connect 3.398.0 → 3.405.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 (144) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/Connect.js +18 -0
  3. package/dist-cjs/commands/CreateViewCommand.js +47 -0
  4. package/dist-cjs/commands/CreateViewVersionCommand.js +47 -0
  5. package/dist-cjs/commands/DeleteViewCommand.js +46 -0
  6. package/dist-cjs/commands/DeleteViewVersionCommand.js +46 -0
  7. package/dist-cjs/commands/DescribeViewCommand.js +47 -0
  8. package/dist-cjs/commands/ListViewVersionsCommand.js +47 -0
  9. package/dist-cjs/commands/ListViewsCommand.js +47 -0
  10. package/dist-cjs/commands/UpdateViewContentCommand.js +47 -0
  11. package/dist-cjs/commands/UpdateViewMetadataCommand.js +47 -0
  12. package/dist-cjs/commands/index.js +9 -0
  13. package/dist-cjs/models/models_0.js +66 -6
  14. package/dist-cjs/models/models_1.js +25 -1
  15. package/dist-cjs/models/models_2.js +18 -1
  16. package/dist-cjs/pagination/ListViewVersionsPaginator.js +29 -0
  17. package/dist-cjs/pagination/ListViewsPaginator.js +29 -0
  18. package/dist-cjs/pagination/index.js +2 -0
  19. package/dist-cjs/protocols/Aws_restJson1.js +713 -20
  20. package/dist-es/Connect.js +18 -0
  21. package/dist-es/commands/CreateViewCommand.js +43 -0
  22. package/dist-es/commands/CreateViewVersionCommand.js +43 -0
  23. package/dist-es/commands/DeleteViewCommand.js +42 -0
  24. package/dist-es/commands/DeleteViewVersionCommand.js +42 -0
  25. package/dist-es/commands/DescribeViewCommand.js +43 -0
  26. package/dist-es/commands/ListViewVersionsCommand.js +43 -0
  27. package/dist-es/commands/ListViewsCommand.js +43 -0
  28. package/dist-es/commands/UpdateViewContentCommand.js +43 -0
  29. package/dist-es/commands/UpdateViewMetadataCommand.js +43 -0
  30. package/dist-es/commands/index.js +9 -0
  31. package/dist-es/models/models_0.js +57 -5
  32. package/dist-es/models/models_1.js +20 -0
  33. package/dist-es/models/models_2.js +14 -0
  34. package/dist-es/pagination/ListViewVersionsPaginator.js +25 -0
  35. package/dist-es/pagination/ListViewsPaginator.js +25 -0
  36. package/dist-es/pagination/index.js +2 -0
  37. package/dist-es/protocols/Aws_restJson1.js +687 -13
  38. package/dist-types/Connect.d.ts +63 -0
  39. package/dist-types/ConnectClient.d.ts +11 -2
  40. package/dist-types/commands/CreateQueueCommand.d.ts +20 -13
  41. package/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +8 -0
  42. package/dist-types/commands/CreateViewCommand.d.ts +140 -0
  43. package/dist-types/commands/CreateViewVersionCommand.d.ts +126 -0
  44. package/dist-types/commands/DeleteViewCommand.d.ts +93 -0
  45. package/dist-types/commands/DeleteViewVersionCommand.d.ts +94 -0
  46. package/dist-types/commands/DescribeViewCommand.d.ts +121 -0
  47. package/dist-types/commands/DescribeVocabularyCommand.d.ts +2 -1
  48. package/dist-types/commands/DisassociateApprovedOriginCommand.d.ts +1 -1
  49. package/dist-types/commands/DisassociateBotCommand.d.ts +1 -1
  50. package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
  51. package/dist-types/commands/DisassociateLambdaFunctionCommand.d.ts +1 -1
  52. package/dist-types/commands/DisassociateLexBotCommand.d.ts +1 -1
  53. package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +1 -1
  54. package/dist-types/commands/DisassociateQueueQuickConnectsCommand.d.ts +1 -1
  55. package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
  56. package/dist-types/commands/DisassociateSecurityKeyCommand.d.ts +1 -1
  57. package/dist-types/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +1 -1
  58. package/dist-types/commands/DismissUserContactCommand.d.ts +1 -1
  59. package/dist-types/commands/GetContactAttributesCommand.d.ts +1 -2
  60. package/dist-types/commands/ListPhoneNumbersCommand.d.ts +14 -4
  61. package/dist-types/commands/ListViewVersionsCommand.d.ts +106 -0
  62. package/dist-types/commands/ListViewsCommand.d.ts +105 -0
  63. package/dist-types/commands/StopContactCommand.d.ts +5 -3
  64. package/dist-types/commands/UpdatePromptCommand.d.ts +2 -1
  65. package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
  66. package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
  67. package/dist-types/commands/UpdateQueueNameCommand.d.ts +1 -1
  68. package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +21 -14
  69. package/dist-types/commands/UpdateQueueStatusCommand.d.ts +1 -1
  70. package/dist-types/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
  71. package/dist-types/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
  72. package/dist-types/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +1 -1
  73. package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
  74. package/dist-types/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
  75. package/dist-types/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
  76. package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
  77. package/dist-types/commands/UpdateRuleCommand.d.ts +1 -1
  78. package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +1 -1
  79. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +1 -1
  80. package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +6 -3
  81. package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  82. package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  83. package/dist-types/commands/UpdateViewContentCommand.d.ts +127 -0
  84. package/dist-types/commands/UpdateViewMetadataCommand.d.ts +99 -0
  85. package/dist-types/commands/index.d.ts +9 -0
  86. package/dist-types/models/models_0.d.ts +359 -317
  87. package/dist-types/models/models_1.d.ts +478 -553
  88. package/dist-types/models/models_2.d.ts +632 -2
  89. package/dist-types/pagination/ListViewVersionsPaginator.d.ts +7 -0
  90. package/dist-types/pagination/ListViewsPaginator.d.ts +7 -0
  91. package/dist-types/pagination/index.d.ts +2 -0
  92. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  93. package/dist-types/ts3.4/Connect.d.ts +153 -0
  94. package/dist-types/ts3.4/ConnectClient.d.ts +56 -2
  95. package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +35 -0
  96. package/dist-types/ts3.4/commands/CreateViewVersionCommand.d.ts +39 -0
  97. package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +35 -0
  98. package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +39 -0
  99. package/dist-types/ts3.4/commands/DescribeViewCommand.d.ts +35 -0
  100. package/dist-types/ts3.4/commands/DescribeVocabularyCommand.d.ts +2 -4
  101. package/dist-types/ts3.4/commands/DisassociateApprovedOriginCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/DisassociateBotCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/DisassociateLambdaFunctionCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/DisassociateLexBotCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/DisassociateQueueQuickConnectsCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/DisassociateSecurityKeyCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/DismissUserContactCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/GetContactAttributesCommand.d.ts +4 -2
  113. package/dist-types/ts3.4/commands/ListViewVersionsCommand.d.ts +38 -0
  114. package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +35 -0
  115. package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +2 -1
  116. package/dist-types/ts3.4/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/UpdateQueueNameCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/UpdateQueueStatusCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/UpdateSecurityProfileCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/UpdateTrafficDistributionCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/UpdateUserHierarchyCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/UpdateViewContentCommand.d.ts +39 -0
  135. package/dist-types/ts3.4/commands/UpdateViewMetadataCommand.d.ts +39 -0
  136. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  137. package/dist-types/ts3.4/models/models_0.d.ts +117 -90
  138. package/dist-types/ts3.4/models/models_1.d.ts +121 -135
  139. package/dist-types/ts3.4/models/models_2.d.ts +171 -1
  140. package/dist-types/ts3.4/pagination/ListViewVersionsPaginator.d.ts +11 -0
  141. package/dist-types/ts3.4/pagination/ListViewsPaginator.d.ts +11 -0
  142. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  143. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  144. package/package.json +7 -7
@@ -3406,6 +3406,284 @@ export interface CreateUserHierarchyGroupResponse {
3406
3406
  */
3407
3407
  HierarchyGroupArn?: string;
3408
3408
  }
3409
+ /**
3410
+ * @public
3411
+ * <p>View content containing all content necessary to render a view except
3412
+ * for runtime input data and the runtime input schema, which is auto-generated
3413
+ * by this operation.</p>
3414
+ */
3415
+ export interface ViewInputContent {
3416
+ /**
3417
+ * @public
3418
+ * <p>The view template representing the structure of the view.</p>
3419
+ */
3420
+ Template?: string;
3421
+ /**
3422
+ * @public
3423
+ * <p>A list of possible actions from the view.</p>
3424
+ */
3425
+ Actions?: string[];
3426
+ }
3427
+ /**
3428
+ * @public
3429
+ * @enum
3430
+ */
3431
+ export declare const ViewStatus: {
3432
+ readonly PUBLISHED: "PUBLISHED";
3433
+ readonly SAVED: "SAVED";
3434
+ };
3435
+ /**
3436
+ * @public
3437
+ */
3438
+ export type ViewStatus = (typeof ViewStatus)[keyof typeof ViewStatus];
3439
+ /**
3440
+ * @public
3441
+ */
3442
+ export interface CreateViewRequest {
3443
+ /**
3444
+ * @public
3445
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
3446
+ * the instance.</p>
3447
+ */
3448
+ InstanceId: string | undefined;
3449
+ /**
3450
+ * @public
3451
+ * <p>A unique Id for each create view request to avoid duplicate view creation. For example, the view
3452
+ * is idempotent ClientToken is provided.</p>
3453
+ */
3454
+ ClientToken?: string;
3455
+ /**
3456
+ * @public
3457
+ * <p>Indicates the view status as either <code>SAVED</code> or <code>PUBLISHED</code>. The
3458
+ * <code>PUBLISHED</code> status will initiate validation on the content.</p>
3459
+ */
3460
+ Status: ViewStatus | string | undefined;
3461
+ /**
3462
+ * @public
3463
+ * <p>View content containing all content necessary to render a view except for runtime input data.</p>
3464
+ * <p>The total uncompressed content has a maximum file size of 400kB.</p>
3465
+ */
3466
+ Content: ViewInputContent | undefined;
3467
+ /**
3468
+ * @public
3469
+ * <p>The description of the view.</p>
3470
+ */
3471
+ Description?: string;
3472
+ /**
3473
+ * @public
3474
+ * <p>The name of the view.</p>
3475
+ */
3476
+ Name: string | undefined;
3477
+ /**
3478
+ * @public
3479
+ * <p>The tags associated with the view resource (not specific to view version).These tags can be used
3480
+ * to organize, track, or control access for this resource. For example, \{ "tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
3481
+ */
3482
+ Tags?: Record<string, string>;
3483
+ }
3484
+ /**
3485
+ * @public
3486
+ * <p>View content containing all content necessary to render a view except for runtime input data.</p>
3487
+ */
3488
+ export interface ViewContent {
3489
+ /**
3490
+ * @public
3491
+ * <p>The data schema matching data that the view template must be provided to render.</p>
3492
+ */
3493
+ InputSchema?: string;
3494
+ /**
3495
+ * @public
3496
+ * <p>The view template representing the structure of the view.</p>
3497
+ */
3498
+ Template?: string;
3499
+ /**
3500
+ * @public
3501
+ * <p>A list of possible actions from the view.</p>
3502
+ */
3503
+ Actions?: string[];
3504
+ }
3505
+ /**
3506
+ * @public
3507
+ * @enum
3508
+ */
3509
+ export declare const ViewType: {
3510
+ readonly AWS_MANAGED: "AWS_MANAGED";
3511
+ readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
3512
+ };
3513
+ /**
3514
+ * @public
3515
+ */
3516
+ export type ViewType = (typeof ViewType)[keyof typeof ViewType];
3517
+ /**
3518
+ * @public
3519
+ * <p>A view resource object. Contains metadata and content necessary to render the view.</p>
3520
+ */
3521
+ export interface View {
3522
+ /**
3523
+ * @public
3524
+ * <p>The identifier of the view.</p>
3525
+ */
3526
+ Id?: string;
3527
+ /**
3528
+ * @public
3529
+ * <p>The Amazon Resource Name (ARN) of the view.</p>
3530
+ */
3531
+ Arn?: string;
3532
+ /**
3533
+ * @public
3534
+ * <p>The name of the view.</p>
3535
+ */
3536
+ Name?: string;
3537
+ /**
3538
+ * @public
3539
+ * <p>Indicates the view status as either <code>SAVED</code> or <code>PUBLISHED</code>. The
3540
+ * <code>PUBLISHED</code> status will initiate validation on the content.</p>
3541
+ */
3542
+ Status?: ViewStatus | string;
3543
+ /**
3544
+ * @public
3545
+ * <p>The type of the view - <code>CUSTOMER_MANAGED</code>.</p>
3546
+ */
3547
+ Type?: ViewType | string;
3548
+ /**
3549
+ * @public
3550
+ * <p>The description of the view.</p>
3551
+ */
3552
+ Description?: string;
3553
+ /**
3554
+ * @public
3555
+ * <p>Current version of the view.</p>
3556
+ */
3557
+ Version?: number;
3558
+ /**
3559
+ * @public
3560
+ * <p>The description of the version.</p>
3561
+ */
3562
+ VersionDescription?: string;
3563
+ /**
3564
+ * @public
3565
+ * <p>View content containing all content necessary to render a view except for runtime input data.</p>
3566
+ */
3567
+ Content?: ViewContent;
3568
+ /**
3569
+ * @public
3570
+ * <p>The tags associated with the view resource (not specific to view version).</p>
3571
+ */
3572
+ Tags?: Record<string, string>;
3573
+ /**
3574
+ * @public
3575
+ * <p>The timestamp of when the view was created.</p>
3576
+ */
3577
+ CreatedTime?: Date;
3578
+ /**
3579
+ * @public
3580
+ * <p>Latest timestamp of the <code>UpdateViewContent</code> or <code>CreateViewVersion</code> operations.</p>
3581
+ */
3582
+ LastModifiedTime?: Date;
3583
+ /**
3584
+ * @public
3585
+ * <p>Indicates the checksum value of the latest published view content.</p>
3586
+ */
3587
+ ViewContentSha256?: string;
3588
+ }
3589
+ /**
3590
+ * @public
3591
+ */
3592
+ export interface CreateViewResponse {
3593
+ /**
3594
+ * @public
3595
+ * <p>A view resource object. Contains metadata and content necessary to render the view.</p>
3596
+ */
3597
+ View?: View;
3598
+ }
3599
+ /**
3600
+ * @public
3601
+ * @enum
3602
+ */
3603
+ export declare const ResourceType: {
3604
+ readonly CONTACT: "CONTACT";
3605
+ readonly CONTACT_FLOW: "CONTACT_FLOW";
3606
+ readonly HIERARCHY_GROUP: "HIERARCHY_GROUP";
3607
+ readonly HIERARCHY_LEVEL: "HIERARCHY_LEVEL";
3608
+ readonly INSTANCE: "INSTANCE";
3609
+ readonly PARTICIPANT: "PARTICIPANT";
3610
+ readonly USER: "USER";
3611
+ };
3612
+ /**
3613
+ * @public
3614
+ */
3615
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
3616
+ /**
3617
+ * @public
3618
+ * <p>That resource is already in use. Please try another.</p>
3619
+ */
3620
+ export declare class ResourceInUseException extends __BaseException {
3621
+ readonly name: "ResourceInUseException";
3622
+ readonly $fault: "client";
3623
+ Message?: string;
3624
+ /**
3625
+ * @public
3626
+ * <p>The type of resource.</p>
3627
+ */
3628
+ ResourceType?: ResourceType | string;
3629
+ /**
3630
+ * @public
3631
+ * <p>The identifier for the resource.</p>
3632
+ */
3633
+ ResourceId?: string;
3634
+ /**
3635
+ * @internal
3636
+ */
3637
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
3638
+ }
3639
+ /**
3640
+ * @public
3641
+ * <p>Displayed when rate-related API limits are exceeded.</p>
3642
+ */
3643
+ export declare class TooManyRequestsException extends __BaseException {
3644
+ readonly name: "TooManyRequestsException";
3645
+ readonly $fault: "client";
3646
+ Message?: string;
3647
+ /**
3648
+ * @internal
3649
+ */
3650
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
3651
+ }
3652
+ /**
3653
+ * @public
3654
+ */
3655
+ export interface CreateViewVersionRequest {
3656
+ /**
3657
+ * @public
3658
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
3659
+ */
3660
+ InstanceId: string | undefined;
3661
+ /**
3662
+ * @public
3663
+ * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be used.</p>
3664
+ */
3665
+ ViewId: string | undefined;
3666
+ /**
3667
+ * @public
3668
+ * <p>The description for the version being published.</p>
3669
+ */
3670
+ VersionDescription?: string;
3671
+ /**
3672
+ * @public
3673
+ * <p>Indicates the checksum value of the latest published view content.</p>
3674
+ */
3675
+ ViewContentSha256?: string;
3676
+ }
3677
+ /**
3678
+ * @public
3679
+ */
3680
+ export interface CreateViewVersionResponse {
3681
+ /**
3682
+ * @public
3683
+ * <p>All view data is contained within the View object.</p>
3684
+ */
3685
+ View?: View;
3686
+ }
3409
3687
  /**
3410
3688
  * @public
3411
3689
  */
@@ -3671,46 +3949,6 @@ export interface DeleteQueueRequest {
3671
3949
  */
3672
3950
  QueueId: string | undefined;
3673
3951
  }
3674
- /**
3675
- * @public
3676
- * @enum
3677
- */
3678
- export declare const ResourceType: {
3679
- readonly CONTACT: "CONTACT";
3680
- readonly CONTACT_FLOW: "CONTACT_FLOW";
3681
- readonly HIERARCHY_GROUP: "HIERARCHY_GROUP";
3682
- readonly HIERARCHY_LEVEL: "HIERARCHY_LEVEL";
3683
- readonly INSTANCE: "INSTANCE";
3684
- readonly PARTICIPANT: "PARTICIPANT";
3685
- readonly USER: "USER";
3686
- };
3687
- /**
3688
- * @public
3689
- */
3690
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
3691
- /**
3692
- * @public
3693
- * <p>That resource is already in use. Please try another.</p>
3694
- */
3695
- export declare class ResourceInUseException extends __BaseException {
3696
- readonly name: "ResourceInUseException";
3697
- readonly $fault: "client";
3698
- Message?: string;
3699
- /**
3700
- * @public
3701
- * <p>The type of resource.</p>
3702
- */
3703
- ResourceType?: ResourceType | string;
3704
- /**
3705
- * @public
3706
- * <p>The identifier for the resource.</p>
3707
- */
3708
- ResourceId?: string;
3709
- /**
3710
- * @internal
3711
- */
3712
- constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
3713
- }
3714
3952
  /**
3715
3953
  * @public
3716
3954
  */
@@ -3849,14 +4087,59 @@ export interface DeleteUserRequest {
3849
4087
  export interface DeleteUserHierarchyGroupRequest {
3850
4088
  /**
3851
4089
  * @public
3852
- * <p>The identifier of the hierarchy group.</p>
4090
+ * <p>The identifier of the hierarchy group.</p>
4091
+ */
4092
+ HierarchyGroupId: string | undefined;
4093
+ /**
4094
+ * @public
4095
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
4096
+ */
4097
+ InstanceId: string | undefined;
4098
+ }
4099
+ /**
4100
+ * @public
4101
+ */
4102
+ export interface DeleteViewRequest {
4103
+ /**
4104
+ * @public
4105
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
4106
+ */
4107
+ InstanceId: string | undefined;
4108
+ /**
4109
+ * @public
4110
+ * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be used.</p>
4111
+ */
4112
+ ViewId: string | undefined;
4113
+ }
4114
+ /**
4115
+ * @public
4116
+ */
4117
+ export interface DeleteViewResponse {
4118
+ }
4119
+ /**
4120
+ * @public
4121
+ */
4122
+ export interface DeleteViewVersionRequest {
4123
+ /**
4124
+ * @public
4125
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
3853
4126
  */
3854
- HierarchyGroupId: string | undefined;
4127
+ InstanceId: string | undefined;
3855
4128
  /**
3856
4129
  * @public
3857
- * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
4130
+ * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be used.</p>
3858
4131
  */
3859
- InstanceId: string | undefined;
4132
+ ViewId: string | undefined;
4133
+ /**
4134
+ * @public
4135
+ * <p>The version number of the view.</p>
4136
+ */
4137
+ ViewVersion: number | undefined;
4138
+ }
4139
+ /**
4140
+ * @public
4141
+ */
4142
+ export interface DeleteViewVersionResponse {
3860
4143
  }
3861
4144
  /**
3862
4145
  * @public
@@ -5743,8 +6026,11 @@ export interface TrafficDistributionGroup {
5743
6026
  * <code>DeleteTrafficDistributionGroup</code> API. The default traffic distribution group is deleted as
5744
6027
  * part of the process for deleting a replica.</p>
5745
6028
  * <note>
5746
- * <p>You can change the <code>SignInConfig</code> only for a default <code>TrafficDistributionGroup</code>. If you call
5747
- * <code>UpdateTrafficDistribution</code> with a modified <code>SignInConfig</code> and a non-default <code>TrafficDistributionGroup</code>,
6029
+ * <p>You can change the <code>SignInConfig</code> distribution only for a
6030
+ * default <code>TrafficDistributionGroup</code> (see the <code>IsDefault</code> parameter in the
6031
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_TrafficDistributionGroup.html">TrafficDistributionGroup</a>
6032
+ * data type). If you call
6033
+ * <code>UpdateTrafficDistribution</code> with a modified <code>SignInConfig</code> and a non-default <code>TrafficDistributionGroup</code>,
5748
6034
  * an <code>InvalidRequestException</code> is returned.</p>
5749
6035
  * </note>
5750
6036
  */
@@ -6030,216 +6316,32 @@ export interface DescribeUserHierarchyStructureResponse {
6030
6316
  /**
6031
6317
  * @public
6032
6318
  */
6033
- export interface DescribeVocabularyRequest {
6034
- /**
6035
- * @public
6036
- * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
6037
- */
6038
- InstanceId: string | undefined;
6039
- /**
6040
- * @public
6041
- * <p>The identifier of the custom vocabulary.</p>
6042
- */
6043
- VocabularyId: string | undefined;
6044
- }
6045
- /**
6046
- * @public
6047
- * <p>Contains information about a custom vocabulary.</p>
6048
- */
6049
- export interface Vocabulary {
6050
- /**
6051
- * @public
6052
- * <p>A unique name of the custom vocabulary.</p>
6053
- */
6054
- Name: string | undefined;
6055
- /**
6056
- * @public
6057
- * <p>The identifier of the custom vocabulary.</p>
6058
- */
6059
- Id: string | undefined;
6060
- /**
6061
- * @public
6062
- * <p>The Amazon Resource Name (ARN) of the custom vocabulary.</p>
6063
- */
6064
- Arn: string | undefined;
6065
- /**
6066
- * @public
6067
- * <p>The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see
6068
- * <a href="https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html">What is Amazon Transcribe?</a>
6069
- * </p>
6070
- */
6071
- LanguageCode: VocabularyLanguageCode | string | undefined;
6072
- /**
6073
- * @public
6074
- * <p>The current state of the custom vocabulary.</p>
6075
- */
6076
- State: VocabularyState | string | undefined;
6077
- /**
6078
- * @public
6079
- * <p>The timestamp when the custom vocabulary was last modified.</p>
6080
- */
6081
- LastModifiedTime: Date | undefined;
6082
- /**
6083
- * @public
6084
- * <p>The reason why the custom vocabulary was not created.</p>
6085
- */
6086
- FailureReason?: string;
6087
- /**
6088
- * @public
6089
- * <p>The content of the custom vocabulary in plain-text format with a table of values. Each row
6090
- * in the table represents a word or a phrase, described with <code>Phrase</code>, <code>IPA</code>,
6091
- * <code>SoundsLike</code>, and <code>DisplayAs</code> fields. Separate the fields with TAB
6092
- * characters. For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html#create-vocabulary-table">Create a custom
6093
- * vocabulary using a table</a>.</p>
6094
- */
6095
- Content?: string;
6096
- /**
6097
- * @public
6098
- * <p>The tags used to organize, track, or control access for this resource. For example, \{ "tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
6099
- */
6100
- Tags?: Record<string, string>;
6101
- }
6102
- /**
6103
- * @public
6104
- */
6105
- export interface DescribeVocabularyResponse {
6106
- /**
6107
- * @public
6108
- * <p>A list of specific words that you want Contact Lens for Amazon Connect to recognize in your audio input. They are
6109
- * generally domain-specific words and phrases, words that Contact Lens is not recognizing, or proper
6110
- * nouns.</p>
6111
- */
6112
- Vocabulary: Vocabulary | undefined;
6113
- }
6114
- /**
6115
- * @public
6116
- */
6117
- export interface DisassociateApprovedOriginRequest {
6118
- /**
6119
- * @public
6120
- * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
6121
- */
6122
- InstanceId: string | undefined;
6123
- /**
6124
- * @public
6125
- * <p>The domain URL of the integrated application.</p>
6126
- */
6127
- Origin: string | undefined;
6128
- }
6129
- /**
6130
- * @public
6131
- */
6132
- export interface DisassociateBotRequest {
6133
- /**
6134
- * @public
6135
- * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
6136
- */
6137
- InstanceId: string | undefined;
6138
- /**
6139
- * @public
6140
- * <p>Configuration information of an Amazon Lex bot.</p>
6141
- */
6142
- LexBot?: LexBot;
6143
- /**
6144
- * @public
6145
- * <p>The Amazon Lex V2 bot to disassociate from the instance.</p>
6146
- */
6147
- LexV2Bot?: LexV2Bot;
6148
- }
6149
- /**
6150
- * @public
6151
- */
6152
- export interface DisassociateInstanceStorageConfigRequest {
6153
- /**
6154
- * @public
6155
- * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
6156
- */
6157
- InstanceId: string | undefined;
6158
- /**
6159
- * @public
6160
- * <p>The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.</p>
6161
- */
6162
- AssociationId: string | undefined;
6163
- /**
6164
- * @public
6165
- * <p>A valid resource type.</p>
6166
- */
6167
- ResourceType: InstanceStorageResourceType | string | undefined;
6168
- }
6169
- /**
6170
- * @public
6171
- */
6172
- export interface DisassociateLambdaFunctionRequest {
6173
- /**
6174
- * @public
6175
- * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance..</p>
6176
- */
6177
- InstanceId: string | undefined;
6178
- /**
6179
- * @public
6180
- * <p>The Amazon Resource Name (ARN) of the Lambda function being disassociated.</p>
6181
- */
6182
- FunctionArn: string | undefined;
6183
- }
6184
- /**
6185
- * @public
6186
- */
6187
- export interface DisassociateLexBotRequest {
6319
+ export interface DescribeViewRequest {
6188
6320
  /**
6189
6321
  * @public
6190
- * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
6322
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
6191
6323
  */
6192
6324
  InstanceId: string | undefined;
6193
6325
  /**
6194
6326
  * @public
6195
- * <p>The name of the Amazon Lex bot. Maximum character limit of 50.</p>
6196
- */
6197
- BotName: string | undefined;
6198
- /**
6199
- * @public
6200
- * <p>The Amazon Web Services Region in which the Amazon Lex bot has been created.</p>
6201
- */
6202
- LexRegion: string | undefined;
6203
- }
6204
- /**
6205
- * @public
6206
- */
6207
- export interface DisassociatePhoneNumberContactFlowRequest {
6208
- /**
6209
- * @public
6210
- * <p>A unique identifier for the phone number.</p>
6211
- */
6212
- PhoneNumberId: string | undefined;
6213
- /**
6214
- * @public
6215
- * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
6327
+ * <p>The ViewId of the view. This must be an ARN for Amazon Web Services managed views.</p>
6216
6328
  */
6217
- InstanceId: string | undefined;
6329
+ ViewId: string | undefined;
6218
6330
  }
6219
6331
  /**
6220
6332
  * @public
6221
6333
  */
6222
- export interface DisassociateQueueQuickConnectsRequest {
6223
- /**
6224
- * @public
6225
- * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
6226
- */
6227
- InstanceId: string | undefined;
6228
- /**
6229
- * @public
6230
- * <p>The identifier for the queue.</p>
6231
- */
6232
- QueueId: string | undefined;
6334
+ export interface DescribeViewResponse {
6233
6335
  /**
6234
6336
  * @public
6235
- * <p>The quick connects to disassociate from the queue.</p>
6337
+ * <p>All view data is contained within the View object.</p>
6236
6338
  */
6237
- QuickConnectIds: string[] | undefined;
6339
+ View?: View;
6238
6340
  }
6239
6341
  /**
6240
6342
  * @public
6241
6343
  */
6242
- export interface DisassociateRoutingProfileQueuesRequest {
6344
+ export interface DescribeVocabularyRequest {
6243
6345
  /**
6244
6346
  * @public
6245
6347
  * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
@@ -6247,102 +6349,38 @@ export interface DisassociateRoutingProfileQueuesRequest {
6247
6349
  InstanceId: string | undefined;
6248
6350
  /**
6249
6351
  * @public
6250
- * <p>The identifier of the routing profile.</p>
6251
- */
6252
- RoutingProfileId: string | undefined;
6253
- /**
6254
- * @public
6255
- * <p>The queues to disassociate from this routing profile.</p>
6352
+ * <p>The identifier of the custom vocabulary.</p>
6256
6353
  */
6257
- QueueReferences: RoutingProfileQueueReference[] | undefined;
6354
+ VocabularyId: string | undefined;
6258
6355
  }
6259
6356
  /**
6260
- * @public
6357
+ * @internal
6261
6358
  */
6262
- export interface DisassociateSecurityKeyRequest {
6263
- /**
6264
- * @public
6265
- * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
6266
- */
6267
- InstanceId: string | undefined;
6268
- /**
6269
- * @public
6270
- * <p>The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.</p>
6271
- */
6272
- AssociationId: string | undefined;
6273
- }
6359
+ export declare const CreateInstanceRequestFilterSensitiveLog: (obj: CreateInstanceRequest) => any;
6274
6360
  /**
6275
- * @public
6361
+ * @internal
6276
6362
  */
6277
- export interface DisassociateTrafficDistributionGroupUserRequest {
6278
- /**
6279
- * @public
6280
- * <p>The identifier of the traffic distribution group.
6281
- * This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created.
6282
- * The ARN must be provided if the call is from the replicated Region.</p>
6283
- */
6284
- TrafficDistributionGroupId: string | undefined;
6285
- /**
6286
- * @public
6287
- * <p>The identifier for the user. This can be the ID or the ARN of the user.</p>
6288
- */
6289
- UserId: string | undefined;
6290
- /**
6291
- * @public
6292
- * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
6293
- */
6294
- InstanceId: string | undefined;
6295
- }
6363
+ export declare const ViewInputContentFilterSensitiveLog: (obj: ViewInputContent) => any;
6296
6364
  /**
6297
- * @public
6365
+ * @internal
6298
6366
  */
6299
- export interface DisassociateTrafficDistributionGroupUserResponse {
6300
- }
6367
+ export declare const CreateViewRequestFilterSensitiveLog: (obj: CreateViewRequest) => any;
6301
6368
  /**
6302
- * @public
6369
+ * @internal
6303
6370
  */
6304
- export interface DismissUserContactRequest {
6305
- /**
6306
- * @public
6307
- * <p>The identifier of the user account.</p>
6308
- */
6309
- UserId: string | undefined;
6310
- /**
6311
- * @public
6312
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the
6313
- * instance.</p>
6314
- */
6315
- InstanceId: string | undefined;
6316
- /**
6317
- * @public
6318
- * <p>The identifier of the contact.</p>
6319
- */
6320
- ContactId: string | undefined;
6321
- }
6371
+ export declare const ViewContentFilterSensitiveLog: (obj: ViewContent) => any;
6322
6372
  /**
6323
- * @public
6373
+ * @internal
6324
6374
  */
6325
- export interface DismissUserContactResponse {
6326
- }
6375
+ export declare const ViewFilterSensitiveLog: (obj: View) => any;
6327
6376
  /**
6328
- * @public
6377
+ * @internal
6329
6378
  */
6330
- export interface GetContactAttributesRequest {
6331
- /**
6332
- * @public
6333
- * <p>The identifier of the Amazon Connect instance.</p>
6334
- */
6335
- InstanceId: string | undefined;
6336
- /**
6337
- * @public
6338
- * <p>The identifier of the initial contact.</p>
6339
- */
6340
- InitialContactId: string | undefined;
6341
- }
6379
+ export declare const CreateViewResponseFilterSensitiveLog: (obj: CreateViewResponse) => any;
6342
6380
  /**
6343
6381
  * @internal
6344
6382
  */
6345
- export declare const CreateInstanceRequestFilterSensitiveLog: (obj: CreateInstanceRequest) => any;
6383
+ export declare const CreateViewVersionResponseFilterSensitiveLog: (obj: CreateViewVersionResponse) => any;
6346
6384
  /**
6347
6385
  * @internal
6348
6386
  */
@@ -6351,3 +6389,7 @@ export declare const InstanceFilterSensitiveLog: (obj: Instance) => any;
6351
6389
  * @internal
6352
6390
  */
6353
6391
  export declare const DescribeInstanceResponseFilterSensitiveLog: (obj: DescribeInstanceResponse) => any;
6392
+ /**
6393
+ * @internal
6394
+ */
6395
+ export declare const DescribeViewResponseFilterSensitiveLog: (obj: DescribeViewResponse) => any;