@aws-sdk/client-lambda 3.325.0 → 3.326.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 (67) hide show
  1. package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +7 -0
  2. package/dist-types/commands/AddPermissionCommand.d.ts +6 -0
  3. package/dist-types/commands/CreateAliasCommand.d.ts +15 -0
  4. package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +19 -0
  5. package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +72 -0
  6. package/dist-types/commands/CreateFunctionCommand.d.ts +99 -0
  7. package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +26 -0
  8. package/dist-types/commands/DeleteAliasCommand.d.ts +4 -0
  9. package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +4 -0
  10. package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +72 -0
  11. package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +4 -0
  12. package/dist-types/commands/DeleteFunctionCommand.d.ts +4 -0
  13. package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +4 -0
  14. package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +4 -0
  15. package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +4 -0
  16. package/dist-types/commands/DeleteLayerVersionCommand.d.ts +4 -0
  17. package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +4 -0
  18. package/dist-types/commands/GetAccountSettingsCommand.d.ts +16 -0
  19. package/dist-types/commands/GetAliasCommand.d.ts +15 -0
  20. package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +19 -0
  21. package/dist-types/commands/GetEventSourceMappingCommand.d.ts +72 -0
  22. package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +7 -0
  23. package/dist-types/commands/GetFunctionCommand.d.ts +113 -0
  24. package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +6 -0
  25. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +99 -0
  26. package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +17 -0
  27. package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +27 -0
  28. package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +24 -0
  29. package/dist-types/commands/GetLayerVersionCommand.d.ts +24 -0
  30. package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +7 -0
  31. package/dist-types/commands/GetPolicyCommand.d.ts +7 -0
  32. package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +11 -0
  33. package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +8 -0
  34. package/dist-types/commands/InvokeAsyncCommand.d.ts +6 -0
  35. package/dist-types/commands/InvokeCommand.d.ts +10 -0
  36. package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +18 -0
  37. package/dist-types/commands/ListAliasesCommand.d.ts +20 -0
  38. package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +22 -0
  39. package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +77 -0
  40. package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +22 -0
  41. package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +32 -0
  42. package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +9 -0
  43. package/dist-types/commands/ListFunctionsCommand.d.ts +104 -0
  44. package/dist-types/commands/ListLayerVersionsCommand.d.ts +21 -0
  45. package/dist-types/commands/ListLayersCommand.d.ts +25 -0
  46. package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +17 -0
  47. package/dist-types/commands/ListTagsCommand.d.ts +8 -0
  48. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +104 -0
  49. package/dist-types/commands/PublishLayerVersionCommand.d.ts +24 -0
  50. package/dist-types/commands/PublishVersionCommand.d.ts +99 -0
  51. package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +7 -0
  52. package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +6 -0
  53. package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +17 -0
  54. package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +11 -0
  55. package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +8 -0
  56. package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +4 -0
  57. package/dist-types/commands/RemovePermissionCommand.d.ts +4 -0
  58. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  59. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  60. package/dist-types/commands/UpdateAliasCommand.d.ts +15 -0
  61. package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +19 -0
  62. package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +72 -0
  63. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +99 -0
  64. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +99 -0
  65. package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +17 -0
  66. package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +27 -0
  67. package/package.json +3 -3
@@ -42,6 +42,11 @@ export interface AddLayerVersionPermissionCommandOutput extends AddLayerVersionP
42
42
  * };
43
43
  * const command = new AddLayerVersionPermissionCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // AddLayerVersionPermissionResponse
46
+ * // Statement: "STRING_VALUE",
47
+ * // RevisionId: "STRING_VALUE",
48
+ * // };
49
+ *
45
50
  * ```
46
51
  *
47
52
  * @param AddLayerVersionPermissionCommandInput - {@link AddLayerVersionPermissionCommandInput}
@@ -72,6 +77,8 @@ export interface AddLayerVersionPermissionCommandOutput extends AddLayerVersionP
72
77
  * @throws {@link TooManyRequestsException} (client fault)
73
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>
74
79
  *
80
+ * @throws {@link LambdaServiceException}
81
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
75
82
  *
76
83
  */
77
84
  export declare class AddLayerVersionPermissionCommand extends $Command<AddLayerVersionPermissionCommandInput, AddLayerVersionPermissionCommandOutput, LambdaClientResolvedConfig> {
@@ -53,6 +53,10 @@ export interface AddPermissionCommandOutput extends AddPermissionResponse, __Met
53
53
  * };
54
54
  * const command = new AddPermissionCommand(input);
55
55
  * const response = await client.send(command);
56
+ * // { // AddPermissionResponse
57
+ * // Statement: "STRING_VALUE",
58
+ * // };
59
+ *
56
60
  * ```
