@aws-sdk/client-lambda 3.651.1 → 3.654.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 (168) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +254 -0
  3. package/dist-es/Lambda.js +10 -0
  4. package/dist-es/commands/DeleteResourcePolicyCommand.js +22 -0
  5. package/dist-es/commands/GetPublicAccessBlockConfigCommand.js +22 -0
  6. package/dist-es/commands/GetResourcePolicyCommand.js +22 -0
  7. package/dist-es/commands/PutPublicAccessBlockConfigCommand.js +22 -0
  8. package/dist-es/commands/PutResourcePolicyCommand.js +22 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +14 -0
  11. package/dist-es/protocols/Aws_restJson1.js +145 -1
  12. package/dist-types/Lambda.d.ts +35 -0
  13. package/dist-types/LambdaClient.d.ts +7 -2
  14. package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +11 -0
  15. package/dist-types/commands/AddPermissionCommand.d.ts +11 -0
  16. package/dist-types/commands/CreateAliasCommand.d.ts +11 -0
  17. package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +11 -0
  18. package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +11 -0
  19. package/dist-types/commands/CreateFunctionCommand.d.ts +11 -0
  20. package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +11 -0
  21. package/dist-types/commands/DeleteAliasCommand.d.ts +11 -0
  22. package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +11 -0
  23. package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +11 -0
  24. package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +11 -0
  25. package/dist-types/commands/DeleteFunctionCommand.d.ts +11 -0
  26. package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +11 -0
  27. package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +11 -0
  28. package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +11 -0
  29. package/dist-types/commands/DeleteLayerVersionCommand.d.ts +11 -0
  30. package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +11 -0
  31. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +98 -0
  32. package/dist-types/commands/GetAccountSettingsCommand.d.ts +11 -0
  33. package/dist-types/commands/GetAliasCommand.d.ts +11 -0
  34. package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +11 -0
  35. package/dist-types/commands/GetEventSourceMappingCommand.d.ts +11 -0
  36. package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +11 -0
  37. package/dist-types/commands/GetFunctionCommand.d.ts +11 -0
  38. package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +11 -0
  39. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +11 -0
  40. package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +11 -0
  41. package/dist-types/commands/GetFunctionRecursionConfigCommand.d.ts +11 -0
  42. package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +11 -0
  43. package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +11 -0
  44. package/dist-types/commands/GetLayerVersionCommand.d.ts +11 -0
  45. package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +11 -0
  46. package/dist-types/commands/GetPolicyCommand.d.ts +11 -0
  47. package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +11 -0
  48. package/dist-types/commands/GetPublicAccessBlockConfigCommand.d.ts +86 -0
  49. package/dist-types/commands/GetResourcePolicyCommand.d.ts +84 -0
  50. package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +11 -0
  51. package/dist-types/commands/InvokeAsyncCommand.d.ts +11 -0
  52. package/dist-types/commands/InvokeCommand.d.ts +11 -0
  53. package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +11 -0
  54. package/dist-types/commands/ListAliasesCommand.d.ts +11 -0
  55. package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +11 -0
  56. package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +11 -0
  57. package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +11 -0
  58. package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +11 -0
  59. package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +11 -0
  60. package/dist-types/commands/ListFunctionsCommand.d.ts +11 -0
  61. package/dist-types/commands/ListLayerVersionsCommand.d.ts +11 -0
  62. package/dist-types/commands/ListLayersCommand.d.ts +11 -0
  63. package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +11 -0
  64. package/dist-types/commands/ListTagsCommand.d.ts +11 -0
  65. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +11 -0
  66. package/dist-types/commands/PublishLayerVersionCommand.d.ts +11 -0
  67. package/dist-types/commands/PublishVersionCommand.d.ts +11 -0
  68. package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +11 -0
  69. package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +11 -0
  70. package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +11 -0
  71. package/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +11 -0
  72. package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +11 -0
  73. package/dist-types/commands/PutPublicAccessBlockConfigCommand.d.ts +97 -0
  74. package/dist-types/commands/PutResourcePolicyCommand.d.ts +120 -0
  75. package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +11 -0
  76. package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +11 -0
  77. package/dist-types/commands/RemovePermissionCommand.d.ts +11 -0
  78. package/dist-types/commands/TagResourceCommand.d.ts +11 -0
  79. package/dist-types/commands/UntagResourceCommand.d.ts +11 -0
  80. package/dist-types/commands/UpdateAliasCommand.d.ts +11 -0
  81. package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +11 -0
  82. package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +11 -0
  83. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +11 -0
  84. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +11 -0
  85. package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +11 -0
  86. package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +11 -0
  87. package/dist-types/commands/index.d.ts +5 -0
  88. package/dist-types/models/models_0.d.ts +174 -0
  89. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  90. package/dist-types/ts3.4/Lambda.d.ts +85 -0
  91. package/dist-types/ts3.4/LambdaClient.d.ts +30 -0
  92. package/dist-types/ts3.4/commands/AddLayerVersionPermissionCommand.d.ts +12 -1
  93. package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +12 -1
  94. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +12 -1
  95. package/dist-types/ts3.4/commands/CreateCodeSigningConfigCommand.d.ts +12 -1
  96. package/dist-types/ts3.4/commands/CreateEventSourceMappingCommand.d.ts +12 -1
  97. package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +12 -1
  98. package/dist-types/ts3.4/commands/CreateFunctionUrlConfigCommand.d.ts +12 -1
  99. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +12 -1
  100. package/dist-types/ts3.4/commands/DeleteCodeSigningConfigCommand.d.ts +12 -1
  101. package/dist-types/ts3.4/commands/DeleteEventSourceMappingCommand.d.ts +12 -1
  102. package/dist-types/ts3.4/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +12 -1
  103. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +12 -1
  104. package/dist-types/ts3.4/commands/DeleteFunctionConcurrencyCommand.d.ts +12 -1
  105. package/dist-types/ts3.4/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +12 -1
  106. package/dist-types/ts3.4/commands/DeleteFunctionUrlConfigCommand.d.ts +12 -1
  107. package/dist-types/ts3.4/commands/DeleteLayerVersionCommand.d.ts +12 -1
  108. package/dist-types/ts3.4/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +12 -1
  109. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +46 -0
  110. package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +12 -1
  111. package/dist-types/ts3.4/commands/GetAliasCommand.d.ts +12 -1
  112. package/dist-types/ts3.4/commands/GetCodeSigningConfigCommand.d.ts +12 -1
  113. package/dist-types/ts3.4/commands/GetEventSourceMappingCommand.d.ts +12 -1
  114. package/dist-types/ts3.4/commands/GetFunctionCodeSigningConfigCommand.d.ts +12 -1
  115. package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +12 -1
  116. package/dist-types/ts3.4/commands/GetFunctionConcurrencyCommand.d.ts +12 -1
  117. package/dist-types/ts3.4/commands/GetFunctionConfigurationCommand.d.ts +12 -1
  118. package/dist-types/ts3.4/commands/GetFunctionEventInvokeConfigCommand.d.ts +12 -1
  119. package/dist-types/ts3.4/commands/GetFunctionRecursionConfigCommand.d.ts +12 -1
  120. package/dist-types/ts3.4/commands/GetFunctionUrlConfigCommand.d.ts +12 -1
  121. package/dist-types/ts3.4/commands/GetLayerVersionByArnCommand.d.ts +12 -1
  122. package/dist-types/ts3.4/commands/GetLayerVersionCommand.d.ts +12 -1
  123. package/dist-types/ts3.4/commands/GetLayerVersionPolicyCommand.d.ts +12 -1
  124. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +12 -1
  125. package/dist-types/ts3.4/commands/GetProvisionedConcurrencyConfigCommand.d.ts +12 -1
  126. package/dist-types/ts3.4/commands/GetPublicAccessBlockConfigCommand.d.ts +51 -0
  127. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
  128. package/dist-types/ts3.4/commands/GetRuntimeManagementConfigCommand.d.ts +12 -1
  129. package/dist-types/ts3.4/commands/InvokeAsyncCommand.d.ts +12 -1
  130. package/dist-types/ts3.4/commands/InvokeCommand.d.ts +12 -1
  131. package/dist-types/ts3.4/commands/InvokeWithResponseStreamCommand.d.ts +12 -1
  132. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +12 -1
  133. package/dist-types/ts3.4/commands/ListCodeSigningConfigsCommand.d.ts +12 -1
  134. package/dist-types/ts3.4/commands/ListEventSourceMappingsCommand.d.ts +12 -1
  135. package/dist-types/ts3.4/commands/ListFunctionEventInvokeConfigsCommand.d.ts +12 -1
  136. package/dist-types/ts3.4/commands/ListFunctionUrlConfigsCommand.d.ts +12 -1
  137. package/dist-types/ts3.4/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +12 -1
  138. package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +12 -1
  139. package/dist-types/ts3.4/commands/ListLayerVersionsCommand.d.ts +12 -1
  140. package/dist-types/ts3.4/commands/ListLayersCommand.d.ts +12 -1
  141. package/dist-types/ts3.4/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +12 -1
  142. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +12 -1
  143. package/dist-types/ts3.4/commands/ListVersionsByFunctionCommand.d.ts +12 -1
  144. package/dist-types/ts3.4/commands/PublishLayerVersionCommand.d.ts +12 -1
  145. package/dist-types/ts3.4/commands/PublishVersionCommand.d.ts +12 -1
  146. package/dist-types/ts3.4/commands/PutFunctionCodeSigningConfigCommand.d.ts +12 -1
  147. package/dist-types/ts3.4/commands/PutFunctionConcurrencyCommand.d.ts +12 -1
  148. package/dist-types/ts3.4/commands/PutFunctionEventInvokeConfigCommand.d.ts +12 -1
  149. package/dist-types/ts3.4/commands/PutFunctionRecursionConfigCommand.d.ts +12 -1
  150. package/dist-types/ts3.4/commands/PutProvisionedConcurrencyConfigCommand.d.ts +12 -1
  151. package/dist-types/ts3.4/commands/PutPublicAccessBlockConfigCommand.d.ts +51 -0
  152. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
  153. package/dist-types/ts3.4/commands/PutRuntimeManagementConfigCommand.d.ts +12 -1
  154. package/dist-types/ts3.4/commands/RemoveLayerVersionPermissionCommand.d.ts +12 -1
  155. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +12 -1
  156. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +12 -1
  157. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +12 -1
  158. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +12 -1
  159. package/dist-types/ts3.4/commands/UpdateCodeSigningConfigCommand.d.ts +12 -1
  160. package/dist-types/ts3.4/commands/UpdateEventSourceMappingCommand.d.ts +12 -1
  161. package/dist-types/ts3.4/commands/UpdateFunctionCodeCommand.d.ts +12 -1
  162. package/dist-types/ts3.4/commands/UpdateFunctionConfigurationCommand.d.ts +12 -1
  163. package/dist-types/ts3.4/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +12 -1
  164. package/dist-types/ts3.4/commands/UpdateFunctionUrlConfigCommand.d.ts +12 -1
  165. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  166. package/dist-types/ts3.4/models/models_0.d.ts +46 -0
  167. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  168. package/package.json +40 -40
