@aws-sdk/client-mwaa 3.935.0 → 3.939.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.
package/dist-cjs/index.js CHANGED
@@ -1043,6 +1043,81 @@ smithyClient.createAggregatedClient(commands, MWAA);
1043
1043
 
1044
1044
  const paginateListEnvironments = core.createPaginator(MWAAClient, ListEnvironmentsCommand, "NextToken", "NextToken", "MaxResults");
1045
1045
 
1046
+ const EndpointManagement = {
1047
+ CUSTOMER: "CUSTOMER",
1048
+ SERVICE: "SERVICE",
1049
+ };
1050
+ const LoggingLevel = {
1051
+ CRITICAL: "CRITICAL",
1052
+ DEBUG: "DEBUG",
1053
+ ERROR: "ERROR",
1054
+ INFO: "INFO",
1055
+ WARNING: "WARNING",
1056
+ };
1057
+ const WebserverAccessMode = {
1058
+ PRIVATE_ONLY: "PRIVATE_ONLY",
1059
+ PUBLIC_ONLY: "PUBLIC_ONLY",
1060
+ };
1061
+ const UpdateStatus = {
1062
+ FAILED: "FAILED",
1063
+ PENDING: "PENDING",
1064
+ SUCCESS: "SUCCESS",
1065
+ };
1066
+ const WorkerReplacementStrategy = {
1067
+ FORCED: "FORCED",
1068
+ GRACEFUL: "GRACEFUL",
1069
+ };
1070
+ const EnvironmentStatus = {
1071
+ AVAILABLE: "AVAILABLE",
1072
+ CREATE_FAILED: "CREATE_FAILED",
1073
+ CREATING: "CREATING",
1074
+ CREATING_SNAPSHOT: "CREATING_SNAPSHOT",
1075
+ DELETED: "DELETED",
1076
+ DELETING: "DELETING",
1077
+ MAINTENANCE: "MAINTENANCE",
1078
+ PENDING: "PENDING",
1079
+ ROLLING_BACK: "ROLLING_BACK",
1080
+ UNAVAILABLE: "UNAVAILABLE",
1081
+ UPDATE_FAILED: "UPDATE_FAILED",
1082
+ UPDATING: "UPDATING",
1083
+ };
1084
+ const RestApiMethod = {
1085
+ DELETE: "DELETE",
1086
+ GET: "GET",
1087
+ PATCH: "PATCH",
1088
+ POST: "POST",
1089
+ PUT: "PUT",
1090
+ };
1091
+ const Unit = {
1092
+ BITS: "Bits",
1093
+ BITS_PER_SECOND: "Bits/Second",
1094
+ BYTES: "Bytes",
1095
+ BYTES_PER_SECOND: "Bytes/Second",
1096
+ COUNT: "Count",
1097
+ COUNT_PER_SECOND: "Count/Second",
1098
+ GIGABITS: "Gigabits",
1099
+ GIGABITS_PER_SECOND: "Gigabits/Second",
1100
+ GIGABYTES: "Gigabytes",
1101
+ GIGABYTES_PER_SECOND: "Gigabytes/Second",
1102
+ KILOBITS: "Kilobits",
1103
+ KILOBITS_PER_SECOND: "Kilobits/Second",
1104
+ KILOBYTES: "Kilobytes",
1105
+ KILOBYTES_PER_SECOND: "Kilobytes/Second",
1106
+ MEGABITS: "Megabits",
1107
+ MEGABITS_PER_SECOND: "Megabits/Second",
1108
+ MEGABYTES: "Megabytes",
1109
+ MEGABYTES_PER_SECOND: "Megabytes/Second",
1110
+ MICROSECONDS: "Microseconds",
1111
+ MILLISECONDS: "Milliseconds",
1112
+ NONE: "None",
1113
+ PERCENT: "Percent",
1114
+ SECONDS: "Seconds",
1115
+ TERABITS: "Terabits",
1116
+ TERABITS_PER_SECOND: "Terabits/Second",
1117
+ TERABYTES: "Terabytes",
1118
+ TERABYTES_PER_SECOND: "Terabytes/Second",
1119
+ };
1120
+
1046
1121
  Object.defineProperty(exports, "$Command", {
1047
1122
  enumerable: true,
1048
1123
  get: function () { return smithyClient.Command; }
@@ -1056,20 +1131,28 @@ exports.CreateCliTokenCommand = CreateCliTokenCommand;
1056
1131
  exports.CreateEnvironmentCommand = CreateEnvironmentCommand;
1057
1132
  exports.CreateWebLoginTokenCommand = CreateWebLoginTokenCommand;
1058
1133
  exports.DeleteEnvironmentCommand = DeleteEnvironmentCommand;
1134
+ exports.EndpointManagement = EndpointManagement;
1135
+ exports.EnvironmentStatus = EnvironmentStatus;
1059
1136
  exports.GetEnvironmentCommand = GetEnvironmentCommand;
1060
1137
  exports.InternalServerException = InternalServerException$1;
1061
1138
  exports.InvokeRestApiCommand = InvokeRestApiCommand;
1062
1139
  exports.ListEnvironmentsCommand = ListEnvironmentsCommand;
1063
1140
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1141
+ exports.LoggingLevel = LoggingLevel;
1064
1142
  exports.MWAA = MWAA;
1065
1143
  exports.MWAAClient = MWAAClient;
1066
1144
  exports.MWAAServiceException = MWAAServiceException$1;
1067
1145
  exports.PublishMetricsCommand = PublishMetricsCommand;
1068
1146
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
1069
1147
  exports.RestApiClientException = RestApiClientException$1;
1148
+ exports.RestApiMethod = RestApiMethod;
1070
1149
  exports.RestApiServerException = RestApiServerException$1;
1071
1150
  exports.TagResourceCommand = TagResourceCommand;
1151
+ exports.Unit = Unit;
1072
1152
  exports.UntagResourceCommand = UntagResourceCommand;
1073
1153
  exports.UpdateEnvironmentCommand = UpdateEnvironmentCommand;
1154
+ exports.UpdateStatus = UpdateStatus;
1074
1155
  exports.ValidationException = ValidationException$1;
1156
+ exports.WebserverAccessMode = WebserverAccessMode;
1157
+ exports.WorkerReplacementStrategy = WorkerReplacementStrategy;
1075
1158
  exports.paginateListEnvironments = paginateListEnvironments;
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./MWAAClient";
2
2
  export * from "./MWAA";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
+ export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { MWAAServiceException } from "./models/MWAAServiceException";
@@ -0,0 +1,74 @@
1
+ export const EndpointManagement = {
2
+ CUSTOMER: "CUSTOMER",
3
+ SERVICE: "SERVICE",
4
+ };
5
+ export const LoggingLevel = {
6
+ CRITICAL: "CRITICAL",
7
+ DEBUG: "DEBUG",
8
+ ERROR: "ERROR",
9
+ INFO: "INFO",
10
+ WARNING: "WARNING",
11
+ };
12
+ export const WebserverAccessMode = {
13
+ PRIVATE_ONLY: "PRIVATE_ONLY",
14
+ PUBLIC_ONLY: "PUBLIC_ONLY",
15
+ };
16
+ export const UpdateStatus = {
17
+ FAILED: "FAILED",
18
+ PENDING: "PENDING",
19
+ SUCCESS: "SUCCESS",
20
+ };
21
+ export const WorkerReplacementStrategy = {
22
+ FORCED: "FORCED",
23
+ GRACEFUL: "GRACEFUL",
24
+ };
25
+ export const EnvironmentStatus = {
26
+ AVAILABLE: "AVAILABLE",
27
+ CREATE_FAILED: "CREATE_FAILED",
28
+ CREATING: "CREATING",
29
+ CREATING_SNAPSHOT: "CREATING_SNAPSHOT",
30
+ DELETED: "DELETED",
31
+ DELETING: "DELETING",
32
+ MAINTENANCE: "MAINTENANCE",
33
+ PENDING: "PENDING",
34
+ ROLLING_BACK: "ROLLING_BACK",
35
+ UNAVAILABLE: "UNAVAILABLE",
36
+ UPDATE_FAILED: "UPDATE_FAILED",
37
+ UPDATING: "UPDATING",
38
+ };
39
+ export const RestApiMethod = {
40
+ DELETE: "DELETE",
41
+ GET: "GET",
42
+ PATCH: "PATCH",
43
+ POST: "POST",
44
+ PUT: "PUT",
45
+ };
46
+ export const Unit = {
47
+ BITS: "Bits",
48
+ BITS_PER_SECOND: "Bits/Second",
49
+ BYTES: "Bytes",
50
+ BYTES_PER_SECOND: "Bytes/Second",
51
+ COUNT: "Count",
52
+ COUNT_PER_SECOND: "Count/Second",
53
+ GIGABITS: "Gigabits",
54
+ GIGABITS_PER_SECOND: "Gigabits/Second",
55
+ GIGABYTES: "Gigabytes",
56
+ GIGABYTES_PER_SECOND: "Gigabytes/Second",
57
+ KILOBITS: "Kilobits",
58
+ KILOBITS_PER_SECOND: "Kilobits/Second",
59
+ KILOBYTES: "Kilobytes",
60
+ KILOBYTES_PER_SECOND: "Kilobytes/Second",
61
+ MEGABITS: "Megabits",
62
+ MEGABITS_PER_SECOND: "Megabits/Second",
63
+ MEGABYTES: "Megabytes",
64
+ MEGABYTES_PER_SECOND: "Megabytes/Second",
65
+ MICROSECONDS: "Microseconds",
66
+ MILLISECONDS: "Milliseconds",
67
+ NONE: "None",
68
+ PERCENT: "Percent",
69
+ SECONDS: "Seconds",
70
+ TERABITS: "Terabits",
71
+ TERABITS_PER_SECOND: "Terabits/Second",
72
+ TERABYTES: "Terabytes",
73
+ TERABYTES_PER_SECOND: "Terabytes/Second",
74
+ };
@@ -1,74 +1 @@
1
- export const EndpointManagement = {
2
- CUSTOMER: "CUSTOMER",
3
- SERVICE: "SERVICE",
4
- };
5
- export const LoggingLevel = {
6
- CRITICAL: "CRITICAL",
7
- DEBUG: "DEBUG",
8
- ERROR: "ERROR",
9
- INFO: "INFO",
10
- WARNING: "WARNING",
11
- };
12
- export const WebserverAccessMode = {
13
- PRIVATE_ONLY: "PRIVATE_ONLY",
14
- PUBLIC_ONLY: "PUBLIC_ONLY",
15
- };
16
- export const UpdateStatus = {
17
- FAILED: "FAILED",
18
- PENDING: "PENDING",
19
- SUCCESS: "SUCCESS",
20
- };
21
- export const WorkerReplacementStrategy = {
22
- FORCED: "FORCED",
23
- GRACEFUL: "GRACEFUL",
24
- };
25
- export const EnvironmentStatus = {
26
- AVAILABLE: "AVAILABLE",
27
- CREATE_FAILED: "CREATE_FAILED",
28
- CREATING: "CREATING",
29
- CREATING_SNAPSHOT: "CREATING_SNAPSHOT",
30
- DELETED: "DELETED",
31
- DELETING: "DELETING",
32
- MAINTENANCE: "MAINTENANCE",
33
- PENDING: "PENDING",
34
- ROLLING_BACK: "ROLLING_BACK",
35
- UNAVAILABLE: "UNAVAILABLE",
36
- UPDATE_FAILED: "UPDATE_FAILED",
37
- UPDATING: "UPDATING",
38
- };
39
- export const RestApiMethod = {
40
- DELETE: "DELETE",
41
- GET: "GET",
42
- PATCH: "PATCH",
43
- POST: "POST",
44
- PUT: "PUT",
45
- };
46
- export const Unit = {
47
- BITS: "Bits",
48
- BITS_PER_SECOND: "Bits/Second",
49
- BYTES: "Bytes",
50
- BYTES_PER_SECOND: "Bytes/Second",
51
- COUNT: "Count",
52
- COUNT_PER_SECOND: "Count/Second",
53
- GIGABITS: "Gigabits",
54
- GIGABITS_PER_SECOND: "Gigabits/Second",
55
- GIGABYTES: "Gigabytes",
56
- GIGABYTES_PER_SECOND: "Gigabytes/Second",
57
- KILOBITS: "Kilobits",
58
- KILOBITS_PER_SECOND: "Kilobits/Second",
59
- KILOBYTES: "Kilobytes",
60
- KILOBYTES_PER_SECOND: "Kilobytes/Second",
61
- MEGABITS: "Megabits",
62
- MEGABITS_PER_SECOND: "Megabits/Second",
63
- MEGABYTES: "Megabytes",
64
- MEGABYTES_PER_SECOND: "Megabytes/Second",
65
- MICROSECONDS: "Microseconds",
66
- MILLISECONDS: "Milliseconds",
67
- NONE: "None",
68
- PERCENT: "Percent",
69
- SECONDS: "Seconds",
70
- TERABITS: "Terabits",
71
- TERABITS_PER_SECOND: "Terabits/Second",
72
- TERABYTES: "Terabytes",
73
- TERABYTES_PER_SECOND: "Terabytes/Second",
74
- };
1
+ export {};
@@ -87,6 +87,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
87
87
  export type { MWAAExtensionConfiguration } from "./extensionConfiguration";
88
88
  export * from "./commands";
89
89
  export * from "./pagination";
90
+ export * from "./models/enums";
90
91
  export * from "./models/errors";
91
92
  export type * from "./models/models_0";
92
93
  export { MWAAServiceException } from "./models/MWAAServiceException";
@@ -0,0 +1,138 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const EndpointManagement: {
6
+ readonly CUSTOMER: "CUSTOMER";
7
+ readonly SERVICE: "SERVICE";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type EndpointManagement = (typeof EndpointManagement)[keyof typeof EndpointManagement];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const LoggingLevel: {
18
+ readonly CRITICAL: "CRITICAL";
19
+ readonly DEBUG: "DEBUG";
20
+ readonly ERROR: "ERROR";
21
+ readonly INFO: "INFO";
22
+ readonly WARNING: "WARNING";
23
+ };
24
+ /**
25
+ * @public
26
+ */
27
+ export type LoggingLevel = (typeof LoggingLevel)[keyof typeof LoggingLevel];
28
+ /**
29
+ * @public
30
+ * @enum
31
+ */
32
+ export declare const WebserverAccessMode: {
33
+ readonly PRIVATE_ONLY: "PRIVATE_ONLY";
34
+ readonly PUBLIC_ONLY: "PUBLIC_ONLY";
35
+ };
36
+ /**
37
+ * @public
38
+ */
39
+ export type WebserverAccessMode = (typeof WebserverAccessMode)[keyof typeof WebserverAccessMode];
40
+ /**
41
+ * @public
42
+ * @enum
43
+ */
44
+ export declare const UpdateStatus: {
45
+ readonly FAILED: "FAILED";
46
+ readonly PENDING: "PENDING";
47
+ readonly SUCCESS: "SUCCESS";
48
+ };
49
+ /**
50
+ * @public
51
+ */
52
+ export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
53
+ /**
54
+ * @public
55
+ * @enum
56
+ */
57
+ export declare const WorkerReplacementStrategy: {
58
+ readonly FORCED: "FORCED";
59
+ readonly GRACEFUL: "GRACEFUL";
60
+ };
61
+ /**
62
+ * @public
63
+ */
64
+ export type WorkerReplacementStrategy = (typeof WorkerReplacementStrategy)[keyof typeof WorkerReplacementStrategy];
65
+ /**
66
+ * @public
67
+ * @enum
68
+ */
69
+ export declare const EnvironmentStatus: {
70
+ readonly AVAILABLE: "AVAILABLE";
71
+ readonly CREATE_FAILED: "CREATE_FAILED";
72
+ readonly CREATING: "CREATING";
73
+ readonly CREATING_SNAPSHOT: "CREATING_SNAPSHOT";
74
+ readonly DELETED: "DELETED";
75
+ readonly DELETING: "DELETING";
76
+ readonly MAINTENANCE: "MAINTENANCE";
77
+ readonly PENDING: "PENDING";
78
+ readonly ROLLING_BACK: "ROLLING_BACK";
79
+ readonly UNAVAILABLE: "UNAVAILABLE";
80
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
81
+ readonly UPDATING: "UPDATING";
82
+ };
83
+ /**
84
+ * @public
85
+ */
86
+ export type EnvironmentStatus = (typeof EnvironmentStatus)[keyof typeof EnvironmentStatus];
87
+ /**
88
+ * @public
89
+ * @enum
90
+ */
91
+ export declare const RestApiMethod: {
92
+ readonly DELETE: "DELETE";
93
+ readonly GET: "GET";
94
+ readonly PATCH: "PATCH";
95
+ readonly POST: "POST";
96
+ readonly PUT: "PUT";
97
+ };
98
+ /**
99
+ * @public
100
+ */
101
+ export type RestApiMethod = (typeof RestApiMethod)[keyof typeof RestApiMethod];
102
+ /**
103
+ * @public
104
+ * @enum
105
+ */
106
+ export declare const Unit: {
107
+ readonly BITS: "Bits";
108
+ readonly BITS_PER_SECOND: "Bits/Second";
109
+ readonly BYTES: "Bytes";
110
+ readonly BYTES_PER_SECOND: "Bytes/Second";
111
+ readonly COUNT: "Count";
112
+ readonly COUNT_PER_SECOND: "Count/Second";
113
+ readonly GIGABITS: "Gigabits";
114
+ readonly GIGABITS_PER_SECOND: "Gigabits/Second";
115
+ readonly GIGABYTES: "Gigabytes";
116
+ readonly GIGABYTES_PER_SECOND: "Gigabytes/Second";
117
+ readonly KILOBITS: "Kilobits";
118
+ readonly KILOBITS_PER_SECOND: "Kilobits/Second";
119
+ readonly KILOBYTES: "Kilobytes";
120
+ readonly KILOBYTES_PER_SECOND: "Kilobytes/Second";
121
+ readonly MEGABITS: "Megabits";
122
+ readonly MEGABITS_PER_SECOND: "Megabits/Second";
123
+ readonly MEGABYTES: "Megabytes";
124
+ readonly MEGABYTES_PER_SECOND: "Megabytes/Second";
125
+ readonly MICROSECONDS: "Microseconds";
126
+ readonly MILLISECONDS: "Milliseconds";
127
+ readonly NONE: "None";
128
+ readonly PERCENT: "Percent";
129
+ readonly SECONDS: "Seconds";
130
+ readonly TERABITS: "Terabits";
131
+ readonly TERABITS_PER_SECOND: "Terabits/Second";
132
+ readonly TERABYTES: "Terabytes";
133
+ readonly TERABYTES_PER_SECOND: "Terabytes/Second";
134
+ };
135
+ /**
136
+ * @public
137
+ */
138
+ export type Unit = (typeof Unit)[keyof typeof Unit];
@@ -1,4 +1,5 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
+ import { EndpointManagement, EnvironmentStatus, LoggingLevel, RestApiMethod, Unit, UpdateStatus, WebserverAccessMode, WorkerReplacementStrategy } from "./enums";
2
3
  /**
3
4
  * @public
4
5
  */
@@ -24,33 +25,6 @@ export interface CreateCliTokenResponse {
24
25
  */
25
26
  WebServerHostname?: string | undefined;
26
27
  }
27
- /**
28
- * @public
29
- * @enum
30
- */
31
- export declare const EndpointManagement: {
32
- readonly CUSTOMER: "CUSTOMER";
33
- readonly SERVICE: "SERVICE";
34
- };
35
- /**
36
- * @public
37
- */
38
- export type EndpointManagement = (typeof EndpointManagement)[keyof typeof EndpointManagement];
39
- /**
40
- * @public
41
- * @enum
42
- */
43
- export declare const LoggingLevel: {
44
- readonly CRITICAL: "CRITICAL";
45
- readonly DEBUG: "DEBUG";
46
- readonly ERROR: "ERROR";
47
- readonly INFO: "INFO";
48
- readonly WARNING: "WARNING";
49
- };
50
- /**
51
- * @public
52
- */
53
- export type LoggingLevel = (typeof LoggingLevel)[keyof typeof LoggingLevel];
54
28
  /**
55
29
  * <p>Enables the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>) and defines the log level to send to CloudWatch Logs (e.g. <code>INFO</code>).</p>
56
30
  * @public
@@ -114,18 +88,6 @@ export interface NetworkConfiguration {
114
88
  */
115
89
  SecurityGroupIds?: string[] | undefined;
116
90
  }
117
- /**
118
- * @public
119
- * @enum
120
- */
121
- export declare const WebserverAccessMode: {
122
- readonly PRIVATE_ONLY: "PRIVATE_ONLY";
123
- readonly PUBLIC_ONLY: "PUBLIC_ONLY";
124
- };
125
- /**
126
- * @public
127
- */
128
- export type WebserverAccessMode = (typeof WebserverAccessMode)[keyof typeof WebserverAccessMode];
129
91
  /**
130
92
  * <p>This section contains the Amazon Managed Workflows for Apache Airflow (Amazon MWAA) API reference documentation to create an environment. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/get-started.html">Get started with Amazon Managed Workflows for Apache Airflow</a>.</p>
131
93
  * @public
@@ -395,31 +357,6 @@ export interface UpdateError {
395
357
  */
396
358
  ErrorMessage?: string | undefined;
397
359
  }
398
- /**
399
- * @public
400
- * @enum
401
- */
402
- export declare const UpdateStatus: {
403
- readonly FAILED: "FAILED";
404
- readonly PENDING: "PENDING";
405
- readonly SUCCESS: "SUCCESS";
406
- };
407
- /**
408
- * @public
409
- */
410
- export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
411
- /**
412
- * @public
413
- * @enum
414
- */
415
- export declare const WorkerReplacementStrategy: {
416
- readonly FORCED: "FORCED";
417
- readonly GRACEFUL: "GRACEFUL";
418
- };
419
- /**
420
- * @public
421
- */
422
- export type WorkerReplacementStrategy = (typeof WorkerReplacementStrategy)[keyof typeof WorkerReplacementStrategy];
423
360
  /**
424
361
  * <p>Describes the status of the last update on the environment, and any errors that were encountered.</p>
425
362
  * @public
@@ -503,28 +440,6 @@ export interface LoggingConfiguration {
503
440
  */
504
441
  TaskLogs?: ModuleLoggingConfiguration | undefined;
505
442
  }
