@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
@@ -149,4 +149,15 @@ declare const ListEventSourceMappingsCommand_base: {
149
149
  * @public
150
150
  */
151
151
  export declare class ListEventSourceMappingsCommand extends ListEventSourceMappingsCommand_base {
152
+ /** @internal type navigation helper, not in runtime. */
153
+ protected static __types: {
154
+ api: {
155
+ input: ListEventSourceMappingsRequest;
156
+ output: ListEventSourceMappingsResponse;
157
+ };
158
+ sdk: {
159
+ input: ListEventSourceMappingsCommandInput;
160
+ output: ListEventSourceMappingsCommandOutput;
161
+ };
162
+ };
152
163
  }
@@ -88,4 +88,15 @@ declare const ListFunctionEventInvokeConfigsCommand_base: {
88
88
  * @public
89
89
  */
90
90
  export declare class ListFunctionEventInvokeConfigsCommand extends ListFunctionEventInvokeConfigsCommand_base {
91
+ /** @internal type navigation helper, not in runtime. */
92
+ protected static __types: {
93
+ api: {
94
+ input: ListFunctionEventInvokeConfigsRequest;
95
+ output: ListFunctionEventInvokeConfigsResponse;
96
+ };
97
+ sdk: {
98
+ input: ListFunctionEventInvokeConfigsCommandInput;
99
+ output: ListFunctionEventInvokeConfigsCommandOutput;
100
+ };
101
+ };
91
102
  }
@@ -97,4 +97,15 @@ declare const ListFunctionUrlConfigsCommand_base: {
97
97
  * @public
98
98
  */
99
99
  export declare class ListFunctionUrlConfigsCommand extends ListFunctionUrlConfigsCommand_base {
100
+ /** @internal type navigation helper, not in runtime. */
101
+ protected static __types: {
102
+ api: {
103
+ input: ListFunctionUrlConfigsRequest;
104
+ output: ListFunctionUrlConfigsResponse;
105
+ };
106
+ sdk: {
107
+ input: ListFunctionUrlConfigsCommandInput;
108
+ output: ListFunctionUrlConfigsCommandOutput;
109
+ };
110
+ };
100
111
  }
@@ -72,4 +72,15 @@ declare const ListFunctionsByCodeSigningConfigCommand_base: {
72
72
  * @public
73
73
  */
74
74
  export declare class ListFunctionsByCodeSigningConfigCommand extends ListFunctionsByCodeSigningConfigCommand_base {
75
+ /** @internal type navigation helper, not in runtime. */
76
+ protected static __types: {
77
+ api: {
78
+ input: ListFunctionsByCodeSigningConfigRequest;
79
+ output: ListFunctionsByCodeSigningConfigResponse;
80
+ };
81
+ sdk: {
82
+ input: ListFunctionsByCodeSigningConfigCommandInput;
83
+ output: ListFunctionsByCodeSigningConfigCommandOutput;
84
+ };
85
+ };
75
86
  }
@@ -182,4 +182,15 @@ declare const ListFunctionsCommand_base: {
182
182
  * @public
183
183
  */
184
184
  export declare class ListFunctionsCommand extends ListFunctionsCommand_base {
185
+ /** @internal type navigation helper, not in runtime. */
186
+ protected static __types: {
187
+ api: {
188
+ input: ListFunctionsRequest;
189
+ output: ListFunctionsResponse;
190
+ };
191
+ sdk: {
192
+ input: ListFunctionsCommandInput;
193
+ output: ListFunctionsCommandOutput;
194
+ };
195
+ };
185
196
  }
@@ -91,4 +91,15 @@ declare const ListLayerVersionsCommand_base: {
91
91
  * @public
92
92
  */
93
93
  export declare class ListLayerVersionsCommand extends ListLayerVersionsCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: ListLayerVersionsRequest;
98
+ output: ListLayerVersionsResponse;
99
+ };
100
+ sdk: {
101
+ input: ListLayerVersionsCommandInput;
102
+ output: ListLayerVersionsCommandOutput;
103
+ };
104
+ };
94
105
  }
@@ -93,4 +93,15 @@ declare const ListLayersCommand_base: {
93
93
  * @public
94
94
  */
95
95
  export declare class ListLayersCommand extends ListLayersCommand_base {
96
+ /** @internal type navigation helper, not in runtime. */
97
+ protected static __types: {
98
+ api: {
99
+ input: ListLayersRequest;
100
+ output: ListLayersResponse;
101
+ };
102
+ sdk: {
103
+ input: ListLayersCommandInput;
104
+ output: ListLayersCommandOutput;
105
+ };
106
+ };
96
107
  }
@@ -82,4 +82,15 @@ declare const ListProvisionedConcurrencyConfigsCommand_base: {
82
82
  * @public
83
83
  */
84
84
  export declare class ListProvisionedConcurrencyConfigsCommand extends ListProvisionedConcurrencyConfigsCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: ListProvisionedConcurrencyConfigsRequest;
89
+ output: ListProvisionedConcurrencyConfigsResponse;
90
+ };
91
+ sdk: {
92
+ input: ListProvisionedConcurrencyConfigsCommandInput;
93
+ output: ListProvisionedConcurrencyConfigsCommandOutput;
94
+ };
95
+ };
85
96
  }
@@ -72,4 +72,15 @@ declare const ListTagsCommand_base: {
72
72
  * @public
73
73
  */
74
74
  export declare class ListTagsCommand extends ListTagsCommand_base {
75
+ /** @internal type navigation helper, not in runtime. */
76
+ protected static __types: {
77
+ api: {
78
+ input: ListTagsRequest;
79
+ output: ListTagsResponse;
80
+ };
81
+ sdk: {
82
+ input: ListTagsCommandInput;
83
+ output: ListTagsCommandOutput;
84
+ };
85
+ };
75
86
  }
@@ -177,4 +177,15 @@ declare const ListVersionsByFunctionCommand_base: {
177
177
  * @public
178
178
  */
179
179
  export declare class ListVersionsByFunctionCommand extends ListVersionsByFunctionCommand_base {
180
+ /** @internal type navigation helper, not in runtime. */
181
+ protected static __types: {
182
+ api: {
183
+ input: ListVersionsByFunctionRequest;
184
+ output: ListVersionsByFunctionResponse;
185
+ };
186
+ sdk: {
187
+ input: ListVersionsByFunctionCommandInput;
188
+ output: ListVersionsByFunctionCommandOutput;
189
+ };
190
+ };
180
191
  }
@@ -107,4 +107,15 @@ declare const PublishLayerVersionCommand_base: {
107
107
  * @public
108
108
  */
109
109
  export declare class PublishLayerVersionCommand extends PublishLayerVersionCommand_base {
110
+ /** @internal type navigation helper, not in runtime. */
111
+ protected static __types: {
112
+ api: {
113
+ input: PublishLayerVersionRequest;
114
+ output: PublishLayerVersionResponse;
115
+ };
116
+ sdk: {
117
+ input: PublishLayerVersionCommandInput;
118
+ output: PublishLayerVersionCommandOutput;
119
+ };
120
+ };
110
121
  }
@@ -197,4 +197,15 @@ declare const PublishVersionCommand_base: {
197
197
  * @public
198
198
  */
199
199
  export declare class PublishVersionCommand extends PublishVersionCommand_base {
200
+ /** @internal type navigation helper, not in runtime. */
201
+ protected static __types: {
202
+ api: {
203
+ input: PublishVersionRequest;
204
+ output: FunctionConfiguration;
205
+ };
206
+ sdk: {
207
+ input: PublishVersionCommandInput;
208
+ output: PublishVersionCommandOutput;
209
+ };
210
+ };
200
211
  }
@@ -78,4 +78,15 @@ declare const PutFunctionCodeSigningConfigCommand_base: {
78
78
  * @public
79
79
  */
80
80
  export declare class PutFunctionCodeSigningConfigCommand extends PutFunctionCodeSigningConfigCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: PutFunctionCodeSigningConfigRequest;
85
+ output: PutFunctionCodeSigningConfigResponse;
86
+ };
87
+ sdk: {
88
+ input: PutFunctionCodeSigningConfigCommandInput;
89
+ output: PutFunctionCodeSigningConfigCommandOutput;
90
+ };
91
+ };
81
92
  }
@@ -81,4 +81,15 @@ declare const PutFunctionConcurrencyCommand_base: {
81
81
  * @public
82
82
  */
83
83
  export declare class PutFunctionConcurrencyCommand extends PutFunctionConcurrencyCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: PutFunctionConcurrencyRequest;
88
+ output: Concurrency;
89
+ };
90
+ sdk: {
91
+ input: PutFunctionConcurrencyCommandInput;
92
+ output: PutFunctionConcurrencyCommandOutput;
93
+ };
94
+ };
84
95
  }
@@ -104,4 +104,15 @@ declare const PutFunctionEventInvokeConfigCommand_base: {
104
104
  * @public
105
105
  */
106
106
  export declare class PutFunctionEventInvokeConfigCommand extends PutFunctionEventInvokeConfigCommand_base {
107
+ /** @internal type navigation helper, not in runtime. */
108
+ protected static __types: {
109
+ api: {
110
+ input: PutFunctionEventInvokeConfigRequest;
111
+ output: FunctionEventInvokeConfig;
112
+ };
113
+ sdk: {
114
+ input: PutFunctionEventInvokeConfigCommandInput;
115
+ output: PutFunctionEventInvokeConfigCommandOutput;
116
+ };
117
+ };
107
118
  }
@@ -79,4 +79,15 @@ declare const PutFunctionRecursionConfigCommand_base: {
79
79
  * @public
80
80
  */
81
81
  export declare class PutFunctionRecursionConfigCommand extends PutFunctionRecursionConfigCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: PutFunctionRecursionConfigRequest;
86
+ output: PutFunctionRecursionConfigResponse;
87
+ };
88
+ sdk: {
89
+ input: PutFunctionRecursionConfigCommandInput;
90
+ output: PutFunctionRecursionConfigCommandOutput;
91
+ };
92
+ };
82
93
  }
@@ -79,4 +79,15 @@ declare const PutProvisionedConcurrencyConfigCommand_base: {
79
79
  * @public
80
80
  */
81
81
  export declare class PutProvisionedConcurrencyConfigCommand extends PutProvisionedConcurrencyConfigCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: PutProvisionedConcurrencyConfigRequest;
86
+ output: PutProvisionedConcurrencyConfigResponse;
87
+ };
88
+ sdk: {
89
+ input: PutProvisionedConcurrencyConfigCommandInput;
90
+ output: PutProvisionedConcurrencyConfigCommandOutput;
91
+ };
92
+ };
82
93
  }