@@ -265,4 +265,15 @@ declare const UpdateFunctionConfigurationCommand_base: {
265
265
  * @public
266
266
  */
267
267
  export declare class UpdateFunctionConfigurationCommand extends UpdateFunctionConfigurationCommand_base {
268
+ /** @internal type navigation helper, not in runtime. */
269
+ protected static __types: {
270
+ api: {
271
+ input: UpdateFunctionConfigurationRequest;
272
+ output: FunctionConfiguration;
273
+ };
274
+ sdk: {
275
+ input: UpdateFunctionConfigurationCommandInput;
276
+ output: UpdateFunctionConfigurationCommandOutput;
277
+ };
278
+ };
268
279
  }
@@ -95,4 +95,15 @@ declare const UpdateFunctionEventInvokeConfigCommand_base: {
95
95
  * @public
96
96
  */
97
97
  export declare class UpdateFunctionEventInvokeConfigCommand extends UpdateFunctionEventInvokeConfigCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: UpdateFunctionEventInvokeConfigRequest;
102
+ output: FunctionEventInvokeConfig;
103
+ };
104
+ sdk: {
105
+ input: UpdateFunctionEventInvokeConfigCommandInput;
106
+ output: UpdateFunctionEventInvokeConfigCommandOutput;
107
+ };
108
+ };
98
109
  }
