@aws-sdk/client-lambda 3.300.0 → 3.303.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 (69) hide show
  1. package/dist-cjs/models/models_0.js +173 -196
  2. package/dist-es/models/models_0.js +173 -196
  3. package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +1 -1
  4. package/dist-types/commands/AddPermissionCommand.d.ts +1 -1
  5. package/dist-types/commands/CreateAliasCommand.d.ts +3 -3
  6. package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +4 -4
  7. package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +19 -19
  8. package/dist-types/commands/CreateFunctionCommand.d.ts +18 -18
  9. package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +5 -5
  10. package/dist-types/commands/DeleteAliasCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteLayerVersionCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +1 -1
  20. package/dist-types/commands/GetAliasCommand.d.ts +1 -1
  21. package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +1 -1
  22. package/dist-types/commands/GetEventSourceMappingCommand.d.ts +1 -1
  23. package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +1 -1
  24. package/dist-types/commands/GetFunctionCommand.d.ts +1 -1
  25. package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +1 -1
  26. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +1 -1
  27. package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +1 -1
  28. package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +1 -1
  29. package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -1
  30. package/dist-types/commands/GetLayerVersionCommand.d.ts +1 -1
  31. package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +1 -1
  32. package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
  33. package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +1 -1
  34. package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +1 -1
  35. package/dist-types/commands/InvokeAsyncCommand.d.ts +1 -1
  36. package/dist-types/commands/InvokeCommand.d.ts +1 -1
  37. package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
  38. package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +1 -1
  39. package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +1 -1
  40. package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +1 -1
  41. package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +1 -1
  42. package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +1 -1
  43. package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
  44. package/dist-types/commands/ListLayerVersionsCommand.d.ts +1 -1
  45. package/dist-types/commands/ListLayersCommand.d.ts +1 -1
  46. package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +1 -1
  47. package/dist-types/commands/ListTagsCommand.d.ts +1 -1
  48. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +1 -1
  49. package/dist-types/commands/PublishLayerVersionCommand.d.ts +4 -4
  50. package/dist-types/commands/PublishVersionCommand.d.ts +1 -1
  51. package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +1 -1
  52. package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +1 -1
  53. package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +4 -4
  54. package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +1 -1
  55. package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +1 -1
  56. package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +1 -1
  57. package/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
  58. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  59. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  60. package/dist-types/commands/UpdateAliasCommand.d.ts +3 -3
  61. package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +4 -4
  62. package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +12 -12
  63. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +2 -2
  64. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +15 -15
  65. package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +4 -4
  66. package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +5 -5
  67. package/dist-types/models/models_0.d.ts +288 -173
  68. package/dist-types/ts3.4/models/models_0.d.ts +211 -173
  69. package/package.json +35 -35