@@ -0,0 +1,97 @@
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 { PutPublicAccessBlockConfigRequest, PutPublicAccessBlockConfigResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutPublicAccessBlockConfigCommand}.
14
+ */
15
+ export interface PutPublicAccessBlockConfigCommandInput extends PutPublicAccessBlockConfigRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutPublicAccessBlockConfigCommand}.
21
+ */
22
+ export interface PutPublicAccessBlockConfigCommandOutput extends PutPublicAccessBlockConfigResponse, __MetadataBearer {
23
+ }
24
+ declare const PutPublicAccessBlockConfigCommand_base: {
25
+ new (input: PutPublicAccessBlockConfigCommandInput): import("@smithy/smithy-client").CommandImpl<PutPublicAccessBlockConfigCommandInput, PutPublicAccessBlockConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: PutPublicAccessBlockConfigCommandInput): import("@smithy/smithy-client").CommandImpl<PutPublicAccessBlockConfigCommandInput, PutPublicAccessBlockConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Configure your function's public-access settings.</p>
31
+ * <p>To control public access to a Lambda function, you can choose whether to allow the creation of
32
+ * <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">resource-based policies</a> that
33
+ * allow public access to that function. You can also block public access to a function, even if it has an existing resource-based
34
+ * policy that allows it.</p>
35
+ * @example
36
+ * Use a bare-bones client and the command you need to make an API call.
37
+ * ```javascript
38
+ * import { LambdaClient, PutPublicAccessBlockConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
39
+ * // const { LambdaClient, PutPublicAccessBlockConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
40
+ * const client = new LambdaClient(config);
41
+ * const input = { // PutPublicAccessBlockConfigRequest
42
+ * ResourceArn: "STRING_VALUE", // required
43
+ * PublicAccessBlockConfig: { // PublicAccessBlockConfig
44
+ * BlockPublicPolicy: true || false,
45
+ * RestrictPublicResource: true || false,
46
+ * },
47
+ * };
48
+ * const command = new PutPublicAccessBlockConfigCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // PutPublicAccessBlockConfigResponse
51
+ * // PublicAccessBlockConfig: { // PublicAccessBlockConfig
52
+ * // BlockPublicPolicy: true || false,
53
+ * // RestrictPublicResource: true || false,
54
+ * // },
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param PutPublicAccessBlockConfigCommandInput - {@link PutPublicAccessBlockConfigCommandInput}
60
+ * @returns {@link PutPublicAccessBlockConfigCommandOutput}
61
+ * @see {@link PutPublicAccessBlockConfigCommandInput} for command's `input` shape.
62
+ * @see {@link PutPublicAccessBlockConfigCommandOutput} for command's `response` shape.
63
+ * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
64
+ *
65
+ * @throws {@link InvalidParameterValueException} (client fault)
66
+ * <p>One of the parameters in the request is not valid.</p>
67
+ *
68
+ * @throws {@link ResourceConflictException} (client fault)
69
+ * <p>The resource already exists, or another operation is in progress.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>The resource specified in the request does not exist.</p>
73
+ *
74
+ * @throws {@link ServiceException} (server fault)
75
+ * <p>The Lambda service encountered an internal error.</p>
76
+ *
77
+ * @throws {@link TooManyRequestsException} (client fault)
78
+ * <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>
79
+ *
80
+ * @throws {@link LambdaServiceException}
81
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
82
+ *
83
+ * @public
84
+ */
85
+ export declare class PutPublicAccessBlockConfigCommand extends PutPublicAccessBlockConfigCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: PutPublicAccessBlockConfigRequest;
90
+ output: PutPublicAccessBlockConfigResponse;
91
+ };
92
+ sdk: {
93
+ input: PutPublicAccessBlockConfigCommandInput;
94
+ output: PutPublicAccessBlockConfigCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -0,0 +1,120 @@
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 { PutResourcePolicyRequest, PutResourcePolicyResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutResourcePolicyCommand}.
14
+ */
15
+ export interface PutResourcePolicyCommandInput extends PutResourcePolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutResourcePolicyCommand}.
21
+ */
22
+ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyResponse, __MetadataBearer {
23
+ }
24
+ declare const PutResourcePolicyCommand_base: {
25
+ new (input: PutResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: PutResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Adds a <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">resource-based policy</a>
31
+ * to a function. You can use resource-based policies to grant access to other
32
+ * <a href="https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-cross-account.html">Amazon Web Services accounts</a>,
33
+ * <a href="https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-organization.html">organizations</a>, or
34
+ * <a href="https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-services.html">services</a>. Resource-based policies
35
+ * apply to a single function, version, or alias.</p>
36
+ * <important>
37
+ * <p>Adding a resource-based policy using this API action replaces any existing policy you've previously created. This means that if
38
+ * you've previously added resource-based permissions to a function using the <a>AddPermission</a> action, those
39
+ * permissions will be overwritten by your new policy.</p>
40
+ * </important>
41
+ * @example
42
+ * Use a bare-bones client and the command you need to make an API call.
43
+ * ```javascript
44
+ * import { LambdaClient, PutResourcePolicyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
45
+ * // const { LambdaClient, PutResourcePolicyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
46
+ * const client = new LambdaClient(config);
47
+ * const input = { // PutResourcePolicyRequest
48
+ * ResourceArn: "STRING_VALUE", // required
49
+ * Policy: "STRING_VALUE", // required
50
+ * RevisionId: "STRING_VALUE",
51
+ * };
52
+ * const command = new PutResourcePolicyCommand(input);
53
+ * const response = await client.send(command);
54
+ * // { // PutResourcePolicyResponse
55
+ * // Policy: "STRING_VALUE",
56
+ * // RevisionId: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param PutResourcePolicyCommandInput - {@link PutResourcePolicyCommandInput}
62
+ * @returns {@link PutResourcePolicyCommandOutput}
63
+ * @see {@link PutResourcePolicyCommandInput} for command's `input` shape.
64
+ * @see {@link PutResourcePolicyCommandOutput} for command's `response` shape.
65
+ * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
66
+ *
67
+ * @throws {@link InvalidParameterValueException} (client fault)
68
+ * <p>One of the parameters in the request is not valid.</p>
69
+ *
70
+ * @throws {@link PolicyLengthExceededException} (client fault)
71
+ * <p>The permissions policy for the resource is too large. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
72
+ *
73
+ * @throws {@link PreconditionFailedException} (client fault)
74
+ * <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.</p>
75
+ * <ul>
76
+ * <li>
77
+ * <p>
78
+ * <b>For AddPermission and RemovePermission API operations:</b> Call <code>GetPolicy</code> to retrieve the latest RevisionId for your resource.</p>
79
+ * </li>
80
+ * <li>
81
+ * <p>
82
+ * <b>For all other API operations:</b> Call <code>GetFunction</code> or <code>GetAlias</code> to retrieve the latest RevisionId for your resource.</p>
83
+ * </li>
84
+ * </ul>
85
+ *
86
+ * @throws {@link PublicPolicyException} (client fault)
87
+ * <p>Lambda prevented your policy from being created because it would grant public access to your function. If you intended to
88
+ * create a public policy, use the <a>PutPublicAccessBlockConfig</a> API action to configure your function's public-access settings
89
+ * to allow public policies.</p>
90
+ *
91
+ * @throws {@link ResourceConflictException} (client fault)
92
+ * <p>The resource already exists, or another operation is in progress.</p>
93
+ *
94
+ * @throws {@link ResourceNotFoundException} (client fault)
95
+ * <p>The resource specified in the request does not exist.</p>
96
+ *
97
+ * @throws {@link ServiceException} (server fault)
98
+ * <p>The Lambda service encountered an internal error.</p>
99
+ *
100
+ * @throws {@link TooManyRequestsException} (client fault)
101
+ * <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>
102
+ *
103
+ * @throws {@link LambdaServiceException}
104
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
105
+ *
106
+ * @public
107
+ */
108
+ export declare class PutResourcePolicyCommand extends PutResourcePolicyCommand_base {
109
+ /** @internal type navigation helper, not in runtime. */
110
+ protected static __types: {
111
+ api: {
112
+ input: PutResourcePolicyRequest;
113
+ output: PutResourcePolicyResponse;
114
+ };
115
+ sdk: {
116
+ input: PutResourcePolicyCommandInput;
117
+ output: PutResourcePolicyCommandOutput;
118
+ };
119
+ };
120
+ }
@@ -78,4 +78,15 @@ declare const PutRuntimeManagementConfigCommand_base: {
78
78
  * @public
79
79
  */
80
80
  export declare class PutRuntimeManagementConfigCommand extends PutRuntimeManagementConfigCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: PutRuntimeManagementConfigRequest;
85
+ output: PutRuntimeManagementConfigResponse;
86
+ };
87
+ sdk: {
88
+ input: PutRuntimeManagementConfigCommandInput;
89
+ output: PutRuntimeManagementConfigCommandOutput;
90
+ };
91
+ };
81
92
  }