@@ -112,4 +112,15 @@ declare const UpdateFunctionUrlConfigCommand_base: {
112
112
  * @public
113
113
  */
114
114
  export declare class UpdateFunctionUrlConfigCommand extends UpdateFunctionUrlConfigCommand_base {
115
+ /** @internal type navigation helper, not in runtime. */
116
+ protected static __types: {
117
+ api: {
118
+ input: UpdateFunctionUrlConfigRequest;
119
+ output: UpdateFunctionUrlConfigResponse;
120
+ };
121
+ sdk: {
122
+ input: UpdateFunctionUrlConfigCommandInput;
123
+ output: UpdateFunctionUrlConfigCommandOutput;
124
+ };
125
+ };
115
126
  }
@@ -15,6 +15,7 @@ export * from "./DeleteFunctionEventInvokeConfigCommand";
15
15
  export * from "./DeleteFunctionUrlConfigCommand";
16
16
  export * from "./DeleteLayerVersionCommand";
17
17
  export * from "./DeleteProvisionedConcurrencyConfigCommand";
18
+ export * from "./DeleteResourcePolicyCommand";
18
19
  export * from "./GetAccountSettingsCommand";
19
20
  export * from "./GetAliasCommand";
20
21
  export * from "./GetCodeSigningConfigCommand";
@@ -31,6 +32,8 @@ export * from "./GetLayerVersionCommand";
31
32
  export * from "./GetLayerVersionPolicyCommand";
32
33
  export * from "./GetPolicyCommand";
33
34
  export * from "./GetProvisionedConcurrencyConfigCommand";
35
+ export * from "./GetPublicAccessBlockConfigCommand";
36
+ export * from "./GetResourcePolicyCommand";
34
37
  export * from "./GetRuntimeManagementConfigCommand";
35
38
  export * from "./InvokeAsyncCommand";
36
39
  export * from "./InvokeCommand";
@@ -54,6 +57,8 @@ export * from "./PutFunctionConcurrencyCommand";
54
57
  export * from "./PutFunctionEventInvokeConfigCommand";
55
58
  export * from "./PutFunctionRecursionConfigCommand";
56
59
  export * from "./PutProvisionedConcurrencyConfigCommand";
60
+ export * from "./PutPublicAccessBlockConfigCommand";
61
+ export * from "./PutResourcePolicyCommand";
57
62
  export * from "./PutRuntimeManagementConfigCommand";
58
63
  export * from "./RemoveLayerVersionPermissionCommand";
59
64
  export * from "./RemovePermissionCommand";
@@ -2746,6 +2746,23 @@ export interface DeleteProvisionedConcurrencyConfigRequest {
2746
2746
  */
2747
2747
  Qualifier: string | undefined;
2748
2748
  }
2749
+ /**
2750
+ * @public
2751
+ */
2752
+ export interface DeleteResourcePolicyRequest {
2753
+ /**
2754
+ * <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,
2755
+ * but the value you specify must be a complete ARN and wildcard characters are not accepted.</p>
2756
+ * @public
2757
+ */
2758
+ ResourceArn: string | undefined;
2759
+ /**
2760
+ * <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
2761
+ * to your function, use the <a>GetResourcePolicy</a> action.</p>
2762
+ * @public
2763
+ */
2764
+ RevisionId?: string;
2765
+ }
2749
2766
  /**
2750
2767
  * @public
2751
2768
  */
@@ -3560,6 +3577,71 @@ export declare class ProvisionedConcurrencyConfigNotFoundException extends __Bas
3560
3577
  */
3561
3578
  constructor(opts: __ExceptionOptionType<ProvisionedConcurrencyConfigNotFoundException, __BaseException>);
3562
3579
  }
