@aws-sdk/client-connect 3.369.0 → 3.372.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 (32) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/Connect.js +4 -0
  3. package/dist-cjs/commands/DeleteQueueCommand.js +46 -0
  4. package/dist-cjs/commands/DeleteRoutingProfileCommand.js +46 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/protocols/Aws_restJson1.js +135 -8
  7. package/dist-es/Connect.js +4 -0
  8. package/dist-es/commands/DeleteQueueCommand.js +42 -0
  9. package/dist-es/commands/DeleteRoutingProfileCommand.js +42 -0
  10. package/dist-es/commands/index.js +2 -0
  11. package/dist-es/protocols/Aws_restJson1.js +123 -0
  12. package/dist-types/Connect.d.ts +14 -0
  13. package/dist-types/ConnectClient.d.ts +4 -2
  14. package/dist-types/commands/DeleteQueueCommand.d.ts +90 -0
  15. package/dist-types/commands/DeleteRoutingProfileCommand.d.ts +90 -0
  16. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +1 -2
  17. package/dist-types/commands/index.d.ts +2 -0
  18. package/dist-types/models/models_0.d.ts +56 -216
  19. package/dist-types/models/models_1.d.ts +304 -67
  20. package/dist-types/models/models_2.d.ts +54 -1
  21. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  22. package/dist-types/ts3.4/Connect.d.ts +34 -0
  23. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  24. package/dist-types/ts3.4/commands/DeleteQueueCommand.d.ts +33 -0
  25. package/dist-types/ts3.4/commands/DeleteRoutingProfileCommand.d.ts +37 -0
  26. package/dist-types/ts3.4/commands/GetCurrentMetricDataCommand.d.ts +4 -2
  27. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +18 -23
  29. package/dist-types/ts3.4/models/models_1.d.ts +15 -11
  30. package/dist-types/ts3.4/models/models_2.d.ts +12 -2
  31. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  32. package/package.json +16 -17
