@aws-sdk/client-mwaa 3.32.0 → 3.36.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/CHANGELOG.md +44 -0
- package/{dist/cjs → dist-cjs}/MWAA.js +1 -2
- package/{dist/cjs → dist-cjs}/MWAAClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/CreateCliTokenCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateEnvironmentCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateWebLoginTokenCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteEnvironmentCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetEnvironmentCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListEnvironmentsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PublishMetricsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateEnvironmentCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListEnvironmentsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +1 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/MWAA.js +2 -7
- package/{dist/es → dist-es}/MWAAClient.js +2 -12
- package/{dist/es → dist-es}/commands/CreateCliTokenCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateEnvironmentCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateWebLoginTokenCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteEnvironmentCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetEnvironmentCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListEnvironmentsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/PublishMetricsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateEnvironmentCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -115
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListEnvironmentsPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +219 -225
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/MWAA.d.ts +2 -2
- package/{dist/types → dist-types}/MWAAClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CreateCliTokenCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateEnvironmentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateWebLoginTokenCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteEnvironmentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetEnvironmentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListEnvironmentsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PublishMetricsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateEnvironmentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListEnvironmentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/MWAA.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/MWAAClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/CreateCliTokenCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateEnvironmentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateWebLoginTokenCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteEnvironmentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetEnvironmentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListEnvironmentsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PublishMetricsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateEnvironmentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/MWAA.ts +0 -405
- package/MWAAClient.ts +0 -275
- package/commands/CreateCliTokenCommand.ts +0 -94
- package/commands/CreateEnvironmentCommand.ts +0 -94
- package/commands/CreateWebLoginTokenCommand.ts +0 -94
- package/commands/DeleteEnvironmentCommand.ts +0 -94
- package/commands/GetEnvironmentCommand.ts +0 -94
- package/commands/ListEnvironmentsCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/PublishMetricsCommand.ts +0 -94
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateEnvironmentCommand.ts +0 -94
- package/dist/cjs/MWAA.js.map +0 -1
- package/dist/cjs/MWAAClient.js.map +0 -1
- package/dist/cjs/commands/CreateCliTokenCommand.js.map +0 -1
- package/dist/cjs/commands/CreateEnvironmentCommand.js.map +0 -1
- package/dist/cjs/commands/CreateWebLoginTokenCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteEnvironmentCommand.js.map +0 -1
- package/dist/cjs/commands/GetEnvironmentCommand.js.map +0 -1
- package/dist/cjs/commands/ListEnvironmentsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/PublishMetricsCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateEnvironmentCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListEnvironmentsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/MWAA.js.map +0 -1
- package/dist/es/MWAAClient.js.map +0 -1
- package/dist/es/commands/CreateCliTokenCommand.js.map +0 -1
- package/dist/es/commands/CreateEnvironmentCommand.js.map +0 -1
- package/dist/es/commands/CreateWebLoginTokenCommand.js.map +0 -1
- package/dist/es/commands/DeleteEnvironmentCommand.js.map +0 -1
- package/dist/es/commands/GetEnvironmentCommand.js.map +0 -1
- package/dist/es/commands/ListEnvironmentsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/PublishMetricsCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateEnvironmentCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -17
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListEnvironmentsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1206
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListEnvironmentsPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -1771
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -2,30 +2,18 @@ import { __assign } from "tslib";
|
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
3
|
export var AccessDeniedException;
|
|
4
4
|
(function (AccessDeniedException) {
|
|
5
|
-
/**
|
|
6
|
-
* @internal
|
|
7
|
-
*/
|
|
8
5
|
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
6
|
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
10
7
|
export var CreateCliTokenRequest;
|
|
11
8
|
(function (CreateCliTokenRequest) {
|
|
12
|
-
/**
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
9
|
CreateCliTokenRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
16
10
|
})(CreateCliTokenRequest || (CreateCliTokenRequest = {}));
|
|
17
11
|
export var CreateCliTokenResponse;
|
|
18
12
|
(function (CreateCliTokenResponse) {
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
*/
|
|
22
13
|
CreateCliTokenResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.CliToken && { CliToken: SENSITIVE_STRING }))); };
|
|
23
14
|
})(CreateCliTokenResponse || (CreateCliTokenResponse = {}));
|
|
24
15
|
export var ResourceNotFoundException;
|
|
25
16
|
(function (ResourceNotFoundException) {
|
|
26
|
-
/**
|
|
27
|
-
* @internal
|
|
28
|
-
*/
|
|
29
17
|
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
30
18
|
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
31
19
|
export var LoggingLevel;
|
|
@@ -38,23 +26,14 @@ export var LoggingLevel;
|
|
|
38
26
|
})(LoggingLevel || (LoggingLevel = {}));
|
|
39
27
|
export var ModuleLoggingConfigurationInput;
|
|
40
28
|
(function (ModuleLoggingConfigurationInput) {
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
29
|
ModuleLoggingConfigurationInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
45
30
|
})(ModuleLoggingConfigurationInput || (ModuleLoggingConfigurationInput = {}));
|
|
46
31
|
export var LoggingConfigurationInput;
|
|
47
32
|
(function (LoggingConfigurationInput) {
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
33
|
LoggingConfigurationInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
52
34
|
})(LoggingConfigurationInput || (LoggingConfigurationInput = {}));
|
|
53
35
|
export var NetworkConfiguration;
|
|
54
36
|
(function (NetworkConfiguration) {
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
37
|
NetworkConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
59
38
|
})(NetworkConfiguration || (NetworkConfiguration = {}));
|
|
60
39
|
export var WebserverAccessMode;
|
|
@@ -64,72 +43,42 @@ export var WebserverAccessMode;
|
|
|
64
43
|
})(WebserverAccessMode || (WebserverAccessMode = {}));
|
|
65
44
|
export var CreateEnvironmentInput;
|
|
66
45
|
(function (CreateEnvironmentInput) {
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
46
|
CreateEnvironmentInput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AirflowConfigurationOptions && { AirflowConfigurationOptions: SENSITIVE_STRING }))); };
|
|
71
47
|
})(CreateEnvironmentInput || (CreateEnvironmentInput = {}));
|
|
72
48
|
export var CreateEnvironmentOutput;
|
|
73
49
|
(function (CreateEnvironmentOutput) {
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
50
|
CreateEnvironmentOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
78
51
|
})(CreateEnvironmentOutput || (CreateEnvironmentOutput = {}));
|
|
79
52
|
export var InternalServerException;
|
|
80
53
|
(function (InternalServerException) {
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
54
|
InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
85
55
|
})(InternalServerException || (InternalServerException = {}));
|
|
86
56
|
export var ValidationException;
|
|
87
57
|
(function (ValidationException) {
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
58
|
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
92
59
|
})(ValidationException || (ValidationException = {}));
|
|
93
60
|
export var CreateWebLoginTokenRequest;
|
|
94
61
|
(function (CreateWebLoginTokenRequest) {
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
98
62
|
CreateWebLoginTokenRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
99
63
|
})(CreateWebLoginTokenRequest || (CreateWebLoginTokenRequest = {}));
|
|
100
64
|
export var CreateWebLoginTokenResponse;
|
|
101
65
|
(function (CreateWebLoginTokenResponse) {
|
|
102
|
-
/**
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
105
66
|
CreateWebLoginTokenResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.WebToken && { WebToken: SENSITIVE_STRING }))); };
|
|
106
67
|
})(CreateWebLoginTokenResponse || (CreateWebLoginTokenResponse = {}));
|
|
107
68
|
export var DeleteEnvironmentInput;
|
|
108
69
|
(function (DeleteEnvironmentInput) {
|
|
109
|
-
/**
|
|
110
|
-
* @internal
|
|
111
|
-
*/
|
|
112
70
|
DeleteEnvironmentInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
113
71
|
})(DeleteEnvironmentInput || (DeleteEnvironmentInput = {}));
|
|
114
72
|
export var DeleteEnvironmentOutput;
|
|
115
73
|
(function (DeleteEnvironmentOutput) {
|
|
116
|
-
/**
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
119
74
|
DeleteEnvironmentOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
120
75
|
})(DeleteEnvironmentOutput || (DeleteEnvironmentOutput = {}));
|
|
121
76
|
export var GetEnvironmentInput;
|
|
122
77
|
(function (GetEnvironmentInput) {
|
|
123
|
-
/**
|
|
124
|
-
* @internal
|
|
125
|
-
*/
|
|
126
78
|
GetEnvironmentInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
127
79
|
})(GetEnvironmentInput || (GetEnvironmentInput = {}));
|
|
128
80
|
export var UpdateError;
|
|
129
81
|
(function (UpdateError) {
|
|
130
|
-
/**
|
|
131
|
-
* @internal
|
|
132
|
-
*/
|
|
133
82
|
UpdateError.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
134
83
|
})(UpdateError || (UpdateError = {}));
|
|
135
84
|
export var UpdateStatus;
|
|
@@ -140,23 +89,14 @@ export var UpdateStatus;
|
|
|
140
89
|
})(UpdateStatus || (UpdateStatus = {}));
|
|
141
90
|
export var LastUpdate;
|
|
142
91
|
(function (LastUpdate) {
|
|
143
|
-
/**
|
|
144
|
-
* @internal
|
|
145
|
-
*/
|
|
146
92
|
LastUpdate.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
147
93
|
})(LastUpdate || (LastUpdate = {}));
|
|
148
94
|
export var ModuleLoggingConfiguration;
|
|
149
95
|
(function (ModuleLoggingConfiguration) {
|
|
150
|
-
/**
|
|
151
|
-
* @internal
|
|
152
|
-
*/
|
|
153
96
|
ModuleLoggingConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
154
97
|
})(ModuleLoggingConfiguration || (ModuleLoggingConfiguration = {}));
|
|
155
98
|
export var LoggingConfiguration;
|
|
156
99
|
(function (LoggingConfiguration) {
|
|
157
|
-
/**
|
|
158
|
-
* @internal
|
|
159
|
-
*/
|
|
160
100
|
LoggingConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
161
101
|
})(LoggingConfiguration || (LoggingConfiguration = {}));
|
|
162
102
|
export var EnvironmentStatus;
|
|
@@ -172,58 +112,34 @@ export var EnvironmentStatus;
|
|
|
172
112
|
})(EnvironmentStatus || (EnvironmentStatus = {}));
|
|
173
113
|
export var Environment;
|
|
174
114
|
(function (Environment) {
|
|
175
|
-
/**
|
|
176
|
-
* @internal
|
|
177
|
-
*/
|
|
178
115
|
Environment.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
179
116
|
})(Environment || (Environment = {}));
|
|
180
117
|
export var GetEnvironmentOutput;
|
|
181
118
|
(function (GetEnvironmentOutput) {
|
|
182
|
-
/**
|
|
183
|
-
* @internal
|
|
184
|
-
*/
|
|
185
119
|
GetEnvironmentOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
186
120
|
})(GetEnvironmentOutput || (GetEnvironmentOutput = {}));
|
|
187
121
|
export var ListEnvironmentsInput;
|
|
188
122
|
(function (ListEnvironmentsInput) {
|
|
189
|
-
/**
|
|
190
|
-
* @internal
|
|
191
|
-
*/
|
|
192
123
|
ListEnvironmentsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
193
124
|
})(ListEnvironmentsInput || (ListEnvironmentsInput = {}));
|
|
194
125
|
export var ListEnvironmentsOutput;
|
|
195
126
|
(function (ListEnvironmentsOutput) {
|
|
196
|
-
/**
|
|
197
|
-
* @internal
|
|
198
|
-
*/
|
|
199
127
|
ListEnvironmentsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
200
128
|
})(ListEnvironmentsOutput || (ListEnvironmentsOutput = {}));
|
|
201
129
|
export var ListTagsForResourceInput;
|
|
202
130
|
(function (ListTagsForResourceInput) {
|
|
203
|
-
/**
|
|
204
|
-
* @internal
|
|
205
|
-
*/
|
|
206
131
|
ListTagsForResourceInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
207
132
|
})(ListTagsForResourceInput || (ListTagsForResourceInput = {}));
|
|
208
133
|
export var ListTagsForResourceOutput;
|
|
209
134
|
(function (ListTagsForResourceOutput) {
|
|
210
|
-
/**
|
|
211
|
-
* @internal
|
|
212
|
-
*/
|
|
213
135
|
ListTagsForResourceOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
214
136
|
})(ListTagsForResourceOutput || (ListTagsForResourceOutput = {}));
|
|
215
137
|
export var Dimension;
|
|
216
138
|
(function (Dimension) {
|
|
217
|
-
/**
|
|
218
|
-
* @internal
|
|
219
|
-
*/
|
|
220
139
|
Dimension.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
221
140
|
})(Dimension || (Dimension = {}));
|
|
222
141
|
export var StatisticSet;
|
|
223
142
|
(function (StatisticSet) {
|
|
224
|
-
/**
|
|
225
|
-
* @internal
|
|
226
|
-
*/
|
|
227
143
|
StatisticSet.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
228
144
|
})(StatisticSet || (StatisticSet = {}));
|
|
229
145
|
export var Unit;
|
|
@@ -258,72 +174,41 @@ export var Unit;
|
|
|
258
174
|
})(Unit || (Unit = {}));
|
|
259
175
|
export var MetricDatum;
|
|
260
176
|
(function (MetricDatum) {
|
|
261
|
-
/**
|
|
262
|
-
* @internal
|
|
263
|
-
*/
|
|
264
177
|
MetricDatum.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
265
178
|
})(MetricDatum || (MetricDatum = {}));
|
|
266
179
|
export var PublishMetricsInput;
|
|
267
180
|
(function (PublishMetricsInput) {
|
|
268
|
-
/**
|
|
269
|
-
* @internal
|
|
270
|
-
*/
|
|
271
181
|
PublishMetricsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
272
182
|
})(PublishMetricsInput || (PublishMetricsInput = {}));
|
|
273
183
|
export var PublishMetricsOutput;
|
|
274
184
|
(function (PublishMetricsOutput) {
|
|
275
|
-
/**
|
|
276
|
-
* @internal
|
|
277
|
-
*/
|
|
278
185
|
PublishMetricsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
279
186
|
})(PublishMetricsOutput || (PublishMetricsOutput = {}));
|
|
280
187
|
export var TagResourceInput;
|
|
281
188
|
(function (TagResourceInput) {
|
|
282
|
-
/**
|
|
283
|
-
* @internal
|
|
284
|
-
*/
|
|
285
189
|
TagResourceInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
286
190
|
})(TagResourceInput || (TagResourceInput = {}));
|
|
287
191
|
export var TagResourceOutput;
|
|
288
192
|
(function (TagResourceOutput) {
|
|
289
|
-
/**
|
|
290
|
-
* @internal
|
|
291
|
-
*/
|
|
292
193
|
TagResourceOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
293
194
|
})(TagResourceOutput || (TagResourceOutput = {}));
|
|
294
195
|
export var UntagResourceInput;
|
|
295
196
|
(function (UntagResourceInput) {
|
|
296
|
-
/**
|
|
297
|
-
* @internal
|
|
298
|
-
*/
|
|
299
197
|
UntagResourceInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
300
198
|
})(UntagResourceInput || (UntagResourceInput = {}));
|
|
301
199
|
export var UntagResourceOutput;
|
|
302
200
|
(function (UntagResourceOutput) {
|
|
303
|
-
/**
|
|
304
|
-
* @internal
|
|
305
|
-
*/
|
|
306
201
|
UntagResourceOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
307
202
|
})(UntagResourceOutput || (UntagResourceOutput = {}));
|
|
308
203
|
export var UpdateNetworkConfigurationInput;
|
|
309
204
|
(function (UpdateNetworkConfigurationInput) {
|
|
310
|
-
/**
|
|
311
|
-
* @internal
|
|
312
|
-
*/
|
|
313
205
|
UpdateNetworkConfigurationInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
314
206
|
})(UpdateNetworkConfigurationInput || (UpdateNetworkConfigurationInput = {}));
|
|
315
207
|
export var UpdateEnvironmentInput;
|
|
316
208
|
(function (UpdateEnvironmentInput) {
|
|
317
|
-
/**
|
|
318
|
-
* @internal
|
|
319
|
-
*/
|
|
320
209
|
UpdateEnvironmentInput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AirflowConfigurationOptions && { AirflowConfigurationOptions: SENSITIVE_STRING }))); };
|
|
321
210
|
})(UpdateEnvironmentInput || (UpdateEnvironmentInput = {}));
|
|
322
211
|
export var UpdateEnvironmentOutput;
|
|
323
212
|
(function (UpdateEnvironmentOutput) {
|
|
324
|
-
/**
|
|
325
|
-
* @internal
|
|
326
|
-
*/
|
|
327
213
|
UpdateEnvironmentOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
328
214
|
})(UpdateEnvironmentOutput || (UpdateEnvironmentOutput = {}));
|
|
329
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListEnvironmentsCommand, } from "../commands/ListEnvironmentsCommand";
|
|
2
3
|
import { MWAA } from "../MWAA";
|
|
3
4
|
import { MWAAClient } from "../MWAAClient";
|
|
4
|
-
import { ListEnvironmentsCommand, } from "../commands/ListEnvironmentsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListEnvironmentsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listEnvironments.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListEnvironments(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.NextToken = token;
|
|
59
49
|
input["MaxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof MWAA)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof MWAA)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof MWAAClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof MWAAClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected MWAA | MWAAClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.NextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListEnvironmentsPaginator.js.map
|