3580
+ /**
3581
+ * @public
3582
+ */
3583
+ export interface GetPublicAccessBlockConfigRequest {
3584
+ /**
3585
+ * <p>The Amazon Resource Name (ARN) of the function you want to retrieve public-access settings for.</p>
3586
+ * @public
3587
+ */
3588
+ ResourceArn: string | undefined;
3589
+ }
3590
+ /**
3591
+ * <p>An object that defines the public-access settings for a function.</p>
3592
+ * @public
3593
+ */
3594
+ export interface PublicAccessBlockConfig {
3595
+ /**
3596
+ * <p>To block the creation of resource-based policies that would grant public access to your function, set <code>BlockPublicPolicy</code>
3597
+ * to <code>true</code>. To allow the creation of resource-based policies that would grant public access to your function, set <code>BlockPublicPolicy</code>
3598
+ * to <code>false</code>.</p>
3599
+ * @public
3600
+ */
3601
+ BlockPublicPolicy?: boolean;
3602
+ /**
3603
+ * <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
3604
+ * allow public access to a function with a resource-based policy that permits it, set <code>RestrictPublicResource</code> to <code>false</code>.</p>
3605
+ * @public
3606
+ */
3607
+ RestrictPublicResource?: boolean;
3608
+ }
3609
+ /**
3610
+ * @public
3611
+ */
3612
+ export interface GetPublicAccessBlockConfigResponse {
3613
+ /**
3614
+ * <p>The public-access settings configured for the function you specified</p>
3615
+ * @public
3616
+ */
3617
+ PublicAccessBlockConfig?: PublicAccessBlockConfig;
3618
+ }
3619
+ /**
3620
+ * @public
3621
+ */
3622
+ export interface GetResourcePolicyRequest {
3623
+ /**
3624
+ * <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,
3625
+ * but the value you specify must be a complete ARN and wildcard characters are not accepted.</p>
3626
+ * @public
3627
+ */
3628
+ ResourceArn: string | undefined;
3629
+ }
3630
+ /**
3631
+ * @public
3632
+ */
3633
+ export interface GetResourcePolicyResponse {
3634
+ /**
3635
+ * <p>The resource-based policy attached to the function you specified.</p>
3636
+ * @public
3637
+ */
3638
+ Policy?: string;
3639
+ /**
3640
+ * <p>The revision ID of the policy.</p>
3641
+ * @public
3642
+ */
3643
+ RevisionId?: string;
3644
+ }
3563
3645
  /**
3564
3646
  * @public
3565
3647
  */
@@ -5632,6 +5714,98 @@ export interface PutProvisionedConcurrencyConfigResponse {
5632
5714
  */
5633
5715
  LastModified?: string;
5634
5716
  }