57
61
  *
58
62
  * @param AddPermissionCommandInput - {@link AddPermissionCommandInput}
@@ -83,6 +87,8 @@ export interface AddPermissionCommandOutput extends AddPermissionResponse, __Met
83
87
  * @throws {@link TooManyRequestsException} (client fault)
84
88
  * <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>
85
89
  *
90
+ * @throws {@link LambdaServiceException}
91
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
86
92
  *
87
93
  */
88
94
  export declare class AddPermissionCommand extends $Command<AddPermissionCommandInput, AddPermissionCommandOutput, LambdaClientResolvedConfig> {
@@ -44,6 +44,19 @@ export interface CreateAliasCommandOutput extends AliasConfiguration, __Metadata
44
44
  * };
45
45
  * const command = new CreateAliasCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // AliasConfiguration
48
+ * // AliasArn: "STRING_VALUE",
49
+ * // Name: "STRING_VALUE",
50
+ * // FunctionVersion: "STRING_VALUE",
51
+ * // Description: "STRING_VALUE",
52
+ * // RoutingConfig: { // AliasRoutingConfiguration
53
+ * // AdditionalVersionWeights: { // AdditionalVersionWeights
54
+ * // "<keys>": Number("double"),
55
+ * // },
56
+ * // },
57
+ * // RevisionId: "STRING_VALUE",
58
+ * // };
59
+ *
47
60
  * ```
48
61
  *
49
62
  * @param CreateAliasCommandInput - {@link CreateAliasCommandInput}
@@ -67,6 +80,8 @@ export interface CreateAliasCommandOutput extends AliasConfiguration, __Metadata
67
80
  * @throws {@link TooManyRequestsException} (client fault)
68
81
  * <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>
69
82
  *
83
+ * @throws {@link LambdaServiceException}
84
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
70
85
  *
71
86
  */
72
87
  export declare class CreateAliasCommand extends $Command<CreateAliasCommandInput, CreateAliasCommandOutput, LambdaClientResolvedConfig> {
@@ -41,6 +41,23 @@ export interface CreateCodeSigningConfigCommandOutput extends CreateCodeSigningC
41
41
  * };
42
42
  * const command = new CreateCodeSigningConfigCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // CreateCodeSigningConfigResponse
45
+ * // CodeSigningConfig: { // CodeSigningConfig
46
+ * // CodeSigningConfigId: "STRING_VALUE", // required
47
+ * // CodeSigningConfigArn: "STRING_VALUE", // required
48
+ * // Description: "STRING_VALUE",
49
+ * // AllowedPublishers: { // AllowedPublishers
50
+ * // SigningProfileVersionArns: [ // SigningProfileVersionArns // required
51
+ * // "STRING_VALUE",
52
+ * // ],
53
+ * // },
54
+ * // CodeSigningPolicies: { // CodeSigningPolicies
55
+ * // UntrustedArtifactOnDeployment: "Warn" || "Enforce",
56
+ * // },
57
+ * // LastModified: "STRING_VALUE", // required
58
+ * // },
59
+ * // };
60
+ *
44
61
  * ```
45
62
  *
46
63
  * @param CreateCodeSigningConfigCommandInput - {@link CreateCodeSigningConfigCommandInput}
@@ -55,6 +72,8 @@ export interface CreateCodeSigningConfigCommandOutput extends CreateCodeSigningC
55
72
  * @throws {@link ServiceException} (server fault)
56
73
  * <p>The Lambda service encountered an internal error.</p>
57
74
  *
75
+ * @throws {@link LambdaServiceException}
76
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
58
77
  *
59
78
  */
60
79
  export declare class CreateCodeSigningConfigCommand extends $Command<CreateCodeSigningConfigCommandInput, CreateCodeSigningConfigCommandOutput, LambdaClientResolvedConfig> {
@@ -206,6 +206,76 @@ export interface CreateEventSourceMappingCommandOutput extends EventSourceMappin
206
206
  * };
