@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.
- package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +9 -0
- package/dist-types/commands/AddPermissionCommand.d.ts +13 -0
- package/dist-types/commands/CreateAliasCommand.d.ts +11 -0
- package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +11 -0
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +65 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +69 -0
- package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +21 -0
- package/dist-types/commands/DeleteAliasCommand.d.ts +4 -0
- package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +3 -0
- package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +3 -0
- package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +3 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +3 -0
- package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +4 -0
- package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +4 -0
- package/dist-types/commands/DeleteLayerVersionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +4 -0
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +1 -0
- package/dist-types/commands/GetAliasCommand.d.ts +4 -0
- package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +3 -0
- package/dist-types/commands/GetEventSourceMappingCommand.d.ts +3 -0
- package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +3 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +4 -0
- package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +3 -0
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +4 -0
- package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +4 -0
- package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +3 -0
- package/dist-types/commands/GetLayerVersionCommand.d.ts +4 -0
- package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +4 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +4 -0
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -0
- package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +4 -0
- package/dist-types/commands/InvokeAsyncCommand.d.ts +4 -0
- package/dist-types/commands/InvokeCommand.d.ts +8 -0
- package/dist-types/commands/ListAliasesCommand.d.ts +6 -0
- package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +4 -0
- package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +6 -0
- package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +5 -0
- package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +5 -0
- package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +5 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +6 -0
- package/dist-types/commands/ListLayerVersionsCommand.d.ts +7 -0
- package/dist-types/commands/ListLayersCommand.d.ts +6 -0
- package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsCommand.d.ts +3 -0
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +5 -0
- package/dist-types/commands/PublishLayerVersionCommand.d.ts +17 -0
- package/dist-types/commands/PublishVersionCommand.d.ts +6 -0
- package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +4 -0
- package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +4 -0
- package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +14 -0
- package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +5 -0
- package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +6 -0
- package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +6 -0
- package/dist-types/commands/RemovePermissionCommand.d.ts +6 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAliasCommand.d.ts +12 -0
- package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +12 -0
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +44 -0
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +14 -0
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +54 -0
- package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +14 -0
- package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +21 -0
- package/package.json +8 -8
|
@@ -31,6 +31,15 @@ export interface AddLayerVersionPermissionCommandOutput extends AddLayerVersionP
|
|
|
31
31
|
* import { LambdaClient, AddLayerVersionPermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
32
32
|
* // const { LambdaClient, AddLayerVersionPermissionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
33
33
|
* const client = new LambdaClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* LayerName: "STRING_VALUE", // required
|
|
36
|
+
* VersionNumber: Number("long"), // required
|
|
37
|
+
* StatementId: "STRING_VALUE", // required
|
|
38
|
+
* Action: "STRING_VALUE", // required
|
|
39
|
+
* Principal: "STRING_VALUE", // required
|
|
40
|
+
* OrganizationId: "STRING_VALUE",
|
|
41
|
+
* RevisionId: "STRING_VALUE",
|
|
42
|
+
* };
|
|
34
43
|
* const command = new AddLayerVersionPermissionCommand(input);
|
|
35
44
|
* const response = await client.send(command);
|
|
36
45
|
* ```
|
|
@@ -38,6 +38,19 @@ export interface AddPermissionCommandOutput extends AddPermissionResponse, __Met
|
|
|
38
38
|
* import { LambdaClient, AddPermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
39
39
|
* // const { LambdaClient, AddPermissionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
40
40
|
* const client = new LambdaClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* FunctionName: "STRING_VALUE", // required
|
|
43
|
+
* StatementId: "STRING_VALUE", // required
|
|
44
|
+
* Action: "STRING_VALUE", // required
|
|
45
|
+
* Principal: "STRING_VALUE", // required
|
|
46
|
+
* SourceArn: "STRING_VALUE",
|
|
47
|
+
* SourceAccount: "STRING_VALUE",
|
|
48
|
+
* EventSourceToken: "STRING_VALUE",
|
|
49
|
+
* Qualifier: "STRING_VALUE",
|
|
50
|
+
* RevisionId: "STRING_VALUE",
|
|
51
|
+
* PrincipalOrgID: "STRING_VALUE",
|
|
52
|
+
* FunctionUrlAuthType: "NONE" || "AWS_IAM",
|
|
53
|
+
* };
|
|
41
54
|
* const command = new AddPermissionCommand(input);
|
|
42
55
|
* const response = await client.send(command);
|
|
43
56
|
* ```
|
|
@@ -31,6 +31,17 @@ export interface CreateAliasCommandOutput extends AliasConfiguration, __Metadata
|
|
|
31
31
|
* import { LambdaClient, CreateAliasCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
32
32
|
* // const { LambdaClient, CreateAliasCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
33
33
|
* const client = new LambdaClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* FunctionName: "STRING_VALUE", // required
|
|
36
|
+
* Name: "STRING_VALUE", // required
|
|
37
|
+
* FunctionVersion: "STRING_VALUE", // required
|
|
38
|
+
* Description: "STRING_VALUE",
|
|
39
|
+
* RoutingConfig: {
|
|
40
|
+
* AdditionalVersionWeights: {
|
|
41
|
+
* "<keys>": Number("double"),
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
34
45
|
* const command = new CreateAliasCommand(input);
|
|
35
46
|
* const response = await client.send(command);
|
|
36
47
|
* ```
|
|
@@ -28,6 +28,17 @@ export interface CreateCodeSigningConfigCommandOutput extends CreateCodeSigningC
|
|
|
28
28
|
* import { LambdaClient, CreateCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
29
29
|
* // const { LambdaClient, CreateCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
30
30
|
* const client = new LambdaClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Description: "STRING_VALUE",
|
|
33
|
+
* AllowedPublishers: {
|
|
34
|
+
* SigningProfileVersionArns: [ // required
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* },
|
|
38
|
+
* CodeSigningPolicies: {
|
|
39
|
+
* UntrustedArtifactOnDeployment: "Warn" || "Enforce",
|
|
40
|
+
* },
|
|
41
|
+
* };
|
|
31
42
|
* const command = new CreateCodeSigningConfigCommand(input);
|
|
32
43
|
* const response = await client.send(command);
|
|
33
44
|
* ```
|
|
@@ -127,6 +127,71 @@ export interface CreateEventSourceMappingCommandOutput extends EventSourceMappin
|
|
|
127
127
|
* import { LambdaClient, CreateEventSourceMappingCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
128
128
|
* // const { LambdaClient, CreateEventSourceMappingCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
129
129
|
* const client = new LambdaClient(config);
|
|
130
|
+
* const input = {
|
|
131
|
+
* EventSourceArn: "STRING_VALUE",
|
|
132
|
+
* FunctionName: "STRING_VALUE", // required
|
|
133
|
+
* Enabled: true || false,
|
|
134
|
+
* BatchSize: Number("int"),
|
|
135
|
+
* FilterCriteria: {
|
|
136
|
+
* Filters: [
|
|
137
|
+
* {
|
|
138
|
+
* Pattern: "STRING_VALUE",
|
|
139
|
+
* },
|
|
140
|
+
* ],
|
|
141
|
+
* },
|
|
142
|
+
* MaximumBatchingWindowInSeconds: Number("int"),
|
|
143
|
+
* ParallelizationFactor: Number("int"),
|
|
144
|
+
* StartingPosition: "TRIM_HORIZON" || "LATEST" || "AT_TIMESTAMP",
|
|
145
|
+
* StartingPositionTimestamp: new Date("TIMESTAMP"),
|
|
146
|
+
* DestinationConfig: {
|
|
147
|
+
* OnSuccess: {
|
|
148
|
+
* Destination: "STRING_VALUE",
|
|
149
|
+
* },
|
|
150
|
+
* OnFailure: {
|
|
151
|
+
* Destination: "STRING_VALUE",
|
|
152
|
+
* },
|
|
153
|
+
* },
|
|
154
|
+
* MaximumRecordAgeInSeconds: Number("int"),
|
|
155
|
+
* BisectBatchOnFunctionError: true || false,
|
|
156
|
+
* MaximumRetryAttempts: Number("int"),
|
|
157
|
+
* TumblingWindowInSeconds: Number("int"),
|
|
158
|
+
* Topics: [
|
|
159
|
+
* "STRING_VALUE",
|
|
160
|
+
* ],
|
|
161
|
+
* Queues: [
|
|
162
|
+
* "STRING_VALUE",
|
|
163
|
+
* ],
|
|
164
|
+
* SourceAccessConfigurations: [
|
|
165
|
+
* {
|
|
166
|
+
* 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",
|
|
167
|
+
* URI: "STRING_VALUE",
|
|
168
|
+
* },
|
|
169
|
+
* ],
|
|
170
|
+
* SelfManagedEventSource: {
|
|
171
|
+
* Endpoints: {
|
|
172
|
+
* "<keys>": [
|
|
173
|
+
* "STRING_VALUE",
|
|
174
|
+
* ],
|
|
175
|
+
* },
|
|
176
|
+
* },
|
|
177
|
+
* FunctionResponseTypes: [
|
|
178
|
+
* "ReportBatchItemFailures",
|
|
179
|
+
* ],
|
|
180
|
+
* AmazonManagedKafkaEventSourceConfig: {
|
|
181
|
+
* ConsumerGroupId: "STRING_VALUE",
|
|
182
|
+
* },
|
|
183
|
+
* SelfManagedKafkaEventSourceConfig: {
|
|
184
|
+
* ConsumerGroupId: "STRING_VALUE",
|
|
185
|
+
* },
|
|
186
|
+
* ScalingConfig: {
|
|
187
|
+
* MaximumConcurrency: Number("int"),
|
|
188
|
+
* },
|
|
189
|
+
* DocumentDBEventSourceConfig: {
|
|
190
|
+
* DatabaseName: "STRING_VALUE",
|
|
191
|
+
* CollectionName: "STRING_VALUE",
|
|
192
|
+
* FullDocument: "UpdateLookup" || "Default",
|
|
193
|
+
* },
|
|
194
|
+
* };
|
|
130
195
|
* const command = new CreateEventSourceMappingCommand(input);
|
|
131
196
|
* const response = await client.send(command);
|
|
132
197
|
* ```
|
|
@@ -63,6 +63,75 @@ export interface CreateFunctionCommandOutput extends FunctionConfiguration, __Me
|
|
|
63
63
|
* import { LambdaClient, CreateFunctionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
64
64
|
* // const { LambdaClient, CreateFunctionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
65
65
|
* const client = new LambdaClient(config);
|
|
66
|
+
* const input = {
|
|
67
|
+
* FunctionName: "STRING_VALUE", // required
|
|
68
|
+
* 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",
|
|
69
|
+
* Role: "STRING_VALUE", // required
|
|
70
|
+
* Handler: "STRING_VALUE",
|
|
71
|
+
* Code: {
|
|
72
|
+
* ZipFile: "BLOB_VALUE",
|
|
73
|
+
* S3Bucket: "STRING_VALUE",
|
|
74
|
+
* S3Key: "STRING_VALUE",
|
|
75
|
+
* S3ObjectVersion: "STRING_VALUE",
|
|
76
|
+
* ImageUri: "STRING_VALUE",
|
|
77
|
+
* },
|
|
78
|
+
* Description: "STRING_VALUE",
|
|
79
|
+
* Timeout: Number("int"),
|
|
80
|
+
* MemorySize: Number("int"),
|
|
81
|
+
* Publish: true || false,
|
|
82
|
+
* VpcConfig: {
|
|
83
|
+
* SubnetIds: [
|
|
84
|
+
* "STRING_VALUE",
|
|
85
|
+
* ],
|
|
86
|
+
* SecurityGroupIds: [
|
|
87
|
+
* "STRING_VALUE",
|
|
88
|
+
* ],
|
|
89
|
+
* },
|
|
90
|
+
* PackageType: "Zip" || "Image",
|
|
91
|
+
* DeadLetterConfig: {
|
|
92
|
+
* TargetArn: "STRING_VALUE",
|
|
93
|
+
* },
|
|
94
|
+
* Environment: {
|
|
95
|
+
* Variables: {
|
|
96
|
+
* "<keys>": "STRING_VALUE",
|
|
97
|
+
* },
|
|
98
|
+
* },
|
|
99
|
+
* KMSKeyArn: "STRING_VALUE",
|
|
100
|
+
* TracingConfig: {
|
|
101
|
+
* Mode: "Active" || "PassThrough",
|
|
102
|
+
* },
|
|
103
|
+
* Tags: {
|
|
104
|
+
* "<keys>": "STRING_VALUE",
|
|
105
|
+
* },
|
|
106
|
+
* Layers: [
|
|
107
|
+
* "STRING_VALUE",
|
|
108
|
+
* ],
|
|
109
|
+
* FileSystemConfigs: [
|
|
110
|
+
* {
|
|
111
|
+
* Arn: "STRING_VALUE", // required
|
|
112
|
+
* LocalMountPath: "STRING_VALUE", // required
|
|
113
|
+
* },
|
|
114
|
+
* ],
|
|
115
|
+
* ImageConfig: {
|
|
116
|
+
* EntryPoint: [
|
|
117
|
+
* "STRING_VALUE",
|
|
118
|
+
* ],
|
|
119
|
+
* Command: [
|
|
120
|
+
* "STRING_VALUE",
|
|
121
|
+
* ],
|
|
122
|
+
* WorkingDirectory: "STRING_VALUE",
|
|
123
|
+
* },
|
|
124
|
+
* CodeSigningConfigArn: "STRING_VALUE",
|
|
125
|
+
* Architectures: [
|
|
126
|
+
* "x86_64" || "arm64",
|
|
127
|
+
* ],
|
|
128
|
+
* EphemeralStorage: {
|
|
129
|
+
* Size: Number("int"), // required
|
|
130
|
+
* },
|
|
131
|
+
* SnapStart: {
|
|
132
|
+
* ApplyOn: "PublishedVersions" || "None",
|
|
133
|
+
* },
|
|
134
|
+
* };
|
|
66
135
|
* const command = new CreateFunctionCommand(input);
|
|
67
136
|
* const response = await client.send(command);
|
|
68
137
|
* ```
|
|
@@ -27,6 +27,27 @@ export interface CreateFunctionUrlConfigCommandOutput extends CreateFunctionUrlC
|
|
|
27
27
|
* import { LambdaClient, CreateFunctionUrlConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
28
28
|
* // const { LambdaClient, CreateFunctionUrlConfigCommand } = 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
|
+
* AuthType: "NONE" || "AWS_IAM", // required
|
|
34
|
+
* Cors: {
|
|
35
|
+
* AllowCredentials: true || false,
|
|
36
|
+
* AllowHeaders: [
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* AllowMethods: [
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* AllowOrigins: [
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* ExposeHeaders: [
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* MaxAge: Number("int"),
|
|
49
|
+
* },
|
|
50
|
+
* };
|
|
30
51
|
* const command = new CreateFunctionUrlConfigCommand(input);
|
|
31
52
|
* const response = await client.send(command);
|
|
32
53
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteAliasCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { LambdaClient, DeleteAliasCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
27
27
|
* // const { LambdaClient, DeleteAliasCommand } = 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
|
+
* };
|
|
29
33
|
* const command = new DeleteAliasCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeleteCodeSigningConfigCommandOutput extends DeleteCodeSigningC
|
|
|
27
27
|
* import { LambdaClient, DeleteCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
28
28
|
* // const { LambdaClient, DeleteCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
29
29
|
* const client = new LambdaClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* CodeSigningConfigArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeleteCodeSigningConfigCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DeleteEventSourceMappingCommandOutput extends EventSourceMappin
|
|
|
29
29
|
* import { LambdaClient, DeleteEventSourceMappingCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
30
30
|
* // const { LambdaClient, DeleteEventSourceMappingCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
31
31
|
* const client = new LambdaClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* UUID: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DeleteEventSourceMappingCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteFunctionCodeSigningConfigCommandOutput extends __Metadata
|
|
|
26
26
|
* import { LambdaClient, DeleteFunctionCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
27
27
|
* // const { LambdaClient, DeleteFunctionCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
28
28
|
* const client = new LambdaClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* FunctionName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteFunctionCodeSigningConfigCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface DeleteFunctionCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* import { LambdaClient, DeleteFunctionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
30
30
|
* // const { LambdaClient, DeleteFunctionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
31
31
|
* const client = new LambdaClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* FunctionName: "STRING_VALUE", // required
|
|
34
|
+
* Qualifier: "STRING_VALUE",
|
|
35
|
+
* };
|
|
32
36
|
* const command = new DeleteFunctionCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteFunctionConcurrencyCommandOutput extends __MetadataBearer
|
|
|
26
26
|
* import { LambdaClient, DeleteFunctionConcurrencyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
27
27
|
* // const { LambdaClient, DeleteFunctionConcurrencyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
28
28
|
* const client = new LambdaClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* FunctionName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteFunctionConcurrencyCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface DeleteFunctionEventInvokeConfigCommandOutput extends __Metadata
|
|
|
27
27
|
* import { LambdaClient, DeleteFunctionEventInvokeConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
28
28
|
* // const { LambdaClient, DeleteFunctionEventInvokeConfigCommand } = 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
|
+
* };
|
|
30
34
|
* const command = new DeleteFunctionEventInvokeConfigCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface DeleteFunctionUrlConfigCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { LambdaClient, DeleteFunctionUrlConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
28
28
|
* // const { LambdaClient, DeleteFunctionUrlConfigCommand } = 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
|
+
* };
|
|
30
34
|
* const command = new DeleteFunctionUrlConfigCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface DeleteLayerVersionCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { LambdaClient, DeleteLayerVersionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
29
29
|
* // const { LambdaClient, DeleteLayerVersionCommand } = 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
|
+
* };
|
|
31
35
|
* const command = new DeleteLayerVersionCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteProvisionedConcurrencyConfigCommandOutput extends __Metad
|
|
|
26
26
|
* import { LambdaClient, DeleteProvisionedConcurrencyConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
27
27
|
* // const { LambdaClient, DeleteProvisionedConcurrencyConfigCommand } = 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
|
+
* };
|
|
29
33
|
* const command = new DeleteProvisionedConcurrencyConfigCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface GetAccountSettingsCommandOutput extends GetAccountSettingsRespo
|
|
|
26
26
|
* import { LambdaClient, GetAccountSettingsCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
27
27
|
* // const { LambdaClient, GetAccountSettingsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
28
28
|
* const client = new LambdaClient(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new GetAccountSettingsCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetAliasCommandOutput extends AliasConfiguration, __MetadataBea
|
|
|
26
26
|
* import { LambdaClient, GetAliasCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
27
27
|
* // const { LambdaClient, GetAliasCommand } = 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
|
+
* };
|
|
29
33
|
* const command = new GetAliasCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetCodeSigningConfigCommandOutput extends GetCodeSigningConfigR
|
|
|
26
26
|
* import { LambdaClient, GetCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
27
27
|
* // const { LambdaClient, GetCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
28
28
|
* const client = new LambdaClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CodeSigningConfigArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetCodeSigningConfigCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetEventSourceMappingCommandOutput extends EventSourceMappingCo
|
|
|
27
27
|
* import { LambdaClient, GetEventSourceMappingCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
28
28
|
* // const { LambdaClient, GetEventSourceMappingCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
29
29
|
* const client = new LambdaClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* UUID: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetEventSourceMappingCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetFunctionCodeSigningConfigCommandOutput extends GetFunctionCo
|
|
|
26
26
|
* import { LambdaClient, GetFunctionCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
27
27
|
* // const { LambdaClient, GetFunctionCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
28
28
|
* const client = new LambdaClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* FunctionName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetFunctionCodeSigningConfigCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface GetFunctionCommandOutput extends GetFunctionResponse, __Metadat
|
|
|
28
28
|
* import { LambdaClient, GetFunctionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
29
29
|
* // const { LambdaClient, GetFunctionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
30
30
|
* const client = new LambdaClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* FunctionName: "STRING_VALUE", // required
|
|
33
|
+
* Qualifier: "STRING_VALUE",
|
|
34
|
+
* };
|
|
31
35
|
* const command = new GetFunctionCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetFunctionConcurrencyCommandOutput extends GetFunctionConcurre
|
|
|
27
27
|
* import { LambdaClient, GetFunctionConcurrencyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
28
28
|
* // const { LambdaClient, GetFunctionConcurrencyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
29
29
|
* const client = new LambdaClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* FunctionName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetFunctionConcurrencyCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface GetFunctionConfigurationCommandOutput extends FunctionConfigura
|
|
|
28
28
|
* import { LambdaClient, GetFunctionConfigurationCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
29
29
|
* // const { LambdaClient, GetFunctionConfigurationCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
30
30
|
* const client = new LambdaClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* FunctionName: "STRING_VALUE", // required
|
|
33
|
+
* Qualifier: "STRING_VALUE",
|
|
34
|
+
* };
|
|
31
35
|
* const command = new GetFunctionConfigurationCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface GetFunctionEventInvokeConfigCommandOutput extends FunctionEvent
|
|
|
27
27
|
* import { LambdaClient, GetFunctionEventInvokeConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
28
28
|
* // const { LambdaClient, GetFunctionEventInvokeConfigCommand } = 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
|
+
* };
|
|
30
34
|
* const command = new GetFunctionEventInvokeConfigCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetFunctionUrlConfigCommandOutput extends GetFunctionUrlConfigR
|
|
|
26
26
|
* import { LambdaClient, GetFunctionUrlConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
27
27
|
* // const { LambdaClient, GetFunctionUrlConfigCommand } = 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
|
+
* };
|
|
29
33
|
* const command = new GetFunctionUrlConfigCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface GetLayerVersionByArnCommandOutput extends GetLayerVersionRespon
|
|
|
28
28
|
* import { LambdaClient, GetLayerVersionByArnCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
29
29
|
* // const { LambdaClient, GetLayerVersionByArnCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
30
30
|
* const client = new LambdaClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Arn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new GetLayerVersionByArnCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface GetLayerVersionCommandOutput extends GetLayerVersionResponse, _
|
|
|
28
28
|
* import { LambdaClient, GetLayerVersionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
29
29
|
* // const { LambdaClient, GetLayerVersionCommand } = 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
|
+
* };
|
|
31
35
|
* const command = new GetLayerVersionCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface GetLayerVersionPolicyCommandOutput extends GetLayerVersionPolic
|
|
|
27
27
|
* import { LambdaClient, GetLayerVersionPolicyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
28
28
|
* // const { LambdaClient, GetLayerVersionPolicyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
29
29
|
* const client = new LambdaClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* LayerName: "STRING_VALUE", // required
|
|
32
|
+
* VersionNumber: Number("long"), // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new GetLayerVersionPolicyCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetPolicyCommandOutput extends GetPolicyResponse, __MetadataBea
|
|
|
26
26
|
* import { LambdaClient, GetPolicyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
27
27
|
* // const { LambdaClient, GetPolicyCommand } = 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
|
+
* };
|
|
29
33
|
* const command = new GetPolicyCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetProvisionedConcurrencyConfigCommandOutput extends GetProvisi
|
|
|
26
26
|
* import { LambdaClient, GetProvisionedConcurrencyConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
27
27
|
* // const { LambdaClient, GetProvisionedConcurrencyConfigCommand } = 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
|
+
* };
|
|
29
33
|
* const command = new GetProvisionedConcurrencyConfigCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface GetRuntimeManagementConfigCommandOutput extends GetRuntimeManag
|
|
|
28
28
|
* import { LambdaClient, GetRuntimeManagementConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
29
29
|
* // const { LambdaClient, GetRuntimeManagementConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
30
30
|
* const client = new LambdaClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* FunctionName: "STRING_VALUE", // required
|
|
33
|
+
* Qualifier: "STRING_VALUE",
|
|
34
|
+
* };
|
|
31
35
|
* const command = new GetRuntimeManagementConfigCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -41,6 +41,10 @@ export interface InvokeAsyncCommandOutput extends InvokeAsyncResponse, __Metadat
|
|
|
41
41
|
* import { LambdaClient, InvokeAsyncCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
42
42
|
* // const { LambdaClient, InvokeAsyncCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
43
43
|
* const client = new LambdaClient(config);
|
|
44
|
+
* const input = {
|
|
45
|
+
* FunctionName: "STRING_VALUE", // required
|
|
46
|
+
* InvokeArgs: "STREAMING_BLOB_VALUE", // required
|
|
47
|
+
* };
|
|
44
48
|
* const command = new InvokeAsyncCommand(input);
|
|
45
49
|
* const response = await client.send(command);
|
|
46
50
|
* ```
|
|
@@ -50,6 +50,14 @@ export interface InvokeCommandOutput extends InvocationResponse, __MetadataBeare
|
|
|
50
50
|
* import { LambdaClient, InvokeCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
51
51
|
* // const { LambdaClient, InvokeCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
52
52
|
* const client = new LambdaClient(config);
|
|
53
|
+
* const input = {
|
|
54
|
+
* FunctionName: "STRING_VALUE", // required
|
|
55
|
+
* InvocationType: "Event" || "RequestResponse" || "DryRun",
|
|
56
|
+
* LogType: "None" || "Tail",
|
|
57
|
+
* ClientContext: "STRING_VALUE",
|
|
58
|
+
* Payload: "BLOB_VALUE",
|
|
59
|
+
* Qualifier: "STRING_VALUE",
|
|
60
|
+
* };
|
|
53
61
|
* const command = new InvokeCommand(input);
|
|
54
62
|
* const response = await client.send(command);
|
|
55
63
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface ListAliasesCommandOutput extends ListAliasesResponse, __Metadat
|
|
|
27
27
|
* import { LambdaClient, ListAliasesCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
28
28
|
* // const { LambdaClient, ListAliasesCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
29
29
|
* const client = new LambdaClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* FunctionName: "STRING_VALUE", // required
|
|
32
|
+
* FunctionVersion: "STRING_VALUE",
|
|
33
|
+
* Marker: "STRING_VALUE",
|
|
34
|
+
* MaxItems: Number("int"),
|
|
35
|
+
* };
|
|
30
36
|
* const command = new ListAliasesCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface ListCodeSigningConfigsCommandOutput extends ListCodeSigningConf
|
|
|
28
28
|
* import { LambdaClient, ListCodeSigningConfigsCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
29
29
|
* // const { LambdaClient, ListCodeSigningConfigsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
30
30
|
* const client = new LambdaClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Marker: "STRING_VALUE",
|
|
33
|
+
* MaxItems: Number("int"),
|
|
34
|
+
* };
|
|
31
35
|
* const command = new ListCodeSigningConfigsCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface ListEventSourceMappingsCommandOutput extends ListEventSourceMap
|
|
|
27
27
|
* import { LambdaClient, ListEventSourceMappingsCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
28
28
|
* // const { LambdaClient, ListEventSourceMappingsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
29
29
|
* const client = new LambdaClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* EventSourceArn: "STRING_VALUE",
|
|
32
|
+
* FunctionName: "STRING_VALUE",
|
|
33
|
+
* Marker: "STRING_VALUE",
|
|
34
|
+
* MaxItems: Number("int"),
|
|
35
|
+
* };
|
|
30
36
|
* const command = new ListEventSourceMappingsCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|