@aws-sdk/client-lambda 3.658.1 → 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.
Files changed (38) hide show
  1. package/README.md +0 -40
  2. package/dist-cjs/index.js +0 -254
  3. package/dist-es/Lambda.js +0 -10
  4. package/dist-es/commands/index.js +0 -5
  5. package/dist-es/models/models_0.js +0 -14
  6. package/dist-es/protocols/Aws_restJson1.js +1 -145
  7. package/dist-types/Lambda.d.ts +0 -35
  8. package/dist-types/LambdaClient.d.ts +2 -7
  9. package/dist-types/commands/AddPermissionCommand.d.ts +2 -7
  10. package/dist-types/commands/CreateFunctionCommand.d.ts +3 -3
  11. package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
  12. package/dist-types/commands/ListTagsCommand.d.ts +1 -1
  13. package/dist-types/commands/RemovePermissionCommand.d.ts +1 -6
  14. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +1 -1
  15. package/dist-types/commands/index.d.ts +0 -5
  16. package/dist-types/models/models_0.d.ts +3 -177
  17. package/dist-types/protocols/Aws_restJson1.d.ts +0 -45
  18. package/dist-types/ts3.4/Lambda.d.ts +0 -85
  19. package/dist-types/ts3.4/LambdaClient.d.ts +0 -30
  20. package/dist-types/ts3.4/commands/index.d.ts +0 -5
  21. package/dist-types/ts3.4/models/models_0.d.ts +0 -46
  22. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -60
  23. package/package.json +1 -1
  24. package/dist-es/commands/DeleteResourcePolicyCommand.js +0 -22
  25. package/dist-es/commands/GetPublicAccessBlockConfigCommand.js +0 -22
  26. package/dist-es/commands/GetResourcePolicyCommand.js +0 -22
  27. package/dist-es/commands/PutPublicAccessBlockConfigCommand.js +0 -22
  28. package/dist-es/commands/PutResourcePolicyCommand.js +0 -22
  29. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +0 -102
  30. package/dist-types/commands/GetPublicAccessBlockConfigCommand.d.ts +0 -90
  31. package/dist-types/commands/GetResourcePolicyCommand.d.ts +0 -88
  32. package/dist-types/commands/PutPublicAccessBlockConfigCommand.d.ts +0 -101
  33. package/dist-types/commands/PutResourcePolicyCommand.d.ts +0 -124
  34. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +0 -46
  35. package/dist-types/ts3.4/commands/GetPublicAccessBlockConfigCommand.d.ts +0 -51
  36. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +0 -51
  37. package/dist-types/ts3.4/commands/PutPublicAccessBlockConfigCommand.d.ts +0 -51
  38. 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 = {};
@@ -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 = {
@@ -2868,16 +2780,6 @@ var de_DeleteProvisionedConcurrencyConfigCommand = /* @__PURE__ */ __name(async
2868
2780
  await (0, import_smithy_client.collectBody)(output.body, context);
2869
2781
  return contents;
2870
2782
  }, "de_DeleteProvisionedConcurrencyConfigCommand");
2871
- var de_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
2872
- if (output.statusCode !== 204 && output.statusCode >= 300) {
2873
- return de_CommandError(output, context);
2874
- }
2875
- const contents = (0, import_smithy_client.map)({
2876
- $metadata: deserializeMetadata(output)
2877
- });
2878
- await (0, import_smithy_client.collectBody)(output.body, context);
2879
- return contents;
2880
- }, "de_DeleteResourcePolicyCommand");
2881
2783
  var de_GetAccountSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
2882
2784
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2883
2785
  return de_CommandError(output, context);
@@ -3209,35 +3111,6 @@ var de_GetProvisionedConcurrencyConfigCommand = /* @__PURE__ */ __name(async (ou
3209
3111
  Object.assign(contents, doc);
3210
3112
  return contents;
3211
3113
  }, "de_GetProvisionedConcurrencyConfigCommand");
