@aws-sdk/client-lambda 3.451.0 → 3.453.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +20 -2
- package/dist-cjs/protocols/Aws_restJson1.js +7 -0
- package/dist-es/models/models_0.js +18 -0
- package/dist-es/protocols/Aws_restJson1.js +7 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +14 -2
- package/dist-types/commands/GetFunctionCommand.d.ts +7 -1
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +7 -1
- package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -1
- package/dist-types/commands/GetLayerVersionCommand.d.ts +1 -1
- package/dist-types/commands/InvokeAsyncCommand.d.ts +0 -4
- package/dist-types/commands/ListFunctionsCommand.d.ts +7 -1
- package/dist-types/commands/ListLayerVersionsCommand.d.ts +2 -2
- package/dist-types/commands/ListLayersCommand.d.ts +2 -2
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +7 -1
- package/dist-types/commands/PublishLayerVersionCommand.d.ts +2 -2
- package/dist-types/commands/PublishVersionCommand.d.ts +7 -1
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +7 -1
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +14 -2
- package/dist-types/models/models_0.d.ts +93 -6
- package/dist-types/ts3.4/models/models_0.d.ts +32 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateFunctionConfigurationRequestFilterSensitiveLog = exports.UpdateFunctionCodeRequestFilterSensitiveLog = exports.PublishLayerVersionRequestFilterSensitiveLog = exports.LayerVersionContentInputFilterSensitiveLog = exports.ListVersionsByFunctionResponseFilterSensitiveLog = exports.ListFunctionsResponseFilterSensitiveLog = exports.InvokeWithResponseStreamResponseFilterSensitiveLog = exports.InvokeWithResponseStreamResponseEventFilterSensitiveLog = exports.InvokeResponseStreamUpdateFilterSensitiveLog = exports.InvokeWithResponseStreamRequestFilterSensitiveLog = exports.InvokeAsyncRequestFilterSensitiveLog = exports.InvocationResponseFilterSensitiveLog = exports.InvocationRequestFilterSensitiveLog = exports.GetFunctionResponseFilterSensitiveLog = exports.FunctionConfigurationFilterSensitiveLog = exports.RuntimeVersionConfigFilterSensitiveLog = exports.RuntimeVersionErrorFilterSensitiveLog = exports.ImageConfigResponseFilterSensitiveLog = exports.ImageConfigErrorFilterSensitiveLog = exports.EnvironmentResponseFilterSensitiveLog = exports.EnvironmentErrorFilterSensitiveLog = exports.CreateFunctionRequestFilterSensitiveLog = exports.EnvironmentFilterSensitiveLog = exports.FunctionCodeFilterSensitiveLog = exports.FunctionVersion = exports.InvokeWithResponseStreamResponseEvent = exports.ResponseStreamingInvocationType = exports.UnsupportedMediaTypeException = exports.SubnetIPAddressLimitReachedException = exports.SnapStartTimeoutException = exports.SnapStartNotReadyException = exports.SnapStartException = exports.ResourceNotReadyException = exports.RequestTooLargeException = exports.RecursiveInvocationException = exports.KMSNotFoundException = exports.KMSInvalidStateException = exports.KMSDisabledException = void 0;
|
|
3
|
+
exports.InvalidZipFileException = exports.InvalidSubnetIDException = exports.InvalidSecurityGroupIDException = exports.InvalidRuntimeException = exports.InvalidRequestContentException = exports.ENILimitReachedException = exports.EFSMountTimeoutException = exports.EFSMountFailureException = exports.EFSMountConnectivityException = exports.EFSIOException = exports.EC2UnexpectedException = exports.EC2ThrottledException = exports.EC2AccessDeniedException = exports.UpdateRuntimeOn = exports.ProvisionedConcurrencyConfigNotFoundException = exports.ProvisionedConcurrencyStatusEnum = exports.ResourceInUseException = exports.InvokeMode = exports.InvalidCodeSignatureException = exports.StateReasonCode = exports.State = exports.SnapStartOptimizationStatus = exports.LastUpdateStatusReasonCode = exports.LastUpdateStatus = exports.TracingMode = exports.SnapStartApplyOn = exports.Runtime = exports.PackageType = exports.SystemLogLevel = exports.LogFormat = exports.CodeVerificationFailedException = exports.CodeStorageExceededException = exports.CodeSigningConfigNotFoundException = exports.EventSourcePosition = exports.SourceAccessType = exports.EndPointType = exports.FunctionResponseType = exports.FullDocument = exports.CodeSigningPolicy = exports.Architecture = exports.ApplicationLogLevel = exports.FunctionUrlAuthType = exports.TooManyRequestsException = exports.ThrottleReason = exports.ServiceException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.PreconditionFailedException = exports.PolicyLengthExceededException = exports.InvalidParameterValueException = void 0;
|
|
4
|
+
exports.UpdateFunctionConfigurationRequestFilterSensitiveLog = exports.UpdateFunctionCodeRequestFilterSensitiveLog = exports.PublishLayerVersionRequestFilterSensitiveLog = exports.LayerVersionContentInputFilterSensitiveLog = exports.ListVersionsByFunctionResponseFilterSensitiveLog = exports.ListFunctionsResponseFilterSensitiveLog = exports.InvokeWithResponseStreamResponseFilterSensitiveLog = exports.InvokeWithResponseStreamResponseEventFilterSensitiveLog = exports.InvokeResponseStreamUpdateFilterSensitiveLog = exports.InvokeWithResponseStreamRequestFilterSensitiveLog = exports.InvokeAsyncRequestFilterSensitiveLog = exports.InvocationResponseFilterSensitiveLog = exports.InvocationRequestFilterSensitiveLog = exports.GetFunctionResponseFilterSensitiveLog = exports.FunctionConfigurationFilterSensitiveLog = exports.RuntimeVersionConfigFilterSensitiveLog = exports.RuntimeVersionErrorFilterSensitiveLog = exports.ImageConfigResponseFilterSensitiveLog = exports.ImageConfigErrorFilterSensitiveLog = exports.EnvironmentResponseFilterSensitiveLog = exports.EnvironmentErrorFilterSensitiveLog = exports.CreateFunctionRequestFilterSensitiveLog = exports.EnvironmentFilterSensitiveLog = exports.FunctionCodeFilterSensitiveLog = exports.FunctionVersion = exports.InvokeWithResponseStreamResponseEvent = exports.ResponseStreamingInvocationType = exports.UnsupportedMediaTypeException = exports.SubnetIPAddressLimitReachedException = exports.SnapStartTimeoutException = exports.SnapStartNotReadyException = exports.SnapStartException = exports.ResourceNotReadyException = exports.RequestTooLargeException = exports.RecursiveInvocationException = exports.KMSNotFoundException = exports.KMSInvalidStateException = exports.KMSDisabledException = exports.KMSAccessDeniedException = exports.LogType = exports.InvocationType = void 0;
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const LambdaServiceException_1 = require("./LambdaServiceException");
|
|
7
7
|
class InvalidParameterValueException extends LambdaServiceException_1.LambdaServiceException {
|
|
@@ -118,6 +118,14 @@ exports.FunctionUrlAuthType = {
|
|
|
118
118
|
AWS_IAM: "AWS_IAM",
|
|
119
119
|
NONE: "NONE",
|
|
120
120
|
};
|
|
121
|
+
exports.ApplicationLogLevel = {
|
|
122
|
+
Debug: "DEBUG",
|
|
123
|
+
Error: "ERROR",
|
|
124
|
+
Fatal: "FATAL",
|
|
125
|
+
Info: "INFO",
|
|
126
|
+
Trace: "TRACE",
|
|
127
|
+
Warn: "WARN",
|
|
128
|
+
};
|
|
121
129
|
exports.Architecture = {
|
|
122
130
|
arm64: "arm64",
|
|
123
131
|
x86_64: "x86_64",
|
|
@@ -195,6 +203,15 @@ class CodeVerificationFailedException extends LambdaServiceException_1.LambdaSer
|
|
|
195
203
|
}
|
|
196
204
|
}
|
|
197
205
|
exports.CodeVerificationFailedException = CodeVerificationFailedException;
|
|
206
|
+
exports.LogFormat = {
|
|
207
|
+
Json: "JSON",
|
|
208
|
+
Text: "Text",
|
|
209
|
+
};
|
|
210
|
+
exports.SystemLogLevel = {
|
|
211
|
+
Debug: "DEBUG",
|
|
212
|
+
Info: "INFO",
|
|
213
|
+
Warn: "WARN",
|
|
214
|
+
};
|
|
198
215
|
exports.PackageType = {
|
|
199
216
|
Image: "Image",
|
|
200
217
|
Zip: "Zip",
|
|
@@ -208,6 +225,7 @@ exports.Runtime = {
|
|
|
208
225
|
go1x: "go1.x",
|
|
209
226
|
java11: "java11",
|
|
210
227
|
java17: "java17",
|
|
228
|
+
java21: "java21",
|
|
211
229
|
java8: "java8",
|
|
212
230
|
java8al2: "java8.al2",
|
|
213
231
|
nodejs: "nodejs",
|
|
@@ -186,6 +186,7 @@ const se_CreateFunctionCommand = async (input, context) => {
|
|
|
186
186
|
ImageConfig: (_) => (0, smithy_client_1._json)(_),
|
|
187
187
|
KMSKeyArn: [],
|
|
188
188
|
Layers: (_) => (0, smithy_client_1._json)(_),
|
|
189
|
+
LoggingConfig: (_) => (0, smithy_client_1._json)(_),
|
|
189
190
|
MemorySize: [],
|
|
190
191
|
PackageType: [],
|
|
191
192
|
Publish: [],
|
|
@@ -1516,6 +1517,7 @@ const se_UpdateFunctionConfigurationCommand = async (input, context) => {
|
|
|
1516
1517
|
ImageConfig: (_) => (0, smithy_client_1._json)(_),
|
|
1517
1518
|
KMSKeyArn: [],
|
|
1518
1519
|
Layers: (_) => (0, smithy_client_1._json)(_),
|
|
1520
|
+
LoggingConfig: (_) => (0, smithy_client_1._json)(_),
|
|
1519
1521
|
MemorySize: [],
|
|
1520
1522
|
RevisionId: [],
|
|
1521
1523
|
Role: [],
|
|
@@ -1885,6 +1887,7 @@ const de_CreateFunctionCommand = async (output, context) => {
|
|
|
1885
1887
|
LastUpdateStatusReason: smithy_client_1.expectString,
|
|
1886
1888
|
LastUpdateStatusReasonCode: smithy_client_1.expectString,
|
|
1887
1889
|
Layers: smithy_client_1._json,
|
|
1890
|
+
LoggingConfig: smithy_client_1._json,
|
|
1888
1891
|
MasterArn: smithy_client_1.expectString,
|
|
1889
1892
|
MemorySize: smithy_client_1.expectInt32,
|
|
1890
1893
|
PackageType: smithy_client_1.expectString,
|
|
@@ -2794,6 +2797,7 @@ const de_GetFunctionConfigurationCommand = async (output, context) => {
|
|
|
2794
2797
|
LastUpdateStatusReason: smithy_client_1.expectString,
|
|
2795
2798
|
LastUpdateStatusReasonCode: smithy_client_1.expectString,
|
|
2796
2799
|
Layers: smithy_client_1._json,
|
|
2800
|
+
LoggingConfig: smithy_client_1._json,
|
|
2797
2801
|
MasterArn: smithy_client_1.expectString,
|
|
2798
2802
|
MemorySize: smithy_client_1.expectInt32,
|
|
2799
2803
|
PackageType: smithy_client_1.expectString,
|
|
@@ -4111,6 +4115,7 @@ const de_PublishVersionCommand = async (output, context) => {
|
|
|
4111
4115
|
LastUpdateStatusReason: smithy_client_1.expectString,
|
|
4112
4116
|
LastUpdateStatusReasonCode: smithy_client_1.expectString,
|
|
4113
4117
|
Layers: smithy_client_1._json,
|
|
4118
|
+
LoggingConfig: smithy_client_1._json,
|
|
4114
4119
|
MasterArn: smithy_client_1.expectString,
|
|
4115
4120
|
MemorySize: smithy_client_1.expectInt32,
|
|
4116
4121
|
PackageType: smithy_client_1.expectString,
|
|
@@ -4779,6 +4784,7 @@ const de_UpdateFunctionCodeCommand = async (output, context) => {
|
|
|
4779
4784
|
LastUpdateStatusReason: smithy_client_1.expectString,
|
|
4780
4785
|
LastUpdateStatusReasonCode: smithy_client_1.expectString,
|
|
4781
4786
|
Layers: smithy_client_1._json,
|
|
4787
|
+
LoggingConfig: smithy_client_1._json,
|
|
4782
4788
|
MasterArn: smithy_client_1.expectString,
|
|
4783
4789
|
MemorySize: smithy_client_1.expectInt32,
|
|
4784
4790
|
PackageType: smithy_client_1.expectString,
|
|
@@ -4874,6 +4880,7 @@ const de_UpdateFunctionConfigurationCommand = async (output, context) => {
|
|
|
4874
4880
|
LastUpdateStatusReason: smithy_client_1.expectString,
|
|
4875
4881
|
LastUpdateStatusReasonCode: smithy_client_1.expectString,
|
|
4876
4882
|
Layers: smithy_client_1._json,
|
|
4883
|
+
LoggingConfig: smithy_client_1._json,
|
|
4877
4884
|
MasterArn: smithy_client_1.expectString,
|
|
4878
4885
|
MemorySize: smithy_client_1.expectInt32,
|
|
4879
4886
|
PackageType: smithy_client_1.expectString,
|
|
@@ -107,6 +107,14 @@ export const FunctionUrlAuthType = {
|
|
|
107
107
|
AWS_IAM: "AWS_IAM",
|
|
108
108
|
NONE: "NONE",
|
|
109
109
|
};
|
|
110
|
+
export const ApplicationLogLevel = {
|
|
111
|
+
Debug: "DEBUG",
|
|
112
|
+
Error: "ERROR",
|
|
113
|
+
Fatal: "FATAL",
|
|
114
|
+
Info: "INFO",
|
|
115
|
+
Trace: "TRACE",
|
|
116
|
+
Warn: "WARN",
|
|
117
|
+
};
|
|
110
118
|
export const Architecture = {
|
|
111
119
|
arm64: "arm64",
|
|
112
120
|
x86_64: "x86_64",
|
|
@@ -181,6 +189,15 @@ export class CodeVerificationFailedException extends __BaseException {
|
|
|
181
189
|
this.Message = opts.Message;
|
|
182
190
|
}
|
|
183
191
|
}
|
|
192
|
+
export const LogFormat = {
|
|
193
|
+
Json: "JSON",
|
|
194
|
+
Text: "Text",
|
|
195
|
+
};
|
|
196
|
+
export const SystemLogLevel = {
|
|
197
|
+
Debug: "DEBUG",
|
|
198
|
+
Info: "INFO",
|
|
199
|
+
Warn: "WARN",
|
|
200
|
+
};
|
|
184
201
|
export const PackageType = {
|
|
185
202
|
Image: "Image",
|
|
186
203
|
Zip: "Zip",
|
|
@@ -194,6 +211,7 @@ export const Runtime = {
|
|
|
194
211
|
go1x: "go1.x",
|
|
195
212
|
java11: "java11",
|
|
196
213
|
java17: "java17",
|
|
214
|
+
java21: "java21",
|
|
197
215
|
java8: "java8",
|
|
198
216
|
java8al2: "java8.al2",
|
|
199
217
|
nodejs: "nodejs",
|
|
@@ -176,6 +176,7 @@ export const se_CreateFunctionCommand = async (input, context) => {
|
|
|
176
176
|
ImageConfig: (_) => _json(_),
|
|
177
177
|
KMSKeyArn: [],
|
|
178
178
|
Layers: (_) => _json(_),
|
|
179
|
+
LoggingConfig: (_) => _json(_),
|
|
179
180
|
MemorySize: [],
|
|
180
181
|
PackageType: [],
|
|
181
182
|
Publish: [],
|
|
@@ -1448,6 +1449,7 @@ export const se_UpdateFunctionConfigurationCommand = async (input, context) => {
|
|
|
1448
1449
|
ImageConfig: (_) => _json(_),
|
|
1449
1450
|
KMSKeyArn: [],
|
|
1450
1451
|
Layers: (_) => _json(_),
|
|
1452
|
+
LoggingConfig: (_) => _json(_),
|
|
1451
1453
|
MemorySize: [],
|
|
1452
1454
|
RevisionId: [],
|
|
1453
1455
|
Role: [],
|
|
@@ -1809,6 +1811,7 @@ export const de_CreateFunctionCommand = async (output, context) => {
|
|
|
1809
1811
|
LastUpdateStatusReason: __expectString,
|
|
1810
1812
|
LastUpdateStatusReasonCode: __expectString,
|
|
1811
1813
|
Layers: _json,
|
|
1814
|
+
LoggingConfig: _json,
|
|
1812
1815
|
MasterArn: __expectString,
|
|
1813
1816
|
MemorySize: __expectInt32,
|
|
1814
1817
|
PackageType: __expectString,
|
|
@@ -2699,6 +2702,7 @@ export const de_GetFunctionConfigurationCommand = async (output, context) => {
|
|
|
2699
2702
|
LastUpdateStatusReason: __expectString,
|
|
2700
2703
|
LastUpdateStatusReasonCode: __expectString,
|
|
2701
2704
|
Layers: _json,
|
|
2705
|
+
LoggingConfig: _json,
|
|
2702
2706
|
MasterArn: __expectString,
|
|
2703
2707
|
MemorySize: __expectInt32,
|
|
2704
2708
|
PackageType: __expectString,
|
|
@@ -3991,6 +3995,7 @@ export const de_PublishVersionCommand = async (output, context) => {
|
|
|
3991
3995
|
LastUpdateStatusReason: __expectString,
|
|
3992
3996
|
LastUpdateStatusReasonCode: __expectString,
|
|
3993
3997
|
Layers: _json,
|
|
3998
|
+
LoggingConfig: _json,
|
|
3994
3999
|
MasterArn: __expectString,
|
|
3995
4000
|
MemorySize: __expectInt32,
|
|
3996
4001
|
PackageType: __expectString,
|
|
@@ -4646,6 +4651,7 @@ export const de_UpdateFunctionCodeCommand = async (output, context) => {
|
|
|
4646
4651
|
LastUpdateStatusReason: __expectString,
|
|
4647
4652
|
LastUpdateStatusReasonCode: __expectString,
|
|
4648
4653
|
Layers: _json,
|
|
4654
|
+
LoggingConfig: _json,
|
|
4649
4655
|
MasterArn: __expectString,
|
|
4650
4656
|
MemorySize: __expectInt32,
|
|
4651
4657
|
PackageType: __expectString,
|
|
@@ -4740,6 +4746,7 @@ export const de_UpdateFunctionConfigurationCommand = async (output, context) =>
|
|
|
4740
4746
|
LastUpdateStatusReason: __expectString,
|
|
4741
4747
|
LastUpdateStatusReasonCode: __expectString,
|
|
4742
4748
|
Layers: _json,
|
|
4749
|
+
LoggingConfig: _json,
|
|
4743
4750
|
MasterArn: __expectString,
|
|
4744
4751
|
MemorySize: __expectInt32,
|
|
4745
4752
|
PackageType: __expectString,
|
|
@@ -69,7 +69,7 @@ export interface CreateFunctionCommandOutput extends FunctionConfiguration, __Me
|
|
|
69
69
|
* const client = new LambdaClient(config);
|
|
70
70
|
* const input = { // CreateFunctionRequest
|
|
71
71
|
* FunctionName: "STRING_VALUE", // required
|
|
72
|
-
* Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12",
|
|
72
|
+
* Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
73
73
|
* Role: "STRING_VALUE", // required
|
|
74
74
|
* Handler: "STRING_VALUE",
|
|
75
75
|
* Code: { // FunctionCode
|
|
@@ -136,13 +136,19 @@ export interface CreateFunctionCommandOutput extends FunctionConfiguration, __Me
|
|
|
136
136
|
* SnapStart: { // SnapStart
|
|
137
137
|
* ApplyOn: "PublishedVersions" || "None",
|
|
138
138
|
* },
|
|
139
|
+
* LoggingConfig: { // LoggingConfig
|
|
140
|
+
* LogFormat: "JSON" || "Text",
|
|
141
|
+
* ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL",
|
|
142
|
+
* SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
143
|
+
* LogGroup: "STRING_VALUE",
|
|
144
|
+
* },
|
|
139
145
|
* };
|
|
140
146
|
* const command = new CreateFunctionCommand(input);
|
|
141
147
|
* const response = await client.send(command);
|
|
142
148
|
* // { // FunctionConfiguration
|
|
143
149
|
* // FunctionName: "STRING_VALUE",
|
|
144
150
|
* // FunctionArn: "STRING_VALUE",
|
|
145
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12",
|
|
151
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
146
152
|
* // Role: "STRING_VALUE",
|
|
147
153
|
* // Handler: "STRING_VALUE",
|
|
148
154
|
* // CodeSize: Number("long"),
|
|
@@ -235,6 +241,12 @@ export interface CreateFunctionCommandOutput extends FunctionConfiguration, __Me
|
|
|
235
241
|
* // Message: "STRING_VALUE",
|
|
236
242
|
* // },
|
|
237
243
|
* // },
|
|
244
|
+
* // LoggingConfig: { // LoggingConfig
|
|
245
|
+
* // LogFormat: "JSON" || "Text",
|
|
246
|
+
* // ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL",
|
|
247
|
+
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
248
|
+
* // LogGroup: "STRING_VALUE",
|
|
249
|
+
* // },
|
|
238
250
|
* // };
|
|
239
251
|
*
|
|
240
252
|
* ```
|
|
@@ -42,7 +42,7 @@ export interface GetFunctionCommandOutput extends GetFunctionResponse, __Metadat
|
|
|
42
42
|
* // Configuration: { // FunctionConfiguration
|
|
43
43
|
* // FunctionName: "STRING_VALUE",
|
|
44
44
|
* // FunctionArn: "STRING_VALUE",
|
|
45
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12",
|
|
45
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
46
46
|
* // Role: "STRING_VALUE",
|
|
47
47
|
* // Handler: "STRING_VALUE",
|
|
48
48
|
* // CodeSize: Number("long"),
|
|
@@ -135,6 +135,12 @@ export interface GetFunctionCommandOutput extends GetFunctionResponse, __Metadat
|
|
|
135
135
|
* // Message: "STRING_VALUE",
|
|
136
136
|
* // },
|
|
137
137
|
* // },
|
|
138
|
+
* // LoggingConfig: { // LoggingConfig
|
|
139
|
+
* // LogFormat: "JSON" || "Text",
|
|
140
|
+
* // ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL",
|
|
141
|
+
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
142
|
+
* // LogGroup: "STRING_VALUE",
|
|
143
|
+
* // },
|
|
138
144
|
* // },
|
|
139
145
|
* // Code: { // FunctionCodeLocation
|
|
140
146
|
* // RepositoryType: "STRING_VALUE",
|
|
@@ -41,7 +41,7 @@ export interface GetFunctionConfigurationCommandOutput extends FunctionConfigura
|
|
|
41
41
|
* // { // FunctionConfiguration
|
|
42
42
|
* // FunctionName: "STRING_VALUE",
|
|
43
43
|
* // FunctionArn: "STRING_VALUE",
|
|
44
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12",
|
|
44
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
45
45
|
* // Role: "STRING_VALUE",
|
|
46
46
|
* // Handler: "STRING_VALUE",
|
|
47
47
|
* // CodeSize: Number("long"),
|
|
@@ -134,6 +134,12 @@ export interface GetFunctionConfigurationCommandOutput extends FunctionConfigura
|
|
|
134
134
|
* // Message: "STRING_VALUE",
|
|
135
135
|
* // },
|
|
136
136
|
* // },
|
|
137
|
+
* // LoggingConfig: { // LoggingConfig
|
|
138
|
+
* // LogFormat: "JSON" || "Text",
|
|
139
|
+
* // ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL",
|
|
140
|
+
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
141
|
+
* // LogGroup: "STRING_VALUE",
|
|
142
|
+
* // },
|
|
137
143
|
* // };
|
|
138
144
|
*
|
|
139
145
|
* ```
|
|
@@ -51,7 +51,7 @@ export interface GetLayerVersionByArnCommandOutput extends GetLayerVersionRespon
|
|
|
51
51
|
* // CreatedDate: "STRING_VALUE",
|
|
52
52
|
* // Version: Number("long"),
|
|
53
53
|
* // CompatibleRuntimes: [ // CompatibleRuntimes
|
|
54
|
-
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12",
|
|
54
|
+
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
55
55
|
* // ],
|
|
56
56
|
* // LicenseInfo: "STRING_VALUE",
|
|
57
57
|
* // CompatibleArchitectures: [ // CompatibleArchitectures
|
|
@@ -52,7 +52,7 @@ export interface GetLayerVersionCommandOutput extends GetLayerVersionResponse, _
|
|
|
52
52
|
* // CreatedDate: "STRING_VALUE",
|
|
53
53
|
* // Version: Number("long"),
|
|
54
54
|
* // CompatibleRuntimes: [ // CompatibleRuntimes
|
|
55
|
-
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12",
|
|
55
|
+
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
56
56
|
* // ],
|
|
57
57
|
* // LicenseInfo: "STRING_VALUE",
|
|
58
58
|
* // CompatibleArchitectures: [ // CompatibleArchitectures
|
|
@@ -30,10 +30,6 @@ export interface InvokeAsyncCommandOutput extends InvokeAsyncResponse, __Metadat
|
|
|
30
30
|
* <p>For asynchronous function invocation, use <a>Invoke</a>.</p>
|
|
31
31
|
* </important>
|
|
32
32
|
* <p>Invokes a function asynchronously.</p>
|
|
33
|
-
* <note>
|
|
34
|
-
* <p>If you do use the InvokeAsync action, note that it doesn't support the use of X-Ray active tracing. Trace ID is not
|
|
35
|
-
* propagated to the function, even if X-Ray active tracing is turned on.</p>
|
|
36
|
-
* </note>
|
|
37
33
|
* @example
|
|
38
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
35
|
* ```javascript
|
|
@@ -52,7 +52,7 @@ export interface ListFunctionsCommandOutput extends ListFunctionsResponse, __Met
|
|
|
52
52
|
* // { // FunctionConfiguration
|
|
53
53
|
* // FunctionName: "STRING_VALUE",
|
|
54
54
|
* // FunctionArn: "STRING_VALUE",
|
|
55
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12",
|
|
55
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
56
56
|
* // Role: "STRING_VALUE",
|
|
57
57
|
* // Handler: "STRING_VALUE",
|
|
58
58
|
* // CodeSize: Number("long"),
|
|
@@ -145,6 +145,12 @@ export interface ListFunctionsCommandOutput extends ListFunctionsResponse, __Met
|
|
|
145
145
|
* // Message: "STRING_VALUE",
|
|
146
146
|
* // },
|
|
147
147
|
* // },
|
|
148
|
+
* // LoggingConfig: { // LoggingConfig
|
|
149
|
+
* // LogFormat: "JSON" || "Text",
|
|
150
|
+
* // ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL",
|
|
151
|
+
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
152
|
+
* // LogGroup: "STRING_VALUE",
|
|
153
|
+
* // },
|
|
148
154
|
* // },
|
|
149
155
|
* // ],
|
|
150
156
|
* // };
|
|
@@ -34,7 +34,7 @@ export interface ListLayerVersionsCommandOutput extends ListLayerVersionsRespons
|
|
|
34
34
|
* // const { LambdaClient, ListLayerVersionsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
35
35
|
* const client = new LambdaClient(config);
|
|
36
36
|
* const input = { // ListLayerVersionsRequest
|
|
37
|
-
* CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12",
|
|
37
|
+
* CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
38
38
|
* LayerName: "STRING_VALUE", // required
|
|
39
39
|
* Marker: "STRING_VALUE",
|
|
40
40
|
* MaxItems: Number("int"),
|
|
@@ -51,7 +51,7 @@ export interface ListLayerVersionsCommandOutput extends ListLayerVersionsRespons
|
|
|
51
51
|
* // Description: "STRING_VALUE",
|
|
52
52
|
* // CreatedDate: "STRING_VALUE",
|
|
53
53
|
* // CompatibleRuntimes: [ // CompatibleRuntimes
|
|
54
|
-
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12",
|
|
54
|
+
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
55
55
|
* // ],
|
|
56
56
|
* // LicenseInfo: "STRING_VALUE",
|
|
57
57
|
* // CompatibleArchitectures: [ // CompatibleArchitectures
|
|
@@ -36,7 +36,7 @@ export interface ListLayersCommandOutput extends ListLayersResponse, __MetadataB
|
|
|
36
36
|
* // const { LambdaClient, ListLayersCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
37
37
|
* const client = new LambdaClient(config);
|
|
38
38
|
* const input = { // ListLayersRequest
|
|
39
|
-
* CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12",
|
|
39
|
+
* CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
40
40
|
* Marker: "STRING_VALUE",
|
|
41
41
|
* MaxItems: Number("int"),
|
|
42
42
|
* CompatibleArchitecture: "x86_64" || "arm64",
|
|
@@ -55,7 +55,7 @@ export interface ListLayersCommandOutput extends ListLayersResponse, __MetadataB
|
|
|
55
55
|
* // Description: "STRING_VALUE",
|
|
56
56
|
* // CreatedDate: "STRING_VALUE",
|
|
57
57
|
* // CompatibleRuntimes: [ // CompatibleRuntimes
|
|
58
|
-
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12",
|
|
58
|
+
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
59
59
|
* // ],
|
|
60
60
|
* // LicenseInfo: "STRING_VALUE",
|
|
61
61
|
* // CompatibleArchitectures: [ // CompatibleArchitectures
|
|
@@ -44,7 +44,7 @@ export interface ListVersionsByFunctionCommandOutput extends ListVersionsByFunct
|
|
|
44
44
|
* // { // FunctionConfiguration
|
|
45
45
|
* // FunctionName: "STRING_VALUE",
|
|
46
46
|
* // FunctionArn: "STRING_VALUE",
|
|
47
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12",
|
|
47
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
48
48
|
* // Role: "STRING_VALUE",
|
|
49
49
|
* // Handler: "STRING_VALUE",
|
|
50
50
|
* // CodeSize: Number("long"),
|
|
@@ -137,6 +137,12 @@ export interface ListVersionsByFunctionCommandOutput extends ListVersionsByFunct
|
|
|
137
137
|
* // Message: "STRING_VALUE",
|
|
138
138
|
* // },
|
|
139
139
|
* // },
|
|
140
|
+
* // LoggingConfig: { // LoggingConfig
|
|
141
|
+
* // LogFormat: "JSON" || "Text",
|
|
142
|
+
* // ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL",
|
|
143
|
+
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
144
|
+
* // LogGroup: "STRING_VALUE",
|
|
145
|
+
* // },
|
|
140
146
|
* // },
|
|
141
147
|
* // ],
|
|
142
148
|
* // };
|
|
@@ -43,7 +43,7 @@ export interface PublishLayerVersionCommandOutput extends PublishLayerVersionRes
|
|
|
43
43
|
* ZipFile: "BLOB_VALUE",
|
|
44
44
|
* },
|
|
45
45
|
* CompatibleRuntimes: [ // CompatibleRuntimes
|
|
46
|
-
* "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12",
|
|
46
|
+
* "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
47
47
|
* ],
|
|
48
48
|
* LicenseInfo: "STRING_VALUE",
|
|
49
49
|
* CompatibleArchitectures: [ // CompatibleArchitectures
|
|
@@ -66,7 +66,7 @@ export interface PublishLayerVersionCommandOutput extends PublishLayerVersionRes
|
|
|
66
66
|
* // CreatedDate: "STRING_VALUE",
|
|
67
67
|
* // Version: Number("long"),
|
|
68
68
|
* // CompatibleRuntimes: [ // CompatibleRuntimes
|
|
69
|
-
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12",
|
|
69
|
+
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
70
70
|
* // ],
|
|
71
71
|
* // LicenseInfo: "STRING_VALUE",
|
|
72
72
|
* // CompatibleArchitectures: [ // CompatibleArchitectures
|
|
@@ -47,7 +47,7 @@ export interface PublishVersionCommandOutput extends FunctionConfiguration, __Me
|
|
|
47
47
|
* // { // FunctionConfiguration
|
|
48
48
|
* // FunctionName: "STRING_VALUE",
|
|
49
49
|
* // FunctionArn: "STRING_VALUE",
|
|
50
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12",
|
|
50
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
51
51
|
* // Role: "STRING_VALUE",
|
|
52
52
|
* // Handler: "STRING_VALUE",
|
|
53
53
|
* // CodeSize: Number("long"),
|
|
@@ -140,6 +140,12 @@ export interface PublishVersionCommandOutput extends FunctionConfiguration, __Me
|
|
|
140
140
|
* // Message: "STRING_VALUE",
|
|
141
141
|
* // },
|
|
142
142
|
* // },
|
|
143
|
+
* // LoggingConfig: { // LoggingConfig
|
|
144
|
+
* // LogFormat: "JSON" || "Text",
|
|
145
|
+
* // ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL",
|
|
146
|
+
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
147
|
+
* // LogGroup: "STRING_VALUE",
|
|
148
|
+
* // },
|
|
143
149
|
* // };
|
|
144
150
|
*
|
|
145
151
|
* ```
|
|
@@ -64,7 +64,7 @@ export interface UpdateFunctionCodeCommandOutput extends FunctionConfiguration,
|
|
|
64
64
|
* // { // FunctionConfiguration
|
|
65
65
|
* // FunctionName: "STRING_VALUE",
|
|
66
66
|
* // FunctionArn: "STRING_VALUE",
|
|
67
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12",
|
|
67
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
68
68
|
* // Role: "STRING_VALUE",
|
|
69
69
|
* // Handler: "STRING_VALUE",
|
|
70
70
|
* // CodeSize: Number("long"),
|
|
@@ -157,6 +157,12 @@ export interface UpdateFunctionCodeCommandOutput extends FunctionConfiguration,
|
|
|
157
157
|
* // Message: "STRING_VALUE",
|
|
158
158
|
* // },
|
|
159
159
|
* // },
|
|
160
|
+
* // LoggingConfig: { // LoggingConfig
|
|
161
|
+
* // LogFormat: "JSON" || "Text",
|
|
162
|
+
* // ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL",
|
|
163
|
+
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
164
|
+
* // LogGroup: "STRING_VALUE",
|
|
165
|
+
* // },
|
|
160
166
|
* // };
|
|
161
167
|
*
|
|
162
168
|
* ```
|
|
@@ -62,7 +62,7 @@ export interface UpdateFunctionConfigurationCommandOutput extends FunctionConfig
|
|
|
62
62
|
* "<keys>": "STRING_VALUE",
|
|
63
63
|
* },
|
|
64
64
|
* },
|
|
65
|
-
* Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12",
|
|
65
|
+
* Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
66
66
|
* DeadLetterConfig: { // DeadLetterConfig
|
|
67
67
|
* TargetArn: "STRING_VALUE",
|
|
68
68
|
* },
|
|
@@ -95,13 +95,19 @@ export interface UpdateFunctionConfigurationCommandOutput extends FunctionConfig
|
|
|
95
95
|
* SnapStart: { // SnapStart
|
|
96
96
|
* ApplyOn: "PublishedVersions" || "None",
|
|
97
97
|
* },
|
|
98
|
+
* LoggingConfig: { // LoggingConfig
|
|
99
|
+
* LogFormat: "JSON" || "Text",
|
|
100
|
+
* ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL",
|
|
101
|
+
* SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
102
|
+
* LogGroup: "STRING_VALUE",
|
|
103
|
+
* },
|
|
98
104
|
* };
|
|
99
105
|
* const command = new UpdateFunctionConfigurationCommand(input);
|
|
100
106
|
* const response = await client.send(command);
|
|
101
107
|
* // { // FunctionConfiguration
|
|
102
108
|
* // FunctionName: "STRING_VALUE",
|
|
103
109
|
* // FunctionArn: "STRING_VALUE",
|
|
104
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12",
|
|
110
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
105
111
|
* // Role: "STRING_VALUE",
|
|
106
112
|
* // Handler: "STRING_VALUE",
|
|
107
113
|
* // CodeSize: Number("long"),
|
|
@@ -194,6 +200,12 @@ export interface UpdateFunctionConfigurationCommandOutput extends FunctionConfig
|
|
|
194
200
|
* // Message: "STRING_VALUE",
|
|
195
201
|
* // },
|
|
196
202
|
* // },
|
|
203
|
+
* // LoggingConfig: { // LoggingConfig
|
|
204
|
+
* // LogFormat: "JSON" || "Text",
|
|
205
|
+
* // ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL",
|
|
206
|
+
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
207
|
+
* // LogGroup: "STRING_VALUE",
|
|
208
|
+
* // },
|
|
197
209
|
* // };
|
|
198
210
|
*
|
|
199
211
|
* ```
|
|
@@ -423,6 +423,22 @@ export interface AmazonManagedKafkaEventSourceConfig {
|
|
|
423
423
|
*/
|
|
424
424
|
ConsumerGroupId?: string;
|
|
425
425
|
}
|
|
426
|
+
/**
|
|
427
|
+
* @public
|
|
428
|
+
* @enum
|
|
429
|
+
*/
|
|
430
|
+
export declare const ApplicationLogLevel: {
|
|
431
|
+
readonly Debug: "DEBUG";
|
|
432
|
+
readonly Error: "ERROR";
|
|
433
|
+
readonly Fatal: "FATAL";
|
|
434
|
+
readonly Info: "INFO";
|
|
435
|
+
readonly Trace: "TRACE";
|
|
436
|
+
readonly Warn: "WARN";
|
|
437
|
+
};
|
|
438
|
+
/**
|
|
439
|
+
* @public
|
|
440
|
+
*/
|
|
441
|
+
export type ApplicationLogLevel = (typeof ApplicationLogLevel)[keyof typeof ApplicationLogLevel];
|
|
426
442
|
/**
|
|
427
443
|
* @public
|
|
428
444
|
* @enum
|
|
@@ -1312,8 +1328,8 @@ export interface Environment {
|
|
|
1312
1328
|
}
|
|
1313
1329
|
/**
|
|
1314
1330
|
* @public
|
|
1315
|
-
* <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any
|
|
1316
|
-
*
|
|
1331
|
+
* <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but it can be any
|
|
1332
|
+
* whole number between 512 and 10,240 MB.</p>
|
|
1317
1333
|
*/
|
|
1318
1334
|
export interface EphemeralStorage {
|
|
1319
1335
|
/**
|
|
@@ -1362,6 +1378,61 @@ export interface ImageConfig {
|
|
|
1362
1378
|
*/
|
|
1363
1379
|
WorkingDirectory?: string;
|
|
1364
1380
|
}
|
|
1381
|
+
/**
|
|
1382
|
+
* @public
|
|
1383
|
+
* @enum
|
|
1384
|
+
*/
|
|
1385
|
+
export declare const LogFormat: {
|
|
1386
|
+
readonly Json: "JSON";
|
|
1387
|
+
readonly Text: "Text";
|
|
1388
|
+
};
|
|
1389
|
+
/**
|
|
1390
|
+
* @public
|
|
1391
|
+
*/
|
|
1392
|
+
export type LogFormat = (typeof LogFormat)[keyof typeof LogFormat];
|
|
1393
|
+
/**
|
|
1394
|
+
* @public
|
|
1395
|
+
* @enum
|
|
1396
|
+
*/
|
|
1397
|
+
export declare const SystemLogLevel: {
|
|
1398
|
+
readonly Debug: "DEBUG";
|
|
1399
|
+
readonly Info: "INFO";
|
|
1400
|
+
readonly Warn: "WARN";
|
|
1401
|
+
};
|
|
1402
|
+
/**
|
|
1403
|
+
* @public
|
|
1404
|
+
*/
|
|
1405
|
+
export type SystemLogLevel = (typeof SystemLogLevel)[keyof typeof SystemLogLevel];
|
|
1406
|
+
/**
|
|
1407
|
+
* @public
|
|
1408
|
+
* <p>The function's Amazon CloudWatch Logs configuration settings.</p>
|
|
1409
|
+
*/
|
|
1410
|
+
export interface LoggingConfig {
|
|
1411
|
+
/**
|
|
1412
|
+
* @public
|
|
1413
|
+
* <p>The format in which Lambda sends your function's application and system logs to CloudWatch. Select between
|
|
1414
|
+
* plain text and structured JSON.</p>
|
|
1415
|
+
*/
|
|
1416
|
+
LogFormat?: LogFormat;
|
|
1417
|
+
/**
|
|
1418
|
+
* @public
|
|
1419
|
+
* <p>Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the
|
|
1420
|
+
* selected level and lower.</p>
|
|
1421
|
+
*/
|
|
1422
|
+
ApplicationLogLevel?: ApplicationLogLevel;
|
|
1423
|
+
/**
|
|
1424
|
+
* @public
|
|
1425
|
+
* <p>Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the
|
|
1426
|
+
* selected level and lower.</p>
|
|
1427
|
+
*/
|
|
1428
|
+
SystemLogLevel?: SystemLogLevel;
|
|
1429
|
+
/**
|
|
1430
|
+
* @public
|
|
1431
|
+
* <p>The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default
|
|
1432
|
+
* log group named <code>/aws/lambda/<function name></code>. To use a different log group, enter an existing log group or enter a new log group name.</p>
|
|
1433
|
+
*/
|
|
1434
|
+
LogGroup?: string;
|
|
1435
|
+
}
|
|
1365
1436
|
/**
|
|
1366
1437
|
* @public
|
|
1367
1438
|
* @enum
|
|
@@ -1387,6 +1458,7 @@ export declare const Runtime: {
|
|
|
1387
1458
|
readonly go1x: "go1.x";
|
|
1388
1459
|
readonly java11: "java11";
|
|
1389
1460
|
readonly java17: "java17";
|
|
1461
|
+
readonly java21: "java21";
|
|
1390
1462
|
readonly java8: "java8";
|
|
1391
1463
|
readonly java8al2: "java8.al2";
|
|
1392
1464
|
readonly nodejs: "nodejs";
|
|
@@ -1641,7 +1713,7 @@ export interface CreateFunctionRequest {
|
|
|
1641
1713
|
/**
|
|
1642
1714
|
* @public
|
|
1643
1715
|
* <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
|
|
1644
|
-
* number between 512 and 10,240 MB
|
|
1716
|
+
* number between 512 and 10,240 MB.</p>
|
|
1645
1717
|
*/
|
|
1646
1718
|
EphemeralStorage?: EphemeralStorage;
|
|
1647
1719
|
/**
|
|
@@ -1649,6 +1721,11 @@ export interface CreateFunctionRequest {
|
|
|
1649
1721
|
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html">SnapStart</a> setting.</p>
|
|
1650
1722
|
*/
|
|
1651
1723
|
SnapStart?: SnapStart;
|
|
1724
|
+
/**
|
|
1725
|
+
* @public
|
|
1726
|
+
* <p>The function's Amazon CloudWatch Logs configuration settings.</p>
|
|
1727
|
+
*/
|
|
1728
|
+
LoggingConfig?: LoggingConfig;
|
|
1652
1729
|
}
|
|
1653
1730
|
/**
|
|
1654
1731
|
* @public
|
|
@@ -2104,8 +2181,8 @@ export interface FunctionConfiguration {
|
|
|
2104
2181
|
Architectures?: Architecture[];
|
|
2105
2182
|
/**
|
|
2106
2183
|
* @public
|
|
2107
|
-
* <p>The size of the function
|
|
2108
|
-
*
|
|
2184
|
+
* <p>The size of the function’s <code>/tmp</code> directory in MB. The default value is 512, but it can be any
|
|
2185
|
+
* whole number between 512 and 10,240 MB.</p>
|
|
2109
2186
|
*/
|
|
2110
2187
|
EphemeralStorage?: EphemeralStorage;
|
|
2111
2188
|
/**
|
|
@@ -2119,6 +2196,11 @@ export interface FunctionConfiguration {
|
|
|
2119
2196
|
* <p>The ARN of the runtime and any errors that occured.</p>
|
|
2120
2197
|
*/
|
|
2121
2198
|
RuntimeVersionConfig?: RuntimeVersionConfig;
|
|
2199
|
+
/**
|
|
2200
|
+
* @public
|
|
2201
|
+
* <p>The function's Amazon CloudWatch Logs configuration settings.</p>
|
|
2202
|
+
*/
|
|
2203
|
+
LoggingConfig?: LoggingConfig;
|
|
2122
2204
|
}
|
|
2123
2205
|
/**
|
|
2124
2206
|
* @public
|
|
@@ -5995,7 +6077,7 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
5995
6077
|
/**
|
|
5996
6078
|
* @public
|
|
5997
6079
|
* <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
|
|
5998
|
-
* number between 512 and 10,240 MB
|
|
6080
|
+
* number between 512 and 10,240 MB.</p>
|
|
5999
6081
|
*/
|
|
6000
6082
|
EphemeralStorage?: EphemeralStorage;
|
|
6001
6083
|
/**
|
|
@@ -6003,6 +6085,11 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
6003
6085
|
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html">SnapStart</a> setting.</p>
|
|
6004
6086
|
*/
|
|
6005
6087
|
SnapStart?: SnapStart;
|
|
6088
|
+
/**
|
|
6089
|
+
* @public
|
|
6090
|
+
* <p>The function's Amazon CloudWatch Logs configuration settings.</p>
|
|
6091
|
+
*/
|
|
6092
|
+
LoggingConfig?: LoggingConfig;
|
|
6006
6093
|
}
|
|
6007
6094
|
/**
|
|
6008
6095
|
* @public
|
|
@@ -132,6 +132,16 @@ export interface AllowedPublishers {
|
|
|
132
132
|
export interface AmazonManagedKafkaEventSourceConfig {
|
|
133
133
|
ConsumerGroupId?: string;
|
|
134
134
|
}
|
|
135
|
+
export declare const ApplicationLogLevel: {
|
|
136
|
+
readonly Debug: "DEBUG";
|
|
137
|
+
readonly Error: "ERROR";
|
|
138
|
+
readonly Fatal: "FATAL";
|
|
139
|
+
readonly Info: "INFO";
|
|
140
|
+
readonly Trace: "TRACE";
|
|
141
|
+
readonly Warn: "WARN";
|
|
142
|
+
};
|
|
143
|
+
export type ApplicationLogLevel =
|
|
144
|
+
(typeof ApplicationLogLevel)[keyof typeof ApplicationLogLevel];
|
|
135
145
|
export declare const Architecture: {
|
|
136
146
|
readonly arm64: "arm64";
|
|
137
147
|
readonly x86_64: "x86_64";
|
|
@@ -347,6 +357,24 @@ export interface ImageConfig {
|
|
|
347
357
|
Command?: string[];
|
|
348
358
|
WorkingDirectory?: string;
|
|
349
359
|
}
|
|
360
|
+
export declare const LogFormat: {
|
|
361
|
+
readonly Json: "JSON";
|
|
362
|
+
readonly Text: "Text";
|
|
363
|
+
};
|
|
364
|
+
export type LogFormat = (typeof LogFormat)[keyof typeof LogFormat];
|
|
365
|
+
export declare const SystemLogLevel: {
|
|
366
|
+
readonly Debug: "DEBUG";
|
|
367
|
+
readonly Info: "INFO";
|
|
368
|
+
readonly Warn: "WARN";
|
|
369
|
+
};
|
|
370
|
+
export type SystemLogLevel =
|
|
371
|
+
(typeof SystemLogLevel)[keyof typeof SystemLogLevel];
|
|
372
|
+
export interface LoggingConfig {
|
|
373
|
+
LogFormat?: LogFormat;
|
|
374
|
+
ApplicationLogLevel?: ApplicationLogLevel;
|
|
375
|
+
SystemLogLevel?: SystemLogLevel;
|
|
376
|
+
LogGroup?: string;
|
|
377
|
+
}
|
|
350
378
|
export declare const PackageType: {
|
|
351
379
|
readonly Image: "Image";
|
|
352
380
|
readonly Zip: "Zip";
|
|
@@ -361,6 +389,7 @@ export declare const Runtime: {
|
|
|
361
389
|
readonly go1x: "go1.x";
|
|
362
390
|
readonly java11: "java11";
|
|
363
391
|
readonly java17: "java17";
|
|
392
|
+
readonly java21: "java21";
|
|
364
393
|
readonly java8: "java8";
|
|
365
394
|
readonly java8al2: "java8.al2";
|
|
366
395
|
readonly nodejs: "nodejs";
|
|
@@ -436,6 +465,7 @@ export interface CreateFunctionRequest {
|
|
|
436
465
|
Architectures?: Architecture[];
|
|
437
466
|
EphemeralStorage?: EphemeralStorage;
|
|
438
467
|
SnapStart?: SnapStart;
|
|
468
|
+
LoggingConfig?: LoggingConfig;
|
|
439
469
|
}
|
|
440
470
|
export interface EnvironmentError {
|
|
441
471
|
ErrorCode?: string;
|
|
@@ -589,6 +619,7 @@ export interface FunctionConfiguration {
|
|
|
589
619
|
EphemeralStorage?: EphemeralStorage;
|
|
590
620
|
SnapStart?: SnapStartResponse;
|
|
591
621
|
RuntimeVersionConfig?: RuntimeVersionConfig;
|
|
622
|
+
LoggingConfig?: LoggingConfig;
|
|
592
623
|
}
|
|
593
624
|
export declare class InvalidCodeSignatureException extends __BaseException {
|
|
594
625
|
readonly name: "InvalidCodeSignatureException";
|
|
@@ -1461,6 +1492,7 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
1461
1492
|
ImageConfig?: ImageConfig;
|
|
1462
1493
|
EphemeralStorage?: EphemeralStorage;
|
|
1463
1494
|
SnapStart?: SnapStart;
|
|
1495
|
+
LoggingConfig?: LoggingConfig;
|
|
1464
1496
|
}
|
|
1465
1497
|
export interface UpdateFunctionEventInvokeConfigRequest {
|
|
1466
1498
|
FunctionName: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lambda",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.453.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|