@aws-sdk/client-health 3.36.0 → 3.39.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.
Files changed (64) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/Health.js +0 -52
  3. package/dist-cjs/HealthClient.js +0 -57
  4. package/dist-cjs/commands/DescribeAffectedAccountsForOrganizationCommand.js +0 -32
  5. package/dist-cjs/commands/DescribeAffectedEntitiesCommand.js +0 -42
  6. package/dist-cjs/commands/DescribeAffectedEntitiesForOrganizationCommand.js +0 -45
  7. package/dist-cjs/commands/DescribeEntityAggregatesCommand.js +0 -25
  8. package/dist-cjs/commands/DescribeEventAggregatesCommand.js +0 -29
  9. package/dist-cjs/commands/DescribeEventDetailsCommand.js +0 -33
  10. package/dist-cjs/commands/DescribeEventDetailsForOrganizationCommand.js +0 -56
  11. package/dist-cjs/commands/DescribeEventTypesCommand.js +0 -31
  12. package/dist-cjs/commands/DescribeEventsCommand.js +0 -46
  13. package/dist-cjs/commands/DescribeEventsForOrganizationCommand.js +0 -55
  14. package/dist-cjs/commands/DescribeHealthServiceStatusForOrganizationCommand.js +0 -27
  15. package/dist-cjs/commands/DisableHealthServiceAccessForOrganizationCommand.js +0 -38
  16. package/dist-cjs/commands/EnableHealthServiceAccessForOrganizationCommand.js +0 -46
  17. package/dist-cjs/commands/index.js +16 -0
  18. package/dist-cjs/endpoints.js +6 -1
  19. package/dist-cjs/index.js +4 -23
  20. package/dist-cjs/models/models_0.js +0 -126
  21. package/dist-cjs/pagination/DescribeAffectedAccountsForOrganizationPaginator.js +0 -10
  22. package/dist-cjs/pagination/DescribeAffectedEntitiesForOrganizationPaginator.js +0 -10
  23. package/dist-cjs/pagination/DescribeAffectedEntitiesPaginator.js +0 -10
  24. package/dist-cjs/pagination/DescribeEventAggregatesPaginator.js +0 -10
  25. package/dist-cjs/pagination/DescribeEventTypesPaginator.js +0 -10
  26. package/dist-cjs/pagination/DescribeEventsForOrganizationPaginator.js +0 -10
  27. package/dist-cjs/pagination/DescribeEventsPaginator.js +0 -10
  28. package/dist-cjs/pagination/index.js +11 -0
  29. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  30. package/dist-cjs/runtimeConfig.browser.js +1 -5
  31. package/dist-cjs/runtimeConfig.js +1 -5
  32. package/dist-cjs/runtimeConfig.native.js +0 -3
  33. package/dist-cjs/runtimeConfig.shared.js +0 -3
  34. package/dist-es/commands/index.js +13 -0
  35. package/dist-es/endpoints.js +6 -1
  36. package/dist-es/index.js +4 -23
  37. package/dist-es/pagination/index.js +8 -0
  38. package/dist-types/commands/index.d.ts +13 -0
  39. package/dist-types/index.d.ts +4 -23
  40. package/dist-types/pagination/index.d.ts +8 -0
  41. package/dist-types/ts3.4/Health.d.ts +14 -284
  42. package/dist-types/ts3.4/HealthClient.d.ts +24 -138
  43. package/dist-types/ts3.4/commands/DescribeAffectedAccountsForOrganizationCommand.d.ts +2 -28
  44. package/dist-types/ts3.4/commands/DescribeAffectedEntitiesCommand.d.ts +2 -38
  45. package/dist-types/ts3.4/commands/DescribeAffectedEntitiesForOrganizationCommand.d.ts +2 -41
  46. package/dist-types/ts3.4/commands/DescribeEntityAggregatesCommand.d.ts +2 -21
  47. package/dist-types/ts3.4/commands/DescribeEventAggregatesCommand.d.ts +2 -25
  48. package/dist-types/ts3.4/commands/DescribeEventDetailsCommand.d.ts +2 -29
  49. package/dist-types/ts3.4/commands/DescribeEventDetailsForOrganizationCommand.d.ts +2 -52
  50. package/dist-types/ts3.4/commands/DescribeEventTypesCommand.d.ts +2 -27
  51. package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -42
  52. package/dist-types/ts3.4/commands/DescribeEventsForOrganizationCommand.d.ts +2 -51
  53. package/dist-types/ts3.4/commands/DescribeHealthServiceStatusForOrganizationCommand.d.ts +2 -23
  54. package/dist-types/ts3.4/commands/DisableHealthServiceAccessForOrganizationCommand.d.ts +2 -34
  55. package/dist-types/ts3.4/commands/EnableHealthServiceAccessForOrganizationCommand.d.ts +2 -42
  56. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  57. package/dist-types/ts3.4/index.d.ts +4 -23
  58. package/dist-types/ts3.4/models/models_0.d.ts +209 -927
  59. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  60. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  61. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  62. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  63. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  64. package/package.json +32 -32
@@ -9,18 +9,12 @@ var EntityStatusCode;
9
9
  })(EntityStatusCode = exports.EntityStatusCode || (exports.EntityStatusCode = {}));
10
10
  var AffectedEntity;
11
11
  (function (AffectedEntity) {
12
- /**
13
- * @internal
14
- */
15
12
  AffectedEntity.filterSensitiveLog = (obj) => ({
16
13
  ...obj,
17
14
  });
18
15
  })(AffectedEntity = exports.AffectedEntity || (exports.AffectedEntity = {}));
19
16
  var DescribeAffectedAccountsForOrganizationRequest;
20
17
  (function (DescribeAffectedAccountsForOrganizationRequest) {
21
- /**
22
- * @internal
23
- */
24
18
  DescribeAffectedAccountsForOrganizationRequest.filterSensitiveLog = (obj) => ({
25
19
  ...obj,
26
20
  });
@@ -33,126 +27,84 @@ var EventScopeCode;
33
27
  })(EventScopeCode = exports.EventScopeCode || (exports.EventScopeCode = {}));
34
28
  var DescribeAffectedAccountsForOrganizationResponse;
35
29
  (function (DescribeAffectedAccountsForOrganizationResponse) {
36
- /**
37
- * @internal
38
- */
39
30
  DescribeAffectedAccountsForOrganizationResponse.filterSensitiveLog = (obj) => ({
40
31
  ...obj,
41
32
  });
42
33
  })(DescribeAffectedAccountsForOrganizationResponse = exports.DescribeAffectedAccountsForOrganizationResponse || (exports.DescribeAffectedAccountsForOrganizationResponse = {}));
43
34
  var InvalidPaginationToken;
44
35
  (function (InvalidPaginationToken) {
45
- /**
46
- * @internal
47
- */
48
36
  InvalidPaginationToken.filterSensitiveLog = (obj) => ({
49
37
  ...obj,
50
38
  });
51
39
  })(InvalidPaginationToken = exports.InvalidPaginationToken || (exports.InvalidPaginationToken = {}));
52
40
  var DateTimeRange;
53
41
  (function (DateTimeRange) {
54
- /**
55
- * @internal
56
- */
57
42
  DateTimeRange.filterSensitiveLog = (obj) => ({
58
43
  ...obj,
59
44
  });
60
45
  })(DateTimeRange = exports.DateTimeRange || (exports.DateTimeRange = {}));
61
46
  var EntityFilter;
62
47
  (function (EntityFilter) {
63
- /**
64
- * @internal
65
- */
66
48
  EntityFilter.filterSensitiveLog = (obj) => ({
67
49
  ...obj,
68
50
  });
69
51
  })(EntityFilter = exports.EntityFilter || (exports.EntityFilter = {}));
70
52
  var DescribeAffectedEntitiesRequest;
71
53
  (function (DescribeAffectedEntitiesRequest) {
72
- /**
73
- * @internal
74
- */
75
54
  DescribeAffectedEntitiesRequest.filterSensitiveLog = (obj) => ({
76
55
  ...obj,
77
56
  });
78
57
  })(DescribeAffectedEntitiesRequest = exports.DescribeAffectedEntitiesRequest || (exports.DescribeAffectedEntitiesRequest = {}));
79
58
  var DescribeAffectedEntitiesResponse;
80
59
  (function (DescribeAffectedEntitiesResponse) {
81
- /**
82
- * @internal
83
- */
84
60
  DescribeAffectedEntitiesResponse.filterSensitiveLog = (obj) => ({
85
61
  ...obj,
86
62
  });
87
63
  })(DescribeAffectedEntitiesResponse = exports.DescribeAffectedEntitiesResponse || (exports.DescribeAffectedEntitiesResponse = {}));
88
64
  var UnsupportedLocale;
89
65
  (function (UnsupportedLocale) {
90
- /**
91
- * @internal
92
- */
93
66
  UnsupportedLocale.filterSensitiveLog = (obj) => ({
94
67
  ...obj,
95
68
  });
96
69
  })(UnsupportedLocale = exports.UnsupportedLocale || (exports.UnsupportedLocale = {}));
97
70
  var EventAccountFilter;
98
71
  (function (EventAccountFilter) {
99
- /**
100
- * @internal
101
- */
102
72
  EventAccountFilter.filterSensitiveLog = (obj) => ({
103
73
  ...obj,
104
74
  });
105
75
  })(EventAccountFilter = exports.EventAccountFilter || (exports.EventAccountFilter = {}));
106
76
  var DescribeAffectedEntitiesForOrganizationRequest;
107
77
  (function (DescribeAffectedEntitiesForOrganizationRequest) {
108
- /**
109
- * @internal
110
- */
111
78
  DescribeAffectedEntitiesForOrganizationRequest.filterSensitiveLog = (obj) => ({
112
79
  ...obj,
113
80
  });
114
81
  })(DescribeAffectedEntitiesForOrganizationRequest = exports.DescribeAffectedEntitiesForOrganizationRequest || (exports.DescribeAffectedEntitiesForOrganizationRequest = {}));
115
82
  var OrganizationAffectedEntitiesErrorItem;
116
83
  (function (OrganizationAffectedEntitiesErrorItem) {
117
- /**
118
- * @internal
119
- */
120
84
  OrganizationAffectedEntitiesErrorItem.filterSensitiveLog = (obj) => ({
121
85
  ...obj,
122
86
  });
123
87
  })(OrganizationAffectedEntitiesErrorItem = exports.OrganizationAffectedEntitiesErrorItem || (exports.OrganizationAffectedEntitiesErrorItem = {}));
124
88
  var DescribeAffectedEntitiesForOrganizationResponse;
125
89
  (function (DescribeAffectedEntitiesForOrganizationResponse) {
126
- /**
127
- * @internal
128
- */
129
90
  DescribeAffectedEntitiesForOrganizationResponse.filterSensitiveLog = (obj) => ({
130
91
  ...obj,
131
92
  });
132
93
  })(DescribeAffectedEntitiesForOrganizationResponse = exports.DescribeAffectedEntitiesForOrganizationResponse || (exports.DescribeAffectedEntitiesForOrganizationResponse = {}));
133
94
  var DescribeEntityAggregatesRequest;
134
95
  (function (DescribeEntityAggregatesRequest) {
135
- /**
136
- * @internal
137
- */
138
96
  DescribeEntityAggregatesRequest.filterSensitiveLog = (obj) => ({
139
97
  ...obj,
140
98
  });
141
99
  })(DescribeEntityAggregatesRequest = exports.DescribeEntityAggregatesRequest || (exports.DescribeEntityAggregatesRequest = {}));
142
100
  var EntityAggregate;
143
101
  (function (EntityAggregate) {
144
- /**
145
- * @internal
146
- */
147
102
  EntityAggregate.filterSensitiveLog = (obj) => ({
148
103
  ...obj,
149
104
  });
150
105
  })(EntityAggregate = exports.EntityAggregate || (exports.EntityAggregate = {}));
151
106
  var DescribeEntityAggregatesResponse;
152
107
  (function (DescribeEntityAggregatesResponse) {
153
- /**
154
- * @internal
155
- */
156
108
  DescribeEntityAggregatesResponse.filterSensitiveLog = (obj) => ({
157
109
  ...obj,
158
110
  });
@@ -176,234 +128,156 @@ var EventTypeCategory;
176
128
  })(EventTypeCategory = exports.EventTypeCategory || (exports.EventTypeCategory = {}));
177
129
  var EventFilter;
178
130
  (function (EventFilter) {
179
- /**
180
- * @internal
181
- */
182
131
  EventFilter.filterSensitiveLog = (obj) => ({
183
132
  ...obj,
184
133
  });
185
134
  })(EventFilter = exports.EventFilter || (exports.EventFilter = {}));
