@aws-sdk/client-lambda 3.1083.0 → 3.1085.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 CHANGED
@@ -70,7 +70,7 @@ const commonParams = {
70
70
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
71
71
  };
72
72
 
73
- var version = "3.1082.0";
73
+ var version = "3.1084.0";
74
74
  var packageInfo = {
75
75
  version: version};
76
76
 
@@ -1091,12 +1091,14 @@ const _CP = "CapacityProvider";
1091
1091
  const _CPA = "CapacityProviderArn";
1092
1092
  const _CPC = "CapacityProviderConfig";
1093
1093
  const _CPL = "CapacityProvidersList";
1094
+ const _CPLC = "CapacityProviderLoggingConfig";
1094
1095
  const _CPLEE = "CapacityProviderLimitExceededException";
1095
1096
  const _CPN = "CapacityProviderName";
1096
1097
  const _CPORA = "CapacityProviderOperatorRoleArn";
1097
1098
  const _CPPC = "CapacityProviderPermissionsConfig";
1098
1099
  const _CPSC = "CapacityProviderScalingConfig";
1099
1100
  const _CPSPL = "CapacityProviderScalingPoliciesList";
1101
+ const _CPTC = "CapacityProviderTelemetryConfig";
1100
1102
  const _CPVC = "CapacityProviderVpcConfig";
1101
1103
  const _CPa = "CapacityProviders";
1102
1104
  const _CR = "CompatibleRuntimes";
@@ -1650,10 +1652,11 @@ const _Sta = "Status";
1650
1652
  const _Stat = "Statuses";
1651
1653
  const _T = "Type";
1652
1654
  const _TA = "TargetArn";
1653
- const _TC = "TracingConfig";
1655
+ const _TC = "TelemetryConfig";
1654
1656
  const _TCR = "TracingConfigResponse";
1655
1657
  const _TCS = "TotalCodeSize";
1656
1658
  const _TCe = "TenancyConfig";
1659
+ const _TCr = "TracingConfig";
1657
1660
  const _TE = "TagsError";
1658
1661
  const _TH = "TraceHeader";
1659
1662
  const _TI = "TenantId";
@@ -2178,14 +2181,19 @@ var CallbackTimedOutDetails$ = [3, n0, _CTOD,
2178
2181
  ];
2179
2182
  var CapacityProvider$ = [3, n0, _CP,
2180
2183
  0,
2181
- [_CPA, _St, _VC, _PC, _IR, _CPSC, _KKA, _LM, _PT],
2182
- [0, 0, () => CapacityProviderVpcConfig$, () => CapacityProviderPermissionsConfig$, () => InstanceRequirements$, () => CapacityProviderScalingConfig$, 0, 0, () => PropagateTags$], 4
2184
+ [_CPA, _St, _VC, _PC, _IR, _CPSC, _KKA, _LM, _PT, _TC],
2185
+ [0, 0, () => CapacityProviderVpcConfig$, () => CapacityProviderPermissionsConfig$, () => InstanceRequirements$, () => CapacityProviderScalingConfig$, 0, 0, () => PropagateTags$, () => CapacityProviderTelemetryConfig$], 4
2183
2186
  ];
2184
2187
  var CapacityProviderConfig$ = [3, n0, _CPC,
2185
2188
  0,
2186
2189
  [_LMICPC],
2187
2190
  [() => LambdaManagedInstancesCapacityProviderConfig$], 1
2188
2191
  ];
