@cdklabs/cdk-construct-connect-datalake 0.0.24 → 0.0.26

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 (90) hide show
  1. package/.jsii +10 -10
  2. package/.jsii.tabl.json +1 -1
  3. package/lib/index.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/package.json +2 -2
  6. package/node_modules/@aws-sdk/client-connect/README.md +14 -0
  7. package/node_modules/@aws-sdk/client-connect/dist-cjs/index.js +132 -19
  8. package/node_modules/@aws-sdk/client-connect/dist-es/Connect.js +4 -0
  9. package/node_modules/@aws-sdk/client-connect/dist-es/commands/GetCrossRegionRoutingCommand.js +4 -0
  10. package/node_modules/@aws-sdk/client-connect/dist-es/commands/UpdateCrossRegionRoutingCommand.js +4 -0
  11. package/node_modules/@aws-sdk/client-connect/dist-es/commands/index.js +2 -0
  12. package/node_modules/@aws-sdk/client-connect/dist-es/models/enums.js +17 -0
  13. package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +91 -18
  14. package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +14 -0
  15. package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +4 -2
  16. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateRuleCommand.d.ts +14 -0
  17. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeContactCommand.d.ts +1 -0
  18. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeRuleCommand.d.ts +11 -0
  19. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetCrossRegionRoutingCommand.d.ts +94 -0
  20. package/node_modules/@aws-sdk/client-connect/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +18 -1
  21. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +2 -1
  22. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchRulesCommand.d.ts +11 -0
  23. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateCrossRegionRoutingCommand.d.ts +95 -0
  24. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateRuleCommand.d.ts +11 -0
  25. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserNotificationStatusCommand.d.ts +2 -1
  26. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
  27. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserProficienciesCommand.d.ts +1 -1
  28. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
  29. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
  30. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateViewContentCommand.d.ts +1 -1
  31. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateViewMetadataCommand.d.ts +1 -2
  32. package/node_modules/@aws-sdk/client-connect/dist-types/commands/index.d.ts +2 -0
  33. package/node_modules/@aws-sdk/client-connect/dist-types/models/enums.d.ts +49 -0
  34. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +66 -33
  35. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +44 -85
  36. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +202 -137
  37. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +172 -157
  38. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_4.d.ts +156 -4
  39. package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +10 -0
  40. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/Connect.d.ts +34 -0
  41. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  42. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetCrossRegionRoutingCommand.d.ts +40 -0
  43. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +2 -4
  44. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateCrossRegionRoutingCommand.d.ts +42 -0
  45. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserNotificationStatusCommand.d.ts +2 -4
  46. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
  47. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserProficienciesCommand.d.ts +1 -1
  48. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
  49. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
  50. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateViewContentCommand.d.ts +1 -1
  51. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateViewMetadataCommand.d.ts +1 -2
  52. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/index.d.ts +2 -0
  53. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/enums.d.ts +25 -0
  54. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +16 -8
  55. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +12 -22
  56. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +54 -38
  57. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +46 -40
  58. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_4.d.ts +44 -1
  59. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -0
  60. package/node_modules/@aws-sdk/client-connect/package.json +2 -2
  61. package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +1 -1
  62. package/node_modules/@aws-sdk/client-glue/package.json +2 -2
  63. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/index.js +1 -1
  64. package/node_modules/@aws-sdk/client-lakeformation/package.json +2 -2
  65. package/node_modules/@aws-sdk/client-ram/dist-cjs/index.js +1 -1
  66. package/node_modules/@aws-sdk/client-ram/package.json +2 -2
  67. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1 -1
  68. package/node_modules/@aws-sdk/client-sts/package.json +2 -2
  69. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +2 -0
  70. package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +2 -0
  71. package/node_modules/@aws-sdk/credential-provider-node/package.json +1 -1
  72. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -1
  73. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +2 -1
  74. package/node_modules/@smithy/fetch-http-handler/package.json +3 -3
  75. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -4
  76. package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +1 -0
  77. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +2 -3
  78. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +8 -1
  79. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  80. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +14 -0
  81. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +14 -0
  82. package/node_modules/@smithy/types/package.json +1 -1
  83. package/node_modules/@types/aws-lambda/README.md +1 -1
  84. package/node_modules/@types/aws-lambda/package.json +3 -3
  85. package/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +1 -1
  86. package/node_modules/js-yaml/dist/js-yaml.js +17 -4
  87. package/node_modules/js-yaml/dist/js-yaml.min.js +1 -1
  88. package/node_modules/js-yaml/lib/js-yaml/loader.js +16 -3
  89. package/node_modules/js-yaml/package.json +1 -1
  90. package/package.json +12 -12
