@aws-sdk/client-lambda-core 3.1167.0 → 3.1169.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 +649 -18
  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 +36 -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 +365 -16
  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 +1 -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 +2 -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 +1 -1
  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 +1 -1
  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 +2 -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 +158 -0
  58. package/dist-types/models/errors.d.ts +33 -2
  59. package/dist-types/models/models_0.d.ts +1122 -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 +55 -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 +43 -0
  86. package/dist-types/ts3.4/models/errors.d.ts +8 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +265 -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 +55 -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
@@ -16,6 +16,56 @@ export declare const ComputeResourceType: {
16
16
  * @public
17
17
  */
18
18
  export type ComputeResourceType = (typeof ComputeResourceType)[keyof typeof ComputeResourceType];
19
+ /**
20
+ * @public
21
+ * @enum
22
+ */
23
+ export declare const RuntimeArchitecture: {
24
+ /**
25
+ * 64-bit ARM architecture.
26
+ */
27
+ readonly arm64: "arm64";
28
+ /**
29
+ * 64-bit x86 architecture.
30
+ */
31
+ readonly x86_64: "x86_64";
32
+ };
33
+ /**
34
+ * @public
35
+ */
36
+ export type RuntimeArchitecture = (typeof RuntimeArchitecture)[keyof typeof RuntimeArchitecture];
37
+ /**
38
+ * @public
39
+ * @enum
40
+ */
41
+ export declare const IntegrationModel: {
42
+ /**
43
+ * (Functions) / Standard Lambda Runtime API integration
44
+ */
45
+ readonly RUNTIME_API: "RuntimeAPI";
46
+ };
47
+ /**
48
+ * @public
49
+ */
50
+ export type IntegrationModel = (typeof IntegrationModel)[keyof typeof IntegrationModel];
51
+ /**
52
+ * @public
53
+ * @enum
54
+ */
55
+ export declare const CompatibilityPolicy: {
56
+ /**
57
+ * The feature is not supported by the runtime
58
+ */
59
+ readonly NOT_SUPPORTED: "NotSupported";
60
+ /**
61
+ * The feature is supported by the runtime
62
+ */
63
+ readonly SUPPORTED: "Supported";
64
+ };
65
+ /**
66
+ * @public
67
+ */
68
+ export type CompatibilityPolicy = (typeof CompatibilityPolicy)[keyof typeof CompatibilityPolicy];
19
69
  /**
20
70
  * @public
21
71
  * @enum
@@ -84,6 +134,88 @@ export declare const ThrottleReason: {
84
134
  * @public
85
135
  */
86
136
  export type ThrottleReason = (typeof ThrottleReason)[keyof typeof ThrottleReason];
137
+ /**
138
+ * @public
139
+ * @enum
140
+ */
141
+ export declare const RuntimeReleaseState: {
142
+ /**
143
+ * The runtime is deprecated.
144
+ */
145
+ readonly DEPRECATED: "DEPRECATED";
146
+ /**
147
+ * The runtime is generally available.
148
+ */
149
+ readonly GA: "GA";
150
+ /**
151
+ * The runtime is in preview and not generally available.
152
+ */
153
+ readonly PREVIEW: "PREVIEW";
154
+ };
155
+ /**
156
+ * @public
157
+ */
158
+ export type RuntimeReleaseState = (typeof RuntimeReleaseState)[keyof typeof RuntimeReleaseState];
159
+ /**
160
+ * @public
161
+ * @enum
162
+ */
163
+ export declare const RuntimeAliasState: {
164
+ /**
165
+ * The runtime alias is active and available for use.
166
+ */
167
+ readonly ACTIVE: "ACTIVE";
168
+ /**
169
+ * The runtime alias is being created and is not yet available for use.
170
+ */
171
+ readonly CREATING: "CREATING";
172
+ /**
173
+ * The runtime alias is being deleted.
174
+ */
175
+ readonly DELETING: "DELETING";
176
+ /**
177
+ * The runtime alias is scheduled for deletion. It can be restored to ACTIVE state until the date and time specified in PendingDeletionAt. Function invokes fail for functions using the alias, and functions cannot be assigned to the alias.
178
+ */
179
+ readonly PENDING_DELETION: "PENDING_DELETION";
180
+ /**
181
+ * The runtime alias is being updated to point to a new runtime version.
182
+ */
183
+ readonly UPDATING: "UPDATING";
184
+ };
185
+ /**
186
+ * @public
187
+ */
188
+ export type RuntimeAliasState = (typeof RuntimeAliasState)[keyof typeof RuntimeAliasState];
189
+ /**
190
+ * @public
191
+ * @enum
192
+ */
193
+ export declare const RuntimeVersionState: {
194
+ /**
195
+ * The runtime version is active and available for use.
196
+ */
197
+ readonly ACTIVE: "ACTIVE";
198
+ /**
199
+ * The runtime version is being created.
200
+ */
201
+ readonly CREATING: "CREATING";
202
+ /**
203
+ * The runtime version is being deleted
204
+ */
205
+ readonly DELETING: "DELETING";
206
+ /**
207
+ * The runtime version creation failed.
208
+ */
209
+ readonly FAILED: "FAILED";
210
+ /**
211
+ * The runtime version is scheduled for deletion. It can be restored to ACTIVE state until the date and time specified in PendingDeletionAt. Function invokes fail for functions using the runtime version, and functions cannot be assigned to the runtime version.
212
+ */
213
+ readonly PENDING_DELETION: "PENDING_DELETION";
214
+ };
215
+ /**
216
+ * @public
217
+ */
218
+ export type RuntimeVersionState = (typeof RuntimeVersionState)[keyof typeof RuntimeVersionState];
87
219
  /**
88
220
  * @public
89
221
  * @enum
@@ -133,6 +265,32 @@ export declare const NetworkConnectorStateReasonCode: {
133
265
  * @public
134
266
  */
135
267
  export type NetworkConnectorStateReasonCode = (typeof NetworkConnectorStateReasonCode)[keyof typeof NetworkConnectorStateReasonCode];
268
+ /**
269
+ * @public
270
+ * @enum
271
+ */
272
+ export declare const RuntimeState: {
273
+ /**
274
+ * The runtime is active and available for use.
275
+ */
276
+ readonly ACTIVE: "ACTIVE";
277
+ /**
278
+ * The runtime is being deleted and can no longer be restored.
279
+ */
280
+ readonly DELETING: "DELETING";
281
+ /**
282
+ * The runtime deletion failed to complete because the runtime's versions were not removed in time. The runtime is no longer scheduled for deletion.
283
+ */
284
+ readonly FAILED: "FAILED";
285
+ /**
286
+ * The runtime is scheduled for deletion. It can be restored to ACTIVE state until the date and time specified in PendingDeletionAt.
287
+ */
288
+ readonly PENDING_DELETION: "PENDING_DELETION";
289
+ };
290
+ /**
291
+ * @public
292
+ */
293
+ export type RuntimeState = (typeof RuntimeState)[keyof typeof RuntimeState];
136
294
  /**
137
295
  * @public
138
296
  * @enum
@@ -38,7 +38,7 @@ export declare class NetworkConnectorLimitExceededException extends __BaseExcept
38
38
  constructor(opts: __ExceptionOptionType<NetworkConnectorLimitExceededException, __BaseException>);
39
39
  }
40
40
  /**
41
- * <p>The request could not be completed due to a conflict with the current state of the resource. For example, attempting to update a connector that is not in <code>ACTIVE</code> state.</p>
41
+ * <p>The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.</p>
42
42
  * @public
43
43
  */
44
44
  export declare class ResourceConflictException extends __BaseException {
@@ -68,6 +68,10 @@ export declare class ServiceException extends __BaseException {
68
68
  * @public
69
69
  */
70
70
  Type?: string | undefined;
71
+ /**
72
+ * <p>The error message that describes the exception.</p>
73
+ * @public
74
+ */
71
75
  Message?: string | undefined;
72
76
  /**
73
77
  * @internal
@@ -103,7 +107,30 @@ export declare class TooManyRequestsException extends __BaseException {
103
107
  constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
104
108
  }
105
109
  /**
106
- * <p>The specified network connector does not exist. Verify the identifier (ID, name, or ARN) and Region.</p>
110
+ * <p>The request would exceed a service quota for your account. Request a quota increase or reduce the number of resources in use, then retry the request.</p>
111
+ * @public
112
+ */
113
+ export declare class ServiceQuotaExceededException extends __BaseException {
114
+ static readonly shapeId: string;
115
+ readonly name: "ServiceQuotaExceededException";
116
+ readonly $fault: "client";
117
+ /**
118
+ * <p>The exception type.</p>
119
+ * @public
120
+ */
121
+ Type?: string | undefined;
122
+ /**
123
+ * <p>The error message that describes the exception.</p>
124
+ * @public
125
+ */
126
+ Message?: string | undefined;
127
+ /**
128
+ * @internal
129
+ */
130
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
131
+ }
132
+ /**
133
+ * <p>The specified resource does not exist. Verify the identifier and Region.</p>
107
134
  * @public
108
135
  */
109
136
  export declare class ResourceNotFoundException extends __BaseException {
@@ -115,6 +142,10 @@ export declare class ResourceNotFoundException extends __BaseException {
115
142
  * @public
116
143
  */
117
144
  Type?: string | undefined;
145
+ /**
146
+ * <p>The error message that describes the exception.</p>
147
+ * @public
148
+ */
118
149
  Message?: string | undefined;
119
150
  /**
120
151
  * @internal