@@ -85,4 +85,15 @@ declare const RemoveLayerVersionPermissionCommand_base: {
85
85
  * @public
86
86
  */
87
87
  export declare class RemoveLayerVersionPermissionCommand extends RemoveLayerVersionPermissionCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: RemoveLayerVersionPermissionRequest;
92
+ output: {};
93
+ };
94
+ sdk: {
95
+ input: RemoveLayerVersionPermissionCommandInput;
96
+ output: RemoveLayerVersionPermissionCommandOutput;
97
+ };
98
+ };
88
99
  }
@@ -84,4 +84,15 @@ declare const RemovePermissionCommand_base: {
84
84
  * @public
85
85
  */
86
86
  export declare class RemovePermissionCommand extends RemovePermissionCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: RemovePermissionRequest;
91
+ output: {};
92
+ };
93
+ sdk: {
94
+ input: RemovePermissionCommandInput;
95
+ output: RemovePermissionCommandOutput;
96
+ };
97
+ };
87
98
  }
@@ -73,4 +73,15 @@ declare const TagResourceCommand_base: {
73
73
  * @public
74
74
  */
75
75
  export declare class TagResourceCommand extends TagResourceCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: TagResourceRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: TagResourceCommandInput;
84
+ output: TagResourceCommandOutput;
85
+ };
86
+ };
76
87
  }
