@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.
Files changed (38) hide show
  1. package/README.md +0 -40
  2. package/dist-cjs/index.js +3 -261
  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 +3 -155
  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 +13 -13
  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
@@ -299,21 +299,21 @@ export interface AddPermissionRequest {
299
299
  */
300
300
  Action: string | undefined;
301
301
  /**
302
- * <p>The Amazon Web Servicesservice, Amazon Web Services account, IAM user, or IAM role that invokes the function. If you specify a
302
+ * <p>The Amazon Web Services service, Amazon Web Services account, IAM user, or IAM role that invokes the function. If you specify a
303
303
  * service, use <code>SourceArn</code> or <code>SourceAccount</code> to limit who can invoke the function through
304
304
  * that service.</p>
305
305
  * @public
306
306
  */
307
307
  Principal: string | undefined;
308
308
  /**
309
- * <p>For Amazon Web Servicesservices, the ARN of the Amazon Web Services resource that invokes the function. For
309
+ * <p>For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For
310
310
  * example, an Amazon S3 bucket or Amazon SNS topic.</p>
311
311
  * <p>Note that Lambda configures the comparison using the <code>StringLike</code> operator.</p>
312
312
  * @public
313
313
  */
314
314
  SourceArn?: string;
315
315
  /**
316
- * <p>For Amazon Web Servicesservice, the ID of the Amazon Web Services account that owns the resource. Use this
316
+ * <p>For Amazon Web Services service, the ID of the Amazon Web Services account that owns the resource. Use this
317
317
  * together with <code>SourceArn</code> to ensure that the specified account owns the resource. It is possible for an
318
318
  * Amazon S3 bucket to be deleted by its owner and recreated by another account.</p>
319
319
  * @public
@@ -359,26 +359,6 @@ export interface AddPermissionResponse {
359
359
  */
360
360
  Statement?: string;
361
361
  }
362
- /**
363
- * <p>Lambda prevented your policy from being created because it would grant public access to your function. If you intended to
364
- * create a public policy, use the <a>PutPublicAccessBlockConfig</a> API action to configure your function's public-access settings
365
- * to allow public policies.</p>
366
- * @public
367
- */
368
- export declare class PublicPolicyException extends __BaseException {
369
- readonly name: "PublicPolicyException";
370
- readonly $fault: "client";
371
- /**
372
- * <p>The exception type.</p>
373
- * @public
374
- */
375
- Type?: string;
376
- Message?: string;
377
- /**
378
- * @internal
379
- */
380
- constructor(opts: __ExceptionOptionType<PublicPolicyException, __BaseException>);
381
- }
382
362
  /**
383
363
  * <p>The <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html">traffic-shifting</a> configuration of a Lambda function alias.</p>
384
364
  * @public
@@ -2781,23 +2761,6 @@ export interface DeleteProvisionedConcurrencyConfigRequest {
2781
2761
  */
2782
2762
  Qualifier: string | undefined;
2783
2763
  }
2784
- /**
2785
- * @public
2786
- */
2787
- export interface DeleteResourcePolicyRequest {
2788
- /**
2789
- * <p>The Amazon Resource Name (ARN) of the function you want to delete the policy from. You can use either a qualified or an unqualified ARN,
2790
- * but the value you specify must be a complete ARN and wildcard characters are not accepted.</p>
2791
- * @public
2792
- */
2793
- ResourceArn: string | undefined;
2794
- /**
2795
- * <p>Delete the existing policy only if its revision ID matches the string you specify. To find the revision ID of the policy currently attached
2796
- * to your function, use the <a>GetResourcePolicy</a> action.</p>
2797
- * @public
2798
- */
2799
- RevisionId?: string;
2800
- }
2801
2764
  /**
2802
2765
  * @public
2803
2766
  */
@@ -3612,71 +3575,6 @@ export declare class ProvisionedConcurrencyConfigNotFoundException extends __Bas
3612
3575
  */
3613
3576
  constructor(opts: __ExceptionOptionType<ProvisionedConcurrencyConfigNotFoundException, __BaseException>);
3614
3577
  }