207
207
  * const command = new CreateEventSourceMappingCommand(input);
208
208
  * const response = await client.send(command);
209
+ * // { // EventSourceMappingConfiguration
210
+ * // UUID: "STRING_VALUE",
211
+ * // StartingPosition: "TRIM_HORIZON" || "LATEST" || "AT_TIMESTAMP",
212
+ * // StartingPositionTimestamp: new Date("TIMESTAMP"),
213
+ * // BatchSize: Number("int"),
214
+ * // MaximumBatchingWindowInSeconds: Number("int"),
215
+ * // ParallelizationFactor: Number("int"),
216
+ * // EventSourceArn: "STRING_VALUE",
217
+ * // FilterCriteria: { // FilterCriteria
218
+ * // Filters: [ // FilterList
219
+ * // { // Filter
220
+ * // Pattern: "STRING_VALUE",
221
+ * // },
222
+ * // ],
223
+ * // },
224
+ * // FunctionArn: "STRING_VALUE",
225
+ * // LastModified: new Date("TIMESTAMP"),
226
+ * // LastProcessingResult: "STRING_VALUE",
227
+ * // State: "STRING_VALUE",
228
+ * // StateTransitionReason: "STRING_VALUE",
229
+ * // DestinationConfig: { // DestinationConfig
230
+ * // OnSuccess: { // OnSuccess
231
+ * // Destination: "STRING_VALUE",
232
+ * // },
233
+ * // OnFailure: { // OnFailure
234
+ * // Destination: "STRING_VALUE",
235
+ * // },
236
+ * // },
237
+ * // Topics: [ // Topics
238
+ * // "STRING_VALUE",
239
+ * // ],
240
+ * // Queues: [ // Queues
241
+ * // "STRING_VALUE",
242
+ * // ],
243
+ * // SourceAccessConfigurations: [ // SourceAccessConfigurations
244
+ * // { // SourceAccessConfiguration
245
+ * // Type: "BASIC_AUTH" || "VPC_SUBNET" || "VPC_SECURITY_GROUP" || "SASL_SCRAM_512_AUTH" || "SASL_SCRAM_256_AUTH" || "VIRTUAL_HOST" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
246
+ * // URI: "STRING_VALUE",
247
+ * // },
248
+ * // ],
249
+ * // SelfManagedEventSource: { // SelfManagedEventSource
250
+ * // Endpoints: { // Endpoints
251
+ * // "<keys>": [ // EndpointLists
252
+ * // "STRING_VALUE",
253
+ * // ],
254
+ * // },
255
+ * // },
256
+ * // MaximumRecordAgeInSeconds: Number("int"),
257
+ * // BisectBatchOnFunctionError: true || false,
258
+ * // MaximumRetryAttempts: Number("int"),
259
+ * // TumblingWindowInSeconds: Number("int"),
260
+ * // FunctionResponseTypes: [ // FunctionResponseTypeList
261
+ * // "ReportBatchItemFailures",
262
+ * // ],
263
+ * // AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig
264
+ * // ConsumerGroupId: "STRING_VALUE",
265
+ * // },
266
+ * // SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig
267
+ * // ConsumerGroupId: "STRING_VALUE",
268
+ * // },
269
+ * // ScalingConfig: { // ScalingConfig
270
+ * // MaximumConcurrency: Number("int"),
271
+ * // },
272
+ * // DocumentDBEventSourceConfig: { // DocumentDBEventSourceConfig
273
+ * // DatabaseName: "STRING_VALUE",
274
+ * // CollectionName: "STRING_VALUE",
275
+ * // FullDocument: "UpdateLookup" || "Default",
276
+ * // },
277
+ * // };
278
+ *
209
279
  * ```
210
280
  *
211
281
  * @param CreateEventSourceMappingCommandInput - {@link CreateEventSourceMappingCommandInput}
@@ -229,6 +299,8 @@ export interface CreateEventSourceMappingCommandOutput extends EventSourceMappin
229
299
  * @throws {@link TooManyRequestsException} (client fault)
230
300
  * <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>
231
301
  *
302
+ * @throws {@link LambdaServiceException}
303
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
232
304
  *
233
305
  */
234
306
  export declare class CreateEventSourceMappingCommand extends $Command<CreateEventSourceMappingCommandInput, CreateEventSourceMappingCommandOutput, LambdaClientResolvedConfig> {
@@ -134,6 +134,103 @@ export interface CreateFunctionCommandOutput extends FunctionConfiguration, __Me
134
134
  * };
135
135
  * const command = new CreateFunctionCommand(input);
136
136
  * const response = await client.send(command);
137
+ * // { // FunctionConfiguration
138
+ * // FunctionName: "STRING_VALUE",
139
+ * // FunctionArn: "STRING_VALUE",
140
+ * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
141
+ * // Role: "STRING_VALUE",
142
+ * // Handler: "STRING_VALUE",
143
+ * // CodeSize: Number("long"),
144
+ * // Description: "STRING_VALUE",
145
+ * // Timeout: Number("int"),
146
+ * // MemorySize: Number("int"),
147
+ * // LastModified: "STRING_VALUE",
148
+ * // CodeSha256: "STRING_VALUE",
149
+ * // Version: "STRING_VALUE",
150
+ * // VpcConfig: { // VpcConfigResponse
151
+ * // SubnetIds: [ // SubnetIds
152
+ * // "STRING_VALUE",
153
+ * // ],
154
+ * // SecurityGroupIds: [ // SecurityGroupIds
155
+ * // "STRING_VALUE",
156
+ * // ],
157
+ * // VpcId: "STRING_VALUE",
158
+ * // },
159
+ * // DeadLetterConfig: { // DeadLetterConfig
160
+ * // TargetArn: "STRING_VALUE",
161
+ * // },
162
+ * // Environment: { // EnvironmentResponse
163
+ * // Variables: { // EnvironmentVariables
164
+ * // "<keys>": "STRING_VALUE",
165
+ * // },
166
+ * // Error: { // EnvironmentError
167
+ * // ErrorCode: "STRING_VALUE",
168
+ * // Message: "STRING_VALUE",
169
+ * // },
170
+ * // },
171
+ * // KMSKeyArn: "STRING_VALUE",
172
+ * // TracingConfig: { // TracingConfigResponse
173
+ * // Mode: "Active" || "PassThrough",
174
+ * // },
175
+ * // MasterArn: "STRING_VALUE",
176
+ * // RevisionId: "STRING_VALUE",
177
+ * // Layers: [ // LayersReferenceList
178
+ * // { // Layer
179
+ * // Arn: "STRING_VALUE",
180
+ * // CodeSize: Number("long"),
181
+ * // SigningProfileVersionArn: "STRING_VALUE",
182
+ * // SigningJobArn: "STRING_VALUE",
183
+ * // },
184
+ * // ],
185
+ * // State: "Pending" || "Active" || "Inactive" || "Failed",
186
+ * // StateReason: "STRING_VALUE",
187
+ * // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError",
188
+ * // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
189
+ * // LastUpdateStatusReason: "STRING_VALUE",
190
+ * // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError",
191
+ * // FileSystemConfigs: [ // FileSystemConfigList
192
+ * // { // FileSystemConfig
193
+ * // Arn: "STRING_VALUE", // required
194
+ * // LocalMountPath: "STRING_VALUE", // required
195
+ * // },
196
+ * // ],
197
+ * // PackageType: "Zip" || "Image",
198
+ * // ImageConfigResponse: { // ImageConfigResponse
199
+ * // ImageConfig: { // ImageConfig
200
+ * // EntryPoint: [ // StringList
201
+ * // "STRING_VALUE",
202
+ * // ],
203
+ * // Command: [
204
+ * // "STRING_VALUE",
205
+ * // ],
206
+ * // WorkingDirectory: "STRING_VALUE",
207
+ * // },
208
+ * // Error: { // ImageConfigError
209
+ * // ErrorCode: "STRING_VALUE",
210
+ * // Message: "STRING_VALUE",
211
+ * // },
212
+ * // },
213
+ * // SigningProfileVersionArn: "STRING_VALUE",
214
+ * // SigningJobArn: "STRING_VALUE",
215
+ * // Architectures: [ // ArchitecturesList
216
+ * // "x86_64" || "arm64",
217
+ * // ],
218
+ * // EphemeralStorage: { // EphemeralStorage
219
+ * // Size: Number("int"), // required
220
+ * // },
221
+ * // SnapStart: { // SnapStartResponse
222
+ * // ApplyOn: "PublishedVersions" || "None",
223
+ * // OptimizationStatus: "On" || "Off",
224
+ * // },
225
+ * // RuntimeVersionConfig: { // RuntimeVersionConfig
226
+ * // RuntimeVersionArn: "STRING_VALUE",
227
+ * // Error: { // RuntimeVersionError
228
+ * // ErrorCode: "STRING_VALUE",
229
+ * // Message: "STRING_VALUE",
230
+ * // },
231
+ * // },
232
+ * // };
233
+ *
137
234
  * ```
138
235
  *
139
236
  * @param CreateFunctionCommandInput - {@link CreateFunctionCommandInput}
@@ -171,6 +268,8 @@ export interface CreateFunctionCommandOutput extends FunctionConfiguration, __Me
171
268
  * @throws {@link TooManyRequestsException} (client fault)
172
269
  * <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>
173
270
  *
271
+ * @throws {@link LambdaServiceException}
272
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
174
273
  *
175
274
  */
176
275
  export declare class CreateFunctionCommand extends $Command<CreateFunctionCommandInput, CreateFunctionCommandOutput, LambdaClientResolvedConfig> {
@@ -51,6 +51,30 @@ export interface CreateFunctionUrlConfigCommandOutput extends CreateFunctionUrlC
51
51
  * };
52
52
  * const command = new CreateFunctionUrlConfigCommand(input);
53
53
  * const response = await client.send(command);
54
+ * // { // CreateFunctionUrlConfigResponse
55
+ * // FunctionUrl: "STRING_VALUE", // required
56
+ * // FunctionArn: "STRING_VALUE", // required
57
+ * // AuthType: "NONE" || "AWS_IAM", // required
58
+ * // Cors: { // Cors
59
+ * // AllowCredentials: true || false,
60
+ * // AllowHeaders: [ // HeadersList
61
+ * // "STRING_VALUE",
62
+ * // ],
63
+ * // AllowMethods: [ // AllowMethodsList
64
+ * // "STRING_VALUE",
65
+ * // ],
66
+ * // AllowOrigins: [ // AllowOriginsList
67
+ * // "STRING_VALUE",
68
+ * // ],
69
+ * // ExposeHeaders: [
70
+ * // "STRING_VALUE",
71
+ * // ],
72
+ * // MaxAge: Number("int"),
73
+ * // },
74
+ * // CreationTime: "STRING_VALUE", // required
75
+ * // InvokeMode: "BUFFERED" || "RESPONSE_STREAM",
76
+ * // };
77
+ *
54
78
  * ```
55
79
  *
56
80
  * @param CreateFunctionUrlConfigCommandInput - {@link CreateFunctionUrlConfigCommandInput}
@@ -74,6 +98,8 @@ export interface CreateFunctionUrlConfigCommandOutput extends CreateFunctionUrlC
74
98
  * @throws {@link TooManyRequestsException} (client fault)
75
99
  * <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>
76
100
  *
101
+ * @throws {@link LambdaServiceException}
102
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
77
103
  *
78
104
  */
79
105
  export declare class CreateFunctionUrlConfigCommand extends $Command<CreateFunctionUrlConfigCommandInput, CreateFunctionUrlConfigCommandOutput, LambdaClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface DeleteAliasCommandOutput extends __MetadataBearer {
32
32
  * };
33
33
  * const command = new DeleteAliasCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DeleteAliasCommandInput - {@link DeleteAliasCommandInput}
@@ -52,6 +54,8 @@ export interface DeleteAliasCommandOutput extends __MetadataBearer {
52
54
  * @throws {@link TooManyRequestsException} (client fault)
53
55
  * <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>
54
56
  *
57
+ * @throws {@link LambdaServiceException}
58
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
55
59
  *
56
60
  */
57
61
  export declare class DeleteAliasCommand extends $Command<DeleteAliasCommandInput, DeleteAliasCommandOutput, LambdaClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface DeleteCodeSigningConfigCommandOutput extends DeleteCodeSigningC
32
32
  * };
33
33
  * const command = new DeleteCodeSigningConfigCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DeleteCodeSigningConfigCommandInput - {@link DeleteCodeSigningConfigCommandInput}
@@ -52,6 +54,8 @@ export interface DeleteCodeSigningConfigCommandOutput extends DeleteCodeSigningC
52
54
  * @throws {@link ServiceException} (server fault)
53
55
  * <p>The Lambda service encountered an internal error.</p>
54
56
  *
57
+ * @throws {@link LambdaServiceException}
58
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
55
59
  *
56
60
  */
57
61
  export declare class DeleteCodeSigningConfigCommand extends $Command<DeleteCodeSigningConfigCommandInput, DeleteCodeSigningConfigCommandOutput, LambdaClientResolvedConfig> {
@@ -34,6 +34,76 @@ export interface DeleteEventSourceMappingCommandOutput extends EventSourceMappin
34
34
  * };
35
35
  * const command = new DeleteEventSourceMappingCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // EventSourceMappingConfiguration
38
+ * // UUID: "STRING_VALUE",
39
+ * // StartingPosition: "TRIM_HORIZON" || "LATEST" || "AT_TIMESTAMP",
40
+ * // StartingPositionTimestamp: new Date("TIMESTAMP"),
41
+ * // BatchSize: Number("int"),
42
+ * // MaximumBatchingWindowInSeconds: Number("int"),
43
+ * // ParallelizationFactor: Number("int"),
44
+ * // EventSourceArn: "STRING_VALUE",
45
+ * // FilterCriteria: { // FilterCriteria
46
+ * // Filters: [ // FilterList
47
+ * // { // Filter
48
+ * // Pattern: "STRING_VALUE",
49
+ * // },
50
+ * // ],
51
+ * // },
52
+ * // FunctionArn: "STRING_VALUE",
53
+ * // LastModified: new Date("TIMESTAMP"),
54
+ * // LastProcessingResult: "STRING_VALUE",
55
+ * // State: "STRING_VALUE",
56
+ * // StateTransitionReason: "STRING_VALUE",
57
+ * // DestinationConfig: { // DestinationConfig
58
+ * // OnSuccess: { // OnSuccess
59
+ * // Destination: "STRING_VALUE",
60
+ * // },
61
+ * // OnFailure: { // OnFailure
62
+ * // Destination: "STRING_VALUE",
63
+ * // },
64
+ * // },
65
+ * // Topics: [ // Topics
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // Queues: [ // Queues
69
+ * // "STRING_VALUE",
70
+ * // ],
71
+ * // SourceAccessConfigurations: [ // SourceAccessConfigurations
72
+ * // { // SourceAccessConfiguration
73
+ * // Type: "BASIC_AUTH" || "VPC_SUBNET" || "VPC_SECURITY_GROUP" || "SASL_SCRAM_512_AUTH" || "SASL_SCRAM_256_AUTH" || "VIRTUAL_HOST" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
74
+ * // URI: "STRING_VALUE",
75
+ * // },
76
+ * // ],
77
+ * // SelfManagedEventSource: { // SelfManagedEventSource
78
+ * // Endpoints: { // Endpoints
79
+ * // "<keys>": [ // EndpointLists
80
+ * // "STRING_VALUE",
81
+ * // ],
82
+ * // },
83
+ * // },
84
+ * // MaximumRecordAgeInSeconds: Number("int"),
85
+ * // BisectBatchOnFunctionError: true || false,
86
+ * // MaximumRetryAttempts: Number("int"),
87
+ * // TumblingWindowInSeconds: Number("int"),
88
+ * // FunctionResponseTypes: [ // FunctionResponseTypeList
89
+ * // "ReportBatchItemFailures",
90
+ * // ],
91
+ * // AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig
92
+ * // ConsumerGroupId: "STRING_VALUE",
93
+ * // },
94
+ * // SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig
95
+ * // ConsumerGroupId: "STRING_VALUE",
96
+ * // },
97
+ * // ScalingConfig: { // ScalingConfig
98
+ * // MaximumConcurrency: Number("int"),
99
+ * // },
100
+ * // DocumentDBEventSourceConfig: { // DocumentDBEventSourceConfig
101
+ * // DatabaseName: "STRING_VALUE",
102
+ * // CollectionName: "STRING_VALUE",
103
+ * // FullDocument: "UpdateLookup" || "Default",
104
+ * // },
105
+ * // };
106
+ *
37
107
  * ```
