@aws-sdk/client-lambda-core 3.1168.0 → 3.1170.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/README.md +120 -8
  2. package/dist-cjs/index.js +665 -20
  3. package/dist-es/LambdaCore.js +45 -1
  4. package/dist-es/commands/CreateRuntimeAliasCommand.js +4 -0
  5. package/dist-es/commands/CreateRuntimeCommand.js +4 -0
  6. package/dist-es/commands/CreateRuntimeVersionCommand.js +4 -0
  7. package/dist-es/commands/DeleteRuntimeAliasCommand.js +4 -0
  8. package/dist-es/commands/DeleteRuntimeCommand.js +4 -0
  9. package/dist-es/commands/DeleteRuntimeVersionCommand.js +4 -0
  10. package/dist-es/commands/GetRuntimeAliasCommand.js +4 -0
  11. package/dist-es/commands/GetRuntimeCommand.js +4 -0
  12. package/dist-es/commands/GetRuntimeVersionCommand.js +4 -0
  13. package/dist-es/commands/ListRuntimeAliasesCommand.js +4 -0
  14. package/dist-es/commands/ListRuntimeVersionsCommand.js +4 -0
  15. package/dist-es/commands/ListRuntimesCommand.js +4 -0
  16. package/dist-es/commands/RestoreRuntimeCommand.js +4 -0
  17. package/dist-es/commands/UpdateRuntimeAliasCommand.js +4 -0
  18. package/dist-es/commands/UpdateRuntimeCommand.js +4 -0
  19. package/dist-es/commands/UpdateRuntimeVersionCommand.js +4 -0
  20. package/dist-es/commands/index.js +16 -0
  21. package/dist-es/index.js +1 -0
  22. package/dist-es/models/enums.js +42 -0
  23. package/dist-es/models/errors.js +17 -0
  24. package/dist-es/pagination/ListRuntimeAliasesPaginator.js +4 -0
  25. package/dist-es/pagination/ListRuntimeVersionsPaginator.js +4 -0
  26. package/dist-es/pagination/ListRuntimesPaginator.js +4 -0
  27. package/dist-es/pagination/index.js +3 -0
  28. package/dist-es/schemas/schemas_0.js +373 -18
  29. package/dist-es/waiters/index.js +2 -0
  30. package/dist-es/waiters/waitForRuntimeAliasActive.js +31 -0
  31. package/dist-es/waiters/waitForRuntimeVersionActive.js +40 -0
  32. package/dist-types/LambdaCore.d.ts +149 -2
  33. package/dist-types/LambdaCoreClient.d.ts +19 -3
  34. package/dist-types/commands/CreateNetworkConnectorCommand.d.ts +7 -1
  35. package/dist-types/commands/CreateRuntimeAliasCommand.d.ts +136 -0
  36. package/dist-types/commands/CreateRuntimeCommand.d.ts +133 -0
  37. package/dist-types/commands/CreateRuntimeVersionCommand.d.ts +156 -0
  38. package/dist-types/commands/DeleteNetworkConnectorCommand.d.ts +5 -2
  39. package/dist-types/commands/DeleteRuntimeAliasCommand.d.ts +100 -0
  40. package/dist-types/commands/DeleteRuntimeCommand.d.ts +98 -0
  41. package/dist-types/commands/DeleteRuntimeVersionCommand.d.ts +100 -0
  42. package/dist-types/commands/GetNetworkConnectorCommand.d.ts +6 -3
  43. package/dist-types/commands/GetRuntimeAliasCommand.d.ts +143 -0
  44. package/dist-types/commands/GetRuntimeCommand.d.ts +120 -0
  45. package/dist-types/commands/GetRuntimeVersionCommand.d.ts +151 -0
  46. package/dist-types/commands/ListNetworkConnectorVersionsCommand.d.ts +2 -2
  47. package/dist-types/commands/ListRuntimeAliasesCommand.d.ts +140 -0
  48. package/dist-types/commands/ListRuntimeVersionsCommand.d.ts +132 -0
  49. package/dist-types/commands/ListRuntimesCommand.d.ts +126 -0
  50. package/dist-types/commands/RestoreRuntimeCommand.d.ts +137 -0
  51. package/dist-types/commands/UpdateNetworkConnectorCommand.d.ts +8 -2
  52. package/dist-types/commands/UpdateRuntimeAliasCommand.d.ts +143 -0
  53. package/dist-types/commands/UpdateRuntimeCommand.d.ts +132 -0
  54. package/dist-types/commands/UpdateRuntimeVersionCommand.d.ts +133 -0
  55. package/dist-types/commands/index.d.ts +16 -0
  56. package/dist-types/index.d.ts +2 -1
  57. package/dist-types/models/enums.d.ts +178 -0
  58. package/dist-types/models/errors.d.ts +33 -2
  59. package/dist-types/models/models_0.d.ts +1138 -1
  60. package/dist-types/pagination/ListRuntimeAliasesPaginator.d.ts +7 -0
  61. package/dist-types/pagination/ListRuntimeVersionsPaginator.d.ts +7 -0
  62. package/dist-types/pagination/ListRuntimesPaginator.d.ts +7 -0
  63. package/dist-types/pagination/index.d.ts +3 -0
  64. package/dist-types/schemas/schemas_0.d.ts +56 -0
  65. package/dist-types/ts3.4/LambdaCore.d.ts +311 -0
  66. package/dist-types/ts3.4/LambdaCoreClient.d.ts +95 -2
  67. package/dist-types/ts3.4/commands/CreateRuntimeAliasCommand.d.ts +39 -0
  68. package/dist-types/ts3.4/commands/CreateRuntimeCommand.d.ts +38 -0
  69. package/dist-types/ts3.4/commands/CreateRuntimeVersionCommand.d.ts +39 -0
  70. package/dist-types/ts3.4/commands/DeleteRuntimeAliasCommand.d.ts +39 -0
  71. package/dist-types/ts3.4/commands/DeleteRuntimeCommand.d.ts +38 -0
  72. package/dist-types/ts3.4/commands/DeleteRuntimeVersionCommand.d.ts +39 -0
  73. package/dist-types/ts3.4/commands/GetRuntimeAliasCommand.d.ts +38 -0
  74. package/dist-types/ts3.4/commands/GetRuntimeCommand.d.ts +38 -0
  75. package/dist-types/ts3.4/commands/GetRuntimeVersionCommand.d.ts +39 -0
  76. package/dist-types/ts3.4/commands/ListRuntimeAliasesCommand.d.ts +39 -0
  77. package/dist-types/ts3.4/commands/ListRuntimeVersionsCommand.d.ts +39 -0
  78. package/dist-types/ts3.4/commands/ListRuntimesCommand.d.ts +38 -0
  79. package/dist-types/ts3.4/commands/RestoreRuntimeCommand.d.ts +38 -0
  80. package/dist-types/ts3.4/commands/UpdateRuntimeAliasCommand.d.ts +39 -0
  81. package/dist-types/ts3.4/commands/UpdateRuntimeCommand.d.ts +38 -0
  82. package/dist-types/ts3.4/commands/UpdateRuntimeVersionCommand.d.ts +39 -0
  83. package/dist-types/ts3.4/commands/index.d.ts +16 -0
  84. package/dist-types/ts3.4/index.d.ts +1 -0
  85. package/dist-types/ts3.4/models/enums.d.ts +50 -0
  86. package/dist-types/ts3.4/models/errors.d.ts +8 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +270 -0
  88. package/dist-types/ts3.4/pagination/ListRuntimeAliasesPaginator.d.ts +11 -0
  89. package/dist-types/ts3.4/pagination/ListRuntimeVersionsPaginator.d.ts +11 -0
  90. package/dist-types/ts3.4/pagination/ListRuntimesPaginator.d.ts +11 -0
  91. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  92. package/dist-types/ts3.4/schemas/schemas_0.d.ts +56 -0
  93. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  94. package/dist-types/ts3.4/waiters/waitForRuntimeAliasActive.d.ts +15 -0
  95. package/dist-types/ts3.4/waiters/waitForRuntimeVersionActive.d.ts +15 -0
  96. package/dist-types/waiters/index.d.ts +2 -0
  97. package/dist-types/waiters/waitForRuntimeAliasActive.d.ts +15 -0
  98. package/dist-types/waiters/waitForRuntimeVersionActive.d.ts +15 -0
  99. package/package.json +1 -1
