@aws-sdk/client-lambda 3.632.0 → 3.635.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/README.md +16 -0
- package/dist-cjs/index.js +97 -0
- package/dist-es/Lambda.js +4 -0
- package/dist-es/commands/GetFunctionRecursionConfigCommand.js +24 -0
- package/dist-es/commands/PutFunctionRecursionConfigCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +51 -0
- package/dist-types/Lambda.d.ts +14 -0
- package/dist-types/LambdaClient.d.ts +4 -2
- package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +11 -2
- package/dist-types/commands/AddPermissionCommand.d.ts +11 -2
- package/dist-types/commands/GetFunctionRecursionConfigCommand.d.ts +73 -0
- package/dist-types/commands/PublishVersionCommand.d.ts +11 -2
- package/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +82 -0
- package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +11 -2
- package/dist-types/commands/RemovePermissionCommand.d.ts +11 -2
- package/dist-types/commands/UpdateAliasCommand.d.ts +11 -2
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +11 -2
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +11 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +158 -19
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Lambda.d.ts +34 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetFunctionRecursionConfigCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/PutFunctionRecursionConfigCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +18 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -475,6 +475,14 @@ GetFunctionEventInvokeConfig
|
|
|
475
475
|
|
|
476
476
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/GetFunctionEventInvokeConfigCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/GetFunctionEventInvokeConfigCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/GetFunctionEventInvokeConfigCommandOutput/)
|
|
477
477
|
|
|
478
|
+
</details>
|
|
479
|
+
<details>
|
|
480
|
+
<summary>
|
|
481
|
+
GetFunctionRecursionConfig
|
|
482
|
+
</summary>
|
|
483
|
+
|
|
484
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/GetFunctionRecursionConfigCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/GetFunctionRecursionConfigCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/GetFunctionRecursionConfigCommandOutput/)
|
|
485
|
+
|
|
478
486
|
</details>
|
|
479
487
|
<details>
|
|
480
488
|
<summary>
|
|
@@ -691,6 +699,14 @@ PutFunctionEventInvokeConfig
|
|
|
691
699
|
|
|
692
700
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/PutFunctionEventInvokeConfigCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/PutFunctionEventInvokeConfigCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/PutFunctionEventInvokeConfigCommandOutput/)
|
|
693
701
|
|
|
702
|
+
</details>
|
|
703
|
+
<details>
|
|
704
|
+
<summary>
|
|
705
|
+
PutFunctionRecursionConfig
|
|
706
|
+
</summary>
|
|
707
|
+
|
|
708
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/PutFunctionRecursionConfigCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/PutFunctionRecursionConfigCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/PutFunctionRecursionConfigCommandOutput/)
|
|
709
|
+
|
|
694
710
|
</details>
|
|
695
711
|
<details>
|
|
696
712
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -73,6 +73,7 @@ __export(src_exports, {
|
|
|
73
73
|
GetFunctionConcurrencyCommand: () => GetFunctionConcurrencyCommand,
|
|
74
74
|
GetFunctionConfigurationCommand: () => GetFunctionConfigurationCommand,
|
|
75
75
|
GetFunctionEventInvokeConfigCommand: () => GetFunctionEventInvokeConfigCommand,
|
|
76
|
+
GetFunctionRecursionConfigCommand: () => GetFunctionRecursionConfigCommand,
|
|
76
77
|
GetFunctionResponseFilterSensitiveLog: () => GetFunctionResponseFilterSensitiveLog,
|
|
77
78
|
GetFunctionUrlConfigCommand: () => GetFunctionUrlConfigCommand,
|
|
78
79
|
GetLayerVersionByArnCommand: () => GetLayerVersionByArnCommand,
|
|
@@ -140,9 +141,11 @@ __export(src_exports, {
|
|
|
140
141
|
PutFunctionCodeSigningConfigCommand: () => PutFunctionCodeSigningConfigCommand,
|
|
141
142
|
PutFunctionConcurrencyCommand: () => PutFunctionConcurrencyCommand,
|
|
142
143
|
PutFunctionEventInvokeConfigCommand: () => PutFunctionEventInvokeConfigCommand,
|
|
144
|
+
PutFunctionRecursionConfigCommand: () => PutFunctionRecursionConfigCommand,
|
|
143
145
|
PutProvisionedConcurrencyConfigCommand: () => PutProvisionedConcurrencyConfigCommand,
|
|
144
146
|
PutRuntimeManagementConfigCommand: () => PutRuntimeManagementConfigCommand,
|
|
145
147
|
RecursiveInvocationException: () => RecursiveInvocationException,
|
|
148
|
+
RecursiveLoop: () => RecursiveLoop,
|
|
146
149
|
RemoveLayerVersionPermissionCommand: () => RemoveLayerVersionPermissionCommand,
|
|
147
150
|
RemovePermissionCommand: () => RemovePermissionCommand,
|
|
148
151
|
RequestTooLargeException: () => RequestTooLargeException,
|
|
@@ -782,6 +785,10 @@ var _ResourceInUseException = class _ResourceInUseException extends LambdaServic
|
|
|
782
785
|
};
|
|
783
786
|
__name(_ResourceInUseException, "ResourceInUseException");
|
|
784
787
|
var ResourceInUseException = _ResourceInUseException;
|
|
788
|
+
var RecursiveLoop = {
|
|
789
|
+
Allow: "Allow",
|
|
790
|
+
Terminate: "Terminate"
|
|
791
|
+
};
|
|
785
792
|
var ProvisionedConcurrencyStatusEnum = {
|
|
786
793
|
FAILED: "FAILED",
|
|
787
794
|
IN_PROGRESS: "IN_PROGRESS",
|
|
@@ -1793,6 +1800,15 @@ var se_GetFunctionEventInvokeConfigCommand = /* @__PURE__ */ __name(async (input
|
|
|
1793
1800
|
b.m("GET").h(headers).q(query).b(body);
|
|
1794
1801
|
return b.build();
|
|
1795
1802
|
}, "se_GetFunctionEventInvokeConfigCommand");
|
|
1803
|
+
var se_GetFunctionRecursionConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1804
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1805
|
+
const headers = {};
|
|
1806
|
+
b.bp("/2024-08-31/functions/{FunctionName}/recursion-config");
|
|
1807
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1808
|
+
let body;
|
|
1809
|
+
b.m("GET").h(headers).b(body);
|
|
1810
|
+
return b.build();
|
|
1811
|
+
}, "se_GetFunctionRecursionConfigCommand");
|
|
1796
1812
|
var se_GetFunctionUrlConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1797
1813
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1798
1814
|
const headers = {};
|
|
@@ -2176,6 +2192,22 @@ var se_PutFunctionEventInvokeConfigCommand = /* @__PURE__ */ __name(async (input
|
|
|
2176
2192
|
b.m("PUT").h(headers).q(query).b(body);
|
|
2177
2193
|
return b.build();
|
|
2178
2194
|
}, "se_PutFunctionEventInvokeConfigCommand");
|
|
2195
|
+
var se_PutFunctionRecursionConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2196
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2197
|
+
const headers = {
|
|
2198
|
+
"content-type": "application/json"
|
|
2199
|
+
};
|
|
2200
|
+
b.bp("/2024-08-31/functions/{FunctionName}/recursion-config");
|
|
2201
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
2202
|
+
let body;
|
|
2203
|
+
body = JSON.stringify(
|
|
2204
|
+
(0, import_smithy_client.take)(input, {
|
|
2205
|
+
RecursiveLoop: []
|
|
2206
|
+
})
|
|
2207
|
+
);
|
|
2208
|
+
b.m("PUT").h(headers).b(body);
|
|
2209
|
+
return b.build();
|
|
2210
|
+
}, "se_PutFunctionRecursionConfigCommand");
|
|
2179
2211
|
var se_PutProvisionedConcurrencyConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2180
2212
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
2181
2213
|
const headers = {
|
|
@@ -2942,6 +2974,20 @@ var de_GetFunctionEventInvokeConfigCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2942
2974
|
Object.assign(contents, doc);
|
|
2943
2975
|
return contents;
|
|
2944
2976
|
}, "de_GetFunctionEventInvokeConfigCommand");
|
|
2977
|
+
var de_GetFunctionRecursionConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2978
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2979
|
+
return de_CommandError(output, context);
|
|
2980
|
+
}
|
|
2981
|
+
const contents = (0, import_smithy_client.map)({
|
|
2982
|
+
$metadata: deserializeMetadata(output)
|
|
2983
|
+
});
|
|
2984
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2985
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2986
|
+
RecursiveLoop: import_smithy_client.expectString
|
|
2987
|
+
});
|
|
2988
|
+
Object.assign(contents, doc);
|
|
2989
|
+
return contents;
|
|
2990
|
+
}, "de_GetFunctionRecursionConfigCommand");
|
|
2945
2991
|
var de_GetFunctionUrlConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2946
2992
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2947
2993
|
return de_CommandError(output, context);
|
|
@@ -3414,6 +3460,20 @@ var de_PutFunctionEventInvokeConfigCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
3414
3460
|
Object.assign(contents, doc);
|
|
3415
3461
|
return contents;
|
|
3416
3462
|
}, "de_PutFunctionEventInvokeConfigCommand");
|
|
3463
|
+
var de_PutFunctionRecursionConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3464
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3465
|
+
return de_CommandError(output, context);
|
|
3466
|
+
}
|
|
3467
|
+
const contents = (0, import_smithy_client.map)({
|
|
3468
|
+
$metadata: deserializeMetadata(output)
|
|
3469
|
+
});
|
|
3470
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3471
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3472
|
+
RecursiveLoop: import_smithy_client.expectString
|
|
3473
|
+
});
|
|
3474
|
+
Object.assign(contents, doc);
|
|
3475
|
+
return contents;
|
|
3476
|
+
}, "de_PutFunctionRecursionConfigCommand");
|
|
3417
3477
|
var de_PutProvisionedConcurrencyConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3418
3478
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
3419
3479
|
return de_CommandError(output, context);
|
|
@@ -4956,6 +5016,22 @@ var _GetFunctionEventInvokeConfigCommand = class _GetFunctionEventInvokeConfigCo
|
|
|
4956
5016
|
__name(_GetFunctionEventInvokeConfigCommand, "GetFunctionEventInvokeConfigCommand");
|
|
4957
5017
|
var GetFunctionEventInvokeConfigCommand = _GetFunctionEventInvokeConfigCommand;
|
|
4958
5018
|
|
|
5019
|
+
// src/commands/GetFunctionRecursionConfigCommand.ts
|
|
5020
|
+
|
|
5021
|
+
|
|
5022
|
+
|
|
5023
|
+
var _GetFunctionRecursionConfigCommand = class _GetFunctionRecursionConfigCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
5024
|
+
...commonParams
|
|
5025
|
+
}).m(function(Command, cs, config, o) {
|
|
5026
|
+
return [
|
|
5027
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5028
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5029
|
+
];
|
|
5030
|
+
}).s("AWSGirApiService", "GetFunctionRecursionConfig", {}).n("LambdaClient", "GetFunctionRecursionConfigCommand").f(void 0, void 0).ser(se_GetFunctionRecursionConfigCommand).de(de_GetFunctionRecursionConfigCommand).build() {
|
|
5031
|
+
};
|
|
5032
|
+
__name(_GetFunctionRecursionConfigCommand, "GetFunctionRecursionConfigCommand");
|
|
5033
|
+
var GetFunctionRecursionConfigCommand = _GetFunctionRecursionConfigCommand;
|
|
5034
|
+
|
|
4959
5035
|
// src/commands/GetFunctionUrlConfigCommand.ts
|
|
4960
5036
|
|
|
4961
5037
|
|
|
@@ -5395,6 +5471,22 @@ var _PutFunctionEventInvokeConfigCommand = class _PutFunctionEventInvokeConfigCo
|
|
|
5395
5471
|
__name(_PutFunctionEventInvokeConfigCommand, "PutFunctionEventInvokeConfigCommand");
|
|
5396
5472
|
var PutFunctionEventInvokeConfigCommand = _PutFunctionEventInvokeConfigCommand;
|
|
5397
5473
|
|
|
5474
|
+
// src/commands/PutFunctionRecursionConfigCommand.ts
|
|
5475
|
+
|
|
5476
|
+
|
|
5477
|
+
|
|
5478
|
+
var _PutFunctionRecursionConfigCommand = class _PutFunctionRecursionConfigCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
5479
|
+
...commonParams
|
|
5480
|
+
}).m(function(Command, cs, config, o) {
|
|
5481
|
+
return [
|
|
5482
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5483
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5484
|
+
];
|
|
5485
|
+
}).s("AWSGirApiService", "PutFunctionRecursionConfig", {}).n("LambdaClient", "PutFunctionRecursionConfigCommand").f(void 0, void 0).ser(se_PutFunctionRecursionConfigCommand).de(de_PutFunctionRecursionConfigCommand).build() {
|
|
5486
|
+
};
|
|
5487
|
+
__name(_PutFunctionRecursionConfigCommand, "PutFunctionRecursionConfigCommand");
|
|
5488
|
+
var PutFunctionRecursionConfigCommand = _PutFunctionRecursionConfigCommand;
|
|
5489
|
+
|
|
5398
5490
|
// src/commands/PutProvisionedConcurrencyConfigCommand.ts
|
|
5399
5491
|
|
|
5400
5492
|
|
|
@@ -5631,6 +5723,7 @@ var commands = {
|
|
|
5631
5723
|
GetFunctionConcurrencyCommand,
|
|
5632
5724
|
GetFunctionConfigurationCommand,
|
|
5633
5725
|
GetFunctionEventInvokeConfigCommand,
|
|
5726
|
+
GetFunctionRecursionConfigCommand,
|
|
5634
5727
|
GetFunctionUrlConfigCommand,
|
|
5635
5728
|
GetLayerVersionCommand,
|
|
5636
5729
|
GetLayerVersionByArnCommand,
|
|
@@ -5658,6 +5751,7 @@ var commands = {
|
|
|
5658
5751
|
PutFunctionCodeSigningConfigCommand,
|
|
5659
5752
|
PutFunctionConcurrencyCommand,
|
|
5660
5753
|
PutFunctionEventInvokeConfigCommand,
|
|
5754
|
+
PutFunctionRecursionConfigCommand,
|
|
5661
5755
|
PutProvisionedConcurrencyConfigCommand,
|
|
5662
5756
|
PutRuntimeManagementConfigCommand,
|
|
5663
5757
|
RemoveLayerVersionPermissionCommand,
|
|
@@ -6026,6 +6120,7 @@ var waitUntilPublishedVersionActive = /* @__PURE__ */ __name(async (params, inpu
|
|
|
6026
6120
|
GetFunctionConcurrencyCommand,
|
|
6027
6121
|
GetFunctionConfigurationCommand,
|
|
6028
6122
|
GetFunctionEventInvokeConfigCommand,
|
|
6123
|
+
GetFunctionRecursionConfigCommand,
|
|
6029
6124
|
GetFunctionUrlConfigCommand,
|
|
6030
6125
|
GetLayerVersionByArnCommand,
|
|
6031
6126
|
GetLayerVersionCommand,
|
|
@@ -6053,6 +6148,7 @@ var waitUntilPublishedVersionActive = /* @__PURE__ */ __name(async (params, inpu
|
|
|
6053
6148
|
PutFunctionCodeSigningConfigCommand,
|
|
6054
6149
|
PutFunctionConcurrencyCommand,
|
|
6055
6150
|
PutFunctionEventInvokeConfigCommand,
|
|
6151
|
+
PutFunctionRecursionConfigCommand,
|
|
6056
6152
|
PutProvisionedConcurrencyConfigCommand,
|
|
6057
6153
|
PutRuntimeManagementConfigCommand,
|
|
6058
6154
|
RemoveLayerVersionPermissionCommand,
|
|
@@ -6123,6 +6219,7 @@ var waitUntilPublishedVersionActive = /* @__PURE__ */ __name(async (params, inpu
|
|
|
6123
6219
|
InvalidCodeSignatureException,
|
|
6124
6220
|
InvokeMode,
|
|
6125
6221
|
ResourceInUseException,
|
|
6222
|
+
RecursiveLoop,
|
|
6126
6223
|
ProvisionedConcurrencyStatusEnum,
|
|
6127
6224
|
ProvisionedConcurrencyConfigNotFoundException,
|
|
6128
6225
|
UpdateRuntimeOn,
|
package/dist-es/Lambda.js
CHANGED
|
@@ -25,6 +25,7 @@ import { GetFunctionCommand } from "./commands/GetFunctionCommand";
|
|
|
25
25
|
import { GetFunctionConcurrencyCommand, } from "./commands/GetFunctionConcurrencyCommand";
|
|
26
26
|
import { GetFunctionConfigurationCommand, } from "./commands/GetFunctionConfigurationCommand";
|
|
27
27
|
import { GetFunctionEventInvokeConfigCommand, } from "./commands/GetFunctionEventInvokeConfigCommand";
|
|
28
|
+
import { GetFunctionRecursionConfigCommand, } from "./commands/GetFunctionRecursionConfigCommand";
|
|
28
29
|
import { GetFunctionUrlConfigCommand, } from "./commands/GetFunctionUrlConfigCommand";
|
|
29
30
|
import { GetLayerVersionByArnCommand, } from "./commands/GetLayerVersionByArnCommand";
|
|
30
31
|
import { GetLayerVersionCommand, } from "./commands/GetLayerVersionCommand";
|
|
@@ -52,6 +53,7 @@ import { PublishVersionCommand, } from "./commands/PublishVersionCommand";
|
|
|
52
53
|
import { PutFunctionCodeSigningConfigCommand, } from "./commands/PutFunctionCodeSigningConfigCommand";
|
|
53
54
|
import { PutFunctionConcurrencyCommand, } from "./commands/PutFunctionConcurrencyCommand";
|
|
54
55
|
import { PutFunctionEventInvokeConfigCommand, } from "./commands/PutFunctionEventInvokeConfigCommand";
|
|
56
|
+
import { PutFunctionRecursionConfigCommand, } from "./commands/PutFunctionRecursionConfigCommand";
|
|
55
57
|
import { PutProvisionedConcurrencyConfigCommand, } from "./commands/PutProvisionedConcurrencyConfigCommand";
|
|
56
58
|
import { PutRuntimeManagementConfigCommand, } from "./commands/PutRuntimeManagementConfigCommand";
|
|
57
59
|
import { RemoveLayerVersionPermissionCommand, } from "./commands/RemoveLayerVersionPermissionCommand";
|
|
@@ -93,6 +95,7 @@ const commands = {
|
|
|
93
95
|
GetFunctionConcurrencyCommand,
|
|
94
96
|
GetFunctionConfigurationCommand,
|
|
95
97
|
GetFunctionEventInvokeConfigCommand,
|
|
98
|
+
GetFunctionRecursionConfigCommand,
|
|
96
99
|
GetFunctionUrlConfigCommand,
|
|
97
100
|
GetLayerVersionCommand,
|
|
98
101
|
GetLayerVersionByArnCommand,
|
|
@@ -120,6 +123,7 @@ const commands = {
|
|
|
120
123
|
PutFunctionCodeSigningConfigCommand,
|
|
121
124
|
PutFunctionConcurrencyCommand,
|
|
122
125
|
PutFunctionEventInvokeConfigCommand,
|
|
126
|
+
PutFunctionRecursionConfigCommand,
|
|
123
127
|
PutProvisionedConcurrencyConfigCommand,
|
|
124
128
|
PutRuntimeManagementConfigCommand,
|
|
125
129
|
RemoveLayerVersionPermissionCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetFunctionRecursionConfigCommand, se_GetFunctionRecursionConfigCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetFunctionRecursionConfigCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSGirApiService", "GetFunctionRecursionConfig", {})
|
|
19
|
+
.n("LambdaClient", "GetFunctionRecursionConfigCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetFunctionRecursionConfigCommand)
|
|
22
|
+
.de(de_GetFunctionRecursionConfigCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_PutFunctionRecursionConfigCommand, se_PutFunctionRecursionConfigCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class PutFunctionRecursionConfigCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSGirApiService", "PutFunctionRecursionConfig", {})
|
|
19
|
+
.n("LambdaClient", "PutFunctionRecursionConfigCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_PutFunctionRecursionConfigCommand)
|
|
22
|
+
.de(de_PutFunctionRecursionConfigCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -24,6 +24,7 @@ export * from "./GetFunctionCommand";
|
|
|
24
24
|
export * from "./GetFunctionConcurrencyCommand";
|
|
25
25
|
export * from "./GetFunctionConfigurationCommand";
|
|
26
26
|
export * from "./GetFunctionEventInvokeConfigCommand";
|
|
27
|
+
export * from "./GetFunctionRecursionConfigCommand";
|
|
27
28
|
export * from "./GetFunctionUrlConfigCommand";
|
|
28
29
|
export * from "./GetLayerVersionByArnCommand";
|
|
29
30
|
export * from "./GetLayerVersionCommand";
|
|
@@ -51,6 +52,7 @@ export * from "./PublishVersionCommand";
|
|
|
51
52
|
export * from "./PutFunctionCodeSigningConfigCommand";
|
|
52
53
|
export * from "./PutFunctionConcurrencyCommand";
|
|
53
54
|
export * from "./PutFunctionEventInvokeConfigCommand";
|
|
55
|
+
export * from "./PutFunctionRecursionConfigCommand";
|
|
54
56
|
export * from "./PutProvisionedConcurrencyConfigCommand";
|
|
55
57
|
export * from "./PutRuntimeManagementConfigCommand";
|
|
56
58
|
export * from "./RemoveLayerVersionPermissionCommand";
|
|
@@ -346,6 +346,10 @@ export class ResourceInUseException extends __BaseException {
|
|
|
346
346
|
this.Message = opts.Message;
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
|
+
export const RecursiveLoop = {
|
|
350
|
+
Allow: "Allow",
|
|
351
|
+
Terminate: "Terminate",
|
|
352
|
+
};
|
|
349
353
|
export const ProvisionedConcurrencyStatusEnum = {
|
|
350
354
|
FAILED: "FAILED",
|
|
351
355
|
IN_PROGRESS: "IN_PROGRESS",
|
|
@@ -365,6 +365,15 @@ export const se_GetFunctionEventInvokeConfigCommand = async (input, context) =>
|
|
|
365
365
|
b.m("GET").h(headers).q(query).b(body);
|
|
366
366
|
return b.build();
|
|
367
367
|
};
|
|
368
|
+
export const se_GetFunctionRecursionConfigCommand = async (input, context) => {
|
|
369
|
+
const b = rb(input, context);
|
|
370
|
+
const headers = {};
|
|
371
|
+
b.bp("/2024-08-31/functions/{FunctionName}/recursion-config");
|
|
372
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
373
|
+
let body;
|
|
374
|
+
b.m("GET").h(headers).b(body);
|
|
375
|
+
return b.build();
|
|
376
|
+
};
|
|
368
377
|
export const se_GetFunctionUrlConfigCommand = async (input, context) => {
|
|
369
378
|
const b = rb(input, context);
|
|
370
379
|
const headers = {};
|
|
@@ -738,6 +747,20 @@ export const se_PutFunctionEventInvokeConfigCommand = async (input, context) =>
|
|
|
738
747
|
b.m("PUT").h(headers).q(query).b(body);
|
|
739
748
|
return b.build();
|
|
740
749
|
};
|
|
750
|
+
export const se_PutFunctionRecursionConfigCommand = async (input, context) => {
|
|
751
|
+
const b = rb(input, context);
|
|
752
|
+
const headers = {
|
|
753
|
+
"content-type": "application/json",
|
|
754
|
+
};
|
|
755
|
+
b.bp("/2024-08-31/functions/{FunctionName}/recursion-config");
|
|
756
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
757
|
+
let body;
|
|
758
|
+
body = JSON.stringify(take(input, {
|
|
759
|
+
RecursiveLoop: [],
|
|
760
|
+
}));
|
|
761
|
+
b.m("PUT").h(headers).b(body);
|
|
762
|
+
return b.build();
|
|
763
|
+
};
|
|
741
764
|
export const se_PutProvisionedConcurrencyConfigCommand = async (input, context) => {
|
|
742
765
|
const b = rb(input, context);
|
|
743
766
|
const headers = {
|
|
@@ -1484,6 +1507,20 @@ export const de_GetFunctionEventInvokeConfigCommand = async (output, context) =>
|
|
|
1484
1507
|
Object.assign(contents, doc);
|
|
1485
1508
|
return contents;
|
|
1486
1509
|
};
|
|
1510
|
+
export const de_GetFunctionRecursionConfigCommand = async (output, context) => {
|
|
1511
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1512
|
+
return de_CommandError(output, context);
|
|
1513
|
+
}
|
|
1514
|
+
const contents = map({
|
|
1515
|
+
$metadata: deserializeMetadata(output),
|
|
1516
|
+
});
|
|
1517
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1518
|
+
const doc = take(data, {
|
|
1519
|
+
RecursiveLoop: __expectString,
|
|
1520
|
+
});
|
|
1521
|
+
Object.assign(contents, doc);
|
|
1522
|
+
return contents;
|
|
1523
|
+
};
|
|
1487
1524
|
export const de_GetFunctionUrlConfigCommand = async (output, context) => {
|
|
1488
1525
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1489
1526
|
return de_CommandError(output, context);
|
|
@@ -1956,6 +1993,20 @@ export const de_PutFunctionEventInvokeConfigCommand = async (output, context) =>
|
|
|
1956
1993
|
Object.assign(contents, doc);
|
|
1957
1994
|
return contents;
|
|
1958
1995
|
};
|
|
1996
|
+
export const de_PutFunctionRecursionConfigCommand = async (output, context) => {
|
|
1997
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1998
|
+
return de_CommandError(output, context);
|
|
1999
|
+
}
|
|
2000
|
+
const contents = map({
|
|
2001
|
+
$metadata: deserializeMetadata(output),
|
|
2002
|
+
});
|
|
2003
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2004
|
+
const doc = take(data, {
|
|
2005
|
+
RecursiveLoop: __expectString,
|
|
2006
|
+
});
|
|
2007
|
+
Object.assign(contents, doc);
|
|
2008
|
+
return contents;
|
|
2009
|
+
};
|
|
1959
2010
|
export const de_PutProvisionedConcurrencyConfigCommand = async (output, context) => {
|
|
1960
2011
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1961
2012
|
return de_CommandError(output, context);
|
package/dist-types/Lambda.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ import { GetFunctionCommandInput, GetFunctionCommandOutput } from "./commands/Ge
|
|
|
25
25
|
import { GetFunctionConcurrencyCommandInput, GetFunctionConcurrencyCommandOutput } from "./commands/GetFunctionConcurrencyCommand";
|
|
26
26
|
import { GetFunctionConfigurationCommandInput, GetFunctionConfigurationCommandOutput } from "./commands/GetFunctionConfigurationCommand";
|
|
27
27
|
import { GetFunctionEventInvokeConfigCommandInput, GetFunctionEventInvokeConfigCommandOutput } from "./commands/GetFunctionEventInvokeConfigCommand";
|
|
28
|
+
import { GetFunctionRecursionConfigCommandInput, GetFunctionRecursionConfigCommandOutput } from "./commands/GetFunctionRecursionConfigCommand";
|
|
28
29
|
import { GetFunctionUrlConfigCommandInput, GetFunctionUrlConfigCommandOutput } from "./commands/GetFunctionUrlConfigCommand";
|
|
29
30
|
import { GetLayerVersionByArnCommandInput, GetLayerVersionByArnCommandOutput } from "./commands/GetLayerVersionByArnCommand";
|
|
30
31
|
import { GetLayerVersionCommandInput, GetLayerVersionCommandOutput } from "./commands/GetLayerVersionCommand";
|
|
@@ -52,6 +53,7 @@ import { PublishVersionCommandInput, PublishVersionCommandOutput } from "./comma
|
|
|
52
53
|
import { PutFunctionCodeSigningConfigCommandInput, PutFunctionCodeSigningConfigCommandOutput } from "./commands/PutFunctionCodeSigningConfigCommand";
|
|
53
54
|
import { PutFunctionConcurrencyCommandInput, PutFunctionConcurrencyCommandOutput } from "./commands/PutFunctionConcurrencyCommand";
|
|
54
55
|
import { PutFunctionEventInvokeConfigCommandInput, PutFunctionEventInvokeConfigCommandOutput } from "./commands/PutFunctionEventInvokeConfigCommand";
|
|
56
|
+
import { PutFunctionRecursionConfigCommandInput, PutFunctionRecursionConfigCommandOutput } from "./commands/PutFunctionRecursionConfigCommand";
|
|
55
57
|
import { PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyConfigCommandOutput } from "./commands/PutProvisionedConcurrencyConfigCommand";
|
|
56
58
|
import { PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput } from "./commands/PutRuntimeManagementConfigCommand";
|
|
57
59
|
import { RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput } from "./commands/RemoveLayerVersionPermissionCommand";
|
|
@@ -224,6 +226,12 @@ export interface Lambda {
|
|
|
224
226
|
getFunctionEventInvokeConfig(args: GetFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionEventInvokeConfigCommandOutput>;
|
|
225
227
|
getFunctionEventInvokeConfig(args: GetFunctionEventInvokeConfigCommandInput, cb: (err: any, data?: GetFunctionEventInvokeConfigCommandOutput) => void): void;
|
|
226
228
|
getFunctionEventInvokeConfig(args: GetFunctionEventInvokeConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionEventInvokeConfigCommandOutput) => void): void;
|
|
229
|
+
/**
|
|
230
|
+
* @see {@link GetFunctionRecursionConfigCommand}
|
|
231
|
+
*/
|
|
232
|
+
getFunctionRecursionConfig(args: GetFunctionRecursionConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionRecursionConfigCommandOutput>;
|
|
233
|
+
getFunctionRecursionConfig(args: GetFunctionRecursionConfigCommandInput, cb: (err: any, data?: GetFunctionRecursionConfigCommandOutput) => void): void;
|
|
234
|
+
getFunctionRecursionConfig(args: GetFunctionRecursionConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionRecursionConfigCommandOutput) => void): void;
|
|
227
235
|
/**
|
|
228
236
|
* @see {@link GetFunctionUrlConfigCommand}
|
|
229
237
|
*/
|
|
@@ -390,6 +398,12 @@ export interface Lambda {
|
|
|
390
398
|
putFunctionEventInvokeConfig(args: PutFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Promise<PutFunctionEventInvokeConfigCommandOutput>;
|
|
391
399
|
putFunctionEventInvokeConfig(args: PutFunctionEventInvokeConfigCommandInput, cb: (err: any, data?: PutFunctionEventInvokeConfigCommandOutput) => void): void;
|
|
392
400
|
putFunctionEventInvokeConfig(args: PutFunctionEventInvokeConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFunctionEventInvokeConfigCommandOutput) => void): void;
|
|
401
|
+
/**
|
|
402
|
+
* @see {@link PutFunctionRecursionConfigCommand}
|
|
403
|
+
*/
|
|
404
|
+
putFunctionRecursionConfig(args: PutFunctionRecursionConfigCommandInput, options?: __HttpHandlerOptions): Promise<PutFunctionRecursionConfigCommandOutput>;
|
|
405
|
+
putFunctionRecursionConfig(args: PutFunctionRecursionConfigCommandInput, cb: (err: any, data?: PutFunctionRecursionConfigCommandOutput) => void): void;
|
|
406
|
+
putFunctionRecursionConfig(args: PutFunctionRecursionConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFunctionRecursionConfigCommandOutput) => void): void;
|
|
393
407
|
/**
|
|
394
408
|
* @see {@link PutProvisionedConcurrencyConfigCommand}
|
|
395
409
|
*/
|
|
@@ -34,6 +34,7 @@ import { GetFunctionCommandInput, GetFunctionCommandOutput } from "./commands/Ge
|
|
|
34
34
|
import { GetFunctionConcurrencyCommandInput, GetFunctionConcurrencyCommandOutput } from "./commands/GetFunctionConcurrencyCommand";
|
|
35
35
|
import { GetFunctionConfigurationCommandInput, GetFunctionConfigurationCommandOutput } from "./commands/GetFunctionConfigurationCommand";
|
|
36
36
|
import { GetFunctionEventInvokeConfigCommandInput, GetFunctionEventInvokeConfigCommandOutput } from "./commands/GetFunctionEventInvokeConfigCommand";
|
|
37
|
+
import { GetFunctionRecursionConfigCommandInput, GetFunctionRecursionConfigCommandOutput } from "./commands/GetFunctionRecursionConfigCommand";
|
|
37
38
|
import { GetFunctionUrlConfigCommandInput, GetFunctionUrlConfigCommandOutput } from "./commands/GetFunctionUrlConfigCommand";
|
|
38
39
|
import { GetLayerVersionByArnCommandInput, GetLayerVersionByArnCommandOutput } from "./commands/GetLayerVersionByArnCommand";
|
|
39
40
|
import { GetLayerVersionCommandInput, GetLayerVersionCommandOutput } from "./commands/GetLayerVersionCommand";
|
|
@@ -61,6 +62,7 @@ import { PublishVersionCommandInput, PublishVersionCommandOutput } from "./comma
|
|
|
61
62
|
import { PutFunctionCodeSigningConfigCommandInput, PutFunctionCodeSigningConfigCommandOutput } from "./commands/PutFunctionCodeSigningConfigCommand";
|
|
62
63
|
import { PutFunctionConcurrencyCommandInput, PutFunctionConcurrencyCommandOutput } from "./commands/PutFunctionConcurrencyCommand";
|
|
63
64
|
import { PutFunctionEventInvokeConfigCommandInput, PutFunctionEventInvokeConfigCommandOutput } from "./commands/PutFunctionEventInvokeConfigCommand";
|
|
65
|
+
import { PutFunctionRecursionConfigCommandInput, PutFunctionRecursionConfigCommandOutput } from "./commands/PutFunctionRecursionConfigCommand";
|
|
64
66
|
import { PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyConfigCommandOutput } from "./commands/PutProvisionedConcurrencyConfigCommand";
|
|
65
67
|
import { PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput } from "./commands/PutRuntimeManagementConfigCommand";
|
|
66
68
|
import { RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput } from "./commands/RemoveLayerVersionPermissionCommand";
|
|
@@ -80,11 +82,11 @@ export { __Client };
|
|
|
80
82
|
/**
|
|
81
83
|
* @public
|
|
82
84
|
*/
|
|
83
|
-
export type ServiceInputTypes = AddLayerVersionPermissionCommandInput | AddPermissionCommandInput | CreateAliasCommandInput | CreateCodeSigningConfigCommandInput | CreateEventSourceMappingCommandInput | CreateFunctionCommandInput | CreateFunctionUrlConfigCommandInput | DeleteAliasCommandInput | DeleteCodeSigningConfigCommandInput | DeleteEventSourceMappingCommandInput | DeleteFunctionCodeSigningConfigCommandInput | DeleteFunctionCommandInput | DeleteFunctionConcurrencyCommandInput | DeleteFunctionEventInvokeConfigCommandInput | DeleteFunctionUrlConfigCommandInput | DeleteLayerVersionCommandInput | DeleteProvisionedConcurrencyConfigCommandInput | GetAccountSettingsCommandInput | GetAliasCommandInput | GetCodeSigningConfigCommandInput | GetEventSourceMappingCommandInput | GetFunctionCodeSigningConfigCommandInput | GetFunctionCommandInput | GetFunctionConcurrencyCommandInput | GetFunctionConfigurationCommandInput | GetFunctionEventInvokeConfigCommandInput | GetFunctionUrlConfigCommandInput | GetLayerVersionByArnCommandInput | GetLayerVersionCommandInput | GetLayerVersionPolicyCommandInput | GetPolicyCommandInput | GetProvisionedConcurrencyConfigCommandInput | GetRuntimeManagementConfigCommandInput | InvokeAsyncCommandInput | InvokeCommandInput | InvokeWithResponseStreamCommandInput | ListAliasesCommandInput | ListCodeSigningConfigsCommandInput | ListEventSourceMappingsCommandInput | ListFunctionEventInvokeConfigsCommandInput | ListFunctionUrlConfigsCommandInput | ListFunctionsByCodeSigningConfigCommandInput | ListFunctionsCommandInput | ListLayerVersionsCommandInput | ListLayersCommandInput | ListProvisionedConcurrencyConfigsCommandInput | ListTagsCommandInput | ListVersionsByFunctionCommandInput | PublishLayerVersionCommandInput | PublishVersionCommandInput | PutFunctionCodeSigningConfigCommandInput | PutFunctionConcurrencyCommandInput | PutFunctionEventInvokeConfigCommandInput | PutProvisionedConcurrencyConfigCommandInput | PutRuntimeManagementConfigCommandInput | RemoveLayerVersionPermissionCommandInput | RemovePermissionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAliasCommandInput | UpdateCodeSigningConfigCommandInput | UpdateEventSourceMappingCommandInput | UpdateFunctionCodeCommandInput | UpdateFunctionConfigurationCommandInput | UpdateFunctionEventInvokeConfigCommandInput | UpdateFunctionUrlConfigCommandInput;
|
|
85
|
+
export type ServiceInputTypes = AddLayerVersionPermissionCommandInput | AddPermissionCommandInput | CreateAliasCommandInput | CreateCodeSigningConfigCommandInput | CreateEventSourceMappingCommandInput | CreateFunctionCommandInput | CreateFunctionUrlConfigCommandInput | DeleteAliasCommandInput | DeleteCodeSigningConfigCommandInput | DeleteEventSourceMappingCommandInput | DeleteFunctionCodeSigningConfigCommandInput | DeleteFunctionCommandInput | DeleteFunctionConcurrencyCommandInput | DeleteFunctionEventInvokeConfigCommandInput | DeleteFunctionUrlConfigCommandInput | DeleteLayerVersionCommandInput | DeleteProvisionedConcurrencyConfigCommandInput | GetAccountSettingsCommandInput | GetAliasCommandInput | GetCodeSigningConfigCommandInput | GetEventSourceMappingCommandInput | GetFunctionCodeSigningConfigCommandInput | GetFunctionCommandInput | GetFunctionConcurrencyCommandInput | GetFunctionConfigurationCommandInput | GetFunctionEventInvokeConfigCommandInput | GetFunctionRecursionConfigCommandInput | GetFunctionUrlConfigCommandInput | GetLayerVersionByArnCommandInput | GetLayerVersionCommandInput | GetLayerVersionPolicyCommandInput | GetPolicyCommandInput | GetProvisionedConcurrencyConfigCommandInput | GetRuntimeManagementConfigCommandInput | InvokeAsyncCommandInput | InvokeCommandInput | InvokeWithResponseStreamCommandInput | ListAliasesCommandInput | ListCodeSigningConfigsCommandInput | ListEventSourceMappingsCommandInput | ListFunctionEventInvokeConfigsCommandInput | ListFunctionUrlConfigsCommandInput | ListFunctionsByCodeSigningConfigCommandInput | ListFunctionsCommandInput | ListLayerVersionsCommandInput | ListLayersCommandInput | ListProvisionedConcurrencyConfigsCommandInput | ListTagsCommandInput | ListVersionsByFunctionCommandInput | PublishLayerVersionCommandInput | PublishVersionCommandInput | PutFunctionCodeSigningConfigCommandInput | PutFunctionConcurrencyCommandInput | PutFunctionEventInvokeConfigCommandInput | PutFunctionRecursionConfigCommandInput | PutProvisionedConcurrencyConfigCommandInput | PutRuntimeManagementConfigCommandInput | RemoveLayerVersionPermissionCommandInput | RemovePermissionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAliasCommandInput | UpdateCodeSigningConfigCommandInput | UpdateEventSourceMappingCommandInput | UpdateFunctionCodeCommandInput | UpdateFunctionConfigurationCommandInput | UpdateFunctionEventInvokeConfigCommandInput | UpdateFunctionUrlConfigCommandInput;
|
|
84
86
|
/**
|
|
85
87
|
* @public
|
|
86
88
|
*/
|
|
87
|
-
export type ServiceOutputTypes = AddLayerVersionPermissionCommandOutput | AddPermissionCommandOutput | CreateAliasCommandOutput | CreateCodeSigningConfigCommandOutput | CreateEventSourceMappingCommandOutput | CreateFunctionCommandOutput | CreateFunctionUrlConfigCommandOutput | DeleteAliasCommandOutput | DeleteCodeSigningConfigCommandOutput | DeleteEventSourceMappingCommandOutput | DeleteFunctionCodeSigningConfigCommandOutput | DeleteFunctionCommandOutput | DeleteFunctionConcurrencyCommandOutput | DeleteFunctionEventInvokeConfigCommandOutput | DeleteFunctionUrlConfigCommandOutput | DeleteLayerVersionCommandOutput | DeleteProvisionedConcurrencyConfigCommandOutput | GetAccountSettingsCommandOutput | GetAliasCommandOutput | GetCodeSigningConfigCommandOutput | GetEventSourceMappingCommandOutput | GetFunctionCodeSigningConfigCommandOutput | GetFunctionCommandOutput | GetFunctionConcurrencyCommandOutput | GetFunctionConfigurationCommandOutput | GetFunctionEventInvokeConfigCommandOutput | GetFunctionUrlConfigCommandOutput | GetLayerVersionByArnCommandOutput | GetLayerVersionCommandOutput | GetLayerVersionPolicyCommandOutput | GetPolicyCommandOutput | GetProvisionedConcurrencyConfigCommandOutput | GetRuntimeManagementConfigCommandOutput | InvokeAsyncCommandOutput | InvokeCommandOutput | InvokeWithResponseStreamCommandOutput | ListAliasesCommandOutput | ListCodeSigningConfigsCommandOutput | ListEventSourceMappingsCommandOutput | ListFunctionEventInvokeConfigsCommandOutput | ListFunctionUrlConfigsCommandOutput | ListFunctionsByCodeSigningConfigCommandOutput | ListFunctionsCommandOutput | ListLayerVersionsCommandOutput | ListLayersCommandOutput | ListProvisionedConcurrencyConfigsCommandOutput | ListTagsCommandOutput | ListVersionsByFunctionCommandOutput | PublishLayerVersionCommandOutput | PublishVersionCommandOutput | PutFunctionCodeSigningConfigCommandOutput | PutFunctionConcurrencyCommandOutput | PutFunctionEventInvokeConfigCommandOutput | PutProvisionedConcurrencyConfigCommandOutput | PutRuntimeManagementConfigCommandOutput | RemoveLayerVersionPermissionCommandOutput | RemovePermissionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAliasCommandOutput | UpdateCodeSigningConfigCommandOutput | UpdateEventSourceMappingCommandOutput | UpdateFunctionCodeCommandOutput | UpdateFunctionConfigurationCommandOutput | UpdateFunctionEventInvokeConfigCommandOutput | UpdateFunctionUrlConfigCommandOutput;
|
|
89
|
+
export type ServiceOutputTypes = AddLayerVersionPermissionCommandOutput | AddPermissionCommandOutput | CreateAliasCommandOutput | CreateCodeSigningConfigCommandOutput | CreateEventSourceMappingCommandOutput | CreateFunctionCommandOutput | CreateFunctionUrlConfigCommandOutput | DeleteAliasCommandOutput | DeleteCodeSigningConfigCommandOutput | DeleteEventSourceMappingCommandOutput | DeleteFunctionCodeSigningConfigCommandOutput | DeleteFunctionCommandOutput | DeleteFunctionConcurrencyCommandOutput | DeleteFunctionEventInvokeConfigCommandOutput | DeleteFunctionUrlConfigCommandOutput | DeleteLayerVersionCommandOutput | DeleteProvisionedConcurrencyConfigCommandOutput | GetAccountSettingsCommandOutput | GetAliasCommandOutput | GetCodeSigningConfigCommandOutput | GetEventSourceMappingCommandOutput | GetFunctionCodeSigningConfigCommandOutput | GetFunctionCommandOutput | GetFunctionConcurrencyCommandOutput | GetFunctionConfigurationCommandOutput | GetFunctionEventInvokeConfigCommandOutput | GetFunctionRecursionConfigCommandOutput | GetFunctionUrlConfigCommandOutput | GetLayerVersionByArnCommandOutput | GetLayerVersionCommandOutput | GetLayerVersionPolicyCommandOutput | GetPolicyCommandOutput | GetProvisionedConcurrencyConfigCommandOutput | GetRuntimeManagementConfigCommandOutput | InvokeAsyncCommandOutput | InvokeCommandOutput | InvokeWithResponseStreamCommandOutput | ListAliasesCommandOutput | ListCodeSigningConfigsCommandOutput | ListEventSourceMappingsCommandOutput | ListFunctionEventInvokeConfigsCommandOutput | ListFunctionUrlConfigsCommandOutput | ListFunctionsByCodeSigningConfigCommandOutput | ListFunctionsCommandOutput | ListLayerVersionsCommandOutput | ListLayersCommandOutput | ListProvisionedConcurrencyConfigsCommandOutput | ListTagsCommandOutput | ListVersionsByFunctionCommandOutput | PublishLayerVersionCommandOutput | PublishVersionCommandOutput | PutFunctionCodeSigningConfigCommandOutput | PutFunctionConcurrencyCommandOutput | PutFunctionEventInvokeConfigCommandOutput | PutFunctionRecursionConfigCommandOutput | PutProvisionedConcurrencyConfigCommandOutput | PutRuntimeManagementConfigCommandOutput | RemoveLayerVersionPermissionCommandOutput | RemovePermissionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAliasCommandOutput | UpdateCodeSigningConfigCommandOutput | UpdateEventSourceMappingCommandOutput | UpdateFunctionCodeCommandOutput | UpdateFunctionConfigurationCommandOutput | UpdateFunctionEventInvokeConfigCommandOutput | UpdateFunctionUrlConfigCommandOutput;
|
|
88
90
|
/**
|
|
89
91
|
* @public
|
|
90
92
|
*/
|
|
@@ -70,8 +70,17 @@ declare const AddLayerVersionPermissionCommand_base: {
|
|
|
70
70
|
* <p>The permissions policy for the resource is too large. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link PreconditionFailedException} (client fault)
|
|
73
|
-
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias
|
|
74
|
-
*
|
|
73
|
+
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.</p>
|
|
74
|
+
* <ul>
|
|
75
|
+
* <li>
|
|
76
|
+
* <p>
|
|
77
|
+
* <b>For AddPermission and RemovePermission API operations:</b> Call <code>GetPolicy</code> to retrieve the latest RevisionId for your resource.</p>
|
|
78
|
+
* </li>
|
|
79
|
+
* <li>
|
|
80
|
+
* <p>
|
|
81
|
+
* <b>For all other API operations:</b> Call <code>GetFunction</code> or <code>GetAlias</code> to retrieve the latest RevisionId for your resource.</p>
|
|
82
|
+
* </li>
|
|
83
|
+
* </ul>
|
|
75
84
|
*
|
|
76
85
|
* @throws {@link ResourceConflictException} (client fault)
|
|
77
86
|
* <p>The resource already exists, or another operation is in progress.</p>
|
|
@@ -80,8 +80,17 @@ declare const AddPermissionCommand_base: {
|
|
|
80
80
|
* <p>The permissions policy for the resource is too large. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
|
|
81
81
|
*
|
|
82
82
|
* @throws {@link PreconditionFailedException} (client fault)
|
|
83
|
-
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias
|
|
84
|
-
*
|
|
83
|
+
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.</p>
|
|
84
|
+
* <ul>
|
|
85
|
+
* <li>
|
|
86
|
+
* <p>
|
|
87
|
+
* <b>For AddPermission and RemovePermission API operations:</b> Call <code>GetPolicy</code> to retrieve the latest RevisionId for your resource.</p>
|
|
88
|
+
* </li>
|
|
89
|
+
* <li>
|
|
90
|
+
* <p>
|
|
91
|
+
* <b>For all other API operations:</b> Call <code>GetFunction</code> or <code>GetAlias</code> to retrieve the latest RevisionId for your resource.</p>
|
|
92
|
+
* </li>
|
|
93
|
+
* </ul>
|
|
85
94
|
*
|
|
86
95
|
* @throws {@link ResourceConflictException} (client fault)
|
|
87
96
|
* <p>The resource already exists, or another operation is in progress.</p>
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import { GetFunctionRecursionConfigRequest, GetFunctionRecursionConfigResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetFunctionRecursionConfigCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetFunctionRecursionConfigCommandInput extends GetFunctionRecursionConfigRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetFunctionRecursionConfigCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetFunctionRecursionConfigCommandOutput extends GetFunctionRecursionConfigResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetFunctionRecursionConfigCommand_base: {
|
|
25
|
+
new (input: GetFunctionRecursionConfigCommandInput): import("@smithy/smithy-client").CommandImpl<GetFunctionRecursionConfigCommandInput, GetFunctionRecursionConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetFunctionRecursionConfigCommandInput): import("@smithy/smithy-client").CommandImpl<GetFunctionRecursionConfigCommandInput, GetFunctionRecursionConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns your function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-recursion.html">recursive loop detection</a> configuration.
|
|
31
|
+
* </p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { LambdaClient, GetFunctionRecursionConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
36
|
+
* // const { LambdaClient, GetFunctionRecursionConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
37
|
+
* const client = new LambdaClient(config);
|
|
38
|
+
* const input = { // GetFunctionRecursionConfigRequest
|
|
39
|
+
* FunctionName: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetFunctionRecursionConfigCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetFunctionRecursionConfigResponse
|
|
44
|
+
* // RecursiveLoop: "Allow" || "Terminate",
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param GetFunctionRecursionConfigCommandInput - {@link GetFunctionRecursionConfigCommandInput}
|
|
50
|
+
* @returns {@link GetFunctionRecursionConfigCommandOutput}
|
|
51
|
+
* @see {@link GetFunctionRecursionConfigCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link GetFunctionRecursionConfigCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
56
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ServiceException} (server fault)
|
|
62
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
65
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link LambdaServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class GetFunctionRecursionConfigCommand extends GetFunctionRecursionConfigCommand_base {
|
|
73
|
+
}
|
|
@@ -167,8 +167,17 @@ declare const PublishVersionCommand_base: {
|
|
|
167
167
|
* <p>One of the parameters in the request is not valid.</p>
|
|
168
168
|
*
|
|
169
169
|
* @throws {@link PreconditionFailedException} (client fault)
|
|
170
|
-
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias
|
|
171
|
-
*
|
|
170
|
+
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.</p>
|
|
171
|
+
* <ul>
|
|
172
|
+
* <li>
|
|
173
|
+
* <p>
|
|
174
|
+
* <b>For AddPermission and RemovePermission API operations:</b> Call <code>GetPolicy</code> to retrieve the latest RevisionId for your resource.</p>
|
|
175
|
+
* </li>
|
|
176
|
+
* <li>
|
|
177
|
+
* <p>
|
|
178
|
+
* <b>For all other API operations:</b> Call <code>GetFunction</code> or <code>GetAlias</code> to retrieve the latest RevisionId for your resource.</p>
|
|
179
|
+
* </li>
|
|
180
|
+
* </ul>
|
|
172
181
|
*
|
|
173
182
|
* @throws {@link ResourceConflictException} (client fault)
|
|
174
183
|
* <p>The resource already exists, or another operation is in progress.</p>
|