@@ -73,4 +73,15 @@ declare const UntagResourceCommand_base: {
73
73
  * @public
74
74
  */
75
75
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: UntagResourceRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: UntagResourceCommandInput;
84
+ output: UntagResourceCommandOutput;
85
+ };
86
+ };
76
87
  }
@@ -103,4 +103,15 @@ declare const UpdateAliasCommand_base: {
103
103
  * @public
104
104
  */
105
105
  export declare class UpdateAliasCommand extends UpdateAliasCommand_base {
106
+ /** @internal type navigation helper, not in runtime. */
107
+ protected static __types: {
108
+ api: {
109
+ input: UpdateAliasRequest;
110
+ output: AliasConfiguration;
111
+ };
112
+ sdk: {
113
+ input: UpdateAliasCommandInput;
114
+ output: UpdateAliasCommandOutput;
115
+ };
116
+ };
106
117
  }
@@ -89,4 +89,15 @@ declare const UpdateCodeSigningConfigCommand_base: {
89
89
  * @public
90
90
  */
91
91
  export declare class UpdateCodeSigningConfigCommand extends UpdateCodeSigningConfigCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: UpdateCodeSigningConfigRequest;
96
+ output: UpdateCodeSigningConfigResponse;
97
+ };
98
+ sdk: {
99
+ input: UpdateCodeSigningConfigCommandInput;
100
+ output: UpdateCodeSigningConfigCommandOutput;
101
+ };
102
+ };
92
103
  }