@@ -1,4 +1,36 @@
1
- import type { ComputeResourceType, NetworkConnectorLastUpdateStatus, NetworkConnectorLastUpdateStatusReasonCode, NetworkConnectorState, NetworkConnectorStateReasonCode, NetworkConnectorType, NetworkProtocol } from "./enums";
1
+ import type { CompatibilityPolicy, ComputeResourceType, ElasticIpType, IntegrationModel, NetworkConnectorLastUpdateStatus, NetworkConnectorLastUpdateStatusReasonCode, NetworkConnectorState, NetworkConnectorStateReasonCode, NetworkConnectorType, NetworkProtocol, RuntimeAliasState, RuntimeArchitecture, RuntimeReleaseState, RuntimeState, RuntimeVersionState } from "./enums";
2
+ /**
3
+ * Defines the compatibility matrix for a runtime version, indicating supported integration models, architectures, and feature availability.
4
+ * @public
5
+ */
6
+ export interface Compatibility {
7
+ /**
8
+ * Supported integration models for the runtime version.
9
+ * @public
10
+ */
11
+ IntegrationModels?: IntegrationModel[] | undefined;
12
+ /**
13
+ * Supported architectures for the runtime version.
14
+ * @public
15
+ */
16
+ Architectures?: RuntimeArchitecture[] | undefined;
17
+ /**
18
+ * Whether the runtime version is compatible with managed instances.
19
+ * @public
20
+ */
21
+ ManagedInstances?: CompatibilityPolicy | undefined;
22
+ }
23
+ /**
24
+ * How the connector's network interfaces get an Elastic IP address.
25
+ * @public
26
+ */
27
+ export interface ElasticIpConfiguration {
28
+ /**
29
+ * The Elastic IP type for the connector's network interfaces.
30
+ * @public
31
+ */
32
+ Type: ElasticIpType | undefined;
33
+ }
2
34
  /**
3
35
  * <p>Configuration for a VPC egress network connector. Specifies the VPC subnets, security groups, network protocol, and associated Lambda compute resource types.</p>
4
36
  * @public
@@ -24,6 +56,11 @@ export interface NetworkConnectorVpcEgressConfiguration {
24
56
  * @public
25
57
  */
26
58
  AssociatedComputeResourceTypes?: ComputeResourceType[] | undefined;
59
+ /**
60
+ * <p>The Elastic IP configuration for the connector's ENIs. Specify <code>ServiceManaged</code> to have Lambda assign a service-managed Elastic IP address to each ENI. The operator role must allow <code>ec2:AllocateAddress</code> and <code>ec2:AssociateAddress</code>.</p>
61
+ * @public
62
+ */
63
+ ElasticIpConfiguration?: ElasticIpConfiguration | undefined;
27
64
  }
28
65
  /**
29
66
  * <p>The network configuration for a network connector. Different connector types use different configuration shapes; specify the configuration that matches your connector type.</p>
@@ -133,6 +170,283 @@ export interface CreateNetworkConnectorResponse {
133
170
  */
134
171
  State?: NetworkConnectorState | undefined;
135
172
  }