38
108
  *
39
109
  * @param DeleteEventSourceMappingCommandInput - {@link DeleteEventSourceMappingCommandInput}
@@ -58,6 +128,8 @@ export interface DeleteEventSourceMappingCommandOutput extends EventSourceMappin
58
128
  * @throws {@link TooManyRequestsException} (client fault)
59
129
  * <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>
60
130
  *
131
+ * @throws {@link LambdaServiceException}
132
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
61
133
  *
62
134
  */
63
135
  export declare class DeleteEventSourceMappingCommand extends $Command<DeleteEventSourceMappingCommandInput, DeleteEventSourceMappingCommandOutput, LambdaClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface DeleteFunctionCodeSigningConfigCommandOutput extends __Metadata
31
31
  * };
32
32
  * const command = new DeleteFunctionCodeSigningConfigCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param DeleteFunctionCodeSigningConfigCommandInput - {@link DeleteFunctionCodeSigningConfigCommandInput}
@@ -57,6 +59,8 @@ export interface DeleteFunctionCodeSigningConfigCommandOutput extends __Metadata
57
59
  * @throws {@link TooManyRequestsException} (client fault)
58
60
  * <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>
59
61
  *
62
+ * @throws {@link LambdaServiceException}
63
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
60
64
  *
61
65
  */