2192
+ var CapacityProviderLoggingConfig$ = [3, n0, _CPLC,
2193
+ 0,
2194
+ [_SLL, _LG],
2195
+ [0, 0]
2196
+ ];
2189
2197
  var CapacityProviderPermissionsConfig$ = [3, n0, _CPPC,
2190
2198
  0,
2191
2199
  [_CPORA],
@@ -2196,6 +2204,11 @@ var CapacityProviderScalingConfig$ = [3, n0, _CPSC,
2196
2204
  [_MVCC, _SM, _SP],
2197
2205
  [1, 0, () => CapacityProviderScalingPoliciesList]
2198
2206
  ];
2207
+ var CapacityProviderTelemetryConfig$ = [3, n0, _CPTC,
2208
+ 0,
2209
+ [_LC],
2210
+ [() => CapacityProviderLoggingConfig$]
2211
+ ];
2199
2212
  var CapacityProviderVpcConfig$ = [3, n0, _CPVC,
2200
2213
  0,
2201
2214
  [_SIu, _SGI],
@@ -2303,8 +2316,8 @@ var CreateAliasRequest$ = [3, n0, _CAR,
2303
2316
  ];
2304
2317
  var CreateCapacityProviderRequest$ = [3, n0, _CCPR,
2305
2318
  0,
2306
- [_CPN, _VC, _PC, _IR, _CPSC, _KKA, _Ta, _PT],
2307
- [0, () => CapacityProviderVpcConfig$, () => CapacityProviderPermissionsConfig$, () => InstanceRequirements$, () => CapacityProviderScalingConfig$, 0, 128 | 0, () => PropagateTags$], 3
2319
+ [_CPN, _VC, _PC, _IR, _CPSC, _KKA, _Ta, _PT, _TC],
2320
+ [0, () => CapacityProviderVpcConfig$, () => CapacityProviderPermissionsConfig$, () => InstanceRequirements$, () => CapacityProviderScalingConfig$, 0, 128 | 0, () => PropagateTags$, () => CapacityProviderTelemetryConfig$], 3
2308
2321
  ];
2309
2322
  var CreateCapacityProviderResponse$ = [3, n0, _CCPRr,
2310
2323
  0,
@@ -2328,7 +2341,7 @@ var CreateEventSourceMappingRequest$ = [3, n0, _CESMR,
2328
2341
  ];
2329
2342
  var CreateFunctionRequest$ = [3, n0, _CFR,
2330
2343
  0,
2331
- [_FN, _Ro, _Cod, _Ru, _H, _D, _Ti, _MS, _Pu, _PTu, _VC, _PTa, _DLC, _Env, _KMSKA, _TC, _Ta, _L, _FSC, _CSCA, _IC, _Ar, _ES, _SSn, _LC, _TCe, _CPC, _DCu],
2344
+ [_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],
2332
2345
  [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
2333
2346
  ];
2334
2347
  var CreateFunctionUrlConfigRequest$ = [3, n0, _CFUCR,
@@ -2563,7 +2576,7 @@ var FunctionCodeLocationError$ = [3, n0, _FCLE,
2563
2576
  ];
2564
2577
  var FunctionConfiguration$ = [3, n0, _FCun,
2565
2578
  0,
2566
- [_FN, _FA, _Ru, _Ro, _H, _CS, _D, _Ti, _MS, _LM, _CSo, _Ve, _VC, _DLC, _Env, _KMSKA, _TC, _MAa, _RI, _L, _St, _SR, _SRCt, _LUS, _LUSR, _LUSRC, _FSC, _SPVAi, _SJA, _PTa, _ICR, _Ar, _ES, _SSn, _RVC, _LC, _TCe, _CPC, _CSon, _DCu],
2579
+ [_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],
2567
2580
  [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$]
2568
2581
  ];
2569
2582
  var FunctionEventInvokeConfig$ = [3, n0, _FEIC,
@@ -2838,8 +2851,8 @@ var InvokeWithResponseStreamCompleteEvent$ = [3, n0, _IWRSCE,
2838
2851
  ];
2839
2852
  var InvokeWithResponseStreamRequest$ = [3, n0, _IWRSR,
2840
2853
  0,
2841
- [_FN, _IT, _LT, _CC, _Q, _Pa, _TI],
2842
- [[0, 1], [0, { [_hH]: _XAIT }], [0, { [_hH]: _XALT }], [0, { [_hH]: _XACC }], [0, { [_hQ]: _Q }], [() => _Blob, 16], [0, { [_hH]: _XATI }]], 1
2854
+ [_FN, _LT, _CC, _Q, _Pa, _TI, _IT],
2855
+ [[0, 1], [0, { [_hH]: _XALT }], [0, { [_hH]: _XACC }], [0, { [_hQ]: _Q }], [() => _Blob, 16], [0, { [_hH]: _XATI }], [0, { [_hH]: _XAIT }]], 1
2843
2856
  ];
2844
2857
  var InvokeWithResponseStreamResponse$ = [3, n0, _IWRSRn,
2845
2858
  0,
@@ -3306,7 +3319,7 @@ var TraceHeader$ = [3, n0, _TH,
3306
3319
  [_XATIm],
3307
3320
  [0]
3308
3321
  ];
3309
- var TracingConfig$ = [3, n0, _TC,
3322
+ var TracingConfig$ = [3, n0, _TCr,
3310
3323
  0,
3311
3324
  [_Mo],
3312
3325
  [0]
@@ -3328,8 +3341,8 @@ var UpdateAliasRequest$ = [3, n0, _UAR,
3328
3341
  ];
3329
3342
  var UpdateCapacityProviderRequest$ = [3, n0, _UCPR,
3330
3343
  0,
3331
- [_CPN, _CPSC, _PT],
3332
- [[0, 1], () => CapacityProviderScalingConfig$, () => PropagateTags$], 1
3344
+ [_CPN, _CPSC, _PT, _TC],
3345
+ [[0, 1], () => CapacityProviderScalingConfig$, () => PropagateTags$, () => CapacityProviderTelemetryConfig$], 1
3333
3346
  ];
3334
3347
  var UpdateCapacityProviderResponse$ = [3, n0, _UCPRp,
3335
3348
  0,
@@ -3358,7 +3371,7 @@ var UpdateFunctionCodeRequest$ = [3, n0, _UFCR,
3358
3371
  ];
3359
3372
  var UpdateFunctionConfigurationRequest$ = [3, n0, _UFCRp,
3360
3373
  0,
3361
- [_FN, _Ro, _H, _D, _Ti, _MS, _VC, _Env, _Ru, _DLC, _KMSKA, _TC, _RI, _L, _FSC, _IC, _ES, _SSn, _LC, _CPC, _DCu],
3374
+ [_FN, _Ro, _H, _D, _Ti, _MS, _VC, _Env, _Ru, _DLC, _KMSKA, _TCr, _RI, _L, _FSC, _IC, _ES, _SSn, _LC, _CPC, _DCu],
3362
3375
  [[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
3363
3376
  ];
3364
3377
  var UpdateFunctionEventInvokeConfigRequest$ = [3, n0, _UFEICR,
@@ -4626,6 +4639,11 @@ const PropagateTagsMode = {
4626
4639
  Explicit: "Explicit",
4627
4640
  None: "None",
4628
4641
  };
4642
+ const SystemLogLevel = {
4643
+ Debug: "DEBUG",
4644
+ Info: "INFO",
4645
+ Warn: "WARN",
4646
+ };
4629
4647
  const CapacityProviderState = {
4630
4648
  Active: "Active",
4631
4649
  Deleting: "Deleting",
@@ -4714,11 +4732,6 @@ const LogFormat = {
4714
4732
  Json: "JSON",
4715
4733
  Text: "Text",
4716
4734
  };
4717
- const SystemLogLevel = {
4718
- Debug: "DEBUG",
4719
- Info: "INFO",
4720
- Warn: "WARN",
4721
- };
4722
4735
  const PackageType = {
4723
4736
  Image: "Image",
4724
4737
  Zip: "Zip",
@@ -4970,11 +4983,13 @@ exports.CapacityProvider$ = CapacityProvider$;
4970
4983
  exports.CapacityProviderConfig$ = CapacityProviderConfig$;
4971
4984
  exports.CapacityProviderLimitExceededException = CapacityProviderLimitExceededException;
4972
4985
  exports.CapacityProviderLimitExceededException$ = CapacityProviderLimitExceededException$;
4986
+ exports.CapacityProviderLoggingConfig$ = CapacityProviderLoggingConfig$;
4973
4987
  exports.CapacityProviderPermissionsConfig$ = CapacityProviderPermissionsConfig$;
4974
4988
  exports.CapacityProviderPredefinedMetricType = CapacityProviderPredefinedMetricType;
4975
4989
  exports.CapacityProviderScalingConfig$ = CapacityProviderScalingConfig$;
4976
4990
  exports.CapacityProviderScalingMode = CapacityProviderScalingMode;
4977
4991
  exports.CapacityProviderState = CapacityProviderState;
4992
+ exports.CapacityProviderTelemetryConfig$ = CapacityProviderTelemetryConfig$;
4978
4993
  exports.CapacityProviderVpcConfig$ = CapacityProviderVpcConfig$;
4979
4994
  exports.ChainedInvokeDetails$ = ChainedInvokeDetails$;
4980
4995
  exports.ChainedInvokeFailedDetails$ = ChainedInvokeFailedDetails$;
@@ -46,6 +46,11 @@ export const PropagateTagsMode = {
46
46
  Explicit: "Explicit",
47
47
  None: "None",
48
48
  };
49
+ export const SystemLogLevel = {
50
+ Debug: "DEBUG",
51
+ Info: "INFO",
52
+ Warn: "WARN",
53
+ };
49
54
  export const CapacityProviderState = {
50
55
  Active: "Active",
51
56
  Deleting: "Deleting",
@@ -134,11 +139,6 @@ export const LogFormat = {
134
139
  Json: "JSON",
135
140
  Text: "Text",
136
141
  };
137
- export const SystemLogLevel = {
138
- Debug: "DEBUG",
139
- Info: "INFO",
140
- Warn: "WARN",
141
- };
142
142
  export const PackageType = {
143
143
  Image: "Image",
144
144
  Zip: "Zip",
@@ -85,12 +85,14 @@ const _CP = "CapacityProvider";
85
85
  const _CPA = "CapacityProviderArn";
86
86
  const _CPC = "CapacityProviderConfig";
87
87
  const _CPL = "CapacityProvidersList";
88
+ const _CPLC = "CapacityProviderLoggingConfig";
88
89
  const _CPLEE = "CapacityProviderLimitExceededException";
89
90
  const _CPN = "CapacityProviderName";
90
91
  const _CPORA = "CapacityProviderOperatorRoleArn";
91
92
  const _CPPC = "CapacityProviderPermissionsConfig";
92
93
  const _CPSC = "CapacityProviderScalingConfig";
93
94
  const _CPSPL = "CapacityProviderScalingPoliciesList";
95
+ const _CPTC = "CapacityProviderTelemetryConfig";
94
96
  const _CPVC = "CapacityProviderVpcConfig";
95
97
  const _CPa = "CapacityProviders";
96
98
  const _CR = "CompatibleRuntimes";
@@ -644,10 +646,11 @@ const _Sta = "Status";
644
646
  const _Stat = "Statuses";
645
647
  const _T = "Type";
646
648
  const _TA = "TargetArn";
647
- const _TC = "TracingConfig";
649
+ const _TC = "TelemetryConfig";
648
650
  const _TCR = "TracingConfigResponse";
649
651
  const _TCS = "TotalCodeSize";
650
652
  const _TCe = "TenancyConfig";
653
+ const _TCr = "TracingConfig";
651
654
  const _TE = "TagsError";
652
655
  const _TH = "TraceHeader";
653
656
  const _TI = "TenantId";
@@ -1175,14 +1178,19 @@ export var CallbackTimedOutDetails$ = [3, n0, _CTOD,
1175
1178
  ];
1176
1179
  export var CapacityProvider$ = [3, n0, _CP,
1177
1180
  0,
1178
- [_CPA, _St, _VC, _PC, _IR, _CPSC, _KKA, _LM, _PT],
1179
- [0, 0, () => CapacityProviderVpcConfig$, () => CapacityProviderPermissionsConfig$, () => InstanceRequirements$, () => CapacityProviderScalingConfig$, 0, 0, () => PropagateTags$], 4
1181
+ [_CPA, _St, _VC, _PC, _IR, _CPSC, _KKA, _LM, _PT, _TC],
1182
+ [0, 0, () => CapacityProviderVpcConfig$, () => CapacityProviderPermissionsConfig$, () => InstanceRequirements$, () => CapacityProviderScalingConfig$, 0, 0, () => PropagateTags$, () => CapacityProviderTelemetryConfig$], 4
1180
1183
  ];
1181
1184
  export var CapacityProviderConfig$ = [3, n0, _CPC,
1182
1185
  0,
1183
1186
  [_LMICPC],
1184
1187
  [() => LambdaManagedInstancesCapacityProviderConfig$], 1
1185
1188
  ];
1189
+ export var CapacityProviderLoggingConfig$ = [3, n0, _CPLC,
1190
+ 0,
1191
+ [_SLL, _LG],
1192
+ [0, 0]
1193
+ ];
1186
1194
  export var CapacityProviderPermissionsConfig$ = [3, n0, _CPPC,
1187
1195
  0,
1188
1196
  [_CPORA],
@@ -1193,6 +1201,11 @@ export var CapacityProviderScalingConfig$ = [3, n0, _CPSC,
1193
1201
  [_MVCC, _SM, _SP],
1194
1202
  [1, 0, () => CapacityProviderScalingPoliciesList]
1195
1203
  ];
1204
+ export var CapacityProviderTelemetryConfig$ = [3, n0, _CPTC,
1205
+ 0,
1206
+ [_LC],
1207
+ [() => CapacityProviderLoggingConfig$]
1208
+ ];
1196
1209
  export var CapacityProviderVpcConfig$ = [3, n0, _CPVC,
1197
1210
  0,
1198
1211
  [_SIu, _SGI],
@@ -1300,8 +1313,8 @@ export var CreateAliasRequest$ = [3, n0, _CAR,
1300
1313
  ];
1301
1314
  export var CreateCapacityProviderRequest$ = [3, n0, _CCPR,
1302
1315
  0,
1303
- [_CPN, _VC, _PC, _IR, _CPSC, _KKA, _Ta, _PT],
1304
- [0, () => CapacityProviderVpcConfig$, () => CapacityProviderPermissionsConfig$, () => InstanceRequirements$, () => CapacityProviderScalingConfig$, 0, 128 | 0, () => PropagateTags$], 3
1316
+ [_CPN, _VC, _PC, _IR, _CPSC, _KKA, _Ta, _PT, _TC],
1317
+ [0, () => CapacityProviderVpcConfig$, () => CapacityProviderPermissionsConfig$, () => InstanceRequirements$, () => CapacityProviderScalingConfig$, 0, 128 | 0, () => PropagateTags$, () => CapacityProviderTelemetryConfig$], 3
1305
1318
  ];
1306
1319
  export var CreateCapacityProviderResponse$ = [3, n0, _CCPRr,
1307
1320
  0,
@@ -1325,7 +1338,7 @@ export var CreateEventSourceMappingRequest$ = [3, n0, _CESMR,
1325
1338
  ];
1326
1339
  export var CreateFunctionRequest$ = [3, n0, _CFR,
1327
1340
  0,
1328
- [_FN, _Ro, _Cod, _Ru, _H, _D, _Ti, _MS, _Pu, _PTu, _VC, _PTa, _DLC, _Env, _KMSKA, _TC, _Ta, _L, _FSC, _CSCA, _IC, _Ar, _ES, _SSn, _LC, _TCe, _CPC, _DCu],
1341
+ [_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],
1329
1342
  [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
1330
1343
  ];
1331
1344
  export var CreateFunctionUrlConfigRequest$ = [3, n0, _CFUCR,
@@ -1560,7 +1573,7 @@ export var FunctionCodeLocationError$ = [3, n0, _FCLE,
1560
1573
  ];
1561
1574
  export var FunctionConfiguration$ = [3, n0, _FCun,
1562
1575
  0,
1563
- [_FN, _FA, _Ru, _Ro, _H, _CS, _D, _Ti, _MS, _LM, _CSo, _Ve, _VC, _DLC, _Env, _KMSKA, _TC, _MAa, _RI, _L, _St, _SR, _SRCt, _LUS, _LUSR, _LUSRC, _FSC, _SPVAi, _SJA, _PTa, _ICR, _Ar, _ES, _SSn, _RVC, _LC, _TCe, _CPC, _CSon, _DCu],
1576
+ [_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],
1564
1577
  [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$]
1565
1578
  ];
1566
1579
  export var FunctionEventInvokeConfig$ = [3, n0, _FEIC,
@@ -1835,8 +1848,8 @@ export var InvokeWithResponseStreamCompleteEvent$ = [3, n0, _IWRSCE,
1835
1848
  ];
1836
1849
  export var InvokeWithResponseStreamRequest$ = [3, n0, _IWRSR,
1837
1850
  0,
1838
- [_FN, _IT, _LT, _CC, _Q, _Pa, _TI],
1839
- [[0, 1], [0, { [_hH]: _XAIT }], [0, { [_hH]: _XALT }], [0, { [_hH]: _XACC }], [0, { [_hQ]: _Q }], [() => _Blob, 16], [0, { [_hH]: _XATI }]], 1
1851
+ [_FN, _LT, _CC, _Q, _Pa, _TI, _IT],
1852
+ [[0, 1], [0, { [_hH]: _XALT }], [0, { [_hH]: _XACC }], [0, { [_hQ]: _Q }], [() => _Blob, 16], [0, { [_hH]: _XATI }], [0, { [_hH]: _XAIT }]], 1
1840
1853
  ];
1841
1854
  export var InvokeWithResponseStreamResponse$ = [3, n0, _IWRSRn,
1842
1855
  0,
@@ -2303,7 +2316,7 @@ export var TraceHeader$ = [3, n0, _TH,
2303
2316
  [_XATIm],
2304
2317
  [0]
2305
2318
  ];
2306
- export var TracingConfig$ = [3, n0, _TC,
2319
+ export var TracingConfig$ = [3, n0, _TCr,
2307
2320
  0,
2308
2321
  [_Mo],
2309
2322
  [0]
@@ -2325,8 +2338,8 @@ export var UpdateAliasRequest$ = [3, n0, _UAR,
2325
2338
  ];
2326
2339
  export var UpdateCapacityProviderRequest$ = [3, n0, _UCPR,
2327
2340
  0,
2328
- [_CPN, _CPSC, _PT],
2329
- [[0, 1], () => CapacityProviderScalingConfig$, () => PropagateTags$], 1
2341
+ [_CPN, _CPSC, _PT, _TC],
2342
+ [[0, 1], () => CapacityProviderScalingConfig$, () => PropagateTags$, () => CapacityProviderTelemetryConfig$], 1
2330
2343
  ];
2331
2344
  export var UpdateCapacityProviderResponse$ = [3, n0, _UCPRp,
2332
2345
  0,
@@ -2355,7 +2368,7 @@ export var UpdateFunctionCodeRequest$ = [3, n0, _UFCR,
2355
2368
  ];
2356
2369
  export var UpdateFunctionConfigurationRequest$ = [3, n0, _UFCRp,
2357
2370
  0,
2358
- [_FN, _Ro, _H, _D, _Ti, _MS, _VC, _Env, _Ru, _DLC, _KMSKA, _TC, _RI, _L, _FSC, _IC, _ES, _SSn, _LC, _CPC, _DCu],
2371
+ [_FN, _Ro, _H, _D, _Ti, _MS, _VC, _Env, _Ru, _DLC, _KMSKA, _TCr, _RI, _L, _FSC, _IC, _ES, _SSn, _LC, _CPC, _DCu],
2359
2372
  [[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
2360
2373
  ];
2361
2374
  export var UpdateFunctionEventInvokeConfigRequest$ = [3, n0, _UFEICR,
@@ -77,6 +77,12 @@ declare const CreateCapacityProviderCommand_base: {
77
77
  * "<keys>": "STRING_VALUE",
78
78
  * },
79
79
  * },
80
+ * TelemetryConfig: { // CapacityProviderTelemetryConfig
81
+ * LoggingConfig: { // CapacityProviderLoggingConfig
82
+ * SystemLogLevel: "DEBUG" || "INFO" || "WARN",
83
+ * LogGroup: "STRING_VALUE",
84
+ * },
85
+ * },
80
86
  * };
81
87
  * const command = new CreateCapacityProviderCommand(input);
82
88
  * const response = await client.send(command);
@@ -124,6 +130,12 @@ declare const CreateCapacityProviderCommand_base: {
124
130
  * // "<keys>": "STRING_VALUE",
125
131
  * // },
126
132
  * // },
133
+ * // TelemetryConfig: { // CapacityProviderTelemetryConfig
134
+ * // LoggingConfig: { // CapacityProviderLoggingConfig
135
+ * // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
136
+ * // LogGroup: "STRING_VALUE",
137
+ * // },
138
+ * // },
127
139
  * // },
128
140
  * // };
129
141
  *
@@ -82,6 +82,12 @@ declare const DeleteCapacityProviderCommand_base: {
82
82
  * // "<keys>": "STRING_VALUE",
83
83
  * // },
84
84
  * // },
85
+ * // TelemetryConfig: { // CapacityProviderTelemetryConfig
86
+ * // LoggingConfig: { // CapacityProviderLoggingConfig
87
+ * // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
88
+ * // LogGroup: "STRING_VALUE",
89
+ * // },
90
+ * // },
85
91
  * // },
86
92
  * // };
87
93
  *
@@ -82,6 +82,12 @@ declare const GetCapacityProviderCommand_base: {
82
82
  * // "<keys>": "STRING_VALUE",
83
83
  * // },
84
84
  * // },
85
+ * // TelemetryConfig: { // CapacityProviderTelemetryConfig
86
+ * // LoggingConfig: { // CapacityProviderLoggingConfig
87
+ * // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
88
+ * // LogGroup: "STRING_VALUE",
89
+ * // },
90
+ * // },
85
91
  * // },
86
92
  * // };
87
93
  *
@@ -75,9 +75,9 @@ declare const GetProvisionedConcurrencyConfigCommand_base: {
75
75
  * <p>Base exception class for all service exceptions from Lambda service.</p>
76
76
  *
77
77
  *
78
- * @example To view a provisioned concurrency configuration
78
+ * @example To get a provisioned concurrency configuration
79
79
  * ```javascript
80
- * // The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified function.
80
+ * // The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified function.
81
81
  * const input = {
82
82
  * FunctionName: "my-function",
83
83
  * Qualifier: "BLUE"
@@ -95,9 +95,9 @@ declare const GetProvisionedConcurrencyConfigCommand_base: {
95
95
  * *\/
96
96
  * ```
97
97
  *
98
- * @example To get a provisioned concurrency configuration
98
+ * @example To view a provisioned concurrency configuration
99
99
  * ```javascript
100
- * // The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified function.
100
+ * // The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified function.
101
101
  * const input = {
102
102
  * FunctionName: "my-function",
103
103
  * Qualifier: "BLUE"
@@ -41,12 +41,12 @@ declare const InvokeWithResponseStreamCommand_base: {
41
41
  * const client = new LambdaClient(config);
42
42
  * const input = { // InvokeWithResponseStreamRequest
43
43
  * FunctionName: "STRING_VALUE", // required
44
- * InvocationType: "RequestResponse" || "DryRun",
45
44
  * LogType: "None" || "Tail",
46
45
  * ClientContext: "STRING_VALUE",
47
46
  * Qualifier: "STRING_VALUE",
48
47
  * Payload: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
49
48
  * TenantId: "STRING_VALUE",
49
+ * InvocationType: "RequestResponse" || "DryRun",
50
50
  * };
51
51
  * const command = new InvokeWithResponseStreamCommand(input);
52
52
  * const response = await client.send(command);
@@ -85,6 +85,12 @@ declare const ListCapacityProvidersCommand_base: {
85
85
  * // "<keys>": "STRING_VALUE",
86
86
  * // },
87
87
  * // },
88
+ * // TelemetryConfig: { // CapacityProviderTelemetryConfig
89
+ * // LoggingConfig: { // CapacityProviderLoggingConfig
90
+ * // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
91
+ * // LogGroup: "STRING_VALUE",
92
+ * // },
93
+ * // },
88
94
  * // },
89
95
  * // ],
90
96
  * // NextMarker: "STRING_VALUE",
@@ -51,6 +51,12 @@ declare const UpdateCapacityProviderCommand_base: {
51
51
  * "<keys>": "STRING_VALUE",
52
52
  * },
53
53
  * },
54
+ * TelemetryConfig: { // CapacityProviderTelemetryConfig
55
+ * LoggingConfig: { // CapacityProviderLoggingConfig
56
+ * SystemLogLevel: "DEBUG" || "INFO" || "WARN",
57
+ * LogGroup: "STRING_VALUE",
58
+ * },
59
+ * },
54
60
  * };
55
61
  * const command = new UpdateCapacityProviderCommand(input);
56
62
  * const response = await client.send(command);
@@ -98,6 +104,12 @@ declare const UpdateCapacityProviderCommand_base: {
98
104
  * // "<keys>": "STRING_VALUE",
99
105
  * // },
100
106
  * // },
107
+ * // TelemetryConfig: { // CapacityProviderTelemetryConfig
108
+ * // LoggingConfig: { // CapacityProviderLoggingConfig
109
+ * // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
110
+ * // LogGroup: "STRING_VALUE",
111
+ * // },
112
+ * // },
101
113
  * // },
102
114
  * // };
103
115
  *
@@ -132,6 +132,19 @@ export declare const PropagateTagsMode: {
132
132
  * @public
133
133
  */
134
134
  export type PropagateTagsMode = (typeof PropagateTagsMode)[keyof typeof PropagateTagsMode];
135
+ /**
136
+ * @public
137
+ * @enum
138
+ */
139
+ export declare const SystemLogLevel: {
140
+ readonly Debug: "DEBUG";
141
+ readonly Info: "INFO";
142
+ readonly Warn: "WARN";
143
+ };
144
+ /**
145
+ * @public
146
+ */
147
+ export type SystemLogLevel = (typeof SystemLogLevel)[keyof typeof SystemLogLevel];
135
148
  /**
136
149
  * @public
137
150
  * @enum
@@ -346,19 +359,6 @@ export declare const LogFormat: {
346
359
  * @public
347
360
  */
348
361
  export type LogFormat = (typeof LogFormat)[keyof typeof LogFormat];
349
- /**
350
- * @public
351
- * @enum
352
- */
353
- export declare const SystemLogLevel: {
354
- readonly Debug: "DEBUG";
355
- readonly Info: "INFO";
356
- readonly Warn: "WARN";
357
- };
358
- /**
359
- * @public
360
- */
361
- export type SystemLogLevel = (typeof SystemLogLevel)[keyof typeof SystemLogLevel];
362
362
  /**
363
363
  * @public
364
364
  * @enum
@@ -389,6 +389,33 @@ export interface PropagateTags {
389
389
  */
390
390
  ExplicitTags?: Record<string, string> | undefined;
391
391
  }
392
+ /**
393
+ * <p>The capacity provider's Amazon CloudWatch Logs configuration settings.</p>
394
+ * @public
395
+ */
396
+ export interface CapacityProviderLoggingConfig {
397
+ /**
398
+ * <p>Set this property to filter the system logs for your capacity provider that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where <code>DEBUG</code> is the highest level and <code>WARN</code> is the lowest.</p>
399
+ * @public
400
+ */
401
+ SystemLogLevel?: SystemLogLevel | undefined;
402
+ /**
403
+ * <p>The name of the Amazon CloudWatch log group the capacity provider sends logs to. By default, Lambda capacity providers send logs to a default log group named <code>/aws/lambda/capacity-provider/&lt;capacity provider name&gt;</code>. To use a different log group, enter an existing log group or enter a new log group name.</p>
404
+ * @public
405
+ */
406
+ LogGroup?: string | undefined;
407
+ }
408
+ /**
409
+ * <p>Configuration that specifies the telemetry collection for the capacity provider.</p>
410
+ * @public
411
+ */
412
+ export interface CapacityProviderTelemetryConfig {
413
+ /**
414
+ * <p>The capacity provider's Amazon CloudWatch Logs configuration settings.</p>
415
+ * @public
416
+ */
417
+ LoggingConfig?: CapacityProviderLoggingConfig | undefined;
418
+ }
392
419
  /**
393
420
  * <p>VPC configuration that specifies the network settings for compute instances managed by the capacity provider.</p>
394
421
  * @public
@@ -449,6 +476,11 @@ export interface CreateCapacityProviderRequest {
449
476
  * @public
450
477
  */
451
478
  PropagateTags?: PropagateTags | undefined;
479
+ /**
480
+ * <p>The telemetry configuration for the capacity provider. Specifies logging settings for managed resources.</p>
481
+ * @public
482
+ */
483
+ TelemetryConfig?: CapacityProviderTelemetryConfig | undefined;
452
484
  }
453
485
  /**
454
486
  * <p>A capacity provider manages compute resources for Lambda functions.</p>
@@ -500,6 +532,11 @@ export interface CapacityProvider {
500
532
  * @public
501
533
  */
502
534
  PropagateTags?: PropagateTags | undefined;
535
+ /**
536
+ * <p>The telemetry configuration for the capacity provider, including logging settings.</p>
537
+ * @public
538
+ */
539
+ TelemetryConfig?: CapacityProviderTelemetryConfig | undefined;
503
540
  }
504
541
  /**
505
542
  * @public
@@ -661,6 +698,11 @@ export interface UpdateCapacityProviderRequest {
661
698
  * @public
662
699
  */
663
700
  PropagateTags?: PropagateTags | undefined;
701
+ /**
702
+ * <p>The updated telemetry configuration for the capacity provider.</p>
703
+ * @public
704
+ */
705
+ TelemetryConfig?: CapacityProviderTelemetryConfig | undefined;
664
706
  }
665
707
  /**
666
708
  * @public
@@ -3439,11 +3481,6 @@ export interface InvokeWithResponseStreamRequest {
3439
3481
  * @public
3440
3482
  */
3441
3483
  FunctionName: string | undefined;
3442
- /**
3443
- * <p>Use one of the following options:</p> <ul> <li> <p> <code>RequestResponse</code> (default) – Invoke the function synchronously. Keep the connection open until the function returns a response or times out. The API operation response includes the function response and additional data.</p> </li> <li> <p> <code>DryRun</code> – Validate parameter values and verify that the IAM user or role has permission to invoke the function.</p> </li> </ul>
3444
- * @public
3445
- */
3446
- InvocationType?: ResponseStreamingInvocationType | undefined;
3447
3484
  /**
3448
3485
  * <p>Set to <code>Tail</code> to include the execution log in the response. Applies to synchronously invoked functions only.</p>
3449
3486
  * @public
@@ -3469,6 +3506,11 @@ export interface InvokeWithResponseStreamRequest {
3469
3506
  * @public
3470
3507
  */
3471
3508
  TenantId?: string | undefined;
3509
+ /**
3510
+ * <p>Use one of the following options:</p> <ul> <li> <p> <code>RequestResponse</code> (default) – Invoke the function synchronously. Keep the connection open until the function returns a response or times out. The API operation response includes the function response and additional data.</p> </li> <li> <p> <code>DryRun</code> – Validate parameter values and verify that the IAM user or role has permission to invoke the function.</p> </li> </ul>
3511
+ * @public
3512
+ */
3513
+ InvocationType?: ResponseStreamingInvocationType | undefined;
3472
3514
  }
3473
3515
  /**
3474
3516
  * <p>A response confirming that the event stream is complete.</p>
@@ -81,8 +81,10 @@ export declare var CallbackSucceededDetails$: StaticStructureSchema;
81
81
  export declare var CallbackTimedOutDetails$: StaticStructureSchema;
82
82
  export declare var CapacityProvider$: StaticStructureSchema;
83
83
  export declare var CapacityProviderConfig$: StaticStructureSchema;
84
+ export declare var CapacityProviderLoggingConfig$: StaticStructureSchema;
84
85
  export declare var CapacityProviderPermissionsConfig$: StaticStructureSchema;
85
86
  export declare var CapacityProviderScalingConfig$: StaticStructureSchema;
87
+ export declare var CapacityProviderTelemetryConfig$: StaticStructureSchema;
86
88
  export declare var CapacityProviderVpcConfig$: StaticStructureSchema;
87
89
  export declare var ChainedInvokeDetails$: StaticStructureSchema;
88
90
  export declare var ChainedInvokeFailedDetails$: StaticStructureSchema;
@@ -65,6 +65,13 @@ export declare const PropagateTagsMode: {
65
65
  };
66
66
  export type PropagateTagsMode =
67
67
  (typeof PropagateTagsMode)[keyof typeof PropagateTagsMode];
68
+ export declare const SystemLogLevel: {
69
+ readonly Debug: "DEBUG";
70
+ readonly Info: "INFO";
71
+ readonly Warn: "WARN";
72
+ };
73
+ export type SystemLogLevel =
74
+ (typeof SystemLogLevel)[keyof typeof SystemLogLevel];
68
75
  export declare const CapacityProviderState: {
69
76
  readonly Active: "Active";
70
77
  readonly Deleting: "Deleting";
@@ -178,13 +185,6 @@ export declare const LogFormat: {
178
185
  readonly Text: "Text";
179
186
  };
180
187
  export type LogFormat = (typeof LogFormat)[keyof typeof LogFormat];
181
- export declare const SystemLogLevel: {
182
- readonly Debug: "DEBUG";
183
- readonly Info: "INFO";
184
- readonly Warn: "WARN";
185
- };
186
- export type SystemLogLevel =
187
- (typeof SystemLogLevel)[keyof typeof SystemLogLevel];
188
188
  export declare const PackageType: {
189
189
  readonly Image: "Image";
190
190
  readonly Zip: "Zip";
@@ -139,6 +139,13 @@ export interface PropagateTags {
139
139
  Mode?: PropagateTagsMode | undefined;
140
140
  ExplicitTags?: Record<string, string> | undefined;
141
141
  }
142
+ export interface CapacityProviderLoggingConfig {
143
+ SystemLogLevel?: SystemLogLevel | undefined;
144
+ LogGroup?: string | undefined;
145
+ }
146
+ export interface CapacityProviderTelemetryConfig {
147
+ LoggingConfig?: CapacityProviderLoggingConfig | undefined;
148
+ }
142
149
  export interface CapacityProviderVpcConfig {
143
150
  SubnetIds: string[] | undefined;
144
151
  SecurityGroupIds: string[] | undefined;
@@ -152,6 +159,7 @@ export interface CreateCapacityProviderRequest {
152
159
  KmsKeyArn?: string | undefined;
153
160
  Tags?: Record<string, string> | undefined;
154
161
  PropagateTags?: PropagateTags | undefined;
162
+ TelemetryConfig?: CapacityProviderTelemetryConfig | undefined;
155
163
  }
156
164
  export interface CapacityProvider {
157
165
  CapacityProviderArn: string | undefined;
@@ -163,6 +171,7 @@ export interface CapacityProvider {
163
171
  KmsKeyArn?: string | undefined;
164
172
  LastModified?: string | undefined;
165
173
  PropagateTags?: PropagateTags | undefined;
174
+ TelemetryConfig?: CapacityProviderTelemetryConfig | undefined;
166
175
  }
167
176
  export interface CreateCapacityProviderResponse {
168
177
  CapacityProvider: CapacityProvider | undefined;
@@ -206,6 +215,7 @@ export interface UpdateCapacityProviderRequest {
206
215
  CapacityProviderName: string | undefined;
207
216
  CapacityProviderScalingConfig?: CapacityProviderScalingConfig | undefined;
208
217
  PropagateTags?: PropagateTags | undefined;
218
+ TelemetryConfig?: CapacityProviderTelemetryConfig | undefined;
209
219
  }
210
220
  export interface UpdateCapacityProviderResponse {
211
221
  CapacityProvider: CapacityProvider | undefined;
@@ -877,12 +887,12 @@ export interface InvokeAsyncResponse {
877
887
  }
878
888
  export interface InvokeWithResponseStreamRequest {
879
889
  FunctionName: string | undefined;
880
- InvocationType?: ResponseStreamingInvocationType | undefined;
881
890
  LogType?: LogType | undefined;
882
891
  ClientContext?: string | undefined;
883
892
  Qualifier?: string | undefined;
884
893
  Payload?: Uint8Array | undefined;
885
894
  TenantId?: string | undefined;
895
+ InvocationType?: ResponseStreamingInvocationType | undefined;
886
896
  }
887
897
  export interface InvokeWithResponseStreamCompleteEvent {
888
898
  ErrorCode?: string | undefined;
@@ -81,8 +81,10 @@ export declare var CallbackSucceededDetails$: StaticStructureSchema;
81
81
  export declare var CallbackTimedOutDetails$: StaticStructureSchema;
82
82
  export declare var CapacityProvider$: StaticStructureSchema;
83
83
  export declare var CapacityProviderConfig$: StaticStructureSchema;
84
+ export declare var CapacityProviderLoggingConfig$: StaticStructureSchema;
84
85
  export declare var CapacityProviderPermissionsConfig$: StaticStructureSchema;
85
86
  export declare var CapacityProviderScalingConfig$: StaticStructureSchema;
87
+ export declare var CapacityProviderTelemetryConfig$: StaticStructureSchema;
86
88
  export declare var CapacityProviderVpcConfig$: StaticStructureSchema;
87
89
  export declare var ChainedInvokeDetails$: StaticStructureSchema;
88
90
  export declare var ChainedInvokeFailedDetails$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lambda",
3
3
  "description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
4
- "version": "3.1083.0",
4
+ "version": "3.1085.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",