@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
@@ -71,4 +71,15 @@ declare const DeleteProvisionedConcurrencyConfigCommand_base: {
71
71
  * @public
72
72
  */
73
73
  export declare class DeleteProvisionedConcurrencyConfigCommand extends DeleteProvisionedConcurrencyConfigCommand_base {
74
+ /** @internal type navigation helper, not in runtime. */
75
+ protected static __types: {
76
+ api: {
77
+ input: DeleteProvisionedConcurrencyConfigRequest;
78
+ output: {};
79
+ };
80
+ sdk: {
81
+ input: DeleteProvisionedConcurrencyConfigCommandInput;
82
+ output: DeleteProvisionedConcurrencyConfigCommandOutput;
83
+ };
84
+ };
74
85
  }
@@ -0,0 +1,98 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
4
+ import { DeleteResourcePolicyRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteResourcePolicyCommand}.
14
+ */
15
+ export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteResourcePolicyCommand}.
21
+ */
22
+ export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DeleteResourcePolicyCommand_base: {
25
+ new (input: DeleteResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes a <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">resource-based policy</a> from a function.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { LambdaClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
35
+ * // const { LambdaClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
36
+ * const client = new LambdaClient(config);
37
+ * const input = { // DeleteResourcePolicyRequest
38
+ * ResourceArn: "STRING_VALUE", // required
39
+ * RevisionId: "STRING_VALUE",
40
+ * };
41
+ * const command = new DeleteResourcePolicyCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param DeleteResourcePolicyCommandInput - {@link DeleteResourcePolicyCommandInput}
48
+ * @returns {@link DeleteResourcePolicyCommandOutput}
49
+ * @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape.
50
+ * @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
51
+ * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
52
+ *
53
+ * @throws {@link InvalidParameterValueException} (client fault)
54
+ * <p>One of the parameters in the request is not valid.</p>
55
+ *
56
+ * @throws {@link PreconditionFailedException} (client fault)
57
+ * <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.</p>
58
+ * <ul>
59
+ * <li>
60
+ * <p>
61
+ * <b>For AddPermission and RemovePermission API operations:</b> Call <code>GetPolicy</code> to retrieve the latest RevisionId for your resource.</p>
62
+ * </li>
63
+ * <li>
64
+ * <p>
65
+ * <b>For all other API operations:</b> Call <code>GetFunction</code> or <code>GetAlias</code> to retrieve the latest RevisionId for your resource.</p>
66
+ * </li>
67
+ * </ul>
68
+ *
69
+ * @throws {@link ResourceConflictException} (client fault)
70
+ * <p>The resource already exists, or another operation is in progress.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The resource specified in the request does not exist.</p>
74
+ *
75
+ * @throws {@link ServiceException} (server fault)
76
+ * <p>The Lambda service encountered an internal error.</p>
77
+ *
78
+ * @throws {@link TooManyRequestsException} (client fault)
79
+ * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
80
+ *
81
+ * @throws {@link LambdaServiceException}
82
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
83
+ *
84
+ * @public
85
+ */
86
+ export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: DeleteResourcePolicyRequest;
91
+ output: {};
92
+ };
93
+ sdk: {
94
+ input: DeleteResourcePolicyCommandInput;
95
+ output: DeleteResourcePolicyCommandOutput;
96
+ };
97
+ };
98
+ }
@@ -71,4 +71,15 @@ declare const GetAccountSettingsCommand_base: {
71
71
  * @public
72
72
  */
73
73
  export declare class GetAccountSettingsCommand extends GetAccountSettingsCommand_base {
74
+ /** @internal type navigation helper, not in runtime. */
75
+ protected static __types: {
76
+ api: {
77
+ input: {};
78
+ output: GetAccountSettingsResponse;
79
+ };
80
+ sdk: {
81
+ input: GetAccountSettingsCommandInput;
82
+ output: GetAccountSettingsCommandOutput;
83
+ };
84
+ };
74
85
  }
@@ -79,4 +79,15 @@ declare const GetAliasCommand_base: {
79
79
  * @public
80
80
  */
81
81
  export declare class GetAliasCommand extends GetAliasCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: GetAliasRequest;
86
+ output: AliasConfiguration;
87
+ };
88
+ sdk: {
89
+ input: GetAliasCommandInput;
90
+ output: GetAliasCommandOutput;
91
+ };
92
+ };
82
93
  }