173
+ /**
174
+ * The runtime lifecycle for the runtime or alias. Optional. Used to schedule runtime deprecation. Omitting or providing an empty object removes the existing lifecycle.
175
+ * @public
176
+ */
177
+ export interface RuntimeReleaseLifecycle {
178
+ /**
179
+ * Optional, with no default applied. DEPRECATED requires a DeprecationDate on or before today (UTC); PREVIEW and GA require a later one, or none. Reads report DEPRECATED once DeprecationDate is reached.
180
+ * @public
181
+ */
182
+ ReleaseState?: RuntimeReleaseState | undefined;
183
+ /**
184
+ * The date (UTC) on which the runtime or alias becomes deprecated.
185
+ * @public
186
+ */
187
+ DeprecationDate?: string | undefined;
188
+ /**
189
+ * The date (UTC) on which creating new functions that use this runtime or alias is blocked.
190
+ * @public
191
+ */
192
+ FunctionCreateBlockDate?: string | undefined;
193
+ /**
194
+ * The date (UTC) on which updating existing functions that use this runtime or alias is blocked.
195
+ * @public
196
+ */
197
+ FunctionUpdateBlockDate?: string | undefined;
198
+ }
199
+ /**
200
+ * @public
201
+ */
202
+ export interface CreateRuntimeRequest {
203
+ /**
204
+ * The name of the runtime to create.
205
+ * @public
206
+ */
207
+ Name: string | undefined;
208
+ /**
209
+ * A map of tag keys and values to associate with the runtime.
210
+ * @public
211
+ */
212
+ Tags?: Record<string, string> | undefined;
213
+ /**
214
+ * A description of the runtime.
215
+ * @public
216
+ */
217
+ Description?: string | undefined;
218
+ /**
219
+ * The license information for the runtime.
220
+ * @public
221
+ */
222
+ LicenseInfo?: string | undefined;
223
+ /**
224
+ * The runtime lifecycle for the runtime (optional). Use this to schedule runtime deprecation.
225
+ * @public
226
+ */
227
+ ReleaseLifecycle?: RuntimeReleaseLifecycle | undefined;
228
+ }
229
+ /**
230
+ * @public
231
+ */
232
+ export interface CreateRuntimeResponse {
233
+ /**
234
+ * The Amazon Resource Name (ARN) of the runtime.
235
+ * @public
236
+ */
237
+ Arn: string | undefined;
238
+ /**
239
+ * The name of the runtime.
240
+ * @public
241
+ */
242
+ Name: string | undefined;
243
+ /**
244
+ * The description of the runtime.
245
+ * @public
246
+ */
247
+ Description?: string | undefined;
248
+ /**
249
+ * The license information for the runtime.
250
+ * @public
251
+ */
252
+ LicenseInfo?: string | undefined;
253
+ /**
254
+ * The runtime lifecycle for the runtime. Used to schedule runtime deprecation.
255
+ * @public
256
+ */
257
+ ReleaseLifecycle?: RuntimeReleaseLifecycle | undefined;
258
+ /**
259
+ * The date and time when the runtime was created.
260
+ * @public
261
+ */
262
+ Created: string | undefined;
263
+ /**
264
+ * The date and time when the runtime was last modified.
265
+ * @public
266
+ */
267
+ LastModified: string | undefined;
268
+ }
269
+ /**
270
+ * @public
271
+ */
272
+ export interface CreateRuntimeAliasRequest {
273
+ /**
274
+ * The name or ARN of the runtime to create an alias for.
275
+ * @public
276
+ */
277
+ RuntimeName: string | undefined;
278
+ /**
279
+ * The name of the runtime version the alias points to.
280
+ * @public
281
+ */
282
+ RuntimeVersion: string | undefined;
283
+ /**
284
+ * The name to assign to the new runtime alias.
285
+ * @public
286
+ */
287
+ Name: string | undefined;
288
+ /**
289
+ * A description of the runtime alias.
290
+ * @public
291
+ */
292
+ Description?: string | undefined;
293
+ /**
294
+ * The runtime lifecycle for the alias. By default, this is inherited from the runtime lifecycle. Optionally, you can override the lifecycle information at the alias level, if required.
295
+ * @public
296
+ */
297
+ ReleaseLifecycle?: RuntimeReleaseLifecycle | undefined;
298
+ }
299
+ /**
300
+ * @public
301
+ */
302
+ export interface CreateRuntimeAliasResponse {
303
+ /**
304
+ * The name of the runtime alias.
305
+ * @public
306
+ */
307
+ Name: string | undefined;
308
+ /**
309
+ * The Amazon Resource Name (ARN) of the runtime alias.
310
+ * @public
311
+ */
312
+ Arn: string | undefined;
313
+ /**
314
+ * The name of the runtime version the alias points to.
315
+ * @public
316
+ */
317
+ RuntimeVersion: string | undefined;
318
+ /**
319
+ * The Amazon Resource Name (ARN) of the runtime version the alias points to.
320
+ * @public
321
+ */
322
+ RuntimeVersionArn: string | undefined;
323
+ /**
324
+ * The current state of the runtime alias.
325
+ * @public
326
+ */
327
+ State: RuntimeAliasState | undefined;
328
+ /**
329
+ * A description of the runtime alias.
330
+ * @public
331
+ */
332
+ Description?: string | undefined;
333
+ /**
334
+ * The runtime lifecycle for the alias. By default, this is inherited from the runtime lifecycle. Optionally, you can override the lifecycle information at the alias level, if required.
335
+ * @public
336
+ */
337
+ ReleaseLifecycle?: RuntimeReleaseLifecycle | undefined;
338
+ /**
339
+ * The date and time when the runtime alias was created.
340
+ * @public
341
+ */
342
+ Created: string | undefined;
343
+ /**
344
+ * The date and time when the runtime alias was last modified.
345
+ * @public
346
+ */
347
+ LastModified: string | undefined;
348
+ }
349
+ /**
350
+ * @public
351
+ */
352
+ export interface CreateRuntimeVersionRequest {
353
+ /**
354
+ * The name or ARN of the runtime to create a version for.
355
+ * @public
356
+ */
357
+ RuntimeName: string | undefined;
358
+ /**
359
+ * The URI of the container image used to define the function execution environment for this runtime version.
360
+ * @public
361
+ */
362
+ ImageUri: string | undefined;
363
+ /**
364
+ * The name to assign to the new runtime version.
365
+ * @public
366
+ */
367
+ Name: string | undefined;
368
+ /**
369
+ * The release notes to associate with the runtime version.
370
+ * @public
371
+ */
372
+ ReleaseNotes?: string | undefined;
373
+ /**
374
+ * When set to true, the request is validated without creating a new runtime version. Use this to check that the request would succeed. No runtime version is created and no changes are made.
375
+ * @public
376
+ */
377
+ DryRun?: boolean | undefined;
378
+ }
379
+ /**
380
+ * Describes a single OCI platform (CPU architecture and operating system) available for a runtime version.
381
+ * @public
382
+ */
383
+ export interface Platform {
384
+ /**
385
+ * The CPU architecture of the platform, for example x86_64 or arm64.
386
+ * @public
387
+ */
388
+ Architecture: string | undefined;
389
+ /**
390
+ * The operating system of the platform.
391
+ * @public
392
+ */
393
+ Os: string | undefined;
394
+ /**
395
+ * The content digest of the platform-specific image.
396
+ * @public
397
+ */
398
+ Digest: string | undefined;
399
+ }
400
+ /**
401
+ * @public
402
+ */
403
+ export interface CreateRuntimeVersionResponse {
404
+ /**
405
+ * The name of the runtime version.
406
+ * @public
407
+ */
408
+ Name: string | undefined;
409
+ /**
410
+ * The Amazon Resource Name (ARN) of the runtime version.
411
+ * @public
412
+ */
413
+ Arn: string | undefined;
414
+ /**
415
+ * The resolved image URI of the runtime version.
416
+ * @public
417
+ */
418
+ ResolvedUri: string | undefined;
419
+ /**
420
+ * The current state of the runtime version.
421
+ * @public
422
+ */
423
+ State: RuntimeVersionState | undefined;
424
+ /**
425
+ * The release notes associated with the runtime version.
426
+ * @public
427
+ */
428
+ ReleaseNotes?: string | undefined;
429
+ /**
430
+ * The platforms (architecture and OS combinations) available for the runtime version.
431
+ * @public
432
+ */
433
+ Platforms?: Platform[] | undefined;
434
+ /**
435
+ * The compatibility matrix of the runtime version.
436
+ * @public
437
+ */
438
+ Compatibility?: Compatibility | undefined;
439
+ /**
440
+ * The date and time when the runtime version was created.
441
+ * @public
442
+ */
443
+ Created: string | undefined;
444
+ /**
445
+ * The date and time when the runtime version was last modified.
446
+ * @public
447
+ */
448
+ LastModified: string | undefined;
449
+ }
136
450
  /**
137
451
  * @public
138
452
  */