186
135
  var DescribeEventAggregatesRequest;
187
136
  (function (DescribeEventAggregatesRequest) {
188
- /**
189
- * @internal
190
- */
191
137
  DescribeEventAggregatesRequest.filterSensitiveLog = (obj) => ({
192
138
  ...obj,
193
139
  });
194
140
  })(DescribeEventAggregatesRequest = exports.DescribeEventAggregatesRequest || (exports.DescribeEventAggregatesRequest = {}));
195
141
  var EventAggregate;
196
142
  (function (EventAggregate) {
197
- /**
198
- * @internal
199
- */
200
143
  EventAggregate.filterSensitiveLog = (obj) => ({
201
144
  ...obj,
202
145
  });
203
146
  })(EventAggregate = exports.EventAggregate || (exports.EventAggregate = {}));
204
147
  var DescribeEventAggregatesResponse;
205
148
  (function (DescribeEventAggregatesResponse) {
206
- /**
207
- * @internal
208
- */
209
149
  DescribeEventAggregatesResponse.filterSensitiveLog = (obj) => ({
210
150
  ...obj,
211
151
  });
212
152
  })(DescribeEventAggregatesResponse = exports.DescribeEventAggregatesResponse || (exports.DescribeEventAggregatesResponse = {}));
213
153
  var DescribeEventDetailsRequest;
214
154
  (function (DescribeEventDetailsRequest) {
215
- /**
216
- * @internal
217
- */
218
155
  DescribeEventDetailsRequest.filterSensitiveLog = (obj) => ({
219
156
  ...obj,
220
157
  });
221
158
  })(DescribeEventDetailsRequest = exports.DescribeEventDetailsRequest || (exports.DescribeEventDetailsRequest = {}));
222
159
  var EventDetailsErrorItem;
223
160
  (function (EventDetailsErrorItem) {
224
- /**
225
- * @internal
226
- */
227
161
  EventDetailsErrorItem.filterSensitiveLog = (obj) => ({
228
162
  ...obj,
229
163
  });
230
164
  })(EventDetailsErrorItem = exports.EventDetailsErrorItem || (exports.EventDetailsErrorItem = {}));
231
165
  var Event;
232
166
  (function (Event) {
233
- /**
234
- * @internal
235
- */
236
167
  Event.filterSensitiveLog = (obj) => ({
237
168
  ...obj,
238
169
  });
239
170
  })(Event = exports.Event || (exports.Event = {}));
240
171
  var EventDescription;
241
172
  (function (EventDescription) {
242
- /**
243
- * @internal
244
- */
245
173
  EventDescription.filterSensitiveLog = (obj) => ({
246
174
  ...obj,
247
175
  });
248
176
  })(EventDescription = exports.EventDescription || (exports.EventDescription = {}));
249
177
  var EventDetails;
250
178
  (function (EventDetails) {
251
- /**
252
- * @internal
253
- */
254
179
  EventDetails.filterSensitiveLog = (obj) => ({
255
180
  ...obj,
256
181
  });
257
182
  })(EventDetails = exports.EventDetails || (exports.EventDetails = {}));
258
183
  var DescribeEventDetailsResponse;
259
184
  (function (DescribeEventDetailsResponse) {
260
- /**
261
- * @internal
262
- */
263
185
  DescribeEventDetailsResponse.filterSensitiveLog = (obj) => ({
264
186
  ...obj,
265
187
  });
266
188
  })(DescribeEventDetailsResponse = exports.DescribeEventDetailsResponse || (exports.DescribeEventDetailsResponse = {}));
267
189
  var DescribeEventDetailsForOrganizationRequest;
268
190
  (function (DescribeEventDetailsForOrganizationRequest) {
269
- /**
270
- * @internal
271
- */
272
191
  DescribeEventDetailsForOrganizationRequest.filterSensitiveLog = (obj) => ({
273
192
  ...obj,
274
193
  });
275
194
  })(DescribeEventDetailsForOrganizationRequest = exports.DescribeEventDetailsForOrganizationRequest || (exports.DescribeEventDetailsForOrganizationRequest = {}));
276
195
  var OrganizationEventDetailsErrorItem;