@@ -79,4 +79,15 @@ declare const GetCodeSigningConfigCommand_base: {
79
79
  * @public
80
80
  */
81
81
  export declare class GetCodeSigningConfigCommand extends GetCodeSigningConfigCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: GetCodeSigningConfigRequest;
86
+ output: GetCodeSigningConfigResponse;
87
+ };
88
+ sdk: {
89
+ input: GetCodeSigningConfigCommandInput;
90
+ output: GetCodeSigningConfigCommandOutput;
91
+ };
92
+ };
82
93
  }
@@ -141,4 +141,15 @@ declare const GetEventSourceMappingCommand_base: {
141
141
  * @public
142
142
  */
143
143
  export declare class GetEventSourceMappingCommand extends GetEventSourceMappingCommand_base {
144
+ /** @internal type navigation helper, not in runtime. */
145
+ protected static __types: {
146
+ api: {
147
+ input: GetEventSourceMappingRequest;
148
+ output: EventSourceMappingConfiguration;
149
+ };
150
+ sdk: {
151
+ input: GetEventSourceMappingCommandInput;
152
+ output: GetEventSourceMappingCommandOutput;
153
+ };
154
+ };
144
155
  }
@@ -70,4 +70,15 @@ declare const GetFunctionCodeSigningConfigCommand_base: {
70
70
  * @public
71
71
  */
72
72
  export declare class GetFunctionCodeSigningConfigCommand extends GetFunctionCodeSigningConfigCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: GetFunctionCodeSigningConfigRequest;
77
+ output: GetFunctionCodeSigningConfigResponse;
78
+ };
79
+ sdk: {
80
+ input: GetFunctionCodeSigningConfigCommandInput;
81
+ output: GetFunctionCodeSigningConfigCommandOutput;
82
+ };
83
+ };
73
84
  }
@@ -186,4 +186,15 @@ declare const GetFunctionCommand_base: {
186
186
  * @public
187
187
  */
188
188
  export declare class GetFunctionCommand extends GetFunctionCommand_base {
189
+ /** @internal type navigation helper, not in runtime. */
190
+ protected static __types: {
191
+ api: {
192
+ input: GetFunctionRequest;
193
+ output: GetFunctionResponse;
194
+ };
195
+ sdk: {
196
+ input: GetFunctionCommandInput;
197
+ output: GetFunctionCommandOutput;
198
+ };
199
+ };
189
200
  }
@@ -70,4 +70,15 @@ declare const GetFunctionConcurrencyCommand_base: {
70
70
  * @public
71
71
  */
72
72
  export declare class GetFunctionConcurrencyCommand extends GetFunctionConcurrencyCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: GetFunctionConcurrencyRequest;
77
+ output: GetFunctionConcurrencyResponse;
78
+ };
79
+ sdk: {
80
+ input: GetFunctionConcurrencyCommandInput;
81
+ output: GetFunctionConcurrencyCommandOutput;
82
+ };
83
+ };
73
84
  }
@@ -172,4 +172,15 @@ declare const GetFunctionConfigurationCommand_base: {
172
172
  * @public
173
173
  */
174
174
  export declare class GetFunctionConfigurationCommand extends GetFunctionConfigurationCommand_base {
175
+ /** @internal type navigation helper, not in runtime. */
176
+ protected static __types: {
177
+ api: {
178
+ input: GetFunctionConfigurationRequest;
179
+ output: FunctionConfiguration;
180
+ };
181
+ sdk: {
182
+ input: GetFunctionConfigurationCommandInput;
183
+ output: GetFunctionConfigurationCommandOutput;
184
+ };
185
+ };
175
186
  }
@@ -82,4 +82,15 @@ declare const GetFunctionEventInvokeConfigCommand_base: {
82
82
  * @public
83
83
  */
84
84
  export declare class GetFunctionEventInvokeConfigCommand extends GetFunctionEventInvokeConfigCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: GetFunctionEventInvokeConfigRequest;
89
+ output: FunctionEventInvokeConfig;
90
+ };
91
+ sdk: {
92
+ input: GetFunctionEventInvokeConfigCommandInput;
93
+ output: GetFunctionEventInvokeConfigCommandOutput;
94
+ };
95
+ };
85
96
  }