62
66
  export declare class DeleteFunctionCodeSigningConfigCommand extends $Command<DeleteFunctionCodeSigningConfigCommandInput, DeleteFunctionCodeSigningConfigCommandOutput, LambdaClientResolvedConfig> {
@@ -35,6 +35,8 @@ export interface DeleteFunctionCommandOutput extends __MetadataBearer {
35
35
  * };
36
36
  * const command = new DeleteFunctionCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param DeleteFunctionCommandInput - {@link DeleteFunctionCommandInput}
@@ -58,6 +60,8 @@ export interface DeleteFunctionCommandOutput extends __MetadataBearer {
58
60
  * @throws {@link TooManyRequestsException} (client fault)
59
61
  * <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>
60
62
  *
63
+ * @throws {@link LambdaServiceException}
64
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
61
65
  *
62
66
  */
63
67
  export declare class DeleteFunctionCommand extends $Command<DeleteFunctionCommandInput, DeleteFunctionCommandOutput, LambdaClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface DeleteFunctionConcurrencyCommandOutput extends __MetadataBearer
31
31
  * };
32
32
  * const command = new DeleteFunctionConcurrencyCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param DeleteFunctionConcurrencyCommandInput - {@link DeleteFunctionConcurrencyCommandInput}
@@ -54,6 +56,8 @@ export interface DeleteFunctionConcurrencyCommandOutput extends __MetadataBearer
54
56
  * @throws {@link TooManyRequestsException} (client fault)
55
57
  * <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>
56
58
  *
59
+ * @throws {@link LambdaServiceException}
60
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
57
61
  *
58
62
  */
59
63
  export declare class DeleteFunctionConcurrencyCommand extends $Command<DeleteFunctionConcurrencyCommandInput, DeleteFunctionConcurrencyCommandOutput, LambdaClientResolvedConfig> {
@@ -33,6 +33,8 @@ export interface DeleteFunctionEventInvokeConfigCommandOutput extends __Metadata
33
33
  * };
34
34
  * const command = new DeleteFunctionEventInvokeConfigCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // {};
37
+ *
36
38
  * ```
37
39
  *
38
40
  * @param DeleteFunctionEventInvokeConfigCommandInput - {@link DeleteFunctionEventInvokeConfigCommandInput}
@@ -56,6 +58,8 @@ export interface DeleteFunctionEventInvokeConfigCommandOutput extends __Metadata
56
58
  * @throws {@link TooManyRequestsException} (client fault)
57
59
  * <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>
58
60
  *
61
+ * @throws {@link LambdaServiceException}
62
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
59
63
  *
60
64
  */
61
65
  export declare class DeleteFunctionEventInvokeConfigCommand extends $Command<DeleteFunctionEventInvokeConfigCommandInput, DeleteFunctionEventInvokeConfigCommandOutput, LambdaClientResolvedConfig> {
@@ -33,6 +33,8 @@ export interface DeleteFunctionUrlConfigCommandOutput extends __MetadataBearer {
33
33
  * };
34
34
  * const command = new DeleteFunctionUrlConfigCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // {};
37
+ *
36
38
  * ```
37
39
  *
38
40
  * @param DeleteFunctionUrlConfigCommandInput - {@link DeleteFunctionUrlConfigCommandInput}
@@ -53,6 +55,8 @@ export interface DeleteFunctionUrlConfigCommandOutput extends __MetadataBearer {
53
55
  * @throws {@link TooManyRequestsException} (client fault)
54
56
  * <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>
55
57
  *
58
+ * @throws {@link LambdaServiceException}
59
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
56
60
  *
57
61
  */
58
62
  export declare class DeleteFunctionUrlConfigCommand extends $Command<DeleteFunctionUrlConfigCommandInput, DeleteFunctionUrlConfigCommandOutput, LambdaClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface DeleteLayerVersionCommandOutput extends __MetadataBearer {
34
34
  * };
35
35
  * const command = new DeleteLayerVersionCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param DeleteLayerVersionCommandInput - {@link DeleteLayerVersionCommandInput}
@@ -48,6 +50,8 @@ export interface DeleteLayerVersionCommandOutput extends __MetadataBearer {
48
50
  * @throws {@link TooManyRequestsException} (client fault)
49
51
  * <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>
50
52
  *
53
+ * @throws {@link LambdaServiceException}
54
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
51
55
  *
52
56
  */
53
57
  export declare class DeleteLayerVersionCommand extends $Command<DeleteLayerVersionCommandInput, DeleteLayerVersionCommandOutput, LambdaClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface DeleteProvisionedConcurrencyConfigCommandOutput extends __Metad
32
32
  * };
33
33
  * const command = new DeleteProvisionedConcurrencyConfigCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DeleteProvisionedConcurrencyConfigCommandInput - {@link DeleteProvisionedConcurrencyConfigCommandInput}
@@ -55,6 +57,8 @@ export interface DeleteProvisionedConcurrencyConfigCommandOutput extends __Metad
55
57
  * @throws {@link TooManyRequestsException} (client fault)
56
58
  * <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>
57
59
  *
60
+ * @throws {@link LambdaServiceException}
61
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
58
62
  *
59
63
  */
60
64
  export declare class DeleteProvisionedConcurrencyConfigCommand extends $Command<DeleteProvisionedConcurrencyConfigCommandInput, DeleteProvisionedConcurrencyConfigCommandOutput, LambdaClientResolvedConfig> {
@@ -29,6 +29,20 @@ export interface GetAccountSettingsCommandOutput extends GetAccountSettingsRespo
29
29
  * const input = {};
30
30
  * const command = new GetAccountSettingsCommand(input);
31
31
  * const response = await client.send(command);
32
+ * // { // GetAccountSettingsResponse
33
+ * // AccountLimit: { // AccountLimit
34
+ * // TotalCodeSize: Number("long"),
35
+ * // CodeSizeUnzipped: Number("long"),
36
+ * // CodeSizeZipped: Number("long"),
37
+ * // ConcurrentExecutions: Number("int"),
38
+ * // UnreservedConcurrentExecutions: Number("int"),
39
+ * // },
40
+ * // AccountUsage: { // AccountUsage
41
+ * // TotalCodeSize: Number("long"),
42
+ * // FunctionCount: Number("long"),
43
+ * // },
44
+ * // };
45
+ *
32
46
  * ```
33
47
  *
34
48
  * @param GetAccountSettingsCommandInput - {@link GetAccountSettingsCommandInput}
@@ -43,6 +57,8 @@ export interface GetAccountSettingsCommandOutput extends GetAccountSettingsRespo
43
57
  * @throws {@link TooManyRequestsException} (client fault)
44
58
  * <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>
45
59
  *
60
+ * @throws {@link LambdaServiceException}
61
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
46
62
  *
47
63
  */
48
64
  export declare class GetAccountSettingsCommand extends $Command<GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput, LambdaClientResolvedConfig> {