277
196
  (function (OrganizationEventDetailsErrorItem) {
278
- /**
279
- * @internal
280
- */
281
197
  OrganizationEventDetailsErrorItem.filterSensitiveLog = (obj) => ({
282
198
  ...obj,
283
199
  });
284
200
  })(OrganizationEventDetailsErrorItem = exports.OrganizationEventDetailsErrorItem || (exports.OrganizationEventDetailsErrorItem = {}));
285
201
  var OrganizationEventDetails;
286
202
  (function (OrganizationEventDetails) {
287
- /**
288
- * @internal
289
- */
290
203
  OrganizationEventDetails.filterSensitiveLog = (obj) => ({
291
204
  ...obj,
292
205
  });
293
206
  })(OrganizationEventDetails = exports.OrganizationEventDetails || (exports.OrganizationEventDetails = {}));
294
207
  var DescribeEventDetailsForOrganizationResponse;
295
208
  (function (DescribeEventDetailsForOrganizationResponse) {
296
- /**
297
- * @internal
298
- */
299
209
  DescribeEventDetailsForOrganizationResponse.filterSensitiveLog = (obj) => ({
300
210
  ...obj,
301
211
  });
302
212
  })(DescribeEventDetailsForOrganizationResponse = exports.DescribeEventDetailsForOrganizationResponse || (exports.DescribeEventDetailsForOrganizationResponse = {}));
303
213
  var DescribeEventsRequest;
304
214
  (function (DescribeEventsRequest) {
305
- /**
306
- * @internal
307
- */
308
215
  DescribeEventsRequest.filterSensitiveLog = (obj) => ({
309
216
  ...obj,
310
217
  });
311
218
  })(DescribeEventsRequest = exports.DescribeEventsRequest || (exports.DescribeEventsRequest = {}));
312
219
  var DescribeEventsResponse;
313
220
  (function (DescribeEventsResponse) {
314
- /**
315
- * @internal
316
- */
317
221
  DescribeEventsResponse.filterSensitiveLog = (obj) => ({
318
222
  ...obj,
319
223
  });
320
224
  })(DescribeEventsResponse = exports.DescribeEventsResponse || (exports.DescribeEventsResponse = {}));
321
225
  var OrganizationEventFilter;
322
226
  (function (OrganizationEventFilter) {
323
- /**
324
- * @internal
325
- */
326
227
  OrganizationEventFilter.filterSensitiveLog = (obj) => ({
327
228
  ...obj,
328
229
  });
329
230
  })(OrganizationEventFilter = exports.OrganizationEventFilter || (exports.OrganizationEventFilter = {}));
330
231
  var DescribeEventsForOrganizationRequest;
331
232
  (function (DescribeEventsForOrganizationRequest) {
332
- /**
333
- * @internal
334
- */
335
233
  DescribeEventsForOrganizationRequest.filterSensitiveLog = (obj) => ({
336
234
  ...obj,
337
235
  });
338
236
  })(DescribeEventsForOrganizationRequest = exports.DescribeEventsForOrganizationRequest || (exports.DescribeEventsForOrganizationRequest = {}));
339
237
  var OrganizationEvent;
340
238
  (function (OrganizationEvent) {
341
- /**
342
- * @internal
343
- */
344
239
  OrganizationEvent.filterSensitiveLog = (obj) => ({
345
240
  ...obj,
346
241
  });
347
242
  })(OrganizationEvent = exports.OrganizationEvent || (exports.OrganizationEvent = {}));
348
243
  var DescribeEventsForOrganizationResponse;
349
244
  (function (DescribeEventsForOrganizationResponse) {
350
- /**
351
- * @internal
352
- */
353
245
  DescribeEventsForOrganizationResponse.filterSensitiveLog = (obj) => ({
354
246
  ...obj,
355
247
  });
356
248
  })(DescribeEventsForOrganizationResponse = exports.DescribeEventsForOrganizationResponse || (exports.DescribeEventsForOrganizationResponse = {}));
357
249
  var EventTypeFilter;
358
250
  (function (EventTypeFilter) {
359
- /**
360
- * @internal
361
- */
362
251
  EventTypeFilter.filterSensitiveLog = (obj) => ({
363
252
  ...obj,
364
253
  });
365
254
  })(EventTypeFilter = exports.EventTypeFilter || (exports.EventTypeFilter = {}));
366
255
  var DescribeEventTypesRequest;