3615
- /**
3616
- * @public
3617
- */
3618
- export interface GetPublicAccessBlockConfigRequest {
3619
- /**
3620
- * <p>The Amazon Resource Name (ARN) of the function you want to retrieve public-access settings for.</p>
3621
- * @public
3622
- */
3623
- ResourceArn: string | undefined;
3624
- }
3625
- /**
3626
- * <p>An object that defines the public-access settings for a function.</p>
3627
- * @public
3628
- */
3629
- export interface PublicAccessBlockConfig {
3630
- /**
3631
- * <p>To block the creation of resource-based policies that would grant public access to your function, set <code>BlockPublicPolicy</code>
3632
- * to <code>true</code>. To allow the creation of resource-based policies that would grant public access to your function, set <code>BlockPublicPolicy</code>
3633
- * to <code>false</code>.</p>
3634
- * @public
3635
- */
3636
- BlockPublicPolicy?: boolean;
3637
- /**
3638
- * <p>To block public access to your function, even if its resource-based policy allows it, set <code>RestrictPublicResource</code> to <code>true</code>. To
3639
- * allow public access to a function with a resource-based policy that permits it, set <code>RestrictPublicResource</code> to <code>false</code>.</p>
3640
- * @public
3641
- */
3642
- RestrictPublicResource?: boolean;
3643
- }
3644
- /**
3645
- * @public
3646
- */
3647
- export interface GetPublicAccessBlockConfigResponse {
3648
- /**
3649
- * <p>The public-access settings configured for the function you specified</p>
3650
- * @public
3651
- */
3652
- PublicAccessBlockConfig?: PublicAccessBlockConfig;
3653
- }
3654
- /**
3655
- * @public
3656
- */
3657
- export interface GetResourcePolicyRequest {
3658
- /**
3659
- * <p>The Amazon Resource Name (ARN) of the function you want to retrieve the policy for. You can use either a qualified or an unqualified ARN,
3660
- * but the value you specify must be a complete ARN and wildcard characters are not accepted.</p>
3661
- * @public
3662
- */
3663
- ResourceArn: string | undefined;
3664
- }
3665
- /**
3666
- * @public
3667
- */
3668
- export interface GetResourcePolicyResponse {
3669
- /**
3670
- * <p>The resource-based policy attached to the function you specified.</p>
3671
- * @public
3672
- */
3673
- Policy?: string;
3674
- /**
3675
- * <p>The revision ID of the policy.</p>
3676
- * @public
3677
- */
3678
- RevisionId?: string;
3679
- }
3680
3578
  /**
3681
3579
  * @public
3682
3580
  */
@@ -5749,78 +5647,6 @@ export interface PutProvisionedConcurrencyConfigResponse {
5749
5647
  */
5750
5648
  LastModified?: string;
5751
5649
  }
