@aws-lite/lambda-types 0.0.8 → 0.1.1

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 (2) hide show
  1. package/index.d.ts +292 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,11 +1,48 @@
1
1
  import {
2
2
  /* ! Do not remove IMPORTS_START / IMPORTS_END ! */
3
3
  // $IMPORTS_START
4
+ AddLayerVersionPermissionCommandOutput as AddLayerVersionPermissionResponse,
5
+ AddPermissionCommandOutput as AddPermissionResponse,
6
+ CreateAliasCommandOutput as CreateAliasResponse,
7
+ CreateCodeSigningConfigCommandOutput as CreateCodeSigningConfigResponse,
8
+ CreateEventSourceMappingCommandOutput as CreateEventSourceMappingResponse,
4
9
  CreateFunctionCommandOutput as CreateFunctionResponse,
10
+ CreateFunctionUrlConfigCommandOutput as CreateFunctionUrlConfigResponse,
11
+ DeleteAliasCommandOutput as DeleteAliasResponse,
12
+ DeleteCodeSigningConfigCommandOutput as DeleteCodeSigningConfigResponse,
13
+ DeleteEventSourceMappingCommandOutput as DeleteEventSourceMappingResponse,
14
+ DeleteFunctionCommandOutput as DeleteFunctionResponse,
15
+ DeleteFunctionCodeSigningConfigCommandOutput as DeleteFunctionCodeSigningConfigResponse,
5
16
  DeleteFunctionConcurrencyCommandOutput as DeleteFunctionConcurrencyResponse,
17
+ DeleteFunctionEventInvokeConfigCommandOutput as DeleteFunctionEventInvokeConfigResponse,
18
+ DeleteFunctionUrlConfigCommandOutput as DeleteFunctionUrlConfigResponse,
19
+ DeleteLayerVersionCommandOutput as DeleteLayerVersionResponse,
20
+ DeleteProvisionedConcurrencyConfigCommandOutput as DeleteProvisionedConcurrencyConfigResponse,
21
+ GetAccountSettingsCommandOutput as GetAccountSettingsResponse,
22
+ GetAliasCommandOutput as GetAliasResponse,
23
+ GetCodeSigningConfigCommandOutput as GetCodeSigningConfigResponse,
24
+ GetEventSourceMappingCommandOutput as GetEventSourceMappingResponse,
25
+ GetFunctionCommandOutput as GetFunctionResponse,
26
+ GetFunctionCodeSigningConfigCommandOutput as GetFunctionCodeSigningConfigResponse,
27
+ GetFunctionConcurrencyCommandOutput as GetFunctionConcurrencyResponse,
6
28
  GetFunctionConfigurationCommandOutput as GetFunctionConfigurationResponse,
29
+ GetFunctionEventInvokeConfigCommandOutput as GetFunctionEventInvokeConfigResponse,
30
+ GetFunctionUrlConfigCommandOutput as GetFunctionUrlConfigResponse,
31
+ GetLayerVersionCommandOutput as GetLayerVersionResponse,
32
+ GetLayerVersionByArnCommandOutput as GetLayerVersionByArnResponse,
33
+ GetLayerVersionPolicyCommandOutput as GetLayerVersionPolicyResponse,
34
+ GetPolicyCommandOutput as GetPolicyResponse,
35
+ GetProvisionedConcurrencyConfigCommandOutput as GetProvisionedConcurrencyConfigResponse,
36
+ GetRuntimeManagementConfigCommandOutput as GetRuntimeManagementConfigResponse,
7
37
  InvokeCommandOutput as InvokeResponse,
38
+ ListAliasesCommandOutput as ListAliasesResponse,
39
+ ListCodeSigningConfigsCommandOutput as ListCodeSigningConfigsResponse,
40
+ ListFunctionsCommandOutput as ListFunctionsResponse,
41
+ ListFunctionUrlConfigsCommandOutput as ListFunctionUrlConfigsResponse,
42
+ ListLayersCommandOutput as ListLayersResponse,
43
+ ListLayerVersionsCommandOutput as ListLayerVersionsResponse,
8
44
  PutFunctionConcurrencyCommandOutput as PutFunctionConcurrencyResponse,
45
+ UpdateAliasCommandOutput as UpdateAliasResponse,
9
46
  UpdateFunctionCodeCommandOutput as UpdateFunctionCodeResponse,
10
47
  UpdateFunctionConfigurationCommandOutput as UpdateFunctionConfigurationResponse,
11
48
  // $IMPORTS_END
@@ -14,36 +51,254 @@ import {
14
51
  declare interface AwsLiteLambda {
15
52
  /* ! Do not remove METHODS_START / METHODS_END ! */
16
53
  // $METHODS_START
54
+ /**
55
+ * @description
56
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_AddLayerVersionPermission.html Lambda: AddLayerVersionPermission}
57
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#AddLayerVersionPermission Lambda: AddLayerVersionPermission}
58
+ */
59
+ AddLayerVersionPermission: (input: { LayerName: string, RevisionId?: string, VersionNumber: number, Action: string, OrganizationId?: string, Principal?: string, StatementId: string }) => Promise<AddLayerVersionPermissionResponse>
60
+ /**
61
+ * @description
62
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_AddPermission.html Lambda: AddPermission}
63
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#AddPermission Lambda: AddPermission}
64
+ */
65
+ AddPermission: (input: { FunctionName: string, Qualifier?: string, Action: string, EventSourceToken?: string, FunctionUrlAuthType?: string, Principal: string, PrincipalOrgID?: string, RevisionId?: string, SourceAccount?: string, SourceArn?: string, StatementId: string }) => Promise<AddPermissionResponse>
66
+ /**
67
+ * @description
68
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_CreateAlias.html Lambda: CreateAlias}
69
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#CreateAlias Lambda: CreateAlias}
70
+ */
71
+ CreateAlias: (input: { FunctionName: string, Description?: string, FunctionVersion: string, Name: string, RoutingConfig?: Record<string, any> }) => Promise<CreateAliasResponse>
72
+ /**
73
+ * @description
74
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_CreateCodeSigningConfig.html Lambda: CreateCodeSigningConfig}
75
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#CreateCodeSigningConfig Lambda: CreateCodeSigningConfig}
76
+ */
77
+ CreateCodeSigningConfig: (input: { AllowedPublishers: Record<string, any>, CodeSigningPolicies?: Record<string, any>, Description?: string }) => Promise<CreateCodeSigningConfigResponse>
78
+ /**
79
+ * @description
80
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_CreateEventSourceMapping.html Lambda: CreateEventSourceMapping}
81
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#CreateEventSourceMapping Lambda: CreateEventSourceMapping}
82
+ */
83
+ 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>
17
84
  /**
18
85
  * @description
19
86
  * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html Lambda: CreateFunction}
20
87
  * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#CreateFunction Lambda: CreateFunction}
21
88
  */
22
89
  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>
90
+ /**
91
+ * @description
92
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunctionUrlConfig.html Lambda: CreateFunctionUrlConfig}
93
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#CreateFunctionUrlConfig Lambda: CreateFunctionUrlConfig}
94
+ */
95
+ CreateFunctionUrlConfig: (input: { AuthType: string, FunctionName: string, Cors?: Record<string, any>, InvokeMode?: string, Qualifier?: string }) => Promise<CreateFunctionUrlConfigResponse>
96
+ /**
97
+ * @description
98
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_DeleteAlias.html Lambda: DeleteAlias}
99
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#DeleteAlias Lambda: DeleteAlias}
100
+ */
101
+ DeleteAlias: (input: { FunctionName: string, Name: string }) => Promise<DeleteAliasResponse>
102
+ /**
103
+ * @description
104
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_DeleteCodeSigningConfig.html Lambda: DeleteCodeSigningConfig}
105
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#DeleteCodeSigningConfig Lambda: DeleteCodeSigningConfig}
106
+ */
107
+ DeleteCodeSigningConfig: (input: { CodeSigningConfigArn: string }) => Promise<DeleteCodeSigningConfigResponse>
108
+ /**
109
+ * @description
110
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_DeleteEventSourceMapping.html Lambda: DeleteEventSourceMapping}
111
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#DeleteEventSourceMapping Lambda: DeleteEventSourceMapping}
112
+ */
113
+ DeleteEventSourceMapping: (input: { UUID: string }) => Promise<DeleteEventSourceMappingResponse>
114
+ /**
115
+ * @description
116
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_DeleteFunction.html Lambda: DeleteFunction}
117
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#DeleteFunction Lambda: DeleteFunction}
118
+ */
119
+ DeleteFunction: (input: { FunctionName: string, Qualifier?: string }) => Promise<DeleteFunctionResponse>
120
+ /**
121
+ * @description
122
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_DeleteFunctionCodeSigningConfig.html Lambda: DeleteFunctionCodeSigningConfig}
123
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#DeleteFunctionCodeSigningConfig Lambda: DeleteFunctionCodeSigningConfig}
124
+ */
125
+ DeleteFunctionCodeSigningConfig: (input: { FunctionName: string }) => Promise<DeleteFunctionCodeSigningConfigResponse>
23
126
  /**
24
127
  * @description
25
128
  * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_DeleteFunctionConcurrency.html Lambda: DeleteFunctionConcurrency}
26
129
  * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#DeleteFunctionConcurrency Lambda: DeleteFunctionConcurrency}
27
130
  */
28
131
  DeleteFunctionConcurrency: (input: { FunctionName: string }) => Promise<DeleteFunctionConcurrencyResponse>
132
+ /**
133
+ * @description
134
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_DeleteFunctionEventInvokeConfig.html Lambda: DeleteFunctionEventInvokeConfig}
135
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#DeleteFunctionEventInvokeConfig Lambda: DeleteFunctionEventInvokeConfig}
136
+ */
137
+ DeleteFunctionEventInvokeConfig: (input: { FunctionName: string, Qualifier?: string }) => Promise<DeleteFunctionEventInvokeConfigResponse>
138
+ /**
139
+ * @description
140
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_DeleteFunctionUrlConfig.html Lambda: DeleteFunctionUrlConfig}
141
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#DeleteFunctionUrlConfig Lambda: DeleteFunctionUrlConfig}
142
+ */
143
+ DeleteFunctionUrlConfig: (input: { FunctionName: string, Qualifier?: string }) => Promise<DeleteFunctionUrlConfigResponse>
144
+ /**
145
+ * @description
146
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_DeleteLayerVersion.html Lambda: DeleteLayerVersion}
147
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#DeleteLayerVersion Lambda: DeleteLayerVersion}
148
+ */
149
+ DeleteLayerVersion: (input: { LayerName: string, VersionNumber: number }) => Promise<DeleteLayerVersionResponse>
150
+ /**
151
+ * @description
152
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_DeleteProvisionedConcurrencyConfig.html Lambda: DeleteProvisionedConcurrencyConfig}
153
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#DeleteProvisionedConcurrencyConfig Lambda: DeleteProvisionedConcurrencyConfig}
154
+ */
155
+ DeleteProvisionedConcurrencyConfig: (input: { FunctionName: string, Qualifier: string }) => Promise<DeleteProvisionedConcurrencyConfigResponse>
156
+ /** @description aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#GetAccountSettings Lambda: GetAccountSettings} */
157
+ GetAccountSettings: () => Promise<GetAccountSettingsResponse>
158
+ /**
159
+ * @description
160
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_GetAlias.html Lambda: GetAlias}
161
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#GetAlias Lambda: GetAlias}
162
+ */
163
+ GetAlias: (input: { FunctionName: string, Name: string }) => Promise<GetAliasResponse>
164
+ /**
165
+ * @description
166
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_GetCodeSigningConfig.html Lambda: GetCodeSigningConfig}
167
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#GetCodeSigningConfig Lambda: GetCodeSigningConfig}
168
+ */
169
+ GetCodeSigningConfig: (input: { CodeSigningConfigArn: string }) => Promise<GetCodeSigningConfigResponse>
170
+ /**
171
+ * @description
172
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_GetEventSourceMapping.html Lambda: GetEventSourceMapping}
173
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#GetEventSourceMapping Lambda: GetEventSourceMapping}
174
+ */
175
+ GetEventSourceMapping: (input: { UUID: string }) => Promise<GetEventSourceMappingResponse>
176
+ /**
177
+ * @description
178
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_GetFunction.html Lambda: GetFunction}
179
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#GetFunction Lambda: GetFunction}
180
+ */
181
+ GetFunction: (input: { FunctionName: string, Qualifier?: string }) => Promise<GetFunctionResponse>
182
+ /**
183
+ * @description
184
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_GetFunctionCodeSigningConfig.html Lambda: GetFunctionCodeSigningConfig}
185
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#GetFunctionCodeSigningConfig Lambda: GetFunctionCodeSigningConfig}
186
+ */
187
+ GetFunctionCodeSigningConfig: (input: { FunctionName: string }) => Promise<GetFunctionCodeSigningConfigResponse>
188
+ /**
189
+ * @description
190
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_GetFunctionConcurrency.html Lambda: GetFunctionConcurrency}
191
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#GetFunctionConcurrency Lambda: GetFunctionConcurrency}
192
+ */
193
+ GetFunctionConcurrency: (input: { FunctionName: string }) => Promise<GetFunctionConcurrencyResponse>
29
194
  /**
30
195
  * @description
31
196
  * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_GetFunctionConfiguration.html Lambda: GetFunctionConfiguration}
32
197
  * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#GetFunctionConfiguration Lambda: GetFunctionConfiguration}
33
198
  */
34
199
  GetFunctionConfiguration: (input: { FunctionName: string, Qualifier?: string }) => Promise<GetFunctionConfigurationResponse>
200
+ /**
201
+ * @description
202
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_GetFunctionEventInvokeConfig.html Lambda: GetFunctionEventInvokeConfig}
203
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#GetFunctionEventInvokeConfig Lambda: GetFunctionEventInvokeConfig}
204
+ */
205
+ GetFunctionEventInvokeConfig: (input: { FunctionName: string, Qualifier?: string }) => Promise<GetFunctionEventInvokeConfigResponse>
206
+ /**
207
+ * @description
208
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_GetFunctionUrlConfig.html Lambda: GetFunctionUrlConfig}
209
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#GetFunctionUrlConfig Lambda: GetFunctionUrlConfig}
210
+ */
211
+ GetFunctionUrlConfig: (input: { FunctionName: string, Qualifier?: string }) => Promise<GetFunctionUrlConfigResponse>
212
+ /**
213
+ * @description
214
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_GetLayerVersion.html Lambda: GetLayerVersion}
215
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#GetLayerVersion Lambda: GetLayerVersion}
216
+ */
217
+ GetLayerVersion: (input: { LayerName: string, VersionNumber: number }) => Promise<GetLayerVersionResponse>
218
+ /**
219
+ * @description
220
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_GetLayerVersionByArn.html Lambda: GetLayerVersionByArn}
221
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#GetLayerVersionByArn Lambda: GetLayerVersionByArn}
222
+ */
223
+ GetLayerVersionByArn: (input: { Arn: string }) => Promise<GetLayerVersionByArnResponse>
224
+ /**
225
+ * @description
226
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_GetLayerVersionPolicy.html Lambda: GetLayerVersionPolicy}
227
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#GetLayerVersionPolicy Lambda: GetLayerVersionPolicy}
228
+ */
229
+ GetLayerVersionPolicy: (input: { LayerName: string, VersionNumber: number }) => Promise<GetLayerVersionPolicyResponse>
230
+ /**
231
+ * @description
232
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_GetPolicy.html Lambda: GetPolicy}
233
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#GetPolicy Lambda: GetPolicy}
234
+ */
235
+ GetPolicy: (input: { FunctionName: string, Qualifier?: string }) => Promise<GetPolicyResponse>
236
+ /**
237
+ * @description
238
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_GetProvisionedConcurrencyConfig.html Lambda: GetProvisionedConcurrencyConfig}
239
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#GetProvisionedConcurrencyConfig Lambda: GetProvisionedConcurrencyConfig}
240
+ */
241
+ GetProvisionedConcurrencyConfig: (input: { FunctionName: string, Qualifier: string }) => Promise<GetProvisionedConcurrencyConfigResponse>
242
+ /**
243
+ * @description
244
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_GetRuntimeManagementConfig.html Lambda: GetRuntimeManagementConfig}
245
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#GetRuntimeManagementConfig Lambda: GetRuntimeManagementConfig}
246
+ */
247
+ GetRuntimeManagementConfig: (input: { FunctionName: string, Qualifier?: string }) => Promise<GetRuntimeManagementConfigResponse>
35
248
  /**
36
249
  * @description
37
250
  * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html Lambda: Invoke}
38
251
  * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#Invoke Lambda: Invoke}
39
252
  */
40
253
  Invoke: (input: { FunctionName: string, InvocationType?: string, Payload: any[] | Record<string, any>, LogType?: string, ClientContext?: string, Qualifier?: string }) => Promise<InvokeResponse>
254
+ /**
255
+ * @description
256
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_ListAliases.html Lambda: ListAliases}
257
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#ListAliases Lambda: ListAliases}
258
+ */
259
+ ListAliases: (input: { FunctionName: string, FunctionVersion?: string, Marker?: string, MaxItems?: number, paginate?: boolean }) => Promise<ListAliasesResponse>
260
+ /**
261
+ * @description
262
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_ListCodeSigningConfigs.html Lambda: ListCodeSigningConfigs}
263
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#ListCodeSigningConfigs Lambda: ListCodeSigningConfigs}
264
+ */
265
+ ListCodeSigningConfigs: (input: { Marker?: string, MaxItems?: number, paginate?: boolean }) => Promise<ListCodeSigningConfigsResponse>
266
+ /**
267
+ * @description
268
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_ListFunctions.html Lambda: ListFunctions}
269
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#ListFunctions Lambda: ListFunctions}
270
+ */
271
+ ListFunctions: (input: { FunctionVersion?: string, Marker?: string, MasterRegion?: string, MaxItems?: number, paginate?: boolean }) => Promise<ListFunctionsResponse>
272
+ /**
273
+ * @description
274
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_ListFunctionUrlConfigs.html Lambda: ListFunctionUrlConfigs}
275
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#ListFunctionUrlConfigs Lambda: ListFunctionUrlConfigs}
276
+ */
277
+ ListFunctionUrlConfigs: (input: { FunctionName: string, Marker?: string, MaxItems?: number, paginate?: boolean }) => Promise<ListFunctionUrlConfigsResponse>
278
+ /**
279
+ * @description
280
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_ListLayers.html Lambda: ListLayers}
281
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#ListLayers Lambda: ListLayers}
282
+ */
283
+ ListLayers: (input: { CompatibleArchitecture?: string, CompatibleRuntime?: string, Marker?: string, MaxItems?: number, paginate?: boolean }) => Promise<ListLayersResponse>
284
+ /**
285
+ * @description
286
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_ListLayerVersions.html Lambda: ListLayerVersions}
287
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#ListLayerVersions Lambda: ListLayerVersions}
288
+ */
289
+ ListLayerVersions: (input: { LayerName: string, CompatibleArchitecture?: string, CompatibleRuntime?: string, Marker?: string, MaxItems?: number, paginate?: boolean }) => Promise<ListLayerVersionsResponse>
41
290
  /**
42
291
  * @description
43
292
  * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_PutFunctionConcurrency.html Lambda: PutFunctionConcurrency}
44
293
  * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#PutFunctionConcurrency Lambda: PutFunctionConcurrency}
45
294
  */
46
295
  PutFunctionConcurrency: (input: { FunctionName: string, ReservedConcurrentExecutions: number }) => Promise<PutFunctionConcurrencyResponse>
296
+ /**
297
+ * @description
298
+ * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_UpdateAlias.html Lambda: UpdateAlias}
299
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/lambda/readme.md#UpdateAlias Lambda: UpdateAlias}
300
+ */
301
+ UpdateAlias: (input: { FunctionName: string, Name: string, Description?: string, FunctionVersion?: string, RevisionId?: string, RoutingConfig?: Record<string, any> }) => Promise<UpdateAliasResponse>
47
302
  /**
48
303
  * @description
49
304
  * - AWS docs: {@link https://docs.aws.amazon.com/lambda/latest/dg/API_UpdateFunctionCode.html Lambda: UpdateFunctionCode}
@@ -69,11 +324,48 @@ export type {
69
324
  AwsLiteLambda,
70
325
  /* ! Do not remove EXPORT_START / EXPORT_END ! */
71
326
  // $EXPORT_START
327
+ AddLayerVersionPermissionResponse,
328
+ AddPermissionResponse,
329
+ CreateAliasResponse,
330
+ CreateCodeSigningConfigResponse,
331
+ CreateEventSourceMappingResponse,
72
332
  CreateFunctionResponse,
333
+ CreateFunctionUrlConfigResponse,
334
+ DeleteAliasResponse,
335
+ DeleteCodeSigningConfigResponse,
336
+ DeleteEventSourceMappingResponse,
337
+ DeleteFunctionResponse,
338
+ DeleteFunctionCodeSigningConfigResponse,
73
339
  DeleteFunctionConcurrencyResponse,
340
+ DeleteFunctionEventInvokeConfigResponse,
341
+ DeleteFunctionUrlConfigResponse,
342
+ DeleteLayerVersionResponse,
343
+ DeleteProvisionedConcurrencyConfigResponse,
344
+ GetAccountSettingsResponse,
345
+ GetAliasResponse,
346
+ GetCodeSigningConfigResponse,
347
+ GetEventSourceMappingResponse,
348
+ GetFunctionResponse,
349
+ GetFunctionCodeSigningConfigResponse,
350
+ GetFunctionConcurrencyResponse,
74
351
  GetFunctionConfigurationResponse,
352
+ GetFunctionEventInvokeConfigResponse,
353
+ GetFunctionUrlConfigResponse,
354
+ GetLayerVersionResponse,
355
+ GetLayerVersionByArnResponse,
356
+ GetLayerVersionPolicyResponse,
357
+ GetPolicyResponse,
358
+ GetProvisionedConcurrencyConfigResponse,
359
+ GetRuntimeManagementConfigResponse,
75
360
  InvokeResponse,
361
+ ListAliasesResponse,
362
+ ListCodeSigningConfigsResponse,
363
+ ListFunctionsResponse,
364
+ ListFunctionUrlConfigsResponse,
365
+ ListLayersResponse,
366
+ ListLayerVersionsResponse,
76
367
  PutFunctionConcurrencyResponse,
368
+ UpdateAliasResponse,
77
369
  UpdateFunctionCodeResponse,
78
370
  UpdateFunctionConfigurationResponse,
79
371
  // $EXPORT_END
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-lite/lambda-types",
3
- "version": "0.0.8",
3
+ "version": "0.1.1",
4
4
  "description": "Type definitions for the `@aws-lite/lambda` plugin",
5
5
  "homepage": "https://aws-lite.org/services/lambda",
6
6
  "repository": {