@aws-sdk/client-lambda 3.299.0 → 3.300.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 (66) hide show
  1. package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +9 -0
  2. package/dist-types/commands/AddPermissionCommand.d.ts +13 -0
  3. package/dist-types/commands/CreateAliasCommand.d.ts +11 -0
  4. package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +11 -0
  5. package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +65 -0
  6. package/dist-types/commands/CreateFunctionCommand.d.ts +69 -0
  7. package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +21 -0
  8. package/dist-types/commands/DeleteAliasCommand.d.ts +4 -0
  9. package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +3 -0
  10. package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +3 -0
  11. package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +3 -0
  12. package/dist-types/commands/DeleteFunctionCommand.d.ts +4 -0
  13. package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +3 -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 +1 -0
  19. package/dist-types/commands/GetAliasCommand.d.ts +4 -0
  20. package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +3 -0
  21. package/dist-types/commands/GetEventSourceMappingCommand.d.ts +3 -0
  22. package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +3 -0
  23. package/dist-types/commands/GetFunctionCommand.d.ts +4 -0
  24. package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +3 -0
  25. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +4 -0
  26. package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +4 -0
  27. package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +4 -0
  28. package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +3 -0
  29. package/dist-types/commands/GetLayerVersionCommand.d.ts +4 -0
  30. package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +4 -0
  31. package/dist-types/commands/GetPolicyCommand.d.ts +4 -0
  32. package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -0
  33. package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +4 -0
  34. package/dist-types/commands/InvokeAsyncCommand.d.ts +4 -0
  35. package/dist-types/commands/InvokeCommand.d.ts +8 -0
  36. package/dist-types/commands/ListAliasesCommand.d.ts +6 -0
  37. package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +4 -0
  38. package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +6 -0
  39. package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +5 -0
  40. package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +5 -0
  41. package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +5 -0
  42. package/dist-types/commands/ListFunctionsCommand.d.ts +6 -0
  43. package/dist-types/commands/ListLayerVersionsCommand.d.ts +7 -0
  44. package/dist-types/commands/ListLayersCommand.d.ts +6 -0
  45. package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +5 -0
  46. package/dist-types/commands/ListTagsCommand.d.ts +3 -0
  47. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +5 -0
  48. package/dist-types/commands/PublishLayerVersionCommand.d.ts +17 -0
  49. package/dist-types/commands/PublishVersionCommand.d.ts +6 -0
  50. package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +4 -0
  51. package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +4 -0
  52. package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +14 -0
  53. package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +5 -0
  54. package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +6 -0
  55. package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +6 -0
  56. package/dist-types/commands/RemovePermissionCommand.d.ts +6 -0
  57. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  58. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  59. package/dist-types/commands/UpdateAliasCommand.d.ts +12 -0
  60. package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +12 -0
  61. package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +44 -0
  62. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +14 -0
  63. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +54 -0
  64. package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +14 -0
  65. package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +21 -0
  66. package/package.json +8 -8
@@ -27,6 +27,11 @@ export interface ListFunctionEventInvokeConfigsCommandOutput extends ListFunctio
27
27
  * import { LambdaClient, ListFunctionEventInvokeConfigsCommand } from "@aws-sdk/client-lambda"; // ES Modules import
28
28
  * // const { LambdaClient, ListFunctionEventInvokeConfigsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
29
29
  * const client = new LambdaClient(config);
30
+ * const input = {
31
+ * FunctionName: "STRING_VALUE", // required
32
+ * Marker: "STRING_VALUE",
33
+ * MaxItems: Number("int"),
34
+ * };
30
35
  * const command = new ListFunctionEventInvokeConfigsCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -26,6 +26,11 @@ export interface ListFunctionUrlConfigsCommandOutput extends ListFunctionUrlConf
26
26
  * import { LambdaClient, ListFunctionUrlConfigsCommand } from "@aws-sdk/client-lambda"; // ES Modules import
27
27
  * // const { LambdaClient, ListFunctionUrlConfigsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
28
28
  * const client = new LambdaClient(config);
29
+ * const input = {
30
+ * FunctionName: "STRING_VALUE", // required
31
+ * Marker: "STRING_VALUE",
32
+ * MaxItems: Number("int"),
33
+ * };
29
34
  * const command = new ListFunctionUrlConfigsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,11 @@ export interface ListFunctionsByCodeSigningConfigCommandOutput extends ListFunct