@@ -70,4 +70,15 @@ declare const GetFunctionRecursionConfigCommand_base: {
70
70
  * @public
71
71
  */
72
72
  export declare class GetFunctionRecursionConfigCommand extends GetFunctionRecursionConfigCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: GetFunctionRecursionConfigRequest;
77
+ output: GetFunctionRecursionConfigResponse;
78
+ };
79
+ sdk: {
80
+ input: GetFunctionRecursionConfigCommandInput;
81
+ output: GetFunctionRecursionConfigCommandOutput;
82
+ };
83
+ };
73
84
  }
@@ -91,4 +91,15 @@ declare const GetFunctionUrlConfigCommand_base: {
91
91
  * @public
92
92
  */
93
93
  export declare class GetFunctionUrlConfigCommand extends GetFunctionUrlConfigCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: GetFunctionUrlConfigRequest;
98
+ output: GetFunctionUrlConfigResponse;
99
+ };
100
+ sdk: {
101
+ input: GetFunctionUrlConfigCommandInput;
102
+ output: GetFunctionUrlConfigCommandOutput;
103
+ };
104
+ };
94
105
  }
@@ -89,4 +89,15 @@ declare const GetLayerVersionByArnCommand_base: {
89
89
  * @public
90
90
  */
91
91
  export declare class GetLayerVersionByArnCommand extends GetLayerVersionByArnCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: GetLayerVersionByArnRequest;
96
+ output: GetLayerVersionResponse;
97
+ };
98
+ sdk: {
99
+ input: GetLayerVersionByArnCommandInput;
100
+ output: GetLayerVersionByArnCommandOutput;
101
+ };
102
+ };
92
103
  }
