@aws-sdk/client-connect 3.863.0 → 3.865.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 (74) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +110 -27
  3. package/dist-es/Connect.js +2 -0
  4. package/dist-es/commands/GetContactMetricsCommand.js +22 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_1.js +11 -0
  7. package/dist-es/models/models_2.js +0 -25
  8. package/dist-es/models/models_3.js +25 -0
  9. package/dist-es/protocols/Aws_restJson1.js +51 -0
  10. package/dist-types/Connect.d.ts +7 -0
  11. package/dist-types/ConnectClient.d.ts +3 -2
  12. package/dist-types/commands/AssociateQueueQuickConnectsCommand.d.ts +1 -2
  13. package/dist-types/commands/CreateAgentStatusCommand.d.ts +1 -2
  14. package/dist-types/commands/CreateHoursOfOperationCommand.d.ts +1 -2
  15. package/dist-types/commands/CreateHoursOfOperationOverrideCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateUserCommand.d.ts +3 -3
  17. package/dist-types/commands/CreateViewCommand.d.ts +4 -1
  18. package/dist-types/commands/CreateViewVersionCommand.d.ts +4 -1
  19. package/dist-types/commands/DeleteHoursOfOperationCommand.d.ts +1 -2
  20. package/dist-types/commands/DeleteHoursOfOperationOverrideCommand.d.ts +1 -1
  21. package/dist-types/commands/DeletePredefinedAttributeCommand.d.ts +4 -1
  22. package/dist-types/commands/DeleteQueueCommand.d.ts +4 -1
  23. package/dist-types/commands/DeleteRoutingProfileCommand.d.ts +4 -1
  24. package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +4 -1
  25. package/dist-types/commands/DeleteTrafficDistributionGroupCommand.d.ts +4 -1
  26. package/dist-types/commands/DeleteUserHierarchyGroupCommand.d.ts +4 -1
  27. package/dist-types/commands/DeleteViewCommand.d.ts +4 -1
  28. package/dist-types/commands/DeleteViewVersionCommand.d.ts +4 -1
  29. package/dist-types/commands/DeleteVocabularyCommand.d.ts +4 -1
  30. package/dist-types/commands/DescribeAgentStatusCommand.d.ts +1 -2
  31. package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +1 -2
  32. package/dist-types/commands/DescribeQueueCommand.d.ts +1 -2
  33. package/dist-types/commands/DisassociateQueueQuickConnectsCommand.d.ts +1 -2
  34. package/dist-types/commands/GetContactMetricsCommand.d.ts +117 -0
  35. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +37 -0
  36. package/dist-types/commands/GetMetricDataV2Command.d.ts +37 -0
  37. package/dist-types/commands/ListAgentStatusesCommand.d.ts +1 -2
  38. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -1
  39. package/dist-types/commands/ListLambdaFunctionsCommand.d.ts +1 -1
  40. package/dist-types/commands/ListLexBotsCommand.d.ts +1 -1
  41. package/dist-types/commands/ListPhoneNumbersCommand.d.ts +1 -2
  42. package/dist-types/commands/ListQueueQuickConnectsCommand.d.ts +1 -2
  43. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +4 -1
  44. package/dist-types/commands/UpdateAgentStatusCommand.d.ts +1 -2
  45. package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +1 -2
  46. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +4 -1
  47. package/dist-types/commands/UpdatePhoneNumberMetadataCommand.d.ts +4 -1
  48. package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -2
  49. package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +1 -2
  50. package/dist-types/commands/UpdateQueueNameCommand.d.ts +1 -2
  51. package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +1 -2
  52. package/dist-types/commands/UpdateQueueStatusCommand.d.ts +1 -2
  53. package/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +4 -1
  54. package/dist-types/commands/UpdateViewContentCommand.d.ts +4 -1
  55. package/dist-types/commands/UpdateViewMetadataCommand.d.ts +4 -1
  56. package/dist-types/commands/index.d.ts +1 -0
  57. package/dist-types/models/models_0.d.ts +6 -7
  58. package/dist-types/models/models_1.d.ts +517 -150
  59. package/dist-types/models/models_2.d.ts +130 -144
  60. package/dist-types/models/models_3.d.ts +143 -6
  61. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  62. package/dist-types/ts3.4/Connect.d.ts +17 -0
  63. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  64. package/dist-types/ts3.4/commands/GetContactMetricsCommand.d.ts +51 -0
  65. package/dist-types/ts3.4/commands/ListIntegrationAssociationsCommand.d.ts +2 -4
  66. package/dist-types/ts3.4/commands/ListLambdaFunctionsCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/ListLexBotsCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/ListPhoneNumbersCommand.d.ts +4 -2
  69. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  70. package/dist-types/ts3.4/models/models_1.d.ts +40 -31
  71. package/dist-types/ts3.4/models/models_2.d.ts +33 -67
  72. package/dist-types/ts3.4/models/models_3.d.ts +68 -1
  73. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  74. package/package.json +5 -5