@@ -303,4 +303,15 @@ declare const UpdateEventSourceMappingCommand_base: {
303
303
  * @public
304
304
  */
305
305
  export declare class UpdateEventSourceMappingCommand extends UpdateEventSourceMappingCommand_base {
306
+ /** @internal type navigation helper, not in runtime. */
307
+ protected static __types: {
308
+ api: {
309
+ input: UpdateEventSourceMappingRequest;
310
+ output: EventSourceMappingConfiguration;
311
+ };
312
+ sdk: {
313
+ input: UpdateEventSourceMappingCommandInput;
314
+ output: UpdateEventSourceMappingCommandOutput;
315
+ };
316
+ };
306
317
  }
@@ -225,4 +225,15 @@ declare const UpdateFunctionCodeCommand_base: {
225
225
  * @public
226
226
  */
227
227
  export declare class UpdateFunctionCodeCommand extends UpdateFunctionCodeCommand_base {
228
+ /** @internal type navigation helper, not in runtime. */
229
+ protected static __types: {
230
+ api: {
231
+ input: UpdateFunctionCodeRequest;
232
+ output: FunctionConfiguration;
233
+ };
234
+ sdk: {
235
+ input: UpdateFunctionCodeCommandInput;
236
+ output: UpdateFunctionCodeCommandOutput;
237
+ };
238
+ };
228
239
  }