5752
- /**
5753
- * @public
5754
- */
5755
- export interface PutPublicAccessBlockConfigRequest {
5756
- /**
5757
- * <p>The Amazon Resource Name (ARN) of the function you want to configure public-access settings for. Public-access settings
5758
- * are applied at the function level, so you can't apply different settings to function versions or aliases.</p>
5759
- * @public
5760
- */
5761
- ResourceArn: string | undefined;
5762
- /**
5763
- * <p>An object defining the public-access settings you want to apply.</p>
5764
- * <p>To block the creation of resource-based policies that would grant public access to your function, set <code>BlockPublicPolicy</code>
5765
- * to <code>true</code>. To allow the creation of resource-based policies that would grant public access to your function, set <code>BlockPublicPolicy</code>
5766
- * to <code>false</code>.</p>
5767
- * <p>To block public access to your function, even if its resource-based policy allows it, set <code>RestrictPublicResource</code> to <code>true</code>. To
5768
- * allow public access to a function with a resource-based policy that permits it, set <code>RestrictPublicResource</code> to <code>false</code>.</p>
5769
- * <p>The default setting for both <code>BlockPublicPolicy</code> and <code>RestrictPublicResource</code> is <code>true</code>.</p>
5770
- * @public
5771
- */
5772
- PublicAccessBlockConfig: PublicAccessBlockConfig | undefined;
5773
- }
5774
- /**
5775
- * @public
5776
- */
5777
- export interface PutPublicAccessBlockConfigResponse {
5778
- /**
5779
- * <p>The public-access settings Lambda applied to your function.</p>
5780
- * @public
5781
- */
5782
- PublicAccessBlockConfig?: PublicAccessBlockConfig;
5783
- }
5784
- /**
5785
- * @public
5786
- */
5787
- export interface PutResourcePolicyRequest {
5788
- /**
5789
- * <p>The Amazon Resource Name (ARN) of the function you want to add the policy to. You can use either a qualified or an unqualified ARN,
5790
- * but the value you specify must be a complete ARN and wildcard characters are not accepted.</p>
5791
- * @public
5792
- */
5793
- ResourceArn: string | undefined;
5794
- /**
5795
- * <p>The JSON resource-based policy you want to add to your function.</p>
5796
- * <p>To learn more about creating resource-based policies for controlling access to
5797
- * Lambda, see <a href="https://docs.aws.amazon.com/">Working with resource-based IAM policies in Lambda</a> in the
5798
- * <i>Lambda Developer Guide</i>.</p>
5799
- * @public
5800
- */
5801
- Policy: string | undefined;
5802
- /**
5803
- * <p>Replace the existing policy only if its revision ID matches the string you specify. To find the revision ID of the policy currently attached
5804
- * to your function, use the <a>GetResourcePolicy</a> action.</p>
5805
- * @public
5806
- */
5807
- RevisionId?: string;
5808
- }
5809
- /**
5810
- * @public
5811
- */
5812
- export interface PutResourcePolicyResponse {
5813
- /**
5814
- * <p>The policy Lambda added to your function.</p>
5815
- * @public
5816
- */
5817
- Policy?: string;
5818
- /**
5819
- * <p>The revision ID of the policy Lambda added to your function.</p>
5820
- * @public
5821
- */
5822
- RevisionId?: string;
5823
- }
5824
5650
  /**
5825
5651
  * @public
5826
5652
  */