5717
+ /**
5718
+ * @public
5719
+ */
5720
+ export interface PutPublicAccessBlockConfigRequest {
5721
+ /**
5722
+ * <p>The Amazon Resource Name (ARN) of the function you want to configure public-access settings for. Public-access settings
5723
+ * are applied at the function level, so you can't apply different settings to function versions or aliases.</p>
5724
+ * @public
5725
+ */
5726
+ ResourceArn: string | undefined;
5727
+ /**
5728
+ * <p>An object defining the public-access settings you want to apply.</p>
5729
+ * <p>To block the creation of resource-based policies that would grant public access to your function, set <code>BlockPublicPolicy</code>
5730
+ * to <code>true</code>. To allow the creation of resource-based policies that would grant public access to your function, set <code>BlockPublicPolicy</code>
5731
+ * to <code>false</code>.</p>
5732
+ * <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
5733
+ * allow public access to a function with a resource-based policy that permits it, set <code>RestrictPublicResource</code> to <code>false</code>.</p>
5734
+ * <p>The default setting for both <code>BlockPublicPolicy</code> and <code>RestrictPublicResource</code> is <code>true</code>.</p>
5735
+ * @public
5736
+ */
5737
+ PublicAccessBlockConfig: PublicAccessBlockConfig | undefined;
5738
+ }
5739
+ /**
5740
+ * @public
5741
+ */
5742
+ export interface PutPublicAccessBlockConfigResponse {
5743
+ /**
5744
+ * <p>The public-access settings Lambda applied to your function.</p>
5745
+ * @public
5746
+ */
5747
+ PublicAccessBlockConfig?: PublicAccessBlockConfig;
5748
+ }
5749
+ /**
5750
+ * <p>Lambda prevented your policy from being created because it would grant public access to your function. If you intended to
5751
+ * create a public policy, use the <a>PutPublicAccessBlockConfig</a> API action to configure your function's public-access settings
5752
+ * to allow public policies.</p>
5753
+ * @public
5754
+ */
5755
+ export declare class PublicPolicyException extends __BaseException {
5756
+ readonly name: "PublicPolicyException";
5757
+ readonly $fault: "client";
5758
+ /**
5759
+ * <p>The exception type.</p>
5760
+ * @public
5761
+ */
5762
+ Type?: string;
5763
+ Message?: string;
5764
+ /**
5765
+ * @internal
5766
+ */
5767
+ constructor(opts: __ExceptionOptionType<PublicPolicyException, __BaseException>);
5768
+ }
5769
+ /**
5770
+ * @public
5771
+ */
5772
+ export interface PutResourcePolicyRequest {
5773
+ /**
5774
+ * <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,
5775
+ * but the value you specify must be a complete ARN and wildcard characters are not accepted.</p>
5776
+ * @public
5777
+ */
5778
+ ResourceArn: string | undefined;
5779
+ /**
5780
+ * <p>The JSON resource-based policy you want to add to your function.</p>
5781
+ * <p>To learn more about creating resource-based policies for controlling access to
5782
+ * Lambda, see <a href="https://docs.aws.amazon.com/">Working with resource-based IAM policies in Lambda</a> in the
5783
+ * <i>Lambda Developer Guide</i>.</p>
5784
+ * @public
5785
+ */
5786
+ Policy: string | undefined;
5787
+ /**
5788
+ * <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
5789
+ * to your function, use the <a>GetResourcePolicy</a> action.</p>
5790
+ * @public
5791
+ */
5792
+ RevisionId?: string;
5793
+ }
5794
+ /**
5795
+ * @public
5796
+ */
5797
+ export interface PutResourcePolicyResponse {
5798
+ /**
5799
+ * <p>The policy Lambda added to your function.</p>
5800
+ * @public
5801
+ */
5802
+ Policy?: string;
5803
+ /**
5804
+ * <p>The revision ID of the policy Lambda added to your function.</p>
5805
+ * @public
5806
+ */
5807
+ RevisionId?: string;
5808
+ }
5635
5809
  /**
5636
5810
  * @public
5637
5811
  */
@@ -17,6 +17,7 @@ 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";
20
21
  import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "../commands/GetAccountSettingsCommand";
21
22
  import { GetAliasCommandInput, GetAliasCommandOutput } from "../commands/GetAliasCommand";
22
23
  import { GetCodeSigningConfigCommandInput, GetCodeSigningConfigCommandOutput } from "../commands/GetCodeSigningConfigCommand";
@@ -33,6 +34,8 @@ import { GetLayerVersionCommandInput, GetLayerVersionCommandOutput } from "../co
33
34
  import { GetLayerVersionPolicyCommandInput, GetLayerVersionPolicyCommandOutput } from "../commands/GetLayerVersionPolicyCommand";
34
35
  import { GetPolicyCommandInput, GetPolicyCommandOutput } from "../commands/GetPolicyCommand";
35
36
  import { GetProvisionedConcurrencyConfigCommandInput, GetProvisionedConcurrencyConfigCommandOutput } from "../commands/GetProvisionedConcurrencyConfigCommand";
