@cdklabs/cdk-construct-connect-datalake 0.0.25 → 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.
- package/.jsii +9 -9
- package/.jsii.tabl.json +1 -1
- package/lib/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +2 -2
- package/node_modules/@aws-sdk/client-connect/README.md +14 -0
- package/node_modules/@aws-sdk/client-connect/dist-cjs/index.js +99 -17
- package/node_modules/@aws-sdk/client-connect/dist-es/Connect.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/GetCrossRegionRoutingCommand.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/UpdateCrossRegionRoutingCommand.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/index.js +2 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/models/enums.js +9 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +69 -16
- package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +14 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +4 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateRuleCommand.d.ts +14 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeContactCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeRuleCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetCrossRegionRoutingCommand.d.ts +94 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchRulesCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateCrossRegionRoutingCommand.d.ts +95 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateRuleCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserNotificationStatusCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserProficienciesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateViewContentCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/models/enums.d.ts +33 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +66 -33
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +44 -85
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +105 -81
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +116 -120
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_4.d.ts +120 -4
- package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +8 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/Connect.d.ts +34 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/ConnectClient.d.ts +12 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetCrossRegionRoutingCommand.d.ts +40 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateCrossRegionRoutingCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserNotificationStatusCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserProficienciesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateViewContentCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/enums.d.ts +15 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +16 -8
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +12 -22
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +23 -24
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +31 -30
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_4.d.ts +32 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/node_modules/@aws-sdk/client-connect/package.json +2 -2
- package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-glue/package.json +2 -2
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-lakeformation/package.json +2 -2
- package/node_modules/@aws-sdk/client-ram/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ram/package.json +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-sts/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-node/package.json +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -1
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +2 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +3 -3
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +1 -0
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +14 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@types/aws-lambda/README.md +1 -1
- package/node_modules/@types/aws-lambda/package.json +3 -3
- package/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +1 -1
- package/package.json +10 -10
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/LICENSE +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/README.md +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/index.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/append/constant.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/append.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/count.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/help.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/store/constant.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/store/false.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/store/true.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/store.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/subparsers.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/version.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action_container.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/argparse.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/argument/error.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/argument/exclusive.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/argument/group.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/argument_parser.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/const.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/help/added_formatters.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/help/formatter.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/namespace.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/utils.js +0 -0
- /package/node_modules/{argparse → js-yaml/node_modules/argparse}/package.json +0 -0
|
@@ -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,12 +60,14 @@ import {
|
|
|
59
60
|
QueueInfo,
|
|
60
61
|
RecordingInfo,
|
|
61
62
|
TaskTemplateInfoV2,
|
|
63
|
+
UserPhoneConfig,
|
|
62
64
|
View,
|
|
65
|
+
ViewInputContent,
|
|
63
66
|
WisdomInfo,
|
|
64
67
|
WorkspaceTheme,
|
|
65
68
|
} from "./models_1";
|
|
66
|
-
import { BooleanCondition, DateTimeCondition } from "./models_2";
|
|
67
69
|
import {
|
|
70
|
+
BooleanCondition,
|
|
68
71
|
ChatMessage,
|
|
69
72
|
ContactFlowModuleSearchFilter,
|
|
70
73
|
ContactFlowSearchFilter,
|
|
@@ -73,6 +76,7 @@ import {
|
|
|
73
76
|
ContactSearchSummaryQueueInfo,
|
|
74
77
|
DataTableSearchFilter,
|
|
75
78
|
DateCondition,
|
|
79
|
+
DateTimeCondition,
|
|
76
80
|
DecimalCondition,
|
|
77
81
|
EmailAddressInfo,
|
|
78
82
|
EmailAddressSearchFilter,
|
|
@@ -107,6 +111,33 @@ import {
|
|
|
107
111
|
WorkspaceAssociationSearchFilter,
|
|
108
112
|
WorkspaceSearchFilter,
|
|
109
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
|
+
}
|
|
110
141
|
export interface UpdateViewContentResponse {
|
|
111
142
|
View?: View | undefined;
|
|
112
143
|
}
|
|
@@ -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;
|
|
@@ -1177,6 +1181,8 @@ export declare var UpdateContactScheduleRequest$: StaticStructureSchema;
|
|
|
1177
1181
|
export declare var UpdateContactScheduleResponse$: StaticStructureSchema;
|
|
1178
1182
|
export declare var UpdateContactTaskTemplateRequest$: StaticStructureSchema;
|
|
1179
1183
|
export declare var UpdateContactTaskTemplateResponse$: StaticStructureSchema;
|
|
1184
|
+
export declare var UpdateCrossRegionRoutingRequest$: StaticStructureSchema;
|
|
1185
|
+
export declare var UpdateCrossRegionRoutingResponse$: StaticStructureSchema;
|
|
1180
1186
|
export declare var UpdateDataTableAttributeRequest$: StaticStructureSchema;
|
|
1181
1187
|
export declare var UpdateDataTableAttributeResponse$: StaticStructureSchema;
|
|
1182
1188
|
export declare var UpdateDataTableMetadataRequest$: StaticStructureSchema;
|
|
@@ -1499,6 +1505,7 @@ export declare var EvaluateDataTableValues$: StaticOperationSchema;
|
|
|
1499
1505
|
export declare var GetAttachedFile$: StaticOperationSchema;
|
|
1500
1506
|
export declare var GetContactAttributes$: StaticOperationSchema;
|
|
1501
1507
|
export declare var GetContactMetrics$: StaticOperationSchema;
|
|
1508
|
+
export declare var GetCrossRegionRouting$: StaticOperationSchema;
|
|
1502
1509
|
export declare var GetCurrentMetricData$: StaticOperationSchema;
|
|
1503
1510
|
export declare var GetCurrentUserData$: StaticOperationSchema;
|
|
1504
1511
|
export declare var GetEffectiveHoursOfOperations$: StaticOperationSchema;
|
|
@@ -1666,6 +1673,7 @@ export declare var UpdateContactFlowName$: StaticOperationSchema;
|
|
|
1666
1673
|
export declare var UpdateContactRoutingData$: StaticOperationSchema;
|
|
1667
1674
|
export declare var UpdateContactSchedule$: StaticOperationSchema;
|
|
1668
1675
|
export declare var UpdateContactTaskTemplate$: StaticOperationSchema;
|
|
1676
|
+
export declare var UpdateCrossRegionRouting$: StaticOperationSchema;
|
|
1669
1677
|
export declare var UpdateDataTableAttribute$: StaticOperationSchema;
|
|
1670
1678
|
export declare var UpdateDataTableMetadata$: StaticOperationSchema;
|
|
1671
1679
|
export declare var UpdateDataTablePrimaryValues$: StaticOperationSchema;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connect",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
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",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-glue",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
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",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lakeformation",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
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",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ram",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
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",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sts",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
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",
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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.
|
|
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.
|
|
44
|
-
"@smithy/types": "^4.
|
|
43
|
+
"@smithy/core": "^3.33.3",
|
|
44
|
+
"@smithy/types": "^4.18.0",
|
|
45
45
|
"tslib": "^2.6.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "4.12.
|
|
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.
|
|
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
|
/**
|
|
@@ -8,7 +8,7 @@ This package contains type definitions for aws-lambda (http://docs.aws.amazon.co
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-lambda.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 01 Sep 2026 18:37:51 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/aws-lambda",
|
|
3
|
-
"version": "8.10.
|
|
3
|
+
"version": "8.10.163",
|
|
4
4
|
"description": "TypeScript definitions for aws-lambda",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-lambda",
|
|
6
6
|
"license": "MIT",
|
|
@@ -221,6 +221,6 @@
|
|
|
221
221
|
"scripts": {},
|
|
222
222
|
"dependencies": {},
|
|
223
223
|
"peerDependencies": {},
|
|
224
|
-
"typesPublisherContentHash": "
|
|
225
|
-
"typeScriptVersion": "5.
|
|
224
|
+
"typesPublisherContentHash": "225c8b47434176686e640f3c484c3bef662843a3c2fbf6d1f4bd3bf7fe3971d3",
|
|
225
|
+
"typeScriptVersion": "5.6"
|
|
226
226
|
}
|
package/package.json
CHANGED
|
@@ -59,13 +59,13 @@
|
|
|
59
59
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
60
60
|
"eslint-plugin-import": "^2.32.0",
|
|
61
61
|
"eslint-plugin-prettier": "^5.5.6",
|
|
62
|
-
"jest": "^30.
|
|
62
|
+
"jest": "^30.5.0",
|
|
63
63
|
"jest-junit": "^16",
|
|
64
64
|
"jsii": "~5.9",
|
|
65
65
|
"jsii-diff": "^1.140.0",
|
|
66
66
|
"jsii-docgen": "^10.5.0",
|
|
67
67
|
"jsii-pacmak": "^1.140.0",
|
|
68
|
-
"jsii-rosetta": "^5.9.
|
|
68
|
+
"jsii-rosetta": "^5.9.64",
|
|
69
69
|
"prettier": "^3.9.6",
|
|
70
70
|
"projen": "^0.99.17",
|
|
71
71
|
"ts-jest": "^29.4.12",
|
|
@@ -77,14 +77,14 @@
|
|
|
77
77
|
"constructs": "^10.5.1"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@aws-sdk/client-cloudformation": "^3.
|
|
81
|
-
"@aws-sdk/client-connect": "^3.
|
|
82
|
-
"@aws-sdk/client-glue": "^3.
|
|
83
|
-
"@aws-sdk/client-lakeformation": "^3.
|
|
84
|
-
"@aws-sdk/client-ram": "^3.
|
|
85
|
-
"@aws-sdk/client-sts": "^3.
|
|
80
|
+
"@aws-sdk/client-cloudformation": "^3.1127.0",
|
|
81
|
+
"@aws-sdk/client-connect": "^3.1127.0",
|
|
82
|
+
"@aws-sdk/client-glue": "^3.1127.0",
|
|
83
|
+
"@aws-sdk/client-lakeformation": "^3.1127.0",
|
|
84
|
+
"@aws-sdk/client-ram": "^3.1127.0",
|
|
85
|
+
"@aws-sdk/client-sts": "^3.1127.0",
|
|
86
86
|
"@aws-sdk/types": "^3.974.5",
|
|
87
|
-
"@types/aws-lambda": "^8.10.
|
|
87
|
+
"@types/aws-lambda": "^8.10.163",
|
|
88
88
|
"aws-lambda": "^1.0.7"
|
|
89
89
|
},
|
|
90
90
|
"bundledDependencies": [
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"publishConfig": {
|
|
113
113
|
"access": "public"
|
|
114
114
|
},
|
|
115
|
-
"version": "0.0.
|
|
115
|
+
"version": "0.0.26",
|
|
116
116
|
"jest": {
|
|
117
117
|
"coverageProvider": "v8",
|
|
118
118
|
"moduleNameMapper": {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/append/constant.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/action/store/constant.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/node_modules/{argparse → js-yaml/node_modules/argparse}/lib/help/added_formatters.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|