@@ -17,7 +17,6 @@ import { DeleteFunctionEventInvokeConfigCommandInput, DeleteFunctionEventInvokeC
17
17
  import { DeleteFunctionUrlConfigCommandInput, DeleteFunctionUrlConfigCommandOutput } from "../commands/DeleteFunctionUrlConfigCommand";
18
18
  import { DeleteLayerVersionCommandInput, DeleteLayerVersionCommandOutput } from "../commands/DeleteLayerVersionCommand";
19
19
  import { DeleteProvisionedConcurrencyConfigCommandInput, DeleteProvisionedConcurrencyConfigCommandOutput } from "../commands/DeleteProvisionedConcurrencyConfigCommand";
20
- import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "../commands/DeleteResourcePolicyCommand";
21
20
  import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "../commands/GetAccountSettingsCommand";
22
21
  import { GetAliasCommandInput, GetAliasCommandOutput } from "../commands/GetAliasCommand";
23
22
  import { GetCodeSigningConfigCommandInput, GetCodeSigningConfigCommandOutput } from "../commands/GetCodeSigningConfigCommand";
@@ -34,8 +33,6 @@ import { GetLayerVersionCommandInput, GetLayerVersionCommandOutput } from "../co
34
33
  import { GetLayerVersionPolicyCommandInput, GetLayerVersionPolicyCommandOutput } from "../commands/GetLayerVersionPolicyCommand";
35
34
  import { GetPolicyCommandInput, GetPolicyCommandOutput } from "../commands/GetPolicyCommand";
36
35
  import { GetProvisionedConcurrencyConfigCommandInput, GetProvisionedConcurrencyConfigCommandOutput } from "../commands/GetProvisionedConcurrencyConfigCommand";
37
- import { GetPublicAccessBlockConfigCommandInput, GetPublicAccessBlockConfigCommandOutput } from "../commands/GetPublicAccessBlockConfigCommand";
38
- import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "../commands/GetResourcePolicyCommand";
39
36
  import { GetRuntimeManagementConfigCommandInput, GetRuntimeManagementConfigCommandOutput } from "../commands/GetRuntimeManagementConfigCommand";
40
37
  import { InvokeAsyncCommandInput, InvokeAsyncCommandOutput } from "../commands/InvokeAsyncCommand";
41
38
  import { InvokeCommandInput, InvokeCommandOutput } from "../commands/InvokeCommand";
@@ -59,8 +56,6 @@ import { PutFunctionConcurrencyCommandInput, PutFunctionConcurrencyCommandOutput
59
56
  import { PutFunctionEventInvokeConfigCommandInput, PutFunctionEventInvokeConfigCommandOutput } from "../commands/PutFunctionEventInvokeConfigCommand";
60
57
  import { PutFunctionRecursionConfigCommandInput, PutFunctionRecursionConfigCommandOutput } from "../commands/PutFunctionRecursionConfigCommand";
61
58
  import { PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyConfigCommandOutput } from "../commands/PutProvisionedConcurrencyConfigCommand";
62
- import { PutPublicAccessBlockConfigCommandInput, PutPublicAccessBlockConfigCommandOutput } from "../commands/PutPublicAccessBlockConfigCommand";
63
- import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "../commands/PutResourcePolicyCommand";
64
59
  import { PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput } from "../commands/PutRuntimeManagementConfigCommand";
65
60
  import { RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput } from "../commands/RemoveLayerVersionPermissionCommand";
66
61
  import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "../commands/RemovePermissionCommand";
@@ -141,10 +136,6 @@ export declare const se_DeleteLayerVersionCommand: (input: DeleteLayerVersionCom
141
136
  * serializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand
142
137
  */
143
138
  export declare const se_DeleteProvisionedConcurrencyConfigCommand: (input: DeleteProvisionedConcurrencyConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
144
- /**
145
- * serializeAws_restJson1DeleteResourcePolicyCommand
146
- */
147
- export declare const se_DeleteResourcePolicyCommand: (input: DeleteResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
148
139
  /**
149
140
  * serializeAws_restJson1GetAccountSettingsCommand
150
141
  */
@@ -209,14 +200,6 @@ export declare const se_GetPolicyCommand: (input: GetPolicyCommandInput, context
209
200
  * serializeAws_restJson1GetProvisionedConcurrencyConfigCommand
210
201
  */
211
202
  export declare const se_GetProvisionedConcurrencyConfigCommand: (input: GetProvisionedConcurrencyConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
212
- /**
213
- * serializeAws_restJson1GetPublicAccessBlockConfigCommand
214
- */
215
- export declare const se_GetPublicAccessBlockConfigCommand: (input: GetPublicAccessBlockConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
216
- /**
217
- * serializeAws_restJson1GetResourcePolicyCommand
218
- */
219
- export declare const se_GetResourcePolicyCommand: (input: GetResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
220
203
  /**
221
204
  * serializeAws_restJson1GetRuntimeManagementConfigCommand
222
205
  */
@@ -309,14 +292,6 @@ export declare const se_PutFunctionRecursionConfigCommand: (input: PutFunctionRe
309
292
  * serializeAws_restJson1PutProvisionedConcurrencyConfigCommand
310
293
  */
311
294
  export declare const se_PutProvisionedConcurrencyConfigCommand: (input: PutProvisionedConcurrencyConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
312
- /**
313
- * serializeAws_restJson1PutPublicAccessBlockConfigCommand
314
- */
315
- export declare const se_PutPublicAccessBlockConfigCommand: (input: PutPublicAccessBlockConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
316
- /**
317
- * serializeAws_restJson1PutResourcePolicyCommand
318
- */
319
- export declare const se_PutResourcePolicyCommand: (input: PutResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
320
295
  /**
321
296
  * serializeAws_restJson1PutRuntimeManagementConfigCommand
322
297
  */
@@ -433,10 +408,6 @@ export declare const de_DeleteLayerVersionCommand: (output: __HttpResponse, cont
433
408
  * deserializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand
434
409
  */
435
410
  export declare const de_DeleteProvisionedConcurrencyConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteProvisionedConcurrencyConfigCommandOutput>;
436
- /**
437
- * deserializeAws_restJson1DeleteResourcePolicyCommand
438
- */
439
- export declare const de_DeleteResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteResourcePolicyCommandOutput>;
440
411
  /**
441
412
  * deserializeAws_restJson1GetAccountSettingsCommand
442
413
  */
@@ -501,14 +472,6 @@ export declare const de_GetPolicyCommand: (output: __HttpResponse, context: __Se
501
472
  * deserializeAws_restJson1GetProvisionedConcurrencyConfigCommand
502
473
  */
503
474
  export declare const de_GetProvisionedConcurrencyConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetProvisionedConcurrencyConfigCommandOutput>;
504
- /**
505
- * deserializeAws_restJson1GetPublicAccessBlockConfigCommand
506
- */
507
- export declare const de_GetPublicAccessBlockConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPublicAccessBlockConfigCommandOutput>;
508
- /**
509
- * deserializeAws_restJson1GetResourcePolicyCommand
510
- */
511
- export declare const de_GetResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourcePolicyCommandOutput>;
512
475
  /**
513
476
  * deserializeAws_restJson1GetRuntimeManagementConfigCommand
514
477
  */
@@ -601,14 +564,6 @@ export declare const de_PutFunctionRecursionConfigCommand: (output: __HttpRespon
601
564
  * deserializeAws_restJson1PutProvisionedConcurrencyConfigCommand
602
565
  */
603
566
  export declare const de_PutProvisionedConcurrencyConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutProvisionedConcurrencyConfigCommandOutput>;
604
- /**
605
- * deserializeAws_restJson1PutPublicAccessBlockConfigCommand
606
- */
607
- export declare const de_PutPublicAccessBlockConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutPublicAccessBlockConfigCommandOutput>;
608
- /**
609
- * deserializeAws_restJson1PutResourcePolicyCommand
610
- */
611
- export declare const de_PutResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutResourcePolicyCommandOutput>;
612
567
  /**
613
568
  * deserializeAws_restJson1PutRuntimeManagementConfigCommand
614
569
  */
@@ -67,10 +67,6 @@ import {
67
67
  DeleteProvisionedConcurrencyConfigCommandInput,
68
68
  DeleteProvisionedConcurrencyConfigCommandOutput,
69
69
  } from "./commands/DeleteProvisionedConcurrencyConfigCommand";
70
- import {
71
- DeleteResourcePolicyCommandInput,
72
- DeleteResourcePolicyCommandOutput,
73
- } from "./commands/DeleteResourcePolicyCommand";
74
70
  import {
75
71
  GetAccountSettingsCommandInput,
76
72
  GetAccountSettingsCommandOutput,
@@ -135,14 +131,6 @@ import {
135
131
  GetProvisionedConcurrencyConfigCommandInput,
136
132
  GetProvisionedConcurrencyConfigCommandOutput,
137
133
  } from "./commands/GetProvisionedConcurrencyConfigCommand";
138
- import {
139
- GetPublicAccessBlockConfigCommandInput,
140
- GetPublicAccessBlockConfigCommandOutput,
141
- } from "./commands/GetPublicAccessBlockConfigCommand";
142
- import {
143
- GetResourcePolicyCommandInput,
144
- GetResourcePolicyCommandOutput,
145
- } from "./commands/GetResourcePolicyCommand";
146
134
  import {
147
135
  GetRuntimeManagementConfigCommandInput,
148
136
  GetRuntimeManagementConfigCommandOutput,
@@ -235,14 +223,6 @@ import {
235
223
  PutProvisionedConcurrencyConfigCommandInput,
236
224
  PutProvisionedConcurrencyConfigCommandOutput,
237
225
  } from "./commands/PutProvisionedConcurrencyConfigCommand";
238
- import {
239
- PutPublicAccessBlockConfigCommandInput,
240
- PutPublicAccessBlockConfigCommandOutput,
241
- } from "./commands/PutPublicAccessBlockConfigCommand";
242
- import {
243
- PutResourcePolicyCommandInput,
244
- PutResourcePolicyCommandOutput,
245
- } from "./commands/PutResourcePolicyCommand";
246
226
  import {
247
227
  PutRuntimeManagementConfigCommandInput,
248
228
  PutRuntimeManagementConfigCommandOutput,
@@ -520,19 +500,6 @@ export interface Lambda {
520
500
  data?: DeleteProvisionedConcurrencyConfigCommandOutput
521
501
  ) => void
522
502
  ): void;
523
- deleteResourcePolicy(
524
- args: DeleteResourcePolicyCommandInput,
525
- options?: __HttpHandlerOptions
526
- ): Promise<DeleteResourcePolicyCommandOutput>;
527
- deleteResourcePolicy(
528
- args: DeleteResourcePolicyCommandInput,
529
- cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
530
- ): void;
531
- deleteResourcePolicy(
532
- args: DeleteResourcePolicyCommandInput,
533
- options: __HttpHandlerOptions,
534
- cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
535
- ): void;
536
503
  getAccountSettings(): Promise<GetAccountSettingsCommandOutput>;
537
504
  getAccountSettings(
538
505
  args: GetAccountSettingsCommandInput,
@@ -742,32 +709,6 @@ export interface Lambda {
742
709
  options: __HttpHandlerOptions,
743
710
  cb: (err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void
744
711
  ): void;
745
- getPublicAccessBlockConfig(
746
- args: GetPublicAccessBlockConfigCommandInput,
747
- options?: __HttpHandlerOptions
748
- ): Promise<GetPublicAccessBlockConfigCommandOutput>;
749
- getPublicAccessBlockConfig(
750
- args: GetPublicAccessBlockConfigCommandInput,
751
- cb: (err: any, data?: GetPublicAccessBlockConfigCommandOutput) => void
752
- ): void;
753
- getPublicAccessBlockConfig(
754
- args: GetPublicAccessBlockConfigCommandInput,
755
- options: __HttpHandlerOptions,
756
- cb: (err: any, data?: GetPublicAccessBlockConfigCommandOutput) => void
757
- ): void;
758
- getResourcePolicy(
759
- args: GetResourcePolicyCommandInput,
760
- options?: __HttpHandlerOptions
761
- ): Promise<GetResourcePolicyCommandOutput>;
762
- getResourcePolicy(
763
- args: GetResourcePolicyCommandInput,
764
- cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
765
- ): void;
766
- getResourcePolicy(
767
- args: GetResourcePolicyCommandInput,
768
- options: __HttpHandlerOptions,
769
- cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
770
- ): void;
771
712
  getRuntimeManagementConfig(
772
713
  args: GetRuntimeManagementConfigCommandInput,
773
714
  options?: __HttpHandlerOptions
@@ -1077,32 +1018,6 @@ export interface Lambda {
1077
1018
  options: __HttpHandlerOptions,
1078
1019
  cb: (err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void
1079
1020
  ): void;
1080
- putPublicAccessBlockConfig(
1081
- args: PutPublicAccessBlockConfigCommandInput,
1082
- options?: __HttpHandlerOptions
1083
- ): Promise<PutPublicAccessBlockConfigCommandOutput>;
1084
- putPublicAccessBlockConfig(
1085
- args: PutPublicAccessBlockConfigCommandInput,
1086
- cb: (err: any, data?: PutPublicAccessBlockConfigCommandOutput) => void
1087
- ): void;
1088
- putPublicAccessBlockConfig(
1089
- args: PutPublicAccessBlockConfigCommandInput,
1090
- options: __HttpHandlerOptions,
1091
- cb: (err: any, data?: PutPublicAccessBlockConfigCommandOutput) => void
1092
- ): void;
1093
- putResourcePolicy(
1094
- args: PutResourcePolicyCommandInput,
1095
- options?: __HttpHandlerOptions
1096
- ): Promise<PutResourcePolicyCommandOutput>;
1097
- putResourcePolicy(
1098
- args: PutResourcePolicyCommandInput,
1099
- cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
1100
- ): void;
1101
- putResourcePolicy(
1102
- args: PutResourcePolicyCommandInput,
1103
- options: __HttpHandlerOptions,
1104
- cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
1105
- ): void;
1106
1021
  putRuntimeManagementConfig(
1107
1022
  args: PutRuntimeManagementConfigCommandInput,
1108
1023
  options?: __HttpHandlerOptions
@@ -118,10 +118,6 @@ import {
118
118
  DeleteProvisionedConcurrencyConfigCommandInput,
119
119
  DeleteProvisionedConcurrencyConfigCommandOutput,
120
120
  } from "./commands/DeleteProvisionedConcurrencyConfigCommand";
121
- import {
122
- DeleteResourcePolicyCommandInput,
123
- DeleteResourcePolicyCommandOutput,
124
- } from "./commands/DeleteResourcePolicyCommand";
125
121
  import {
126
122
  GetAccountSettingsCommandInput,
127
123
  GetAccountSettingsCommandOutput,
@@ -186,14 +182,6 @@ import {
186
182
  GetProvisionedConcurrencyConfigCommandInput,
187
183
  GetProvisionedConcurrencyConfigCommandOutput,
188
184
  } from "./commands/GetProvisionedConcurrencyConfigCommand";
189
- import {
190
- GetPublicAccessBlockConfigCommandInput,
191
- GetPublicAccessBlockConfigCommandOutput,
192
- } from "./commands/GetPublicAccessBlockConfigCommand";
193
- import {
194
- GetResourcePolicyCommandInput,
195
- GetResourcePolicyCommandOutput,
196
- } from "./commands/GetResourcePolicyCommand";
197
185
  import {
198
186
  GetRuntimeManagementConfigCommandInput,
199
187
  GetRuntimeManagementConfigCommandOutput,
@@ -286,14 +274,6 @@ import {
286
274
  PutProvisionedConcurrencyConfigCommandInput,
287
275
  PutProvisionedConcurrencyConfigCommandOutput,
288
276
  } from "./commands/PutProvisionedConcurrencyConfigCommand";
289
- import {
290
- PutPublicAccessBlockConfigCommandInput,
291
- PutPublicAccessBlockConfigCommandOutput,
292
- } from "./commands/PutPublicAccessBlockConfigCommand";
293
- import {
294
- PutResourcePolicyCommandInput,
295
- PutResourcePolicyCommandOutput,
296
- } from "./commands/PutResourcePolicyCommand";
297
277
  import {
298
278
  PutRuntimeManagementConfigCommandInput,
299
279
  PutRuntimeManagementConfigCommandOutput,
@@ -367,7 +347,6 @@ export type ServiceInputTypes =
367
347
  | DeleteFunctionUrlConfigCommandInput
368
348
  | DeleteLayerVersionCommandInput
369
349
  | DeleteProvisionedConcurrencyConfigCommandInput
370
- | DeleteResourcePolicyCommandInput
371
350
  | GetAccountSettingsCommandInput
372
351
  | GetAliasCommandInput
373
352
  | GetCodeSigningConfigCommandInput
@@ -384,8 +363,6 @@ export type ServiceInputTypes =
384
363
  | GetLayerVersionPolicyCommandInput
385
364
  | GetPolicyCommandInput
386
365
  | GetProvisionedConcurrencyConfigCommandInput
387
- | GetPublicAccessBlockConfigCommandInput
388
- | GetResourcePolicyCommandInput
389
366
  | GetRuntimeManagementConfigCommandInput
390
367
  | InvokeAsyncCommandInput
391
368
  | InvokeCommandInput
@@ -409,8 +386,6 @@ export type ServiceInputTypes =
409
386
  | PutFunctionEventInvokeConfigCommandInput
410
387
  | PutFunctionRecursionConfigCommandInput
411
388
  | PutProvisionedConcurrencyConfigCommandInput
412
- | PutPublicAccessBlockConfigCommandInput
413
- | PutResourcePolicyCommandInput
414
389
  | PutRuntimeManagementConfigCommandInput
415
390
  | RemoveLayerVersionPermissionCommandInput
416
391
  | RemovePermissionCommandInput
@@ -441,7 +416,6 @@ export type ServiceOutputTypes =
441
416
  | DeleteFunctionUrlConfigCommandOutput
442
417
  | DeleteLayerVersionCommandOutput
443
418
  | DeleteProvisionedConcurrencyConfigCommandOutput
444
- | DeleteResourcePolicyCommandOutput
445
419
  | GetAccountSettingsCommandOutput
446
420
  | GetAliasCommandOutput
447
421
  | GetCodeSigningConfigCommandOutput
@@ -458,8 +432,6 @@ export type ServiceOutputTypes =
458
432
  | GetLayerVersionPolicyCommandOutput
459
433
  | GetPolicyCommandOutput
460
434
  | GetProvisionedConcurrencyConfigCommandOutput
461
- | GetPublicAccessBlockConfigCommandOutput
462
- | GetResourcePolicyCommandOutput
463
435
  | GetRuntimeManagementConfigCommandOutput
464
436
  | InvokeAsyncCommandOutput
465
437
  | InvokeCommandOutput
@@ -483,8 +455,6 @@ export type ServiceOutputTypes =
483
455
  | PutFunctionEventInvokeConfigCommandOutput
484
456
  | PutFunctionRecursionConfigCommandOutput
485
457
  | PutProvisionedConcurrencyConfigCommandOutput
486
- | PutPublicAccessBlockConfigCommandOutput
487
- | PutResourcePolicyCommandOutput
488
458
  | PutRuntimeManagementConfigCommandOutput
489
459
  | RemoveLayerVersionPermissionCommandOutput
490
460
  | RemovePermissionCommandOutput
@@ -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";
@@ -115,15 +115,6 @@ export interface AddPermissionRequest {
115
115
  export interface AddPermissionResponse {
116
116
  Statement?: string;
117
117
  }
118
- export declare class PublicPolicyException extends __BaseException {
119
- readonly name: "PublicPolicyException";
120
- readonly $fault: "client";
121
- Type?: string;
122
- Message?: string;
123
- constructor(
124
- opts: __ExceptionOptionType<PublicPolicyException, __BaseException>
125
- );
126
- }
127
118
  export interface AliasRoutingConfiguration {
128
119
  AdditionalVersionWeights?: Record<string, number>;
129
120
  }
@@ -725,10 +716,6 @@ export interface DeleteProvisionedConcurrencyConfigRequest {
725
716
  FunctionName: string | undefined;
726
717
  Qualifier: string | undefined;
727
718
  }
728
- export interface DeleteResourcePolicyRequest {
729
- ResourceArn: string | undefined;
730
- RevisionId?: string;
731
- }
732
719
  export interface GetAccountSettingsRequest {}
733
720
  export interface GetAccountSettingsResponse {
734
721
  AccountLimit?: AccountLimit;
@@ -889,23 +876,6 @@ export declare class ProvisionedConcurrencyConfigNotFoundException extends __Bas
889
876
  >
890
877
  );
891
878
  }
892
- export interface GetPublicAccessBlockConfigRequest {
893
- ResourceArn: string | undefined;
894
- }
895
- export interface PublicAccessBlockConfig {
896
- BlockPublicPolicy?: boolean;
897
- RestrictPublicResource?: boolean;
898
- }
899
- export interface GetPublicAccessBlockConfigResponse {
900
- PublicAccessBlockConfig?: PublicAccessBlockConfig;
901
- }
902
- export interface GetResourcePolicyRequest {
903
- ResourceArn: string | undefined;
904
- }
905
- export interface GetResourcePolicyResponse {
906
- Policy?: string;
907
- RevisionId?: string;
908
- }
909
879
  export interface GetRuntimeManagementConfigRequest {
910
880
  FunctionName: string | undefined;
911
881
  Qualifier?: string;
@@ -1455,22 +1425,6 @@ export interface PutProvisionedConcurrencyConfigResponse {
1455
1425
  StatusReason?: string;
1456
1426
  LastModified?: string;
1457
1427
  }
1458
- export interface PutPublicAccessBlockConfigRequest {
1459
- ResourceArn: string | undefined;
1460
- PublicAccessBlockConfig: PublicAccessBlockConfig | undefined;
1461
- }
1462
- export interface PutPublicAccessBlockConfigResponse {
1463
- PublicAccessBlockConfig?: PublicAccessBlockConfig;
1464
- }
1465
- export interface PutResourcePolicyRequest {
1466
- ResourceArn: string | undefined;
1467
- Policy: string | undefined;
1468
- RevisionId?: string;
1469
- }
1470
- export interface PutResourcePolicyResponse {
1471
- Policy?: string;
1472
- RevisionId?: string;
1473
- }
1474
1428
  export interface PutRuntimeManagementConfigRequest {
1475
1429
  FunctionName: string | undefined;
1476
1430
  Qualifier?: string;