@aws-sdk/client-amp 3.183.0 → 3.186.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 +19 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/Amp.js +93 -86
- package/dist-es/AmpClient.js +28 -22
- package/dist-es/commands/CreateAlertManagerDefinitionCommand.js +28 -21
- package/dist-es/commands/CreateLoggingConfigurationCommand.js +28 -21
- package/dist-es/commands/CreateRuleGroupsNamespaceCommand.js +28 -21
- package/dist-es/commands/CreateWorkspaceCommand.js +28 -21
- package/dist-es/commands/DeleteAlertManagerDefinitionCommand.js +29 -22
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +29 -22
- package/dist-es/commands/DeleteRuleGroupsNamespaceCommand.js +29 -22
- package/dist-es/commands/DeleteWorkspaceCommand.js +29 -22
- package/dist-es/commands/DescribeAlertManagerDefinitionCommand.js +28 -21
- package/dist-es/commands/DescribeLoggingConfigurationCommand.js +28 -21
- package/dist-es/commands/DescribeRuleGroupsNamespaceCommand.js +28 -21
- package/dist-es/commands/DescribeWorkspaceCommand.js +28 -21
- package/dist-es/commands/ListRuleGroupsNamespacesCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListWorkspacesCommand.js +28 -21
- package/dist-es/commands/PutAlertManagerDefinitionCommand.js +28 -21
- package/dist-es/commands/PutRuleGroupsNamespaceCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateLoggingConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateWorkspaceAliasCommand.js +29 -22
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/AmpServiceException.js +10 -5
- package/dist-es/models/models_0.js +142 -237
- package/dist-es/pagination/ListRuleGroupsNamespacesPaginator.js +68 -25
- package/dist-es/pagination/ListWorkspacesPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +2255 -1569
- 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/dist-es/waiters/waitForWorkspaceActive.js +65 -45
- package/dist-es/waiters/waitForWorkspaceDeleted.js +50 -30
- package/package.json +34 -34
|
@@ -1,30 +1,31 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { AmpServiceException as __BaseException } from "./AmpServiceException";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
this.$fault = "client";
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
3
|
+
var AccessDeniedException = (function (_super) {
|
|
4
|
+
__extends(AccessDeniedException, _super);
|
|
5
|
+
function AccessDeniedException(opts) {
|
|
6
|
+
var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
|
|
7
|
+
_this.name = "AccessDeniedException";
|
|
8
|
+
_this.$fault = "client";
|
|
9
|
+
Object.setPrototypeOf(_this, AccessDeniedException.prototype);
|
|
10
|
+
return _this;
|
|
12
11
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
12
|
+
return AccessDeniedException;
|
|
13
|
+
}(__BaseException));
|
|
14
|
+
export { AccessDeniedException };
|
|
15
|
+
var ConflictException = (function (_super) {
|
|
16
|
+
__extends(ConflictException, _super);
|
|
17
|
+
function ConflictException(opts) {
|
|
18
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
19
|
+
_this.name = "ConflictException";
|
|
20
|
+
_this.$fault = "client";
|
|
21
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
22
|
+
_this.resourceId = opts.resourceId;
|
|
23
|
+
_this.resourceType = opts.resourceType;
|
|
24
|
+
return _this;
|
|
26
25
|
}
|
|
27
|
-
|
|
26
|
+
return ConflictException;
|
|
27
|
+
}(__BaseException));
|
|
28
|
+
export { ConflictException };
|
|
28
29
|
export var AlertManagerDefinitionStatusCode;
|
|
29
30
|
(function (AlertManagerDefinitionStatusCode) {
|
|
30
31
|
AlertManagerDefinitionStatusCode["ACTIVE"] = "ACTIVE";
|
|
@@ -34,66 +35,66 @@ export var AlertManagerDefinitionStatusCode;
|
|
|
34
35
|
AlertManagerDefinitionStatusCode["UPDATE_FAILED"] = "UPDATE_FAILED";
|
|
35
36
|
AlertManagerDefinitionStatusCode["UPDATING"] = "UPDATING";
|
|
36
37
|
})(AlertManagerDefinitionStatusCode || (AlertManagerDefinitionStatusCode = {}));
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
48
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
38
|
+
var InternalServerException = (function (_super) {
|
|
39
|
+
__extends(InternalServerException, _super);
|
|
40
|
+
function InternalServerException(opts) {
|
|
41
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
42
|
+
_this.name = "InternalServerException";
|
|
43
|
+
_this.$fault = "server";
|
|
44
|
+
_this.$retryable = {};
|
|
45
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
46
|
+
_this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
47
|
+
return _this;
|
|
49
48
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
49
|
+
return InternalServerException;
|
|
50
|
+
}(__BaseException));
|
|
51
|
+
export { InternalServerException };
|
|
52
|
+
var ResourceNotFoundException = (function (_super) {
|
|
53
|
+
__extends(ResourceNotFoundException, _super);
|
|
54
|
+
function ResourceNotFoundException(opts) {
|
|
55
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
56
|
+
_this.name = "ResourceNotFoundException";
|
|
57
|
+
_this.$fault = "client";
|
|
58
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
59
|
+
_this.resourceId = opts.resourceId;
|
|
60
|
+
_this.resourceType = opts.resourceType;
|
|
61
|
+
return _this;
|
|
63
62
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
63
|
+
return ResourceNotFoundException;
|
|
64
|
+
}(__BaseException));
|
|
65
|
+
export { ResourceNotFoundException };
|
|
66
|
+
var ServiceQuotaExceededException = (function (_super) {
|
|
67
|
+
__extends(ServiceQuotaExceededException, _super);
|
|
68
|
+
function ServiceQuotaExceededException(opts) {
|
|
69
|
+
var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
|
|
70
|
+
_this.name = "ServiceQuotaExceededException";
|
|
71
|
+
_this.$fault = "client";
|
|
72
|
+
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
|
|
73
|
+
_this.resourceId = opts.resourceId;
|
|
74
|
+
_this.resourceType = opts.resourceType;
|
|
75
|
+
_this.serviceCode = opts.serviceCode;
|
|
76
|
+
_this.quotaCode = opts.quotaCode;
|
|
77
|
+
return _this;
|
|
79
78
|
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
79
|
+
return ServiceQuotaExceededException;
|
|
80
|
+
}(__BaseException));
|
|
81
|
+
export { ServiceQuotaExceededException };
|
|
82
|
+
var ThrottlingException = (function (_super) {
|
|
83
|
+
__extends(ThrottlingException, _super);
|
|
84
|
+
function ThrottlingException(opts) {
|
|
85
|
+
var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
|
|
86
|
+
_this.name = "ThrottlingException";
|
|
87
|
+
_this.$fault = "client";
|
|
88
|
+
_this.$retryable = {};
|
|
89
|
+
Object.setPrototypeOf(_this, ThrottlingException.prototype);
|
|
90
|
+
_this.serviceCode = opts.serviceCode;
|
|
91
|
+
_this.quotaCode = opts.quotaCode;
|
|
92
|
+
_this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
93
|
+
return _this;
|
|
95
94
|
}
|
|
96
|
-
|
|
95
|
+
return ThrottlingException;
|
|
96
|
+
}(__BaseException));
|
|
97
|
+
export { ThrottlingException };
|
|
97
98
|
export var ValidationExceptionReason;
|
|
98
99
|
(function (ValidationExceptionReason) {
|
|
99
100
|
ValidationExceptionReason["CANNOT_PARSE"] = "CANNOT_PARSE";
|
|
@@ -101,20 +102,20 @@ export var ValidationExceptionReason;
|
|
|
101
102
|
ValidationExceptionReason["OTHER"] = "OTHER";
|
|
102
103
|
ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
|
|
103
104
|
})(ValidationExceptionReason || (ValidationExceptionReason = {}));
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
this.reason = opts.reason;
|
|
115
|
-
this.fieldList = opts.fieldList;
|
|
105
|
+
var ValidationException = (function (_super) {
|
|
106
|
+
__extends(ValidationException, _super);
|
|
107
|
+
function ValidationException(opts) {
|
|
108
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
109
|
+
_this.name = "ValidationException";
|
|
110
|
+
_this.$fault = "client";
|
|
111
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
112
|
+
_this.reason = opts.reason;
|
|
113
|
+
_this.fieldList = opts.fieldList;
|
|
114
|
+
return _this;
|
|
116
115
|
}
|
|
117
|
-
|
|
116
|
+
return ValidationException;
|
|
117
|
+
}(__BaseException));
|
|
118
|
+
export { ValidationException };
|
|
118
119
|
export var WorkspaceStatusCode;
|
|
119
120
|
(function (WorkspaceStatusCode) {
|
|
120
121
|
WorkspaceStatusCode["ACTIVE"] = "ACTIVE";
|
|
@@ -141,147 +142,51 @@ export var RuleGroupsNamespaceStatusCode;
|
|
|
141
142
|
RuleGroupsNamespaceStatusCode["UPDATE_FAILED"] = "UPDATE_FAILED";
|
|
142
143
|
RuleGroupsNamespaceStatusCode["UPDATING"] = "UPDATING";
|
|
143
144
|
})(RuleGroupsNamespaceStatusCode || (RuleGroupsNamespaceStatusCode = {}));
|
|
144
|
-
export
|
|
145
|
-
|
|
146
|
-
});
|
|
147
|
-
export
|
|
148
|
-
|
|
149
|
-
});
|
|
150
|
-
export
|
|
151
|
-
|
|
152
|
-
});
|
|
153
|
-
export
|
|
154
|
-
|
|
155
|
-
});
|
|
156
|
-
export
|
|
157
|
-
|
|
158
|
-
});
|
|
159
|
-
export
|
|
160
|
-
|
|
161
|
-
});
|
|
162
|
-
export
|
|
163
|
-
|
|
164
|
-
});
|
|
165
|
-
export
|
|
166
|
-
|
|
167
|
-
});
|
|
168
|
-
export
|
|
169
|
-
|
|
170
|
-
});
|
|
171
|
-
export
|
|
172
|
-
|
|
173
|
-
});
|
|
174
|
-
export
|
|
175
|
-
|
|
176
|
-
});
|
|
177
|
-
export
|
|
178
|
-
|
|
179
|
-
});
|
|
180
|
-
export
|
|
181
|
-
|
|
182
|
-
});
|
|
183
|
-
export
|
|
184
|
-
|
|
185
|
-
});
|
|
186
|
-
export
|
|
187
|
-
|
|
188
|
-
});
|
|
189
|
-
export
|
|
190
|
-
|
|
191
|
-
});
|
|
192
|
-
export const CreateWorkspaceRequestFilterSensitiveLog = (obj) => ({
|
|
193
|
-
...obj,
|
|
194
|
-
});
|
|
195
|
-
export const WorkspaceStatusFilterSensitiveLog = (obj) => ({
|
|
196
|
-
...obj,
|
|
197
|
-
});
|
|
198
|
-
export const CreateWorkspaceResponseFilterSensitiveLog = (obj) => ({
|
|
199
|
-
...obj,
|
|
200
|
-
});
|
|
201
|
-
export const DeleteWorkspaceRequestFilterSensitiveLog = (obj) => ({
|
|
202
|
-
...obj,
|
|
203
|
-
});
|
|
204
|
-
export const DescribeWorkspaceRequestFilterSensitiveLog = (obj) => ({
|
|
205
|
-
...obj,
|
|
206
|
-
});
|
|
207
|
-
export const WorkspaceDescriptionFilterSensitiveLog = (obj) => ({
|
|
208
|
-
...obj,
|
|
209
|
-
});
|
|
210
|
-
export const DescribeWorkspaceResponseFilterSensitiveLog = (obj) => ({
|
|
211
|
-
...obj,
|
|
212
|
-
});
|
|
213
|
-
export const ListWorkspacesRequestFilterSensitiveLog = (obj) => ({
|
|
214
|
-
...obj,
|
|
215
|
-
});
|
|
216
|
-
export const WorkspaceSummaryFilterSensitiveLog = (obj) => ({
|
|
217
|
-
...obj,
|
|
218
|
-
});
|
|
219
|
-
export const ListWorkspacesResponseFilterSensitiveLog = (obj) => ({
|
|
220
|
-
...obj,
|
|
221
|
-
});
|
|
222
|
-
export const CreateLoggingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
223
|
-
...obj,
|
|
224
|
-
});
|
|
225
|
-
export const LoggingConfigurationStatusFilterSensitiveLog = (obj) => ({
|
|
226
|
-
...obj,
|
|
227
|
-
});
|
|
228
|
-
export const CreateLoggingConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
229
|
-
...obj,
|
|
230
|
-
});
|
|
231
|
-
export const DeleteLoggingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
232
|
-
...obj,
|
|
233
|
-
});
|
|
234
|
-
export const DescribeLoggingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
235
|
-
...obj,
|
|
236
|
-
});
|
|
237
|
-
export const LoggingConfigurationMetadataFilterSensitiveLog = (obj) => ({
|
|
238
|
-
...obj,
|
|
239
|
-
});
|
|
240
|
-
export const DescribeLoggingConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
241
|
-
...obj,
|
|
242
|
-
});
|
|
243
|
-
export const UpdateLoggingConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
244
|
-
...obj,
|
|
245
|
-
});
|
|
246
|
-
export const UpdateLoggingConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
247
|
-
...obj,
|
|
248
|
-
});
|
|
249
|
-
export const CreateRuleGroupsNamespaceRequestFilterSensitiveLog = (obj) => ({
|
|
250
|
-
...obj,
|
|
251
|
-
});
|
|
252
|
-
export const RuleGroupsNamespaceStatusFilterSensitiveLog = (obj) => ({
|
|
253
|
-
...obj,
|
|
254
|
-
});
|
|
255
|
-
export const CreateRuleGroupsNamespaceResponseFilterSensitiveLog = (obj) => ({
|
|
256
|
-
...obj,
|
|
257
|
-
});
|
|
258
|
-
export const DeleteRuleGroupsNamespaceRequestFilterSensitiveLog = (obj) => ({
|
|
259
|
-
...obj,
|
|
260
|
-
});
|
|
261
|
-
export const DescribeRuleGroupsNamespaceRequestFilterSensitiveLog = (obj) => ({
|
|
262
|
-
...obj,
|
|
263
|
-
});
|
|
264
|
-
export const RuleGroupsNamespaceDescriptionFilterSensitiveLog = (obj) => ({
|
|
265
|
-
...obj,
|
|
266
|
-
});
|
|
267
|
-
export const DescribeRuleGroupsNamespaceResponseFilterSensitiveLog = (obj) => ({
|
|
268
|
-
...obj,
|
|
269
|
-
});
|
|
270
|
-
export const ListRuleGroupsNamespacesRequestFilterSensitiveLog = (obj) => ({
|
|
271
|
-
...obj,
|
|
272
|
-
});
|
|
273
|
-
export const RuleGroupsNamespaceSummaryFilterSensitiveLog = (obj) => ({
|
|
274
|
-
...obj,
|
|
275
|
-
});
|
|
276
|
-
export const ListRuleGroupsNamespacesResponseFilterSensitiveLog = (obj) => ({
|
|
277
|
-
...obj,
|
|
278
|
-
});
|
|
279
|
-
export const PutRuleGroupsNamespaceRequestFilterSensitiveLog = (obj) => ({
|
|
280
|
-
...obj,
|
|
281
|
-
});
|
|
282
|
-
export const PutRuleGroupsNamespaceResponseFilterSensitiveLog = (obj) => ({
|
|
283
|
-
...obj,
|
|
284
|
-
});
|
|
285
|
-
export const UpdateWorkspaceAliasRequestFilterSensitiveLog = (obj) => ({
|
|
286
|
-
...obj,
|
|
287
|
-
});
|
|
145
|
+
export var CreateAlertManagerDefinitionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
146
|
+
export var AlertManagerDefinitionStatusFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
147
|
+
export var CreateAlertManagerDefinitionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
148
|
+
export var ValidationExceptionFieldFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
149
|
+
export var DeleteAlertManagerDefinitionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
150
|
+
export var DescribeAlertManagerDefinitionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
151
|
+
export var AlertManagerDefinitionDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
152
|
+
export var DescribeAlertManagerDefinitionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
153
|
+
export var PutAlertManagerDefinitionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
154
|
+
export var PutAlertManagerDefinitionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
155
|
+
export var ListTagsForResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
156
|
+
export var ListTagsForResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
157
|
+
export var TagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
158
|
+
export var TagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
159
|
+
export var UntagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
160
|
+
export var UntagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
161
|
+
export var CreateWorkspaceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
162
|
+
export var WorkspaceStatusFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
163
|
+
export var CreateWorkspaceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
164
|
+
export var DeleteWorkspaceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
165
|
+
export var DescribeWorkspaceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
166
|
+
export var WorkspaceDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
167
|
+
export var DescribeWorkspaceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
168
|
+
export var ListWorkspacesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
169
|
+
export var WorkspaceSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
170
|
+
export var ListWorkspacesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
171
|
+
export var CreateLoggingConfigurationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
172
|
+
export var LoggingConfigurationStatusFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
173
|
+
export var CreateLoggingConfigurationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
174
|
+
export var DeleteLoggingConfigurationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
175
|
+
export var DescribeLoggingConfigurationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
176
|
+
export var LoggingConfigurationMetadataFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
177
|
+
export var DescribeLoggingConfigurationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
178
|
+
export var UpdateLoggingConfigurationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
179
|
+
export var UpdateLoggingConfigurationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
180
|
+
export var CreateRuleGroupsNamespaceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
181
|
+
export var RuleGroupsNamespaceStatusFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
182
|
+
export var CreateRuleGroupsNamespaceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
183
|
+
export var DeleteRuleGroupsNamespaceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
184
|
+
export var DescribeRuleGroupsNamespaceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
185
|
+
export var RuleGroupsNamespaceDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
186
|
+
export var DescribeRuleGroupsNamespaceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
187
|
+
export var ListRuleGroupsNamespacesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
188
|
+
export var RuleGroupsNamespaceSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
189
|
+
export var ListRuleGroupsNamespacesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
190
|
+
export var PutRuleGroupsNamespaceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
191
|
+
export var PutRuleGroupsNamespaceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
192
|
+
export var UpdateWorkspaceAliasRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { Amp } from "../Amp";
|
|
2
3
|
import { AmpClient } from "../AmpClient";
|
|
3
4
|
import { ListRuleGroupsNamespacesCommand, } from "../commands/ListRuleGroupsNamespacesCommand";
|
|
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 ListRuleGroupsNamespacesCommand(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.listRuleGroupsNamespaces.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 Amp) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof AmpClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected Amp | AmpClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.nextToken;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListRuleGroupsNamespaces(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 paginateListRuleGroupsNamespaces_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 Amp)) 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 AmpClient)) 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 Amp | AmpClient");
|
|
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
|
}
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { Amp } from "../Amp";
|
|
2
3
|
import { AmpClient } from "../AmpClient";
|
|
3
4
|
import { ListWorkspacesCommand, } from "../commands/ListWorkspacesCommand";
|
|
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 ListWorkspacesCommand(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.listWorkspaces.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 Amp) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof AmpClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected Amp | AmpClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.nextToken;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListWorkspaces(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 paginateListWorkspaces_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 Amp)) 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 AmpClient)) 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 Amp | AmpClient");
|
|
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
|
}
|