@aws-sdk/client-mwaa 3.301.0 → 3.305.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.
@@ -22,13 +22,14 @@ export declare class ResourceNotFoundException extends __BaseException {
22
22
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
23
23
  );
24
24
  }
25
- export declare enum LoggingLevel {
26
- CRITICAL = "CRITICAL",
27
- DEBUG = "DEBUG",
28
- ERROR = "ERROR",
29
- INFO = "INFO",
30
- WARNING = "WARNING",
31
- }
25
+ export declare const LoggingLevel: {
26
+ readonly CRITICAL: "CRITICAL";
27
+ readonly DEBUG: "DEBUG";
28
+ readonly ERROR: "ERROR";
29
+ readonly INFO: "INFO";
30
+ readonly WARNING: "WARNING";
31
+ };
32
+ export type LoggingLevel = (typeof LoggingLevel)[keyof typeof LoggingLevel];
32
33
  export interface ModuleLoggingConfigurationInput {
33
34
  Enabled: boolean | undefined;
34
35
  LogLevel: LoggingLevel | string | undefined;
@@ -44,10 +45,12 @@ export interface NetworkConfiguration {
44
45
  SubnetIds?: string[];
45
46
  SecurityGroupIds?: string[];
46
47
  }
47
- export declare enum WebserverAccessMode {
48
- PRIVATE_ONLY = "PRIVATE_ONLY",
49
- PUBLIC_ONLY = "PUBLIC_ONLY",
50
- }
48
+ export declare const WebserverAccessMode: {
49
+ readonly PRIVATE_ONLY: "PRIVATE_ONLY";
50
+ readonly PUBLIC_ONLY: "PUBLIC_ONLY";
51
+ };
52
+ export type WebserverAccessMode =
53
+ (typeof WebserverAccessMode)[keyof typeof WebserverAccessMode];
51
54
  export interface CreateEnvironmentInput {
52
55
  Name: string | undefined;
53
56
  ExecutionRoleArn: string | undefined;
@@ -58,6 +61,8 @@ export interface CreateEnvironmentInput {
58
61
  PluginsS3ObjectVersion?: string;
59
62
  RequirementsS3Path?: string;
60
63
  RequirementsS3ObjectVersion?: string;
64
+ StartupScriptS3Path?: string;
65
+ StartupScriptS3ObjectVersion?: string;
61
66
  AirflowConfigurationOptions?: Record<string, string>;
62
67
  EnvironmentClass?: string;
63
68
  MaxWorkers?: number;
@@ -105,11 +110,12 @@ export interface UpdateError {
105
110
  ErrorCode?: string;
106
111
  ErrorMessage?: string;
107
112
  }
108
- export declare enum UpdateStatus {
109
- FAILED = "FAILED",
110
- PENDING = "PENDING",
111
- SUCCESS = "SUCCESS",
112
- }
113
+ export declare const UpdateStatus: {
114
+ readonly FAILED: "FAILED";
115
+ readonly PENDING: "PENDING";
116
+ readonly SUCCESS: "SUCCESS";
117
+ };
118
+ export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
113
119
  export interface LastUpdate {
114
120
  Status?: UpdateStatus | string;
115
121
  CreatedAt?: Date;
@@ -128,16 +134,18 @@ export interface LoggingConfiguration {
128
134
  WorkerLogs?: ModuleLoggingConfiguration;
129
135
  TaskLogs?: ModuleLoggingConfiguration;
130
136
  }
131
- export declare enum EnvironmentStatus {
132
- AVAILABLE = "AVAILABLE",
133
- CREATE_FAILED = "CREATE_FAILED",
134
- CREATING = "CREATING",
135
- DELETED = "DELETED",
136
- DELETING = "DELETING",
137
- UNAVAILABLE = "UNAVAILABLE",
138
- UPDATE_FAILED = "UPDATE_FAILED",
139
- UPDATING = "UPDATING",
140
- }
137
+ export declare const EnvironmentStatus: {
138
+ readonly AVAILABLE: "AVAILABLE";
139
+ readonly CREATE_FAILED: "CREATE_FAILED";
140
+ readonly CREATING: "CREATING";
141
+ readonly DELETED: "DELETED";
142
+ readonly DELETING: "DELETING";
143
+ readonly UNAVAILABLE: "UNAVAILABLE";
144
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
145
+ readonly UPDATING: "UPDATING";
146
+ };
147
+ export type EnvironmentStatus =
148
+ (typeof EnvironmentStatus)[keyof typeof EnvironmentStatus];
141
149
  export interface Environment {
142
150
  Name?: string;
143
151
  Status?: EnvironmentStatus | string;
@@ -154,6 +162,8 @@ export interface Environment {
154
162
  PluginsS3ObjectVersion?: string;
155
163
  RequirementsS3Path?: string;
156
164
  RequirementsS3ObjectVersion?: string;
165
+ StartupScriptS3Path?: string;
166
+ StartupScriptS3ObjectVersion?: string;
157
167
  AirflowConfigurationOptions?: Record<string, string>;
158
168
  EnvironmentClass?: string;
159
169
  MaxWorkers?: number;
@@ -193,35 +203,36 @@ export interface StatisticSet {
193
203
  Minimum?: number;
194
204
  Maximum?: number;
195
205
  }
196
- export declare enum Unit {
197
- BITS = "Bits",
198
- BITS_PER_SECOND = "Bits/Second",
199
- BYTES = "Bytes",
200
- BYTES_PER_SECOND = "Bytes/Second",
201
- COUNT = "Count",
202
- COUNT_PER_SECOND = "Count/Second",
203
- GIGABITS = "Gigabits",
204
- GIGABITS_PER_SECOND = "Gigabits/Second",
205
- GIGABYTES = "Gigabytes",
206
- GIGABYTES_PER_SECOND = "Gigabytes/Second",
207
- KILOBITS = "Kilobits",
208
- KILOBITS_PER_SECOND = "Kilobits/Second",
209
- KILOBYTES = "Kilobytes",
210
- KILOBYTES_PER_SECOND = "Kilobytes/Second",
211
- MEGABITS = "Megabits",
212
- MEGABITS_PER_SECOND = "Megabits/Second",
213
- MEGABYTES = "Megabytes",
214
- MEGABYTES_PER_SECOND = "Megabytes/Second",
215
- MICROSECONDS = "Microseconds",
216
- MILLISECONDS = "Milliseconds",
217
- NONE = "None",
218
- PERCENT = "Percent",
219
- SECONDS = "Seconds",
220
- TERABITS = "Terabits",
221
- TERABITS_PER_SECOND = "Terabits/Second",
222
- TERABYTES = "Terabytes",
223
- TERABYTES_PER_SECOND = "Terabytes/Second",
224
- }
206
+ export declare const Unit: {
207
+ readonly BITS: "Bits";
208
+ readonly BITS_PER_SECOND: "Bits/Second";
209
+ readonly BYTES: "Bytes";
210
+ readonly BYTES_PER_SECOND: "Bytes/Second";
211
+ readonly COUNT: "Count";
212
+ readonly COUNT_PER_SECOND: "Count/Second";
213
+ readonly GIGABITS: "Gigabits";
214
+ readonly GIGABITS_PER_SECOND: "Gigabits/Second";
215
+ readonly GIGABYTES: "Gigabytes";
216
+ readonly GIGABYTES_PER_SECOND: "Gigabytes/Second";
217
+ readonly KILOBITS: "Kilobits";
218
+ readonly KILOBITS_PER_SECOND: "Kilobits/Second";
219
+ readonly KILOBYTES: "Kilobytes";
220
+ readonly KILOBYTES_PER_SECOND: "Kilobytes/Second";
221
+ readonly MEGABITS: "Megabits";
222
+ readonly MEGABITS_PER_SECOND: "Megabits/Second";
223
+ readonly MEGABYTES: "Megabytes";
224
+ readonly MEGABYTES_PER_SECOND: "Megabytes/Second";
225
+ readonly MICROSECONDS: "Microseconds";
226
+ readonly MILLISECONDS: "Milliseconds";
227
+ readonly NONE: "None";
228
+ readonly PERCENT: "Percent";
229
+ readonly SECONDS: "Seconds";
230
+ readonly TERABITS: "Terabits";
231
+ readonly TERABITS_PER_SECOND: "Terabits/Second";
232
+ readonly TERABYTES: "Terabytes";
233
+ readonly TERABYTES_PER_SECOND: "Terabytes/Second";
234
+ };
235
+ export type Unit = (typeof Unit)[keyof typeof Unit];
225
236
  export interface MetricDatum {
226
237
  MetricName: string | undefined;
227
238
  Timestamp: Date | undefined;
@@ -258,6 +269,8 @@ export interface UpdateEnvironmentInput {
258
269
  PluginsS3ObjectVersion?: string;
259
270
  RequirementsS3Path?: string;
260
271
  RequirementsS3ObjectVersion?: string;
272
+ StartupScriptS3Path?: string;
273
+ StartupScriptS3ObjectVersion?: string;
261
274
  AirflowConfigurationOptions?: Record<string, string>;
262
275
  EnvironmentClass?: string;
263
276
  MaxWorkers?: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mwaa",
3
3
  "description": "AWS SDK for JavaScript Mwaa Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.305.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",