@aws-sdk/client-connect 3.896.0 → 3.899.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 (75) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +233 -59
  3. package/dist-es/Connect.js +4 -0
  4. package/dist-es/commands/AssociateContactWithUserCommand.js +22 -0
  5. package/dist-es/commands/ListInstancesCommand.js +1 -1
  6. package/dist-es/commands/ListRoutingProfileManualAssignmentQueuesCommand.js +22 -0
  7. package/dist-es/commands/SearchContactsCommand.js +2 -1
  8. package/dist-es/commands/UpdateEmailAddressMetadataCommand.js +1 -1
  9. package/dist-es/commands/index.js +2 -0
  10. package/dist-es/models/models_1.js +0 -10
  11. package/dist-es/models/models_2.js +28 -33
  12. package/dist-es/models/models_3.js +29 -0
  13. package/dist-es/pagination/ListRoutingProfileManualAssignmentQueuesPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/protocols/Aws_restJson1.js +116 -4
  16. package/dist-types/Connect.d.ts +14 -0
  17. package/dist-types/ConnectClient.d.ts +4 -2
  18. package/dist-types/commands/AssociateContactWithUserCommand.d.ts +136 -0
  19. package/dist-types/commands/AssociateRoutingProfileQueuesCommand.d.ts +9 -1
  20. package/dist-types/commands/CreateRoutingProfileCommand.d.ts +8 -0
  21. package/dist-types/commands/DeleteHoursOfOperationCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteHoursOfOperationOverrideCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteInstanceCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +4 -0
  25. package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +7 -1
  26. package/dist-types/commands/GetContactMetricsCommand.d.ts +2 -2
  27. package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +1 -2
  28. package/dist-types/commands/ListInstancesCommand.d.ts +2 -1
  29. package/dist-types/commands/ListRoutingProfileManualAssignmentQueuesCommand.d.ts +128 -0
  30. package/dist-types/commands/SearchContactsCommand.d.ts +161 -8
  31. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +4 -0
  32. package/dist-types/commands/StopContactCommand.d.ts +1 -2
  33. package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +1 -2
  34. package/dist-types/commands/UpdateContactScheduleCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdateEmailAddressMetadataCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +1 -2
  37. package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateHoursOfOperationOverrideCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  41. package/dist-types/commands/index.d.ts +2 -0
  42. package/dist-types/models/models_0.d.ts +53 -54
  43. package/dist-types/models/models_1.d.ts +69 -106
  44. package/dist-types/models/models_2.d.ts +388 -443
  45. package/dist-types/models/models_3.d.ts +394 -3
  46. package/dist-types/pagination/ListRoutingProfileManualAssignmentQueuesPaginator.d.ts +7 -0
  47. package/dist-types/pagination/index.d.ts +1 -0
  48. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  49. package/dist-types/ts3.4/Connect.d.ts +40 -0
  50. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  51. package/dist-types/ts3.4/commands/AssociateContactWithUserCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/DeleteHoursOfOperationCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DeleteHoursOfOperationOverrideCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/DeleteInstanceCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/ListInstanceStorageConfigsCommand.d.ts +4 -2
  56. package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +2 -4
  57. package/dist-types/ts3.4/commands/ListRoutingProfileManualAssignmentQueuesCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/SearchContactsCommand.d.ts +2 -4
  59. package/dist-types/ts3.4/commands/UpdateContactRoutingDataCommand.d.ts +4 -2
  60. package/dist-types/ts3.4/commands/UpdateContactScheduleCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/UpdateEmailAddressMetadataCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +4 -2
  63. package/dist-types/ts3.4/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/UpdateHoursOfOperationOverrideCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +16 -14
  69. package/dist-types/ts3.4/models/models_1.d.ts +17 -29
  70. package/dist-types/ts3.4/models/models_2.d.ts +102 -114
  71. package/dist-types/ts3.4/models/models_3.d.ts +110 -0
  72. package/dist-types/ts3.4/pagination/ListRoutingProfileManualAssignmentQueuesPaginator.d.ts +11 -0
  73. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  74. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  75. package/package.json +11 -11
@@ -1,6 +1,59 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import { AgentAvailabilityTimer, AgentConfig, AgentContactReference, AgentQualityMetrics, AgentsCriteria, AgentStatus, AgentStatusIdentifier, AgentStatusReference, AgentStatusSummary, AgentStatusType, AnalyticsDataAssociationResult, AudioQualityMetricsInfo, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactState, CreatedByInfo, DeviceInfo, DirectoryType, Distribution, EndpointType, FileStatusType, FileUseCaseType, FlowAssociationResourceType, FlowAssociationSummary, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InstanceStorageConfig, InstanceStorageResourceType, LexBot, LexV2Bot, ListFlowAssociationResourceType, MediaConcurrency, OutboundCallerConfig, OutboundEmailConfig, OverrideTimeSlice, ParticipantCapabilities, PredefinedAttributeValues, QueueReference, QuickConnectConfig, ReferenceStatus, ReferenceType, RoutingProfileQueueReference, RuleAction, RulePublishStatus, RuleTriggerEventSource, StorageType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserPhoneConfig, View, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface DeleteHoursOfOperationRequest {
8
+ /**
9
+ * <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>
10
+ * @public
11
+ */
12
+ InstanceId: string | undefined;
13
+ /**
14
+ * <p>The identifier for the hours of operation.</p>
15
+ * @public
16
+ */
17
+ HoursOfOperationId: string | undefined;
18
+ }
19
+ /**
20
+ * @public
21
+ */
22
+ export interface DeleteHoursOfOperationOverrideRequest {
23
+ /**
24
+ * <p>The identifier of the Amazon Connect instance.</p>
25
+ * @public
26
+ */
27
+ InstanceId: string | undefined;
28
+ /**
29
+ * <p>The identifier for the hours of operation.</p>
30
+ * @public
31
+ */
32
+ HoursOfOperationId: string | undefined;
33
+ /**
34
+ * <p>The identifier for the hours of operation override.</p>
35
+ * @public
36
+ */
37
+ HoursOfOperationOverrideId: string | undefined;
38
+ }
39
+ /**
40
+ * @public
41
+ */
42
+ export interface DeleteInstanceRequest {
43
+ /**
44
+ * <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>
45
+ * @public
46
+ */
47
+ InstanceId: string | undefined;
48
+ /**
49
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
50
+ * request. If not provided, the Amazon Web Services
51
+ * SDK populates this field. For more information about idempotency, see
52
+ * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
53
+ * @public
54
+ */
55
+ ClientToken?: string | undefined;
56
+ }
4
57
  /**
5
58
  * @public
6
59
  */
@@ -2820,6 +2873,11 @@ export interface RoutingProfile {
2820
2873
  * @public
2821
2874
  */
2822
2875
  NumberOfAssociatedQueues?: number | undefined;
2876
+ /**
2877
+ * <p>The number of associated manual assignment queues in routing profile.</p>
2878
+ * @public
2879
+ */
2880
+ NumberOfAssociatedManualAssignmentQueues?: number | undefined;
2823
2881
  /**
2824
2882
  * <p>The number of associated users in routing profile.</p>
2825
2883
  * @public
@@ -2852,6 +2910,11 @@ export interface RoutingProfile {
2852
2910
  * @public
2853
2911
  */
2854
2912
  AssociatedQueueIds?: string[] | undefined;
2913
+ /**
2914
+ * <p>The IDs of the associated manual assignment queues.</p>
2915
+ * @public
2916
+ */
2917
+ AssociatedManualAssignmentQueueIds?: string[] | undefined;
2855
2918
  }
2856
2919
  /**
2857
2920
  * @public
@@ -3825,7 +3888,12 @@ export interface DisassociateRoutingProfileQueuesRequest {
3825
3888
  * <p>The queues to disassociate from this routing profile.</p>
3826
3889
  * @public
3827
3890
  */
3828
- QueueReferences: RoutingProfileQueueReference[] | undefined;
3891
+ QueueReferences?: RoutingProfileQueueReference[] | undefined;
3892
+ /**
3893
+ * <p>The manual assignment queues to disassociate with this routing profile.</p>
3894
+ * @public
3895
+ */
3896
+ ManualAssignmentQueueReferences?: RoutingProfileQueueReference[] | undefined;
3829
3897
  }