@@ -27,7 +27,7 @@ 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 = {
30
+ * const input = { // PutRuntimeManagementConfigRequest
31
31
  * FunctionName: "STRING_VALUE", // required
32
32
  * Qualifier: "STRING_VALUE",
33
33
  * UpdateRuntimeOn: "Auto" || "Manual" || "FunctionUpdate", // required
@@ -28,7 +28,7 @@ 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 = {
31
+ * const input = { // RemoveLayerVersionPermissionRequest
32
32
  * LayerName: "STRING_VALUE", // required
33
33
  * VersionNumber: Number("long"), // required
34
34
  * StatementId: "STRING_VALUE", // required
@@ -27,7 +27,7 @@ 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 = {
30
+ * const input = { // RemovePermissionRequest
31
31
  * FunctionName: "STRING_VALUE", // required
32
32
  * StatementId: "STRING_VALUE", // required
33
33
  * Qualifier: "STRING_VALUE",
@@ -26,9 +26,9 @@ 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 = {
29
+ * const input = { // TagResourceRequest
30
30
  * Resource: "STRING_VALUE", // required
31
- * Tags: { // required
31
+ * Tags: { // Tags // required
32
32
  * "<keys>": "STRING_VALUE",
33
33
  * },
34
34
  * };
@@ -26,9 +26,9 @@ 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 = {
29
+ * const input = { // UntagResourceRequest
30
30
  * Resource: "STRING_VALUE", // required
31
- * TagKeys: [ // required
31
+ * TagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -26,13 +26,13 @@ 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 = {
29
+ * const input = { // UpdateAliasRequest
30
30
  * FunctionName: "STRING_VALUE", // required
31
31
  * Name: "STRING_VALUE", // required
32
32
  * FunctionVersion: "STRING_VALUE",
33
33
  * Description: "STRING_VALUE",
34
- * RoutingConfig: {
35
- * AdditionalVersionWeights: {
34
+ * RoutingConfig: { // AliasRoutingConfiguration
35
+ * AdditionalVersionWeights: { // AdditionalVersionWeights
36
36
  * "<keys>": Number("double"),
37
37
  * },
38
38
  * },
@@ -27,15 +27,15 @@ 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 = {
30
+ * const input = { // UpdateCodeSigningConfigRequest
31
31
  * CodeSigningConfigArn: "STRING_VALUE", // required
32
32
  * Description: "STRING_VALUE",
33
- * AllowedPublishers: {
34
- * SigningProfileVersionArns: [ // required
33
+ * AllowedPublishers: { // AllowedPublishers
34
+ * SigningProfileVersionArns: [ // SigningProfileVersionArns // required
35
35
  * "STRING_VALUE",
36
36
  * ],
37
37
  * },
38
- * CodeSigningPolicies: {
38
+ * CodeSigningPolicies: { // CodeSigningPolicies
39
39
  * UntrustedArtifactOnDeployment: "Warn" || "Enforce",
40
40
  * },
41
41
  * };
@@ -128,24 +128,24 @@ 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 = {
131
+ * const input = { // UpdateEventSourceMappingRequest
132
132
  * UUID: "STRING_VALUE", // required
133
133
  * FunctionName: "STRING_VALUE",
134
134
  * Enabled: true || false,
135
135
  * BatchSize: Number("int"),
136
- * FilterCriteria: {
137
- * Filters: [
138
- * {
136
+ * FilterCriteria: { // FilterCriteria
137
+ * Filters: [ // FilterList
138
+ * { // Filter
139
139
  * Pattern: "STRING_VALUE",
140
140
  * },
141
141
  * ],
142
142
  * },
143
143
  * MaximumBatchingWindowInSeconds: Number("int"),
144
- * DestinationConfig: {
145
- * OnSuccess: {
144
+ * DestinationConfig: { // DestinationConfig
145
+ * OnSuccess: { // OnSuccess
146
146
  * Destination: "STRING_VALUE",
147
147
  * },
148
- * OnFailure: {
148
+ * OnFailure: { // OnFailure
149
149
  * Destination: "STRING_VALUE",
150
150
  * },
151
151
  * },
@@ -153,20 +153,20 @@ export interface UpdateEventSourceMappingCommandOutput extends EventSourceMappin
153
153
  * BisectBatchOnFunctionError: true || false,
154
154
  * MaximumRetryAttempts: Number("int"),
155
155
  * ParallelizationFactor: Number("int"),
156
- * SourceAccessConfigurations: [
157
- * {
156
+ * SourceAccessConfigurations: [ // SourceAccessConfigurations
157
+ * { // SourceAccessConfiguration
158
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
159
  * URI: "STRING_VALUE",
160
160
  * },
161
161
  * ],
162
162
  * TumblingWindowInSeconds: Number("int"),
163
- * FunctionResponseTypes: [
163
+ * FunctionResponseTypes: [ // FunctionResponseTypeList
164
164
  * "ReportBatchItemFailures",
165
165
  * ],
166
- * ScalingConfig: {
166
+ * ScalingConfig: { // ScalingConfig
167
167
  * MaximumConcurrency: Number("int"),
168
168
  * },
169
- * DocumentDBEventSourceConfig: {
169
+ * DocumentDBEventSourceConfig: { // DocumentDBEventSourceConfig
170
170
  * DatabaseName: "STRING_VALUE",
171
171
  * CollectionName: "STRING_VALUE",
172
172
  * FullDocument: "UpdateLookup" || "Default",
@@ -41,7 +41,7 @@ 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 = {
44
+ * const input = { // UpdateFunctionCodeRequest
45
45
  * FunctionName: "STRING_VALUE", // required
46
46
  * ZipFile: "BLOB_VALUE",
47
47
  * S3Bucket: "STRING_VALUE",
@@ -51,7 +51,7 @@ export interface UpdateFunctionCodeCommandOutput extends FunctionConfiguration,
51
51
  * Publish: true || false,
52
52
  * DryRun: true || false,
53
53
  * RevisionId: "STRING_VALUE",
54
- * Architectures: [
54
+ * Architectures: [ // ArchitecturesList
55
55
  * "x86_64" || "arm64",
56
56
  * ],
57
57
  * };
@@ -37,46 +37,46 @@ 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 = {
40
+ * const input = { // UpdateFunctionConfigurationRequest
41
41
  * FunctionName: "STRING_VALUE", // required
42
42
  * Role: "STRING_VALUE",
43
43
  * Handler: "STRING_VALUE",
44
44
  * Description: "STRING_VALUE",
45
45
  * Timeout: Number("int"),
46
46
  * MemorySize: Number("int"),
47
- * VpcConfig: {
48
- * SubnetIds: [
47
+ * VpcConfig: { // VpcConfig
48
+ * SubnetIds: [ // SubnetIds
49
49
  * "STRING_VALUE",
50
50
  * ],
51
- * SecurityGroupIds: [
51
+ * SecurityGroupIds: [ // SecurityGroupIds
52
52
  * "STRING_VALUE",
53
53
  * ],
54
54
  * },
55
- * Environment: {
56
- * Variables: {
55
+ * Environment: { // Environment
56
+ * Variables: { // EnvironmentVariables
57
57
  * "<keys>": "STRING_VALUE",
58
58
  * },
59
59
  * },
60
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: {
61
+ * DeadLetterConfig: { // DeadLetterConfig
62
62
  * TargetArn: "STRING_VALUE",
63
63
  * },
64
64
  * KMSKeyArn: "STRING_VALUE",
65
- * TracingConfig: {
65
+ * TracingConfig: { // TracingConfig
66
66
  * Mode: "Active" || "PassThrough",
67
67
  * },
68
68
  * RevisionId: "STRING_VALUE",
69
- * Layers: [
69
+ * Layers: [ // LayerList
70
70
  * "STRING_VALUE",
71
71
  * ],
72
- * FileSystemConfigs: [
73
- * {
72
+ * FileSystemConfigs: [ // FileSystemConfigList
73
+ * { // FileSystemConfig
74
74
  * Arn: "STRING_VALUE", // required
75
75
  * LocalMountPath: "STRING_VALUE", // required
76
76
  * },
77
77
  * ],
78
- * ImageConfig: {
79
- * EntryPoint: [
78
+ * ImageConfig: { // ImageConfig
79
+ * EntryPoint: [ // StringList
80
80
  * "STRING_VALUE",
81
81
  * ],
82
82
  * Command: [
@@ -84,10 +84,10 @@ export interface UpdateFunctionConfigurationCommandOutput extends FunctionConfig
84
84
  * ],
85
85
  * WorkingDirectory: "STRING_VALUE",
86
86
  * },
87
- * EphemeralStorage: {
87
+ * EphemeralStorage: { // EphemeralStorage
88
88
  * Size: Number("int"), // required
89
89
  * },
90
- * SnapStart: {
90
+ * SnapStart: { // SnapStart
91
91
  * ApplyOn: "PublishedVersions" || "None",
92
92
  * },
93
93
  * };
@@ -27,16 +27,16 @@ 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 = {
30
+ * const input = { // UpdateFunctionEventInvokeConfigRequest
31
31
  * FunctionName: "STRING_VALUE", // required
32
32
  * Qualifier: "STRING_VALUE",
33
33
  * MaximumRetryAttempts: Number("int"),
34
34
  * MaximumEventAgeInSeconds: Number("int"),
35
- * DestinationConfig: {
36
- * OnSuccess: {
35
+ * DestinationConfig: { // DestinationConfig
36
+ * OnSuccess: { // OnSuccess
37
37
  * Destination: "STRING_VALUE",
38
38
  * },
39
- * OnFailure: {
39
+ * OnFailure: { // OnFailure
40
40
  * Destination: "STRING_VALUE",
41
41
  * },
42
42
  * },
@@ -26,19 +26,19 @@ 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 = {
29
+ * const input = { // UpdateFunctionUrlConfigRequest
30
30
  * FunctionName: "STRING_VALUE", // required
31
31
  * Qualifier: "STRING_VALUE",
32
32
  * AuthType: "NONE" || "AWS_IAM",
33
- * Cors: {
33
+ * Cors: { // Cors
34
34
  * AllowCredentials: true || false,
35
- * AllowHeaders: [
35
+ * AllowHeaders: [ // HeadersList
36
36
  * "STRING_VALUE",
37
37
  * ],
38
- * AllowMethods: [
38
+ * AllowMethods: [ // AllowMethodsList
39
39
  * "STRING_VALUE",
40
40
  * ],
41
- * AllowOrigins: [
41
+ * AllowOrigins: [ // AllowOriginsList
42
42
  * "STRING_VALUE",
43
43
  * ],
44
44
  * ExposeHeaders: [