@aws-lite/lambda-types 0.1.0 → 0.1.2
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/index.d.ts +280 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -5,11 +5,19 @@ import {
|
|
|
5
5
|
AddPermissionCommandOutput as AddPermissionResponse,
|
|
6
6
|
CreateAliasCommandOutput as CreateAliasResponse,
|
|
7
7
|
CreateCodeSigningConfigCommandOutput as CreateCodeSigningConfigResponse,
|
|
8
|
+
CreateEventSourceMappingCommandOutput as CreateEventSourceMappingResponse,
|
|
8
9
|
CreateFunctionCommandOutput as CreateFunctionResponse,
|
|
10
|
+
CreateFunctionUrlConfigCommandOutput as CreateFunctionUrlConfigResponse,
|
|
9
11
|
DeleteAliasCommandOutput as DeleteAliasResponse,
|
|
10
12
|
DeleteCodeSigningConfigCommandOutput as DeleteCodeSigningConfigResponse,
|
|
11
13
|
DeleteEventSourceMappingCommandOutput as DeleteEventSourceMappingResponse,
|
|
14
|
+
DeleteFunctionCommandOutput as DeleteFunctionResponse,
|
|
15
|
+
DeleteFunctionCodeSigningConfigCommandOutput as DeleteFunctionCodeSigningConfigResponse,
|
|
12
16
|
DeleteFunctionConcurrencyCommandOutput as DeleteFunctionConcurrencyResponse,
|
|
17
|
+
DeleteFunctionEventInvokeConfigCommandOutput as DeleteFunctionEventInvokeConfigResponse,
|
|
18
|
+
DeleteFunctionUrlConfigCommandOutput as DeleteFunctionUrlConfigResponse,
|
|
19
|
+
DeleteLayerVersionCommandOutput as DeleteLayerVersionResponse,
|
|
20
|
+
DeleteProvisionedConcurrencyConfigCommandOutput as DeleteProvisionedConcurrencyConfigResponse,
|
|
13
21
|
GetAccountSettingsCommandOutput as GetAccountSettingsResponse,
|
|
14
22
|
GetAliasCommandOutput as GetAliasResponse,
|
|
15
23
|
GetCodeSigningConfigCommandOutput as GetCodeSigningConfigResponse,
|
|
@@ -27,10 +35,37 @@ import {
|
|
|
27
35
|
GetProvisionedConcurrencyConfigCommandOutput as GetProvisionedConcurrencyConfigResponse,
|
|
28
36
|
GetRuntimeManagementConfigCommandOutput as GetRuntimeManagementConfigResponse,
|
|
29
37
|
InvokeCommandOutput as InvokeResponse,
|
|
38
|
+
InvokeAsyncCommandOutput as InvokeAsyncResponse,
|
|
39
|
+
ListAliasesCommandOutput as ListAliasesResponse,
|
|
40
|
+
ListCodeSigningConfigsCommandOutput as ListCodeSigningConfigsResponse,
|
|
41
|
+
ListEventSourceMappingsCommandOutput as ListEventSourceMappingsResponse,
|
|
42
|
+
ListFunctionEventInvokeConfigsCommandOutput as ListFunctionEventInvokeConfigsResponse,
|
|
43
|
+
ListFunctionsCommandOutput as ListFunctionsResponse,
|
|
44
|
+
ListFunctionsByCodeSigningConfigCommandOutput as ListFunctionsByCodeSigningConfigResponse,
|
|
45
|
+
ListFunctionUrlConfigsCommandOutput as ListFunctionUrlConfigsResponse,
|
|
46
|
+
ListLayersCommandOutput as ListLayersResponse,
|
|
47
|
+
ListLayerVersionsCommandOutput as ListLayerVersionsResponse,
|
|
48
|
+
ListProvisionedConcurrencyConfigsCommandOutput as ListProvisionedConcurrencyConfigsResponse,
|
|
49
|
+
ListTagsCommandOutput as ListTagsResponse,
|
|
50
|
+
ListVersionsByFunctionCommandOutput as ListVersionsByFunctionResponse,
|
|
51
|
+
PublishLayerVersionCommandOutput as PublishLayerVersionResponse,
|
|
52
|
+
PublishVersionCommandOutput as PublishVersionResponse,
|
|
53
|
+
PutFunctionCodeSigningConfigCommandOutput as PutFunctionCodeSigningConfigResponse,
|
|
30
54
|
PutFunctionConcurrencyCommandOutput as PutFunctionConcurrencyResponse,
|
|
55
|
+
PutFunctionEventInvokeConfigCommandOutput as PutFunctionEventInvokeConfigResponse,
|
|
56
|
+
PutProvisionedConcurrencyConfigCommandOutput as PutProvisionedConcurrencyConfigResponse,
|
|
57
|
+
PutRuntimeManagementConfigCommandOutput as PutRuntimeManagementConfigResponse,
|
|
58
|
+
RemoveLayerVersionPermissionCommandOutput as RemoveLayerVersionPermissionResponse,
|
|
59
|
+
RemovePermissionCommandOutput as RemovePermissionResponse,
|
|
60
|
+
TagResourceCommandOutput as TagResourceResponse,
|
|
61
|
+
UntagResourceCommandOutput as UntagResourceResponse,
|
|
31
62
|
UpdateAliasCommandOutput as UpdateAliasResponse,
|
|
63
|
+
UpdateCodeSigningConfigCommandOutput as UpdateCodeSigningConfigResponse,
|
|
64
|
+
UpdateEventSourceMappingCommandOutput as UpdateEventSourceMappingResponse,
|
|
32
65
|
UpdateFunctionCodeCommandOutput as UpdateFunctionCodeResponse,
|
|
33
66
|
UpdateFunctionConfigurationCommandOutput as UpdateFunctionConfigurationResponse,
|
|
67
|
+
UpdateFunctionEventInvokeConfigCommandOutput as UpdateFunctionEventInvokeConfigResponse,
|
|
68
|
+
UpdateFunctionUrlConfigCommandOutput as UpdateFunctionUrlConfigResponse,
|
|
34
69
|
// $IMPORTS_END
|
|
35
70
|
} from "@aws-sdk/client-lambda";
|
|
36
71
|
|
|
@@ -61,12 +96,24 @@ declare interface AwsLiteLambda {
|
|
|
61
96
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#CreateCodeSigningConfig Lambda: CreateCodeSigningConfig}
|
|
62
97
|
*/
|
|
63
98
|
CreateCodeSigningConfig: (input: { AllowedPublishers: Record<string, any>, CodeSigningPolicies?: Record<string, any>, Description?: string }) => Promise<CreateCodeSigningConfigResponse>
|
|
99
|
+
/**
|
|
100
|
+
* @description
|
|
101
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_CreateEventSourceMapping.html Lambda: CreateEventSourceMapping}
|
|
102
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#CreateEventSourceMapping Lambda: CreateEventSourceMapping}
|
|
103
|
+
*/
|
|
104
|
+
CreateEventSourceMapping: (input: { FunctionName: string, AmazonManagedKafkaEventSourceConfig?: Record<string, any>, BatchSize?: number, BisectBatchOnFunctionError?: boolean, DestinationConfig?: Record<string, any>, DocumentDBEventSourceConfig?: Record<string, any>, Enabled?: boolean, EventSourceArn?: string, FilterCriteria?: Record<string, any>, FunctionResponseTypes?: any[], MaximumBatchingWindowInSeconds?: number, MaximumRecordAgeInSeconds?: number, MaximumRetryAttempts?: number, ParallelizationFactor?: number, Queues?: any[], ScalingConfig?: Record<string, any>, SelfManagedEventSource?: Record<string, any>, SelfManagedKafkaEventSourceConfig?: Record<string, any>, SourceAccessConfigurations?: any[], StartingPosition?: string, StartingPositionTimestamp?: Record<string, any>, Topics?: any[], TumblingWindowInSeconds?: number }) => Promise<CreateEventSourceMappingResponse>
|
|
64
105
|
/**
|
|
65
106
|
* @description
|
|
66
107
|
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html Lambda: CreateFunction}
|
|
67
108
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#CreateFunction Lambda: CreateFunction}
|
|
68
109
|
*/
|
|
69
110
|
CreateFunction: (input: { Code: Record<string, any>, FunctionName: string, Role: string, Architectures?: any[], CodeSigningConfigArn?: string, DeadLetterConfig?: Record<string, any>, Description?: string, Environment?: Record<string, any>, EphemeralStorage?: Record<string, any>, FileSystemConfigs?: any[], Handler?: string, ImageConfig?: Record<string, any>, KMSKeyArn?: string, Layers?: any[], MemorySize?: number, PackageType?: string, Publish?: boolean, Runtime?: string, SnapStart?: Record<string, any>, Tags?: any[], Timeout?: number, TracingConfig?: Record<string, any>, VpcConfig?: Record<string, any> }) => Promise<CreateFunctionResponse>
|
|
111
|
+
/**
|
|
112
|
+
* @description
|
|
113
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunctionUrlConfig.html Lambda: CreateFunctionUrlConfig}
|
|
114
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#CreateFunctionUrlConfig Lambda: CreateFunctionUrlConfig}
|
|
115
|
+
*/
|
|
116
|
+
CreateFunctionUrlConfig: (input: { AuthType: string, FunctionName: string, Cors?: Record<string, any>, InvokeMode?: string, Qualifier?: string }) => Promise<CreateFunctionUrlConfigResponse>
|
|
70
117
|
/**
|
|
71
118
|
* @description
|
|
72
119
|
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_DeleteAlias.html Lambda: DeleteAlias}
|
|
@@ -85,12 +132,48 @@ declare interface AwsLiteLambda {
|
|
|
85
132
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#DeleteEventSourceMapping Lambda: DeleteEventSourceMapping}
|
|
86
133
|
*/
|
|
87
134
|
DeleteEventSourceMapping: (input: { UUID: string }) => Promise<DeleteEventSourceMappingResponse>
|
|
135
|
+
/**
|
|
136
|
+
* @description
|
|
137
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_DeleteFunction.html Lambda: DeleteFunction}
|
|
138
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#DeleteFunction Lambda: DeleteFunction}
|
|
139
|
+
*/
|
|
140
|
+
DeleteFunction: (input: { FunctionName: string, Qualifier?: string }) => Promise<DeleteFunctionResponse>
|
|
141
|
+
/**
|
|
142
|
+
* @description
|
|
143
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_DeleteFunctionCodeSigningConfig.html Lambda: DeleteFunctionCodeSigningConfig}
|
|
144
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#DeleteFunctionCodeSigningConfig Lambda: DeleteFunctionCodeSigningConfig}
|
|
145
|
+
*/
|
|
146
|
+
DeleteFunctionCodeSigningConfig: (input: { FunctionName: string }) => Promise<DeleteFunctionCodeSigningConfigResponse>
|
|
88
147
|
/**
|
|
89
148
|
* @description
|
|
90
149
|
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_DeleteFunctionConcurrency.html Lambda: DeleteFunctionConcurrency}
|
|
91
150
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#DeleteFunctionConcurrency Lambda: DeleteFunctionConcurrency}
|
|
92
151
|
*/
|
|
93
152
|
DeleteFunctionConcurrency: (input: { FunctionName: string }) => Promise<DeleteFunctionConcurrencyResponse>
|
|
153
|
+
/**
|
|
154
|
+
* @description
|
|
155
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_DeleteFunctionEventInvokeConfig.html Lambda: DeleteFunctionEventInvokeConfig}
|
|
156
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#DeleteFunctionEventInvokeConfig Lambda: DeleteFunctionEventInvokeConfig}
|
|
157
|
+
*/
|
|
158
|
+
DeleteFunctionEventInvokeConfig: (input: { FunctionName: string, Qualifier?: string }) => Promise<DeleteFunctionEventInvokeConfigResponse>
|
|
159
|
+
/**
|
|
160
|
+
* @description
|
|
161
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_DeleteFunctionUrlConfig.html Lambda: DeleteFunctionUrlConfig}
|
|
162
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#DeleteFunctionUrlConfig Lambda: DeleteFunctionUrlConfig}
|
|
163
|
+
*/
|
|
164
|
+
DeleteFunctionUrlConfig: (input: { FunctionName: string, Qualifier?: string }) => Promise<DeleteFunctionUrlConfigResponse>
|
|
165
|
+
/**
|
|
166
|
+
* @description
|
|
167
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_DeleteLayerVersion.html Lambda: DeleteLayerVersion}
|
|
168
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#DeleteLayerVersion Lambda: DeleteLayerVersion}
|
|
169
|
+
*/
|
|
170
|
+
DeleteLayerVersion: (input: { LayerName: string, VersionNumber: number }) => Promise<DeleteLayerVersionResponse>
|
|
171
|
+
/**
|
|
172
|
+
* @description
|
|
173
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_DeleteProvisionedConcurrencyConfig.html Lambda: DeleteProvisionedConcurrencyConfig}
|
|
174
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#DeleteProvisionedConcurrencyConfig Lambda: DeleteProvisionedConcurrencyConfig}
|
|
175
|
+
*/
|
|
176
|
+
DeleteProvisionedConcurrencyConfig: (input: { FunctionName: string, Qualifier: string }) => Promise<DeleteProvisionedConcurrencyConfigResponse>
|
|
94
177
|
/** @description aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#GetAccountSettings Lambda: GetAccountSettings} */
|
|
95
178
|
GetAccountSettings: () => Promise<GetAccountSettingsResponse>
|
|
96
179
|
/**
|
|
@@ -189,18 +272,168 @@ declare interface AwsLiteLambda {
|
|
|
189
272
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#Invoke Lambda: Invoke}
|
|
190
273
|
*/
|
|
191
274
|
Invoke: (input: { FunctionName: string, InvocationType?: string, Payload: any[] | Record<string, any>, LogType?: string, ClientContext?: string, Qualifier?: string }) => Promise<InvokeResponse>
|
|
275
|
+
/**
|
|
276
|
+
* @description
|
|
277
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_InvokeAsync.html Lambda: InvokeAsync}
|
|
278
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#InvokeAsync Lambda: InvokeAsync}
|
|
279
|
+
*/
|
|
280
|
+
InvokeAsync: (input: { FunctionName: string, InvokeArgs: Record<string, any> }) => Promise<InvokeAsyncResponse>
|
|
281
|
+
/**
|
|
282
|
+
* @description
|
|
283
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_ListAliases.html Lambda: ListAliases}
|
|
284
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#ListAliases Lambda: ListAliases}
|
|
285
|
+
*/
|
|
286
|
+
ListAliases: (input: { FunctionName: string, FunctionVersion?: string, Marker?: string, MaxItems?: number, paginate?: boolean }) => Promise<ListAliasesResponse>
|
|
287
|
+
/**
|
|
288
|
+
* @description
|
|
289
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_ListCodeSigningConfigs.html Lambda: ListCodeSigningConfigs}
|
|
290
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#ListCodeSigningConfigs Lambda: ListCodeSigningConfigs}
|
|
291
|
+
*/
|
|
292
|
+
ListCodeSigningConfigs: (input: { Marker?: string, MaxItems?: number, paginate?: boolean }) => Promise<ListCodeSigningConfigsResponse>
|
|
293
|
+
/**
|
|
294
|
+
* @description
|
|
295
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_ListEventSourceMappings.html Lambda: ListEventSourceMappings}
|
|
296
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#ListEventSourceMappings Lambda: ListEventSourceMappings}
|
|
297
|
+
*/
|
|
298
|
+
ListEventSourceMappings: (input: { EventSourceArn?: string, FunctionName?: string, Marker?: string, MaxItems?: number, paginate?: boolean }) => Promise<ListEventSourceMappingsResponse>
|
|
299
|
+
/**
|
|
300
|
+
* @description
|
|
301
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_ListFunctionEventInvokeConfigs.html Lambda: ListFunctionEventInvokeConfigs}
|
|
302
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#ListFunctionEventInvokeConfigs Lambda: ListFunctionEventInvokeConfigs}
|
|
303
|
+
*/
|
|
304
|
+
ListFunctionEventInvokeConfigs: (input: { FunctionName: string, Marker?: string, MaxItems?: number, paginate?: boolean }) => Promise<ListFunctionEventInvokeConfigsResponse>
|
|
305
|
+
/**
|
|
306
|
+
* @description
|
|
307
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_ListFunctions.html Lambda: ListFunctions}
|
|
308
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#ListFunctions Lambda: ListFunctions}
|
|
309
|
+
*/
|
|
310
|
+
ListFunctions: (input: { FunctionVersion?: string, Marker?: string, MasterRegion?: string, MaxItems?: number, paginate?: boolean }) => Promise<ListFunctionsResponse>
|
|
311
|
+
/**
|
|
312
|
+
* @description
|
|
313
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_ListFunctionsByCodeSigningConfig.html Lambda: ListFunctionsByCodeSigningConfig}
|
|
314
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#ListFunctionsByCodeSigningConfig Lambda: ListFunctionsByCodeSigningConfig}
|
|
315
|
+
*/
|
|
316
|
+
ListFunctionsByCodeSigningConfig: (input: { CodeSigningConfigArn: string, Marker?: string, MaxItems?: number, paginate?: boolean }) => Promise<ListFunctionsByCodeSigningConfigResponse>
|
|
317
|
+
/**
|
|
318
|
+
* @description
|
|
319
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_ListFunctionUrlConfigs.html Lambda: ListFunctionUrlConfigs}
|
|
320
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#ListFunctionUrlConfigs Lambda: ListFunctionUrlConfigs}
|
|
321
|
+
*/
|
|
322
|
+
ListFunctionUrlConfigs: (input: { FunctionName: string, Marker?: string, MaxItems?: number, paginate?: boolean }) => Promise<ListFunctionUrlConfigsResponse>
|
|
323
|
+
/**
|
|
324
|
+
* @description
|
|
325
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_ListLayers.html Lambda: ListLayers}
|
|
326
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#ListLayers Lambda: ListLayers}
|
|
327
|
+
*/
|
|
328
|
+
ListLayers: (input: { CompatibleArchitecture?: string, CompatibleRuntime?: string, Marker?: string, MaxItems?: number, paginate?: boolean }) => Promise<ListLayersResponse>
|
|
329
|
+
/**
|
|
330
|
+
* @description
|
|
331
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_ListLayerVersions.html Lambda: ListLayerVersions}
|
|
332
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#ListLayerVersions Lambda: ListLayerVersions}
|
|
333
|
+
*/
|
|
334
|
+
ListLayerVersions: (input: { LayerName: string, CompatibleArchitecture?: string, CompatibleRuntime?: string, Marker?: string, MaxItems?: number, paginate?: boolean }) => Promise<ListLayerVersionsResponse>
|
|
335
|
+
/**
|
|
336
|
+
* @description
|
|
337
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_ListProvisionedConcurrencyConfigs.html Lambda: ListProvisionedConcurrencyConfigs}
|
|
338
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#ListProvisionedConcurrencyConfigs Lambda: ListProvisionedConcurrencyConfigs}
|
|
339
|
+
*/
|
|
340
|
+
ListProvisionedConcurrencyConfigs: (input: { FunctionName: string, Marker?: string, MaxItems?: number, paginate?: boolean }) => Promise<ListProvisionedConcurrencyConfigsResponse>
|
|
341
|
+
/**
|
|
342
|
+
* @description
|
|
343
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_ListTags.html Lambda: ListTags}
|
|
344
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#ListTags Lambda: ListTags}
|
|
345
|
+
*/
|
|
346
|
+
ListTags: (input: { Resource: string }) => Promise<ListTagsResponse>
|
|
347
|
+
/**
|
|
348
|
+
* @description
|
|
349
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_ListVersionsByFunction.html Lambda: ListVersionsByFunction}
|
|
350
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#ListVersionsByFunction Lambda: ListVersionsByFunction}
|
|
351
|
+
*/
|
|
352
|
+
ListVersionsByFunction: (input: { FunctionName: string, Marker?: string, MaxItems?: number, paginate?: boolean }) => Promise<ListVersionsByFunctionResponse>
|
|
353
|
+
/**
|
|
354
|
+
* @description
|
|
355
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_PublishLayerVersion.html Lambda: PublishLayerVersion}
|
|
356
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#PublishLayerVersion Lambda: PublishLayerVersion}
|
|
357
|
+
*/
|
|
358
|
+
PublishLayerVersion: (input: { Content: Record<string, any>, CompatibleArchitectures?: any[], CompatibleRuntimes?: any[], Description?: string, LiscenceInfo?: string }) => Promise<PublishLayerVersionResponse>
|
|
359
|
+
/**
|
|
360
|
+
* @description
|
|
361
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_PublishVersion.html Lambda: PublishVersion}
|
|
362
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#PublishVersion Lambda: PublishVersion}
|
|
363
|
+
*/
|
|
364
|
+
PublishVersion: (input: { FunctionName: string, CodeSha256?: string, Description?: string, RevisionId?: string }) => Promise<PublishVersionResponse>
|
|
365
|
+
/**
|
|
366
|
+
* @description
|
|
367
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_PutFunctionCodeSigningConfig.html Lambda: PutFunctionCodeSigningConfig}
|
|
368
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#PutFunctionCodeSigningConfig Lambda: PutFunctionCodeSigningConfig}
|
|
369
|
+
*/
|
|
370
|
+
PutFunctionCodeSigningConfig: (input: { FunctionName: string, CodeSigningConfigArn: string }) => Promise<PutFunctionCodeSigningConfigResponse>
|
|
192
371
|
/**
|
|
193
372
|
* @description
|
|
194
373
|
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_PutFunctionConcurrency.html Lambda: PutFunctionConcurrency}
|
|
195
374
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#PutFunctionConcurrency Lambda: PutFunctionConcurrency}
|
|
196
375
|
*/
|
|
197
376
|
PutFunctionConcurrency: (input: { FunctionName: string, ReservedConcurrentExecutions: number }) => Promise<PutFunctionConcurrencyResponse>
|
|
377
|
+
/**
|
|
378
|
+
* @description
|
|
379
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_PutFunctionEventInvokeConfig.html Lambda: PutFunctionEventInvokeConfig}
|
|
380
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#PutFunctionEventInvokeConfig Lambda: PutFunctionEventInvokeConfig}
|
|
381
|
+
*/
|
|
382
|
+
PutFunctionEventInvokeConfig: (input: { FunctionName: string, DestinationConfig?: Record<string, any>, MaximumEventAgeInSeconds?: number, MaximumRetryAttempts?: number, Qualifier?: string }) => Promise<PutFunctionEventInvokeConfigResponse>
|
|
383
|
+
/**
|
|
384
|
+
* @description
|
|
385
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_PutProvisionedConcurrencyConfig.html Lambda: PutProvisionedConcurrencyConfig}
|
|
386
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#PutProvisionedConcurrencyConfig Lambda: PutProvisionedConcurrencyConfig}
|
|
387
|
+
*/
|
|
388
|
+
PutProvisionedConcurrencyConfig: (input: { FunctionName: string, ProvisionedConcurrentExecutions: number, Qualifier: string }) => Promise<PutProvisionedConcurrencyConfigResponse>
|
|
389
|
+
/**
|
|
390
|
+
* @description
|
|
391
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_PutRuntimeManagementConfig.html Lambda: PutRuntimeManagementConfig}
|
|
392
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#PutRuntimeManagementConfig Lambda: PutRuntimeManagementConfig}
|
|
393
|
+
*/
|
|
394
|
+
PutRuntimeManagementConfig: (input: { FunctionName: string, UpdateRuntimeOn: string, Qualifier?: string, RuntimeVersionArn?: string }) => Promise<PutRuntimeManagementConfigResponse>
|
|
395
|
+
/**
|
|
396
|
+
* @description
|
|
397
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_RemoveLayerVersionPermission.html Lambda: RemoveLayerVersionPermission}
|
|
398
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#RemoveLayerVersionPermission Lambda: RemoveLayerVersionPermission}
|
|
399
|
+
*/
|
|
400
|
+
RemoveLayerVersionPermission: (input: { LayerName: string, StatementId: string, VersionNumber: number, RevisionId?: string }) => Promise<RemoveLayerVersionPermissionResponse>
|
|
401
|
+
/**
|
|
402
|
+
* @description
|
|
403
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_RemovePermission.html Lambda: RemovePermission}
|
|
404
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#RemovePermission Lambda: RemovePermission}
|
|
405
|
+
*/
|
|
406
|
+
RemovePermission: (input: { FunctionName: string, StatementId: string, RevisionId?: string, Qualifier?: string }) => Promise<RemovePermissionResponse>
|
|
407
|
+
/**
|
|
408
|
+
* @description
|
|
409
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_TagResource.html Lambda: TagResource}
|
|
410
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#TagResource Lambda: TagResource}
|
|
411
|
+
*/
|
|
412
|
+
TagResource: (input: { Resource: string, Tags: Record<string, any> }) => Promise<TagResourceResponse>
|
|
413
|
+
/**
|
|
414
|
+
* @description
|
|
415
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_UntagResource.html Lambda: UntagResource}
|
|
416
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#UntagResource Lambda: UntagResource}
|
|
417
|
+
*/
|
|
418
|
+
UntagResource: (input: { Resource: string, TagKeys: any[] }) => Promise<UntagResourceResponse>
|
|
198
419
|
/**
|
|
199
420
|
* @description
|
|
200
421
|
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_UpdateAlias.html Lambda: UpdateAlias}
|
|
201
422
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#UpdateAlias Lambda: UpdateAlias}
|
|
202
423
|
*/
|
|
203
424
|
UpdateAlias: (input: { FunctionName: string, Name: string, Description?: string, FunctionVersion?: string, RevisionId?: string, RoutingConfig?: Record<string, any> }) => Promise<UpdateAliasResponse>
|
|
425
|
+
/**
|
|
426
|
+
* @description
|
|
427
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_UpdateCodeSigningConfig.html Lambda: UpdateCodeSigningConfig}
|
|
428
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#UpdateCodeSigningConfig Lambda: UpdateCodeSigningConfig}
|
|
429
|
+
*/
|
|
430
|
+
UpdateCodeSigningConfig: (input: { CodeSigningConfigArn: string, AllowedPublishers?: Record<string, any>, CodeSigningPolicies?: Record<string, any>, Description?: string }) => Promise<UpdateCodeSigningConfigResponse>
|
|
431
|
+
/**
|
|
432
|
+
* @description
|
|
433
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_UpdateEventSourceMapping.html Lambda: UpdateEventSourceMapping}
|
|
434
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#UpdateEventSourceMapping Lambda: UpdateEventSourceMapping}
|
|
435
|
+
*/
|
|
436
|
+
UpdateEventSourceMapping: (input: { UUID: string, AmazonManagedKafkaEventSourceConfig?: Record<string, any>, BatchSize?: number, BisectBatchOnFunctionError?: boolean, DestinationConfig?: Record<string, any>, DocumentDBEventSourceConfig?: Record<string, any>, Enabled?: boolean, FilterCriteria?: Record<string, any>, FunctionName?: string, FunctionResponseTypes?: any[], MaximumBatchingWindowInSeconds?: number, MaximumRecordAgeInSeconds?: number, MaximumRetryAttempts?: number, ParallelizationFactor?: number, Queues?: any[], ScalingConfig?: Record<string, any>, SourceAccessConfigurations?: any[], TumblingWindowInSeconds?: number }) => Promise<UpdateEventSourceMappingResponse>
|
|
204
437
|
/**
|
|
205
438
|
* @description
|
|
206
439
|
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_UpdateFunctionCode.html Lambda: UpdateFunctionCode}
|
|
@@ -213,6 +446,18 @@ declare interface AwsLiteLambda {
|
|
|
213
446
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#UpdateFunctionConfiguration Lambda: UpdateFunctionConfiguration}
|
|
214
447
|
*/
|
|
215
448
|
UpdateFunctionConfiguration: (input: { FunctionName: string, DeadLetterConfig?: Record<string, any>, Description?: string, Environment?: Record<string, any>, EphemeralStorage?: Record<string, any>, FileSystemConfigs?: any[], Handler?: string, ImageConfig?: Record<string, any>, KMSKeyArn?: string, Layers?: any[], MemorySize?: number, RevisionId?: string, Role?: string, Runtime?: string, SnapStart?: Record<string, any>, Timeout?: number, TracingConfig?: Record<string, any>, VpcConfig?: Record<string, any> }) => Promise<UpdateFunctionConfigurationResponse>
|
|
449
|
+
/**
|
|
450
|
+
* @description
|
|
451
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_UpdateFunctionEventInvokeConfig.html Lambda: UpdateFunctionEventInvokeConfig}
|
|
452
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#UpdateFunctionEventInvokeConfig Lambda: UpdateFunctionEventInvokeConfig}
|
|
453
|
+
*/
|
|
454
|
+
UpdateFunctionEventInvokeConfig: (input: { FunctionName: string, DestinationConfig?: Record<string, any>, MaximumEventAgeInSeconds?: number, MaximumRetryAttempts?: number }) => Promise<UpdateFunctionEventInvokeConfigResponse>
|
|
455
|
+
/**
|
|
456
|
+
* @description
|
|
457
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_UpdateFunctionUrlConfig.html Lambda: UpdateFunctionUrlConfig}
|
|
458
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#UpdateFunctionUrlConfig Lambda: UpdateFunctionUrlConfig}
|
|
459
|
+
*/
|
|
460
|
+
UpdateFunctionUrlConfig: (input: { FunctionName: string, AuthType?: string, Cors?: Record<string, any>, InvokeMode?: string, Qualifier?: string }) => Promise<UpdateFunctionUrlConfigResponse>
|
|
216
461
|
// $METHODS_END
|
|
217
462
|
}
|
|
218
463
|
|
|
@@ -230,11 +475,19 @@ export type {
|
|
|
230
475
|
AddPermissionResponse,
|
|
231
476
|
CreateAliasResponse,
|
|
232
477
|
CreateCodeSigningConfigResponse,
|
|
478
|
+
CreateEventSourceMappingResponse,
|
|
233
479
|
CreateFunctionResponse,
|
|
480
|
+
CreateFunctionUrlConfigResponse,
|
|
234
481
|
DeleteAliasResponse,
|
|
235
482
|
DeleteCodeSigningConfigResponse,
|
|
236
483
|
DeleteEventSourceMappingResponse,
|
|
484
|
+
DeleteFunctionResponse,
|
|
485
|
+
DeleteFunctionCodeSigningConfigResponse,
|
|
237
486
|
DeleteFunctionConcurrencyResponse,
|
|
487
|
+
DeleteFunctionEventInvokeConfigResponse,
|
|
488
|
+
DeleteFunctionUrlConfigResponse,
|
|
489
|
+
DeleteLayerVersionResponse,
|
|
490
|
+
DeleteProvisionedConcurrencyConfigResponse,
|
|
238
491
|
GetAccountSettingsResponse,
|
|
239
492
|
GetAliasResponse,
|
|
240
493
|
GetCodeSigningConfigResponse,
|
|
@@ -252,9 +505,36 @@ export type {
|
|
|
252
505
|
GetProvisionedConcurrencyConfigResponse,
|
|
253
506
|
GetRuntimeManagementConfigResponse,
|
|
254
507
|
InvokeResponse,
|
|
508
|
+
InvokeAsyncResponse,
|
|
509
|
+
ListAliasesResponse,
|
|
510
|
+
ListCodeSigningConfigsResponse,
|
|
511
|
+
ListEventSourceMappingsResponse,
|
|
512
|
+
ListFunctionEventInvokeConfigsResponse,
|
|
513
|
+
ListFunctionsResponse,
|
|
514
|
+
ListFunctionsByCodeSigningConfigResponse,
|
|
515
|
+
ListFunctionUrlConfigsResponse,
|
|
516
|
+
ListLayersResponse,
|
|
517
|
+
ListLayerVersionsResponse,
|
|
518
|
+
ListProvisionedConcurrencyConfigsResponse,
|
|
519
|
+
ListTagsResponse,
|
|
520
|
+
ListVersionsByFunctionResponse,
|
|
521
|
+
PublishLayerVersionResponse,
|
|
522
|
+
PublishVersionResponse,
|
|
523
|
+
PutFunctionCodeSigningConfigResponse,
|
|
255
524
|
PutFunctionConcurrencyResponse,
|
|
525
|
+
PutFunctionEventInvokeConfigResponse,
|
|
526
|
+
PutProvisionedConcurrencyConfigResponse,
|
|
527
|
+
PutRuntimeManagementConfigResponse,
|
|
528
|
+
RemoveLayerVersionPermissionResponse,
|
|
529
|
+
RemovePermissionResponse,
|
|
530
|
+
TagResourceResponse,
|
|
531
|
+
UntagResourceResponse,
|
|
256
532
|
UpdateAliasResponse,
|
|
533
|
+
UpdateCodeSigningConfigResponse,
|
|
534
|
+
UpdateEventSourceMappingResponse,
|
|
257
535
|
UpdateFunctionCodeResponse,
|
|
258
536
|
UpdateFunctionConfigurationResponse,
|
|
537
|
+
UpdateFunctionEventInvokeConfigResponse,
|
|
538
|
+
UpdateFunctionUrlConfigResponse,
|
|
259
539
|
// $EXPORT_END
|
|
260
540
|
}
|