@aws-sdk/client-appconfig 3.183.0 → 3.185.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 +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/AppConfig.js +181 -174
- package/dist-es/AppConfigClient.js +28 -22
- package/dist-es/commands/CreateApplicationCommand.js +28 -21
- package/dist-es/commands/CreateConfigurationProfileCommand.js +28 -21
- package/dist-es/commands/CreateDeploymentStrategyCommand.js +28 -21
- package/dist-es/commands/CreateEnvironmentCommand.js +28 -21
- package/dist-es/commands/CreateExtensionAssociationCommand.js +28 -21
- package/dist-es/commands/CreateExtensionCommand.js +28 -21
- package/dist-es/commands/CreateHostedConfigurationVersionCommand.js +28 -21
- package/dist-es/commands/DeleteApplicationCommand.js +29 -22
- package/dist-es/commands/DeleteConfigurationProfileCommand.js +29 -22
- package/dist-es/commands/DeleteDeploymentStrategyCommand.js +29 -22
- package/dist-es/commands/DeleteEnvironmentCommand.js +29 -22
- package/dist-es/commands/DeleteExtensionAssociationCommand.js +29 -22
- package/dist-es/commands/DeleteExtensionCommand.js +29 -22
- package/dist-es/commands/DeleteHostedConfigurationVersionCommand.js +29 -22
- package/dist-es/commands/GetApplicationCommand.js +28 -21
- package/dist-es/commands/GetConfigurationCommand.js +28 -21
- package/dist-es/commands/GetConfigurationProfileCommand.js +28 -21
- package/dist-es/commands/GetDeploymentCommand.js +28 -21
- package/dist-es/commands/GetDeploymentStrategyCommand.js +28 -21
- package/dist-es/commands/GetEnvironmentCommand.js +28 -21
- package/dist-es/commands/GetExtensionAssociationCommand.js +28 -21
- package/dist-es/commands/GetExtensionCommand.js +28 -21
- package/dist-es/commands/GetHostedConfigurationVersionCommand.js +28 -21
- package/dist-es/commands/ListApplicationsCommand.js +28 -21
- package/dist-es/commands/ListConfigurationProfilesCommand.js +28 -21
- package/dist-es/commands/ListDeploymentStrategiesCommand.js +28 -21
- package/dist-es/commands/ListDeploymentsCommand.js +28 -21
- package/dist-es/commands/ListEnvironmentsCommand.js +28 -21
- package/dist-es/commands/ListExtensionAssociationsCommand.js +28 -21
- package/dist-es/commands/ListExtensionsCommand.js +28 -21
- package/dist-es/commands/ListHostedConfigurationVersionsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/StartDeploymentCommand.js +28 -21
- package/dist-es/commands/StopDeploymentCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +29 -22
- package/dist-es/commands/UntagResourceCommand.js +29 -22
- package/dist-es/commands/UpdateApplicationCommand.js +28 -21
- package/dist-es/commands/UpdateConfigurationProfileCommand.js +28 -21
- package/dist-es/commands/UpdateDeploymentStrategyCommand.js +28 -21
- package/dist-es/commands/UpdateEnvironmentCommand.js +28 -21
- package/dist-es/commands/UpdateExtensionAssociationCommand.js +28 -21
- package/dist-es/commands/UpdateExtensionCommand.js +28 -21
- package/dist-es/commands/ValidateConfigurationCommand.js +29 -22
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/AppConfigServiceException.js +10 -5
- package/dist-es/models/models_0.js +158 -311
- package/dist-es/pagination/ListApplicationsPaginator.js +68 -25
- package/dist-es/pagination/ListConfigurationProfilesPaginator.js +68 -25
- package/dist-es/pagination/ListDeploymentStrategiesPaginator.js +68 -25
- package/dist-es/pagination/ListDeploymentsPaginator.js +68 -25
- package/dist-es/pagination/ListEnvironmentsPaginator.js +68 -25
- package/dist-es/pagination/ListExtensionAssociationsPaginator.js +68 -25
- package/dist-es/pagination/ListExtensionsPaginator.js +68 -25
- package/dist-es/pagination/ListHostedConfigurationVersionsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +4495 -3259
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { AppConfigServiceException as __BaseException } from "./AppConfigServiceException";
|
|
3
4
|
export var ActionPoint;
|
|
@@ -12,7 +13,7 @@ export var ActionPoint;
|
|
|
12
13
|
})(ActionPoint || (ActionPoint = {}));
|
|
13
14
|
export var BadRequestDetails;
|
|
14
15
|
(function (BadRequestDetails) {
|
|
15
|
-
BadRequestDetails.visit = (value, visitor)
|
|
16
|
+
BadRequestDetails.visit = function (value, visitor) {
|
|
16
17
|
if (value.InvalidConfiguration !== undefined)
|
|
17
18
|
return visitor.InvalidConfiguration(value.InvalidConfiguration);
|
|
18
19
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
@@ -22,53 +23,53 @@ export var BadRequestReason;
|
|
|
22
23
|
(function (BadRequestReason) {
|
|
23
24
|
BadRequestReason["INVALID_CONFIGURATION"] = "InvalidConfiguration";
|
|
24
25
|
})(BadRequestReason || (BadRequestReason = {}));
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
this.Reason = opts.Reason;
|
|
37
|
-
this.Details = opts.Details;
|
|
26
|
+
var BadRequestException = (function (_super) {
|
|
27
|
+
__extends(BadRequestException, _super);
|
|
28
|
+
function BadRequestException(opts) {
|
|
29
|
+
var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
|
|
30
|
+
_this.name = "BadRequestException";
|
|
31
|
+
_this.$fault = "client";
|
|
32
|
+
Object.setPrototypeOf(_this, BadRequestException.prototype);
|
|
33
|
+
_this.Message = opts.Message;
|
|
34
|
+
_this.Reason = opts.Reason;
|
|
35
|
+
_this.Details = opts.Details;
|
|
36
|
+
return _this;
|
|
38
37
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
38
|
+
return BadRequestException;
|
|
39
|
+
}(__BaseException));
|
|
40
|
+
export { BadRequestException };
|
|
41
|
+
var InternalServerException = (function (_super) {
|
|
42
|
+
__extends(InternalServerException, _super);
|
|
43
|
+
function InternalServerException(opts) {
|
|
44
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
45
|
+
_this.name = "InternalServerException";
|
|
46
|
+
_this.$fault = "server";
|
|
47
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
48
|
+
_this.Message = opts.Message;
|
|
49
|
+
return _this;
|
|
51
50
|
}
|
|
52
|
-
|
|
51
|
+
return InternalServerException;
|
|
52
|
+
}(__BaseException));
|
|
53
|
+
export { InternalServerException };
|
|
53
54
|
export var ValidatorType;
|
|
54
55
|
(function (ValidatorType) {
|
|
55
56
|
ValidatorType["JSON_SCHEMA"] = "JSON_SCHEMA";
|
|
56
57
|
ValidatorType["LAMBDA"] = "LAMBDA";
|
|
57
58
|
})(ValidatorType || (ValidatorType = {}));
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
this.Message = opts.Message;
|
|
69
|
-
this.ResourceName = opts.ResourceName;
|
|
59
|
+
var ResourceNotFoundException = (function (_super) {
|
|
60
|
+
__extends(ResourceNotFoundException, _super);
|
|
61
|
+
function ResourceNotFoundException(opts) {
|
|
62
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
63
|
+
_this.name = "ResourceNotFoundException";
|
|
64
|
+
_this.$fault = "client";
|
|
65
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
66
|
+
_this.Message = opts.Message;
|
|
67
|
+
_this.ResourceName = opts.ResourceName;
|
|
68
|
+
return _this;
|
|
70
69
|
}
|
|
71
|
-
|
|
70
|
+
return ResourceNotFoundException;
|
|
71
|
+
}(__BaseException));
|
|
72
|
+
export { ResourceNotFoundException };
|
|
72
73
|
export var GrowthType;
|
|
73
74
|
(function (GrowthType) {
|
|
74
75
|
GrowthType["EXPONENTIAL"] = "EXPONENTIAL";
|
|
@@ -86,52 +87,52 @@ export var EnvironmentState;
|
|
|
86
87
|
EnvironmentState["ROLLED_BACK"] = "ROLLED_BACK";
|
|
87
88
|
EnvironmentState["ROLLING_BACK"] = "ROLLING_BACK";
|
|
88
89
|
})(EnvironmentState || (EnvironmentState = {}));
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
99
|
-
this.Message = opts.Message;
|
|
90
|
+
var ConflictException = (function (_super) {
|
|
91
|
+
__extends(ConflictException, _super);
|
|
92
|
+
function ConflictException(opts) {
|
|
93
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
94
|
+
_this.name = "ConflictException";
|
|
95
|
+
_this.$fault = "client";
|
|
96
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
97
|
+
_this.Message = opts.Message;
|
|
98
|
+
return _this;
|
|
100
99
|
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
100
|
+
return ConflictException;
|
|
101
|
+
}(__BaseException));
|
|
102
|
+
export { ConflictException };
|
|
103
|
+
var ServiceQuotaExceededException = (function (_super) {
|
|
104
|
+
__extends(ServiceQuotaExceededException, _super);
|
|
105
|
+
function ServiceQuotaExceededException(opts) {
|
|
106
|
+
var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
|
|
107
|
+
_this.name = "ServiceQuotaExceededException";
|
|
108
|
+
_this.$fault = "client";
|
|
109
|
+
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
|
|
110
|
+
_this.Message = opts.Message;
|
|
111
|
+
return _this;
|
|
113
112
|
}
|
|
114
|
-
|
|
113
|
+
return ServiceQuotaExceededException;
|
|
114
|
+
}(__BaseException));
|
|
115
|
+
export { ServiceQuotaExceededException };
|
|
115
116
|
export var BytesMeasure;
|
|
116
117
|
(function (BytesMeasure) {
|
|
117
118
|
BytesMeasure["KILOBYTES"] = "KILOBYTES";
|
|
118
119
|
})(BytesMeasure || (BytesMeasure = {}));
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
this.Limit = opts.Limit;
|
|
132
|
-
this.Size = opts.Size;
|
|
120
|
+
var PayloadTooLargeException = (function (_super) {
|
|
121
|
+
__extends(PayloadTooLargeException, _super);
|
|
122
|
+
function PayloadTooLargeException(opts) {
|
|
123
|
+
var _this = _super.call(this, __assign({ name: "PayloadTooLargeException", $fault: "client" }, opts)) || this;
|
|
124
|
+
_this.name = "PayloadTooLargeException";
|
|
125
|
+
_this.$fault = "client";
|
|
126
|
+
Object.setPrototypeOf(_this, PayloadTooLargeException.prototype);
|
|
127
|
+
_this.Message = opts.Message;
|
|
128
|
+
_this.Measure = opts.Measure;
|
|
129
|
+
_this.Limit = opts.Limit;
|
|
130
|
+
_this.Size = opts.Size;
|
|
131
|
+
return _this;
|
|
133
132
|
}
|
|
134
|
-
|
|
133
|
+
return PayloadTooLargeException;
|
|
134
|
+
}(__BaseException));
|
|
135
|
+
export { PayloadTooLargeException };
|
|
135
136
|
export var DeploymentEventType;
|
|
136
137
|
(function (DeploymentEventType) {
|
|
137
138
|
DeploymentEventType["BAKE_TIME_STARTED"] = "BAKE_TIME_STARTED";
|
|
@@ -157,240 +158,86 @@ export var DeploymentState;
|
|
|
157
158
|
DeploymentState["ROLLING_BACK"] = "ROLLING_BACK";
|
|
158
159
|
DeploymentState["VALIDATING"] = "VALIDATING";
|
|
159
160
|
})(DeploymentState || (DeploymentState = {}));
|
|
160
|
-
export
|
|
161
|
-
|
|
162
|
-
});
|
|
163
|
-
export
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
export const ApplicationFilterSensitiveLog = (obj) => ({
|
|
167
|
-
...obj,
|
|
168
|
-
});
|
|
169
|
-
export const InvalidConfigurationDetailFilterSensitiveLog = (obj) => ({
|
|
170
|
-
...obj,
|
|
171
|
-
});
|
|
172
|
-
export const BadRequestDetailsFilterSensitiveLog = (obj) => {
|
|
161
|
+
export var ActionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
162
|
+
export var ActionInvocationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
163
|
+
export var ApplicationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
164
|
+
export var InvalidConfigurationDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
165
|
+
export var BadRequestDetailsFilterSensitiveLog = function (obj) {
|
|
166
|
+
var _a;
|
|
173
167
|
if (obj.InvalidConfiguration !== undefined)
|
|
174
168
|
return {
|
|
175
|
-
InvalidConfiguration: obj.InvalidConfiguration.map((item)
|
|
169
|
+
InvalidConfiguration: obj.InvalidConfiguration.map(function (item) { return InvalidConfigurationDetailFilterSensitiveLog(item); }),
|
|
176
170
|
};
|
|
177
171
|
if (obj.$unknown !== undefined)
|
|
178
|
-
return { [obj.$unknown[0]]
|
|
172
|
+
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
179
173
|
};
|
|
180
|
-
export
|
|
181
|
-
|
|
182
|
-
});
|
|
183
|
-
export
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
});
|
|
187
|
-
export
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
});
|
|
191
|
-
export
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
});
|
|
195
|
-
export
|
|
196
|
-
|
|
197
|
-
});
|
|
198
|
-
export
|
|
199
|
-
|
|
200
|
-
});
|
|
201
|
-
export
|
|
202
|
-
|
|
203
|
-
});
|
|
204
|
-
export
|
|
205
|
-
|
|
206
|
-
});
|
|
207
|
-
export
|
|
208
|
-
|
|
209
|
-
});
|
|
210
|
-
export
|
|
211
|
-
|
|
212
|
-
});
|
|
213
|
-
export
|
|
214
|
-
|
|
215
|
-
});
|
|
216
|
-
export
|
|
217
|
-
|
|
218
|
-
});
|
|
219
|
-
export
|
|
220
|
-
|
|
221
|
-
});
|
|
222
|
-
export
|
|
223
|
-
|
|
224
|
-
});
|
|
225
|
-
export
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
});
|
|
229
|
-
export
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
});
|
|
233
|
-
export
|
|
234
|
-
|
|
235
|
-
});
|
|
236
|
-
export
|
|
237
|
-
|
|
238
|
-
});
|
|
239
|
-
export
|
|
240
|
-
|
|
241
|
-
});
|
|
242
|
-
export
|
|
243
|
-
|
|
244
|
-
});
|
|
245
|
-
export
|
|
246
|
-
|
|
247
|
-
});
|
|
248
|
-
export
|
|
249
|
-
|
|
250
|
-
});
|
|
251
|
-
export const DeleteHostedConfigurationVersionRequestFilterSensitiveLog = (obj) => ({
|
|
252
|
-
...obj,
|
|
253
|
-
});
|
|
254
|
-
export const GetApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
255
|
-
...obj,
|
|
256
|
-
});
|
|
257
|
-
export const ConfigurationFilterSensitiveLog = (obj) => ({
|
|
258
|
-
...obj,
|
|
259
|
-
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
260
|
-
});
|
|
261
|
-
export const GetConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
262
|
-
...obj,
|
|
263
|
-
});
|
|
264
|
-
export const GetConfigurationProfileRequestFilterSensitiveLog = (obj) => ({
|
|
265
|
-
...obj,
|
|
266
|
-
});
|
|
267
|
-
export const AppliedExtensionFilterSensitiveLog = (obj) => ({
|
|
268
|
-
...obj,
|
|
269
|
-
});
|
|
270
|
-
export const DeploymentEventFilterSensitiveLog = (obj) => ({
|
|
271
|
-
...obj,
|
|
272
|
-
});
|
|
273
|
-
export const DeploymentFilterSensitiveLog = (obj) => ({
|
|
274
|
-
...obj,
|
|
275
|
-
});
|
|
276
|
-
export const GetDeploymentRequestFilterSensitiveLog = (obj) => ({
|
|
277
|
-
...obj,
|
|
278
|
-
});
|
|
279
|
-
export const GetDeploymentStrategyRequestFilterSensitiveLog = (obj) => ({
|
|
280
|
-
...obj,
|
|
281
|
-
});
|
|
282
|
-
export const GetEnvironmentRequestFilterSensitiveLog = (obj) => ({
|
|
283
|
-
...obj,
|
|
284
|
-
});
|
|
285
|
-
export const GetExtensionRequestFilterSensitiveLog = (obj) => ({
|
|
286
|
-
...obj,
|
|
287
|
-
});
|
|
288
|
-
export const GetExtensionAssociationRequestFilterSensitiveLog = (obj) => ({
|
|
289
|
-
...obj,
|
|
290
|
-
});
|
|
291
|
-
export const GetHostedConfigurationVersionRequestFilterSensitiveLog = (obj) => ({
|
|
292
|
-
...obj,
|
|
293
|
-
});
|
|
294
|
-
export const ApplicationsFilterSensitiveLog = (obj) => ({
|
|
295
|
-
...obj,
|
|
296
|
-
});
|
|
297
|
-
export const ListApplicationsRequestFilterSensitiveLog = (obj) => ({
|
|
298
|
-
...obj,
|
|
299
|
-
});
|
|
300
|
-
export const ConfigurationProfileSummaryFilterSensitiveLog = (obj) => ({
|
|
301
|
-
...obj,
|
|
302
|
-
});
|
|
303
|
-
export const ConfigurationProfilesFilterSensitiveLog = (obj) => ({
|
|
304
|
-
...obj,
|
|
305
|
-
});
|
|
306
|
-
export const ListConfigurationProfilesRequestFilterSensitiveLog = (obj) => ({
|
|
307
|
-
...obj,
|
|
308
|
-
});
|
|
309
|
-
export const DeploymentSummaryFilterSensitiveLog = (obj) => ({
|
|
310
|
-
...obj,
|
|
311
|
-
});
|
|
312
|
-
export const DeploymentsFilterSensitiveLog = (obj) => ({
|
|
313
|
-
...obj,
|
|
314
|
-
});
|
|
315
|
-
export const ListDeploymentsRequestFilterSensitiveLog = (obj) => ({
|
|
316
|
-
...obj,
|
|
317
|
-
});
|
|
318
|
-
export const DeploymentStrategiesFilterSensitiveLog = (obj) => ({
|
|
319
|
-
...obj,
|
|
320
|
-
});
|
|
321
|
-
export const ListDeploymentStrategiesRequestFilterSensitiveLog = (obj) => ({
|
|
322
|
-
...obj,
|
|
323
|
-
});
|
|
324
|
-
export const EnvironmentsFilterSensitiveLog = (obj) => ({
|
|
325
|
-
...obj,
|
|
326
|
-
});
|
|
327
|
-
export const ListEnvironmentsRequestFilterSensitiveLog = (obj) => ({
|
|
328
|
-
...obj,
|
|
329
|
-
});
|
|
330
|
-
export const ExtensionAssociationSummaryFilterSensitiveLog = (obj) => ({
|
|
331
|
-
...obj,
|
|
332
|
-
});
|
|
333
|
-
export const ExtensionAssociationsFilterSensitiveLog = (obj) => ({
|
|
334
|
-
...obj,
|
|
335
|
-
});
|
|
336
|
-
export const ListExtensionAssociationsRequestFilterSensitiveLog = (obj) => ({
|
|
337
|
-
...obj,
|
|
338
|
-
});
|
|
339
|
-
export const ExtensionSummaryFilterSensitiveLog = (obj) => ({
|
|
340
|
-
...obj,
|
|
341
|
-
});
|
|
342
|
-
export const ExtensionsFilterSensitiveLog = (obj) => ({
|
|
343
|
-
...obj,
|
|
344
|
-
});
|
|
345
|
-
export const ListExtensionsRequestFilterSensitiveLog = (obj) => ({
|
|
346
|
-
...obj,
|
|
347
|
-
});
|
|
348
|
-
export const HostedConfigurationVersionSummaryFilterSensitiveLog = (obj) => ({
|
|
349
|
-
...obj,
|
|
350
|
-
});
|
|
351
|
-
export const HostedConfigurationVersionsFilterSensitiveLog = (obj) => ({
|
|
352
|
-
...obj,
|
|
353
|
-
});
|
|
354
|
-
export const ListHostedConfigurationVersionsRequestFilterSensitiveLog = (obj) => ({
|
|
355
|
-
...obj,
|
|
356
|
-
});
|
|
357
|
-
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
358
|
-
...obj,
|
|
359
|
-
});
|
|
360
|
-
export const ResourceTagsFilterSensitiveLog = (obj) => ({
|
|
361
|
-
...obj,
|
|
362
|
-
});
|
|
363
|
-
export const StartDeploymentRequestFilterSensitiveLog = (obj) => ({
|
|
364
|
-
...obj,
|
|
365
|
-
});
|
|
366
|
-
export const StopDeploymentRequestFilterSensitiveLog = (obj) => ({
|
|
367
|
-
...obj,
|
|
368
|
-
});
|
|
369
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
370
|
-
...obj,
|
|
371
|
-
});
|
|
372
|
-
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
373
|
-
...obj,
|
|
374
|
-
});
|
|
375
|
-
export const UpdateApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
376
|
-
...obj,
|
|
377
|
-
});
|
|
378
|
-
export const UpdateConfigurationProfileRequestFilterSensitiveLog = (obj) => ({
|
|
379
|
-
...obj,
|
|
380
|
-
...(obj.Validators && { Validators: obj.Validators.map((item) => ValidatorFilterSensitiveLog(item)) }),
|
|
381
|
-
});
|
|
382
|
-
export const UpdateDeploymentStrategyRequestFilterSensitiveLog = (obj) => ({
|
|
383
|
-
...obj,
|
|
384
|
-
});
|
|
385
|
-
export const UpdateEnvironmentRequestFilterSensitiveLog = (obj) => ({
|
|
386
|
-
...obj,
|
|
387
|
-
});
|
|
388
|
-
export const UpdateExtensionRequestFilterSensitiveLog = (obj) => ({
|
|
389
|
-
...obj,
|
|
390
|
-
});
|
|
391
|
-
export const UpdateExtensionAssociationRequestFilterSensitiveLog = (obj) => ({
|
|
392
|
-
...obj,
|
|
393
|
-
});
|
|
394
|
-
export const ValidateConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
395
|
-
...obj,
|
|
396
|
-
});
|
|
174
|
+
export var CreateApplicationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
175
|
+
export var ValidatorFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Content && { Content: SENSITIVE_STRING }))); };
|
|
176
|
+
export var ConfigurationProfileFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Validators && { Validators: obj.Validators.map(function (item) { return ValidatorFilterSensitiveLog(item); }) }))); };
|
|
177
|
+
export var CreateConfigurationProfileRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Validators && { Validators: obj.Validators.map(function (item) { return ValidatorFilterSensitiveLog(item); }) }))); };
|
|
178
|
+
export var CreateDeploymentStrategyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
179
|
+
export var DeploymentStrategyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
180
|
+
export var MonitorFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
181
|
+
export var CreateEnvironmentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
182
|
+
export var EnvironmentFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
183
|
+
export var ParameterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
184
|
+
export var CreateExtensionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
185
|
+
export var ExtensionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
186
|
+
export var CreateExtensionAssociationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
187
|
+
export var ExtensionAssociationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
188
|
+
export var CreateHostedConfigurationVersionRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Content && { Content: SENSITIVE_STRING }))); };
|
|
189
|
+
export var HostedConfigurationVersionFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Content && { Content: SENSITIVE_STRING }))); };
|
|
190
|
+
export var DeleteApplicationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
191
|
+
export var DeleteConfigurationProfileRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
192
|
+
export var DeleteDeploymentStrategyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
193
|
+
export var DeleteEnvironmentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
194
|
+
export var DeleteExtensionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
195
|
+
export var DeleteExtensionAssociationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
196
|
+
export var DeleteHostedConfigurationVersionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
197
|
+
export var GetApplicationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
198
|
+
export var ConfigurationFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Content && { Content: SENSITIVE_STRING }))); };
|
|
199
|
+
export var GetConfigurationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
200
|
+
export var GetConfigurationProfileRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
201
|
+
export var AppliedExtensionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
202
|
+
export var DeploymentEventFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
203
|
+
export var DeploymentFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
204
|
+
export var GetDeploymentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
205
|
+
export var GetDeploymentStrategyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
206
|
+
export var GetEnvironmentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
207
|
+
export var GetExtensionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
208
|
+
export var GetExtensionAssociationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
209
|
+
export var GetHostedConfigurationVersionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
210
|
+
export var ApplicationsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
211
|
+
export var ListApplicationsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
212
|
+
export var ConfigurationProfileSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
213
|
+
export var ConfigurationProfilesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
214
|
+
export var ListConfigurationProfilesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
215
|
+
export var DeploymentSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
216
|
+
export var DeploymentsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
217
|
+
export var ListDeploymentsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
218
|
+
export var DeploymentStrategiesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
219
|
+
export var ListDeploymentStrategiesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
220
|
+
export var EnvironmentsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
221
|
+
export var ListEnvironmentsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
222
|
+
export var ExtensionAssociationSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
223
|
+
export var ExtensionAssociationsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
224
|
+
export var ListExtensionAssociationsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
225
|
+
export var ExtensionSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
226
|
+
export var ExtensionsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
227
|
+
export var ListExtensionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
228
|
+
export var HostedConfigurationVersionSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
229
|
+
export var HostedConfigurationVersionsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
230
|
+
export var ListHostedConfigurationVersionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
231
|
+
export var ListTagsForResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
232
|
+
export var ResourceTagsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
233
|
+
export var StartDeploymentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
234
|
+
export var StopDeploymentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
235
|
+
export var TagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
236
|
+
export var UntagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
237
|
+
export var UpdateApplicationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
238
|
+
export var UpdateConfigurationProfileRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Validators && { Validators: obj.Validators.map(function (item) { return ValidatorFilterSensitiveLog(item); }) }))); };
|
|
239
|
+
export var UpdateDeploymentStrategyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
240
|
+
export var UpdateEnvironmentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
241
|
+
export var UpdateExtensionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
242
|
+
export var UpdateExtensionAssociationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
243
|
+
export var ValidateConfigurationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { AppConfig } from "../AppConfig";
|
|
2
3
|
import { AppConfigClient } from "../AppConfigClient";
|
|
3
4
|
import { ListApplicationsCommand, } from "../commands/ListApplicationsCommand";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListApplicationsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listApplications.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.NextToken = token;
|
|
16
|
-
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof AppConfig) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof AppConfigClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected AppConfig | AppConfigClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.NextToken;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListApplications(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListApplications_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof AppConfig)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof AppConfigClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected AppConfig | AppConfigClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|