3212
- var de_GetPublicAccessBlockConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
3213
- if (output.statusCode !== 200 && output.statusCode >= 300) {
3214
- return de_CommandError(output, context);
3215
- }
3216
- const contents = (0, import_smithy_client.map)({
3217
- $metadata: deserializeMetadata(output)
3218
- });
3219
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3220
- const doc = (0, import_smithy_client.take)(data, {
3221
- PublicAccessBlockConfig: import_smithy_client._json
3222
- });
3223
- Object.assign(contents, doc);
3224
- return contents;
3225
- }, "de_GetPublicAccessBlockConfigCommand");
3226
- var de_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
3227
- if (output.statusCode !== 200 && output.statusCode >= 300) {
3228
- return de_CommandError(output, context);
3229
- }
3230
- const contents = (0, import_smithy_client.map)({
3231
- $metadata: deserializeMetadata(output)
3232
- });
3233
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3234
- const doc = (0, import_smithy_client.take)(data, {
3235
- Policy: import_smithy_client.expectString,
3236
- RevisionId: import_smithy_client.expectString
3237
- });
3238
- Object.assign(contents, doc);
3239
- return contents;
3240
- }, "de_GetResourcePolicyCommand");
3241
3114
  var de_GetRuntimeManagementConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
3242
3115
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3243
3116
  return de_CommandError(output, context);
@@ -3630,35 +3503,6 @@ var de_PutProvisionedConcurrencyConfigCommand = /* @__PURE__ */ __name(async (ou
3630
3503
  Object.assign(contents, doc);
3631
3504
  return contents;
3632
3505
  }, "de_PutProvisionedConcurrencyConfigCommand");
3633
- var de_PutPublicAccessBlockConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
3634
- if (output.statusCode !== 200 && output.statusCode >= 300) {
3635
- return de_CommandError(output, context);
3636
- }
3637
- const contents = (0, import_smithy_client.map)({
3638
- $metadata: deserializeMetadata(output)
3639
- });
3640
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3641
- const doc = (0, import_smithy_client.take)(data, {
3642
- PublicAccessBlockConfig: import_smithy_client._json
3643
- });
3644
- Object.assign(contents, doc);
3645
- return contents;
3646
- }, "de_PutPublicAccessBlockConfigCommand");
3647
- var de_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
3648
- if (output.statusCode !== 200 && output.statusCode >= 300) {
3649
- return de_CommandError(output, context);
3650
- }
3651
- const contents = (0, import_smithy_client.map)({
3652
- $metadata: deserializeMetadata(output)
3653
- });
3654
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3655
- const doc = (0, import_smithy_client.take)(data, {
3656
- Policy: import_smithy_client.expectString,
3657
- RevisionId: import_smithy_client.expectString
3658
- });
3659
- Object.assign(contents, doc);
3660
- return contents;
3661
- }, "de_PutResourcePolicyCommand");
3662
3506
  var de_PutRuntimeManagementConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
3663
3507
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3664
3508
  return de_CommandError(output, context);
@@ -3955,9 +3799,6 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
3955
3799
  case "TooManyRequestsException":
3956
3800
  case "com.amazonaws.lambda#TooManyRequestsException":
3957
3801
  throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
3958
- case "PublicPolicyException":
3959
- case "com.amazonaws.lambda#PublicPolicyException":
3960
- throw await de_PublicPolicyExceptionRes(parsedOutput, context);
3961
3802
  case "CodeSigningConfigNotFoundException":
3962
3803
  case "com.amazonaws.lambda#CodeSigningConfigNotFoundException":
3963
3804
  throw await de_CodeSigningConfigNotFoundExceptionRes(parsedOutput, context);
@@ -4412,20 +4253,6 @@ var de_ProvisionedConcurrencyConfigNotFoundExceptionRes = /* @__PURE__ */ __name
4412
4253
  });
4413
4254
  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
4414
4255
  }, "de_ProvisionedConcurrencyConfigNotFoundExceptionRes");
4415
- var de_PublicPolicyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
4416
- const contents = (0, import_smithy_client.map)({});
4417
- const data = parsedOutput.body;
4418
- const doc = (0, import_smithy_client.take)(data, {
4419
- Message: import_smithy_client.expectString,
4420
- Type: import_smithy_client.expectString
4421
- });
4422
- Object.assign(contents, doc);
4423
- const exception = new PublicPolicyException({
4424
- $metadata: deserializeMetadata(parsedOutput),
4425
- ...contents
4426
- });
4427
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
4428
- }, "de_PublicPolicyExceptionRes");
4429
4256
  var de_RecursiveInvocationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
4430
4257
  const contents = (0, import_smithy_client.map)({});
4431
4258
  const data = parsedOutput.body;
@@ -5026,20 +4853,6 @@ var _DeleteProvisionedConcurrencyConfigCommand = class _DeleteProvisionedConcurr
5026
4853
  __name(_DeleteProvisionedConcurrencyConfigCommand, "DeleteProvisionedConcurrencyConfigCommand");