367
256
  (function (DescribeEventTypesRequest) {
368
- /**
369
- * @internal
370
- */
371
257
  DescribeEventTypesRequest.filterSensitiveLog = (obj) => ({
372
258
  ...obj,
373
259
  });
374
260
  })(DescribeEventTypesRequest = exports.DescribeEventTypesRequest || (exports.DescribeEventTypesRequest = {}));
375
261
  var EventType;
376
262
  (function (EventType) {
377
- /**
378
- * @internal
379
- */
380
263
  EventType.filterSensitiveLog = (obj) => ({
381
264
  ...obj,
382
265
  });
383
266
  })(EventType = exports.EventType || (exports.EventType = {}));
384
267
  var DescribeEventTypesResponse;
385
268
  (function (DescribeEventTypesResponse) {
386
- /**
387
- * @internal
388
- */
389
269
  DescribeEventTypesResponse.filterSensitiveLog = (obj) => ({
390
270
  ...obj,
391
271
  });
392
272
  })(DescribeEventTypesResponse = exports.DescribeEventTypesResponse || (exports.DescribeEventTypesResponse = {}));
393
273
  var DescribeHealthServiceStatusForOrganizationResponse;
394
274
  (function (DescribeHealthServiceStatusForOrganizationResponse) {
395
- /**
396
- * @internal
397
- */
398
275
  DescribeHealthServiceStatusForOrganizationResponse.filterSensitiveLog = (obj) => ({
399
276
  ...obj,
400
277
  });
401
278
  })(DescribeHealthServiceStatusForOrganizationResponse = exports.DescribeHealthServiceStatusForOrganizationResponse || (exports.DescribeHealthServiceStatusForOrganizationResponse = {}));
402
279
  var ConcurrentModificationException;