@@ -188,6 +502,76 @@ export interface DeleteNetworkConnectorResponse {
188
502
  */
189
503
  State?: NetworkConnectorState | undefined;
190
504
  }
505
+ /**
506
+ * @public
507
+ */
508
+ export interface DeleteRuntimeRequest {
509
+ /**
510
+ * The name or ARN of the runtime to delete.
511
+ * @public
512
+ */
513
+ RuntimeName: string | undefined;
514
+ /**
515
+ * Optional. The waiting period, in days (7-30), before the runtime is permanently deleted.
516
+ * @public
517
+ */
518
+ RecoveryWindowInDays?: number | undefined;
519
+ }
520
+ /**
521
+ * @public
522
+ */
523
+ export interface DeleteRuntimeResponse {
524
+ }
525
+ /**
526
+ * @public
527
+ */
528
+ export interface DeleteRuntimeAliasRequest {
529
+ /**
530
+ * The name or ARN of the runtime.
531
+ * @public
532
+ */
533
+ RuntimeName: string | undefined;
534
+ /**
535
+ * The name of the runtime alias to delete.
536
+ * @public
537
+ */
538
+ Name: string | undefined;
539
+ /**
540
+ * Optional. The waiting period, in days (7-30), before the runtime alias is permanently deleted.
541
+ * @public
542
+ */
543
+ RecoveryWindowInDays?: number | undefined;
544
+ }
545
+ /**
546
+ * @public
547
+ */
548
+ export interface DeleteRuntimeAliasResponse {
549
+ }
550
+ /**
551
+ * @public
552
+ */
553
+ export interface DeleteRuntimeVersionRequest {
554
+ /**
555
+ * The name or ARN of the runtime.
556
+ * @public
557
+ */
558
+ RuntimeName: string | undefined;
559
+ /**
560
+ * The name of the runtime version to delete.
561
+ * @public
562
+ */
563
+ Name: string | undefined;
564
+ /**
565
+ * Optional. The waiting period, in days (7-30), before the runtime version is permanently deleted.
566
+ * @public
567
+ */
568
+ RecoveryWindowInDays?: number | undefined;
569
+ }
570
+ /**
571
+ * @public
572
+ */
573
+ export interface DeleteRuntimeVersionResponse {
574
+ }
191
575
  /**
192
576
  * @public
193
577
  */
@@ -283,6 +667,759 @@ export interface GetNetworkConnectorResponse {
283
667
  */
284
668
  LastModified?: Date | undefined;
285
669
  }