3830
3898
  /**
3831
3899
  * @public
@@ -9202,103 +9270,6 @@ export interface ListInstancesRequest {
9202
9270
  */
9203
9271
  MaxResults?: number | undefined;
9204
9272
  }
9205
- /**
9206
- * <p>Information about the instance.</p>
9207
- * @public
9208
- */
9209
- export interface InstanceSummary {
9210
- /**
9211
- * <p>The identifier of the instance.</p>
9212
- * @public
9213
- */
9214
- Id?: string | undefined;
9215
- /**
9216
- * <p>The Amazon Resource Name (ARN) of the instance.</p>
9217
- * @public
9218
- */
9219
- Arn?: string | undefined;
9220
- /**
9221
- * <p>The identity management type of the instance.</p>
9222
- * @public
9223
- */
9224
- IdentityManagementType?: DirectoryType | undefined;
9225
- /**
9226
- * <p>The alias of the instance.</p>
9227
- * @public
9228
- */
9229
- InstanceAlias?: string | undefined;
9230
- /**
9231
- * <p>When the instance was created.</p>
9232
- * @public
9233
- */
9234
- CreatedTime?: Date | undefined;
9235
- /**
9236
- * <p>The service role of the instance.</p>
9237
- * @public
9238
- */
9239
- ServiceRole?: string | undefined;
9240
- /**
9241
- * <p>The state of the instance.</p>
9242
- * @public
9243
- */
9244
- InstanceStatus?: InstanceStatus | undefined;
9245
- /**
9246
- * <p>Whether inbound calls are enabled.</p>
9247
- * @public
9248
- */
9249
- InboundCallsEnabled?: boolean | undefined;
9250
- /**
9251
- * <p>Whether outbound calls are enabled.</p>
9252
- * @public
9253
- */
9254
- OutboundCallsEnabled?: boolean | undefined;
9255
- /**
9256
- * <p>This URL allows contact center users to access the Amazon Connect admin website.</p>
9257
- * @public
9258
- */
9259
- InstanceAccessUrl?: string | undefined;
9260
- }
9261
- /**
9262
- * @public
9263
- */
9264
- export interface ListInstancesResponse {
9265
- /**
9266
- * <p>Information about the instances.</p>
9267
- * @public
9268
- */
9269
- InstanceSummaryList?: InstanceSummary[] | undefined;
9270
- /**
9271
- * <p>If there are additional results, this is the token for the next set of results.</p>
9272
- * @public
9273
- */
9274
- NextToken?: string | undefined;
9275
- }
9276
- /**
9277
- * @public
9278
- */
9279
- export interface ListInstanceStorageConfigsRequest {
9280
- /**
9281
- * <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>
9282
- * @public
9283
- */
9284
- InstanceId: string | undefined;
9285
- /**
9286
- * <p>A valid resource type.</p>
9287
- * @public
9288
- */
9289
- ResourceType: InstanceStorageResourceType | undefined;
9290
- /**
9291
- * <p>The token for the next set of results. Use the value returned in the previous
9292
- * response in the next request to retrieve the next set of results.</p>
9293
- * @public
9294
- */
9295
- NextToken?: string | undefined;
9296
- /**
9297
- * <p>The maximum number of results to return per page.</p>
9298
- * @public
9299
- */
9300
- MaxResults?: number | undefined;
9301
- }
9302
9273
  /**
9303
9274
  * @internal
9304
9275
  */
@@ -9331,11 +9302,3 @@ export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
9331
9302
  * @internal
9332
9303
  */
9333
9304
  export declare const GetFederationTokenResponseFilterSensitiveLog: (obj: GetFederationTokenResponse) => any;
9334
- /**
9335
- * @internal
9336
- */
9337
- export declare const InstanceSummaryFilterSensitiveLog: (obj: InstanceSummary) => any;
9338
- /**
9339
- * @internal
9340
- */
9341
- export declare const ListInstancesResponseFilterSensitiveLog: (obj: ListInstancesResponse) => any;