@@ -99,7 +99,10 @@ declare const UpdateViewContentCommand_base: {
99
99
  * <p>The request is not valid.</p>
100
100
  *
101
101
  * @throws {@link ResourceInUseException} (client fault)
102
- * <p>That resource is already in use. Please try another.</p>
102
+ * <p>That resource is already in use (for example, you're trying to add a record with the same
103
+ * name as an existing record). If you are trying to delete a resource (for example,
104
+ * DeleteHoursOfOperation or DeletePredefinedAttribute), remove its reference from related resources
105
+ * and then try again.</p>
103
106
  *
104
107
  * @throws {@link ResourceNotFoundException} (client fault)
105
108
  * <p>The specified resource was not found.</p>
@@ -69,7 +69,10 @@ declare const UpdateViewMetadataCommand_base: {
69
69
  * <p>The request is not valid.</p>
70
70
  *
71
71
  * @throws {@link ResourceInUseException} (client fault)
72
- * <p>That resource is already in use. Please try another.</p>
72
+ * <p>That resource is already in use (for example, you're trying to add a record with the same
73
+ * name as an existing record). If you are trying to delete a resource (for example,
74
+ * DeleteHoursOfOperation or DeletePredefinedAttribute), remove its reference from related resources
75
+ * and then try again.</p>
73
76
  *
74
77
  * @throws {@link ResourceNotFoundException} (client fault)
75
78
  * <p>The specified resource was not found.</p>
@@ -120,6 +120,7 @@ export * from "./DisassociateUserProficienciesCommand";
120
120
  export * from "./DismissUserContactCommand";
121
121
  export * from "./GetAttachedFileCommand";
122
122
  export * from "./GetContactAttributesCommand";
123
+ export * from "./GetContactMetricsCommand";
123
124
  export * from "./GetCurrentMetricDataCommand";
124
125
  export * from "./GetCurrentUserDataCommand";
125
126
  export * from "./GetEffectiveHoursOfOperationsCommand";
@@ -168,15 +168,11 @@ export declare class ThrottlingException extends __BaseException {
168
168
  export interface EmailRecipient {
169
169
  /**
170
170
  * <p>Address of the email recipient.</p>
171
- * <p>Type: String</p>
172
- * <p>Length Constraints: Minimum length of 1. Maximum length of 256.</p>
173
171
  * @public
174
172
  */
175
173
  Address?: string | undefined;
176
174
  /**
177
175
  * <p>Display name of the email recipient.</p>
178
- * <p>Type: String</p>
179
- * <p>Length Constraints: Minimum length of 1. Maximum length of 256.</p>
180
176
  * @public
181
177
  */
182
178
  DisplayName?: string | undefined;
@@ -3586,12 +3582,12 @@ export interface CreateHoursOfOperationOverrideRequest {
3586
3582
  */
3587
3583
  Config: HoursOfOperationOverrideConfig[] | undefined;
3588
3584
  /**
3589
- * <p>The date from when the hours of operation override would be effective.</p>
3585
+ * <p>The date from when the hours of operation override is effective.</p>
3590
3586
  * @public
3591
3587
  */
3592
3588
  EffectiveFrom: string | undefined;
3593
3589
  /**
3594
- * <p>The date until when the hours of operation override would be effective.</p>
3590
+ * <p>The date until when the hours of operation override is effective.</p>
3595
3591
  * @public
3596
3592
  */
3597
3593
  EffectiveTill: string | undefined;
@@ -5967,7 +5963,10 @@ export declare const ResourceType: {
5967
5963
  */
5968
5964
  export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
5969
5965
  /**
5970
- * <p>That resource is already in use. Please try another.</p>
5966
+ * <p>That resource is already in use (for example, you're trying to add a record with the same
5967
+ * name as an existing record). If you are trying to delete a resource (for example,
5968
+ * DeleteHoursOfOperation or DeletePredefinedAttribute), remove its reference from related resources
5969
+ * and then try again.</p>
5971
5970
  * @public
5972
5971
  */
5973
5972
  export declare class ResourceInUseException extends __BaseException {