@aws-sdk/client-mwaa 3.687.0 → 3.692.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.
@@ -4,7 +4,7 @@ import { MWAAServiceException as __BaseException } from "./MWAAServiceException"
4
4
  export declare class AccessDeniedException extends __BaseException {
5
5
  readonly name: "AccessDeniedException";
6
6
  readonly $fault: "client";
7
- Message?: string;
7
+ Message?: string | undefined;
8
8
  constructor(
9
9
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
10
10
  );
@@ -13,8 +13,8 @@ export interface CreateCliTokenRequest {
13
13
  Name: string | undefined;
14
14
  }
15
15
  export interface CreateCliTokenResponse {
16
- CliToken?: string;
17
- WebServerHostname?: string;
16
+ CliToken?: string | undefined;
17
+ WebServerHostname?: string | undefined;
18
18
  }
19
19
  export declare class ResourceNotFoundException extends __BaseException {
20
20
  readonly name: "ResourceNotFoundException";
@@ -42,15 +42,15 @@ export interface ModuleLoggingConfigurationInput {
42
42
  LogLevel: LoggingLevel | undefined;
43
43
  }
44
44
  export interface LoggingConfigurationInput {
45
- DagProcessingLogs?: ModuleLoggingConfigurationInput;
46
- SchedulerLogs?: ModuleLoggingConfigurationInput;
47
- WebserverLogs?: ModuleLoggingConfigurationInput;
48
- WorkerLogs?: ModuleLoggingConfigurationInput;
49
- TaskLogs?: ModuleLoggingConfigurationInput;
45
+ DagProcessingLogs?: ModuleLoggingConfigurationInput | undefined;
46
+ SchedulerLogs?: ModuleLoggingConfigurationInput | undefined;
47
+ WebserverLogs?: ModuleLoggingConfigurationInput | undefined;
48
+ WorkerLogs?: ModuleLoggingConfigurationInput | undefined;
49
+ TaskLogs?: ModuleLoggingConfigurationInput | undefined;
50
50
  }
51
51
  export interface NetworkConfiguration {
52
- SubnetIds?: string[];
53
- SecurityGroupIds?: string[];
52
+ SubnetIds?: string[] | undefined;
53
+ SecurityGroupIds?: string[] | undefined;
54
54
  }
55
55
  export declare const WebserverAccessMode: {
56
56
  readonly PRIVATE_ONLY: "PRIVATE_ONLY";
@@ -64,29 +64,29 @@ export interface CreateEnvironmentInput {
64
64
  SourceBucketArn: string | undefined;
65
65
  DagS3Path: string | undefined;
66
66
  NetworkConfiguration: NetworkConfiguration | undefined;
67
- PluginsS3Path?: string;
68
- PluginsS3ObjectVersion?: string;
69
- RequirementsS3Path?: string;
70
- RequirementsS3ObjectVersion?: string;
71
- StartupScriptS3Path?: string;
72
- StartupScriptS3ObjectVersion?: string;
73
- AirflowConfigurationOptions?: Record<string, string>;
74
- EnvironmentClass?: string;
75
- MaxWorkers?: number;
76
- KmsKey?: string;
77
- AirflowVersion?: string;
78
- LoggingConfiguration?: LoggingConfigurationInput;
79
- WeeklyMaintenanceWindowStart?: string;
80
- Tags?: Record<string, string>;
81
- WebserverAccessMode?: WebserverAccessMode;
82
- MinWorkers?: number;
83
- Schedulers?: number;
84
- EndpointManagement?: EndpointManagement;
85
- MinWebservers?: number;
86
- MaxWebservers?: number;
67
+ PluginsS3Path?: string | undefined;
68
+ PluginsS3ObjectVersion?: string | undefined;
69
+ RequirementsS3Path?: string | undefined;
70
+ RequirementsS3ObjectVersion?: string | undefined;
71
+ StartupScriptS3Path?: string | undefined;
72
+ StartupScriptS3ObjectVersion?: string | undefined;
73
+ AirflowConfigurationOptions?: Record<string, string> | undefined;
74
+ EnvironmentClass?: string | undefined;
75
+ MaxWorkers?: number | undefined;
76
+ KmsKey?: string | undefined;
77
+ AirflowVersion?: string | undefined;
78
+ LoggingConfiguration?: LoggingConfigurationInput | undefined;
79
+ WeeklyMaintenanceWindowStart?: string | undefined;
80
+ Tags?: Record<string, string> | undefined;
81
+ WebserverAccessMode?: WebserverAccessMode | undefined;
82
+ MinWorkers?: number | undefined;
83
+ Schedulers?: number | undefined;
84
+ EndpointManagement?: EndpointManagement | undefined;
85
+ MinWebservers?: number | undefined;
86
+ MaxWebservers?: number | undefined;
87
87
  }
88
88
  export interface CreateEnvironmentOutput {
89
- Arn?: string;
89
+ Arn?: string | undefined;
90
90
  }
91
91
  export declare class InternalServerException extends __BaseException {
92
92
  readonly name: "InternalServerException";
@@ -106,10 +106,10 @@ export interface CreateWebLoginTokenRequest {
106
106
  Name: string | undefined;
107
107
  }
108
108
  export interface CreateWebLoginTokenResponse {
109
- WebToken?: string;
110
- WebServerHostname?: string;
111
- IamIdentity?: string;
112
- AirflowIdentity?: string;
109
+ WebToken?: string | undefined;
110
+ WebServerHostname?: string | undefined;
111
+ IamIdentity?: string | undefined;
112
+ AirflowIdentity?: string | undefined;
113
113
  }
114
114
  export interface DeleteEnvironmentInput {
115
115
  Name: string | undefined;
@@ -119,8 +119,8 @@ export interface GetEnvironmentInput {
119
119
  Name: string | undefined;
120
120
  }
121
121
  export interface UpdateError {
122
- ErrorCode?: string;
123
- ErrorMessage?: string;
122
+ ErrorCode?: string | undefined;
123
+ ErrorMessage?: string | undefined;
124
124
  }
125
125
  export declare const UpdateStatus: {
126
126
  readonly FAILED: "FAILED";
@@ -129,22 +129,22 @@ export declare const UpdateStatus: {
129
129
  };
130
130
  export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
131
131
  export interface LastUpdate {
132
- Status?: UpdateStatus;
133
- CreatedAt?: Date;
134
- Error?: UpdateError;
135
- Source?: string;
132
+ Status?: UpdateStatus | undefined;
133
+ CreatedAt?: Date | undefined;
134
+ Error?: UpdateError | undefined;
135
+ Source?: string | undefined;
136
136
  }
137
137
  export interface ModuleLoggingConfiguration {
138
- Enabled?: boolean;
139
- LogLevel?: LoggingLevel;
140
- CloudWatchLogGroupArn?: string;
138
+ Enabled?: boolean | undefined;
139
+ LogLevel?: LoggingLevel | undefined;
140
+ CloudWatchLogGroupArn?: string | undefined;
141
141
  }
142
142
  export interface LoggingConfiguration {
143
- DagProcessingLogs?: ModuleLoggingConfiguration;
144
- SchedulerLogs?: ModuleLoggingConfiguration;
145
- WebserverLogs?: ModuleLoggingConfiguration;
146
- WorkerLogs?: ModuleLoggingConfiguration;
147
- TaskLogs?: ModuleLoggingConfiguration;
143
+ DagProcessingLogs?: ModuleLoggingConfiguration | undefined;
144
+ SchedulerLogs?: ModuleLoggingConfiguration | undefined;
145
+ WebserverLogs?: ModuleLoggingConfiguration | undefined;
146
+ WorkerLogs?: ModuleLoggingConfiguration | undefined;
147
+ TaskLogs?: ModuleLoggingConfiguration | undefined;
148
148
  }
149
149
  export declare const EnvironmentStatus: {
150
150
  readonly AVAILABLE: "AVAILABLE";
@@ -163,43 +163,43 @@ export declare const EnvironmentStatus: {
163
163
  export type EnvironmentStatus =
164
164
  (typeof EnvironmentStatus)[keyof typeof EnvironmentStatus];
165
165
  export interface Environment {
166
- Name?: string;
167
- Status?: EnvironmentStatus;
168
- Arn?: string;
169
- CreatedAt?: Date;
170
- WebserverUrl?: string;
171
- ExecutionRoleArn?: string;
172
- ServiceRoleArn?: string;
173
- KmsKey?: string;
174
- AirflowVersion?: string;
175
- SourceBucketArn?: string;
176
- DagS3Path?: string;
177
- PluginsS3Path?: string;
178
- PluginsS3ObjectVersion?: string;
179
- RequirementsS3Path?: string;
180
- RequirementsS3ObjectVersion?: string;
181
- StartupScriptS3Path?: string;
182
- StartupScriptS3ObjectVersion?: string;
183
- AirflowConfigurationOptions?: Record<string, string>;
184
- EnvironmentClass?: string;
185
- MaxWorkers?: number;
186
- NetworkConfiguration?: NetworkConfiguration;
187
- LoggingConfiguration?: LoggingConfiguration;
188
- LastUpdate?: LastUpdate;
189
- WeeklyMaintenanceWindowStart?: string;
190
- Tags?: Record<string, string>;
191
- WebserverAccessMode?: WebserverAccessMode;
192
- MinWorkers?: number;
193
- Schedulers?: number;
194
- WebserverVpcEndpointService?: string;
195
- DatabaseVpcEndpointService?: string;
196
- CeleryExecutorQueue?: string;
197
- EndpointManagement?: EndpointManagement;
198
- MinWebservers?: number;
199
- MaxWebservers?: number;
166
+ Name?: string | undefined;
167
+ Status?: EnvironmentStatus | undefined;
168
+ Arn?: string | undefined;
169
+ CreatedAt?: Date | undefined;
170
+ WebserverUrl?: string | undefined;
171
+ ExecutionRoleArn?: string | undefined;
172
+ ServiceRoleArn?: string | undefined;
173
+ KmsKey?: string | undefined;
174
+ AirflowVersion?: string | undefined;
175
+ SourceBucketArn?: string | undefined;
176
+ DagS3Path?: string | undefined;
177
+ PluginsS3Path?: string | undefined;
178
+ PluginsS3ObjectVersion?: string | undefined;
179
+ RequirementsS3Path?: string | undefined;
180
+ RequirementsS3ObjectVersion?: string | undefined;
181
+ StartupScriptS3Path?: string | undefined;
182
+ StartupScriptS3ObjectVersion?: string | undefined;
183
+ AirflowConfigurationOptions?: Record<string, string> | undefined;
184
+ EnvironmentClass?: string | undefined;
185
+ MaxWorkers?: number | undefined;
186
+ NetworkConfiguration?: NetworkConfiguration | undefined;
187
+ LoggingConfiguration?: LoggingConfiguration | undefined;
188
+ LastUpdate?: LastUpdate | undefined;
189
+ WeeklyMaintenanceWindowStart?: string | undefined;
190
+ Tags?: Record<string, string> | undefined;
191
+ WebserverAccessMode?: WebserverAccessMode | undefined;
192
+ MinWorkers?: number | undefined;
193
+ Schedulers?: number | undefined;
194
+ WebserverVpcEndpointService?: string | undefined;
195
+ DatabaseVpcEndpointService?: string | undefined;
196
+ CeleryExecutorQueue?: string | undefined;
197
+ EndpointManagement?: EndpointManagement | undefined;
198
+ MinWebservers?: number | undefined;
199
+ MaxWebservers?: number | undefined;
200
200
  }
201
201
  export interface GetEnvironmentOutput {
202
- Environment?: Environment;
202
+ Environment?: Environment | undefined;
203
203
  }
204
204
  export declare const RestApiMethod: {
205
205
  readonly DELETE: "DELETE";
@@ -213,18 +213,18 @@ export interface InvokeRestApiRequest {
213
213
  Name: string | undefined;
214
214
  Path: string | undefined;
215
215
  Method: RestApiMethod | undefined;
216
- QueryParameters?: __DocumentType;
217
- Body?: __DocumentType;
216
+ QueryParameters?: __DocumentType | undefined;
217
+ Body?: __DocumentType | undefined;
218
218
  }
219
219
  export interface InvokeRestApiResponse {
220
- RestApiStatusCode?: number;
221
- RestApiResponse?: __DocumentType;
220
+ RestApiStatusCode?: number | undefined;
221
+ RestApiResponse?: __DocumentType | undefined;
222
222
  }
223
223
  export declare class RestApiClientException extends __BaseException {
224
224
  readonly name: "RestApiClientException";
225
225
  readonly $fault: "client";
226
- RestApiStatusCode?: number;
227
- RestApiResponse?: __DocumentType;
226
+ RestApiStatusCode?: number | undefined;
227
+ RestApiResponse?: __DocumentType | undefined;
228
228
  constructor(
229
229
  opts: __ExceptionOptionType<RestApiClientException, __BaseException>
230
230
  );
@@ -232,35 +232,35 @@ export declare class RestApiClientException extends __BaseException {
232
232
  export declare class RestApiServerException extends __BaseException {
233
233
  readonly name: "RestApiServerException";
234
234
  readonly $fault: "client";
235
- RestApiStatusCode?: number;
236
- RestApiResponse?: __DocumentType;
235
+ RestApiStatusCode?: number | undefined;
236
+ RestApiResponse?: __DocumentType | undefined;
237
237
  constructor(
238
238
  opts: __ExceptionOptionType<RestApiServerException, __BaseException>
239
239
  );
240
240
  }
241
241
  export interface ListEnvironmentsInput {
242
- NextToken?: string;
243
- MaxResults?: number;
242
+ NextToken?: string | undefined;
243
+ MaxResults?: number | undefined;
244
244
  }
245
245
  export interface ListEnvironmentsOutput {
246
246
  Environments: string[] | undefined;
247
- NextToken?: string;
247
+ NextToken?: string | undefined;
248
248
  }
249
249
  export interface ListTagsForResourceInput {
250
250
  ResourceArn: string | undefined;
251
251
  }
252
252
  export interface ListTagsForResourceOutput {
253
- Tags?: Record<string, string>;
253
+ Tags?: Record<string, string> | undefined;
254
254
  }
255
255
  export interface Dimension {
256
256
  Name: string | undefined;
257
257
  Value: string | undefined;
258
258
  }
259
259
  export interface StatisticSet {
260
- SampleCount?: number;
261
- Sum?: number;
262
- Minimum?: number;
263
- Maximum?: number;
260
+ SampleCount?: number | undefined;
261
+ Sum?: number | undefined;
262
+ Minimum?: number | undefined;
263
+ Maximum?: number | undefined;
264
264
  }
265
265
  export declare const Unit: {
266
266
  readonly BITS: "Bits";
@@ -295,10 +295,10 @@ export type Unit = (typeof Unit)[keyof typeof Unit];
295
295
  export interface MetricDatum {
296
296
  MetricName: string | undefined;
297
297
  Timestamp: Date | undefined;
298
- Dimensions?: Dimension[];
299
- Value?: number;
300
- Unit?: Unit;
301
- StatisticValues?: StatisticSet;
298
+ Dimensions?: Dimension[] | undefined;
299
+ Value?: number | undefined;
300
+ Unit?: Unit | undefined;
301
+ StatisticValues?: StatisticSet | undefined;
302
302
  }
303
303
  export interface PublishMetricsInput {
304
304
  EnvironmentName: string | undefined;
@@ -320,30 +320,30 @@ export interface UpdateNetworkConfigurationInput {
320
320
  }
321
321
  export interface UpdateEnvironmentInput {
322
322
  Name: string | undefined;
323
- ExecutionRoleArn?: string;
324
- AirflowVersion?: string;
325
- SourceBucketArn?: string;
326
- DagS3Path?: string;
327
- PluginsS3Path?: string;
328
- PluginsS3ObjectVersion?: string;
329
- RequirementsS3Path?: string;
330
- RequirementsS3ObjectVersion?: string;
331
- StartupScriptS3Path?: string;
332
- StartupScriptS3ObjectVersion?: string;
333
- AirflowConfigurationOptions?: Record<string, string>;
334
- EnvironmentClass?: string;
335
- MaxWorkers?: number;
336
- NetworkConfiguration?: UpdateNetworkConfigurationInput;
337
- LoggingConfiguration?: LoggingConfigurationInput;
338
- WeeklyMaintenanceWindowStart?: string;
339
- WebserverAccessMode?: WebserverAccessMode;
340
- MinWorkers?: number;
341
- Schedulers?: number;
342
- MinWebservers?: number;
343
- MaxWebservers?: number;
323
+ ExecutionRoleArn?: string | undefined;
324
+ AirflowVersion?: string | undefined;
325
+ SourceBucketArn?: string | undefined;
326
+ DagS3Path?: string | undefined;
327
+ PluginsS3Path?: string | undefined;
328
+ PluginsS3ObjectVersion?: string | undefined;
329
+ RequirementsS3Path?: string | undefined;
330
+ RequirementsS3ObjectVersion?: string | undefined;
331
+ StartupScriptS3Path?: string | undefined;
332
+ StartupScriptS3ObjectVersion?: string | undefined;
333
+ AirflowConfigurationOptions?: Record<string, string> | undefined;
334
+ EnvironmentClass?: string | undefined;
335
+ MaxWorkers?: number | undefined;
336
+ NetworkConfiguration?: UpdateNetworkConfigurationInput | undefined;
337
+ LoggingConfiguration?: LoggingConfigurationInput | undefined;
338
+ WeeklyMaintenanceWindowStart?: string | undefined;
339
+ WebserverAccessMode?: WebserverAccessMode | undefined;
340
+ MinWorkers?: number | undefined;
341
+ Schedulers?: number | undefined;
342
+ MinWebservers?: number | undefined;
343
+ MaxWebservers?: number | undefined;
344
344
  }
345
345
  export interface UpdateEnvironmentOutput {
346
- Arn?: string;
346
+ Arn?: string | undefined;
347
347
  }
348
348
  export declare const CreateCliTokenResponseFilterSensitiveLog: (
349
349
  obj: CreateCliTokenResponse
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.687.0",
4
+ "version": "3.692.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-mwaa",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
27
- "@aws-sdk/middleware-host-header": "3.686.0",
28
- "@aws-sdk/middleware-logger": "3.686.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
31
- "@aws-sdk/region-config-resolver": "3.686.0",
32
- "@aws-sdk/types": "3.686.0",
33
- "@aws-sdk/util-endpoints": "3.686.0",
34
- "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
36
- "@smithy/config-resolver": "^3.0.10",
37
- "@smithy/core": "^2.5.1",
38
- "@smithy/fetch-http-handler": "^4.0.0",
39
- "@smithy/hash-node": "^3.0.8",
40
- "@smithy/invalid-dependency": "^3.0.8",
41
- "@smithy/middleware-content-length": "^3.0.10",
42
- "@smithy/middleware-endpoint": "^3.2.1",
43
- "@smithy/middleware-retry": "^3.0.25",
44
- "@smithy/middleware-serde": "^3.0.8",
45
- "@smithy/middleware-stack": "^3.0.8",
46
- "@smithy/node-config-provider": "^3.1.9",
47
- "@smithy/node-http-handler": "^3.2.5",
48
- "@smithy/protocol-http": "^4.1.5",
49
- "@smithy/smithy-client": "^3.4.2",
50
- "@smithy/types": "^3.6.0",
51
- "@smithy/url-parser": "^3.0.8",
23
+ "@aws-sdk/client-sso-oidc": "3.692.0",
24
+ "@aws-sdk/client-sts": "3.692.0",
25
+ "@aws-sdk/core": "3.692.0",
26
+ "@aws-sdk/credential-provider-node": "3.692.0",
27
+ "@aws-sdk/middleware-host-header": "3.692.0",
28
+ "@aws-sdk/middleware-logger": "3.692.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.692.0",
30
+ "@aws-sdk/middleware-user-agent": "3.692.0",
31
+ "@aws-sdk/region-config-resolver": "3.692.0",
32
+ "@aws-sdk/types": "3.692.0",
33
+ "@aws-sdk/util-endpoints": "3.692.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.692.0",
35
+ "@aws-sdk/util-user-agent-node": "3.692.0",
36
+ "@smithy/config-resolver": "^3.0.11",
37
+ "@smithy/core": "^2.5.2",
38
+ "@smithy/fetch-http-handler": "^4.1.0",
39
+ "@smithy/hash-node": "^3.0.9",
40
+ "@smithy/invalid-dependency": "^3.0.9",
41
+ "@smithy/middleware-content-length": "^3.0.11",
42
+ "@smithy/middleware-endpoint": "^3.2.2",
43
+ "@smithy/middleware-retry": "^3.0.26",
44
+ "@smithy/middleware-serde": "^3.0.9",
45
+ "@smithy/middleware-stack": "^3.0.9",
46
+ "@smithy/node-config-provider": "^3.1.10",
47
+ "@smithy/node-http-handler": "^3.3.0",
48
+ "@smithy/protocol-http": "^4.1.6",
49
+ "@smithy/smithy-client": "^3.4.3",
50
+ "@smithy/types": "^3.7.0",
51
+ "@smithy/url-parser": "^3.0.9",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.25",
56
- "@smithy/util-defaults-mode-node": "^3.0.25",
57
- "@smithy/util-endpoints": "^2.1.4",
58
- "@smithy/util-middleware": "^3.0.8",
59
- "@smithy/util-retry": "^3.0.8",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.26",
56
+ "@smithy/util-defaults-mode-node": "^3.0.26",
57
+ "@smithy/util-endpoints": "^2.1.5",
58
+ "@smithy/util-middleware": "^3.0.9",
59
+ "@smithy/util-retry": "^3.0.9",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },