@aws-sdk/client-lambda 3.490.0 → 3.496.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/Lambda.js +1 -143
- package/dist-cjs/LambdaClient.js +1 -45
- package/dist-cjs/commands/AddLayerVersionPermissionCommand.js +1 -28
- package/dist-cjs/commands/AddPermissionCommand.js +1 -28
- package/dist-cjs/commands/CreateAliasCommand.js +1 -28
- package/dist-cjs/commands/CreateCodeSigningConfigCommand.js +1 -28
- package/dist-cjs/commands/CreateEventSourceMappingCommand.js +1 -28
- package/dist-cjs/commands/CreateFunctionCommand.js +1 -29
- package/dist-cjs/commands/CreateFunctionUrlConfigCommand.js +1 -28
- package/dist-cjs/commands/DeleteAliasCommand.js +1 -28
- package/dist-cjs/commands/DeleteCodeSigningConfigCommand.js +1 -28
- package/dist-cjs/commands/DeleteEventSourceMappingCommand.js +1 -28
- package/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js +1 -28
- package/dist-cjs/commands/DeleteFunctionCommand.js +1 -28
- package/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js +1 -28
- package/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js +1 -28
- package/dist-cjs/commands/DeleteFunctionUrlConfigCommand.js +1 -28
- package/dist-cjs/commands/DeleteLayerVersionCommand.js +1 -28
- package/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js +1 -28
- package/dist-cjs/commands/GetAccountSettingsCommand.js +1 -28
- package/dist-cjs/commands/GetAliasCommand.js +1 -28
- package/dist-cjs/commands/GetCodeSigningConfigCommand.js +1 -28
- package/dist-cjs/commands/GetEventSourceMappingCommand.js +1 -28
- package/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js +1 -28
- package/dist-cjs/commands/GetFunctionCommand.js +1 -29
- package/dist-cjs/commands/GetFunctionConcurrencyCommand.js +1 -28
- package/dist-cjs/commands/GetFunctionConfigurationCommand.js +1 -29
- package/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js +1 -28
- package/dist-cjs/commands/GetFunctionUrlConfigCommand.js +1 -28
- package/dist-cjs/commands/GetLayerVersionByArnCommand.js +1 -28
- package/dist-cjs/commands/GetLayerVersionCommand.js +1 -28
- package/dist-cjs/commands/GetLayerVersionPolicyCommand.js +1 -28
- package/dist-cjs/commands/GetPolicyCommand.js +1 -28
- package/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js +1 -28
- package/dist-cjs/commands/GetRuntimeManagementConfigCommand.js +1 -28
- package/dist-cjs/commands/InvokeAsyncCommand.js +1 -29
- package/dist-cjs/commands/InvokeCommand.js +1 -29
- package/dist-cjs/commands/InvokeWithResponseStreamCommand.js +1 -33
- package/dist-cjs/commands/ListAliasesCommand.js +1 -28
- package/dist-cjs/commands/ListCodeSigningConfigsCommand.js +1 -28
- package/dist-cjs/commands/ListEventSourceMappingsCommand.js +1 -28
- package/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js +1 -28
- package/dist-cjs/commands/ListFunctionUrlConfigsCommand.js +1 -28
- package/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js +1 -28
- package/dist-cjs/commands/ListFunctionsCommand.js +1 -29
- package/dist-cjs/commands/ListLayerVersionsCommand.js +1 -28
- package/dist-cjs/commands/ListLayersCommand.js +1 -28
- package/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsCommand.js +1 -28
- package/dist-cjs/commands/ListVersionsByFunctionCommand.js +1 -29
- package/dist-cjs/commands/PublishLayerVersionCommand.js +1 -29
- package/dist-cjs/commands/PublishVersionCommand.js +1 -29
- package/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js +1 -28
- package/dist-cjs/commands/PutFunctionConcurrencyCommand.js +1 -28
- package/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js +1 -28
- package/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js +1 -28
- package/dist-cjs/commands/PutRuntimeManagementConfigCommand.js +1 -28
- package/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js +1 -28
- package/dist-cjs/commands/RemovePermissionCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateAliasCommand.js +1 -28
- package/dist-cjs/commands/UpdateCodeSigningConfigCommand.js +1 -28
- package/dist-cjs/commands/UpdateEventSourceMappingCommand.js +1 -28
- package/dist-cjs/commands/UpdateFunctionCodeCommand.js +1 -29
- package/dist-cjs/commands/UpdateFunctionConfigurationCommand.js +1 -29
- package/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js +1 -28
- package/dist-cjs/commands/UpdateFunctionUrlConfigCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -69
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +8240 -12
- package/dist-cjs/models/LambdaServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -915
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListAliasesPaginator.js +1 -7
- package/dist-cjs/pagination/ListCodeSigningConfigsPaginator.js +1 -7
- package/dist-cjs/pagination/ListEventSourceMappingsPaginator.js +1 -7
- package/dist-cjs/pagination/ListFunctionEventInvokeConfigsPaginator.js +1 -7
- package/dist-cjs/pagination/ListFunctionUrlConfigsPaginator.js +1 -7
- package/dist-cjs/pagination/ListFunctionsByCodeSigningConfigPaginator.js +1 -7
- package/dist-cjs/pagination/ListFunctionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListLayerVersionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListLayersPaginator.js +1 -7
- package/dist-cjs/pagination/ListProvisionedConcurrencyConfigsPaginator.js +1 -7
- package/dist-cjs/pagination/ListVersionsByFunctionPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -15
- package/dist-cjs/protocols/Aws_restJson1.js +1 -5276
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/dist-cjs/waiters/index.js +1 -9
- package/dist-cjs/waiters/waitForFunctionActive.js +1 -54
- package/dist-cjs/waiters/waitForFunctionActiveV2.js +1 -54
- package/dist-cjs/waiters/waitForFunctionExists.js +1 -31
- package/dist-cjs/waiters/waitForFunctionUpdated.js +1 -54
- package/dist-cjs/waiters/waitForFunctionUpdatedV2.js +1 -54
- package/dist-cjs/waiters/waitForPublishedVersionActive.js +1 -54
- package/package.json +45 -45
|
@@ -1,915 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
|
-
const LambdaServiceException_1 = require("./LambdaServiceException");
|
|
7
|
-
class InvalidParameterValueException extends LambdaServiceException_1.LambdaServiceException {
|
|
8
|
-
constructor(opts) {
|
|
9
|
-
super({
|
|
10
|
-
name: "InvalidParameterValueException",
|
|
11
|
-
$fault: "client",
|
|
12
|
-
...opts,
|
|
13
|
-
});
|
|
14
|
-
this.name = "InvalidParameterValueException";
|
|
15
|
-
this.$fault = "client";
|
|
16
|
-
Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
|
|
17
|
-
this.Type = opts.Type;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.InvalidParameterValueException = InvalidParameterValueException;
|
|
21
|
-
class PolicyLengthExceededException extends LambdaServiceException_1.LambdaServiceException {
|
|
22
|
-
constructor(opts) {
|
|
23
|
-
super({
|
|
24
|
-
name: "PolicyLengthExceededException",
|
|
25
|
-
$fault: "client",
|
|
26
|
-
...opts,
|
|
27
|
-
});
|
|
28
|
-
this.name = "PolicyLengthExceededException";
|
|
29
|
-
this.$fault = "client";
|
|
30
|
-
Object.setPrototypeOf(this, PolicyLengthExceededException.prototype);
|
|
31
|
-
this.Type = opts.Type;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
exports.PolicyLengthExceededException = PolicyLengthExceededException;
|
|
35
|
-
class PreconditionFailedException extends LambdaServiceException_1.LambdaServiceException {
|
|
36
|
-
constructor(opts) {
|
|
37
|
-
super({
|
|
38
|
-
name: "PreconditionFailedException",
|
|
39
|
-
$fault: "client",
|
|
40
|
-
...opts,
|
|
41
|
-
});
|
|
42
|
-
this.name = "PreconditionFailedException";
|
|
43
|
-
this.$fault = "client";
|
|
44
|
-
Object.setPrototypeOf(this, PreconditionFailedException.prototype);
|
|
45
|
-
this.Type = opts.Type;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
exports.PreconditionFailedException = PreconditionFailedException;
|
|
49
|
-
class ResourceConflictException extends LambdaServiceException_1.LambdaServiceException {
|
|
50
|
-
constructor(opts) {
|
|
51
|
-
super({
|
|
52
|
-
name: "ResourceConflictException",
|
|
53
|
-
$fault: "client",
|
|
54
|
-
...opts,
|
|
55
|
-
});
|
|
56
|
-
this.name = "ResourceConflictException";
|
|
57
|
-
this.$fault = "client";
|
|
58
|
-
Object.setPrototypeOf(this, ResourceConflictException.prototype);
|
|
59
|
-
this.Type = opts.Type;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
exports.ResourceConflictException = ResourceConflictException;
|
|
63
|
-
class ResourceNotFoundException extends LambdaServiceException_1.LambdaServiceException {
|
|
64
|
-
constructor(opts) {
|
|
65
|
-
super({
|
|
66
|
-
name: "ResourceNotFoundException",
|
|
67
|
-
$fault: "client",
|
|
68
|
-
...opts,
|
|
69
|
-
});
|
|
70
|
-
this.name = "ResourceNotFoundException";
|
|
71
|
-
this.$fault = "client";
|
|
72
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
73
|
-
this.Type = opts.Type;
|
|
74
|
-
this.Message = opts.Message;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
78
|
-
class ServiceException extends LambdaServiceException_1.LambdaServiceException {
|
|
79
|
-
constructor(opts) {
|
|
80
|
-
super({
|
|
81
|
-
name: "ServiceException",
|
|
82
|
-
$fault: "server",
|
|
83
|
-
...opts,
|
|
84
|
-
});
|
|
85
|
-
this.name = "ServiceException";
|
|
86
|
-
this.$fault = "server";
|
|
87
|
-
Object.setPrototypeOf(this, ServiceException.prototype);
|
|
88
|
-
this.Type = opts.Type;
|
|
89
|
-
this.Message = opts.Message;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
exports.ServiceException = ServiceException;
|
|
93
|
-
exports.ThrottleReason = {
|
|
94
|
-
CallerRateLimitExceeded: "CallerRateLimitExceeded",
|
|
95
|
-
ConcurrentInvocationLimitExceeded: "ConcurrentInvocationLimitExceeded",
|
|
96
|
-
ConcurrentSnapshotCreateLimitExceeded: "ConcurrentSnapshotCreateLimitExceeded",
|
|
97
|
-
FunctionInvocationRateLimitExceeded: "FunctionInvocationRateLimitExceeded",
|
|
98
|
-
ReservedFunctionConcurrentInvocationLimitExceeded: "ReservedFunctionConcurrentInvocationLimitExceeded",
|
|
99
|
-
ReservedFunctionInvocationRateLimitExceeded: "ReservedFunctionInvocationRateLimitExceeded",
|
|
100
|
-
};
|
|
101
|
-
class TooManyRequestsException extends LambdaServiceException_1.LambdaServiceException {
|
|
102
|
-
constructor(opts) {
|
|
103
|
-
super({
|
|
104
|
-
name: "TooManyRequestsException",
|
|
105
|
-
$fault: "client",
|
|
106
|
-
...opts,
|
|
107
|
-
});
|
|
108
|
-
this.name = "TooManyRequestsException";
|
|
109
|
-
this.$fault = "client";
|
|
110
|
-
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
111
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
112
|
-
this.Type = opts.Type;
|
|
113
|
-
this.Reason = opts.Reason;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
exports.TooManyRequestsException = TooManyRequestsException;
|
|
117
|
-
exports.FunctionUrlAuthType = {
|
|
118
|
-
AWS_IAM: "AWS_IAM",
|
|
119
|
-
NONE: "NONE",
|
|
120
|
-
};
|
|
121
|
-
exports.ApplicationLogLevel = {
|
|
122
|
-
Debug: "DEBUG",
|
|
123
|
-
Error: "ERROR",
|
|
124
|
-
Fatal: "FATAL",
|
|
125
|
-
Info: "INFO",
|
|
126
|
-
Trace: "TRACE",
|
|
127
|
-
Warn: "WARN",
|
|
128
|
-
};
|
|
129
|
-
exports.Architecture = {
|
|
130
|
-
arm64: "arm64",
|
|
131
|
-
x86_64: "x86_64",
|
|
132
|
-
};
|
|
133
|
-
exports.CodeSigningPolicy = {
|
|
134
|
-
Enforce: "Enforce",
|
|
135
|
-
Warn: "Warn",
|
|
136
|
-
};
|
|
137
|
-
exports.FullDocument = {
|
|
138
|
-
Default: "Default",
|
|
139
|
-
UpdateLookup: "UpdateLookup",
|
|
140
|
-
};
|
|
141
|
-
exports.FunctionResponseType = {
|
|
142
|
-
ReportBatchItemFailures: "ReportBatchItemFailures",
|
|
143
|
-
};
|
|
144
|
-
exports.EndPointType = {
|
|
145
|
-
KAFKA_BOOTSTRAP_SERVERS: "KAFKA_BOOTSTRAP_SERVERS",
|
|
146
|
-
};
|
|
147
|
-
exports.SourceAccessType = {
|
|
148
|
-
BASIC_AUTH: "BASIC_AUTH",
|
|
149
|
-
CLIENT_CERTIFICATE_TLS_AUTH: "CLIENT_CERTIFICATE_TLS_AUTH",
|
|
150
|
-
SASL_SCRAM_256_AUTH: "SASL_SCRAM_256_AUTH",
|
|
151
|
-
SASL_SCRAM_512_AUTH: "SASL_SCRAM_512_AUTH",
|
|
152
|
-
SERVER_ROOT_CA_CERTIFICATE: "SERVER_ROOT_CA_CERTIFICATE",
|
|
153
|
-
VIRTUAL_HOST: "VIRTUAL_HOST",
|
|
154
|
-
VPC_SECURITY_GROUP: "VPC_SECURITY_GROUP",
|
|
155
|
-
VPC_SUBNET: "VPC_SUBNET",
|
|
156
|
-
};
|
|
157
|
-
exports.EventSourcePosition = {
|
|
158
|
-
AT_TIMESTAMP: "AT_TIMESTAMP",
|
|
159
|
-
LATEST: "LATEST",
|
|
160
|
-
TRIM_HORIZON: "TRIM_HORIZON",
|
|
161
|
-
};
|
|
162
|
-
class CodeSigningConfigNotFoundException extends LambdaServiceException_1.LambdaServiceException {
|
|
163
|
-
constructor(opts) {
|
|
164
|
-
super({
|
|
165
|
-
name: "CodeSigningConfigNotFoundException",
|
|
166
|
-
$fault: "client",
|
|
167
|
-
...opts,
|
|
168
|
-
});
|
|
169
|
-
this.name = "CodeSigningConfigNotFoundException";
|
|
170
|
-
this.$fault = "client";
|
|
171
|
-
Object.setPrototypeOf(this, CodeSigningConfigNotFoundException.prototype);
|
|
172
|
-
this.Type = opts.Type;
|
|
173
|
-
this.Message = opts.Message;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
exports.CodeSigningConfigNotFoundException = CodeSigningConfigNotFoundException;
|
|
177
|
-
class CodeStorageExceededException extends LambdaServiceException_1.LambdaServiceException {
|
|
178
|
-
constructor(opts) {
|
|
179
|
-
super({
|
|
180
|
-
name: "CodeStorageExceededException",
|
|
181
|
-
$fault: "client",
|
|
182
|
-
...opts,
|
|
183
|
-
});
|
|
184
|
-
this.name = "CodeStorageExceededException";
|
|
185
|
-
this.$fault = "client";
|
|
186
|
-
Object.setPrototypeOf(this, CodeStorageExceededException.prototype);
|
|
187
|
-
this.Type = opts.Type;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
exports.CodeStorageExceededException = CodeStorageExceededException;
|
|
191
|
-
class CodeVerificationFailedException extends LambdaServiceException_1.LambdaServiceException {
|
|
192
|
-
constructor(opts) {
|
|
193
|
-
super({
|
|
194
|
-
name: "CodeVerificationFailedException",
|
|
195
|
-
$fault: "client",
|
|
196
|
-
...opts,
|
|
197
|
-
});
|
|
198
|
-
this.name = "CodeVerificationFailedException";
|
|
199
|
-
this.$fault = "client";
|
|
200
|
-
Object.setPrototypeOf(this, CodeVerificationFailedException.prototype);
|
|
201
|
-
this.Type = opts.Type;
|
|
202
|
-
this.Message = opts.Message;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
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
|
-
};
|
|
215
|
-
exports.PackageType = {
|
|
216
|
-
Image: "Image",
|
|
217
|
-
Zip: "Zip",
|
|
218
|
-
};
|
|
219
|
-
exports.Runtime = {
|
|
220
|
-
dotnet6: "dotnet6",
|
|
221
|
-
dotnetcore10: "dotnetcore1.0",
|
|
222
|
-
dotnetcore20: "dotnetcore2.0",
|
|
223
|
-
dotnetcore21: "dotnetcore2.1",
|
|
224
|
-
dotnetcore31: "dotnetcore3.1",
|
|
225
|
-
go1x: "go1.x",
|
|
226
|
-
java11: "java11",
|
|
227
|
-
java17: "java17",
|
|
228
|
-
java21: "java21",
|
|
229
|
-
java8: "java8",
|
|
230
|
-
java8al2: "java8.al2",
|
|
231
|
-
nodejs: "nodejs",
|
|
232
|
-
nodejs10x: "nodejs10.x",
|
|
233
|
-
nodejs12x: "nodejs12.x",
|
|
234
|
-
nodejs14x: "nodejs14.x",
|
|
235
|
-
nodejs16x: "nodejs16.x",
|
|
236
|
-
nodejs18x: "nodejs18.x",
|
|
237
|
-
nodejs20x: "nodejs20.x",
|
|
238
|
-
nodejs43: "nodejs4.3",
|
|
239
|
-
nodejs43edge: "nodejs4.3-edge",
|
|
240
|
-
nodejs610: "nodejs6.10",
|
|
241
|
-
nodejs810: "nodejs8.10",
|
|
242
|
-
provided: "provided",
|
|
243
|
-
providedal2: "provided.al2",
|
|
244
|
-
providedal2023: "provided.al2023",
|
|
245
|
-
python27: "python2.7",
|
|
246
|
-
python310: "python3.10",
|
|
247
|
-
python311: "python3.11",
|
|
248
|
-
python312: "python3.12",
|
|
249
|
-
python36: "python3.6",
|
|
250
|
-
python37: "python3.7",
|
|
251
|
-
python38: "python3.8",
|
|
252
|
-
python39: "python3.9",
|
|
253
|
-
ruby25: "ruby2.5",
|
|
254
|
-
ruby27: "ruby2.7",
|
|
255
|
-
ruby32: "ruby3.2",
|
|
256
|
-
};
|
|
257
|
-
exports.SnapStartApplyOn = {
|
|
258
|
-
None: "None",
|
|
259
|
-
PublishedVersions: "PublishedVersions",
|
|
260
|
-
};
|
|
261
|
-
exports.TracingMode = {
|
|
262
|
-
Active: "Active",
|
|
263
|
-
PassThrough: "PassThrough",
|
|
264
|
-
};
|
|
265
|
-
exports.LastUpdateStatus = {
|
|
266
|
-
Failed: "Failed",
|
|
267
|
-
InProgress: "InProgress",
|
|
268
|
-
Successful: "Successful",
|
|
269
|
-
};
|
|
270
|
-
exports.LastUpdateStatusReasonCode = {
|
|
271
|
-
DisabledKMSKey: "DisabledKMSKey",
|
|
272
|
-
EFSIOError: "EFSIOError",
|
|
273
|
-
EFSMountConnectivityError: "EFSMountConnectivityError",
|
|
274
|
-
EFSMountFailure: "EFSMountFailure",
|
|
275
|
-
EFSMountTimeout: "EFSMountTimeout",
|
|
276
|
-
EniLimitExceeded: "EniLimitExceeded",
|
|
277
|
-
FunctionError: "FunctionError",
|
|
278
|
-
ImageAccessDenied: "ImageAccessDenied",
|
|
279
|
-
ImageDeleted: "ImageDeleted",
|
|
280
|
-
InsufficientRolePermissions: "InsufficientRolePermissions",
|
|
281
|
-
InternalError: "InternalError",
|
|
282
|
-
InvalidConfiguration: "InvalidConfiguration",
|
|
283
|
-
InvalidImage: "InvalidImage",
|
|
284
|
-
InvalidRuntime: "InvalidRuntime",
|
|
285
|
-
InvalidSecurityGroup: "InvalidSecurityGroup",
|
|
286
|
-
InvalidStateKMSKey: "InvalidStateKMSKey",
|
|
287
|
-
InvalidSubnet: "InvalidSubnet",
|
|
288
|
-
InvalidZipFileException: "InvalidZipFileException",
|
|
289
|
-
KMSKeyAccessDenied: "KMSKeyAccessDenied",
|
|
290
|
-
KMSKeyNotFound: "KMSKeyNotFound",
|
|
291
|
-
SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses",
|
|
292
|
-
};
|
|
293
|
-
exports.SnapStartOptimizationStatus = {
|
|
294
|
-
Off: "Off",
|
|
295
|
-
On: "On",
|
|
296
|
-
};
|
|
297
|
-
exports.State = {
|
|
298
|
-
Active: "Active",
|
|
299
|
-
Failed: "Failed",
|
|
300
|
-
Inactive: "Inactive",
|
|
301
|
-
Pending: "Pending",
|
|
302
|
-
};
|
|
303
|
-
exports.StateReasonCode = {
|
|
304
|
-
Creating: "Creating",
|
|
305
|
-
DisabledKMSKey: "DisabledKMSKey",
|
|
306
|
-
EFSIOError: "EFSIOError",
|
|
307
|
-
EFSMountConnectivityError: "EFSMountConnectivityError",
|
|
308
|
-
EFSMountFailure: "EFSMountFailure",
|
|
309
|
-
EFSMountTimeout: "EFSMountTimeout",
|
|
310
|
-
EniLimitExceeded: "EniLimitExceeded",
|
|
311
|
-
FunctionError: "FunctionError",
|
|
312
|
-
Idle: "Idle",
|
|
313
|
-
ImageAccessDenied: "ImageAccessDenied",
|
|
314
|
-
ImageDeleted: "ImageDeleted",
|
|
315
|
-
InsufficientRolePermissions: "InsufficientRolePermissions",
|
|
316
|
-
InternalError: "InternalError",
|
|
317
|
-
InvalidConfiguration: "InvalidConfiguration",
|
|
318
|
-
InvalidImage: "InvalidImage",
|
|
319
|
-
InvalidRuntime: "InvalidRuntime",
|
|
320
|
-
InvalidSecurityGroup: "InvalidSecurityGroup",
|
|
321
|
-
InvalidStateKMSKey: "InvalidStateKMSKey",
|
|
322
|
-
InvalidSubnet: "InvalidSubnet",
|
|
323
|
-
InvalidZipFileException: "InvalidZipFileException",
|
|
324
|
-
KMSKeyAccessDenied: "KMSKeyAccessDenied",
|
|
325
|
-
KMSKeyNotFound: "KMSKeyNotFound",
|
|
326
|
-
Restoring: "Restoring",
|
|
327
|
-
SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses",
|
|
328
|
-
};
|
|
329
|
-
class InvalidCodeSignatureException extends LambdaServiceException_1.LambdaServiceException {
|
|
330
|
-
constructor(opts) {
|
|
331
|
-
super({
|
|
332
|
-
name: "InvalidCodeSignatureException",
|
|
333
|
-
$fault: "client",
|
|
334
|
-
...opts,
|
|
335
|
-
});
|
|
336
|
-
this.name = "InvalidCodeSignatureException";
|
|
337
|
-
this.$fault = "client";
|
|
338
|
-
Object.setPrototypeOf(this, InvalidCodeSignatureException.prototype);
|
|
339
|
-
this.Type = opts.Type;
|
|
340
|
-
this.Message = opts.Message;
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
exports.InvalidCodeSignatureException = InvalidCodeSignatureException;
|
|
344
|
-
exports.InvokeMode = {
|
|
345
|
-
BUFFERED: "BUFFERED",
|
|
346
|
-
RESPONSE_STREAM: "RESPONSE_STREAM",
|
|
347
|
-
};
|
|
348
|
-
class ResourceInUseException extends LambdaServiceException_1.LambdaServiceException {
|
|
349
|
-
constructor(opts) {
|
|
350
|
-
super({
|
|
351
|
-
name: "ResourceInUseException",
|
|
352
|
-
$fault: "client",
|
|
353
|
-
...opts,
|
|
354
|
-
});
|
|
355
|
-
this.name = "ResourceInUseException";
|
|
356
|
-
this.$fault = "client";
|
|
357
|
-
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
358
|
-
this.Type = opts.Type;
|
|
359
|
-
this.Message = opts.Message;
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
exports.ResourceInUseException = ResourceInUseException;
|
|
363
|
-
exports.ProvisionedConcurrencyStatusEnum = {
|
|
364
|
-
FAILED: "FAILED",
|
|
365
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
366
|
-
READY: "READY",
|
|
367
|
-
};
|
|
368
|
-
class ProvisionedConcurrencyConfigNotFoundException extends LambdaServiceException_1.LambdaServiceException {
|
|
369
|
-
constructor(opts) {
|
|
370
|
-
super({
|
|
371
|
-
name: "ProvisionedConcurrencyConfigNotFoundException",
|
|
372
|
-
$fault: "client",
|
|
373
|
-
...opts,
|
|
374
|
-
});
|
|
375
|
-
this.name = "ProvisionedConcurrencyConfigNotFoundException";
|
|
376
|
-
this.$fault = "client";
|
|
377
|
-
Object.setPrototypeOf(this, ProvisionedConcurrencyConfigNotFoundException.prototype);
|
|
378
|
-
this.Type = opts.Type;
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
exports.ProvisionedConcurrencyConfigNotFoundException = ProvisionedConcurrencyConfigNotFoundException;
|
|
382
|
-
exports.UpdateRuntimeOn = {
|
|
383
|
-
Auto: "Auto",
|
|
384
|
-
FunctionUpdate: "FunctionUpdate",
|
|
385
|
-
Manual: "Manual",
|
|
386
|
-
};
|
|
387
|
-
class EC2AccessDeniedException extends LambdaServiceException_1.LambdaServiceException {
|
|
388
|
-
constructor(opts) {
|
|
389
|
-
super({
|
|
390
|
-
name: "EC2AccessDeniedException",
|
|
391
|
-
$fault: "server",
|
|
392
|
-
...opts,
|
|
393
|
-
});
|
|
394
|
-
this.name = "EC2AccessDeniedException";
|
|
395
|
-
this.$fault = "server";
|
|
396
|
-
Object.setPrototypeOf(this, EC2AccessDeniedException.prototype);
|
|
397
|
-
this.Type = opts.Type;
|
|
398
|
-
this.Message = opts.Message;
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
exports.EC2AccessDeniedException = EC2AccessDeniedException;
|
|
402
|
-
class EC2ThrottledException extends LambdaServiceException_1.LambdaServiceException {
|
|
403
|
-
constructor(opts) {
|
|
404
|
-
super({
|
|
405
|
-
name: "EC2ThrottledException",
|
|
406
|
-
$fault: "server",
|
|
407
|
-
...opts,
|
|
408
|
-
});
|
|
409
|
-
this.name = "EC2ThrottledException";
|
|
410
|
-
this.$fault = "server";
|
|
411
|
-
Object.setPrototypeOf(this, EC2ThrottledException.prototype);
|
|
412
|
-
this.Type = opts.Type;
|
|
413
|
-
this.Message = opts.Message;
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
exports.EC2ThrottledException = EC2ThrottledException;
|
|
417
|
-
class EC2UnexpectedException extends LambdaServiceException_1.LambdaServiceException {
|
|
418
|
-
constructor(opts) {
|
|
419
|
-
super({
|
|
420
|
-
name: "EC2UnexpectedException",
|
|
421
|
-
$fault: "server",
|
|
422
|
-
...opts,
|
|
423
|
-
});
|
|
424
|
-
this.name = "EC2UnexpectedException";
|
|
425
|
-
this.$fault = "server";
|
|
426
|
-
Object.setPrototypeOf(this, EC2UnexpectedException.prototype);
|
|
427
|
-
this.Type = opts.Type;
|
|
428
|
-
this.Message = opts.Message;
|
|
429
|
-
this.EC2ErrorCode = opts.EC2ErrorCode;
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
exports.EC2UnexpectedException = EC2UnexpectedException;
|
|
433
|
-
class EFSIOException extends LambdaServiceException_1.LambdaServiceException {
|
|
434
|
-
constructor(opts) {
|
|
435
|
-
super({
|
|
436
|
-
name: "EFSIOException",
|
|
437
|
-
$fault: "client",
|
|
438
|
-
...opts,
|
|
439
|
-
});
|
|
440
|
-
this.name = "EFSIOException";
|
|
441
|
-
this.$fault = "client";
|
|
442
|
-
Object.setPrototypeOf(this, EFSIOException.prototype);
|
|
443
|
-
this.Type = opts.Type;
|
|
444
|
-
this.Message = opts.Message;
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
exports.EFSIOException = EFSIOException;
|
|
448
|
-
class EFSMountConnectivityException extends LambdaServiceException_1.LambdaServiceException {
|
|
449
|
-
constructor(opts) {
|
|
450
|
-
super({
|
|
451
|
-
name: "EFSMountConnectivityException",
|
|
452
|
-
$fault: "client",
|
|
453
|
-
...opts,
|
|
454
|
-
});
|
|
455
|
-
this.name = "EFSMountConnectivityException";
|
|
456
|
-
this.$fault = "client";
|
|
457
|
-
Object.setPrototypeOf(this, EFSMountConnectivityException.prototype);
|
|
458
|
-
this.Type = opts.Type;
|
|
459
|
-
this.Message = opts.Message;
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
exports.EFSMountConnectivityException = EFSMountConnectivityException;
|
|
463
|
-
class EFSMountFailureException extends LambdaServiceException_1.LambdaServiceException {
|
|
464
|
-
constructor(opts) {
|
|
465
|
-
super({
|
|
466
|
-
name: "EFSMountFailureException",
|
|
467
|
-
$fault: "client",
|
|
468
|
-
...opts,
|
|
469
|
-
});
|
|
470
|
-
this.name = "EFSMountFailureException";
|
|
471
|
-
this.$fault = "client";
|
|
472
|
-
Object.setPrototypeOf(this, EFSMountFailureException.prototype);
|
|
473
|
-
this.Type = opts.Type;
|
|
474
|
-
this.Message = opts.Message;
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
exports.EFSMountFailureException = EFSMountFailureException;
|
|
478
|
-
class EFSMountTimeoutException extends LambdaServiceException_1.LambdaServiceException {
|
|
479
|
-
constructor(opts) {
|
|
480
|
-
super({
|
|
481
|
-
name: "EFSMountTimeoutException",
|
|
482
|
-
$fault: "client",
|
|
483
|
-
...opts,
|
|
484
|
-
});
|
|
485
|
-
this.name = "EFSMountTimeoutException";
|
|
486
|
-
this.$fault = "client";
|
|
487
|
-
Object.setPrototypeOf(this, EFSMountTimeoutException.prototype);
|
|
488
|
-
this.Type = opts.Type;
|
|
489
|
-
this.Message = opts.Message;
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
exports.EFSMountTimeoutException = EFSMountTimeoutException;
|
|
493
|
-
class ENILimitReachedException extends LambdaServiceException_1.LambdaServiceException {
|
|
494
|
-
constructor(opts) {
|
|
495
|
-
super({
|
|
496
|
-
name: "ENILimitReachedException",
|
|
497
|
-
$fault: "server",
|
|
498
|
-
...opts,
|
|
499
|
-
});
|
|
500
|
-
this.name = "ENILimitReachedException";
|
|
501
|
-
this.$fault = "server";
|
|
502
|
-
Object.setPrototypeOf(this, ENILimitReachedException.prototype);
|
|
503
|
-
this.Type = opts.Type;
|
|
504
|
-
this.Message = opts.Message;
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
exports.ENILimitReachedException = ENILimitReachedException;
|
|
508
|
-
class InvalidRequestContentException extends LambdaServiceException_1.LambdaServiceException {
|
|
509
|
-
constructor(opts) {
|
|
510
|
-
super({
|
|
511
|
-
name: "InvalidRequestContentException",
|
|
512
|
-
$fault: "client",
|
|
513
|
-
...opts,
|
|
514
|
-
});
|
|
515
|
-
this.name = "InvalidRequestContentException";
|
|
516
|
-
this.$fault = "client";
|
|
517
|
-
Object.setPrototypeOf(this, InvalidRequestContentException.prototype);
|
|
518
|
-
this.Type = opts.Type;
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
exports.InvalidRequestContentException = InvalidRequestContentException;
|
|
522
|
-
class InvalidRuntimeException extends LambdaServiceException_1.LambdaServiceException {
|
|
523
|
-
constructor(opts) {
|
|
524
|
-
super({
|
|
525
|
-
name: "InvalidRuntimeException",
|
|
526
|
-
$fault: "server",
|
|
527
|
-
...opts,
|
|
528
|
-
});
|
|
529
|
-
this.name = "InvalidRuntimeException";
|
|
530
|
-
this.$fault = "server";
|
|
531
|
-
Object.setPrototypeOf(this, InvalidRuntimeException.prototype);
|
|
532
|
-
this.Type = opts.Type;
|
|
533
|
-
this.Message = opts.Message;
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
exports.InvalidRuntimeException = InvalidRuntimeException;
|
|
537
|
-
class InvalidSecurityGroupIDException extends LambdaServiceException_1.LambdaServiceException {
|
|
538
|
-
constructor(opts) {
|
|
539
|
-
super({
|
|
540
|
-
name: "InvalidSecurityGroupIDException",
|
|
541
|
-
$fault: "server",
|
|
542
|
-
...opts,
|
|
543
|
-
});
|
|
544
|
-
this.name = "InvalidSecurityGroupIDException";
|
|
545
|
-
this.$fault = "server";
|
|
546
|
-
Object.setPrototypeOf(this, InvalidSecurityGroupIDException.prototype);
|
|
547
|
-
this.Type = opts.Type;
|
|
548
|
-
this.Message = opts.Message;
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
exports.InvalidSecurityGroupIDException = InvalidSecurityGroupIDException;
|
|
552
|
-
class InvalidSubnetIDException extends LambdaServiceException_1.LambdaServiceException {
|
|
553
|
-
constructor(opts) {
|
|
554
|
-
super({
|
|
555
|
-
name: "InvalidSubnetIDException",
|
|
556
|
-
$fault: "server",
|
|
557
|
-
...opts,
|
|
558
|
-
});
|
|
559
|
-
this.name = "InvalidSubnetIDException";
|
|
560
|
-
this.$fault = "server";
|
|
561
|
-
Object.setPrototypeOf(this, InvalidSubnetIDException.prototype);
|
|
562
|
-
this.Type = opts.Type;
|
|
563
|
-
this.Message = opts.Message;
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
exports.InvalidSubnetIDException = InvalidSubnetIDException;
|
|
567
|
-
class InvalidZipFileException extends LambdaServiceException_1.LambdaServiceException {
|
|
568
|
-
constructor(opts) {
|
|
569
|
-
super({
|
|
570
|
-
name: "InvalidZipFileException",
|
|
571
|
-
$fault: "server",
|
|
572
|
-
...opts,
|
|
573
|
-
});
|
|
574
|
-
this.name = "InvalidZipFileException";
|
|
575
|
-
this.$fault = "server";
|
|
576
|
-
Object.setPrototypeOf(this, InvalidZipFileException.prototype);
|
|
577
|
-
this.Type = opts.Type;
|
|
578
|
-
this.Message = opts.Message;
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
exports.InvalidZipFileException = InvalidZipFileException;
|
|
582
|
-
exports.InvocationType = {
|
|
583
|
-
DryRun: "DryRun",
|
|
584
|
-
Event: "Event",
|
|
585
|
-
RequestResponse: "RequestResponse",
|
|
586
|
-
};
|
|
587
|
-
exports.LogType = {
|
|
588
|
-
None: "None",
|
|
589
|
-
Tail: "Tail",
|
|
590
|
-
};
|
|
591
|
-
class KMSAccessDeniedException extends LambdaServiceException_1.LambdaServiceException {
|
|
592
|
-
constructor(opts) {
|
|
593
|
-
super({
|
|
594
|
-
name: "KMSAccessDeniedException",
|
|
595
|
-
$fault: "server",
|
|
596
|
-
...opts,
|
|
597
|
-
});
|
|
598
|
-
this.name = "KMSAccessDeniedException";
|
|
599
|
-
this.$fault = "server";
|
|
600
|
-
Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
|
|
601
|
-
this.Type = opts.Type;
|
|
602
|
-
this.Message = opts.Message;
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
exports.KMSAccessDeniedException = KMSAccessDeniedException;
|
|
606
|
-
class KMSDisabledException extends LambdaServiceException_1.LambdaServiceException {
|
|
607
|
-
constructor(opts) {
|
|
608
|
-
super({
|
|
609
|
-
name: "KMSDisabledException",
|
|
610
|
-
$fault: "server",
|
|
611
|
-
...opts,
|
|
612
|
-
});
|
|
613
|
-
this.name = "KMSDisabledException";
|
|
614
|
-
this.$fault = "server";
|
|
615
|
-
Object.setPrototypeOf(this, KMSDisabledException.prototype);
|
|
616
|
-
this.Type = opts.Type;
|
|
617
|
-
this.Message = opts.Message;
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
exports.KMSDisabledException = KMSDisabledException;
|
|
621
|
-
class KMSInvalidStateException extends LambdaServiceException_1.LambdaServiceException {
|
|
622
|
-
constructor(opts) {
|
|
623
|
-
super({
|
|
624
|
-
name: "KMSInvalidStateException",
|
|
625
|
-
$fault: "server",
|
|
626
|
-
...opts,
|
|
627
|
-
});
|
|
628
|
-
this.name = "KMSInvalidStateException";
|
|
629
|
-
this.$fault = "server";
|
|
630
|
-
Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
|
|
631
|
-
this.Type = opts.Type;
|
|
632
|
-
this.Message = opts.Message;
|
|
633
|
-
}
|
|
634
|
-
}
|
|
635
|
-
exports.KMSInvalidStateException = KMSInvalidStateException;
|
|
636
|
-
class KMSNotFoundException extends LambdaServiceException_1.LambdaServiceException {
|
|
637
|
-
constructor(opts) {
|
|
638
|
-
super({
|
|
639
|
-
name: "KMSNotFoundException",
|
|
640
|
-
$fault: "server",
|
|
641
|
-
...opts,
|
|
642
|
-
});
|
|
643
|
-
this.name = "KMSNotFoundException";
|
|
644
|
-
this.$fault = "server";
|
|
645
|
-
Object.setPrototypeOf(this, KMSNotFoundException.prototype);
|
|
646
|
-
this.Type = opts.Type;
|
|
647
|
-
this.Message = opts.Message;
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
exports.KMSNotFoundException = KMSNotFoundException;
|
|
651
|
-
class RecursiveInvocationException extends LambdaServiceException_1.LambdaServiceException {
|
|
652
|
-
constructor(opts) {
|
|
653
|
-
super({
|
|
654
|
-
name: "RecursiveInvocationException",
|
|
655
|
-
$fault: "client",
|
|
656
|
-
...opts,
|
|
657
|
-
});
|
|
658
|
-
this.name = "RecursiveInvocationException";
|
|
659
|
-
this.$fault = "client";
|
|
660
|
-
Object.setPrototypeOf(this, RecursiveInvocationException.prototype);
|
|
661
|
-
this.Type = opts.Type;
|
|
662
|
-
this.Message = opts.Message;
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
exports.RecursiveInvocationException = RecursiveInvocationException;
|
|
666
|
-
class RequestTooLargeException extends LambdaServiceException_1.LambdaServiceException {
|
|
667
|
-
constructor(opts) {
|
|
668
|
-
super({
|
|
669
|
-
name: "RequestTooLargeException",
|
|
670
|
-
$fault: "client",
|
|
671
|
-
...opts,
|
|
672
|
-
});
|
|
673
|
-
this.name = "RequestTooLargeException";
|
|
674
|
-
this.$fault = "client";
|
|
675
|
-
Object.setPrototypeOf(this, RequestTooLargeException.prototype);
|
|
676
|
-
this.Type = opts.Type;
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
exports.RequestTooLargeException = RequestTooLargeException;
|
|
680
|
-
class ResourceNotReadyException extends LambdaServiceException_1.LambdaServiceException {
|
|
681
|
-
constructor(opts) {
|
|
682
|
-
super({
|
|
683
|
-
name: "ResourceNotReadyException",
|
|
684
|
-
$fault: "server",
|
|
685
|
-
...opts,
|
|
686
|
-
});
|
|
687
|
-
this.name = "ResourceNotReadyException";
|
|
688
|
-
this.$fault = "server";
|
|
689
|
-
Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
|
|
690
|
-
this.Type = opts.Type;
|
|
691
|
-
}
|
|
692
|
-
}
|
|
693
|
-
exports.ResourceNotReadyException = ResourceNotReadyException;
|
|
694
|
-
class SnapStartException extends LambdaServiceException_1.LambdaServiceException {
|
|
695
|
-
constructor(opts) {
|
|
696
|
-
super({
|
|
697
|
-
name: "SnapStartException",
|
|
698
|
-
$fault: "client",
|
|
699
|
-
...opts,
|
|
700
|
-
});
|
|
701
|
-
this.name = "SnapStartException";
|
|
702
|
-
this.$fault = "client";
|
|
703
|
-
Object.setPrototypeOf(this, SnapStartException.prototype);
|
|
704
|
-
this.Type = opts.Type;
|
|
705
|
-
this.Message = opts.Message;
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
exports.SnapStartException = SnapStartException;
|
|
709
|
-
class SnapStartNotReadyException extends LambdaServiceException_1.LambdaServiceException {
|
|
710
|
-
constructor(opts) {
|
|
711
|
-
super({
|
|
712
|
-
name: "SnapStartNotReadyException",
|
|
713
|
-
$fault: "client",
|
|
714
|
-
...opts,
|
|
715
|
-
});
|
|
716
|
-
this.name = "SnapStartNotReadyException";
|
|
717
|
-
this.$fault = "client";
|
|
718
|
-
Object.setPrototypeOf(this, SnapStartNotReadyException.prototype);
|
|
719
|
-
this.Type = opts.Type;
|
|
720
|
-
this.Message = opts.Message;
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
exports.SnapStartNotReadyException = SnapStartNotReadyException;
|
|
724
|
-
class SnapStartTimeoutException extends LambdaServiceException_1.LambdaServiceException {
|
|
725
|
-
constructor(opts) {
|
|
726
|
-
super({
|
|
727
|
-
name: "SnapStartTimeoutException",
|
|
728
|
-
$fault: "client",
|
|
729
|
-
...opts,
|
|
730
|
-
});
|
|
731
|
-
this.name = "SnapStartTimeoutException";
|
|
732
|
-
this.$fault = "client";
|
|
733
|
-
Object.setPrototypeOf(this, SnapStartTimeoutException.prototype);
|
|
734
|
-
this.Type = opts.Type;
|
|
735
|
-
this.Message = opts.Message;
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
exports.SnapStartTimeoutException = SnapStartTimeoutException;
|
|
739
|
-
class SubnetIPAddressLimitReachedException extends LambdaServiceException_1.LambdaServiceException {
|
|
740
|
-
constructor(opts) {
|
|
741
|
-
super({
|
|
742
|
-
name: "SubnetIPAddressLimitReachedException",
|
|
743
|
-
$fault: "server",
|
|
744
|
-
...opts,
|
|
745
|
-
});
|
|
746
|
-
this.name = "SubnetIPAddressLimitReachedException";
|
|
747
|
-
this.$fault = "server";
|
|
748
|
-
Object.setPrototypeOf(this, SubnetIPAddressLimitReachedException.prototype);
|
|
749
|
-
this.Type = opts.Type;
|
|
750
|
-
this.Message = opts.Message;
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
exports.SubnetIPAddressLimitReachedException = SubnetIPAddressLimitReachedException;
|
|
754
|
-
class UnsupportedMediaTypeException extends LambdaServiceException_1.LambdaServiceException {
|
|
755
|
-
constructor(opts) {
|
|
756
|
-
super({
|
|
757
|
-
name: "UnsupportedMediaTypeException",
|
|
758
|
-
$fault: "client",
|
|
759
|
-
...opts,
|
|
760
|
-
});
|
|
761
|
-
this.name = "UnsupportedMediaTypeException";
|
|
762
|
-
this.$fault = "client";
|
|
763
|
-
Object.setPrototypeOf(this, UnsupportedMediaTypeException.prototype);
|
|
764
|
-
this.Type = opts.Type;
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
exports.UnsupportedMediaTypeException = UnsupportedMediaTypeException;
|
|
768
|
-
exports.ResponseStreamingInvocationType = {
|
|
769
|
-
DryRun: "DryRun",
|
|
770
|
-
RequestResponse: "RequestResponse",
|
|
771
|
-
};
|
|
772
|
-
var InvokeWithResponseStreamResponseEvent;
|
|
773
|
-
(function (InvokeWithResponseStreamResponseEvent) {
|
|
774
|
-
InvokeWithResponseStreamResponseEvent.visit = (value, visitor) => {
|
|
775
|
-
if (value.PayloadChunk !== undefined)
|
|
776
|
-
return visitor.PayloadChunk(value.PayloadChunk);
|
|
777
|
-
if (value.InvokeComplete !== undefined)
|
|
778
|
-
return visitor.InvokeComplete(value.InvokeComplete);
|
|
779
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
780
|
-
};
|
|
781
|
-
})(InvokeWithResponseStreamResponseEvent = exports.InvokeWithResponseStreamResponseEvent || (exports.InvokeWithResponseStreamResponseEvent = {}));
|
|
782
|
-
exports.FunctionVersion = {
|
|
783
|
-
ALL: "ALL",
|
|
784
|
-
};
|
|
785
|
-
const FunctionCodeFilterSensitiveLog = (obj) => ({
|
|
786
|
-
...obj,
|
|
787
|
-
...(obj.ZipFile && { ZipFile: smithy_client_1.SENSITIVE_STRING }),
|
|
788
|
-
});
|
|
789
|
-
exports.FunctionCodeFilterSensitiveLog = FunctionCodeFilterSensitiveLog;
|
|
790
|
-
const EnvironmentFilterSensitiveLog = (obj) => ({
|
|
791
|
-
...obj,
|
|
792
|
-
...(obj.Variables && { Variables: smithy_client_1.SENSITIVE_STRING }),
|
|
793
|
-
});
|
|
794
|
-
exports.EnvironmentFilterSensitiveLog = EnvironmentFilterSensitiveLog;
|
|
795
|
-
const CreateFunctionRequestFilterSensitiveLog = (obj) => ({
|
|
796
|
-
...obj,
|
|
797
|
-
...(obj.Code && { Code: (0, exports.FunctionCodeFilterSensitiveLog)(obj.Code) }),
|
|
798
|
-
...(obj.Environment && { Environment: (0, exports.EnvironmentFilterSensitiveLog)(obj.Environment) }),
|
|
799
|
-
});
|
|
800
|
-
exports.CreateFunctionRequestFilterSensitiveLog = CreateFunctionRequestFilterSensitiveLog;
|
|
801
|
-
const EnvironmentErrorFilterSensitiveLog = (obj) => ({
|
|
802
|
-
...obj,
|
|
803
|
-
...(obj.Message && { Message: smithy_client_1.SENSITIVE_STRING }),
|
|
804
|
-
});
|
|
805
|
-
exports.EnvironmentErrorFilterSensitiveLog = EnvironmentErrorFilterSensitiveLog;
|
|
806
|
-
const EnvironmentResponseFilterSensitiveLog = (obj) => ({
|
|
807
|
-
...obj,
|
|
808
|
-
...(obj.Variables && { Variables: smithy_client_1.SENSITIVE_STRING }),
|
|
809
|
-
...(obj.Error && { Error: (0, exports.EnvironmentErrorFilterSensitiveLog)(obj.Error) }),
|
|
810
|
-
});
|
|
811
|
-
exports.EnvironmentResponseFilterSensitiveLog = EnvironmentResponseFilterSensitiveLog;
|
|
812
|
-
const ImageConfigErrorFilterSensitiveLog = (obj) => ({
|
|
813
|
-
...obj,
|
|
814
|
-
...(obj.Message && { Message: smithy_client_1.SENSITIVE_STRING }),
|
|
815
|
-
});
|
|
816
|
-
exports.ImageConfigErrorFilterSensitiveLog = ImageConfigErrorFilterSensitiveLog;
|
|
817
|
-
const ImageConfigResponseFilterSensitiveLog = (obj) => ({
|
|
818
|
-
...obj,
|
|
819
|
-
...(obj.Error && { Error: (0, exports.ImageConfigErrorFilterSensitiveLog)(obj.Error) }),
|
|
820
|
-
});
|
|
821
|
-
exports.ImageConfigResponseFilterSensitiveLog = ImageConfigResponseFilterSensitiveLog;
|
|
822
|
-
const RuntimeVersionErrorFilterSensitiveLog = (obj) => ({
|
|
823
|
-
...obj,
|
|
824
|
-
...(obj.Message && { Message: smithy_client_1.SENSITIVE_STRING }),
|
|
825
|
-
});
|
|
826
|
-
exports.RuntimeVersionErrorFilterSensitiveLog = RuntimeVersionErrorFilterSensitiveLog;
|
|
827
|
-
const RuntimeVersionConfigFilterSensitiveLog = (obj) => ({
|
|
828
|
-
...obj,
|
|
829
|
-
...(obj.Error && { Error: (0, exports.RuntimeVersionErrorFilterSensitiveLog)(obj.Error) }),
|
|
830
|
-
});
|
|
831
|
-
exports.RuntimeVersionConfigFilterSensitiveLog = RuntimeVersionConfigFilterSensitiveLog;
|
|
832
|
-
const FunctionConfigurationFilterSensitiveLog = (obj) => ({
|
|
833
|
-
...obj,
|
|
834
|
-
...(obj.Environment && { Environment: (0, exports.EnvironmentResponseFilterSensitiveLog)(obj.Environment) }),
|
|
835
|
-
...(obj.ImageConfigResponse && {
|
|
836
|
-
ImageConfigResponse: (0, exports.ImageConfigResponseFilterSensitiveLog)(obj.ImageConfigResponse),
|
|
837
|
-
}),
|
|
838
|
-
...(obj.RuntimeVersionConfig && {
|
|
839
|
-
RuntimeVersionConfig: (0, exports.RuntimeVersionConfigFilterSensitiveLog)(obj.RuntimeVersionConfig),
|
|
840
|
-
}),
|
|
841
|
-
});
|
|
842
|
-
exports.FunctionConfigurationFilterSensitiveLog = FunctionConfigurationFilterSensitiveLog;
|
|
843
|
-
const GetFunctionResponseFilterSensitiveLog = (obj) => ({
|
|
844
|
-
...obj,
|
|
845
|
-
...(obj.Configuration && { Configuration: (0, exports.FunctionConfigurationFilterSensitiveLog)(obj.Configuration) }),
|
|
846
|
-
});
|
|
847
|
-
exports.GetFunctionResponseFilterSensitiveLog = GetFunctionResponseFilterSensitiveLog;
|
|
848
|
-
const InvocationRequestFilterSensitiveLog = (obj) => ({
|
|
849
|
-
...obj,
|
|
850
|
-
...(obj.Payload && { Payload: smithy_client_1.SENSITIVE_STRING }),
|
|
851
|
-
});
|
|
852
|
-
exports.InvocationRequestFilterSensitiveLog = InvocationRequestFilterSensitiveLog;
|
|
853
|
-
const InvocationResponseFilterSensitiveLog = (obj) => ({
|
|
854
|
-
...obj,
|
|
855
|
-
...(obj.Payload && { Payload: smithy_client_1.SENSITIVE_STRING }),
|
|
856
|
-
});
|
|
857
|
-
exports.InvocationResponseFilterSensitiveLog = InvocationResponseFilterSensitiveLog;
|
|
858
|
-
const InvokeAsyncRequestFilterSensitiveLog = (obj) => ({
|
|
859
|
-
...obj,
|
|
860
|
-
});
|
|
861
|
-
exports.InvokeAsyncRequestFilterSensitiveLog = InvokeAsyncRequestFilterSensitiveLog;
|
|
862
|
-
const InvokeWithResponseStreamRequestFilterSensitiveLog = (obj) => ({
|
|
863
|
-
...obj,
|
|
864
|
-
...(obj.Payload && { Payload: smithy_client_1.SENSITIVE_STRING }),
|
|
865
|
-
});
|
|
866
|
-
exports.InvokeWithResponseStreamRequestFilterSensitiveLog = InvokeWithResponseStreamRequestFilterSensitiveLog;
|
|
867
|
-
const InvokeResponseStreamUpdateFilterSensitiveLog = (obj) => ({
|
|
868
|
-
...obj,
|
|
869
|
-
...(obj.Payload && { Payload: smithy_client_1.SENSITIVE_STRING }),
|
|
870
|
-
});
|
|
871
|
-
exports.InvokeResponseStreamUpdateFilterSensitiveLog = InvokeResponseStreamUpdateFilterSensitiveLog;
|
|
872
|
-
const InvokeWithResponseStreamResponseEventFilterSensitiveLog = (obj) => {
|
|
873
|
-
if (obj.PayloadChunk !== undefined)
|
|
874
|
-
return { PayloadChunk: (0, exports.InvokeResponseStreamUpdateFilterSensitiveLog)(obj.PayloadChunk) };
|
|
875
|
-
if (obj.InvokeComplete !== undefined)
|
|
876
|
-
return { InvokeComplete: obj.InvokeComplete };
|
|
877
|
-
if (obj.$unknown !== undefined)
|
|
878
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
879
|
-
};
|
|
880
|
-
exports.InvokeWithResponseStreamResponseEventFilterSensitiveLog = InvokeWithResponseStreamResponseEventFilterSensitiveLog;
|
|
881
|
-
const InvokeWithResponseStreamResponseFilterSensitiveLog = (obj) => ({
|
|
882
|
-
...obj,
|
|
883
|
-
...(obj.EventStream && { EventStream: "STREAMING_CONTENT" }),
|
|
884
|
-
});
|
|
885
|
-
exports.InvokeWithResponseStreamResponseFilterSensitiveLog = InvokeWithResponseStreamResponseFilterSensitiveLog;
|
|
886
|
-
const ListFunctionsResponseFilterSensitiveLog = (obj) => ({
|
|
887
|
-
...obj,
|
|
888
|
-
...(obj.Functions && { Functions: obj.Functions.map((item) => (0, exports.FunctionConfigurationFilterSensitiveLog)(item)) }),
|
|
889
|
-
});
|
|
890
|
-
exports.ListFunctionsResponseFilterSensitiveLog = ListFunctionsResponseFilterSensitiveLog;
|
|
891
|
-
const ListVersionsByFunctionResponseFilterSensitiveLog = (obj) => ({
|
|
892
|
-
...obj,
|
|
893
|
-
...(obj.Versions && { Versions: obj.Versions.map((item) => (0, exports.FunctionConfigurationFilterSensitiveLog)(item)) }),
|
|
894
|
-
});
|
|
895
|
-
exports.ListVersionsByFunctionResponseFilterSensitiveLog = ListVersionsByFunctionResponseFilterSensitiveLog;
|
|
896
|
-
const LayerVersionContentInputFilterSensitiveLog = (obj) => ({
|
|
897
|
-
...obj,
|
|
898
|
-
...(obj.ZipFile && { ZipFile: smithy_client_1.SENSITIVE_STRING }),
|
|
899
|
-
});
|
|
900
|
-
exports.LayerVersionContentInputFilterSensitiveLog = LayerVersionContentInputFilterSensitiveLog;
|
|
901
|
-
const PublishLayerVersionRequestFilterSensitiveLog = (obj) => ({
|
|
902
|
-
...obj,
|
|
903
|
-
...(obj.Content && { Content: (0, exports.LayerVersionContentInputFilterSensitiveLog)(obj.Content) }),
|
|
904
|
-
});
|
|
905
|
-
exports.PublishLayerVersionRequestFilterSensitiveLog = PublishLayerVersionRequestFilterSensitiveLog;
|
|
906
|
-
const UpdateFunctionCodeRequestFilterSensitiveLog = (obj) => ({
|
|
907
|
-
...obj,
|
|
908
|
-
...(obj.ZipFile && { ZipFile: smithy_client_1.SENSITIVE_STRING }),
|
|
909
|
-
});
|
|
910
|
-
exports.UpdateFunctionCodeRequestFilterSensitiveLog = UpdateFunctionCodeRequestFilterSensitiveLog;
|
|
911
|
-
const UpdateFunctionConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
912
|
-
...obj,
|
|
913
|
-
...(obj.Environment && { Environment: (0, exports.EnvironmentFilterSensitiveLog)(obj.Environment) }),
|
|
914
|
-
});
|
|
915
|
-
exports.UpdateFunctionConfigurationRequestFilterSensitiveLog = UpdateFunctionConfigurationRequestFilterSensitiveLog;
|
|
1
|
+
module.exports = require("../index.js");
|