506
- /**
507
- * @public
508
- * @enum
509
- */
510
- export declare const EnvironmentStatus: {
511
- readonly AVAILABLE: "AVAILABLE";
512
- readonly CREATE_FAILED: "CREATE_FAILED";
513
- readonly CREATING: "CREATING";
514
- readonly CREATING_SNAPSHOT: "CREATING_SNAPSHOT";
515
- readonly DELETED: "DELETED";
516
- readonly DELETING: "DELETING";
517
- readonly MAINTENANCE: "MAINTENANCE";
518
- readonly PENDING: "PENDING";
519
- readonly ROLLING_BACK: "ROLLING_BACK";
520
- readonly UNAVAILABLE: "UNAVAILABLE";
521
- readonly UPDATE_FAILED: "UPDATE_FAILED";
522
- readonly UPDATING: "UPDATING";
523
- };
524
- /**
525
- * @public
526
- */
527
- export type EnvironmentStatus = (typeof EnvironmentStatus)[keyof typeof EnvironmentStatus];
528
443
  /**
529
444
  * <p>Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
530
445
  * @public
@@ -823,21 +738,6 @@ export interface GetEnvironmentOutput {
823
738
  */
824
739
  Environment?: Environment | undefined;
825
740
  }
826
- /**
827
- * @public
828
- * @enum
829
- */
830
- export declare const RestApiMethod: {
831
- readonly DELETE: "DELETE";
832
- readonly GET: "GET";
833
- readonly PATCH: "PATCH";
834
- readonly POST: "POST";
835
- readonly PUT: "PUT";
836
- };
837
- /**
838
- * @public
839
- */
840
- export type RestApiMethod = (typeof RestApiMethod)[keyof typeof RestApiMethod];
841
741
  /**
842
742
  * @public
843
743
  */