5027
4854
  var DeleteProvisionedConcurrencyConfigCommand = _DeleteProvisionedConcurrencyConfigCommand;
5028
4855
 
5029
- // src/commands/DeleteResourcePolicyCommand.ts
5030
-
5031
-
5032
-
5033
- var _DeleteResourcePolicyCommand = class _DeleteResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5034
- return [
5035
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5036
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5037
- ];
5038
- }).s("AWSGirApiService", "DeleteResourcePolicy", {}).n("LambdaClient", "DeleteResourcePolicyCommand").f(void 0, void 0).ser(se_DeleteResourcePolicyCommand).de(de_DeleteResourcePolicyCommand).build() {
5039
- };
5040
- __name(_DeleteResourcePolicyCommand, "DeleteResourcePolicyCommand");
5041
- var DeleteResourcePolicyCommand = _DeleteResourcePolicyCommand;
5042
-
5043
4856
  // src/commands/GetAccountSettingsCommand.ts
5044
4857
 
5045
4858
 
@@ -5264,34 +5077,6 @@ var _GetProvisionedConcurrencyConfigCommand = class _GetProvisionedConcurrencyCo
5264
5077
  __name(_GetProvisionedConcurrencyConfigCommand, "GetProvisionedConcurrencyConfigCommand");
5265
5078
  var GetProvisionedConcurrencyConfigCommand = _GetProvisionedConcurrencyConfigCommand;
5266
5079
 
5267
- // src/commands/GetPublicAccessBlockConfigCommand.ts
5268
-
5269
-
5270
-
5271
- var _GetPublicAccessBlockConfigCommand = class _GetPublicAccessBlockConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5272
- return [
5273
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5274
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5275
- ];
5276
- }).s("AWSGirApiService", "GetPublicAccessBlockConfig", {}).n("LambdaClient", "GetPublicAccessBlockConfigCommand").f(void 0, void 0).ser(se_GetPublicAccessBlockConfigCommand).de(de_GetPublicAccessBlockConfigCommand).build() {
5277
- };
5278
- __name(_GetPublicAccessBlockConfigCommand, "GetPublicAccessBlockConfigCommand");
5279
- var GetPublicAccessBlockConfigCommand = _GetPublicAccessBlockConfigCommand;
5280
-
5281
- // src/commands/GetResourcePolicyCommand.ts
5282
-
5283
-
5284
-
5285
- var _GetResourcePolicyCommand = class _GetResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5286
- return [
5287
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5288
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5289
- ];
5290
- }).s("AWSGirApiService", "GetResourcePolicy", {}).n("LambdaClient", "GetResourcePolicyCommand").f(void 0, void 0).ser(se_GetResourcePolicyCommand).de(de_GetResourcePolicyCommand).build() {
5291
- };
5292
- __name(_GetResourcePolicyCommand, "GetResourcePolicyCommand");
5293
- var GetResourcePolicyCommand = _GetResourcePolicyCommand;
5294
-
5295
5080
  // src/commands/GetRuntimeManagementConfigCommand.ts
5296
5081
 
5297
5082
 
@@ -5621,34 +5406,6 @@ var _PutProvisionedConcurrencyConfigCommand = class _PutProvisionedConcurrencyCo
5621
5406
  __name(_PutProvisionedConcurrencyConfigCommand, "PutProvisionedConcurrencyConfigCommand");
5622
5407
  var PutProvisionedConcurrencyConfigCommand = _PutProvisionedConcurrencyConfigCommand;
5623
5408
 
5624
- // src/commands/PutPublicAccessBlockConfigCommand.ts
5625
-
5626
-
5627
-
5628
- var _PutPublicAccessBlockConfigCommand = class _PutPublicAccessBlockConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5629
- return [
5630
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5631
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5632
- ];
5633
- }).s("AWSGirApiService", "PutPublicAccessBlockConfig", {}).n("LambdaClient", "PutPublicAccessBlockConfigCommand").f(void 0, void 0).ser(se_PutPublicAccessBlockConfigCommand).de(de_PutPublicAccessBlockConfigCommand).build() {
5634
- };
5635
- __name(_PutPublicAccessBlockConfigCommand, "PutPublicAccessBlockConfigCommand");
5636
- var PutPublicAccessBlockConfigCommand = _PutPublicAccessBlockConfigCommand;
5637
-
5638
- // src/commands/PutResourcePolicyCommand.ts
5639
-
5640
-
5641
-
5642
- var _PutResourcePolicyCommand = class _PutResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5643
- return [
5644
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5645
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5646
- ];
5647
- }).s("AWSGirApiService", "PutResourcePolicy", {}).n("LambdaClient", "PutResourcePolicyCommand").f(void 0, void 0).ser(se_PutResourcePolicyCommand).de(de_PutResourcePolicyCommand).build() {
5648
- };
5649
- __name(_PutResourcePolicyCommand, "PutResourcePolicyCommand");
5650
- var PutResourcePolicyCommand = _PutResourcePolicyCommand;
5651
-
5652
5409
  // src/commands/PutRuntimeManagementConfigCommand.ts