403
280
  (function (ConcurrentModificationException) {
404
- /**
405
- * @internal
406
- */
407
281
  ConcurrentModificationException.filterSensitiveLog = (obj) => ({
408
282
  ...obj,
409
283
  });
@@ -4,22 +4,13 @@ exports.paginateDescribeAffectedAccountsForOrganization = void 0;
4
4
  const DescribeAffectedAccountsForOrganizationCommand_1 = require("../commands/DescribeAffectedAccountsForOrganizationCommand");
5
5
  const Health_1 = require("../Health");
6
6
  const HealthClient_1 = require("../HealthClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeAffectedAccountsForOrganizationCommand_1.DescribeAffectedAccountsForOrganizationCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeAffectedAccountsForOrganization(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeAffectedAccountsForOrganization(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateDescribeAffectedAccountsForOrganization(config, input, .
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeAffectedAccountsForOrganization = paginateDescribeAffectedAccountsForOrganization;
@@ -4,22 +4,13 @@ exports.paginateDescribeAffectedEntitiesForOrganization = void 0;
4
4
  const DescribeAffectedEntitiesForOrganizationCommand_1 = require("../commands/DescribeAffectedEntitiesForOrganizationCommand");
5
5
  const Health_1 = require("../Health");
6
6
  const HealthClient_1 = require("../HealthClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeAffectedEntitiesForOrganizationCommand_1.DescribeAffectedEntitiesForOrganizationCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeAffectedEntitiesForOrganization(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeAffectedEntitiesForOrganization(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateDescribeAffectedEntitiesForOrganization(config, input, .
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeAffectedEntitiesForOrganization = paginateDescribeAffectedEntitiesForOrganization;
@@ -4,22 +4,13 @@ exports.paginateDescribeAffectedEntities = void 0;
4
4
  const DescribeAffectedEntitiesCommand_1 = require("../commands/DescribeAffectedEntitiesCommand");
5
5
  const Health_1 = require("../Health");
6
6
  const HealthClient_1 = require("../HealthClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeAffectedEntitiesCommand_1.DescribeAffectedEntitiesCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeAffectedEntities(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeAffectedEntities(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateDescribeAffectedEntities(config, input, ...additionalArg
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeAffectedEntities = paginateDescribeAffectedEntities;
@@ -4,22 +4,13 @@ exports.paginateDescribeEventAggregates = void 0;
4
4
  const DescribeEventAggregatesCommand_1 = require("../commands/DescribeEventAggregatesCommand");
5
5
  const Health_1 = require("../Health");
6
6
  const HealthClient_1 = require("../HealthClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeEventAggregatesCommand_1.DescribeEventAggregatesCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeEventAggregates(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeEventAggregates(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateDescribeEventAggregates(config, input, ...additionalArgu
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeEventAggregates = paginateDescribeEventAggregates;
@@ -4,22 +4,13 @@ exports.paginateDescribeEventTypes = void 0;
4
4
  const DescribeEventTypesCommand_1 = require("../commands/DescribeEventTypesCommand");
5
5
  const Health_1 = require("../Health");
6
6
  const HealthClient_1 = require("../HealthClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeEventTypesCommand_1.DescribeEventTypesCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeEventTypes(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeEventTypes(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateDescribeEventTypes(config, input, ...additionalArguments
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeEventTypes = paginateDescribeEventTypes;
@@ -4,22 +4,13 @@ exports.paginateDescribeEventsForOrganization = void 0;
4
4
  const DescribeEventsForOrganizationCommand_1 = require("../commands/DescribeEventsForOrganizationCommand");
5
5
  const Health_1 = require("../Health");
6
6
  const HealthClient_1 = require("../HealthClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeEventsForOrganizationCommand_1.DescribeEventsForOrganizationCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeEventsForOrganization(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeEventsForOrganization(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateDescribeEventsForOrganization(config, input, ...addition
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeEventsForOrganization = paginateDescribeEventsForOrganization;
@@ -4,22 +4,13 @@ exports.paginateDescribeEvents = void 0;
4
4
  const DescribeEventsCommand_1 = require("../commands/DescribeEventsCommand");
5
5
  const Health_1 = require("../Health");
6
6
  const HealthClient_1 = require("../HealthClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeEventsCommand_1.DescribeEventsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeEvents(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeEvents(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateDescribeEvents(config, input, ...additionalArguments) {
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeEvents = paginateDescribeEvents;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./DescribeAffectedAccountsForOrganizationPaginator"), exports);
5
+ tslib_1.__exportStar(require("./DescribeAffectedEntitiesForOrganizationPaginator"), exports);
6
+ tslib_1.__exportStar(require("./DescribeAffectedEntitiesPaginator"), exports);
7
+ tslib_1.__exportStar(require("./DescribeEventAggregatesPaginator"), exports);
8
+ tslib_1.__exportStar(require("./DescribeEventTypesPaginator"), exports);
9
+ tslib_1.__exportStar(require("./DescribeEventsForOrganizationPaginator"), exports);
10
+ tslib_1.__exportStar(require("./DescribeEventsPaginator"), exports);
11
+ tslib_1.__exportStar(require("./Interfaces"), exports);
@@ -1586,14 +1586,12 @@ const deserializeMetadata = (output) => {
1586
1586
  cfId: output.headers["x-amz-cf-id"],
1587
1587
  });
1588
1588
  };
1589
- // Collect low-level response body stream to Uint8Array.
1590
1589
  const collectBody = (streamBody = new Uint8Array(), context) => {
1591
1590
  if (streamBody instanceof Uint8Array) {
1592
1591
  return Promise.resolve(streamBody);
1593
1592
  }
1594
1593
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
1595
1594
  };
1596
- // Encode Uint8Array data into string with utf-8.
1597
1595
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
1598
1596
  const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1599
1597
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
@@ -1619,9 +1617,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
1619
1617
  }
1620
1618
  return {};
1621
1619
  });
1622
- /**
1623
- * Load an error code for the aws.rest-json-1.1 protocol.
1624
- */
1625
1620
  const loadRestJsonErrorCode = (output, data) => {
1626
1621
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
1627
1622
  const sanitizeErrorCode = (rawValue) => {
@@ -2,8 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- // @ts-ignore: package.json will be imported from dist folders
6
- const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
7
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
8
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
9
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -13,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
- /**
17
- * @internal
18
- */
19
15
  const getRuntimeConfig = (config) => {
20
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
21
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -2,8 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- // @ts-ignore: package.json will be imported from dist folders
6
- const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
7
6
  const client_sts_1 = require("@aws-sdk/client-sts");
8
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
9
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -17,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
17
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
18
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
19
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
20
- /**
21
- * @internal
22
- */
23
19
  const getRuntimeConfig = (config) => {
24
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
25
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);