@@ -90,4 +90,15 @@ declare const GetLayerVersionCommand_base: {
90
90
  * @public
91
91
  */
92
92
  export declare class GetLayerVersionCommand extends GetLayerVersionCommand_base {
93
+ /** @internal type navigation helper, not in runtime. */
94
+ protected static __types: {
95
+ api: {
96
+ input: GetLayerVersionRequest;
97
+ output: GetLayerVersionResponse;
98
+ };
99
+ sdk: {
100
+ input: GetLayerVersionCommandInput;
101
+ output: GetLayerVersionCommandOutput;
102
+ };
103
+ };
93
104
  }
@@ -72,4 +72,15 @@ declare const GetLayerVersionPolicyCommand_base: {
72
72
  * @public
73
73
  */
74
74
  export declare class GetLayerVersionPolicyCommand extends GetLayerVersionPolicyCommand_base {
75
+ /** @internal type navigation helper, not in runtime. */
76
+ protected static __types: {
77
+ api: {
78
+ input: GetLayerVersionPolicyRequest;
79
+ output: GetLayerVersionPolicyResponse;
80
+ };
81
+ sdk: {
82
+ input: GetLayerVersionPolicyCommandInput;
83
+ output: GetLayerVersionPolicyCommandOutput;
84
+ };
85
+ };
75
86
  }
@@ -71,4 +71,15 @@ declare const GetPolicyCommand_base: {
71
71
  * @public
72
72
  */
73
73
  export declare class GetPolicyCommand extends GetPolicyCommand_base {
74
+ /** @internal type navigation helper, not in runtime. */
75
+ protected static __types: {
76
+ api: {
77
+ input: GetPolicyRequest;
78
+ output: GetPolicyResponse;
79
+ };
80
+ sdk: {
81
+ input: GetPolicyCommandInput;
82
+ output: GetPolicyCommandOutput;
83
+ };
84
+ };
74
85
  }
@@ -78,4 +78,15 @@ declare const GetProvisionedConcurrencyConfigCommand_base: {
78
78
  * @public
79
79
  */
80
80
  export declare class GetProvisionedConcurrencyConfigCommand extends GetProvisionedConcurrencyConfigCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: GetProvisionedConcurrencyConfigRequest;
85
+ output: GetProvisionedConcurrencyConfigResponse;
86
+ };
87
+ sdk: {
88
+ input: GetProvisionedConcurrencyConfigCommandInput;
89
+ output: GetProvisionedConcurrencyConfigCommandOutput;
90
+ };
91
+ };
81
92
  }
@@ -0,0 +1,86 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
4
+ import { GetPublicAccessBlockConfigRequest, GetPublicAccessBlockConfigResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetPublicAccessBlockConfigCommand}.
14
+ */
15
+ export interface GetPublicAccessBlockConfigCommandInput extends GetPublicAccessBlockConfigRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetPublicAccessBlockConfigCommand}.
21
+ */
22
+ export interface GetPublicAccessBlockConfigCommandOutput extends GetPublicAccessBlockConfigResponse, __MetadataBearer {
23
+ }
24
+ declare const GetPublicAccessBlockConfigCommand_base: {
25
+ new (input: GetPublicAccessBlockConfigCommandInput): import("@smithy/smithy-client").CommandImpl<GetPublicAccessBlockConfigCommandInput, GetPublicAccessBlockConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetPublicAccessBlockConfigCommandInput): import("@smithy/smithy-client").CommandImpl<GetPublicAccessBlockConfigCommandInput, GetPublicAccessBlockConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieve the public-access settings for a function.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { LambdaClient, GetPublicAccessBlockConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
35
+ * // const { LambdaClient, GetPublicAccessBlockConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
36
+ * const client = new LambdaClient(config);
37
+ * const input = { // GetPublicAccessBlockConfigRequest
38
+ * ResourceArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetPublicAccessBlockConfigCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetPublicAccessBlockConfigResponse
43
+ * // PublicAccessBlockConfig: { // PublicAccessBlockConfig
44
+ * // BlockPublicPolicy: true || false,
45
+ * // RestrictPublicResource: true || false,
46
+ * // },
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param GetPublicAccessBlockConfigCommandInput - {@link GetPublicAccessBlockConfigCommandInput}
52
+ * @returns {@link GetPublicAccessBlockConfigCommandOutput}
53
+ * @see {@link GetPublicAccessBlockConfigCommandInput} for command's `input` shape.
54
+ * @see {@link GetPublicAccessBlockConfigCommandOutput} for command's `response` shape.
55
+ * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
56
+ *
57
+ * @throws {@link InvalidParameterValueException} (client fault)
58
+ * <p>One of the parameters in the request is not valid.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>The resource specified in the request does not exist.</p>
62
+ *
63
+ * @throws {@link ServiceException} (server fault)
64
+ * <p>The Lambda service encountered an internal error.</p>
65
+ *
66
+ * @throws {@link TooManyRequestsException} (client fault)
67
+ * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
68
+ *
69
+ * @throws {@link LambdaServiceException}
70
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
71
+ *
72
+ * @public
73
+ */
74
+ export declare class GetPublicAccessBlockConfigCommand extends GetPublicAccessBlockConfigCommand_base {
75
+ /** @internal type navigation helper, not in runtime. */
76
+ protected static __types: {
77
+ api: {
78
+ input: GetPublicAccessBlockConfigRequest;
79
+ output: GetPublicAccessBlockConfigResponse;
80
+ };
81
+ sdk: {
82
+ input: GetPublicAccessBlockConfigCommandInput;
83
+ output: GetPublicAccessBlockConfigCommandOutput;
84
+ };
85
+ };
86
+ }
@@ -0,0 +1,84 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
4
+ import { GetResourcePolicyRequest, GetResourcePolicyResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetResourcePolicyCommand}.
14
+ */
15
+ export interface GetResourcePolicyCommandInput extends GetResourcePolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetResourcePolicyCommand}.
21
+ */
22
+ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyResponse, __MetadataBearer {
23
+ }
24
+ declare const GetResourcePolicyCommand_base: {
25
+ new (input: GetResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves the <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">resource-based policy</a> attached to a function.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { LambdaClient, GetResourcePolicyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
35
+ * // const { LambdaClient, GetResourcePolicyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
36
+ * const client = new LambdaClient(config);
37
+ * const input = { // GetResourcePolicyRequest
38
+ * ResourceArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetResourcePolicyCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetResourcePolicyResponse
43
+ * // Policy: "STRING_VALUE",
44
+ * // RevisionId: "STRING_VALUE",
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param GetResourcePolicyCommandInput - {@link GetResourcePolicyCommandInput}
50
+ * @returns {@link GetResourcePolicyCommandOutput}
51
+ * @see {@link GetResourcePolicyCommandInput} for command's `input` shape.
52
+ * @see {@link GetResourcePolicyCommandOutput} for command's `response` shape.
53
+ * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
54
+ *
55
+ * @throws {@link InvalidParameterValueException} (client fault)
56
+ * <p>One of the parameters in the request is not valid.</p>
57
+ *
58
+ * @throws {@link ResourceNotFoundException} (client fault)
59
+ * <p>The resource specified in the request does not exist.</p>
60
+ *
61
+ * @throws {@link ServiceException} (server fault)
62
+ * <p>The Lambda service encountered an internal error.</p>
63
+ *
64
+ * @throws {@link TooManyRequestsException} (client fault)
65
+ * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
66
+ *
67
+ * @throws {@link LambdaServiceException}
68
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
69
+ *
70
+ * @public
71
+ */
72
+ export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: GetResourcePolicyRequest;
77
+ output: GetResourcePolicyResponse;
78
+ };
79
+ sdk: {
80
+ input: GetResourcePolicyCommandInput;
81
+ output: GetResourcePolicyCommandOutput;
82
+ };
83
+ };
84
+ }
@@ -74,4 +74,15 @@ declare const GetRuntimeManagementConfigCommand_base: {
74
74
  * @public
75
75
  */
76
76
  export declare class GetRuntimeManagementConfigCommand extends GetRuntimeManagementConfigCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: GetRuntimeManagementConfigRequest;
81
+ output: GetRuntimeManagementConfigResponse;
82
+ };
83
+ sdk: {
84
+ input: GetRuntimeManagementConfigCommandInput;
85
+ output: GetRuntimeManagementConfigCommandOutput;
86
+ };
87
+ };
77
88
  }