5653
5410
 
5654
5411
 
@@ -5836,7 +5593,6 @@ var commands = {
5836
5593
  DeleteFunctionUrlConfigCommand,
5837
5594
  DeleteLayerVersionCommand,
5838
5595
  DeleteProvisionedConcurrencyConfigCommand,
5839
- DeleteResourcePolicyCommand,
5840
5596
  GetAccountSettingsCommand,
5841
5597
  GetAliasCommand,
5842
5598
  GetCodeSigningConfigCommand,
@@ -5853,8 +5609,6 @@ var commands = {
5853
5609
  GetLayerVersionPolicyCommand,
5854
5610
  GetPolicyCommand,
5855
5611
  GetProvisionedConcurrencyConfigCommand,
5856
- GetPublicAccessBlockConfigCommand,
5857
- GetResourcePolicyCommand,
5858
5612
  GetRuntimeManagementConfigCommand,
5859
5613
  InvokeCommand,
5860
5614
  InvokeAsyncCommand,
@@ -5878,8 +5632,6 @@ var commands = {
5878
5632
  PutFunctionEventInvokeConfigCommand,
5879
5633
  PutFunctionRecursionConfigCommand,
5880
5634
  PutProvisionedConcurrencyConfigCommand,
5881
- PutPublicAccessBlockConfigCommand,
5882
- PutResourcePolicyCommand,
5883
5635
  PutRuntimeManagementConfigCommand,
5884
5636
  RemoveLayerVersionPermissionCommand,
5885
5637
  RemovePermissionCommand,
@@ -6238,7 +5990,6 @@ var waitUntilPublishedVersionActive = /* @__PURE__ */ __name(async (params, inpu
6238
5990
  DeleteFunctionUrlConfigCommand,
6239
5991
  DeleteLayerVersionCommand,
6240
5992
  DeleteProvisionedConcurrencyConfigCommand,
6241
- DeleteResourcePolicyCommand,
6242
5993
  GetAccountSettingsCommand,
6243
5994
  GetAliasCommand,
6244
5995
  GetCodeSigningConfigCommand,
@@ -6255,8 +6006,6 @@ var waitUntilPublishedVersionActive = /* @__PURE__ */ __name(async (params, inpu
6255
6006
  GetLayerVersionPolicyCommand,
6256
6007
  GetPolicyCommand,
6257
6008
  GetProvisionedConcurrencyConfigCommand,
6258
- GetPublicAccessBlockConfigCommand,
6259
- GetResourcePolicyCommand,
6260
6009
  GetRuntimeManagementConfigCommand,
6261
6010
  InvokeAsyncCommand,
6262
6011
  InvokeCommand,
@@ -6280,8 +6029,6 @@ var waitUntilPublishedVersionActive = /* @__PURE__ */ __name(async (params, inpu
6280
6029
  PutFunctionEventInvokeConfigCommand,
6281
6030
  PutFunctionRecursionConfigCommand,
6282
6031
  PutProvisionedConcurrencyConfigCommand,
6283
- PutPublicAccessBlockConfigCommand,
6284
- PutResourcePolicyCommand,
6285
6032
  PutRuntimeManagementConfigCommand,
6286
6033
  RemoveLayerVersionPermissionCommand,
6287
6034
  RemovePermissionCommand,
@@ -6326,7 +6073,6 @@ var waitUntilPublishedVersionActive = /* @__PURE__ */ __name(async (params, inpu
6326
6073
  ThrottleReason,
6327
6074
  TooManyRequestsException,
6328
6075
  FunctionUrlAuthType,
6329
- PublicPolicyException,
6330
6076
  ApplicationLogLevel,
6331
6077
  Architecture,
6332
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",