27
27
  * import { LambdaClient, ListFunctionsByCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
28
28
  * // const { LambdaClient, ListFunctionsByCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
29
29
  * const client = new LambdaClient(config);
30
+ * const input = {
31
+ * CodeSigningConfigArn: "STRING_VALUE", // required
32
+ * Marker: "STRING_VALUE",
33
+ * MaxItems: Number("int"),
34
+ * };
30
35
  * const command = new ListFunctionsByCodeSigningConfigCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -34,6 +34,12 @@ export interface ListFunctionsCommandOutput extends ListFunctionsResponse, __Met
34
34
  * import { LambdaClient, ListFunctionsCommand } from "@aws-sdk/client-lambda"; // ES Modules import
35
35
  * // const { LambdaClient, ListFunctionsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
36
36
  * const client = new LambdaClient(config);
37
+ * const input = {
38
+ * MasterRegion: "STRING_VALUE",
39
+ * FunctionVersion: "ALL",
40
+ * Marker: "STRING_VALUE",
41
+ * MaxItems: Number("int"),
42
+ * };
37
43
  * const command = new ListFunctionsCommand(input);
38
44
  * const response = await client.send(command);
39
45
  * ```
@@ -29,6 +29,13 @@ export interface ListLayerVersionsCommandOutput extends ListLayerVersionsRespons
29
29
  * import { LambdaClient, ListLayerVersionsCommand } from "@aws-sdk/client-lambda"; // ES Modules import
30
30
  * // const { LambdaClient, ListLayerVersionsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
31
31
  * const client = new LambdaClient(config);
32
+ * const input = {
33
+ * CompatibleRuntime: "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",
34
+ * LayerName: "STRING_VALUE", // required
35
+ * Marker: "STRING_VALUE",
36
+ * MaxItems: Number("int"),
37
+ * CompatibleArchitecture: "x86_64" || "arm64",
38
+ * };
32
39
  * const command = new ListLayerVersionsCommand(input);
33
40
  * const response = await client.send(command);
34
41
  * ```
@@ -31,6 +31,12 @@ export interface ListLayersCommandOutput extends ListLayersResponse, __MetadataB
31
31
  * import { LambdaClient, ListLayersCommand } from "@aws-sdk/client-lambda"; // ES Modules import
32
32
  * // const { LambdaClient, ListLayersCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
33
33
  * const client = new LambdaClient(config);
34
+ * const input = {
35
+ * CompatibleRuntime: "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",
36
+ * Marker: "STRING_VALUE",
37
+ * MaxItems: Number("int"),
38
+ * CompatibleArchitecture: "x86_64" || "arm64",
39
+ * };
34
40
  * const command = new ListLayersCommand(input);
35
41
  * const response = await client.send(command);
36
42
  * ```
@@ -26,6 +26,11 @@ export interface ListProvisionedConcurrencyConfigsCommandOutput extends ListProv
26
26
  * import { LambdaClient, ListProvisionedConcurrencyConfigsCommand } from "@aws-sdk/client-lambda"; // ES Modules import
27
27
  * // const { LambdaClient, ListProvisionedConcurrencyConfigsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
28
28
  * const client = new LambdaClient(config);
29
+ * const input = {
30
+ * FunctionName: "STRING_VALUE", // required
31
+ * Marker: "STRING_VALUE",
32
+ * MaxItems: Number("int"),
33
+ * };
29
34
  * const command = new ListProvisionedConcurrencyConfigsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,9 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
27
27
  * import { LambdaClient, ListTagsCommand } from "@aws-sdk/client-lambda"; // ES Modules import
28
28
  * // const { LambdaClient, ListTagsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
29
29
  * const client = new LambdaClient(config);
30
+ * const input = {
31
+ * Resource: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new ListTagsCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -27,6 +27,11 @@ export interface ListVersionsByFunctionCommandOutput extends ListVersionsByFunct
27
27
  * import { LambdaClient, ListVersionsByFunctionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
28
28
  * // const { LambdaClient, ListVersionsByFunctionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
29
29
  * const client = new LambdaClient(config);
30
+ * const input = {
31
+ * FunctionName: "STRING_VALUE", // required
32
+ * Marker: "STRING_VALUE",
33
+ * MaxItems: Number("int"),
34
+ * };
30
35
  * const command = new ListVersionsByFunctionCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -29,6 +29,23 @@ export interface PublishLayerVersionCommandOutput extends PublishLayerVersionRes
29
29
  * import { LambdaClient, PublishLayerVersionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
30
30
  * // const { LambdaClient, PublishLayerVersionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
31
31
  * const client = new LambdaClient(config);
32
+ * const input = {
33
+ * LayerName: "STRING_VALUE", // required
34
+ * Description: "STRING_VALUE",
35
+ * Content: {
36
+ * S3Bucket: "STRING_VALUE",
37
+ * S3Key: "STRING_VALUE",
38
+ * S3ObjectVersion: "STRING_VALUE",
39
+ * ZipFile: "BLOB_VALUE",
40
+ * },
41
+ * CompatibleRuntimes: [
42
+ * "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",
43
+ * ],
44
+ * LicenseInfo: "STRING_VALUE",
45
+ * CompatibleArchitectures: [
46
+ * "x86_64" || "arm64",
47
+ * ],
48
+ * };
32
49
  * const command = new PublishLayerVersionCommand(input);
33
50
  * const response = await client.send(command);
34
51
  * ```
@@ -32,6 +32,12 @@ export interface PublishVersionCommandOutput extends FunctionConfiguration, __Me
32
32
  * import { LambdaClient, PublishVersionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
33
33
  * // const { LambdaClient, PublishVersionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
34
34
  * const client = new LambdaClient(config);
35
+ * const input = {
36
+ * FunctionName: "STRING_VALUE", // required
37
+ * CodeSha256: "STRING_VALUE",
38
+ * Description: "STRING_VALUE",
39
+ * RevisionId: "STRING_VALUE",
40
+ * };
35
41
  * const command = new PublishVersionCommand(input);
36
42
  * const response = await client.send(command);
37
43
  * ```
@@ -27,6 +27,10 @@ export interface PutFunctionCodeSigningConfigCommandOutput extends PutFunctionCo
27
27
  * import { LambdaClient, PutFunctionCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
28
28
  * // const { LambdaClient, PutFunctionCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
29
29
  * const client = new LambdaClient(config);
30
+ * const input = {
31
+ * CodeSigningConfigArn: "STRING_VALUE", // required
32
+ * FunctionName: "STRING_VALUE", // required
33
+ * };
30
34
  * const command = new PutFunctionCodeSigningConfigCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -34,6 +34,10 @@ export interface PutFunctionConcurrencyCommandOutput extends Concurrency, __Meta
34
34
  * import { LambdaClient, PutFunctionConcurrencyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
35
35
  * // const { LambdaClient, PutFunctionConcurrencyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
36
36
  * const client = new LambdaClient(config);
37
+ * const input = {
38
+ * FunctionName: "STRING_VALUE", // required
39
+ * ReservedConcurrentExecutions: Number("int"), // required
40
+ * };
37
41
  * const command = new PutFunctionConcurrencyCommand(input);
38
42
  * const response = await client.send(command);
39
43
  * ```
@@ -36,6 +36,20 @@ export interface PutFunctionEventInvokeConfigCommandOutput extends FunctionEvent
36
36
  * import { LambdaClient, PutFunctionEventInvokeConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
37
37
  * // const { LambdaClient, PutFunctionEventInvokeConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
38
38
  * const client = new LambdaClient(config);
39
+ * const input = {
40
+ * FunctionName: "STRING_VALUE", // required
41
+ * Qualifier: "STRING_VALUE",
42
+ * MaximumRetryAttempts: Number("int"),
43
+ * MaximumEventAgeInSeconds: Number("int"),
44
+ * DestinationConfig: {
45
+ * OnSuccess: {
46
+ * Destination: "STRING_VALUE",
47
+ * },
48
+ * OnFailure: {
49
+ * Destination: "STRING_VALUE",
50
+ * },
51
+ * },
52
+ * };
39
53
  * const command = new PutFunctionEventInvokeConfigCommand(input);
40
54
  * const response = await client.send(command);
41
55
  * ```
@@ -26,6 +26,11 @@ export interface PutProvisionedConcurrencyConfigCommandOutput extends PutProvisi
26
26
  * import { LambdaClient, PutProvisionedConcurrencyConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
27
27
  * // const { LambdaClient, PutProvisionedConcurrencyConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
28
28
  * const client = new LambdaClient(config);
29
+ * const input = {
30
+ * FunctionName: "STRING_VALUE", // required
31
+ * Qualifier: "STRING_VALUE", // required
32
+ * ProvisionedConcurrentExecutions: Number("int"), // required
33
+ * };
29
34
  * const command = new PutProvisionedConcurrencyConfigCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,12 @@ export interface PutRuntimeManagementConfigCommandOutput extends PutRuntimeManag
27
27
  * import { LambdaClient, PutRuntimeManagementConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
28
28
  * // const { LambdaClient, PutRuntimeManagementConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
29
29
  * const client = new LambdaClient(config);
30
+ * const input = {
31
+ * FunctionName: "STRING_VALUE", // required
32
+ * Qualifier: "STRING_VALUE",
33
+ * UpdateRuntimeOn: "Auto" || "Manual" || "FunctionUpdate", // required
34
+ * RuntimeVersionArn: "STRING_VALUE",
35
+ * };
30
36
  * const command = new PutRuntimeManagementConfigCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -28,6 +28,12 @@ export interface RemoveLayerVersionPermissionCommandOutput extends __MetadataBea
28
28
  * import { LambdaClient, RemoveLayerVersionPermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
29
29
  * // const { LambdaClient, RemoveLayerVersionPermissionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
30
30
  * const client = new LambdaClient(config);
31
+ * const input = {
32
+ * LayerName: "STRING_VALUE", // required
33
+ * VersionNumber: Number("long"), // required
34
+ * StatementId: "STRING_VALUE", // required
35
+ * RevisionId: "STRING_VALUE",
36
+ * };
31
37
  * const command = new RemoveLayerVersionPermissionCommand(input);
32
38
  * const response = await client.send(command);
33
39
  * ```
@@ -27,6 +27,12 @@ export interface RemovePermissionCommandOutput extends __MetadataBearer {
27
27
  * import { LambdaClient, RemovePermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
28
28
  * // const { LambdaClient, RemovePermissionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
29
29
  * const client = new LambdaClient(config);
30
+ * const input = {
31
+ * FunctionName: "STRING_VALUE", // required
32
+ * StatementId: "STRING_VALUE", // required
33
+ * Qualifier: "STRING_VALUE",
34
+ * RevisionId: "STRING_VALUE",
35
+ * };
30
36
  * const command = new RemovePermissionCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { LambdaClient, TagResourceCommand } from "@aws-sdk/client-lambda"; // ES Modules import
27
27
  * // const { LambdaClient, TagResourceCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
28
28
  * const client = new LambdaClient(config);
29
+ * const input = {
30
+ * Resource: "STRING_VALUE", // required
31
+ * Tags: { // required
32
+ * "<keys>": "STRING_VALUE",
33
+ * },
34
+ * };
29
35
  * const command = new TagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { LambdaClient, UntagResourceCommand } from "@aws-sdk/client-lambda"; // ES Modules import
27
27
  * // const { LambdaClient, UntagResourceCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
28
28
  * const client = new LambdaClient(config);
29
+ * const input = {
30
+ * Resource: "STRING_VALUE", // required
31
+ * TagKeys: [ // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,18 @@ export interface UpdateAliasCommandOutput extends AliasConfiguration, __Metadata
26
26
  * import { LambdaClient, UpdateAliasCommand } from "@aws-sdk/client-lambda"; // ES Modules import
27
27
  * // const { LambdaClient, UpdateAliasCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
28
28
  * const client = new LambdaClient(config);
29
+ * const input = {
30
+ * FunctionName: "STRING_VALUE", // required
31
+ * Name: "STRING_VALUE", // required
32
+ * FunctionVersion: "STRING_VALUE",
33
+ * Description: "STRING_VALUE",
34
+ * RoutingConfig: {
35
+ * AdditionalVersionWeights: {
36
+ * "<keys>": Number("double"),
37
+ * },
38
+ * },
39
+ * RevisionId: "STRING_VALUE",
40
+ * };
29
41
  * const command = new UpdateAliasCommand(input);
30
42
  * const response = await client.send(command);
31
43
  * ```
@@ -27,6 +27,18 @@ export interface UpdateCodeSigningConfigCommandOutput extends UpdateCodeSigningC
27
27
  * import { LambdaClient, UpdateCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
28
28
  * // const { LambdaClient, UpdateCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
29
29
  * const client = new LambdaClient(config);
30
+ * const input = {
31
+ * CodeSigningConfigArn: "STRING_VALUE", // required
32
+ * Description: "STRING_VALUE",
33
+ * AllowedPublishers: {
34
+ * SigningProfileVersionArns: [ // required
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * },
38
+ * CodeSigningPolicies: {
39
+ * UntrustedArtifactOnDeployment: "Warn" || "Enforce",
40
+ * },
41
+ * };
30
42
  * const command = new UpdateCodeSigningConfigCommand(input);
31
43
  * const response = await client.send(command);
32
44
  * ```
@@ -128,6 +128,50 @@ export interface UpdateEventSourceMappingCommandOutput extends EventSourceMappin
128
128
  * import { LambdaClient, UpdateEventSourceMappingCommand } from "@aws-sdk/client-lambda"; // ES Modules import
129
129
  * // const { LambdaClient, UpdateEventSourceMappingCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
130
130
  * const client = new LambdaClient(config);
131
+ * const input = {
132
+ * UUID: "STRING_VALUE", // required
133
+ * FunctionName: "STRING_VALUE",
134
+ * Enabled: true || false,
135
+ * BatchSize: Number("int"),
136
+ * FilterCriteria: {
137
+ * Filters: [
138
+ * {
139
+ * Pattern: "STRING_VALUE",
140
+ * },
141
+ * ],
142
+ * },
143
+ * MaximumBatchingWindowInSeconds: Number("int"),
144
+ * DestinationConfig: {
145
+ * OnSuccess: {
146
+ * Destination: "STRING_VALUE",
147
+ * },
148
+ * OnFailure: {
149
+ * Destination: "STRING_VALUE",
150
+ * },
151
+ * },
152
+ * MaximumRecordAgeInSeconds: Number("int"),
153
+ * BisectBatchOnFunctionError: true || false,
154
+ * MaximumRetryAttempts: Number("int"),
155
+ * ParallelizationFactor: Number("int"),
156
+ * SourceAccessConfigurations: [
157
+ * {
158
+ * 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",
159
+ * URI: "STRING_VALUE",
160
+ * },
161
+ * ],
162
+ * TumblingWindowInSeconds: Number("int"),
163
+ * FunctionResponseTypes: [
164
+ * "ReportBatchItemFailures",
165
+ * ],
166
+ * ScalingConfig: {
167
+ * MaximumConcurrency: Number("int"),
168
+ * },
169
+ * DocumentDBEventSourceConfig: {
170
+ * DatabaseName: "STRING_VALUE",
171
+ * CollectionName: "STRING_VALUE",
172
+ * FullDocument: "UpdateLookup" || "Default",
173
+ * },
174
+ * };
131
175
  * const command = new UpdateEventSourceMappingCommand(input);
132
176
  * const response = await client.send(command);
133
177
  * ```
@@ -41,6 +41,20 @@ export interface UpdateFunctionCodeCommandOutput extends FunctionConfiguration,
41
41
  * import { LambdaClient, UpdateFunctionCodeCommand } from "@aws-sdk/client-lambda"; // ES Modules import
42
42
  * // const { LambdaClient, UpdateFunctionCodeCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
43
43
  * const client = new LambdaClient(config);
44
+ * const input = {
45
+ * FunctionName: "STRING_VALUE", // required
46
+ * ZipFile: "BLOB_VALUE",
47
+ * S3Bucket: "STRING_VALUE",
48
+ * S3Key: "STRING_VALUE",
49
+ * S3ObjectVersion: "STRING_VALUE",
50
+ * ImageUri: "STRING_VALUE",
51
+ * Publish: true || false,
52
+ * DryRun: true || false,
53
+ * RevisionId: "STRING_VALUE",
54
+ * Architectures: [
55
+ * "x86_64" || "arm64",
56
+ * ],
57
+ * };
44
58
  * const command = new UpdateFunctionCodeCommand(input);
45
59
  * const response = await client.send(command);
46
60
  * ```
@@ -37,6 +37,60 @@ export interface UpdateFunctionConfigurationCommandOutput extends FunctionConfig
37
37
  * import { LambdaClient, UpdateFunctionConfigurationCommand } from "@aws-sdk/client-lambda"; // ES Modules import
38
38
  * // const { LambdaClient, UpdateFunctionConfigurationCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
39
39
  * const client = new LambdaClient(config);
40
+ * const input = {
41
+ * FunctionName: "STRING_VALUE", // required
42
+ * Role: "STRING_VALUE",
43
+ * Handler: "STRING_VALUE",
44
+ * Description: "STRING_VALUE",
45
+ * Timeout: Number("int"),
46
+ * MemorySize: Number("int"),
47
+ * VpcConfig: {
48
+ * SubnetIds: [
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * SecurityGroupIds: [
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * },
55
+ * Environment: {
56
+ * Variables: {
57
+ * "<keys>": "STRING_VALUE",
58
+ * },
59
+ * },
60
+ * 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",
61
+ * DeadLetterConfig: {
62
+ * TargetArn: "STRING_VALUE",
63
+ * },
64
+ * KMSKeyArn: "STRING_VALUE",
65
+ * TracingConfig: {
66
+ * Mode: "Active" || "PassThrough",
67
+ * },
68
+ * RevisionId: "STRING_VALUE",
69
+ * Layers: [
70
+ * "STRING_VALUE",
71
+ * ],
72
+ * FileSystemConfigs: [
73
+ * {
74
+ * Arn: "STRING_VALUE", // required
75
+ * LocalMountPath: "STRING_VALUE", // required
76
+ * },
77
+ * ],
78
+ * ImageConfig: {
79
+ * EntryPoint: [
80
+ * "STRING_VALUE",
81
+ * ],
82
+ * Command: [
83
+ * "STRING_VALUE",
84
+ * ],
85
+ * WorkingDirectory: "STRING_VALUE",
86
+ * },
87
+ * EphemeralStorage: {
88
+ * Size: Number("int"), // required
89
+ * },
90
+ * SnapStart: {
91
+ * ApplyOn: "PublishedVersions" || "None",
92
+ * },
93
+ * };
40
94
  * const command = new UpdateFunctionConfigurationCommand(input);
41
95
  * const response = await client.send(command);
42
96
  * ```
@@ -27,6 +27,20 @@ export interface UpdateFunctionEventInvokeConfigCommandOutput extends FunctionEv
27
27
  * import { LambdaClient, UpdateFunctionEventInvokeConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
28
28
  * // const { LambdaClient, UpdateFunctionEventInvokeConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
29
29
  * const client = new LambdaClient(config);
30
+ * const input = {
31
+ * FunctionName: "STRING_VALUE", // required
32
+ * Qualifier: "STRING_VALUE",
33
+ * MaximumRetryAttempts: Number("int"),
34
+ * MaximumEventAgeInSeconds: Number("int"),
35
+ * DestinationConfig: {
36
+ * OnSuccess: {
37
+ * Destination: "STRING_VALUE",
38
+ * },
39
+ * OnFailure: {
40
+ * Destination: "STRING_VALUE",
41
+ * },
42
+ * },
43
+ * };
30
44
  * const command = new UpdateFunctionEventInvokeConfigCommand(input);
31
45
  * const response = await client.send(command);
32
46
  * ```
@@ -26,6 +26,27 @@ export interface UpdateFunctionUrlConfigCommandOutput extends UpdateFunctionUrlC
26
26
  * import { LambdaClient, UpdateFunctionUrlConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
27
27
  * // const { LambdaClient, UpdateFunctionUrlConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
28
28
  * const client = new LambdaClient(config);
29
+ * const input = {
30
+ * FunctionName: "STRING_VALUE", // required
31
+ * Qualifier: "STRING_VALUE",
32
+ * AuthType: "NONE" || "AWS_IAM",
33
+ * Cors: {
34
+ * AllowCredentials: true || false,
35
+ * AllowHeaders: [
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * AllowMethods: [
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * AllowOrigins: [
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * ExposeHeaders: [
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * MaxAge: Number("int"),
48
+ * },
49
+ * };
29
50
  * const command = new UpdateFunctionUrlConfigCommand(input);
30
51
  * const response = await client.send(command);
31
52
  * ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lambda",
3
3
  "description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
4
- "version": "3.299.0",
4
+ "version": "3.300.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "@aws-sdk/util-waiter": "3.296.0",
57
57
  "tslib": "^2.5.0"