@cdklabs/cdk-ssm-documents 0.0.76 → 0.0.77
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 +11 -11
- package/lib/construct/synth-utils.js +1 -1
- package/lib/document/automation-document.js +1 -1
- package/lib/document/command-document.js +1 -1
- package/lib/document/document-builder.js +2 -2
- package/lib/document/ssm-document.js +1 -1
- package/lib/domain/aws-service.js +1 -1
- package/lib/domain/choice.js +1 -1
- package/lib/domain/data-type.js +1 -1
- package/lib/domain/enum/install-action.js +2 -2
- package/lib/domain/enum/install-uninstall-repair.js +2 -2
- package/lib/domain/enum/installation-type.js +2 -2
- package/lib/domain/enum/package-name.js +2 -2
- package/lib/domain/input.js +1 -1
- package/lib/domain/operation.js +1 -1
- package/lib/domain/platform.js +1 -1
- package/lib/domain/precondition.js +1 -1
- package/lib/incident-response/incident-response.js +3 -3
- package/lib/interface/approve-hook.js +2 -2
- package/lib/interface/auth-method.js +3 -3
- package/lib/interface/aws-invoker.js +2 -2
- package/lib/interface/downloadable-content.js +8 -8
- package/lib/interface/environment.js +3 -3
- package/lib/interface/execute-automation-hook/api-execute-automation-hook.js +1 -1
- package/lib/interface/observer.js +1 -1
- package/lib/interface/on-failure.js +6 -6
- package/lib/interface/pause-hook.js +2 -2
- package/lib/interface/run-command-hook/api-run-command-hook.js +1 -1
- package/lib/interface/run-document-location.js +2 -2
- package/lib/interface/sleep-hook.js +2 -2
- package/lib/interface/step-ref.js +1 -1
- package/lib/interface/variables/boolean-variable.js +2 -2
- package/lib/interface/variables/map-list-variable.js +2 -2
- package/lib/interface/variables/number-variable.js +2 -2
- package/lib/interface/variables/secure-string-variable.js +4 -4
- package/lib/interface/variables/string-list-variable.js +2 -2
- package/lib/interface/variables/string-map-variable.js +2 -2
- package/lib/interface/variables/string-variable.js +4 -4
- package/lib/interface/variables/variable.js +2 -2
- package/lib/interface/webhook.js +1 -1
- package/lib/parent-steps/automation/approve-step.js +1 -1
- package/lib/parent-steps/automation/assert-aws-resource-step.js +1 -1
- package/lib/parent-steps/automation/aws-api-step.js +1 -1
- package/lib/parent-steps/automation/branch-step.js +1 -1
- package/lib/parent-steps/automation/change-instance-state-step.js +3 -3
- package/lib/parent-steps/automation/copy-image-step.js +1 -1
- package/lib/parent-steps/automation/create-image-step.js +1 -1
- package/lib/parent-steps/automation/create-stack-step.js +3 -3
- package/lib/parent-steps/automation/create-tags-step.js +3 -3
- package/lib/parent-steps/automation/delete-image-step.js +1 -1
- package/lib/parent-steps/automation/delete-stack-step.js +1 -1
- package/lib/parent-steps/automation/execute-automation-step.js +1 -1
- package/lib/parent-steps/automation/execute-script-step.js +5 -5
- package/lib/parent-steps/automation/execute-state-machine-step.js +1 -1
- package/lib/parent-steps/automation/invoke-lambda-function-step.js +1 -1
- package/lib/parent-steps/automation/invoke-webhook-step.js +1 -1
- package/lib/parent-steps/automation/pause-step.js +1 -1
- package/lib/parent-steps/automation/run-command-step.js +3 -3
- package/lib/parent-steps/automation/run-instance-step.js +1 -1
- package/lib/parent-steps/automation/sleep-step.js +1 -1
- package/lib/parent-steps/automation/update-variable.js +1 -1
- package/lib/parent-steps/automation/wait-for-resource-step.js +1 -1
- package/lib/parent-steps/automation-step.js +1 -1
- package/lib/parent-steps/command/applications-step.js +1 -1
- package/lib/parent-steps/command/configure-docker-step.js +1 -1
- package/lib/parent-steps/command/configure-package-step.js +1 -1
- package/lib/parent-steps/command/domain-join-step.js +1 -1
- package/lib/parent-steps/command/download-content-step.js +1 -1
- package/lib/parent-steps/command/ps-module-step.js +1 -1
- package/lib/parent-steps/command/run-docker-action-step.js +1 -1
- package/lib/parent-steps/command/run-document-step.js +1 -1
- package/lib/parent-steps/command/run-powershell-script-step.js +1 -1
- package/lib/parent-steps/command/run-shell-script-step.js +1 -1
- package/lib/parent-steps/command/software-inventory-step.js +1 -1
- package/lib/parent-steps/command/update-agent-step.js +1 -1
- package/lib/parent-steps/command/update-ssm-agent-step.js +1 -1
- package/lib/parent-steps/command-step.js +1 -1
- package/lib/parent-steps/step.js +1 -1
- package/lib/patterns/automation/composite-step.js +2 -2
- package/lib/patterns/automation/reboot-instance-and-wait.js +1 -1
- package/lib/patterns/automation/string-step.js +1 -1
- package/lib/patterns/document/string-document.js +1 -1
- package/lib/patterns/document/timed-document.js +1 -1
- package/lib/samples/hello-world.js +1 -1
- package/lib/simulation/automation/approve-simulation.js +1 -1
- package/lib/simulation/automation/assert-aws-resource-simulation.js +1 -1
- package/lib/simulation/automation/automation-simulation-base.js +1 -1
- package/lib/simulation/automation/aws-api-simulation.js +1 -1
- package/lib/simulation/automation/branch-simulation.js +1 -1
- package/lib/simulation/automation/change-instance-state-simulation.js +1 -1
- package/lib/simulation/automation/copy-image-simulation.js +1 -1
- package/lib/simulation/automation/create-image-simulation.js +1 -1
- package/lib/simulation/automation/create-stack-simulation.js +1 -1
- package/lib/simulation/automation/create-tags-simulation.js +1 -1
- package/lib/simulation/automation/delete-image-simulation.js +1 -1
- package/lib/simulation/automation/delete-stack-simulation.js +1 -1
- package/lib/simulation/automation/execute-script-simulation.js +1 -1
- package/lib/simulation/automation/execute-state-machine-simulation.js +1 -1
- package/lib/simulation/automation/invoke-lambda-function-simulation.js +1 -1
- package/lib/simulation/automation/invoke-webhook-simulation.js +1 -1
- package/lib/simulation/automation/pause-simulation.js +1 -1
- package/lib/simulation/automation/run-command-simulation.js +1 -1
- package/lib/simulation/automation/run-instance-simulation.js +1 -1
- package/lib/simulation/automation/sleep-simulation.js +1 -1
- package/lib/simulation/automation/update-variable-simulation.js +1 -1
- package/lib/simulation/automation/wait-for-resource-simulation.js +1 -1
- package/lib/simulation/automation-step-simulation.js +1 -1
- package/lib/simulation/command/command-simulation-base.js +1 -1
- package/lib/simulation/command/ps-module-simulation.js +1 -1
- package/lib/simulation/command/run-powershell-script-simulation.js +1 -1
- package/lib/simulation/command/run-shell-script-simulation.js +1 -1
- package/lib/simulation/command-step-simulation.js +1 -1
- package/lib/simulation/document/automation-simulation.js +1 -1
- package/lib/simulation/document/command-simulation.js +1 -1
- package/lib/simulation/simulation.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-cloudwatch/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch/package.json +2 -2
- package/node_modules/@aws-sdk/client-ec2/README.md +7 -0
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +71 -32
- package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/ValidateSecurityGroupQuotasForInterfaceCommand.js +4 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/enums.js +4 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +56 -30
- package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +3 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamInternetRegistryAssociationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteIpamInternetRegistryAssociationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeIpamInternetRegistryAssociationsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableIpamInternetRegistryAssociationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/UpdateInterruptibleCapacityReservationAllocationCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ValidateSecurityGroupQuotasForInterfaceCommand.d.ts +79 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/enums.d.ts +12 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +15 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +13 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_3.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +7 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_8.d.ts +41 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/schemas/schemas_0.d.ts +4 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +17 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ValidateSecurityGroupQuotasForInterfaceCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_1.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_8.d.ts +10 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -1
- package/node_modules/@aws-sdk/client-ec2/package.json +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-iam/package.json +2 -2
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +17 -3
- package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +5 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +9 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateFunctionCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConfigurationCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionsCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListVersionsByFunctionCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishVersionCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionCodeCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +13 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +19 -3
- package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +1 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/node_modules/@aws-sdk/client-lambda/package.json +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-s3/package.json +3 -3
- package/node_modules/@aws-sdk/client-sns/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-sns/package.json +2 -2
- package/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-sqs/package.json +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/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/package.json +10 -10
|
@@ -165,6 +165,7 @@ const _DPCCR = "DeleteProvisionedConcurrencyConfigRequest";
|
|
|
165
165
|
const _DR = "DryRun";
|
|
166
166
|
const _DRP = "DeleteResourcePolicy";
|
|
167
167
|
const _DRPR = "DeleteResourcePolicyRequest";
|
|
168
|
+
const _DSR = "DirectS3Read";
|
|
168
169
|
const _De = "Destination";
|
|
169
170
|
const _Du = "Duration";
|
|
170
171
|
const _E = "Error";
|
|
@@ -602,6 +603,7 @@ const _SDER = "StopDurableExecutionRequest";
|
|
|
602
603
|
const _SDERt = "StopDurableExecutionResponse";
|
|
603
604
|
const _SE = "ServiceException";
|
|
604
605
|
const _SET = "ScheduledEndTimestamp";
|
|
606
|
+
const _SFC = "S3FilesConfig";
|
|
605
607
|
const _SFD = "StepFailedDetails";
|
|
606
608
|
const _SFMCE = "S3FilesMountConnectivityException";
|
|
607
609
|
const _SFMFE = "S3FilesMountFailureException";
|
|
@@ -1552,8 +1554,8 @@ export var ExecutionTimedOutDetails$ = [3, n0, _ETOD,
|
|
|
1552
1554
|
];
|
|
1553
1555
|
export var FileSystemConfig$ = [3, n0, _FSCi,
|
|
1554
1556
|
0,
|
|
1555
|
-
[_Arn, _LMP],
|
|
1556
|
-
[0, 0], 2
|
|
1557
|
+
[_Arn, _LMP, _SFC],
|
|
1558
|
+
[0, 0, () => S3FilesConfig$], 2
|
|
1557
1559
|
];
|
|
1558
1560
|
export var Filter$ = [3, n0, _F,
|
|
1559
1561
|
0,
|
|
@@ -2230,6 +2232,11 @@ export var RuntimeVersionError$ = [3, n0, _RVE,
|
|
|
2230
2232
|
[_EC, _M],
|
|
2231
2233
|
[0, [() => SensitiveString, 0]]
|
|
2232
2234
|
];
|
|
2235
|
+
export var S3FilesConfig$ = [3, n0, _SFC,
|
|
2236
|
+
0,
|
|
2237
|
+
[_DSR],
|
|
2238
|
+
[0]
|
|
2239
|
+
];
|
|
2233
2240
|
export var ScalingConfig$ = [3, n0, _SC,
|
|
2234
2241
|
0,
|
|
2235
2242
|
[_MCa],
|
|
@@ -84,6 +84,9 @@ declare const CreateFunctionCommand_base: {
|
|
|
84
84
|
* { // FileSystemConfig
|
|
85
85
|
* Arn: "STRING_VALUE", // required
|
|
86
86
|
* LocalMountPath: "STRING_VALUE", // required
|
|
87
|
+
* S3FilesConfig: { // S3FilesConfig
|
|
88
|
+
* DirectS3Read: "ENABLED" || "DISABLED" || "AUTO",
|
|
89
|
+
* },
|
|
87
90
|
* },
|
|
88
91
|
* ],
|
|
89
92
|
* CodeSigningConfigArn: "STRING_VALUE",
|
|
@@ -188,6 +191,9 @@ declare const CreateFunctionCommand_base: {
|
|
|
188
191
|
* // { // FileSystemConfig
|
|
189
192
|
* // Arn: "STRING_VALUE", // required
|
|
190
193
|
* // LocalMountPath: "STRING_VALUE", // required
|
|
194
|
+
* // S3FilesConfig: { // S3FilesConfig
|
|
195
|
+
* // DirectS3Read: "ENABLED" || "DISABLED" || "AUTO",
|
|
196
|
+
* // },
|
|
191
197
|
* // },
|
|
192
198
|
* // ],
|
|
193
199
|
* // SigningProfileVersionArn: "STRING_VALUE",
|
|
@@ -99,6 +99,9 @@ declare const GetFunctionCommand_base: {
|
|
|
99
99
|
* // { // FileSystemConfig
|
|
100
100
|
* // Arn: "STRING_VALUE", // required
|
|
101
101
|
* // LocalMountPath: "STRING_VALUE", // required
|
|
102
|
+
* // S3FilesConfig: { // S3FilesConfig
|
|
103
|
+
* // DirectS3Read: "ENABLED" || "DISABLED" || "AUTO",
|
|
104
|
+
* // },
|
|
102
105
|
* // },
|
|
103
106
|
* // ],
|
|
104
107
|
* // SigningProfileVersionArn: "STRING_VALUE",
|
package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConfigurationCommand.d.ts
CHANGED
|
@@ -98,6 +98,9 @@ declare const GetFunctionConfigurationCommand_base: {
|
|
|
98
98
|
* // { // FileSystemConfig
|
|
99
99
|
* // Arn: "STRING_VALUE", // required
|
|
100
100
|
* // LocalMountPath: "STRING_VALUE", // required
|
|
101
|
+
* // S3FilesConfig: { // S3FilesConfig
|
|
102
|
+
* // DirectS3Read: "ENABLED" || "DISABLED" || "AUTO",
|
|
103
|
+
* // },
|
|
101
104
|
* // },
|
|
102
105
|
* // ],
|
|
103
106
|
* // SigningProfileVersionArn: "STRING_VALUE",
|
|
@@ -103,6 +103,9 @@ declare const ListFunctionsCommand_base: {
|
|
|
103
103
|
* // { // FileSystemConfig
|
|
104
104
|
* // Arn: "STRING_VALUE", // required
|
|
105
105
|
* // LocalMountPath: "STRING_VALUE", // required
|
|
106
|
+
* // S3FilesConfig: { // S3FilesConfig
|
|
107
|
+
* // DirectS3Read: "ENABLED" || "DISABLED" || "AUTO",
|
|
108
|
+
* // },
|
|
106
109
|
* // },
|
|
107
110
|
* // ],
|
|
108
111
|
* // SigningProfileVersionArn: "STRING_VALUE",
|
package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListVersionsByFunctionCommand.d.ts
CHANGED
|
@@ -102,6 +102,9 @@ declare const ListVersionsByFunctionCommand_base: {
|
|
|
102
102
|
* // { // FileSystemConfig
|
|
103
103
|
* // Arn: "STRING_VALUE", // required
|
|
104
104
|
* // LocalMountPath: "STRING_VALUE", // required
|
|
105
|
+
* // S3FilesConfig: { // S3FilesConfig
|
|
106
|
+
* // DirectS3Read: "ENABLED" || "DISABLED" || "AUTO",
|
|
107
|
+
* // },
|
|
105
108
|
* // },
|
|
106
109
|
* // ],
|
|
107
110
|
* // SigningProfileVersionArn: "STRING_VALUE",
|
|
@@ -101,6 +101,9 @@ declare const PublishVersionCommand_base: {
|
|
|
101
101
|
* // { // FileSystemConfig
|
|
102
102
|
* // Arn: "STRING_VALUE", // required
|
|
103
103
|
* // LocalMountPath: "STRING_VALUE", // required
|
|
104
|
+
* // S3FilesConfig: { // S3FilesConfig
|
|
105
|
+
* // DirectS3Read: "ENABLED" || "DISABLED" || "AUTO",
|
|
106
|
+
* // },
|
|
104
107
|
* // },
|
|
105
108
|
* // ],
|
|
106
109
|
* // SigningProfileVersionArn: "STRING_VALUE",
|
package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionCodeCommand.d.ts
CHANGED
|
@@ -111,6 +111,9 @@ declare const UpdateFunctionCodeCommand_base: {
|
|
|
111
111
|
* // { // FileSystemConfig
|
|
112
112
|
* // Arn: "STRING_VALUE", // required
|
|
113
113
|
* // LocalMountPath: "STRING_VALUE", // required
|
|
114
|
+
* // S3FilesConfig: { // S3FilesConfig
|
|
115
|
+
* // DirectS3Read: "ENABLED" || "DISABLED" || "AUTO",
|
|
116
|
+
* // },
|
|
114
117
|
* // },
|
|
115
118
|
* // ],
|
|
116
119
|
* // SigningProfileVersionArn: "STRING_VALUE",
|
|
@@ -70,6 +70,9 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
70
70
|
* { // FileSystemConfig
|
|
71
71
|
* Arn: "STRING_VALUE", // required
|
|
72
72
|
* LocalMountPath: "STRING_VALUE", // required
|
|
73
|
+
* S3FilesConfig: { // S3FilesConfig
|
|
74
|
+
* DirectS3Read: "ENABLED" || "DISABLED" || "AUTO",
|
|
75
|
+
* },
|
|
73
76
|
* },
|
|
74
77
|
* ],
|
|
75
78
|
* ImageConfig: { // ImageConfig
|
|
@@ -167,6 +170,9 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
167
170
|
* // { // FileSystemConfig
|
|
168
171
|
* // Arn: "STRING_VALUE", // required
|
|
169
172
|
* // LocalMountPath: "STRING_VALUE", // required
|
|
173
|
+
* // S3FilesConfig: { // S3FilesConfig
|
|
174
|
+
* // DirectS3Read: "ENABLED" || "DISABLED" || "AUTO",
|
|
175
|
+
* // },
|
|
170
176
|
* // },
|
|
171
177
|
* // ],
|
|
172
178
|
* // SigningProfileVersionArn: "STRING_VALUE",
|
|
@@ -396,6 +396,19 @@ export declare const S3ObjectStorageMode: {
|
|
|
396
396
|
* @public
|
|
397
397
|
*/
|
|
398
398
|
export type S3ObjectStorageMode = (typeof S3ObjectStorageMode)[keyof typeof S3ObjectStorageMode];
|
|
399
|
+
/**
|
|
400
|
+
* @public
|
|
401
|
+
* @enum
|
|
402
|
+
*/
|
|
403
|
+
export declare const DirectS3Read: {
|
|
404
|
+
readonly AUTO: "AUTO";
|
|
405
|
+
readonly DISABLED: "DISABLED";
|
|
406
|
+
readonly ENABLED: "ENABLED";
|
|
407
|
+
};
|
|
408
|
+
/**
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
export type DirectS3Read = (typeof DirectS3Read)[keyof typeof DirectS3Read];
|
|
399
412
|
/**
|
|
400
413
|
* @public
|
|
401
414
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { StreamingBlobTypes } from "@smithy/types";
|
|
2
|
-
import type { ApplicationLogLevel, Architecture, CapacityProviderPredefinedMetricType, CapacityProviderScalingMode, CapacityProviderState, CodeSigningPolicy, EndPointType, EventSourceMappingMetric, EventSourceMappingSystemLogLevel, EventSourcePosition, EventType, ExecutionStatus, FullDocument, FunctionResponseType, FunctionUrlAuthType, FunctionVersion, FunctionVersionLatestPublished, InvocationType, InvokeMode, KafkaSchemaRegistryAuthType, KafkaSchemaValidationAttribute, LastUpdateStatus, LastUpdateStatusReasonCode, LogFormat, LogType, OperationAction, OperationStatus, OperationType, PackageType, PropagateTagsMode, ProvisionedConcurrencyStatusEnum, RecursiveLoop, ResponseStreamingInvocationType, Runtime, S3ObjectStorageMode, SchemaRegistryEventRecordFormat, SnapStartApplyOn, SnapStartOptimizationStatus, SourceAccessType, State, StateReasonCode, SystemLogLevel, TenantIsolationMode, TracingMode, UpdateRuntimeOn } from "./enums";
|
|
2
|
+
import type { ApplicationLogLevel, Architecture, CapacityProviderPredefinedMetricType, CapacityProviderScalingMode, CapacityProviderState, CodeSigningPolicy, DirectS3Read, EndPointType, EventSourceMappingMetric, EventSourceMappingSystemLogLevel, EventSourcePosition, EventType, ExecutionStatus, FullDocument, FunctionResponseType, FunctionUrlAuthType, FunctionVersion, FunctionVersionLatestPublished, InvocationType, InvokeMode, KafkaSchemaRegistryAuthType, KafkaSchemaValidationAttribute, LastUpdateStatus, LastUpdateStatusReasonCode, LogFormat, LogType, OperationAction, OperationStatus, OperationType, PackageType, PropagateTagsMode, ProvisionedConcurrencyStatusEnum, RecursiveLoop, ResponseStreamingInvocationType, Runtime, S3ObjectStorageMode, SchemaRegistryEventRecordFormat, SnapStartApplyOn, SnapStartOptimizationStatus, SourceAccessType, State, StateReasonCode, SystemLogLevel, TenantIsolationMode, TracingMode, UpdateRuntimeOn } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Limits that are related to concurrency and storage. All file and storage sizes are in bytes.</p>
|
|
5
5
|
* @public
|
|
@@ -2953,7 +2953,18 @@ export interface EphemeralStorage {
|
|
|
2953
2953
|
Size: number | undefined;
|
|
2954
2954
|
}
|
|
2955
2955
|
/**
|
|
2956
|
-
* <p>
|
|
2956
|
+
* <p>Setting controls how your function accesses data from an Amazon S3 file system.</p>
|
|
2957
|
+
* @public
|
|
2958
|
+
*/
|
|
2959
|
+
export interface S3FilesConfig {
|
|
2960
|
+
/**
|
|
2961
|
+
* <p>Specifies if a function reads from the file system for the lowest latency, or through Amazon S3 Files feature "direct Amazon S3 bucket reads" for the highest throughput. Valid values:</p> <ul> <li> <p> <code>AUTO</code> (default) – Direct reads are active for functions you configure with 512 MB or more of memory.</p> </li> <li> <p> <code>ENABLED</code> – Enforces all reads are directly from the Amazon S3 bucket, regardless of available memory (less than 512 MB).</p> </li> <li> <p> <code>DISABLED</code> – Routes all reads through the file system, regardless of memory configuration.</p> </li> </ul> <p>To use direct reads, you must grant the execution role the <code>s3:GetObject</code> and <code>s3:GetObjectVersion</code> permissions. If a direct read fails, Lambda automatically falls back to reading through the file system.</p>
|
|
2962
|
+
* @public
|
|
2963
|
+
*/
|
|
2964
|
+
DirectS3Read?: DirectS3Read | undefined;
|
|
2965
|
+
}
|
|
2966
|
+
/**
|
|
2967
|
+
* <p>Details about the connection between a Lambda function and an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html">Amazon EFS file system</a> or an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html">Amazon S3 file system</a>.</p>
|
|
2957
2968
|
* @public
|
|
2958
2969
|
*/
|
|
2959
2970
|
export interface FileSystemConfig {
|
|
@@ -2967,6 +2978,11 @@ export interface FileSystemConfig {
|
|
|
2967
2978
|
* @public
|
|
2968
2979
|
*/
|
|
2969
2980
|
LocalMountPath: string | undefined;
|
|
2981
|
+
/**
|
|
2982
|
+
* <p>The configuration for how your function accesses data on an Amazon S3 file system. Valid only when the file system access point ARN is an Amazon S3 Files access point. If you specify a different access point type (for example, Amazon Elastic File System), the operation returns an <code>InvalidParameterException</code>.</p>
|
|
2983
|
+
* @public
|
|
2984
|
+
*/
|
|
2985
|
+
S3FilesConfig?: S3FilesConfig | undefined;
|
|
2970
2986
|
}
|
|
2971
2987
|
/**
|
|
2972
2988
|
* <p>Configuration values that override the container image Dockerfile settings. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms">Container image settings</a>.</p>
|
|
@@ -3525,7 +3541,7 @@ export interface FunctionConfiguration {
|
|
|
3525
3541
|
*/
|
|
3526
3542
|
LastUpdateStatusReasonCode?: LastUpdateStatusReasonCode | undefined;
|
|
3527
3543
|
/**
|
|
3528
|
-
* <p>Connection settings for an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html">Amazon EFS file system</a> or an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html">Amazon S3
|
|
3544
|
+
* <p>Connection settings for an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html">Amazon EFS file system</a> or an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html">Amazon S3 file system</a>.</p>
|
|
3529
3545
|
* @public
|
|
3530
3546
|
*/
|
|
3531
3547
|
FileSystemConfigs?: FileSystemConfig[] | undefined;
|
|
@@ -288,6 +288,7 @@ export declare var ResolvedS3Object$: StaticStructureSchema;
|
|
|
288
288
|
export declare var RetryDetails$: StaticStructureSchema;
|
|
289
289
|
export declare var RuntimeVersionConfig$: StaticStructureSchema;
|
|
290
290
|
export declare var RuntimeVersionError$: StaticStructureSchema;
|
|
291
|
+
export declare var S3FilesConfig$: StaticStructureSchema;
|
|
291
292
|
export declare var ScalingConfig$: StaticStructureSchema;
|
|
292
293
|
export declare var SelfManagedEventSource$: StaticStructureSchema;
|
|
293
294
|
export declare var SelfManagedKafkaEventSourceConfig$: StaticStructureSchema;
|
|
@@ -203,6 +203,12 @@ export declare const S3ObjectStorageMode: {
|
|
|
203
203
|
readonly Reference: "REFERENCE";
|
|
204
204
|
};
|
|
205
205
|
export type S3ObjectStorageMode = (typeof S3ObjectStorageMode)[keyof typeof S3ObjectStorageMode];
|
|
206
|
+
export declare const DirectS3Read: {
|
|
207
|
+
readonly AUTO: "AUTO";
|
|
208
|
+
readonly DISABLED: "DISABLED";
|
|
209
|
+
readonly ENABLED: "ENABLED";
|
|
210
|
+
};
|
|
211
|
+
export type DirectS3Read = (typeof DirectS3Read)[keyof typeof DirectS3Read];
|
|
206
212
|
export declare const LogFormat: {
|
|
207
213
|
readonly Json: "JSON";
|
|
208
214
|
readonly Text: "Text";
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
CapacityProviderScalingMode,
|
|
7
7
|
CapacityProviderState,
|
|
8
8
|
CodeSigningPolicy,
|
|
9
|
+
DirectS3Read,
|
|
9
10
|
EndPointType,
|
|
10
11
|
EventSourceMappingMetric,
|
|
11
12
|
EventSourceMappingSystemLogLevel,
|
|
@@ -753,9 +754,13 @@ export interface Environment {
|
|
|
753
754
|
export interface EphemeralStorage {
|
|
754
755
|
Size: number | undefined;
|
|
755
756
|
}
|
|
757
|
+
export interface S3FilesConfig {
|
|
758
|
+
DirectS3Read?: DirectS3Read | undefined;
|
|
759
|
+
}
|
|
756
760
|
export interface FileSystemConfig {
|
|
757
761
|
Arn: string | undefined;
|
|
758
762
|
LocalMountPath: string | undefined;
|
|
763
|
+
S3FilesConfig?: S3FilesConfig | undefined;
|
|
759
764
|
}
|
|
760
765
|
export interface ImageConfig {
|
|
761
766
|
EntryPoint?: string[] | undefined;
|
|
@@ -288,6 +288,7 @@ export declare var ResolvedS3Object$: StaticStructureSchema;
|
|
|
288
288
|
export declare var RetryDetails$: StaticStructureSchema;
|
|
289
289
|
export declare var RuntimeVersionConfig$: StaticStructureSchema;
|
|
290
290
|
export declare var RuntimeVersionError$: StaticStructureSchema;
|
|
291
|
+
export declare var S3FilesConfig$: StaticStructureSchema;
|
|
291
292
|
export declare var ScalingConfig$: StaticStructureSchema;
|
|
292
293
|
export declare var SelfManagedEventSource$: StaticStructureSchema;
|
|
293
294
|
export declare var SelfManagedKafkaEventSourceConfig$: StaticStructureSchema;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lambda",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1127.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-lambda",
|
|
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/types": "^3.974.5",
|
|
58
58
|
"@smithy/core": "^3.33.3",
|
|
59
59
|
"@smithy/fetch-http-handler": "^5.7.2",
|
|
@@ -4743,7 +4743,7 @@ var WriteGetObjectResponse$ = [9, n0, _WGOR,
|
|
|
4743
4743
|
class CreateSessionCommand extends command(_ep4, _mw0, "CreateSession", CreateSession$) {
|
|
4744
4744
|
}
|
|
4745
4745
|
|
|
4746
|
-
var version = "3.
|
|
4746
|
+
var version = "3.1126.0";
|
|
4747
4747
|
var packageInfo = {
|
|
4748
4748
|
version: version};
|
|
4749
4749
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1127.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@aws-sdk/checksums": "^3.1000.29",
|
|
58
58
|
"@aws-sdk/core": "^3.977.9",
|
|
59
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
59
|
+
"@aws-sdk/credential-provider-node": "^3.972.82",
|
|
60
60
|
"@aws-sdk/middleware-sdk-s3": "^3.972.75",
|
|
61
61
|
"@aws-sdk/signature-v4-multi-region": "^3.996.46",
|
|
62
62
|
"@aws-sdk/types": "^3.974.5",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"tslib": "^2.6.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
70
|
+
"@aws-sdk/signature-v4-crt": "3.1127.0",
|
|
71
71
|
"@smithy/snapshot-testing": "^2.3.2",
|
|
72
72
|
"@tsconfig/node20": "20.1.8",
|
|
73
73
|
"@types/node": "^20.14.8",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sns",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1127.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Sns Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sns",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@aws-sdk/core": "^3.977.9",
|
|
52
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
52
|
+
"@aws-sdk/credential-provider-node": "^3.972.82",
|
|
53
53
|
"@aws-sdk/types": "^3.974.5",
|
|
54
54
|
"@smithy/core": "^3.33.3",
|
|
55
55
|
"@smithy/fetch-http-handler": "^5.7.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sqs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1127.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Sqs Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sqs",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@aws-sdk/core": "^3.977.9",
|
|
58
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
58
|
+
"@aws-sdk/credential-provider-node": "^3.972.82",
|
|
59
59
|
"@aws-sdk/middleware-sdk-sqs": "^3.972.42",
|
|
60
60
|
"@aws-sdk/types": "^3.974.5",
|
|
61
61
|
"@smithy/core": "^3.33.3",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ssm",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1127.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ssm",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@aws-sdk/core": "^3.977.9",
|
|
52
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
52
|
+
"@aws-sdk/credential-provider-node": "^3.972.82",
|
|
53
53
|
"@aws-sdk/types": "^3.974.5",
|
|
54
54
|
"@smithy/core": "^3.33.3",
|
|
55
55
|
"@smithy/fetch-http-handler": "^5.7.2",
|
|
@@ -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
|
/**
|
package/package.json
CHANGED
|
@@ -74,15 +74,15 @@
|
|
|
74
74
|
"constructs": "^10.5.1"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@aws-sdk/client-cloudformation": "^3.
|
|
78
|
-
"@aws-sdk/client-cloudwatch": "^3.
|
|
79
|
-
"@aws-sdk/client-ec2": "^3.
|
|
80
|
-
"@aws-sdk/client-iam": "^3.
|
|
81
|
-
"@aws-sdk/client-lambda": "^3.
|
|
82
|
-
"@aws-sdk/client-s3": "^3.
|
|
83
|
-
"@aws-sdk/client-sns": "^3.
|
|
84
|
-
"@aws-sdk/client-sqs": "^3.
|
|
85
|
-
"@aws-sdk/client-ssm": "^3.
|
|
77
|
+
"@aws-sdk/client-cloudformation": "^3.1127.0",
|
|
78
|
+
"@aws-sdk/client-cloudwatch": "^3.1127.0",
|
|
79
|
+
"@aws-sdk/client-ec2": "^3.1127.0",
|
|
80
|
+
"@aws-sdk/client-iam": "^3.1127.0",
|
|
81
|
+
"@aws-sdk/client-lambda": "^3.1127.0",
|
|
82
|
+
"@aws-sdk/client-s3": "^3.1127.0",
|
|
83
|
+
"@aws-sdk/client-sns": "^3.1127.0",
|
|
84
|
+
"@aws-sdk/client-sqs": "^3.1127.0",
|
|
85
|
+
"@aws-sdk/client-ssm": "^3.1127.0",
|
|
86
86
|
"immutable": "^4.3.9",
|
|
87
87
|
"js-yaml": "^4.3.2",
|
|
88
88
|
"jsonpath-plus": "^10.4.0",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"publishConfig": {
|
|
117
117
|
"access": "public"
|
|
118
118
|
},
|
|
119
|
-
"version": "0.0.
|
|
119
|
+
"version": "0.0.77",
|
|
120
120
|
"jest": {
|
|
121
121
|
"coverageProvider": "v8",
|
|
122
122
|
"maxWorkers": 4,
|