@@ -83,4 +83,15 @@ declare const InvokeAsyncCommand_base: {
83
83
  * @public
84
84
  */
85
85
  export declare class InvokeAsyncCommand extends InvokeAsyncCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: InvokeAsyncRequest;
90
+ output: InvokeAsyncResponse;
91
+ };
92
+ sdk: {
93
+ input: InvokeAsyncCommandInput;
94
+ output: InvokeAsyncCommandOutput;
95
+ };
96
+ };
86
97
  }
@@ -209,4 +209,15 @@ declare const InvokeCommand_base: {
209
209
  * @public
210
210
  */
211
211
  export declare class InvokeCommand extends InvokeCommand_base {
212
+ /** @internal type navigation helper, not in runtime. */
213
+ protected static __types: {
214
+ api: {
215
+ input: InvocationRequest;
216
+ output: InvocationResponse;
217
+ };
218
+ sdk: {
219
+ input: InvokeCommandInput;
220
+ output: InvokeCommandOutput;
221
+ };
222
+ };
212
223
  }
@@ -186,4 +186,15 @@ declare const InvokeWithResponseStreamCommand_base: {
186
186
  * @public
187
187
  */
188
188
  export declare class InvokeWithResponseStreamCommand extends InvokeWithResponseStreamCommand_base {
189
+ /** @internal type navigation helper, not in runtime. */
190
+ protected static __types: {
191
+ api: {
192
+ input: InvokeWithResponseStreamRequest;
193
+ output: InvokeWithResponseStreamResponse;
194
+ };
195
+ sdk: {
196
+ input: InvokeWithResponseStreamCommandInput;
197
+ output: InvokeWithResponseStreamCommandOutput;
198
+ };
199
+ };
189
200
  }
@@ -87,4 +87,15 @@ declare const ListAliasesCommand_base: {
87
87
  * @public
88
88
  */
89
89
  export declare class ListAliasesCommand extends ListAliasesCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: ListAliasesRequest;
94
+ output: ListAliasesResponse;
95
+ };
96
+ sdk: {
97
+ input: ListAliasesCommandInput;
98
+ output: ListAliasesCommandOutput;
99
+ };
100
+ };
90
101
  }
@@ -82,4 +82,15 @@ declare const ListCodeSigningConfigsCommand_base: {
82
82
  * @public
83
83
  */
84
84
  export declare class ListCodeSigningConfigsCommand extends ListCodeSigningConfigsCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: ListCodeSigningConfigsRequest;
89
+ output: ListCodeSigningConfigsResponse;
90
+ };
91
+ sdk: {
92
+ input: ListCodeSigningConfigsCommandInput;
93
+ output: ListCodeSigningConfigsCommandOutput;
94
+ };
95
+ };
85
96
  }