37
+ import { GetPublicAccessBlockConfigCommandInput, GetPublicAccessBlockConfigCommandOutput } from "../commands/GetPublicAccessBlockConfigCommand";
38
+ import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "../commands/GetResourcePolicyCommand";
36
39
  import { GetRuntimeManagementConfigCommandInput, GetRuntimeManagementConfigCommandOutput } from "../commands/GetRuntimeManagementConfigCommand";
37
40
  import { InvokeAsyncCommandInput, InvokeAsyncCommandOutput } from "../commands/InvokeAsyncCommand";
38
41
  import { InvokeCommandInput, InvokeCommandOutput } from "../commands/InvokeCommand";
@@ -56,6 +59,8 @@ import { PutFunctionConcurrencyCommandInput, PutFunctionConcurrencyCommandOutput
56
59
  import { PutFunctionEventInvokeConfigCommandInput, PutFunctionEventInvokeConfigCommandOutput } from "../commands/PutFunctionEventInvokeConfigCommand";
57
60
  import { PutFunctionRecursionConfigCommandInput, PutFunctionRecursionConfigCommandOutput } from "../commands/PutFunctionRecursionConfigCommand";
58
61
  import { PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyConfigCommandOutput } from "../commands/PutProvisionedConcurrencyConfigCommand";
62
+ import { PutPublicAccessBlockConfigCommandInput, PutPublicAccessBlockConfigCommandOutput } from "../commands/PutPublicAccessBlockConfigCommand";
63
+ import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "../commands/PutResourcePolicyCommand";
59
64
  import { PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput } from "../commands/PutRuntimeManagementConfigCommand";
60
65
  import { RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput } from "../commands/RemoveLayerVersionPermissionCommand";
61
66
  import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "../commands/RemovePermissionCommand";
@@ -136,6 +141,10 @@ export declare const se_DeleteLayerVersionCommand: (input: DeleteLayerVersionCom
136
141
  * serializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand
137
142
  */
138
143
  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>;
139
148
  /**
140
149
  * serializeAws_restJson1GetAccountSettingsCommand
141
150
  */
@@ -200,6 +209,14 @@ export declare const se_GetPolicyCommand: (input: GetPolicyCommandInput, context
200
209
  * serializeAws_restJson1GetProvisionedConcurrencyConfigCommand
201
210
  */
202
211
  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>;
203
220
  /**
204
221
  * serializeAws_restJson1GetRuntimeManagementConfigCommand
205
222
  */
@@ -292,6 +309,14 @@ export declare const se_PutFunctionRecursionConfigCommand: (input: PutFunctionRe
292
309
  * serializeAws_restJson1PutProvisionedConcurrencyConfigCommand
293
310
  */
294
311
  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>;
295
320
  /**
296
321
  * serializeAws_restJson1PutRuntimeManagementConfigCommand
297
322
  */
@@ -408,6 +433,10 @@ export declare const de_DeleteLayerVersionCommand: (output: __HttpResponse, cont
408
433
  * deserializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand
409
434
  */
410
435
  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>;
411
440
  /**
412
441
  * deserializeAws_restJson1GetAccountSettingsCommand
413
442
  */
@@ -472,6 +501,14 @@ export declare const de_GetPolicyCommand: (output: __HttpResponse, context: __Se
472
501
  * deserializeAws_restJson1GetProvisionedConcurrencyConfigCommand
473
502
  */
474
503
  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>;
475
512
  /**
476
513
  * deserializeAws_restJson1GetRuntimeManagementConfigCommand
477
514
  */
@@ -564,6 +601,14 @@ export declare const de_PutFunctionRecursionConfigCommand: (output: __HttpRespon
564
601
  * deserializeAws_restJson1PutProvisionedConcurrencyConfigCommand
565
602
  */
566
603
  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>;
567
612
  /**
568
613
  * deserializeAws_restJson1PutRuntimeManagementConfigCommand
569
614
  */
@@ -67,6 +67,10 @@ import {
67
67
  DeleteProvisionedConcurrencyConfigCommandInput,
68
68
  DeleteProvisionedConcurrencyConfigCommandOutput,
69
69
  } from "./commands/DeleteProvisionedConcurrencyConfigCommand";
70
+ import {
71
+ DeleteResourcePolicyCommandInput,
72
+ DeleteResourcePolicyCommandOutput,
73
+ } from "./commands/DeleteResourcePolicyCommand";
70
74
  import {
71
75
  GetAccountSettingsCommandInput,
72
76
  GetAccountSettingsCommandOutput,
@@ -131,6 +135,14 @@ import {
131
135
  GetProvisionedConcurrencyConfigCommandInput,
132
136
  GetProvisionedConcurrencyConfigCommandOutput,
133
137
  } from "./commands/GetProvisionedConcurrencyConfigCommand";
138
+ import {
139
+ GetPublicAccessBlockConfigCommandInput,
140
+ GetPublicAccessBlockConfigCommandOutput,
141
+ } from "./commands/GetPublicAccessBlockConfigCommand";
142
+ import {
143
+ GetResourcePolicyCommandInput,
144
+ GetResourcePolicyCommandOutput,
145
+ } from "./commands/GetResourcePolicyCommand";
134
146
  import {
135
147
  GetRuntimeManagementConfigCommandInput,
136
148
  GetRuntimeManagementConfigCommandOutput,
@@ -223,6 +235,14 @@ import {
223
235
  PutProvisionedConcurrencyConfigCommandInput,
224
236
  PutProvisionedConcurrencyConfigCommandOutput,
225
237
  } from "./commands/PutProvisionedConcurrencyConfigCommand";
238
+ import {
239
+ PutPublicAccessBlockConfigCommandInput,
240
+ PutPublicAccessBlockConfigCommandOutput,
241
+ } from "./commands/PutPublicAccessBlockConfigCommand";
242
+ import {
243
+ PutResourcePolicyCommandInput,
244
+ PutResourcePolicyCommandOutput,
245
+ } from "./commands/PutResourcePolicyCommand";
226
246
  import {
227
247
  PutRuntimeManagementConfigCommandInput,
228
248
  PutRuntimeManagementConfigCommandOutput,
@@ -500,6 +520,19 @@ export interface Lambda {
500
520
  data?: DeleteProvisionedConcurrencyConfigCommandOutput
501
521
  ) => void
502
522
  ): 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;
503
536
  getAccountSettings(): Promise<GetAccountSettingsCommandOutput>;
504
537
  getAccountSettings(
505
538
  args: GetAccountSettingsCommandInput,
@@ -709,6 +742,32 @@ export interface Lambda {
709
742
  options: __HttpHandlerOptions,
710
743
  cb: (err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void
711
744
  ): 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;
712
771
  getRuntimeManagementConfig(
713
772
  args: GetRuntimeManagementConfigCommandInput,
714
773
  options?: __HttpHandlerOptions
@@ -1018,6 +1077,32 @@ export interface Lambda {
1018
1077
  options: __HttpHandlerOptions,
1019
1078
  cb: (err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void
1020
1079
  ): 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;
1021
1106
  putRuntimeManagementConfig(
1022
1107
  args: PutRuntimeManagementConfigCommandInput,
1023
1108
  options?: __HttpHandlerOptions
@@ -118,6 +118,10 @@ import {
118
118
  DeleteProvisionedConcurrencyConfigCommandInput,
119
119
  DeleteProvisionedConcurrencyConfigCommandOutput,
120
120
  } from "./commands/DeleteProvisionedConcurrencyConfigCommand";
121
+ import {
122
+ DeleteResourcePolicyCommandInput,
123
+ DeleteResourcePolicyCommandOutput,
124
+ } from "./commands/DeleteResourcePolicyCommand";
121
125
  import {
122
126
  GetAccountSettingsCommandInput,
123
127
  GetAccountSettingsCommandOutput,
@@ -182,6 +186,14 @@ import {
182
186
  GetProvisionedConcurrencyConfigCommandInput,
183
187
  GetProvisionedConcurrencyConfigCommandOutput,
184
188
  } from "./commands/GetProvisionedConcurrencyConfigCommand";
189
+ import {
190
+ GetPublicAccessBlockConfigCommandInput,
191
+ GetPublicAccessBlockConfigCommandOutput,
192
+ } from "./commands/GetPublicAccessBlockConfigCommand";
193
+ import {
194
+ GetResourcePolicyCommandInput,
195
+ GetResourcePolicyCommandOutput,
196
+ } from "./commands/GetResourcePolicyCommand";
185
197
  import {
186
198
  GetRuntimeManagementConfigCommandInput,
187
199
  GetRuntimeManagementConfigCommandOutput,
@@ -274,6 +286,14 @@ import {
274
286
  PutProvisionedConcurrencyConfigCommandInput,
275
287
  PutProvisionedConcurrencyConfigCommandOutput,
276
288
  } from "./commands/PutProvisionedConcurrencyConfigCommand";
289
+ import {
290
+ PutPublicAccessBlockConfigCommandInput,
291
+ PutPublicAccessBlockConfigCommandOutput,
292
+ } from "./commands/PutPublicAccessBlockConfigCommand";
293
+ import {
294
+ PutResourcePolicyCommandInput,
295
+ PutResourcePolicyCommandOutput,
296
+ } from "./commands/PutResourcePolicyCommand";
277
297
  import {
278
298
  PutRuntimeManagementConfigCommandInput,
279
299
  PutRuntimeManagementConfigCommandOutput,
@@ -347,6 +367,7 @@ export type ServiceInputTypes =
347
367
  | DeleteFunctionUrlConfigCommandInput
348
368
  | DeleteLayerVersionCommandInput
349
369
  | DeleteProvisionedConcurrencyConfigCommandInput
370
+ | DeleteResourcePolicyCommandInput
350
371
  | GetAccountSettingsCommandInput
351
372
  | GetAliasCommandInput
352
373
  | GetCodeSigningConfigCommandInput
@@ -363,6 +384,8 @@ export type ServiceInputTypes =
363
384
  | GetLayerVersionPolicyCommandInput
364
385
  | GetPolicyCommandInput
365
386
  | GetProvisionedConcurrencyConfigCommandInput
387
+ | GetPublicAccessBlockConfigCommandInput
388
+ | GetResourcePolicyCommandInput
366
389
  | GetRuntimeManagementConfigCommandInput
367
390
  | InvokeAsyncCommandInput
368
391
  | InvokeCommandInput
@@ -386,6 +409,8 @@ export type ServiceInputTypes =
386
409
  | PutFunctionEventInvokeConfigCommandInput
387
410
  | PutFunctionRecursionConfigCommandInput
388
411
  | PutProvisionedConcurrencyConfigCommandInput
412
+ | PutPublicAccessBlockConfigCommandInput
413
+ | PutResourcePolicyCommandInput
389
414
  | PutRuntimeManagementConfigCommandInput
390
415
  | RemoveLayerVersionPermissionCommandInput
391
416
  | RemovePermissionCommandInput
@@ -416,6 +441,7 @@ export type ServiceOutputTypes =
416
441
  | DeleteFunctionUrlConfigCommandOutput
417
442
  | DeleteLayerVersionCommandOutput
418
443
  | DeleteProvisionedConcurrencyConfigCommandOutput
444
+ | DeleteResourcePolicyCommandOutput
419
445
  | GetAccountSettingsCommandOutput
420
446
  | GetAliasCommandOutput
421
447
  | GetCodeSigningConfigCommandOutput
@@ -432,6 +458,8 @@ export type ServiceOutputTypes =
432
458
  | GetLayerVersionPolicyCommandOutput
433
459
  | GetPolicyCommandOutput
434
460
  | GetProvisionedConcurrencyConfigCommandOutput
461
+ | GetPublicAccessBlockConfigCommandOutput
462
+ | GetResourcePolicyCommandOutput
435
463
  | GetRuntimeManagementConfigCommandOutput
436
464
  | InvokeAsyncCommandOutput
437
465
  | InvokeCommandOutput
@@ -455,6 +483,8 @@ export type ServiceOutputTypes =
455
483
  | PutFunctionEventInvokeConfigCommandOutput
456
484
  | PutFunctionRecursionConfigCommandOutput
457
485
  | PutProvisionedConcurrencyConfigCommandOutput
486
+ | PutPublicAccessBlockConfigCommandOutput
487
+ | PutResourcePolicyCommandOutput
458
488
  | PutRuntimeManagementConfigCommandOutput
459
489
  | RemoveLayerVersionPermissionCommandOutput
460
490
  | RemovePermissionCommandOutput
@@ -37,4 +37,15 @@ declare const AddLayerVersionPermissionCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class AddLayerVersionPermissionCommand extends AddLayerVersionPermissionCommand_base {}
40
+ export declare class AddLayerVersionPermissionCommand extends AddLayerVersionPermissionCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: AddLayerVersionPermissionRequest;
44
+ output: AddLayerVersionPermissionResponse;
45
+ };
46
+ sdk: {
47
+ input: AddLayerVersionPermissionCommandInput;
48
+ output: AddLayerVersionPermissionCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -36,4 +36,15 @@ declare const AddPermissionCommand_base: {
36
36
  >;
37
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
38
  };
39
- export declare class AddPermissionCommand extends AddPermissionCommand_base {}
39
+ export declare class AddPermissionCommand extends AddPermissionCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: AddPermissionRequest;
43
+ output: AddPermissionResponse;
44
+ };
45
+ sdk: {
46
+ input: AddPermissionCommandInput;
47
+ output: AddPermissionCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -33,4 +33,15 @@ declare const CreateAliasCommand_base: {
33
33
  >;
34
34
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
35
  };
36
- export declare class CreateAliasCommand extends CreateAliasCommand_base {}
36
+ export declare class CreateAliasCommand extends CreateAliasCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: CreateAliasRequest;
40
+ output: AliasConfiguration;
41
+ };
42
+ sdk: {
43
+ input: CreateAliasCommandInput;
44
+ output: CreateAliasCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -37,4 +37,15 @@ declare const CreateCodeSigningConfigCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class CreateCodeSigningConfigCommand extends CreateCodeSigningConfigCommand_base {}
40
+ export declare class CreateCodeSigningConfigCommand extends CreateCodeSigningConfigCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreateCodeSigningConfigRequest;
44
+ output: CreateCodeSigningConfigResponse;
45
+ };
46
+ sdk: {
47
+ input: CreateCodeSigningConfigCommandInput;
48
+ output: CreateCodeSigningConfigCommandOutput;
49
+ };
50
+ };
51
+ }