670
+ /**
671
+ * @public
672
+ */
673
+ export interface GetRuntimeRequest {
674
+ /**
675
+ * The name or ARN of the runtime to retrieve.
676
+ * @public
677
+ */
678
+ RuntimeName: string | undefined;
679
+ }
680
+ /**
681
+ * @public
682
+ */
683
+ export interface GetRuntimeResponse {
684
+ /**
685
+ * The Amazon Resource Name (ARN) of the runtime.
686
+ * @public
687
+ */
688
+ Arn: string | undefined;
689
+ /**
690
+ * The name of the runtime.
691
+ * @public
692
+ */
693
+ Name: string | undefined;
694
+ /**
695
+ * The description of the runtime.
696
+ * @public
697
+ */
698
+ Description?: string | undefined;
699
+ /**
700
+ * The license information for the runtime.
701
+ * @public
702
+ */
703
+ LicenseInfo?: string | undefined;
704
+ /**
705
+ * The runtime lifecycle for the runtime. Used to schedule runtime deprecation.
706
+ * @public
707
+ */
708
+ ReleaseLifecycle?: RuntimeReleaseLifecycle | undefined;
709
+ /**
710
+ * The current state of the runtime.
711
+ * @public
712
+ */
713
+ State?: RuntimeState | undefined;
714
+ /**
715
+ * Present only when State is PENDING_DELETION. The date and time at which the runtime will be permanently deleted.
716
+ * @public
717
+ */
718
+ PendingDeletionAt?: string | undefined;
719
+ /**
720
+ * The date and time when the runtime was created.
721
+ * @public
722
+ */
723
+ Created: string | undefined;
724
+ /**
725
+ * The date and time when the runtime was last modified.
726
+ * @public
727
+ */
728
+ LastModified: string | undefined;
729
+ /**
730
+ * The unique identifier of the runtime.
731
+ * @public
732
+ */
733
+ Id?: string | undefined;
734
+ }
735
+ /**
736
+ * @public
737
+ */
738
+ export interface GetRuntimeAliasRequest {
739
+ /**
740
+ * The name or ARN of the runtime.
741
+ * @public
742
+ */
743
+ RuntimeName: string | undefined;
744
+ /**
745
+ * The name of the runtime alias to retrieve.
746
+ * @public
747
+ */
748
+ Name: string | undefined;
749
+ }
750
+ /**
751
+ * @public
752
+ */
753
+ export interface GetRuntimeAliasResponse {
754
+ /**
755
+ * The name of the runtime alias.
756
+ * @public
757
+ */
758
+ Name: string | undefined;
759
+ /**
760
+ * The Amazon Resource Name (ARN) of the runtime alias.
761
+ * @public
762
+ */
763
+ Arn: string | undefined;
764
+ /**
765
+ * The name of the runtime version the alias points to.
766
+ * @public
767
+ */
768
+ RuntimeVersion: string | undefined;
769
+ /**
770
+ * The Amazon Resource Name (ARN) of the runtime version the alias points to.
771
+ * @public
772
+ */
773
+ RuntimeVersionArn: string | undefined;
774
+ /**
775
+ * The current state of the runtime alias.
776
+ * @public
777
+ */
778
+ State: RuntimeAliasState | undefined;
779
+ /**
780
+ * Present only when State is PENDING_DELETION. The date and time at which the runtime alias will be permanently deleted.
781
+ * @public
782
+ */
783
+ PendingDeletionAt?: string | undefined;
784
+ /**
785
+ * A description of the runtime alias.
786
+ * @public
787
+ */
788
+ Description?: string | undefined;
789
+ /**
790
+ * The compatibility matrix of the runtime version the alias points to.
791
+ * @public
792
+ */
793
+ Compatibility?: Compatibility | undefined;
794
+ /**
795
+ * The runtime lifecycle for the alias. By default, this is inherited from the runtime lifecycle. Optionally, you can override the lifecycle information at the alias level, if required.
796
+ * @public
797
+ */
798
+ ReleaseLifecycle?: RuntimeReleaseLifecycle | undefined;
799
+ /**
800
+ * The date and time when the runtime alias was created.
801
+ * @public
802
+ */
803
+ Created: string | undefined;
804
+ /**
805
+ * The date and time when the runtime alias was last modified.
806
+ * @public
807
+ */
808
+ LastModified: string | undefined;
809
+ }
810
+ /**
811
+ * @public
812
+ */
813
+ export interface GetRuntimeVersionRequest {
814
+ /**
815
+ * The name or ARN of the runtime.
816
+ * @public
817
+ */
818
+ RuntimeName: string | undefined;
819
+ /**
820
+ * The name of the runtime version to retrieve.
821
+ * @public
822
+ */
823
+ Name: string | undefined;
824
+ }
825
+ /**
826
+ * @public
827
+ */
828
+ export interface GetRuntimeVersionResponse {
829
+ /**
830
+ * The name of the runtime version.
831
+ * @public
832
+ */
833
+ Name: string | undefined;
834
+ /**
835
+ * The Amazon Resource Name (ARN) of the runtime version.
836
+ * @public
837
+ */
838
+ Arn: string | undefined;
839
+ /**
840
+ * The resolved image URI of the runtime version.
841
+ * @public
842
+ */
843
+ ResolvedUri: string | undefined;
844
+ /**
845
+ * The current state of the runtime version.
846
+ * @public
847
+ */
848
+ State: RuntimeVersionState | undefined;
849
+ /**
850
+ * Present only when State is PENDING_DELETION. The date and time at which the runtime version will be permanently deleted.
851
+ * @public
852
+ */
853
+ PendingDeletionAt?: string | undefined;
854
+ /**
855
+ * The release notes associated with the runtime version.
856
+ * @public
857
+ */
858
+ ReleaseNotes?: string | undefined;
859
+ /**
860
+ * The platforms (architecture and OS combinations) available for the runtime version.
861
+ * @public
862
+ */
863
+ Platforms?: Platform[] | undefined;
864
+ /**
865
+ * The compatibility matrix of the runtime version.
866
+ * @public
867
+ */
868
+ Compatibility?: Compatibility | undefined;
869
+ /**
870
+ * The date and time when the runtime version was created.
871
+ * @public
872
+ */
873
+ Created: string | undefined;
874
+ /**
875
+ * The date and time when the runtime version was last modified.
876
+ * @public
877
+ */
878
+ LastModified: string | undefined;
879
+ }
880
+ /**
881
+ * @public
882
+ */
883
+ export interface ListRuntimesRequest {
884
+ /**
885
+ * The pagination token from a previous response. Use it to retrieve the next page of results.
886
+ * @public
887
+ */
888
+ NextToken?: string | undefined;
889
+ /**
890
+ * The maximum number of runtimes to return per page. Valid range: 1 to 100.
891
+ * @public
892
+ */
893
+ MaxResults?: number | undefined;
894
+ }
895
+ /**
896
+ * Summary information about a runtime returned by ListRuntimes.
897
+ * @public
898
+ */
899
+ export interface RuntimeInfo {
900
+ /**
901
+ * The Amazon Resource Name (ARN) of the runtime.
902
+ * @public
903
+ */
904
+ Arn: string | undefined;
905
+ /**
906
+ * The name of the runtime.
907
+ * @public
908
+ */
909
+ Name: string | undefined;
910
+ /**
911
+ * The description of the runtime.
912
+ * @public
913
+ */
914
+ Description?: string | undefined;
915
+ /**
916
+ * The license information for the runtime.
917
+ * @public
918
+ */
919
+ LicenseInfo?: string | undefined;
920
+ /**
921
+ * The runtime lifecycle for the runtime. Used to schedule runtime deprecation.
922
+ * @public
923
+ */
924
+ ReleaseLifecycle?: RuntimeReleaseLifecycle | undefined;
925
+ /**
926
+ * The current state of the runtime.
927
+ * @public
928
+ */
929
+ State?: RuntimeState | undefined;
930
+ /**
931
+ * Present only when State is PENDING_DELETION. The date and time at which the runtime will be permanently deleted.
932
+ * @public
933
+ */
934
+ PendingDeletionAt?: string | undefined;
935
+ /**
936
+ * The date and time when the runtime was created.
937
+ * @public
938
+ */
939
+ Created: string | undefined;
940
+ /**
941
+ * The date and time when the runtime was last modified.
942
+ * @public
943
+ */
944
+ LastModified: string | undefined;
945
+ }
946
+ /**
947
+ * @public
948
+ */
949
+ export interface ListRuntimesResponse {
950
+ /**
951
+ * The pagination token to include in a subsequent request to retrieve the next page of results.
952
+ * @public
953
+ */
954
+ NextToken?: string | undefined;
955
+ /**
956
+ * The list of runtimes for the current page of results.
957
+ * @public
958
+ */
959
+ Items: RuntimeInfo[] | undefined;
960
+ }
961
+ /**
962
+ * @public
963
+ */
964
+ export interface RestoreRuntimeRequest {
965
+ /**
966
+ * The name or ARN of the runtime to restore. When RuntimeVersion or RuntimeAlias is specified, the runtime that owns the runtime version or runtime alias to restore.
967
+ * @public
968
+ */
969
+ RuntimeName: string | undefined;
970
+ /**
971
+ * Optional. Restores the named RuntimeVersion under RuntimeName. Mutually exclusive with RuntimeAlias; supplying both is rejected with InvalidParameterValueException.
972
+ * @public
973
+ */
974
+ RuntimeVersion?: string | undefined;
975
+ /**
976
+ * Optional. Restores the named RuntimeAlias under RuntimeName. Mutually exclusive with RuntimeVersion; supplying both is rejected with InvalidParameterValueException.
977
+ * @public
978
+ */
979
+ RuntimeAlias?: string | undefined;
980
+ }
981
+ /**
982
+ * @public
983
+ */
984
+ export interface RestoreRuntimeResponse {
985
+ /**
986
+ * The name or ARN of the runtime.
987
+ * @public
988
+ */
989
+ RuntimeName: string | undefined;
990
+ /**
991
+ * Echoed back only when the request supplied a RuntimeVersion qualifier.
992
+ * @public
993
+ */
994
+ RuntimeVersion?: string | undefined;
995
+ /**
996
+ * Echoed back only when the request supplied a RuntimeAlias qualifier.
997
+ * @public
998
+ */
999
+ RuntimeAlias?: string | undefined;
1000
+ /**
1001
+ * The fully qualified ARN of the resource that was restored (runtime, version, or alias).
1002
+ * @public
1003
+ */
1004
+ Arn: string | undefined;
1005
+ /**
1006
+ * The state of the restored resource, ACTIVE on success.
1007
+ * @public
1008
+ */
1009
+ State: RuntimeState | undefined;
1010
+ /**
1011
+ * The date and time when the restored resource was last modified.
1012
+ * @public
1013
+ */
1014
+ LastModified: string | undefined;
1015
+ }
1016
+ /**
1017
+ * @public
1018
+ */
1019
+ export interface ListRuntimeAliasesRequest {
1020
+ /**
1021
+ * The name or ARN of the runtime whose aliases to list.
1022
+ * @public
1023
+ */
1024
+ RuntimeName: string | undefined;
1025
+ /**
1026
+ * The pagination token from a previous response. Use it to retrieve the next page of results.
1027
+ * @public
1028
+ */
1029
+ NextToken?: string | undefined;
1030
+ /**
1031
+ * The maximum number of runtime aliases to return per page. Valid range: 1 to 100.
1032
+ * @public
1033
+ */
1034
+ MaxResults?: number | undefined;
1035
+ }
1036
+ /**
1037
+ * Summary information about a runtime alias returned by ListRuntimeAliases.
1038
+ * @public
1039
+ */
1040
+ export interface RuntimeAliasInfo {
1041
+ /**
1042
+ * The name of the runtime alias.
1043
+ * @public
1044
+ */
1045
+ Name: string | undefined;
1046
+ /**
1047
+ * The Amazon Resource Name (ARN) of the runtime alias.
1048
+ * @public
1049
+ */
1050
+ Arn: string | undefined;
1051
+ /**
1052
+ * The name of the runtime version the alias points to.
1053
+ * @public
1054
+ */
1055
+ RuntimeVersion: string | undefined;
1056
+ /**
1057
+ * The Amazon Resource Name (ARN) of the runtime version the alias points to.
1058
+ * @public
1059
+ */
1060
+ RuntimeVersionArn: string | undefined;
1061
+ /**
1062
+ * The current state of the runtime alias.
1063
+ * @public
1064
+ */
1065
+ State: RuntimeAliasState | undefined;
1066
+ /**
1067
+ * Present only when State is PENDING_DELETION. The date and time at which the runtime alias will be permanently deleted.
1068
+ * @public
1069
+ */
1070
+ PendingDeletionAt?: string | undefined;
1071
+ /**
1072
+ * A description of the runtime alias.
1073
+ * @public
1074
+ */
1075
+ Description?: string | undefined;
1076
+ /**
1077
+ * The compatibility matrix of the runtime version the alias points to.
1078
+ * @public
1079
+ */
1080
+ Compatibility?: Compatibility | undefined;
1081
+ /**
1082
+ * The lifecycle for the alias. By default, this is inherited from the runtime lifecycle. Optionally, you can override the lifecycle information at the alias level, if required.
1083
+ * @public
1084
+ */
1085
+ ReleaseLifecycle?: RuntimeReleaseLifecycle | undefined;
1086
+ /**
1087
+ * The date and time when the runtime alias was created.
1088
+ * @public
1089
+ */
1090
+ Created: string | undefined;
1091
+ /**
1092
+ * The date and time when the runtime alias was last modified.
1093
+ * @public
1094
+ */
1095
+ LastModified: string | undefined;
1096
+ }
1097
+ /**
1098
+ * @public
1099
+ */
1100
+ export interface ListRuntimeAliasesResponse {
1101
+ /**
1102
+ * The list of runtime aliases for the current page of results.
1103
+ * @public
1104
+ */
1105
+ Items: RuntimeAliasInfo[] | undefined;
1106
+ /**
1107
+ * The pagination token to include in a subsequent request to retrieve the next page of results.
1108
+ * @public
1109
+ */
1110
+ NextToken?: string | undefined;
1111
+ }
1112
+ /**
1113
+ * @public
1114
+ */
1115
+ export interface UpdateRuntimeAliasRequest {
1116
+ /**
1117
+ * The name or ARN of the runtime.
1118
+ * @public
1119
+ */
1120
+ RuntimeName: string | undefined;
1121
+ /**
1122
+ * The name of the runtime alias to update.
1123
+ * @public
1124
+ */
1125
+ Name: string | undefined;
1126
+ /**
1127
+ * The name of the runtime version the alias should point to.
1128
+ * @public
1129
+ */
1130
+ RuntimeVersion: string | undefined;
1131
+ /**
1132
+ * A description of the runtime alias.
1133
+ * @public
1134
+ */
1135
+ Description?: string | undefined;
1136
+ /**
1137
+ * The lifecycle for the alias. By default, this is inherited from the runtime lifecycle. Optionally, you can override the lifecycle information at the alias level, if required. Omitting or providing an empty object removes the existing lifecycle override.
1138
+ * @public
1139
+ */
1140
+ ReleaseLifecycle?: RuntimeReleaseLifecycle | undefined;
1141
+ }
1142
+ /**
1143
+ * @public
1144
+ */
1145
+ export interface UpdateRuntimeAliasResponse {
1146
+ /**
1147
+ * The name of the runtime.
1148
+ * @public
1149
+ */
1150
+ RuntimeName: string | undefined;
1151
+ /**
1152
+ * The name of the runtime alias.
1153
+ * @public
1154
+ */
1155
+ Name: string | undefined;
1156
+ /**
1157
+ * The Amazon Resource Name (ARN) of the runtime alias.
1158
+ * @public
1159
+ */
1160
+ Arn: string | undefined;
1161
+ /**
1162
+ * The name of the runtime version the alias points to.
1163
+ * @public
1164
+ */
1165
+ RuntimeVersion: string | undefined;
1166
+ /**
1167
+ * The Amazon Resource Name (ARN) of the runtime version the alias points to.
1168
+ * @public
1169
+ */
1170
+ RuntimeVersionArn: string | undefined;
1171
+ /**
1172
+ * The current state of the runtime alias.
1173
+ * @public
1174
+ */
1175
+ State: RuntimeAliasState | undefined;
1176
+ /**
1177
+ * A description of the runtime alias.
1178
+ * @public
1179
+ */
1180
+ Description?: string | undefined;
1181
+ /**
1182
+ * The compatibility matrix of the runtime version the alias points to.
1183
+ * @public
1184
+ */
1185
+ Compatibility?: Compatibility | undefined;
1186
+ /**
1187
+ * The runtime lifecycle for the alias. By default, this is inherited from the runtime lifecycle. Optionally, you can override the lifecycle information at the alias level, if required.
1188
+ * @public
1189
+ */
1190
+ ReleaseLifecycle?: RuntimeReleaseLifecycle | undefined;
1191
+ /**
1192
+ * The date and time when the runtime alias was created.
1193
+ * @public
1194
+ */
1195
+ Created: string | undefined;
1196
+ /**
1197
+ * The date and time when the runtime alias was last modified.
1198
+ * @public
1199
+ */
1200
+ LastModified: string | undefined;
1201
+ }
1202
+ /**
1203
+ * @public
1204
+ */
1205
+ export interface ListRuntimeVersionsRequest {
1206
+ /**
1207
+ * The name or ARN of the runtime whose versions to list.
1208
+ * @public
1209
+ */
1210
+ RuntimeName: string | undefined;
1211
+ /**
1212
+ * The pagination token from a previous response. Use it to retrieve the next page of results.
1213
+ * @public
1214
+ */
1215
+ NextToken?: string | undefined;
1216
+ /**
1217
+ * The maximum number of runtime versions to return per page. Valid range: 1 to 100.
1218
+ * @public
1219
+ */
1220
+ MaxResults?: number | undefined;
1221
+ }
1222
+ /**
1223
+ * Summary information about a runtime version returned by ListRuntimeVersions.
1224
+ * @public
1225
+ */
1226
+ export interface RuntimeVersionInfo {
1227
+ /**
1228
+ * The name of the runtime version.
1229
+ * @public
1230
+ */
1231
+ Name: string | undefined;
1232
+ /**
1233
+ * The Amazon Resource Name (ARN) of the runtime version.
1234
+ * @public
1235
+ */
1236
+ Arn: string | undefined;
1237
+ /**
1238
+ * The resolved image URI of the runtime version.
1239
+ * @public
1240
+ */
1241
+ ResolvedUri: string | undefined;
1242
+ /**
1243
+ * The current state of the runtime version.
1244
+ * @public
1245
+ */
1246
+ State: RuntimeVersionState | undefined;
1247
+ /**
1248
+ * Present only when State is PENDING_DELETION. The date and time at which the runtime version will be permanently deleted.
1249
+ * @public
1250
+ */
1251
+ PendingDeletionAt?: string | undefined;
1252
+ /**
1253
+ * The release notes associated with the runtime version.
1254
+ * @public
1255
+ */
1256
+ ReleaseNotes?: string | undefined;
1257
+ /**
1258
+ * The compatibility matrix of the runtime version.
1259
+ * @public
1260
+ */
1261
+ Compatibility?: Compatibility | undefined;
1262
+ /**
1263
+ * The date and time when the runtime version was created.
1264
+ * @public
1265
+ */
1266
+ Created: string | undefined;
1267
+ /**
1268
+ * The date and time when the runtime version was last modified.
1269
+ * @public
1270
+ */
1271
+ LastModified: string | undefined;
1272
+ }
1273
+ /**
1274
+ * @public
1275
+ */
1276
+ export interface ListRuntimeVersionsResponse {
1277
+ /**
1278
+ * The list of runtime versions for the current page of results.
1279
+ * @public
1280
+ */
1281
+ Items: RuntimeVersionInfo[] | undefined;
1282
+ /**
1283
+ * The pagination token to include in a subsequent request to retrieve the next page of results.
1284
+ * @public
1285
+ */
1286
+ NextToken?: string | undefined;
1287
+ }
1288
+ /**
1289
+ * @public
1290
+ */
1291
+ export interface UpdateRuntimeVersionRequest {
1292
+ /**
1293
+ * The name or ARN of the runtime.
1294
+ * @public
1295
+ */
1296
+ RuntimeName: string | undefined;
1297
+ /**
1298
+ * The name of the runtime version to update.
1299
+ * @public
1300
+ */
1301
+ Name: string | undefined;
1302
+ /**
1303
+ * The release notes to associate with the runtime version.
1304
+ * @public
1305
+ */
1306
+ ReleaseNotes: string | undefined;
1307
+ }
1308
+ /**
1309
+ * @public
1310
+ */
1311
+ export interface UpdateRuntimeVersionResponse {
1312
+ /**
1313
+ * The name of the runtime version.
1314
+ * @public
1315
+ */
1316
+ Name: string | undefined;
1317
+ /**
1318
+ * The Amazon Resource Name (ARN) of the runtime version.
1319
+ * @public
1320
+ */
1321
+ Arn: string | undefined;
1322
+ /**
1323
+ * The resolved image URI of the runtime version.
1324
+ * @public
1325
+ */
1326
+ ResolvedUri: string | undefined;
1327
+ /**
1328
+ * The current state of the runtime version.
1329
+ * @public
1330
+ */
1331
+ State: RuntimeVersionState | undefined;
1332
+ /**
1333
+ * The release notes associated with the runtime version.
1334
+ * @public
1335
+ */
1336
+ ReleaseNotes?: string | undefined;
1337
+ /**
1338
+ * The platforms (architecture and OS combinations) available for the runtime version.
1339
+ * @public
1340
+ */
1341
+ Platforms?: Platform[] | undefined;
1342
+ /**
1343
+ * The compatibility matrix of the runtime version.
1344
+ * @public
1345
+ */
1346
+ Compatibility?: Compatibility | undefined;
1347
+ /**
1348
+ * The date and time when the runtime version was created.
1349
+ * @public
1350
+ */
1351
+ Created: string | undefined;
1352
+ /**
1353
+ * The date and time when the runtime version was last modified.
1354
+ * @public
1355
+ */
1356
+ LastModified: string | undefined;
1357
+ }
1358
+ /**
1359
+ * @public
1360
+ */
1361
+ export interface UpdateRuntimeRequest {
1362
+ /**
1363
+ * The name or ARN of the runtime to update.
1364
+ * @public
1365
+ */
1366
+ RuntimeName: string | undefined;
1367
+ /**
1368
+ * The updated description of the runtime.
1369
+ * @public
1370
+ */
1371
+ Description?: string | undefined;
1372
+ /**
1373
+ * The updated license information for the runtime.
1374
+ * @public
1375
+ */
1376
+ LicenseInfo?: string | undefined;
1377
+ /**
1378
+ * The runtime lifecycle for the runtime. Optional. Used to schedule runtime deprecation. Omitting or providing an empty object removes the existing lifecycle.
1379
+ * @public
1380
+ */
1381
+ ReleaseLifecycle?: RuntimeReleaseLifecycle | undefined;
1382
+ }
1383
+ /**
1384
+ * @public
1385
+ */
1386
+ export interface UpdateRuntimeResponse {
1387
+ /**
1388
+ * The Amazon Resource Name (ARN) of the runtime.
1389
+ * @public
1390
+ */
1391
+ Arn: string | undefined;
1392
+ /**
1393
+ * The name of the runtime.
1394
+ * @public
1395
+ */
1396
+ Name: string | undefined;
1397
+ /**
1398
+ * The description of the runtime.
1399
+ * @public
1400
+ */
1401
+ Description?: string | undefined;
1402
+ /**
1403
+ * The license information for the runtime.
1404
+ * @public
1405
+ */
1406
+ LicenseInfo?: string | undefined;
1407
+ /**
1408
+ * The runtime lifecycle for the runtime. Used to schedule runtime deprecation.
1409
+ * @public
1410
+ */
1411
+ ReleaseLifecycle?: RuntimeReleaseLifecycle | undefined;
1412
+ /**
1413
+ * The date and time when the runtime was created.
1414
+ * @public
1415
+ */
1416
+ Created: string | undefined;
1417
+ /**
1418
+ * The date and time when the runtime was last modified.
1419
+ * @public
1420
+ */
1421
+ LastModified: string | undefined;
1422
+ }
286
1423
  /**
287
1424
  * @public
288
1425
  */