@@ -6,6 +6,7 @@ import {
6
6
  AttachmentScope,
7
7
  AutoEvaluationStatus,
8
8
  Behavior,
9
+ BooleanComparisonType,
9
10
  Channel,
10
11
  ChatEventType,
11
12
  ContactEvaluationAttributeComparisonType,
@@ -21,6 +22,8 @@ import {
21
22
  DataTableAttributeValueType,
22
23
  DataTableLockLevel,
23
24
  DateComparisonType,
25
+ DateTimeComparisonType,
26
+ DecimalComparisonType,
24
27
  EmailHeaderType,
25
28
  EvaluationFormLanguageCode,
26
29
  EvaluationFormVersionStatus,
@@ -40,12 +43,15 @@ import {
40
43
  NotificationPriority,
41
44
  NotificationStatus,
42
45
  NotificationType,
46
+ NumberComparisonType,
43
47
  OutboundMessageSourceType,
44
48
  OverrideType,
45
49
  ParticipantRole,
46
50
  ParticipantTimerAction,
47
51
  ParticipantTimerType,
48
52
  PerformanceCategoryName,
53
+ PhoneNumberCountryCode,
54
+ PhoneNumberType,
49
55
  Policy,
50
56
  QueueStatus,
51
57
  RehydrationType,
@@ -66,7 +72,6 @@ import {
66
72
  TimerEligibleParticipantRoles,
67
73
  TrafficType,
68
74
  TrendIndicator,
69
- ViewStatus,
70
75
  Visibility,
71
76
  VocabularyLanguageCode,
72
77
  VocabularyState,
@@ -98,6 +103,7 @@ import {
98
103
  OutboundEmailConfig,
99
104
  OutboundStrategy,
100
105
  PredefinedAttributeValues,
106
+ PreEvaluationFilters,
101
107
  PrimaryValue,
102
108
  QuickConnectConfig,
103
109
  RecurrenceConfig,
@@ -110,7 +116,6 @@ import {
110
116
  TaskTemplateConstraints,
111
117
  TaskTemplateDefaults,
112
118
  TaskTemplateField,
113
- UserProficiency,
114
119
  Validation,
115
120
  } from "./models_0";
116
121
  import {
@@ -137,10 +142,40 @@ import {
137
142
  UserIdentityInfo,
138
143
  UserPhoneConfig,
139
144
  View,
140
- ViewInputContent,
141
145
  VoiceEnhancementConfig,
142
146
  } from "./models_1";
143
- import { NumberCondition, SignInConfig, TelephonyConfig } from "./models_2";
147
+ import { SignInConfig, TelephonyConfig } from "./models_2";
148
+ export interface AvailableNumberSummary {
149
+ PhoneNumber?: string | undefined;
150
+ PhoneNumberCountryCode?: PhoneNumberCountryCode | undefined;
151
+ PhoneNumberType?: PhoneNumberType | undefined;
152
+ }
153
+ export interface SearchAvailablePhoneNumbersResponse {
154
+ NextToken?: string | undefined;
155
+ AvailableNumbersList?: AvailableNumberSummary[] | undefined;
156
+ }
157
+ export interface BooleanCondition {
158
+ FieldName?: string | undefined;
159
+ ComparisonType?: BooleanComparisonType | undefined;
160
+ }
161
+ export interface DateTimeCondition {
162
+ FieldName?: string | undefined;
163
+ MinValue?: string | undefined;
164
+ MaxValue?: string | undefined;
165
+ ComparisonType?: DateTimeComparisonType | undefined;
166
+ }
167
+ export interface DecimalCondition {
168
+ FieldName?: string | undefined;
169
+ MinValue?: number | undefined;
170
+ MaxValue?: number | undefined;
171
+ ComparisonType?: DecimalComparisonType | undefined;
172
+ }
173
+ export interface NumberCondition {
174
+ FieldName?: string | undefined;
175
+ MinValue?: number | undefined;
176
+ MaxValue?: number | undefined;
177
+ ComparisonType?: NumberComparisonType | undefined;
178
+ }
144
179
  export interface ContactEvaluationAttributeValue {
145
180
  StringValue?: string | undefined;
146
181
  }
@@ -515,6 +550,7 @@ export interface RuleSearchSummary {
515
550
  ActionSummaries: ActionSummary[] | undefined;
516
551
  RuleCapabilityTiers?: RuleCapabilityTier[] | undefined;
517
552
  PublishStatus: RulePublishStatus | undefined;
553
+ PreEvaluationFilters?: PreEvaluationFilters | undefined;
518
554
  CreatedTime: Date | undefined;
519
555
  LastUpdatedTime: Date | undefined;
520
556
  LastUpdatedBy: string | undefined;
@@ -1253,6 +1289,11 @@ export interface UpdateContactTaskTemplateRequest {
1253
1289
  ContactId: string | undefined;
1254
1290
  }
1255
1291
  export interface UpdateContactTaskTemplateResponse {}
1292
+ export interface UpdateCrossRegionRoutingRequest {
1293
+ InstanceId: string | undefined;
1294
+ IsolatedAll: boolean | undefined;
1295
+ }
1296
+ export interface UpdateCrossRegionRoutingResponse {}
1256
1297
  export interface UpdateDataTableAttributeRequest {
1257
1298
  InstanceId: string | undefined;
1258
1299
  DataTableId: string | undefined;
@@ -1540,6 +1581,7 @@ export interface UpdateRuleRequest {
1540
1581
  Function: string | undefined;
1541
1582
  Actions: RuleAction[] | undefined;
1542
1583
  PublishStatus: RulePublishStatus | undefined;
1584
+ PreEvaluationFilters?: PreEvaluationFilters | undefined;
1543
1585
  }
1544
1586
  export interface UpdateSecurityProfileRequest {
1545
1587
  Description?: string | undefined;
@@ -1647,39 +1689,3 @@ export interface UpdateUserNotificationStatusRequest {
1647
1689
  LastModifiedTime?: Date | undefined;
1648
1690
  LastModifiedRegion?: string | undefined;
1649
1691
  }
1650
- export interface UpdateUserNotificationStatusResponse {}
1651
- export interface UpdateUserPhoneConfigRequest {
1652
- PhoneConfig: UserPhoneConfig | undefined;
1653
- UserId: string | undefined;
1654
- InstanceId: string | undefined;
1655
- }
1656
- export interface UpdateUserProficienciesRequest {
1657
- InstanceId: string | undefined;
1658
- UserId: string | undefined;
1659
- UserProficiencies: UserProficiency[] | undefined;
1660
- }
1661
- export interface UpdateUserRoutingProfileRequest {
1662
- RoutingProfileId: string | undefined;
1663
- UserId: string | undefined;
1664
- InstanceId: string | undefined;
1665
- }
1666
- export interface UpdateUserSecurityProfilesRequest {
1667
- SecurityProfileIds: string[] | undefined;
1668
- UserId: string | undefined;
1669
- InstanceId: string | undefined;
1670
- }
1671
- export interface UpdateViewContentRequest {
1672
- InstanceId: string | undefined;
1673
- ViewId: string | undefined;
1674
- Status: ViewStatus | undefined;
1675
- Content: ViewInputContent | undefined;
1676
- }
1677
- export interface UpdateViewContentResponse {
1678
- View?: View | undefined;
1679
- }
1680
- export interface UpdateViewMetadataRequest {
1681
- InstanceId: string | undefined;
1682
- ViewId: string | undefined;
1683
- Name?: string | undefined;
1684
- Description?: string | undefined;
1685
- }
@@ -41,6 +41,7 @@ import {
41
41
  Reference,
42
42
  StringCondition,
43
43
  UserInfo,
44
+ UserProficiency,
44
45
  } from "./models_0";
45
46
  import {
46
47
  AttributeCondition,
@@ -59,11 +60,14 @@ import {
59
60
  QueueInfo,
60
61
  RecordingInfo,
61
62
  TaskTemplateInfoV2,
63
+ UserPhoneConfig,
64
+ View,
65
+ ViewInputContent,
62
66
  WisdomInfo,
63
67
  WorkspaceTheme,
64
68
  } from "./models_1";
65
- import { BooleanCondition, DateTimeCondition, DecimalCondition, NumberCondition } from "./models_2";
66
69
  import {
70
+ BooleanCondition,
67
71
  ChatMessage,
68
72
  ContactFlowModuleSearchFilter,
69
73
  ContactFlowSearchFilter,
@@ -72,6 +76,8 @@ import {
72
76
  ContactSearchSummaryQueueInfo,
73
77
  DataTableSearchFilter,
74
78
  DateCondition,
79
+ DateTimeCondition,
80
+ DecimalCondition,
75
81
  EmailAddressInfo,
76
82
  EmailAddressSearchFilter,
77
83
  EmailAttachment,
@@ -84,6 +90,7 @@ import {
84
90
  ListCondition,
85
91
  MetricSearchFilter,
86
92
  NotificationSearchFilter,
93
+ NumberCondition,
87
94
  ParticipantConfiguration,
88
95
  ParticipantDetails,
89
96
  PersistentChat,
@@ -104,6 +111,42 @@ import {
104
111
  WorkspaceAssociationSearchFilter,
105
112
  WorkspaceSearchFilter,
106
113
  } from "./models_3";
114
+ export interface UpdateUserNotificationStatusResponse {}
115
+ export interface UpdateUserPhoneConfigRequest {
116
+ PhoneConfig: UserPhoneConfig | undefined;
117
+ UserId: string | undefined;
118
+ InstanceId: string | undefined;
119
+ }
120
+ export interface UpdateUserProficienciesRequest {
121
+ InstanceId: string | undefined;
122
+ UserId: string | undefined;
123
+ UserProficiencies: UserProficiency[] | undefined;
124
+ }
125
+ export interface UpdateUserRoutingProfileRequest {
126
+ RoutingProfileId: string | undefined;
127
+ UserId: string | undefined;
128
+ InstanceId: string | undefined;
129
+ }
130
+ export interface UpdateUserSecurityProfilesRequest {
131
+ SecurityProfileIds: string[] | undefined;
132
+ UserId: string | undefined;
133
+ InstanceId: string | undefined;
134
+ }
135
+ export interface UpdateViewContentRequest {
136
+ InstanceId: string | undefined;
137
+ ViewId: string | undefined;
138
+ Status: ViewStatus | undefined;
139
+ Content: ViewInputContent | undefined;
140
+ }
141
+ export interface UpdateViewContentResponse {
142
+ View?: View | undefined;
143
+ }
144
+ export interface UpdateViewMetadataRequest {
145
+ InstanceId: string | undefined;
146
+ ViewId: string | undefined;
147
+ Name?: string | undefined;
148
+ Description?: string | undefined;
149
+ }
107
150
  export interface UpdateViewMetadataResponse {}
108
151
  export interface UpdateWorkspaceMetadataRequest {
109
152
  InstanceId: string | undefined;
@@ -587,6 +587,8 @@ export declare var GetContactAttributesRequest$: StaticStructureSchema;
587
587
  export declare var GetContactAttributesResponse$: StaticStructureSchema;
588
588
  export declare var GetContactMetricsRequest$: StaticStructureSchema;
589
589
  export declare var GetContactMetricsResponse$: StaticStructureSchema;
590
+ export declare var GetCrossRegionRoutingRequest$: StaticStructureSchema;
591
+ export declare var GetCrossRegionRoutingResponse$: StaticStructureSchema;
590
592
  export declare var GetCurrentMetricDataRequest$: StaticStructureSchema;
591
593
  export declare var GetCurrentMetricDataResponse$: StaticStructureSchema;
592
594
  export declare var GetCurrentUserDataRequest$: StaticStructureSchema;
@@ -874,6 +876,8 @@ export declare var PredefinedAttribute$: StaticStructureSchema;
874
876
  export declare var PredefinedAttributeConfiguration$: StaticStructureSchema;
875
877
  export declare var PredefinedAttributeSearchCriteria$: StaticStructureSchema;
876
878
  export declare var PredefinedAttributeSummary$: StaticStructureSchema;
879
+ export declare var PreEvaluationFilter$: StaticStructureSchema;
880
+ export declare var PreEvaluationFilters$: StaticStructureSchema;
877
881
  export declare var Preview$: StaticStructureSchema;
878
882
  export declare var PrimaryAttributeAccessControlConfigurationItem$: StaticStructureSchema;
879
883
  export declare var PrimaryAttributeValue$: StaticStructureSchema;
@@ -910,11 +914,13 @@ export declare var ReadOnlyFieldInfo$: StaticStructureSchema;
910
914
  export declare var RealTimeContactAnalysisAttachment$: StaticStructureSchema;
911
915
  export declare var RealTimeContactAnalysisCategoryDetails$: StaticStructureSchema;
912
916
  export declare var RealTimeContactAnalysisCharacterInterval$: StaticStructureSchema;
917
+ export declare var RealTimeContactAnalysisExtractedInformationValue$: StaticStructureSchema;
913
918
  export declare var RealTimeContactAnalysisIssueDetected$: StaticStructureSchema;
914
919
  export declare var RealTimeContactAnalysisPointOfInterest$: StaticStructureSchema;
915
920
  export declare var RealTimeContactAnalysisSegmentAttachments$: StaticStructureSchema;
916
921
  export declare var RealTimeContactAnalysisSegmentCategories$: StaticStructureSchema;
917
922
  export declare var RealTimeContactAnalysisSegmentEvent$: StaticStructureSchema;
923
+ export declare var RealTimeContactAnalysisSegmentExtractedInformation$: StaticStructureSchema;
918
924
  export declare var RealTimeContactAnalysisSegmentIssues$: StaticStructureSchema;
919
925
  export declare var RealTimeContactAnalysisSegmentPostContactSummary$: StaticStructureSchema;
920
926
  export declare var RealTimeContactAnalysisSegmentTranscript$: StaticStructureSchema;
@@ -1175,6 +1181,8 @@ export declare var UpdateContactScheduleRequest$: StaticStructureSchema;
1175
1181
  export declare var UpdateContactScheduleResponse$: StaticStructureSchema;
1176
1182
  export declare var UpdateContactTaskTemplateRequest$: StaticStructureSchema;
1177
1183
  export declare var UpdateContactTaskTemplateResponse$: StaticStructureSchema;
1184
+ export declare var UpdateCrossRegionRoutingRequest$: StaticStructureSchema;
1185
+ export declare var UpdateCrossRegionRoutingResponse$: StaticStructureSchema;
1178
1186
  export declare var UpdateDataTableAttributeRequest$: StaticStructureSchema;
1179
1187
  export declare var UpdateDataTableAttributeResponse$: StaticStructureSchema;
1180
1188
  export declare var UpdateDataTableMetadataRequest$: StaticStructureSchema;
@@ -1497,6 +1505,7 @@ export declare var EvaluateDataTableValues$: StaticOperationSchema;
1497
1505
  export declare var GetAttachedFile$: StaticOperationSchema;
1498
1506
  export declare var GetContactAttributes$: StaticOperationSchema;
1499
1507
  export declare var GetContactMetrics$: StaticOperationSchema;
1508
+ export declare var GetCrossRegionRouting$: StaticOperationSchema;
1500
1509
  export declare var GetCurrentMetricData$: StaticOperationSchema;
1501
1510
  export declare var GetCurrentUserData$: StaticOperationSchema;
1502
1511
  export declare var GetEffectiveHoursOfOperations$: StaticOperationSchema;
@@ -1664,6 +1673,7 @@ export declare var UpdateContactFlowName$: StaticOperationSchema;
1664
1673
  export declare var UpdateContactRoutingData$: StaticOperationSchema;
1665
1674
  export declare var UpdateContactSchedule$: StaticOperationSchema;
1666
1675
  export declare var UpdateContactTaskTemplate$: StaticOperationSchema;
1676
+ export declare var UpdateCrossRegionRouting$: StaticOperationSchema;
1667
1677
  export declare var UpdateDataTableAttribute$: StaticOperationSchema;
1668
1678
  export declare var UpdateDataTableMetadata$: StaticOperationSchema;
1669
1679
  export declare var UpdateDataTablePrimaryValues$: StaticOperationSchema;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
- "version": "3.1116.0",
3
+ "version": "3.1127.0",
4
4
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-connect",
6
6
  "license": "Apache-2.0",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@aws-sdk/core": "^3.977.9",
50
- "@aws-sdk/credential-provider-node": "^3.972.81",
50
+ "@aws-sdk/credential-provider-node": "^3.972.82",
51
51
  "@aws-sdk/types": "^3.974.5",
52
52
  "@smithy/core": "^3.33.3",
53
53
  "@smithy/fetch-http-handler": "^5.7.2",
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1115.0";
72
+ var version = "3.1126.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-glue",
3
- "version": "3.1116.0",
3
+ "version": "3.1127.0",
4
4
  "description": "AWS SDK for JavaScript Glue Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-glue",
6
6
  "license": "Apache-2.0",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@aws-sdk/core": "^3.977.9",
50
- "@aws-sdk/credential-provider-node": "^3.972.81",
50
+ "@aws-sdk/credential-provider-node": "^3.972.82",
51
51
  "@aws-sdk/types": "^3.974.5",
52
52
  "@smithy/core": "^3.33.3",
53
53
  "@smithy/fetch-http-handler": "^5.7.2",
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1115.0";
72
+ var version = "3.1126.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lakeformation",
3
- "version": "3.1116.0",
3
+ "version": "3.1127.0",
4
4
  "description": "AWS SDK for JavaScript Lakeformation Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-lakeformation",
6
6
  "license": "Apache-2.0",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@aws-sdk/core": "^3.977.9",
50
- "@aws-sdk/credential-provider-node": "^3.972.81",
50
+ "@aws-sdk/credential-provider-node": "^3.972.82",
51
51
  "@aws-sdk/types": "^3.974.5",
52
52
  "@smithy/core": "^3.33.3",
53
53
  "@smithy/fetch-http-handler": "^5.7.2",
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1115.0";
72
+ var version = "3.1126.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ram",
3
- "version": "3.1116.0",
3
+ "version": "3.1127.0",
4
4
  "description": "AWS SDK for JavaScript Ram Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ram",
6
6
  "license": "Apache-2.0",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@aws-sdk/core": "^3.977.9",
50
- "@aws-sdk/credential-provider-node": "^3.972.81",
50
+ "@aws-sdk/credential-provider-node": "^3.972.82",
51
51
  "@aws-sdk/types": "^3.974.5",
52
52
  "@smithy/core": "^3.33.3",
53
53
  "@smithy/fetch-http-handler": "^5.7.2",
@@ -264,7 +264,7 @@ const commonParams = {
264
264
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
265
265
  };
266
266
 
267
- var version = "3.1115.0";
267
+ var version = "3.1126.0";
268
268
  var packageInfo = {
269
269
  version: version};
270
270
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sts",
3
- "version": "3.1116.0",
3
+ "version": "3.1127.0",
4
4
  "description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sts",
6
6
  "license": "Apache-2.0",
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@aws-sdk/core": "^3.977.9",
56
- "@aws-sdk/credential-provider-node": "^3.972.81",
56
+ "@aws-sdk/credential-provider-node": "^3.972.82",
57
57
  "@aws-sdk/signature-v4-multi-region": "^3.996.46",
58
58
  "@aws-sdk/types": "^3.974.5",
59
59
  "@smithy/core": "^3.33.3",
@@ -52,6 +52,8 @@ function memoizeChain(providers, treatAsExpired) {
52
52
  passiveLock = chain(options)
53
53
  .then((c) => {
54
54
  credentials = c;
55
+ })
56
+ .catch(() => {
55
57
  })
56
58
  .finally(() => {
57
59
  passiveLock = undefined;
@@ -32,6 +32,8 @@ export function memoizeChain(providers, treatAsExpired) {
32
32
  passiveLock = chain(options)
33
33
  .then((c) => {
34
34
  credentials = c;
35
+ })
36
+ .catch(() => {
35
37
  })
36
38
  .finally(() => {
37
39
  passiveLock = undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.972.81",
3
+ "version": "3.972.82",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "keywords": [
6
6
  "aws",
@@ -51,6 +51,7 @@ class FetchHttpHandler {
51
51
  const requestTimeoutInMs = requestTimeout$1 ?? this.config.requestTimeout;
52
52
  const keepAlive = this.config.keepAlive === true;
53
53
  const credentials = this.config.credentials;
54
+ const fetchFn = this.config.customFetch ?? fetch;
54
55
  if (abortSignal?.aborted) {
55
56
  const abortError = buildAbortError(abortSignal);
56
57
  return Promise.reject(abortError);
@@ -96,7 +97,7 @@ class FetchHttpHandler {
96
97
  let removeSignalEventListener = () => { };
97
98
  const fetchRequest = createRequest(url, requestOptions);
98
99
  const raceOfPromises = [
99
- fetch(fetchRequest).then((response) => {
100
+ fetchFn(fetchRequest).then((response) => {
100
101
  const fetchHeaders = response.headers;
101
102
  const transformedHeaders = {};
102
103
  for (const pair of fetchHeaders.entries()) {
@@ -34,6 +34,7 @@ export class FetchHttpHandler {
34
34
  const requestTimeoutInMs = requestTimeout ?? this.config.requestTimeout;
35
35
  const keepAlive = this.config.keepAlive === true;
36
36
  const credentials = this.config.credentials;
37
+ const fetchFn = this.config.customFetch ?? fetch;
37
38
  if (abortSignal?.aborted) {
38
39
  const abortError = buildAbortError(abortSignal);
39
40
  return Promise.reject(abortError);
@@ -79,7 +80,7 @@ export class FetchHttpHandler {
79
80
  let removeSignalEventListener = () => { };
80
81
  const fetchRequest = createRequest(url, requestOptions);
81
82
  const raceOfPromises = [
82
- fetch(fetchRequest).then((response) => {
83
+ fetchFn(fetchRequest).then((response) => {
83
84
  const fetchHeaders = response.headers;
84
85
  const transformedHeaders = {};
85
86
  for (const pair of fetchHeaders.entries()) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/fetch-http-handler",
3
- "version": "5.7.2",
3
+ "version": "5.8.0",
4
4
  "description": "Provides a way to make requests",
5
5
  "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/fetch-http-handler",
6
6
  "license": "Apache-2.0",
@@ -40,8 +40,8 @@
40
40
  "test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.mts"
41
41
  },
42
42
  "dependencies": {
43
- "@smithy/core": "^3.33.2",
44
- "@smithy/types": "^4.17.2",
43
+ "@smithy/core": "^3.33.3",
44
+ "@smithy/types": "^4.18.0",
45
45
  "tslib": "^2.6.2"
46
46
  },
47
47
  "devDependencies": {
@@ -491,6 +491,7 @@ class ClientHttp2SessionRef {
491
491
  destroy() {
492
492
  this.refs = 0;
493
493
  if (!this.session.destroyed) {
494
+ this.session.setTimeout(0);
494
495
  this.session.destroy();
495
496
  }
496
497
  }
@@ -608,9 +609,8 @@ class NodeHttp2ConnectionManager {
608
609
  session.on("error", ensureDestroyed);
609
610
  session.on("frameError", ensureDestroyed);
610
611
  session.on("close", ensureDestroyed);
611
- if (connectionConfiguration.requestTimeout) {
612
- session.setTimeout(connectionConfiguration.requestTimeout, ensureDestroyed);
613
- }
612
+ const timeout = connectionConfiguration.requestTimeout ?? 300_000;
613
+ session.setTimeout(timeout, ensureDestroyed);
614
614
  ref.retain();
615
615
  return ref;
616
616
  }
@@ -817,6 +817,9 @@ class NodeHttp2Handler {
817
817
  resolve({ response: httpResponse });
818
818
  if (useIsolatedSession) {
819
819
  session.close();
820
+ clientHttp2Stream.on("end", () => {
821
+ ref.destroy();
822
+ });
820
823
  }
821
824
  });
822
825
  clientHttp2Stream.on("close", () => {
@@ -827,7 +830,11 @@ class NodeHttp2Handler {
827
830
  this.connectionManager.release(requestContext, ref);
828
831
  }
829
832
  if (!fulfilled) {
830
- rejectWithDestroy(new Error("Unexpected error: http2 request did not get a response"));
833
+ const error = new Error("Unexpected error: http2 request did not get a response");
834
+ if (session.destroyed) {
835
+ error.name = "TimeoutError";
836
+ }
837
+ rejectWithDestroy(error);
831
838
  }
832
839
  });
833
840
  writeRequestBodyPromise = writeRequestBody(clientHttp2Stream, request, effectiveRequestTimeout);
@@ -41,6 +41,7 @@ export class ClientHttp2SessionRef {
41
41
  destroy() {
42
42
  this.refs = 0;
43
43
  if (!this.session.destroyed) {
44
+ this.session.setTimeout(0);
44
45
  this.session.destroy();
45
46
  }
46
47
  }
@@ -64,9 +64,8 @@ export class NodeHttp2ConnectionManager {
64
64
  session.on("error", ensureDestroyed);
65
65
  session.on("frameError", ensureDestroyed);
66
66
  session.on("close", ensureDestroyed);
67
- if (connectionConfiguration.requestTimeout) {
68
- session.setTimeout(connectionConfiguration.requestTimeout, ensureDestroyed);
69
- }
67
+ const timeout = connectionConfiguration.requestTimeout ?? 300_000;
68
+ session.setTimeout(timeout, ensureDestroyed);
70
69
  ref.retain();
71
70
  return ref;
72
71
  }
@@ -142,6 +142,9 @@ export class NodeHttp2Handler {
142
142
  resolve({ response: httpResponse });
143
143
  if (useIsolatedSession) {
144
144
  session.close();
145
+ clientHttp2Stream.on("end", () => {
146
+ ref.destroy();
147
+ });
145
148
  }
146
149
  });
147
150
  clientHttp2Stream.on("close", () => {
@@ -152,7 +155,11 @@ export class NodeHttp2Handler {
152
155
  this.connectionManager.release(requestContext, ref);
153
156
  }
154
157
  if (!fulfilled) {
155
- rejectWithDestroy(new Error("Unexpected error: http2 request did not get a response"));
158
+ const error = new Error("Unexpected error: http2 request did not get a response");
159
+ if (session.destroyed) {
160
+ error.name = "TimeoutError";
161
+ }
162
+ rejectWithDestroy(error);
156
163
  }
157
164
  });
158
165
  writeRequestBodyPromise = writeRequestBody(clientHttp2Stream, request, effectiveRequestTimeout);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-http-handler",
3
- "version": "4.11.3",
3
+ "version": "4.12.1",
4
4
  "description": "Provides a way to make requests",
5
5
  "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/node-http-handler",
6
6
  "license": "Apache-2.0",
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@smithy/core": "^3.33.3",
43
- "@smithy/types": "^4.17.2",
43
+ "@smithy/types": "^4.18.0",
44
44
  "tslib": "^2.6.2"
45
45
  },
46
46
  "devDependencies": {
@@ -118,6 +118,20 @@ export interface FetchHttpHandlerOptions {
118
118
  * ```
119
119
  */
120
120
  requestInit?: (httpRequest: IHttpRequest) => RequestInit;
121
+ /**
122
+ * An optional custom fetch implementation to use in place of the
123
+ * global fetch function.
124
+ *
125
+ * @example
126
+ * ```js
127
+ * new Client({
128
+ * requestHandler: {
129
+ * customFetch: (request) => myFetchImplementation(request)
130
+ * }
131
+ * });
132
+ * ```
133
+ */
134
+ customFetch?: typeof fetch;
121
135
  }
122
136
  declare global {
123
137
  /**
@@ -118,6 +118,20 @@ export interface FetchHttpHandlerOptions {
118
118
  * ```
119
119
  */
120
120
  requestInit?: (httpRequest: IHttpRequest) => RequestInit;
121
+ /**
122
+ * An optional custom fetch implementation to use in place of the
123
+ * global fetch function.
124
+ *
125
+ * @example
126
+ * ```js
127
+ * new Client({
128
+ * requestHandler: {
129
+ * customFetch: (request) => myFetchImplementation(request)
130
+ * }
131
+ * });
132
+ * ```
133
+ */
134
+ customFetch?: typeof fetch;
121
135
  }
122
136
  declare global {
123
137
  /**