@@ -993,43 +893,6 @@ export interface StatisticSet {
993
893
  */
994
894
  Maximum?: number | undefined;
995
895
  }
996
- /**
997
- * @public
998
- * @enum
999
- */
1000
- export declare const Unit: {
1001
- readonly BITS: "Bits";
1002
- readonly BITS_PER_SECOND: "Bits/Second";
1003
- readonly BYTES: "Bytes";
1004
- readonly BYTES_PER_SECOND: "Bytes/Second";
1005
- readonly COUNT: "Count";
1006
- readonly COUNT_PER_SECOND: "Count/Second";
1007
- readonly GIGABITS: "Gigabits";
1008
- readonly GIGABITS_PER_SECOND: "Gigabits/Second";
1009
- readonly GIGABYTES: "Gigabytes";
1010
- readonly GIGABYTES_PER_SECOND: "Gigabytes/Second";
1011
- readonly KILOBITS: "Kilobits";
1012
- readonly KILOBITS_PER_SECOND: "Kilobits/Second";
1013
- readonly KILOBYTES: "Kilobytes";
1014
- readonly KILOBYTES_PER_SECOND: "Kilobytes/Second";
1015
- readonly MEGABITS: "Megabits";
1016
- readonly MEGABITS_PER_SECOND: "Megabits/Second";
1017
- readonly MEGABYTES: "Megabytes";
1018
- readonly MEGABYTES_PER_SECOND: "Megabytes/Second";
1019
- readonly MICROSECONDS: "Microseconds";
1020
- readonly MILLISECONDS: "Milliseconds";
1021
- readonly NONE: "None";
1022
- readonly PERCENT: "Percent";
1023
- readonly SECONDS: "Seconds";
1024
- readonly TERABITS: "Terabits";
1025
- readonly TERABITS_PER_SECOND: "Terabits/Second";
1026
- readonly TERABYTES: "Terabytes";
1027
- readonly TERABYTES_PER_SECOND: "Terabytes/Second";
1028
- };
1029
- /**
1030
- * @public
1031
- */
1032
- export type Unit = (typeof Unit)[keyof typeof Unit];
1033
896
  /**
1034
897
  * <p>
1035
898
  * <b>Internal only</b>. Collects Apache Airflow metrics. To learn more about the metrics published to Amazon CloudWatch, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html">Amazon MWAA performance metrics in Amazon CloudWatch</a>.</p>
@@ -5,6 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { MWAAExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
+ export * from "./models/enums";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
10
11
  export { MWAAServiceException } from "./models/MWAAServiceException";
@@ -0,0 +1,86 @@
1
+ export declare const EndpointManagement: {
2
+ readonly CUSTOMER: "CUSTOMER";
3
+ readonly SERVICE: "SERVICE";
4
+ };
5
+ export type EndpointManagement =
6
+ (typeof EndpointManagement)[keyof typeof EndpointManagement];
7
+ export declare const LoggingLevel: {
8
+ readonly CRITICAL: "CRITICAL";
9
+ readonly DEBUG: "DEBUG";
10
+ readonly ERROR: "ERROR";
11
+ readonly INFO: "INFO";
12
+ readonly WARNING: "WARNING";
13
+ };
14
+ export type LoggingLevel = (typeof LoggingLevel)[keyof typeof LoggingLevel];
15
+ export declare const WebserverAccessMode: {
16
+ readonly PRIVATE_ONLY: "PRIVATE_ONLY";
17
+ readonly PUBLIC_ONLY: "PUBLIC_ONLY";
18
+ };
19
+ export type WebserverAccessMode =
20
+ (typeof WebserverAccessMode)[keyof typeof WebserverAccessMode];
21
+ export declare const UpdateStatus: {
22
+ readonly FAILED: "FAILED";
23
+ readonly PENDING: "PENDING";
24
+ readonly SUCCESS: "SUCCESS";
25
+ };
26
+ export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
27
+ export declare const WorkerReplacementStrategy: {
28
+ readonly FORCED: "FORCED";
29
+ readonly GRACEFUL: "GRACEFUL";
30
+ };
31
+ export type WorkerReplacementStrategy =
32
+ (typeof WorkerReplacementStrategy)[keyof typeof WorkerReplacementStrategy];
33
+ export declare const EnvironmentStatus: {
34
+ readonly AVAILABLE: "AVAILABLE";
35
+ readonly CREATE_FAILED: "CREATE_FAILED";
36
+ readonly CREATING: "CREATING";
37
+ readonly CREATING_SNAPSHOT: "CREATING_SNAPSHOT";
38
+ readonly DELETED: "DELETED";
39
+ readonly DELETING: "DELETING";
40
+ readonly MAINTENANCE: "MAINTENANCE";
41
+ readonly PENDING: "PENDING";
42
+ readonly ROLLING_BACK: "ROLLING_BACK";
43
+ readonly UNAVAILABLE: "UNAVAILABLE";
44
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
45
+ readonly UPDATING: "UPDATING";
46
+ };
47
+ export type EnvironmentStatus =
48
+ (typeof EnvironmentStatus)[keyof typeof EnvironmentStatus];
49
+ export declare const RestApiMethod: {
50
+ readonly DELETE: "DELETE";
51
+ readonly GET: "GET";
52
+ readonly PATCH: "PATCH";
53
+ readonly POST: "POST";
54
+ readonly PUT: "PUT";
55
+ };
56
+ export type RestApiMethod = (typeof RestApiMethod)[keyof typeof RestApiMethod];
57
+ export declare const Unit: {
58
+ readonly BITS: "Bits";
59
+ readonly BITS_PER_SECOND: "Bits/Second";
60
+ readonly BYTES: "Bytes";
61
+ readonly BYTES_PER_SECOND: "Bytes/Second";
62
+ readonly COUNT: "Count";
63
+ readonly COUNT_PER_SECOND: "Count/Second";
64
+ readonly GIGABITS: "Gigabits";
65
+ readonly GIGABITS_PER_SECOND: "Gigabits/Second";
66
+ readonly GIGABYTES: "Gigabytes";
67
+ readonly GIGABYTES_PER_SECOND: "Gigabytes/Second";
68
+ readonly KILOBITS: "Kilobits";
69
+ readonly KILOBITS_PER_SECOND: "Kilobits/Second";
70
+ readonly KILOBYTES: "Kilobytes";
71
+ readonly KILOBYTES_PER_SECOND: "Kilobytes/Second";
72
+ readonly MEGABITS: "Megabits";
73
+ readonly MEGABITS_PER_SECOND: "Megabits/Second";
74
+ readonly MEGABYTES: "Megabytes";
75
+ readonly MEGABYTES_PER_SECOND: "Megabytes/Second";
76
+ readonly MICROSECONDS: "Microseconds";
77
+ readonly MILLISECONDS: "Milliseconds";
78
+ readonly NONE: "None";
79
+ readonly PERCENT: "Percent";
80
+ readonly SECONDS: "Seconds";
81
+ readonly TERABITS: "Terabits";
82
+ readonly TERABITS_PER_SECOND: "Terabits/Second";
83
+ readonly TERABYTES: "Terabytes";
84
+ readonly TERABYTES_PER_SECOND: "Terabytes/Second";
85
+ };
86
+ export type Unit = (typeof Unit)[keyof typeof Unit];
@@ -1,4 +1,14 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
+ import {
3
+ EndpointManagement,
4
+ EnvironmentStatus,
5
+ LoggingLevel,
6
+ RestApiMethod,
7
+ Unit,
8
+ UpdateStatus,
9
+ WebserverAccessMode,
10
+ WorkerReplacementStrategy,
11
+ } from "./enums";
2
12
  export interface CreateCliTokenRequest {
3
13
  Name: string | undefined;
4
14
  }
@@ -6,20 +16,6 @@ export interface CreateCliTokenResponse {
6
16
  CliToken?: string | undefined;
7
17
  WebServerHostname?: string | undefined;
8
18
  }
9
- export declare const EndpointManagement: {
10
- readonly CUSTOMER: "CUSTOMER";
11
- readonly SERVICE: "SERVICE";
12
- };
13
- export type EndpointManagement =
14
- (typeof EndpointManagement)[keyof typeof EndpointManagement];
15
- export declare const LoggingLevel: {
16
- readonly CRITICAL: "CRITICAL";
17
- readonly DEBUG: "DEBUG";
18
- readonly ERROR: "ERROR";
19
- readonly INFO: "INFO";
20
- readonly WARNING: "WARNING";
21
- };
22
- export type LoggingLevel = (typeof LoggingLevel)[keyof typeof LoggingLevel];
23
19
  export interface ModuleLoggingConfigurationInput {
24
20
  Enabled: boolean | undefined;
25
21
  LogLevel: LoggingLevel | undefined;
@@ -35,12 +31,6 @@ export interface NetworkConfiguration {
35
31
  SubnetIds?: string[] | undefined;
36
32
  SecurityGroupIds?: string[] | undefined;
37
33
  }
38
- export declare const WebserverAccessMode: {
39
- readonly PRIVATE_ONLY: "PRIVATE_ONLY";
40
- readonly PUBLIC_ONLY: "PUBLIC_ONLY";
41
- };
42
- export type WebserverAccessMode =
43
- (typeof WebserverAccessMode)[keyof typeof WebserverAccessMode];
44
34
  export interface CreateEnvironmentInput {
45
35
  Name: string | undefined;
46
36
  ExecutionRoleArn: string | undefined;
@@ -91,18 +81,6 @@ export interface UpdateError {
91
81
  ErrorCode?: string | undefined;
92
82
  ErrorMessage?: string | undefined;
93
83
  }
94
- export declare const UpdateStatus: {
95
- readonly FAILED: "FAILED";
96
- readonly PENDING: "PENDING";
97
- readonly SUCCESS: "SUCCESS";
98
- };
99
- export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
100
- export declare const WorkerReplacementStrategy: {
101
- readonly FORCED: "FORCED";
102
- readonly GRACEFUL: "GRACEFUL";
103
- };
104
- export type WorkerReplacementStrategy =
105
- (typeof WorkerReplacementStrategy)[keyof typeof WorkerReplacementStrategy];
106
84
  export interface LastUpdate {
107
85
  Status?: UpdateStatus | undefined;
108
86
  CreatedAt?: Date | undefined;
@@ -122,22 +100,6 @@ export interface LoggingConfiguration {
122
100
  WorkerLogs?: ModuleLoggingConfiguration | undefined;
123
101
  TaskLogs?: ModuleLoggingConfiguration | undefined;
124
102
  }
125
- export declare const EnvironmentStatus: {
126
- readonly AVAILABLE: "AVAILABLE";
127
- readonly CREATE_FAILED: "CREATE_FAILED";
128
- readonly CREATING: "CREATING";
129
- readonly CREATING_SNAPSHOT: "CREATING_SNAPSHOT";
130
- readonly DELETED: "DELETED";
131
- readonly DELETING: "DELETING";
132
- readonly MAINTENANCE: "MAINTENANCE";
133
- readonly PENDING: "PENDING";
134
- readonly ROLLING_BACK: "ROLLING_BACK";
135
- readonly UNAVAILABLE: "UNAVAILABLE";
136
- readonly UPDATE_FAILED: "UPDATE_FAILED";
137
- readonly UPDATING: "UPDATING";
138
- };
139
- export type EnvironmentStatus =
140
- (typeof EnvironmentStatus)[keyof typeof EnvironmentStatus];
141
103
  export interface Environment {
142
104
  Name?: string | undefined;
143
105
  Status?: EnvironmentStatus | undefined;
@@ -177,14 +139,6 @@ export interface Environment {
177
139
  export interface GetEnvironmentOutput {
178
140
  Environment?: Environment | undefined;
179
141
  }
180
- export declare const RestApiMethod: {
181
- readonly DELETE: "DELETE";
182
- readonly GET: "GET";
183
- readonly PATCH: "PATCH";
184
- readonly POST: "POST";
185
- readonly PUT: "PUT";
186
- };
187
- export type RestApiMethod = (typeof RestApiMethod)[keyof typeof RestApiMethod];
188
142
  export interface InvokeRestApiRequest {
189
143
  Name: string | undefined;
190
144
  Path: string | undefined;
@@ -220,36 +174,6 @@ export interface StatisticSet {
220
174
  Minimum?: number | undefined;
221
175
  Maximum?: number | undefined;
222
176
  }
223
- export declare const Unit: {
224
- readonly BITS: "Bits";
225
- readonly BITS_PER_SECOND: "Bits/Second";
226
- readonly BYTES: "Bytes";
227
- readonly BYTES_PER_SECOND: "Bytes/Second";
228
- readonly COUNT: "Count";
229
- readonly COUNT_PER_SECOND: "Count/Second";
230
- readonly GIGABITS: "Gigabits";
231
- readonly GIGABITS_PER_SECOND: "Gigabits/Second";
232
- readonly GIGABYTES: "Gigabytes";
233
- readonly GIGABYTES_PER_SECOND: "Gigabytes/Second";
234
- readonly KILOBITS: "Kilobits";
235
- readonly KILOBITS_PER_SECOND: "Kilobits/Second";
236
- readonly KILOBYTES: "Kilobytes";
237
- readonly KILOBYTES_PER_SECOND: "Kilobytes/Second";
238
- readonly MEGABITS: "Megabits";
239
- readonly MEGABITS_PER_SECOND: "Megabits/Second";
240
- readonly MEGABYTES: "Megabytes";
241
- readonly MEGABYTES_PER_SECOND: "Megabytes/Second";
242
- readonly MICROSECONDS: "Microseconds";
243
- readonly MILLISECONDS: "Milliseconds";
244
- readonly NONE: "None";
245
- readonly PERCENT: "Percent";
246
- readonly SECONDS: "Seconds";
247
- readonly TERABITS: "Terabits";
248
- readonly TERABITS_PER_SECOND: "Terabits/Second";
249
- readonly TERABYTES: "Terabytes";
250
- readonly TERABYTES_PER_SECOND: "Terabytes/Second";
251
- };
252
- export type Unit = (typeof Unit)[keyof typeof Unit];
253
177
  export interface MetricDatum {
254
178
  MetricName: string | undefined;
255
179
  Timestamp: Date | undefined;
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.935.0",
4
+ "version": "3.939.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,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.935.0",
24
- "@aws-sdk/credential-provider-node": "3.935.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.935.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.935.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.939.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",