@@ -3191,41 +3191,15 @@ export interface DeletePromptRequest {
3191
3191
  /**
3192
3192
  * @public
3193
3193
  */
3194
- export interface DeleteQuickConnectRequest {
3195
- /**
3196
- * <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>
3197
- */
3198
- InstanceId: string | undefined;
3199
- /**
3200
- * <p>The identifier for the quick connect.</p>
3201
- */
3202
- QuickConnectId: string | undefined;
3203
- }
3204
- /**
3205
- * @public
3206
- */
3207
- export interface DeleteRuleRequest {
3194
+ export interface DeleteQueueRequest {
3208
3195
  /**
3209
3196
  * <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>
3210
3197
  */
3211
3198
  InstanceId: string | undefined;
3212
3199
  /**
3213
- * <p>A unique identifier for the rule.</p>
3214
- */
3215
- RuleId: string | undefined;
3216
- }
3217
- /**
3218
- * @public
3219
- */
3220
- export interface DeleteSecurityProfileRequest {
3221
- /**
3222
- * <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>
3223
- */
3224
- InstanceId: string | undefined;
3225
- /**
3226
- * <p>The identifier for the security profle.</p>
3200
+ * <p>The identifier for the queue.</p>
3227
3201
  */
3228
- SecurityProfileId: string | undefined;
3202
+ QueueId: string | undefined;
3229
3203
  }
3230
3204
  /**
3231
3205
  * @public
@@ -3265,6 +3239,58 @@ export declare class ResourceInUseException extends __BaseException {
3265
3239
  */
3266
3240
  constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
3267
3241
  }
3242
+ /**
3243
+ * @public
3244
+ */
3245
+ export interface DeleteQuickConnectRequest {
3246
+ /**
3247
+ * <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>
3248
+ */
3249
+ InstanceId: string | undefined;
3250
+ /**
3251
+ * <p>The identifier for the quick connect.</p>
3252
+ */
3253
+ QuickConnectId: string | undefined;
3254
+ }
3255
+ /**
3256
+ * @public
3257
+ */
3258
+ export interface DeleteRoutingProfileRequest {
3259
+ /**
3260
+ * <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>
3261
+ */
3262
+ InstanceId: string | undefined;
3263
+ /**
3264
+ * <p>The identifier of the routing profile.</p>
3265
+ */
3266
+ RoutingProfileId: string | undefined;
3267
+ }
3268
+ /**
3269
+ * @public
3270
+ */
3271
+ export interface DeleteRuleRequest {
3272
+ /**
3273
+ * <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>
3274
+ */
3275
+ InstanceId: string | undefined;
3276
+ /**
3277
+ * <p>A unique identifier for the rule.</p>
3278
+ */
3279
+ RuleId: string | undefined;
3280
+ }
3281
+ /**
3282
+ * @public
3283
+ */
3284
+ export interface DeleteSecurityProfileRequest {
3285
+ /**
3286
+ * <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>
3287
+ */
3288
+ InstanceId: string | undefined;
3289
+ /**
3290
+ * <p>The identifier for the security profle.</p>
3291
+ */
3292
+ SecurityProfileId: string | undefined;
3293
+ }
3268
3294
  /**
3269
3295
  * @public
3270
3296
  */
@@ -4040,7 +4066,7 @@ export interface Instance {
4040
4066
  */
4041
4067
  OutboundCallsEnabled?: boolean;
4042
4068
  /**
4043
- * <p>This URL allows contact center users to access Amazon Connect admin website.</p>
4069
+ * <p>This URL allows contact center users to access the Amazon Connect admin website.</p>
4044
4070
  */
4045
4071
  InstanceAccessUrl?: string;
4046
4072
  }
@@ -5592,192 +5618,6 @@ export declare const SortOrder: {
5592
5618
  * @public
5593
5619
  */
5594
5620
  export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
5595
- /**
5596
- * @public
5597
- * <p>The way to sort the resulting response based on metrics. By default resources are sorted
5598
- * based on <code>AGENTS_ONLINE</code>, <code>DESCENDING</code>. The metric collection is sorted
5599
- * based on the input metrics.</p>
5600
- */
5601
- export interface CurrentMetricSortCriteria {
5602
- /**
5603
- * <p>The current metric names.</p>
5604
- */
5605
- SortByMetric?: CurrentMetricName | string;
5606
- /**
5607
- * <p>The way to sort.</p>
5608
- */
5609
- SortOrder?: SortOrder | string;
5610
- }
5611
- /**
5612
- * @public
5613
- */
5614
- export interface GetCurrentMetricDataRequest {
5615
- /**
5616
- * <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>
5617
- */
5618
- InstanceId: string | undefined;
5619
- /**
5620
- * <p>The filters to apply to returned metrics. You can filter up to the following limits:</p>
5621
- * <ul>
5622
- * <li>
5623
- * <p>Queues: 100</p>
5624
- * </li>
5625
- * <li>
5626
- * <p>Routing profiles: 100</p>
5627
- * </li>
5628
- * <li>
5629
- * <p>Channels: 3 (VOICE, CHAT, and TASK channels are supported.)</p>
5630
- * </li>
5631
- * </ul>
5632
- * <p>Metric data is retrieved only for the resources associated with the queues or routing
5633
- * profiles, and by any channels included in the filter. (You cannot filter by both queue AND
5634
- * routing profile.) You can include both resource IDs and resource ARNs in the same request. </p>
5635
- * <p>Currently tagging is only supported on the resources that are passed in the filter.</p>
5636
- */
5637
- Filters: Filters | undefined;
5638
- /**
5639
- * <p>The grouping applied to the metrics returned. For example, when grouped by
5640
- * <code>QUEUE</code>, the metrics returned apply to each queue rather than aggregated for all
5641
- * queues. </p>
5642
- * <ul>
5643
- * <li>
5644
- * <p>If you group by <code>CHANNEL</code>, you should include a Channels filter.
5645
- * VOICE, CHAT, and TASK channels are supported.</p>
5646
- * </li>
5647
- * <li>
5648
- * <p>If you group by <code>ROUTING_PROFILE</code>, you must include either a queue or routing
5649
- * profile filter. In addition, a routing profile filter is required for metrics
5650
- * <code>CONTACTS_SCHEDULED</code>, <code>CONTACTS_IN_QUEUE</code>, and <code>
5651
- * OLDEST_CONTACT_AGE</code>.</p>
5652
- * </li>
5653
- * <li>
5654
- * <p>If no <code>Grouping</code> is included in the request, a summary of metrics is
5655
- * returned.</p>
5656
- * </li>
5657
- * </ul>
5658
- */
5659
- Groupings?: (Grouping | string)[];
5660
- /**
5661
- * <p>The metrics to retrieve. Specify the name and unit for each metric. The following metrics
5662
- * are available. For a description of all the metrics, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html">Real-time Metrics
5663
- * Definitions</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
5664
- * <dl>
5665
- * <dt>AGENTS_AFTER_CONTACT_WORK</dt>
5666
- * <dd>
5667
- * <p>Unit: COUNT</p>
5668
- * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#aftercallwork-real-time">ACW</a>
5669
- * </p>
5670
- * </dd>
5671
- * <dt>AGENTS_AVAILABLE</dt>
5672
- * <dd>
5673
- * <p>Unit: COUNT</p>
5674
- * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#available-real-time">Available</a>
5675
- * </p>
5676
- * </dd>
5677
- * <dt>AGENTS_ERROR</dt>
5678
- * <dd>
5679
- * <p>Unit: COUNT</p>
5680
- * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#error-real-time">Error</a>
5681
- * </p>
5682
- * </dd>
5683
- * <dt>AGENTS_NON_PRODUCTIVE</dt>
5684
- * <dd>
5685
- * <p>Unit: COUNT</p>
5686
- * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#non-productive-time-real-time">NPT (Non-Productive Time)</a>
5687
- * </p>
5688
- * </dd>
5689
- * <dt>AGENTS_ON_CALL</dt>
5690
- * <dd>
5691
- * <p>Unit: COUNT</p>
5692
- * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#on-call-real-time">On
5693
- * contact</a>
5694
- * </p>
5695
- * </dd>
5696
- * <dt>AGENTS_ON_CONTACT</dt>
5697
- * <dd>
5698
- * <p>Unit: COUNT</p>
5699
- * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#on-call-real-time">On
5700
- * contact</a>
5701
- * </p>
5702
- * </dd>
5703
- * <dt>AGENTS_ONLINE</dt>
5704
- * <dd>
5705
- * <p>Unit: COUNT</p>
5706
- * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#online-real-time">Online</a>
5707
- * </p>
5708
- * </dd>
5709
- * <dt>AGENTS_STAFFED</dt>
5710
- * <dd>
5711
- * <p>Unit: COUNT</p>
5712
- * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#staffed-real-time">Staffed</a>
5713
- * </p>
5714
- * </dd>
5715
- * <dt>CONTACTS_IN_QUEUE</dt>
5716
- * <dd>
5717
- * <p>Unit: COUNT</p>
5718
- * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#in-queue-real-time">In
5719
- * queue</a>
5720
- * </p>
5721
- * </dd>
5722
- * <dt>CONTACTS_SCHEDULED</dt>
5723
- * <dd>
5724
- * <p>Unit: COUNT</p>
5725
- * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#scheduled-real-time">Scheduled</a>
5726
- * </p>
5727
- * </dd>
5728
- * <dt>OLDEST_CONTACT_AGE</dt>
5729
- * <dd>
5730
- * <p>Unit: SECONDS</p>
5731
- * <p>When you use groupings, Unit says SECONDS and the Value is returned in SECONDS. </p>
5732
- * <p>When you do not use groupings, Unit says SECONDS but the Value is returned in
5733
- * MILLISECONDS. For example, if you get a response like this:</p>
5734
- * <p>
5735
- * <code>\{ "Metric": \{ "Name": "OLDEST_CONTACT_AGE", "Unit": "SECONDS" \}, "Value": 24113.0
5736
- * </code>\}</p>
5737
- * <p>The actual OLDEST_CONTACT_AGE is 24 seconds.</p>
5738
- * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#oldest-real-time">Oldest</a>
5739
- * </p>
5740
- * </dd>
5741
- * <dt>SLOTS_ACTIVE</dt>
5742
- * <dd>
5743
- * <p>Unit: COUNT</p>
5744
- * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#active-real-time">Active</a>
5745
- * </p>
5746
- * </dd>
5747
- * <dt>SLOTS_AVAILABLE</dt>
5748
- * <dd>
5749
- * <p>Unit: COUNT</p>
5750
- * <p>Name in real-time metrics report: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#availability-real-time">Availability</a>
5751
- * </p>
5752
- * </dd>
5753
- * </dl>
5754
- */
5755
- CurrentMetrics: CurrentMetric[] | undefined;
5756
- /**
5757
- * <p>The token for the next set of results. Use the value returned in the previous
5758
- * response in the next request to retrieve the next set of results.</p>
5759
- * <p>The token expires after 5 minutes from the time it is created. Subsequent requests that use
5760
- * the token must use the same request parameters as the request that generated the token.</p>
5761
- */
5762
- NextToken?: string;
5763
- /**
5764
- * <p>The maximum number of results to return per page.</p>
5765
- */
5766
- MaxResults?: number;
5767
- /**
5768
- * <p>The way to sort the resulting response based on metrics. You can enter one sort criteria. By
5769
- * default resources are sorted based on <code>AGENTS_ONLINE</code>, <code>DESCENDING</code>. The
5770
- * metric collection is sorted based on the input metrics.</p>
5771
- * <p>Note the following:</p>
5772
- * <ul>
5773
- * <li>
5774
- * <p>Sorting on <code>SLOTS_ACTIVE</code> and <code>SLOTS_AVAILABLE</code> is not
5775
- * supported.</p>
5776
- * </li>
5777
- * </ul>
5778
- */
5779
- SortCriteria?: CurrentMetricSortCriteria[];
5780
- }
5781
5621
  /**
5782
5622
  * @internal
5783
5623
  */