@aws-sdk/client-lambda 3.1168.0 → 3.1170.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/index.js +91 -11
- package/dist-es/models/enums.js +13 -0
- package/dist-es/models/errors.js +30 -0
- package/dist-es/schemas/schemas_0.js +41 -11
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +2 -2
- package/dist-types/commands/CreateFunctionCommand.d.ts +18 -4
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +1 -1
- package/dist-types/commands/GetCapacityProviderCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionCommand.d.ts +10 -3
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +10 -3
- package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -1
- package/dist-types/commands/GetLayerVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
- package/dist-types/commands/InvokeCommand.d.ts +6 -0
- package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +6 -0
- package/dist-types/commands/ListCapacityProvidersCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionsCommand.d.ts +10 -3
- 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 +10 -3
- package/dist-types/commands/PublishLayerVersionCommand.d.ts +2 -2
- package/dist-types/commands/PublishVersionCommand.d.ts +10 -3
- package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +3 -0
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +2 -2
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +10 -3
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +18 -4
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/errors.d.ts +36 -0
- package/dist-types/models/models_0.d.ts +65 -8
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +12 -0
- package/dist-types/ts3.4/models/errors.d.ts +14 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1169.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -845,6 +845,36 @@ class ResourceNotReadyException extends LambdaServiceException {
|
|
|
845
845
|
this.Type = opts.Type;
|
|
846
846
|
}
|
|
847
847
|
}
|
|
848
|
+
class RuntimeAliasDeletedException extends LambdaServiceException {
|
|
849
|
+
static shapeId = "com.amazonaws.lambda#RuntimeAliasDeletedException";
|
|
850
|
+
name = "RuntimeAliasDeletedException";
|
|
851
|
+
$fault = "client";
|
|
852
|
+
Type;
|
|
853
|
+
constructor(opts) {
|
|
854
|
+
super({
|
|
855
|
+
name: "RuntimeAliasDeletedException",
|
|
856
|
+
$fault: "client",
|
|
857
|
+
...opts,
|
|
858
|
+
});
|
|
859
|
+
Object.setPrototypeOf(this, RuntimeAliasDeletedException.prototype);
|
|
860
|
+
this.Type = opts.Type;
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
class RuntimeVersionDeletedException extends LambdaServiceException {
|
|
864
|
+
static shapeId = "com.amazonaws.lambda#RuntimeVersionDeletedException";
|
|
865
|
+
name = "RuntimeVersionDeletedException";
|
|
866
|
+
$fault = "client";
|
|
867
|
+
Type;
|
|
868
|
+
constructor(opts) {
|
|
869
|
+
super({
|
|
870
|
+
name: "RuntimeVersionDeletedException",
|
|
871
|
+
$fault: "client",
|
|
872
|
+
...opts,
|
|
873
|
+
});
|
|
874
|
+
Object.setPrototypeOf(this, RuntimeVersionDeletedException.prototype);
|
|
875
|
+
this.Type = opts.Type;
|
|
876
|
+
}
|
|
877
|
+
}
|
|
848
878
|
class S3FilesMountConnectivityException extends LambdaServiceException {
|
|
849
879
|
static shapeId = "com.amazonaws.lambda#S3FilesMountConnectivityException";
|
|
850
880
|
name = "S3FilesMountConnectivityException";
|
|
@@ -1063,9 +1093,10 @@ class CallbackTimeoutException extends LambdaServiceException {
|
|
|
1063
1093
|
|
|
1064
1094
|
const _A = "Action";
|
|
1065
1095
|
const _AA = "AliasArn";
|
|
1066
|
-
const _AC = "
|
|
1096
|
+
const _AC = "AcceleratorConfig";
|
|
1067
1097
|
const _ACc = "AccessConfigs";
|
|
1068
|
-
const _ACl = "
|
|
1098
|
+
const _ACl = "AliasConfiguration";
|
|
1099
|
+
const _ACll = "AllowCredentials";
|
|
1069
1100
|
const _AFSC = "AppliedFunctionScalingConfig";
|
|
1070
1101
|
const _AH = "AllowHeaders";
|
|
1071
1102
|
const _AIT = "AllowedInstanceTypes";
|
|
@@ -1078,6 +1109,7 @@ const _ALVPRd = "AddLayerVersionPermissionResponse";
|
|
|
1078
1109
|
const _ALl = "AliasList";
|
|
1079
1110
|
const _AM = "AllowMethods";
|
|
1080
1111
|
const _AMKESC = "AmazonManagedKafkaEventSourceConfig";
|
|
1112
|
+
const _AMS = "AcceleratorMemorySize";
|
|
1081
1113
|
const _AO = "AllowOrigins";
|
|
1082
1114
|
const _AOp = "ApplyOn";
|
|
1083
1115
|
const _AP = "AllowedPublishers";
|
|
@@ -1310,6 +1342,7 @@ const _FEICu = "FunctionEventInvokeConfigs";
|
|
|
1310
1342
|
const _FL = "FilterList";
|
|
1311
1343
|
const _FLu = "FunctionList";
|
|
1312
1344
|
const _FN = "FunctionName";
|
|
1345
|
+
const _FRC = "FunctionRuntimeConfig";
|
|
1313
1346
|
const _FRT = "FunctionResponseTypes";
|
|
1314
1347
|
const _FS = "FunctionState";
|
|
1315
1348
|
const _FSC = "FileSystemConfigs";
|
|
@@ -1609,11 +1642,15 @@ const _Q = "Qualifier";
|
|
|
1609
1642
|
const _Qu = "Queues";
|
|
1610
1643
|
const _R = "Reason";
|
|
1611
1644
|
const _RA = "Retry-After";
|
|
1645
|
+
const _RADE = "RuntimeAliasDeletedException";
|
|
1612
1646
|
const _RAe = "ResourceArn";
|
|
1647
|
+
const _RAu = "RuntimeArn";
|
|
1648
|
+
const _RAun = "RuntimeAlias";
|
|
1613
1649
|
const _RC = "RoutingConfig";
|
|
1614
1650
|
const _RCE = "ResourceConflictException";
|
|
1615
1651
|
const _RCEe = "ReservedConcurrentExecutions";
|
|
1616
1652
|
const _RCe = "ReplayChildren";
|
|
1653
|
+
const _RCu = "RuntimeConfig";
|
|
1617
1654
|
const _RD = "RetryDetails";
|
|
1618
1655
|
const _RFSC = "RequestedFunctionScalingConfig";
|
|
1619
1656
|
const _RI = "RevisionId";
|
|
@@ -1637,6 +1674,7 @@ const _RT = "RepositoryType";
|
|
|
1637
1674
|
const _RTLE = "RequestTooLargeException";
|
|
1638
1675
|
const _RVA = "RuntimeVersionArn";
|
|
1639
1676
|
const _RVC = "RuntimeVersionConfig";
|
|
1677
|
+
const _RVDE = "RuntimeVersionDeletedException";
|
|
1640
1678
|
const _RVE = "RuntimeVersionError";
|
|
1641
1679
|
const _Re = "Result";
|
|
1642
1680
|
const _Res = "Resource";
|
|
@@ -2073,6 +2111,18 @@ var ResourceNotReadyException$ = [-3, n0, _RNRE,
|
|
|
2073
2111
|
[0, 0]
|
|
2074
2112
|
];
|
|
2075
2113
|
n0_registry.registerError(ResourceNotReadyException$, ResourceNotReadyException);
|
|
2114
|
+
var RuntimeAliasDeletedException$ = [-3, n0, _RADE,
|
|
2115
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
2116
|
+
[_T, _m],
|
|
2117
|
+
[0, 0]
|
|
2118
|
+
];
|
|
2119
|
+
n0_registry.registerError(RuntimeAliasDeletedException$, RuntimeAliasDeletedException);
|
|
2120
|
+
var RuntimeVersionDeletedException$ = [-3, n0, _RVDE,
|
|
2121
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
2122
|
+
[_T, _m],
|
|
2123
|
+
[0, 0]
|
|
2124
|
+
];
|
|
2125
|
+
n0_registry.registerError(RuntimeVersionDeletedException$, RuntimeVersionDeletedException);
|
|
2076
2126
|
var S3FilesMountConnectivityException$ = [-3, n0, _SFMCE,
|
|
2077
2127
|
{ [_e]: _c, [_hE]: 408 },
|
|
2078
2128
|
[_T, _M],
|
|
@@ -2168,6 +2218,11 @@ var OperationPayload = [0, n0, _OP, 8, 0];
|
|
|
2168
2218
|
var OutputPayload = [0, n0, _OPu, 8, 0];
|
|
2169
2219
|
var SensitiveString = [0, n0, _SS, 8, 0];
|
|
2170
2220
|
var StackTraceEntry = [0, n0, _STE, 8, 0];
|
|
2221
|
+
var AcceleratorConfig$ = [3, n0, _AC,
|
|
2222
|
+
0,
|
|
2223
|
+
[_AMS],
|
|
2224
|
+
[1], 1
|
|
2225
|
+
];
|
|
2171
2226
|
var AccountLimit$ = [3, n0, _AL,
|
|
2172
2227
|
0,
|
|
2173
2228
|
[_TCS, _CSU, _CSZ, _CE, _UCE],
|
|
@@ -2198,7 +2253,7 @@ var AddPermissionResponse$ = [3, n0, _APRd,
|
|
|
2198
2253
|
[_S],
|
|
2199
2254
|
[0]
|
|
2200
2255
|
];
|
|
2201
|
-
var AliasConfiguration$ = [3, n0,
|
|
2256
|
+
var AliasConfiguration$ = [3, n0, _ACl,
|
|
2202
2257
|
0,
|
|
2203
2258
|
[_AA, _N, _FV, _D, _RC, _RI],
|
|
2204
2259
|
[0, 0, 0, 0, () => AliasRoutingConfiguration$, 0]
|
|
@@ -2375,7 +2430,7 @@ var ContextSucceededDetails$ = [3, n0, _CSDon,
|
|
|
2375
2430
|
];
|
|
2376
2431
|
var Cors$ = [3, n0, _Co,
|
|
2377
2432
|
0,
|
|
2378
|
-
[
|
|
2433
|
+
[_ACll, _AH, _AM, _AO, _EH, _MA],
|
|
2379
2434
|
[2, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 1]
|
|
2380
2435
|
];
|
|
2381
2436
|
var CreateAliasRequest$ = [3, n0, _CAR,
|
|
@@ -2410,8 +2465,8 @@ var CreateEventSourceMappingRequest$ = [3, n0, _CESMR,
|
|
|
2410
2465
|
];
|
|
2411
2466
|
var CreateFunctionRequest$ = [3, n0, _CFR,
|
|
2412
2467
|
0,
|
|
2413
|
-
[_FN, _Ro, _Cod, _Ru, _H, _D, _Ti, _MS, _Pu, _PTu, _VC, _PTa, _DLC, _Env, _KMSKA, _TCr, _Ta, _L, _FSC, _CSCA, _IC, _Ar, _ES, _SSn, _LC, _TCe, _CPC, _DCu],
|
|
2414
|
-
[0, 0, [() => FunctionCode$, 0], 0, 0, 0, 1, 1, 2, 0, () => VpcConfig$, 0, () => DeadLetterConfig$, [() => Environment$, 0], 0, () => TracingConfig$, 128 | 0, 64 | 0, () => FileSystemConfigList, 0, () => ImageConfig$, 64 | 0, () => EphemeralStorage$, () => SnapStart$, () => LoggingConfig$, () => TenancyConfig$, () => CapacityProviderConfig$, () => DurableConfig$], 3
|
|
2468
|
+
[_FN, _Ro, _Cod, _Ru, _H, _D, _Ti, _MS, _Pu, _PTu, _VC, _PTa, _DLC, _Env, _KMSKA, _TCr, _Ta, _L, _FSC, _CSCA, _IC, _Ar, _ES, _SSn, _LC, _TCe, _CPC, _DCu, _RCu, _AC],
|
|
2469
|
+
[0, 0, [() => FunctionCode$, 0], 0, 0, 0, 1, 1, 2, 0, () => VpcConfig$, 0, () => DeadLetterConfig$, [() => Environment$, 0], 0, () => TracingConfig$, 128 | 0, 64 | 0, () => FileSystemConfigList, 0, () => ImageConfig$, 64 | 0, () => EphemeralStorage$, () => SnapStart$, () => LoggingConfig$, () => TenancyConfig$, () => CapacityProviderConfig$, () => DurableConfig$, () => FunctionRuntimeConfig$, () => AcceleratorConfig$], 3
|
|
2415
2470
|
];
|
|
2416
2471
|
var CreateFunctionUrlConfigRequest$ = [3, n0, _CFUCR,
|
|
2417
2472
|
0,
|
|
@@ -2650,14 +2705,19 @@ var FunctionCodeLocationError$ = [3, n0, _FCLE,
|
|
|
2650
2705
|
];
|
|
2651
2706
|
var FunctionConfiguration$ = [3, n0, _FCun,
|
|
2652
2707
|
0,
|
|
2653
|
-
[_FN, _FA, _Ru, _Ro, _H, _CS, _D, _Ti, _MS, _LM, _CSo, _Ve, _VC, _DLC, _Env, _KMSKA, _TCr, _MAa, _RI, _L, _St, _SR, _SRCt, _LUS, _LUSR, _LUSRC, _FSC, _SPVAi, _SJA, _PTa, _ICR, _Ar, _ES, _SSn, _RVC, _LC, _TCe, _CPC, _CSon, _DCu],
|
|
2654
|
-
[0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, () => VpcConfigResponse$, () => DeadLetterConfig$, [() => EnvironmentResponse$, 0], 0, () => TracingConfigResponse$, 0, 0, () => LayersReferenceList, 0, 0, 0, 0, 0, 0, () => FileSystemConfigList, 0, 0, 0, [() => ImageConfigResponse$, 0], 64 | 0, () => EphemeralStorage$, () => SnapStartResponse$, [() => RuntimeVersionConfig$, 0], () => LoggingConfig$, () => TenancyConfig$, () => CapacityProviderConfig$, 0, () => DurableConfig$]
|
|
2708
|
+
[_FN, _FA, _Ru, _Ro, _H, _CS, _D, _Ti, _MS, _LM, _CSo, _Ve, _VC, _DLC, _Env, _KMSKA, _TCr, _MAa, _RI, _L, _St, _SR, _SRCt, _LUS, _LUSR, _LUSRC, _FSC, _SPVAi, _SJA, _PTa, _ICR, _Ar, _ES, _SSn, _RVC, _LC, _TCe, _CPC, _CSon, _DCu, _RCu, _AC],
|
|
2709
|
+
[0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, () => VpcConfigResponse$, () => DeadLetterConfig$, [() => EnvironmentResponse$, 0], 0, () => TracingConfigResponse$, 0, 0, () => LayersReferenceList, 0, 0, 0, 0, 0, 0, () => FileSystemConfigList, 0, 0, 0, [() => ImageConfigResponse$, 0], 64 | 0, () => EphemeralStorage$, () => SnapStartResponse$, [() => RuntimeVersionConfig$, 0], () => LoggingConfig$, () => TenancyConfig$, () => CapacityProviderConfig$, 0, () => DurableConfig$, () => FunctionRuntimeConfig$, () => AcceleratorConfig$]
|
|
2655
2710
|
];
|
|
2656
2711
|
var FunctionEventInvokeConfig$ = [3, n0, _FEIC,
|
|
2657
2712
|
0,
|
|
2658
2713
|
[_LM, _FA, _MRA, _MEAIS, _DC],
|
|
2659
2714
|
[4, 0, 1, 1, () => DestinationConfig$]
|
|
2660
2715
|
];
|
|
2716
|
+
var FunctionRuntimeConfig$ = [3, n0, _FRC,
|
|
2717
|
+
0,
|
|
2718
|
+
[_RAu, _RAun],
|
|
2719
|
+
[0, 0], 2
|
|
2720
|
+
];
|
|
2661
2721
|
var FunctionScalingConfig$ = [3, n0, _FSCu,
|
|
2662
2722
|
0,
|
|
2663
2723
|
[_MEE, _MEEa],
|
|
@@ -3470,8 +3530,8 @@ var UpdateFunctionCodeRequest$ = [3, n0, _UFCR,
|
|
|
3470
3530
|
];
|
|
3471
3531
|
var UpdateFunctionConfigurationRequest$ = [3, n0, _UFCRp,
|
|
3472
3532
|
0,
|
|
3473
|
-
[_FN, _Ro, _H, _D, _Ti, _MS, _VC, _Env, _Ru, _DLC, _KMSKA, _TCr, _RI, _L, _FSC, _IC, _ES, _SSn, _LC, _CPC, _DCu],
|
|
3474
|
-
[[0, 1], 0, 0, 0, 1, 1, () => VpcConfig$, [() => Environment$, 0], 0, () => DeadLetterConfig$, 0, () => TracingConfig$, 0, 64 | 0, () => FileSystemConfigList, () => ImageConfig$, () => EphemeralStorage$, () => SnapStart$, () => LoggingConfig$, () => CapacityProviderConfig$, () => DurableConfig$], 1
|
|
3533
|
+
[_FN, _Ro, _H, _D, _Ti, _MS, _VC, _Env, _Ru, _DLC, _KMSKA, _TCr, _RI, _L, _FSC, _IC, _ES, _SSn, _LC, _CPC, _DCu, _RCu, _AC],
|
|
3534
|
+
[[0, 1], 0, 0, 0, 1, 1, () => VpcConfig$, [() => Environment$, 0], 0, () => DeadLetterConfig$, 0, () => TracingConfig$, 0, 64 | 0, () => FileSystemConfigList, () => ImageConfig$, () => EphemeralStorage$, () => SnapStart$, () => LoggingConfig$, () => CapacityProviderConfig$, () => DurableConfig$, () => FunctionRuntimeConfig$, () => AcceleratorConfig$], 1
|
|
3475
3535
|
];
|
|
3476
3536
|
var UpdateFunctionEventInvokeConfigRequest$ = [3, n0, _UFEICR,
|
|
3477
3537
|
0,
|
|
@@ -4711,6 +4771,15 @@ class Lambda extends LambdaClient {
|
|
|
4711
4771
|
}
|
|
4712
4772
|
createAggregatedClient(commands, Lambda, { paginators, waiters });
|
|
4713
4773
|
|
|
4774
|
+
var AcceleratorMemoryGB;
|
|
4775
|
+
(function (AcceleratorMemoryGB) {
|
|
4776
|
+
AcceleratorMemoryGB[AcceleratorMemoryGB["MEMORY_3"] = 3] = "MEMORY_3";
|
|
4777
|
+
AcceleratorMemoryGB[AcceleratorMemoryGB["MEMORY_6"] = 6] = "MEMORY_6";
|
|
4778
|
+
AcceleratorMemoryGB[AcceleratorMemoryGB["MEMORY_12"] = 12] = "MEMORY_12";
|
|
4779
|
+
AcceleratorMemoryGB[AcceleratorMemoryGB["MEMORY_16"] = 16] = "MEMORY_16";
|
|
4780
|
+
AcceleratorMemoryGB[AcceleratorMemoryGB["MEMORY_24"] = 24] = "MEMORY_24";
|
|
4781
|
+
AcceleratorMemoryGB[AcceleratorMemoryGB["MEMORY_48"] = 48] = "MEMORY_48";
|
|
4782
|
+
})(AcceleratorMemoryGB || (AcceleratorMemoryGB = {}));
|
|
4714
4783
|
const ThrottleReason = {
|
|
4715
4784
|
CallerRateLimitExceeded: "CallerRateLimitExceeded",
|
|
4716
4785
|
ConcurrentInvocationLimitExceeded: "ConcurrentInvocationLimitExceeded",
|
|
@@ -4755,6 +4824,7 @@ const CapacityProviderScalingMode = {
|
|
|
4755
4824
|
};
|
|
4756
4825
|
const CapacityProviderPredefinedMetricType = {
|
|
4757
4826
|
LambdaCapacityProviderAverageCPUUtilization: "LambdaCapacityProviderAverageCPUUtilization",
|
|
4827
|
+
LambdaCapacityProviderAverageGPUUtilization: "LambdaCapacityProviderAverageGPUUtilization",
|
|
4758
4828
|
};
|
|
4759
4829
|
const PropagateTagsMode = {
|
|
4760
4830
|
Explicit: "Explicit",
|
|
@@ -4910,6 +4980,7 @@ const FunctionVersionLatestPublished = {
|
|
|
4910
4980
|
LATEST_PUBLISHED: "LATEST_PUBLISHED",
|
|
4911
4981
|
};
|
|
4912
4982
|
const Runtime = {
|
|
4983
|
+
custom: "custom",
|
|
4913
4984
|
dotnet10: "dotnet10",
|
|
4914
4985
|
dotnet6: "dotnet6",
|
|
4915
4986
|
dotnet8: "dotnet8",
|
|
@@ -5000,6 +5071,7 @@ const LastUpdateStatusReasonCode = {
|
|
|
5000
5071
|
FunctionErrorTooManyExtensions: "FunctionError.TooManyExtensions",
|
|
5001
5072
|
ImageAccessDenied: "ImageAccessDenied",
|
|
5002
5073
|
ImageDeleted: "ImageDeleted",
|
|
5074
|
+
IncompatibleAcceleratorInstanceTypes: "IncompatibleAcceleratorInstanceTypes",
|
|
5003
5075
|
InsufficientCapacity: "InsufficientCapacity",
|
|
5004
5076
|
InsufficientRolePermissions: "InsufficientRolePermissions",
|
|
5005
5077
|
InternalError: "InternalError",
|
|
@@ -5045,6 +5117,7 @@ const StateReasonCode = {
|
|
|
5045
5117
|
Idle: "Idle",
|
|
5046
5118
|
ImageAccessDenied: "ImageAccessDenied",
|
|
5047
5119
|
ImageDeleted: "ImageDeleted",
|
|
5120
|
+
IncompatibleAcceleratorInstanceTypes: "IncompatibleAcceleratorInstanceTypes",
|
|
5048
5121
|
InsufficientCapacity: "InsufficientCapacity",
|
|
5049
5122
|
InsufficientRolePermissions: "InsufficientRolePermissions",
|
|
5050
5123
|
InternalError: "InternalError",
|
|
@@ -5097,6 +5170,8 @@ const ProvisionedConcurrencyStatusEnum = {
|
|
|
5097
5170
|
READY: "READY",
|
|
5098
5171
|
};
|
|
5099
5172
|
|
|
5173
|
+
exports.AcceleratorConfig$ = AcceleratorConfig$;
|
|
5174
|
+
exports.AcceleratorMemoryGB = AcceleratorMemoryGB;
|
|
5100
5175
|
exports.AccountLimit$ = AccountLimit$;
|
|
5101
5176
|
exports.AccountUsage$ = AccountUsage$;
|
|
5102
5177
|
exports.AddLayerVersionPermission$ = AddLayerVersionPermission$;
|
|
@@ -5290,6 +5365,7 @@ exports.FunctionCodeLocationError$ = FunctionCodeLocationError$;
|
|
|
5290
5365
|
exports.FunctionConfiguration$ = FunctionConfiguration$;
|
|
5291
5366
|
exports.FunctionEventInvokeConfig$ = FunctionEventInvokeConfig$;
|
|
5292
5367
|
exports.FunctionResponseType = FunctionResponseType;
|
|
5368
|
+
exports.FunctionRuntimeConfig$ = FunctionRuntimeConfig$;
|
|
5293
5369
|
exports.FunctionScalingConfig$ = FunctionScalingConfig$;
|
|
5294
5370
|
exports.FunctionUrlAuthType = FunctionUrlAuthType;
|
|
5295
5371
|
exports.FunctionUrlConfig$ = FunctionUrlConfig$;
|
|
@@ -5595,7 +5671,11 @@ exports.ResourceNotReadyException$ = ResourceNotReadyException$;
|
|
|
5595
5671
|
exports.ResponseStreamingInvocationType = ResponseStreamingInvocationType;
|
|
5596
5672
|
exports.RetryDetails$ = RetryDetails$;
|
|
5597
5673
|
exports.Runtime = Runtime;
|
|
5674
|
+
exports.RuntimeAliasDeletedException = RuntimeAliasDeletedException;
|
|
5675
|
+
exports.RuntimeAliasDeletedException$ = RuntimeAliasDeletedException$;
|
|
5598
5676
|
exports.RuntimeVersionConfig$ = RuntimeVersionConfig$;
|
|
5677
|
+
exports.RuntimeVersionDeletedException = RuntimeVersionDeletedException;
|
|
5678
|
+
exports.RuntimeVersionDeletedException$ = RuntimeVersionDeletedException$;
|
|
5599
5679
|
exports.RuntimeVersionError$ = RuntimeVersionError$;
|
|
5600
5680
|
exports.S3FilesConfig$ = S3FilesConfig$;
|
|
5601
5681
|
exports.S3FilesMountConnectivityException = S3FilesMountConnectivityException;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
export var AcceleratorMemoryGB;
|
|
2
|
+
(function (AcceleratorMemoryGB) {
|
|
3
|
+
AcceleratorMemoryGB[AcceleratorMemoryGB["MEMORY_3"] = 3] = "MEMORY_3";
|
|
4
|
+
AcceleratorMemoryGB[AcceleratorMemoryGB["MEMORY_6"] = 6] = "MEMORY_6";
|
|
5
|
+
AcceleratorMemoryGB[AcceleratorMemoryGB["MEMORY_12"] = 12] = "MEMORY_12";
|
|
6
|
+
AcceleratorMemoryGB[AcceleratorMemoryGB["MEMORY_16"] = 16] = "MEMORY_16";
|
|
7
|
+
AcceleratorMemoryGB[AcceleratorMemoryGB["MEMORY_24"] = 24] = "MEMORY_24";
|
|
8
|
+
AcceleratorMemoryGB[AcceleratorMemoryGB["MEMORY_48"] = 48] = "MEMORY_48";
|
|
9
|
+
})(AcceleratorMemoryGB || (AcceleratorMemoryGB = {}));
|
|
1
10
|
export const ThrottleReason = {
|
|
2
11
|
CallerRateLimitExceeded: "CallerRateLimitExceeded",
|
|
3
12
|
ConcurrentInvocationLimitExceeded: "ConcurrentInvocationLimitExceeded",
|
|
@@ -42,6 +51,7 @@ export const CapacityProviderScalingMode = {
|
|
|
42
51
|
};
|
|
43
52
|
export const CapacityProviderPredefinedMetricType = {
|
|
44
53
|
LambdaCapacityProviderAverageCPUUtilization: "LambdaCapacityProviderAverageCPUUtilization",
|
|
54
|
+
LambdaCapacityProviderAverageGPUUtilization: "LambdaCapacityProviderAverageGPUUtilization",
|
|
45
55
|
};
|
|
46
56
|
export const PropagateTagsMode = {
|
|
47
57
|
Explicit: "Explicit",
|
|
@@ -197,6 +207,7 @@ export const FunctionVersionLatestPublished = {
|
|
|
197
207
|
LATEST_PUBLISHED: "LATEST_PUBLISHED",
|
|
198
208
|
};
|
|
199
209
|
export const Runtime = {
|
|
210
|
+
custom: "custom",
|
|
200
211
|
dotnet10: "dotnet10",
|
|
201
212
|
dotnet6: "dotnet6",
|
|
202
213
|
dotnet8: "dotnet8",
|
|
@@ -287,6 +298,7 @@ export const LastUpdateStatusReasonCode = {
|
|
|
287
298
|
FunctionErrorTooManyExtensions: "FunctionError.TooManyExtensions",
|
|
288
299
|
ImageAccessDenied: "ImageAccessDenied",
|
|
289
300
|
ImageDeleted: "ImageDeleted",
|
|
301
|
+
IncompatibleAcceleratorInstanceTypes: "IncompatibleAcceleratorInstanceTypes",
|
|
290
302
|
InsufficientCapacity: "InsufficientCapacity",
|
|
291
303
|
InsufficientRolePermissions: "InsufficientRolePermissions",
|
|
292
304
|
InternalError: "InternalError",
|
|
@@ -332,6 +344,7 @@ export const StateReasonCode = {
|
|
|
332
344
|
Idle: "Idle",
|
|
333
345
|
ImageAccessDenied: "ImageAccessDenied",
|
|
334
346
|
ImageDeleted: "ImageDeleted",
|
|
347
|
+
IncompatibleAcceleratorInstanceTypes: "IncompatibleAcceleratorInstanceTypes",
|
|
335
348
|
InsufficientCapacity: "InsufficientCapacity",
|
|
336
349
|
InsufficientRolePermissions: "InsufficientRolePermissions",
|
|
337
350
|
InternalError: "InternalError",
|
package/dist-es/models/errors.js
CHANGED
|
@@ -704,6 +704,36 @@ export class ResourceNotReadyException extends __BaseException {
|
|
|
704
704
|
this.Type = opts.Type;
|
|
705
705
|
}
|
|
706
706
|
}
|
|
707
|
+
export class RuntimeAliasDeletedException extends __BaseException {
|
|
708
|
+
static shapeId = "com.amazonaws.lambda#RuntimeAliasDeletedException";
|
|
709
|
+
name = "RuntimeAliasDeletedException";
|
|
710
|
+
$fault = "client";
|
|
711
|
+
Type;
|
|
712
|
+
constructor(opts) {
|
|
713
|
+
super({
|
|
714
|
+
name: "RuntimeAliasDeletedException",
|
|
715
|
+
$fault: "client",
|
|
716
|
+
...opts,
|
|
717
|
+
});
|
|
718
|
+
Object.setPrototypeOf(this, RuntimeAliasDeletedException.prototype);
|
|
719
|
+
this.Type = opts.Type;
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
export class RuntimeVersionDeletedException extends __BaseException {
|
|
723
|
+
static shapeId = "com.amazonaws.lambda#RuntimeVersionDeletedException";
|
|
724
|
+
name = "RuntimeVersionDeletedException";
|
|
725
|
+
$fault = "client";
|
|
726
|
+
Type;
|
|
727
|
+
constructor(opts) {
|
|
728
|
+
super({
|
|
729
|
+
name: "RuntimeVersionDeletedException",
|
|
730
|
+
$fault: "client",
|
|
731
|
+
...opts,
|
|
732
|
+
});
|
|
733
|
+
Object.setPrototypeOf(this, RuntimeVersionDeletedException.prototype);
|
|
734
|
+
this.Type = opts.Type;
|
|
735
|
+
}
|
|
736
|
+
}
|
|
707
737
|
export class S3FilesMountConnectivityException extends __BaseException {
|
|
708
738
|
static shapeId = "com.amazonaws.lambda#S3FilesMountConnectivityException";
|
|
709
739
|
name = "S3FilesMountConnectivityException";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
const _A = "Action";
|
|
2
2
|
const _AA = "AliasArn";
|
|
3
|
-
const _AC = "
|
|
3
|
+
const _AC = "AcceleratorConfig";
|
|
4
4
|
const _ACc = "AccessConfigs";
|
|
5
|
-
const _ACl = "
|
|
5
|
+
const _ACl = "AliasConfiguration";
|
|
6
|
+
const _ACll = "AllowCredentials";
|
|
6
7
|
const _AFSC = "AppliedFunctionScalingConfig";
|
|
7
8
|
const _AH = "AllowHeaders";
|
|
8
9
|
const _AIT = "AllowedInstanceTypes";
|
|
@@ -15,6 +16,7 @@ const _ALVPRd = "AddLayerVersionPermissionResponse";
|
|
|
15
16
|
const _ALl = "AliasList";
|
|
16
17
|
const _AM = "AllowMethods";
|
|
17
18
|
const _AMKESC = "AmazonManagedKafkaEventSourceConfig";
|
|
19
|
+
const _AMS = "AcceleratorMemorySize";
|
|
18
20
|
const _AO = "AllowOrigins";
|
|
19
21
|
const _AOp = "ApplyOn";
|
|
20
22
|
const _AP = "AllowedPublishers";
|
|
@@ -247,6 +249,7 @@ const _FEICu = "FunctionEventInvokeConfigs";
|
|
|
247
249
|
const _FL = "FilterList";
|
|
248
250
|
const _FLu = "FunctionList";
|
|
249
251
|
const _FN = "FunctionName";
|
|
252
|
+
const _FRC = "FunctionRuntimeConfig";
|
|
250
253
|
const _FRT = "FunctionResponseTypes";
|
|
251
254
|
const _FS = "FunctionState";
|
|
252
255
|
const _FSC = "FileSystemConfigs";
|
|
@@ -546,11 +549,15 @@ const _Q = "Qualifier";
|
|
|
546
549
|
const _Qu = "Queues";
|
|
547
550
|
const _R = "Reason";
|
|
548
551
|
const _RA = "Retry-After";
|
|
552
|
+
const _RADE = "RuntimeAliasDeletedException";
|
|
549
553
|
const _RAe = "ResourceArn";
|
|
554
|
+
const _RAu = "RuntimeArn";
|
|
555
|
+
const _RAun = "RuntimeAlias";
|
|
550
556
|
const _RC = "RoutingConfig";
|
|
551
557
|
const _RCE = "ResourceConflictException";
|
|
552
558
|
const _RCEe = "ReservedConcurrentExecutions";
|
|
553
559
|
const _RCe = "ReplayChildren";
|
|
560
|
+
const _RCu = "RuntimeConfig";
|
|
554
561
|
const _RD = "RetryDetails";
|
|
555
562
|
const _RFSC = "RequestedFunctionScalingConfig";
|
|
556
563
|
const _RI = "RevisionId";
|
|
@@ -574,6 +581,7 @@ const _RT = "RepositoryType";
|
|
|
574
581
|
const _RTLE = "RequestTooLargeException";
|
|
575
582
|
const _RVA = "RuntimeVersionArn";
|
|
576
583
|
const _RVC = "RuntimeVersionConfig";
|
|
584
|
+
const _RVDE = "RuntimeVersionDeletedException";
|
|
577
585
|
const _RVE = "RuntimeVersionError";
|
|
578
586
|
const _Re = "Result";
|
|
579
587
|
const _Res = "Resource";
|
|
@@ -749,7 +757,7 @@ const _tK = "tagKeys";
|
|
|
749
757
|
const _xN = "xmlName";
|
|
750
758
|
const n0 = "com.amazonaws.lambda";
|
|
751
759
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
752
|
-
import { AliasLimitExceededException, CallbackTimeoutException, CapacityProviderLimitExceededException, CodeArtifactUserDeletedException, CodeArtifactUserFailedException, CodeArtifactUserPendingException, CodeSigningConfigNotFoundException, CodeStorageExceededException, CodeVerificationFailedException, DurableExecutionAlreadyStartedException, EC2AccessDeniedException, EC2ThrottledException, EC2UnexpectedException, EFSIOException, EFSMountConnectivityException, EFSMountFailureException, EFSMountTimeoutException, ENILimitReachedException, ENINotReadyException, FunctionVersionsPerCapacityProviderLimitExceededException, InvalidCodeSignatureException, InvalidParameterValueException, InvalidRequestContentException, InvalidRuntimeException, InvalidSecurityGroupIDException, InvalidSubnetIDException, InvalidZipFileException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, KMSNotFoundException, ModeNotSupportedException, NoPublishedVersionException, PolicyLengthExceededException, PreconditionFailedException, ProvisionedConcurrencyConfigNotFoundException, PublicPolicyException, RecursiveInvocationException, RequestTooLargeException, ResourceConflictException, ResourceInUseException, ResourceNotFoundException, ResourceNotReadyException, S3FilesMountConnectivityException, S3FilesMountFailureException, S3FilesMountTimeoutException, SerializedRequestEntityTooLargeException, ServiceException, ServiceQuotaExceededException, SnapStartException, SnapStartNotReadyException, SnapStartRegenerationFailureException, SnapStartTimeoutException, SubnetIPAddressLimitReachedException, TooManyRequestsException, UnsupportedMediaTypeException, } from "../models/errors";
|
|
760
|
+
import { AliasLimitExceededException, CallbackTimeoutException, CapacityProviderLimitExceededException, CodeArtifactUserDeletedException, CodeArtifactUserFailedException, CodeArtifactUserPendingException, CodeSigningConfigNotFoundException, CodeStorageExceededException, CodeVerificationFailedException, DurableExecutionAlreadyStartedException, EC2AccessDeniedException, EC2ThrottledException, EC2UnexpectedException, EFSIOException, EFSMountConnectivityException, EFSMountFailureException, EFSMountTimeoutException, ENILimitReachedException, ENINotReadyException, FunctionVersionsPerCapacityProviderLimitExceededException, InvalidCodeSignatureException, InvalidParameterValueException, InvalidRequestContentException, InvalidRuntimeException, InvalidSecurityGroupIDException, InvalidSubnetIDException, InvalidZipFileException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, KMSNotFoundException, ModeNotSupportedException, NoPublishedVersionException, PolicyLengthExceededException, PreconditionFailedException, ProvisionedConcurrencyConfigNotFoundException, PublicPolicyException, RecursiveInvocationException, RequestTooLargeException, ResourceConflictException, ResourceInUseException, ResourceNotFoundException, ResourceNotReadyException, RuntimeAliasDeletedException, RuntimeVersionDeletedException, S3FilesMountConnectivityException, S3FilesMountFailureException, S3FilesMountTimeoutException, SerializedRequestEntityTooLargeException, ServiceException, ServiceQuotaExceededException, SnapStartException, SnapStartNotReadyException, SnapStartRegenerationFailureException, SnapStartTimeoutException, SubnetIPAddressLimitReachedException, TooManyRequestsException, UnsupportedMediaTypeException, } from "../models/errors";
|
|
753
761
|
import { LambdaServiceException } from "../models/LambdaServiceException";
|
|
754
762
|
const _s_registry = new TypeRegistry(_s);
|
|
755
763
|
export var LambdaServiceException$ = [-3, _s, "LambdaServiceException", 0, [], []];
|
|
@@ -1013,6 +1021,18 @@ export var ResourceNotReadyException$ = [-3, n0, _RNRE,
|
|
|
1013
1021
|
[0, 0]
|
|
1014
1022
|
];
|
|
1015
1023
|
n0_registry.registerError(ResourceNotReadyException$, ResourceNotReadyException);
|
|
1024
|
+
export var RuntimeAliasDeletedException$ = [-3, n0, _RADE,
|
|
1025
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
1026
|
+
[_T, _m],
|
|
1027
|
+
[0, 0]
|
|
1028
|
+
];
|
|
1029
|
+
n0_registry.registerError(RuntimeAliasDeletedException$, RuntimeAliasDeletedException);
|
|
1030
|
+
export var RuntimeVersionDeletedException$ = [-3, n0, _RVDE,
|
|
1031
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
1032
|
+
[_T, _m],
|
|
1033
|
+
[0, 0]
|
|
1034
|
+
];
|
|
1035
|
+
n0_registry.registerError(RuntimeVersionDeletedException$, RuntimeVersionDeletedException);
|
|
1016
1036
|
export var S3FilesMountConnectivityException$ = [-3, n0, _SFMCE,
|
|
1017
1037
|
{ [_e]: _c, [_hE]: 408 },
|
|
1018
1038
|
[_T, _M],
|
|
@@ -1108,6 +1128,11 @@ var OperationPayload = [0, n0, _OP, 8, 0];
|
|
|
1108
1128
|
var OutputPayload = [0, n0, _OPu, 8, 0];
|
|
1109
1129
|
var SensitiveString = [0, n0, _SS, 8, 0];
|
|
1110
1130
|
var StackTraceEntry = [0, n0, _STE, 8, 0];
|
|
1131
|
+
export var AcceleratorConfig$ = [3, n0, _AC,
|
|
1132
|
+
0,
|
|
1133
|
+
[_AMS],
|
|
1134
|
+
[1], 1
|
|
1135
|
+
];
|
|
1111
1136
|
export var AccountLimit$ = [3, n0, _AL,
|
|
1112
1137
|
0,
|
|
1113
1138
|
[_TCS, _CSU, _CSZ, _CE, _UCE],
|
|
@@ -1138,7 +1163,7 @@ export var AddPermissionResponse$ = [3, n0, _APRd,
|
|
|
1138
1163
|
[_S],
|
|
1139
1164
|
[0]
|
|
1140
1165
|
];
|
|
1141
|
-
export var AliasConfiguration$ = [3, n0,
|
|
1166
|
+
export var AliasConfiguration$ = [3, n0, _ACl,
|
|
1142
1167
|
0,
|
|
1143
1168
|
[_AA, _N, _FV, _D, _RC, _RI],
|
|
1144
1169
|
[0, 0, 0, 0, () => AliasRoutingConfiguration$, 0]
|
|
@@ -1315,7 +1340,7 @@ export var ContextSucceededDetails$ = [3, n0, _CSDon,
|
|
|
1315
1340
|
];
|
|
1316
1341
|
export var Cors$ = [3, n0, _Co,
|
|
1317
1342
|
0,
|
|
1318
|
-
[
|
|
1343
|
+
[_ACll, _AH, _AM, _AO, _EH, _MA],
|
|
1319
1344
|
[2, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 1]
|
|
1320
1345
|
];
|
|
1321
1346
|
export var CreateAliasRequest$ = [3, n0, _CAR,
|
|
@@ -1350,8 +1375,8 @@ export var CreateEventSourceMappingRequest$ = [3, n0, _CESMR,
|
|
|
1350
1375
|
];
|
|
1351
1376
|
export var CreateFunctionRequest$ = [3, n0, _CFR,
|
|
1352
1377
|
0,
|
|
1353
|
-
[_FN, _Ro, _Cod, _Ru, _H, _D, _Ti, _MS, _Pu, _PTu, _VC, _PTa, _DLC, _Env, _KMSKA, _TCr, _Ta, _L, _FSC, _CSCA, _IC, _Ar, _ES, _SSn, _LC, _TCe, _CPC, _DCu],
|
|
1354
|
-
[0, 0, [() => FunctionCode$, 0], 0, 0, 0, 1, 1, 2, 0, () => VpcConfig$, 0, () => DeadLetterConfig$, [() => Environment$, 0], 0, () => TracingConfig$, 128 | 0, 64 | 0, () => FileSystemConfigList, 0, () => ImageConfig$, 64 | 0, () => EphemeralStorage$, () => SnapStart$, () => LoggingConfig$, () => TenancyConfig$, () => CapacityProviderConfig$, () => DurableConfig$], 3
|
|
1378
|
+
[_FN, _Ro, _Cod, _Ru, _H, _D, _Ti, _MS, _Pu, _PTu, _VC, _PTa, _DLC, _Env, _KMSKA, _TCr, _Ta, _L, _FSC, _CSCA, _IC, _Ar, _ES, _SSn, _LC, _TCe, _CPC, _DCu, _RCu, _AC],
|
|
1379
|
+
[0, 0, [() => FunctionCode$, 0], 0, 0, 0, 1, 1, 2, 0, () => VpcConfig$, 0, () => DeadLetterConfig$, [() => Environment$, 0], 0, () => TracingConfig$, 128 | 0, 64 | 0, () => FileSystemConfigList, 0, () => ImageConfig$, 64 | 0, () => EphemeralStorage$, () => SnapStart$, () => LoggingConfig$, () => TenancyConfig$, () => CapacityProviderConfig$, () => DurableConfig$, () => FunctionRuntimeConfig$, () => AcceleratorConfig$], 3
|
|
1355
1380
|
];
|
|
1356
1381
|
export var CreateFunctionUrlConfigRequest$ = [3, n0, _CFUCR,
|
|
1357
1382
|
0,
|
|
@@ -1590,14 +1615,19 @@ export var FunctionCodeLocationError$ = [3, n0, _FCLE,
|
|
|
1590
1615
|
];
|
|
1591
1616
|
export var FunctionConfiguration$ = [3, n0, _FCun,
|
|
1592
1617
|
0,
|
|
1593
|
-
[_FN, _FA, _Ru, _Ro, _H, _CS, _D, _Ti, _MS, _LM, _CSo, _Ve, _VC, _DLC, _Env, _KMSKA, _TCr, _MAa, _RI, _L, _St, _SR, _SRCt, _LUS, _LUSR, _LUSRC, _FSC, _SPVAi, _SJA, _PTa, _ICR, _Ar, _ES, _SSn, _RVC, _LC, _TCe, _CPC, _CSon, _DCu],
|
|
1594
|
-
[0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, () => VpcConfigResponse$, () => DeadLetterConfig$, [() => EnvironmentResponse$, 0], 0, () => TracingConfigResponse$, 0, 0, () => LayersReferenceList, 0, 0, 0, 0, 0, 0, () => FileSystemConfigList, 0, 0, 0, [() => ImageConfigResponse$, 0], 64 | 0, () => EphemeralStorage$, () => SnapStartResponse$, [() => RuntimeVersionConfig$, 0], () => LoggingConfig$, () => TenancyConfig$, () => CapacityProviderConfig$, 0, () => DurableConfig$]
|
|
1618
|
+
[_FN, _FA, _Ru, _Ro, _H, _CS, _D, _Ti, _MS, _LM, _CSo, _Ve, _VC, _DLC, _Env, _KMSKA, _TCr, _MAa, _RI, _L, _St, _SR, _SRCt, _LUS, _LUSR, _LUSRC, _FSC, _SPVAi, _SJA, _PTa, _ICR, _Ar, _ES, _SSn, _RVC, _LC, _TCe, _CPC, _CSon, _DCu, _RCu, _AC],
|
|
1619
|
+
[0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, () => VpcConfigResponse$, () => DeadLetterConfig$, [() => EnvironmentResponse$, 0], 0, () => TracingConfigResponse$, 0, 0, () => LayersReferenceList, 0, 0, 0, 0, 0, 0, () => FileSystemConfigList, 0, 0, 0, [() => ImageConfigResponse$, 0], 64 | 0, () => EphemeralStorage$, () => SnapStartResponse$, [() => RuntimeVersionConfig$, 0], () => LoggingConfig$, () => TenancyConfig$, () => CapacityProviderConfig$, 0, () => DurableConfig$, () => FunctionRuntimeConfig$, () => AcceleratorConfig$]
|
|
1595
1620
|
];
|
|
1596
1621
|
export var FunctionEventInvokeConfig$ = [3, n0, _FEIC,
|
|
1597
1622
|
0,
|
|
1598
1623
|
[_LM, _FA, _MRA, _MEAIS, _DC],
|
|
1599
1624
|
[4, 0, 1, 1, () => DestinationConfig$]
|
|
1600
1625
|
];
|
|
1626
|
+
export var FunctionRuntimeConfig$ = [3, n0, _FRC,
|
|
1627
|
+
0,
|
|
1628
|
+
[_RAu, _RAun],
|
|
1629
|
+
[0, 0], 2
|
|
1630
|
+
];
|
|
1601
1631
|
export var FunctionScalingConfig$ = [3, n0, _FSCu,
|
|
1602
1632
|
0,
|
|
1603
1633
|
[_MEE, _MEEa],
|
|
@@ -2410,8 +2440,8 @@ export var UpdateFunctionCodeRequest$ = [3, n0, _UFCR,
|
|
|
2410
2440
|
];
|
|
2411
2441
|
export var UpdateFunctionConfigurationRequest$ = [3, n0, _UFCRp,
|
|
2412
2442
|
0,
|
|
2413
|
-
[_FN, _Ro, _H, _D, _Ti, _MS, _VC, _Env, _Ru, _DLC, _KMSKA, _TCr, _RI, _L, _FSC, _IC, _ES, _SSn, _LC, _CPC, _DCu],
|
|
2414
|
-
[[0, 1], 0, 0, 0, 1, 1, () => VpcConfig$, [() => Environment$, 0], 0, () => DeadLetterConfig$, 0, () => TracingConfig$, 0, 64 | 0, () => FileSystemConfigList, () => ImageConfig$, () => EphemeralStorage$, () => SnapStart$, () => LoggingConfig$, () => CapacityProviderConfig$, () => DurableConfig$], 1
|
|
2443
|
+
[_FN, _Ro, _H, _D, _Ti, _MS, _VC, _Env, _Ru, _DLC, _KMSKA, _TCr, _RI, _L, _FSC, _IC, _ES, _SSn, _LC, _CPC, _DCu, _RCu, _AC],
|
|
2444
|
+
[[0, 1], 0, 0, 0, 1, 1, () => VpcConfig$, [() => Environment$, 0], 0, () => DeadLetterConfig$, 0, () => TracingConfig$, 0, 64 | 0, () => FileSystemConfigList, () => ImageConfig$, () => EphemeralStorage$, () => SnapStart$, () => LoggingConfig$, () => CapacityProviderConfig$, () => DurableConfig$, () => FunctionRuntimeConfig$, () => AcceleratorConfig$], 1
|
|
2415
2445
|
];
|
|
2416
2446
|
export var UpdateFunctionEventInvokeConfigRequest$ = [3, n0, _UFEICR,
|
|
2417
2447
|
0,
|
|
@@ -62,7 +62,7 @@ declare const CreateCapacityProviderCommand_base: {
|
|
|
62
62
|
* ScalingMode: "Auto" || "Manual",
|
|
63
63
|
* ScalingPolicies: [ // CapacityProviderScalingPoliciesList
|
|
64
64
|
* { // TargetTrackingScalingPolicy
|
|
65
|
-
* PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization", // required
|
|
65
|
+
* PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization" || "LambdaCapacityProviderAverageGPUUtilization", // required
|
|
66
66
|
* TargetValue: Number("double"), // required
|
|
67
67
|
* },
|
|
68
68
|
* ],
|
|
@@ -117,7 +117,7 @@ declare const CreateCapacityProviderCommand_base: {
|
|
|
117
117
|
* // ScalingMode: "Auto" || "Manual",
|
|
118
118
|
* // ScalingPolicies: [ // CapacityProviderScalingPoliciesList
|
|
119
119
|
* // { // TargetTrackingScalingPolicy
|
|
120
|
-
* // PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization", // required
|
|
120
|
+
* // PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization" || "LambdaCapacityProviderAverageGPUUtilization", // required
|
|
121
121
|
* // TargetValue: Number("double"), // required
|
|
122
122
|
* // },
|
|
123
123
|
* // ],
|
|
@@ -35,7 +35,7 @@ declare const CreateFunctionCommand_base: {
|
|
|
35
35
|
* const client = new LambdaClient(config);
|
|
36
36
|
* const input = { // CreateFunctionRequest
|
|
37
37
|
* FunctionName: "STRING_VALUE", // required
|
|
38
|
-
* Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "nodejs18.x" || "nodejs20.x" || "nodejs22.x" || "nodejs24.x" || "java8" || "java8.al2" || "java11" || "java17" || "java21" || "java25" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "python3.10" || "python3.11" || "python3.12" || "python3.13" || "python3.14" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "dotnet10" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "ruby3.2" || "ruby3.3" || "ruby3.4" || "ruby4.0" || "provided" || "provided.al2" || "provided.al2023" || "nodejs26.x" || "python3.15" || "java8.al2023" || "java11.al2023" || "java17.al2023",
|
|
38
|
+
* Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "nodejs18.x" || "nodejs20.x" || "nodejs22.x" || "nodejs24.x" || "java8" || "java8.al2" || "java11" || "java17" || "java21" || "java25" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "python3.10" || "python3.11" || "python3.12" || "python3.13" || "python3.14" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "dotnet10" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "ruby3.2" || "ruby3.3" || "ruby3.4" || "ruby4.0" || "provided" || "provided.al2" || "provided.al2023" || "nodejs26.x" || "python3.15" || "java8.al2023" || "java11.al2023" || "java17.al2023" || "custom",
|
|
39
39
|
* Role: "STRING_VALUE", // required
|
|
40
40
|
* Handler: "STRING_VALUE",
|
|
41
41
|
* Code: { // FunctionCode
|
|
@@ -129,13 +129,20 @@ declare const CreateFunctionCommand_base: {
|
|
|
129
129
|
* RetentionPeriodInDays: Number("int"),
|
|
130
130
|
* ExecutionTimeout: Number("int"),
|
|
131
131
|
* },
|
|
132
|
+
* RuntimeConfig: { // FunctionRuntimeConfig
|
|
133
|
+
* RuntimeArn: "STRING_VALUE", // required
|
|
134
|
+
* RuntimeAlias: "STRING_VALUE", // required
|
|
135
|
+
* },
|
|
136
|
+
* AcceleratorConfig: { // AcceleratorConfig
|
|
137
|
+
* AcceleratorMemorySize: 3 || 6 || 12 || 16 || 24 || 48, // required
|
|
138
|
+
* },
|
|
132
139
|
* };
|
|
133
140
|
* const command = new CreateFunctionCommand(input);
|
|
134
141
|
* const response = await client.send(command);
|
|
135
142
|
* // { // FunctionConfiguration
|
|
136
143
|
* // FunctionName: "STRING_VALUE",
|
|
137
144
|
* // FunctionArn: "STRING_VALUE",
|
|
138
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "nodejs18.x" || "nodejs20.x" || "nodejs22.x" || "nodejs24.x" || "java8" || "java8.al2" || "java11" || "java17" || "java21" || "java25" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "python3.10" || "python3.11" || "python3.12" || "python3.13" || "python3.14" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "dotnet10" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "ruby3.2" || "ruby3.3" || "ruby3.4" || "ruby4.0" || "provided" || "provided.al2" || "provided.al2023" || "nodejs26.x" || "python3.15" || "java8.al2023" || "java11.al2023" || "java17.al2023",
|
|
145
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "nodejs18.x" || "nodejs20.x" || "nodejs22.x" || "nodejs24.x" || "java8" || "java8.al2" || "java11" || "java17" || "java21" || "java25" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "python3.10" || "python3.11" || "python3.12" || "python3.13" || "python3.14" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "dotnet10" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "ruby3.2" || "ruby3.3" || "ruby3.4" || "ruby4.0" || "provided" || "provided.al2" || "provided.al2023" || "nodejs26.x" || "python3.15" || "java8.al2023" || "java11.al2023" || "java17.al2023" || "custom",
|
|
139
146
|
* // Role: "STRING_VALUE",
|
|
140
147
|
* // Handler: "STRING_VALUE",
|
|
141
148
|
* // CodeSize: Number("long"),
|
|
@@ -183,10 +190,10 @@ declare const CreateFunctionCommand_base: {
|
|
|
183
190
|
* // ],
|
|
184
191
|
* // State: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
|
|
185
192
|
* // StateReason: "STRING_VALUE",
|
|
186
|
-
* // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "DrainingDurableExecutions" || "DependencyError",
|
|
193
|
+
* // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "DrainingDurableExecutions" || "IncompatibleAcceleratorInstanceTypes" || "DependencyError",
|
|
187
194
|
* // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
|
|
188
195
|
* // LastUpdateStatusReason: "STRING_VALUE",
|
|
189
|
-
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "DependencyError",
|
|
196
|
+
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "IncompatibleAcceleratorInstanceTypes" || "DependencyError",
|
|
190
197
|
* // FileSystemConfigs: [ // FileSystemConfigList
|
|
191
198
|
* // { // FileSystemConfig
|
|
192
199
|
* // Arn: "STRING_VALUE", // required
|
|
@@ -253,6 +260,13 @@ declare const CreateFunctionCommand_base: {
|
|
|
253
260
|
* // RetentionPeriodInDays: Number("int"),
|
|
254
261
|
* // ExecutionTimeout: Number("int"),
|
|
255
262
|
* // },
|
|
263
|
+
* // RuntimeConfig: { // FunctionRuntimeConfig
|
|
264
|
+
* // RuntimeArn: "STRING_VALUE", // required
|
|
265
|
+
* // RuntimeAlias: "STRING_VALUE", // required
|
|
266
|
+
* // },
|
|
267
|
+
* // AcceleratorConfig: { // AcceleratorConfig
|
|
268
|
+
* // AcceleratorMemorySize: 3 || 6 || 12 || 16 || 24 || 48, // required
|
|
269
|
+
* // },
|
|
256
270
|
* // };
|
|
257
271
|
*
|
|
258
272
|
* ```
|
|
@@ -69,7 +69,7 @@ declare const DeleteCapacityProviderCommand_base: {
|
|
|
69
69
|
* // ScalingMode: "Auto" || "Manual",
|
|
70
70
|
* // ScalingPolicies: [ // CapacityProviderScalingPoliciesList
|
|
71
71
|
* // { // TargetTrackingScalingPolicy
|
|
72
|
-
* // PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization", // required
|
|
72
|
+
* // PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization" || "LambdaCapacityProviderAverageGPUUtilization", // required
|
|
73
73
|
* // TargetValue: Number("double"), // required
|
|
74
74
|
* // },
|
|
75
75
|
* // ],
|
|
@@ -69,7 +69,7 @@ declare const GetCapacityProviderCommand_base: {
|
|
|
69
69
|
* // ScalingMode: "Auto" || "Manual",
|
|
70
70
|
* // ScalingPolicies: [ // CapacityProviderScalingPoliciesList
|
|
71
71
|
* // { // TargetTrackingScalingPolicy
|
|
72
|
-
* // PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization", // required
|
|
72
|
+
* // PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization" || "LambdaCapacityProviderAverageGPUUtilization", // required
|
|
73
73
|
* // TargetValue: Number("double"), // required
|
|
74
74
|
* // },
|
|
75
75
|
* // ],
|