@aws-sdk/client-lambda 3.658.0 → 3.659.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 +0 -40
- package/dist-cjs/index.js +3 -261
- package/dist-es/Lambda.js +0 -10
- package/dist-es/commands/index.js +0 -5
- package/dist-es/models/models_0.js +0 -14
- package/dist-es/protocols/Aws_restJson1.js +3 -155
- package/dist-types/Lambda.d.ts +0 -35
- package/dist-types/LambdaClient.d.ts +2 -7
- package/dist-types/commands/AddPermissionCommand.d.ts +2 -7
- package/dist-types/commands/CreateFunctionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/commands/RemovePermissionCommand.d.ts +1 -6
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +0 -5
- package/dist-types/models/models_0.d.ts +3 -177
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -45
- package/dist-types/ts3.4/Lambda.d.ts +0 -85
- package/dist-types/ts3.4/LambdaClient.d.ts +0 -30
- package/dist-types/ts3.4/commands/index.d.ts +0 -5
- package/dist-types/ts3.4/models/models_0.d.ts +0 -46
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -60
- package/package.json +13 -13
- package/dist-es/commands/DeleteResourcePolicyCommand.js +0 -22
- package/dist-es/commands/GetPublicAccessBlockConfigCommand.js +0 -22
- package/dist-es/commands/GetResourcePolicyCommand.js +0 -22
- package/dist-es/commands/PutPublicAccessBlockConfigCommand.js +0 -22
- package/dist-es/commands/PutResourcePolicyCommand.js +0 -22
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +0 -102
- package/dist-types/commands/GetPublicAccessBlockConfigCommand.d.ts +0 -90
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +0 -88
- package/dist-types/commands/PutPublicAccessBlockConfigCommand.d.ts +0 -101
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +0 -124
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +0 -46
- package/dist-types/ts3.4/commands/GetPublicAccessBlockConfigCommand.d.ts +0 -51
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +0 -51
- package/dist-types/ts3.4/commands/PutPublicAccessBlockConfigCommand.d.ts +0 -51
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +0 -51
package/README.md
CHANGED
|
@@ -403,14 +403,6 @@ DeleteProvisionedConcurrencyConfig
|
|
|
403
403
|
|
|
404
404
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/DeleteProvisionedConcurrencyConfigCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/DeleteProvisionedConcurrencyConfigCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/DeleteProvisionedConcurrencyConfigCommandOutput/)
|
|
405
405
|
|
|
406
|
-
</details>
|
|
407
|
-
<details>
|
|
408
|
-
<summary>
|
|
409
|
-
DeleteResourcePolicy
|
|
410
|
-
</summary>
|
|
411
|
-
|
|
412
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/DeleteResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/DeleteResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/DeleteResourcePolicyCommandOutput/)
|
|
413
|
-
|
|
414
406
|
</details>
|
|
415
407
|
<details>
|
|
416
408
|
<summary>
|
|
@@ -539,22 +531,6 @@ GetProvisionedConcurrencyConfig
|
|
|
539
531
|
|
|
540
532
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/GetProvisionedConcurrencyConfigCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/GetProvisionedConcurrencyConfigCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/GetProvisionedConcurrencyConfigCommandOutput/)
|
|
541
533
|
|
|
542
|
-
</details>
|
|
543
|
-
<details>
|
|
544
|
-
<summary>
|
|
545
|
-
GetPublicAccessBlockConfig
|
|
546
|
-
</summary>
|
|
547
|
-
|
|
548
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/GetPublicAccessBlockConfigCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/GetPublicAccessBlockConfigCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/GetPublicAccessBlockConfigCommandOutput/)
|
|
549
|
-
|
|
550
|
-
</details>
|
|
551
|
-
<details>
|
|
552
|
-
<summary>
|
|
553
|
-
GetResourcePolicy
|
|
554
|
-
</summary>
|
|
555
|
-
|
|
556
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/GetResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/GetResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/GetResourcePolicyCommandOutput/)
|
|
557
|
-
|
|
558
534
|
</details>
|
|
559
535
|
<details>
|
|
560
536
|
<summary>
|
|
@@ -739,22 +715,6 @@ PutProvisionedConcurrencyConfig
|
|
|
739
715
|
|
|
740
716
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/PutProvisionedConcurrencyConfigCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/PutProvisionedConcurrencyConfigCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/PutProvisionedConcurrencyConfigCommandOutput/)
|
|
741
717
|
|
|
742
|
-
</details>
|
|
743
|
-
<details>
|
|
744
|
-
<summary>
|
|
745
|
-
PutPublicAccessBlockConfig
|
|
746
|
-
</summary>
|
|
747
|
-
|
|
748
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/PutPublicAccessBlockConfigCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/PutPublicAccessBlockConfigCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/PutPublicAccessBlockConfigCommandOutput/)
|
|
749
|
-
|
|
750
|
-
</details>
|
|
751
|
-
<details>
|
|
752
|
-
<summary>
|
|
753
|
-
PutResourcePolicy
|
|
754
|
-
</summary>
|
|
755
|
-
|
|
756
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/PutResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/PutResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/PutResourcePolicyCommandOutput/)
|
|
757
|
-
|
|
758
718
|
</details>
|
|
759
719
|
<details>
|
|
760
720
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -45,7 +45,6 @@ __export(src_exports, {
|
|
|
45
45
|
DeleteFunctionUrlConfigCommand: () => DeleteFunctionUrlConfigCommand,
|
|
46
46
|
DeleteLayerVersionCommand: () => DeleteLayerVersionCommand,
|
|
47
47
|
DeleteProvisionedConcurrencyConfigCommand: () => DeleteProvisionedConcurrencyConfigCommand,
|
|
48
|
-
DeleteResourcePolicyCommand: () => DeleteResourcePolicyCommand,
|
|
49
48
|
EC2AccessDeniedException: () => EC2AccessDeniedException,
|
|
50
49
|
EC2ThrottledException: () => EC2ThrottledException,
|
|
51
50
|
EC2UnexpectedException: () => EC2UnexpectedException,
|
|
@@ -82,8 +81,6 @@ __export(src_exports, {
|
|
|
82
81
|
GetLayerVersionPolicyCommand: () => GetLayerVersionPolicyCommand,
|
|
83
82
|
GetPolicyCommand: () => GetPolicyCommand,
|
|
84
83
|
GetProvisionedConcurrencyConfigCommand: () => GetProvisionedConcurrencyConfigCommand,
|
|
85
|
-
GetPublicAccessBlockConfigCommand: () => GetPublicAccessBlockConfigCommand,
|
|
86
|
-
GetResourcePolicyCommand: () => GetResourcePolicyCommand,
|
|
87
84
|
GetRuntimeManagementConfigCommand: () => GetRuntimeManagementConfigCommand,
|
|
88
85
|
ImageConfigErrorFilterSensitiveLog: () => ImageConfigErrorFilterSensitiveLog,
|
|
89
86
|
ImageConfigResponseFilterSensitiveLog: () => ImageConfigResponseFilterSensitiveLog,
|
|
@@ -138,7 +135,6 @@ __export(src_exports, {
|
|
|
138
135
|
PreconditionFailedException: () => PreconditionFailedException,
|
|
139
136
|
ProvisionedConcurrencyConfigNotFoundException: () => ProvisionedConcurrencyConfigNotFoundException,
|
|
140
137
|
ProvisionedConcurrencyStatusEnum: () => ProvisionedConcurrencyStatusEnum,
|
|
141
|
-
PublicPolicyException: () => PublicPolicyException,
|
|
142
138
|
PublishLayerVersionCommand: () => PublishLayerVersionCommand,
|
|
143
139
|
PublishLayerVersionRequestFilterSensitiveLog: () => PublishLayerVersionRequestFilterSensitiveLog,
|
|
144
140
|
PublishVersionCommand: () => PublishVersionCommand,
|
|
@@ -147,8 +143,6 @@ __export(src_exports, {
|
|
|
147
143
|
PutFunctionEventInvokeConfigCommand: () => PutFunctionEventInvokeConfigCommand,
|
|
148
144
|
PutFunctionRecursionConfigCommand: () => PutFunctionRecursionConfigCommand,
|
|
149
145
|
PutProvisionedConcurrencyConfigCommand: () => PutProvisionedConcurrencyConfigCommand,
|
|
150
|
-
PutPublicAccessBlockConfigCommand: () => PutPublicAccessBlockConfigCommand,
|
|
151
|
-
PutResourcePolicyCommand: () => PutResourcePolicyCommand,
|
|
152
146
|
PutRuntimeManagementConfigCommand: () => PutRuntimeManagementConfigCommand,
|
|
153
147
|
RecursiveInvocationException: () => RecursiveInvocationException,
|
|
154
148
|
RecursiveLoop: () => RecursiveLoop,
|
|
@@ -527,25 +521,6 @@ var FunctionUrlAuthType = {
|
|
|
527
521
|
AWS_IAM: "AWS_IAM",
|
|
528
522
|
NONE: "NONE"
|
|
529
523
|
};
|
|
530
|
-
var _PublicPolicyException = class _PublicPolicyException extends LambdaServiceException {
|
|
531
|
-
/**
|
|
532
|
-
* @internal
|
|
533
|
-
*/
|
|
534
|
-
constructor(opts) {
|
|
535
|
-
super({
|
|
536
|
-
name: "PublicPolicyException",
|
|
537
|
-
$fault: "client",
|
|
538
|
-
...opts
|
|
539
|
-
});
|
|
540
|
-
this.name = "PublicPolicyException";
|
|
541
|
-
this.$fault = "client";
|
|
542
|
-
Object.setPrototypeOf(this, _PublicPolicyException.prototype);
|
|
543
|
-
this.Type = opts.Type;
|
|
544
|
-
this.Message = opts.Message;
|
|
545
|
-
}
|
|
546
|
-
};
|
|
547
|
-
__name(_PublicPolicyException, "PublicPolicyException");
|
|
548
|
-
var PublicPolicyException = _PublicPolicyException;
|
|
549
524
|
var ApplicationLogLevel = {
|
|
550
525
|
Debug: "DEBUG",
|
|
551
526
|
Error: "ERROR",
|
|
@@ -1738,18 +1713,6 @@ var se_DeleteProvisionedConcurrencyConfigCommand = /* @__PURE__ */ __name(async
|
|
|
1738
1713
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
1739
1714
|
return b.build();
|
|
1740
1715
|
}, "se_DeleteProvisionedConcurrencyConfigCommand");
|
|
1741
|
-
var se_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1742
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1743
|
-
const headers = {};
|
|
1744
|
-
b.bp("/2024-09-16/resource-policy/{ResourceArn}");
|
|
1745
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
1746
|
-
const query = (0, import_smithy_client.map)({
|
|
1747
|
-
[_RI]: [, input[_RI]]
|
|
1748
|
-
});
|
|
1749
|
-
let body;
|
|
1750
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
1751
|
-
return b.build();
|
|
1752
|
-
}, "se_DeleteResourcePolicyCommand");
|
|
1753
1716
|
var se_GetAccountSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1754
1717
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1755
1718
|
const headers = {};
|
|
@@ -1917,24 +1880,6 @@ var se_GetProvisionedConcurrencyConfigCommand = /* @__PURE__ */ __name(async (in
|
|
|
1917
1880
|
b.m("GET").h(headers).q(query).b(body);
|
|
1918
1881
|
return b.build();
|
|
1919
1882
|
}, "se_GetProvisionedConcurrencyConfigCommand");
|
|
1920
|
-
var se_GetPublicAccessBlockConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1921
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1922
|
-
const headers = {};
|
|
1923
|
-
b.bp("/2024-09-16/public-access-block/{ResourceArn}");
|
|
1924
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
1925
|
-
let body;
|
|
1926
|
-
b.m("GET").h(headers).b(body);
|
|
1927
|
-
return b.build();
|
|
1928
|
-
}, "se_GetPublicAccessBlockConfigCommand");
|
|
1929
|
-
var se_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1930
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1931
|
-
const headers = {};
|
|
1932
|
-
b.bp("/2024-09-16/resource-policy/{ResourceArn}");
|
|
1933
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
1934
|
-
let body;
|
|
1935
|
-
b.m("GET").h(headers).b(body);
|
|
1936
|
-
return b.build();
|
|
1937
|
-
}, "se_GetResourcePolicyCommand");
|
|
1938
1883
|
var se_GetRuntimeManagementConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1939
1884
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1940
1885
|
const headers = {};
|
|
@@ -1949,7 +1894,7 @@ var se_GetRuntimeManagementConfigCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1949
1894
|
}, "se_GetRuntimeManagementConfigCommand");
|
|
1950
1895
|
var se_InvokeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1951
1896
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1952
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
1897
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
1953
1898
|
"content-type": "application/octet-stream",
|
|
1954
1899
|
[_xait]: input[_IT],
|
|
1955
1900
|
[_xalt]: input[_LT],
|
|
@@ -1983,7 +1928,7 @@ var se_InvokeAsyncCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1983
1928
|
}, "se_InvokeAsyncCommand");
|
|
1984
1929
|
var se_InvokeWithResponseStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1985
1930
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1986
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
1931
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
1987
1932
|
"content-type": "application/octet-stream",
|
|
1988
1933
|
[_xait]: input[_IT],
|
|
1989
1934
|
[_xalt]: input[_LT],
|
|
@@ -2285,39 +2230,6 @@ var se_PutProvisionedConcurrencyConfigCommand = /* @__PURE__ */ __name(async (in
|
|
|
2285
2230
|
b.m("PUT").h(headers).q(query).b(body);
|
|
2286
2231
|
return b.build();
|
|
2287
2232
|
}, "se_PutProvisionedConcurrencyConfigCommand");
|
|
2288
|
-
var se_PutPublicAccessBlockConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2289
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
2290
|
-
const headers = {
|
|
2291
|
-
"content-type": "application/json"
|
|
2292
|
-
};
|
|
2293
|
-
b.bp("/2024-09-16/public-access-block/{ResourceArn}");
|
|
2294
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
2295
|
-
let body;
|
|
2296
|
-
body = JSON.stringify(
|
|
2297
|
-
(0, import_smithy_client.take)(input, {
|
|
2298
|
-
PublicAccessBlockConfig: (_) => (0, import_smithy_client._json)(_)
|
|
2299
|
-
})
|
|
2300
|
-
);
|
|
2301
|
-
b.m("PUT").h(headers).b(body);
|
|
2302
|
-
return b.build();
|
|
2303
|
-
}, "se_PutPublicAccessBlockConfigCommand");
|
|
2304
|
-
var se_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2305
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
2306
|
-
const headers = {
|
|
2307
|
-
"content-type": "application/json"
|
|
2308
|
-
};
|
|
2309
|
-
b.bp("/2024-09-16/resource-policy/{ResourceArn}");
|
|
2310
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
2311
|
-
let body;
|
|
2312
|
-
body = JSON.stringify(
|
|
2313
|
-
(0, import_smithy_client.take)(input, {
|
|
2314
|
-
Policy: [],
|
|
2315
|
-
RevisionId: []
|
|
2316
|
-
})
|
|
2317
|
-
);
|
|
2318
|
-
b.m("PUT").h(headers).b(body);
|
|
2319
|
-
return b.build();
|
|
2320
|
-
}, "se_PutResourcePolicyCommand");
|
|
2321
2233
|
var se_PutRuntimeManagementConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2322
2234
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
2323
2235
|
const headers = {
|
|
@@ -2388,10 +2300,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
2388
2300
|
b.bp("/2017-03-31/tags/{Resource}");
|
|
2389
2301
|
b.p("Resource", () => input.Resource, "{Resource}", false);
|
|
2390
2302
|
const query = (0, import_smithy_client.map)({
|
|
2391
|
-
[_tK]: [
|
|
2392
|
-
(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null,
|
|
2393
|
-
() => (input[_TK] || []).map((_entry) => _entry)
|
|
2394
|
-
]
|
|
2303
|
+
[_tK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []]
|
|
2395
2304
|
});
|
|
2396
2305
|
let body;
|
|
2397
2306
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
@@ -2871,16 +2780,6 @@ var de_DeleteProvisionedConcurrencyConfigCommand = /* @__PURE__ */ __name(async
|
|
|
2871
2780
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2872
2781
|
return contents;
|
|
2873
2782
|
}, "de_DeleteProvisionedConcurrencyConfigCommand");
|
|
2874
|
-
var de_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2875
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2876
|
-
return de_CommandError(output, context);
|
|
2877
|
-
}
|
|
2878
|
-
const contents = (0, import_smithy_client.map)({
|
|
2879
|
-
$metadata: deserializeMetadata(output)
|
|
2880
|
-
});
|
|
2881
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2882
|
-
return contents;
|
|
2883
|
-
}, "de_DeleteResourcePolicyCommand");
|
|
2884
2783
|
var de_GetAccountSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2885
2784
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2886
2785
|
return de_CommandError(output, context);
|
|
@@ -3212,35 +3111,6 @@ var de_GetProvisionedConcurrencyConfigCommand = /* @__PURE__ */ __name(async (ou
|
|
|
3212
3111
|
Object.assign(contents, doc);
|
|
3213
3112
|
return contents;
|
|
3214
3113
|
}, "de_GetProvisionedConcurrencyConfigCommand");
|
|
3215
|
-
var de_GetPublicAccessBlockConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3216
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3217
|
-
return de_CommandError(output, context);
|
|
3218
|
-
}
|
|
3219
|
-
const contents = (0, import_smithy_client.map)({
|
|
3220
|
-
$metadata: deserializeMetadata(output)
|
|
3221
|
-
});
|
|
3222
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3223
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
3224
|
-
PublicAccessBlockConfig: import_smithy_client._json
|
|
3225
|
-
});
|
|
3226
|
-
Object.assign(contents, doc);
|
|
3227
|
-
return contents;
|
|
3228
|
-
}, "de_GetPublicAccessBlockConfigCommand");
|
|
3229
|
-
var de_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3230
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3231
|
-
return de_CommandError(output, context);
|
|
3232
|
-
}
|
|
3233
|
-
const contents = (0, import_smithy_client.map)({
|
|
3234
|
-
$metadata: deserializeMetadata(output)
|
|
3235
|
-
});
|
|
3236
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3237
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
3238
|
-
Policy: import_smithy_client.expectString,
|
|
3239
|
-
RevisionId: import_smithy_client.expectString
|
|
3240
|
-
});
|
|
3241
|
-
Object.assign(contents, doc);
|
|
3242
|
-
return contents;
|
|
3243
|
-
}, "de_GetResourcePolicyCommand");
|
|
3244
3114
|
var de_GetRuntimeManagementConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3245
3115
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3246
3116
|
return de_CommandError(output, context);
|
|
@@ -3633,35 +3503,6 @@ var de_PutProvisionedConcurrencyConfigCommand = /* @__PURE__ */ __name(async (ou
|
|
|
3633
3503
|
Object.assign(contents, doc);
|
|
3634
3504
|
return contents;
|
|
3635
3505
|
}, "de_PutProvisionedConcurrencyConfigCommand");
|
|
3636
|
-
var de_PutPublicAccessBlockConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3637
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3638
|
-
return de_CommandError(output, context);
|
|
3639
|
-
}
|
|
3640
|
-
const contents = (0, import_smithy_client.map)({
|
|
3641
|
-
$metadata: deserializeMetadata(output)
|
|
3642
|
-
});
|
|
3643
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3644
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
3645
|
-
PublicAccessBlockConfig: import_smithy_client._json
|
|
3646
|
-
});
|
|
3647
|
-
Object.assign(contents, doc);
|
|
3648
|
-
return contents;
|
|
3649
|
-
}, "de_PutPublicAccessBlockConfigCommand");
|
|
3650
|
-
var de_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3651
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3652
|
-
return de_CommandError(output, context);
|
|
3653
|
-
}
|
|
3654
|
-
const contents = (0, import_smithy_client.map)({
|
|
3655
|
-
$metadata: deserializeMetadata(output)
|
|
3656
|
-
});
|
|
3657
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3658
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
3659
|
-
Policy: import_smithy_client.expectString,
|
|
3660
|
-
RevisionId: import_smithy_client.expectString
|
|
3661
|
-
});
|
|
3662
|
-
Object.assign(contents, doc);
|
|
3663
|
-
return contents;
|
|
3664
|
-
}, "de_PutResourcePolicyCommand");
|
|
3665
3506
|
var de_PutRuntimeManagementConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3666
3507
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3667
3508
|
return de_CommandError(output, context);
|
|
@@ -3958,9 +3799,6 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3958
3799
|
case "TooManyRequestsException":
|
|
3959
3800
|
case "com.amazonaws.lambda#TooManyRequestsException":
|
|
3960
3801
|
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
3961
|
-
case "PublicPolicyException":
|
|
3962
|
-
case "com.amazonaws.lambda#PublicPolicyException":
|
|
3963
|
-
throw await de_PublicPolicyExceptionRes(parsedOutput, context);
|
|
3964
3802
|
case "CodeSigningConfigNotFoundException":
|
|
3965
3803
|
case "com.amazonaws.lambda#CodeSigningConfigNotFoundException":
|
|
3966
3804
|
throw await de_CodeSigningConfigNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -4415,20 +4253,6 @@ var de_ProvisionedConcurrencyConfigNotFoundExceptionRes = /* @__PURE__ */ __name
|
|
|
4415
4253
|
});
|
|
4416
4254
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
4417
4255
|
}, "de_ProvisionedConcurrencyConfigNotFoundExceptionRes");
|
|
4418
|
-
var de_PublicPolicyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4419
|
-
const contents = (0, import_smithy_client.map)({});
|
|
4420
|
-
const data = parsedOutput.body;
|
|
4421
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
4422
|
-
Message: import_smithy_client.expectString,
|
|
4423
|
-
Type: import_smithy_client.expectString
|
|
4424
|
-
});
|
|
4425
|
-
Object.assign(contents, doc);
|
|
4426
|
-
const exception = new PublicPolicyException({
|
|
4427
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
4428
|
-
...contents
|
|
4429
|
-
});
|
|
4430
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
4431
|
-
}, "de_PublicPolicyExceptionRes");
|
|
4432
4256
|
var de_RecursiveInvocationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4433
4257
|
const contents = (0, import_smithy_client.map)({});
|
|
4434
4258
|
const data = parsedOutput.body;
|
|
@@ -4762,7 +4586,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
4762
4586
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
4763
4587
|
cfId: output.headers["x-amz-cf-id"]
|
|
4764
4588
|
}), "deserializeMetadata");
|
|
4765
|
-
var isSerializableHeaderValue = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "" && (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0), "isSerializableHeaderValue");
|
|
4766
4589
|
var _A = "Arn";
|
|
4767
4590
|
var _CA = "CompatibleArchitecture";
|
|
4768
4591
|
var _CC = "ClientContext";
|
|
@@ -5030,20 +4853,6 @@ var _DeleteProvisionedConcurrencyConfigCommand = class _DeleteProvisionedConcurr
|
|
|
5030
4853
|
__name(_DeleteProvisionedConcurrencyConfigCommand, "DeleteProvisionedConcurrencyConfigCommand");
|
|
5031
4854
|
var DeleteProvisionedConcurrencyConfigCommand = _DeleteProvisionedConcurrencyConfigCommand;
|
|
5032
4855
|
|
|
5033
|
-
// src/commands/DeleteResourcePolicyCommand.ts
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
var _DeleteResourcePolicyCommand = class _DeleteResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5038
|
-
return [
|
|
5039
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5040
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5041
|
-
];
|
|
5042
|
-
}).s("AWSGirApiService", "DeleteResourcePolicy", {}).n("LambdaClient", "DeleteResourcePolicyCommand").f(void 0, void 0).ser(se_DeleteResourcePolicyCommand).de(de_DeleteResourcePolicyCommand).build() {
|
|
5043
|
-
};
|
|
5044
|
-
__name(_DeleteResourcePolicyCommand, "DeleteResourcePolicyCommand");
|
|
5045
|
-
var DeleteResourcePolicyCommand = _DeleteResourcePolicyCommand;
|
|
5046
|
-
|
|
5047
4856
|
// src/commands/GetAccountSettingsCommand.ts
|
|
5048
4857
|
|
|
5049
4858
|
|
|
@@ -5268,34 +5077,6 @@ var _GetProvisionedConcurrencyConfigCommand = class _GetProvisionedConcurrencyCo
|
|
|
5268
5077
|
__name(_GetProvisionedConcurrencyConfigCommand, "GetProvisionedConcurrencyConfigCommand");
|
|
5269
5078
|
var GetProvisionedConcurrencyConfigCommand = _GetProvisionedConcurrencyConfigCommand;
|
|
5270
5079
|
|
|
5271
|
-
// src/commands/GetPublicAccessBlockConfigCommand.ts
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
var _GetPublicAccessBlockConfigCommand = class _GetPublicAccessBlockConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5276
|
-
return [
|
|
5277
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5278
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5279
|
-
];
|
|
5280
|
-
}).s("AWSGirApiService", "GetPublicAccessBlockConfig", {}).n("LambdaClient", "GetPublicAccessBlockConfigCommand").f(void 0, void 0).ser(se_GetPublicAccessBlockConfigCommand).de(de_GetPublicAccessBlockConfigCommand).build() {
|
|
5281
|
-
};
|
|
5282
|
-
__name(_GetPublicAccessBlockConfigCommand, "GetPublicAccessBlockConfigCommand");
|
|
5283
|
-
var GetPublicAccessBlockConfigCommand = _GetPublicAccessBlockConfigCommand;
|
|
5284
|
-
|
|
5285
|
-
// src/commands/GetResourcePolicyCommand.ts
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
var _GetResourcePolicyCommand = class _GetResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5290
|
-
return [
|
|
5291
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5292
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5293
|
-
];
|
|
5294
|
-
}).s("AWSGirApiService", "GetResourcePolicy", {}).n("LambdaClient", "GetResourcePolicyCommand").f(void 0, void 0).ser(se_GetResourcePolicyCommand).de(de_GetResourcePolicyCommand).build() {
|
|
5295
|
-
};
|
|
5296
|
-
__name(_GetResourcePolicyCommand, "GetResourcePolicyCommand");
|
|
5297
|
-
var GetResourcePolicyCommand = _GetResourcePolicyCommand;
|
|
5298
|
-
|
|
5299
5080
|
// src/commands/GetRuntimeManagementConfigCommand.ts
|
|
5300
5081
|
|
|
5301
5082
|
|
|
@@ -5625,34 +5406,6 @@ var _PutProvisionedConcurrencyConfigCommand = class _PutProvisionedConcurrencyCo
|
|
|
5625
5406
|
__name(_PutProvisionedConcurrencyConfigCommand, "PutProvisionedConcurrencyConfigCommand");
|
|
5626
5407
|
var PutProvisionedConcurrencyConfigCommand = _PutProvisionedConcurrencyConfigCommand;
|
|
5627
5408
|
|
|
5628
|
-
// src/commands/PutPublicAccessBlockConfigCommand.ts
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
var _PutPublicAccessBlockConfigCommand = class _PutPublicAccessBlockConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5633
|
-
return [
|
|
5634
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5635
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5636
|
-
];
|
|
5637
|
-
}).s("AWSGirApiService", "PutPublicAccessBlockConfig", {}).n("LambdaClient", "PutPublicAccessBlockConfigCommand").f(void 0, void 0).ser(se_PutPublicAccessBlockConfigCommand).de(de_PutPublicAccessBlockConfigCommand).build() {
|
|
5638
|
-
};
|
|
5639
|
-
__name(_PutPublicAccessBlockConfigCommand, "PutPublicAccessBlockConfigCommand");
|
|
5640
|
-
var PutPublicAccessBlockConfigCommand = _PutPublicAccessBlockConfigCommand;
|
|
5641
|
-
|
|
5642
|
-
// src/commands/PutResourcePolicyCommand.ts
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
var _PutResourcePolicyCommand = class _PutResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5647
|
-
return [
|
|
5648
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5649
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5650
|
-
];
|
|
5651
|
-
}).s("AWSGirApiService", "PutResourcePolicy", {}).n("LambdaClient", "PutResourcePolicyCommand").f(void 0, void 0).ser(se_PutResourcePolicyCommand).de(de_PutResourcePolicyCommand).build() {
|
|
5652
|
-
};
|
|
5653
|
-
__name(_PutResourcePolicyCommand, "PutResourcePolicyCommand");
|
|
5654
|
-
var PutResourcePolicyCommand = _PutResourcePolicyCommand;
|
|
5655
|
-
|
|
5656
5409
|
// src/commands/PutRuntimeManagementConfigCommand.ts
|
|
5657
5410
|
|
|
5658
5411
|
|
|
@@ -5840,7 +5593,6 @@ var commands = {
|
|
|
5840
5593
|
DeleteFunctionUrlConfigCommand,
|
|
5841
5594
|
DeleteLayerVersionCommand,
|
|
5842
5595
|
DeleteProvisionedConcurrencyConfigCommand,
|
|
5843
|
-
DeleteResourcePolicyCommand,
|
|
5844
5596
|
GetAccountSettingsCommand,
|
|
5845
5597
|
GetAliasCommand,
|
|
5846
5598
|
GetCodeSigningConfigCommand,
|
|
@@ -5857,8 +5609,6 @@ var commands = {
|
|
|
5857
5609
|
GetLayerVersionPolicyCommand,
|
|
5858
5610
|
GetPolicyCommand,
|
|
5859
5611
|
GetProvisionedConcurrencyConfigCommand,
|
|
5860
|
-
GetPublicAccessBlockConfigCommand,
|
|
5861
|
-
GetResourcePolicyCommand,
|
|
5862
5612
|
GetRuntimeManagementConfigCommand,
|
|
5863
5613
|
InvokeCommand,
|
|
5864
5614
|
InvokeAsyncCommand,
|
|
@@ -5882,8 +5632,6 @@ var commands = {
|
|
|
5882
5632
|
PutFunctionEventInvokeConfigCommand,
|
|
5883
5633
|
PutFunctionRecursionConfigCommand,
|
|
5884
5634
|
PutProvisionedConcurrencyConfigCommand,
|
|
5885
|
-
PutPublicAccessBlockConfigCommand,
|
|
5886
|
-
PutResourcePolicyCommand,
|
|
5887
5635
|
PutRuntimeManagementConfigCommand,
|
|
5888
5636
|
RemoveLayerVersionPermissionCommand,
|
|
5889
5637
|
RemovePermissionCommand,
|
|
@@ -6242,7 +5990,6 @@ var waitUntilPublishedVersionActive = /* @__PURE__ */ __name(async (params, inpu
|
|
|
6242
5990
|
DeleteFunctionUrlConfigCommand,
|
|
6243
5991
|
DeleteLayerVersionCommand,
|
|
6244
5992
|
DeleteProvisionedConcurrencyConfigCommand,
|
|
6245
|
-
DeleteResourcePolicyCommand,
|
|
6246
5993
|
GetAccountSettingsCommand,
|
|
6247
5994
|
GetAliasCommand,
|
|
6248
5995
|
GetCodeSigningConfigCommand,
|
|
@@ -6259,8 +6006,6 @@ var waitUntilPublishedVersionActive = /* @__PURE__ */ __name(async (params, inpu
|
|
|
6259
6006
|
GetLayerVersionPolicyCommand,
|
|
6260
6007
|
GetPolicyCommand,
|
|
6261
6008
|
GetProvisionedConcurrencyConfigCommand,
|
|
6262
|
-
GetPublicAccessBlockConfigCommand,
|
|
6263
|
-
GetResourcePolicyCommand,
|
|
6264
6009
|
GetRuntimeManagementConfigCommand,
|
|
6265
6010
|
InvokeAsyncCommand,
|
|
6266
6011
|
InvokeCommand,
|
|
@@ -6284,8 +6029,6 @@ var waitUntilPublishedVersionActive = /* @__PURE__ */ __name(async (params, inpu
|
|
|
6284
6029
|
PutFunctionEventInvokeConfigCommand,
|
|
6285
6030
|
PutFunctionRecursionConfigCommand,
|
|
6286
6031
|
PutProvisionedConcurrencyConfigCommand,
|
|
6287
|
-
PutPublicAccessBlockConfigCommand,
|
|
6288
|
-
PutResourcePolicyCommand,
|
|
6289
6032
|
PutRuntimeManagementConfigCommand,
|
|
6290
6033
|
RemoveLayerVersionPermissionCommand,
|
|
6291
6034
|
RemovePermissionCommand,
|
|
@@ -6330,7 +6073,6 @@ var waitUntilPublishedVersionActive = /* @__PURE__ */ __name(async (params, inpu
|
|
|
6330
6073
|
ThrottleReason,
|
|
6331
6074
|
TooManyRequestsException,
|
|
6332
6075
|
FunctionUrlAuthType,
|
|
6333
|
-
PublicPolicyException,
|
|
6334
6076
|
ApplicationLogLevel,
|
|
6335
6077
|
Architecture,
|
|
6336
6078
|
CodeSigningPolicy,
|
package/dist-es/Lambda.js
CHANGED
|
@@ -16,7 +16,6 @@ import { DeleteFunctionEventInvokeConfigCommand, } from "./commands/DeleteFuncti
|
|
|
16
16
|
import { DeleteFunctionUrlConfigCommand, } from "./commands/DeleteFunctionUrlConfigCommand";
|
|
17
17
|
import { DeleteLayerVersionCommand, } from "./commands/DeleteLayerVersionCommand";
|
|
18
18
|
import { DeleteProvisionedConcurrencyConfigCommand, } from "./commands/DeleteProvisionedConcurrencyConfigCommand";
|
|
19
|
-
import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
|
|
20
19
|
import { GetAccountSettingsCommand, } from "./commands/GetAccountSettingsCommand";
|
|
21
20
|
import { GetAliasCommand } from "./commands/GetAliasCommand";
|
|
22
21
|
import { GetCodeSigningConfigCommand, } from "./commands/GetCodeSigningConfigCommand";
|
|
@@ -33,8 +32,6 @@ import { GetLayerVersionCommand, } from "./commands/GetLayerVersionCommand";
|
|
|
33
32
|
import { GetLayerVersionPolicyCommand, } from "./commands/GetLayerVersionPolicyCommand";
|
|
34
33
|
import { GetPolicyCommand } from "./commands/GetPolicyCommand";
|
|
35
34
|
import { GetProvisionedConcurrencyConfigCommand, } from "./commands/GetProvisionedConcurrencyConfigCommand";
|
|
36
|
-
import { GetPublicAccessBlockConfigCommand, } from "./commands/GetPublicAccessBlockConfigCommand";
|
|
37
|
-
import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
|
|
38
35
|
import { GetRuntimeManagementConfigCommand, } from "./commands/GetRuntimeManagementConfigCommand";
|
|
39
36
|
import { InvokeAsyncCommand } from "./commands/InvokeAsyncCommand";
|
|
40
37
|
import { InvokeCommand } from "./commands/InvokeCommand";
|
|
@@ -58,8 +55,6 @@ import { PutFunctionConcurrencyCommand, } from "./commands/PutFunctionConcurrenc
|
|
|
58
55
|
import { PutFunctionEventInvokeConfigCommand, } from "./commands/PutFunctionEventInvokeConfigCommand";
|
|
59
56
|
import { PutFunctionRecursionConfigCommand, } from "./commands/PutFunctionRecursionConfigCommand";
|
|
60
57
|
import { PutProvisionedConcurrencyConfigCommand, } from "./commands/PutProvisionedConcurrencyConfigCommand";
|
|
61
|
-
import { PutPublicAccessBlockConfigCommand, } from "./commands/PutPublicAccessBlockConfigCommand";
|
|
62
|
-
import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
|
|
63
58
|
import { PutRuntimeManagementConfigCommand, } from "./commands/PutRuntimeManagementConfigCommand";
|
|
64
59
|
import { RemoveLayerVersionPermissionCommand, } from "./commands/RemoveLayerVersionPermissionCommand";
|
|
65
60
|
import { RemovePermissionCommand, } from "./commands/RemovePermissionCommand";
|
|
@@ -91,7 +86,6 @@ const commands = {
|
|
|
91
86
|
DeleteFunctionUrlConfigCommand,
|
|
92
87
|
DeleteLayerVersionCommand,
|
|
93
88
|
DeleteProvisionedConcurrencyConfigCommand,
|
|
94
|
-
DeleteResourcePolicyCommand,
|
|
95
89
|
GetAccountSettingsCommand,
|
|
96
90
|
GetAliasCommand,
|
|
97
91
|
GetCodeSigningConfigCommand,
|
|
@@ -108,8 +102,6 @@ const commands = {
|
|
|
108
102
|
GetLayerVersionPolicyCommand,
|
|
109
103
|
GetPolicyCommand,
|
|
110
104
|
GetProvisionedConcurrencyConfigCommand,
|
|
111
|
-
GetPublicAccessBlockConfigCommand,
|
|
112
|
-
GetResourcePolicyCommand,
|
|
113
105
|
GetRuntimeManagementConfigCommand,
|
|
114
106
|
InvokeCommand,
|
|
115
107
|
InvokeAsyncCommand,
|
|
@@ -133,8 +125,6 @@ const commands = {
|
|
|
133
125
|
PutFunctionEventInvokeConfigCommand,
|
|
134
126
|
PutFunctionRecursionConfigCommand,
|
|
135
127
|
PutProvisionedConcurrencyConfigCommand,
|
|
136
|
-
PutPublicAccessBlockConfigCommand,
|
|
137
|
-
PutResourcePolicyCommand,
|
|
138
128
|
PutRuntimeManagementConfigCommand,
|
|
139
129
|
RemoveLayerVersionPermissionCommand,
|
|
140
130
|
RemovePermissionCommand,
|
|
@@ -15,7 +15,6 @@ export * from "./DeleteFunctionEventInvokeConfigCommand";
|
|
|
15
15
|
export * from "./DeleteFunctionUrlConfigCommand";
|
|
16
16
|
export * from "./DeleteLayerVersionCommand";
|
|
17
17
|
export * from "./DeleteProvisionedConcurrencyConfigCommand";
|
|
18
|
-
export * from "./DeleteResourcePolicyCommand";
|
|
19
18
|
export * from "./GetAccountSettingsCommand";
|
|
20
19
|
export * from "./GetAliasCommand";
|
|
21
20
|
export * from "./GetCodeSigningConfigCommand";
|
|
@@ -32,8 +31,6 @@ export * from "./GetLayerVersionCommand";
|
|
|
32
31
|
export * from "./GetLayerVersionPolicyCommand";
|
|
33
32
|
export * from "./GetPolicyCommand";
|
|
34
33
|
export * from "./GetProvisionedConcurrencyConfigCommand";
|
|
35
|
-
export * from "./GetPublicAccessBlockConfigCommand";
|
|
36
|
-
export * from "./GetResourcePolicyCommand";
|
|
37
34
|
export * from "./GetRuntimeManagementConfigCommand";
|
|
38
35
|
export * from "./InvokeAsyncCommand";
|
|
39
36
|
export * from "./InvokeCommand";
|
|
@@ -57,8 +54,6 @@ export * from "./PutFunctionConcurrencyCommand";
|
|
|
57
54
|
export * from "./PutFunctionEventInvokeConfigCommand";
|
|
58
55
|
export * from "./PutFunctionRecursionConfigCommand";
|
|
59
56
|
export * from "./PutProvisionedConcurrencyConfigCommand";
|
|
60
|
-
export * from "./PutPublicAccessBlockConfigCommand";
|
|
61
|
-
export * from "./PutResourcePolicyCommand";
|
|
62
57
|
export * from "./PutRuntimeManagementConfigCommand";
|
|
63
58
|
export * from "./RemoveLayerVersionPermissionCommand";
|
|
64
59
|
export * from "./RemovePermissionCommand";
|
|
@@ -107,20 +107,6 @@ export const FunctionUrlAuthType = {
|
|
|
107
107
|
AWS_IAM: "AWS_IAM",
|
|
108
108
|
NONE: "NONE",
|
|
109
109
|
};
|
|
110
|
-
export class PublicPolicyException extends __BaseException {
|
|
111
|
-
constructor(opts) {
|
|
112
|
-
super({
|
|
113
|
-
name: "PublicPolicyException",
|
|
114
|
-
$fault: "client",
|
|
115
|
-
...opts,
|
|
116
|
-
});
|
|
117
|
-
this.name = "PublicPolicyException";
|
|
118
|
-
this.$fault = "client";
|
|
119
|
-
Object.setPrototypeOf(this, PublicPolicyException.prototype);
|
|
120
|
-
this.Type = opts.Type;
|
|
121
|
-
this.Message = opts.Message;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
110
|
export const ApplicationLogLevel = {
|
|
125
111
|
Debug: "DEBUG",
|
|
126
112
|
Error: "ERROR",
|