@aws-sdk/client-health 3.974.0 → 3.978.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +24 -15
- package/dist-es/Health.js +17 -1
- package/dist-types/Health.d.ts +50 -1
- package/dist-types/ts3.4/Health.d.ts +54 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -809,6 +809,20 @@ class EnableHealthServiceAccessForOrganizationCommand extends smithyClient.Comma
|
|
|
809
809
|
.build() {
|
|
810
810
|
}
|
|
811
811
|
|
|
812
|
+
const paginateDescribeAffectedAccountsForOrganization = core.createPaginator(HealthClient, DescribeAffectedAccountsForOrganizationCommand, "nextToken", "nextToken", "maxResults");
|
|
813
|
+
|
|
814
|
+
const paginateDescribeAffectedEntitiesForOrganization = core.createPaginator(HealthClient, DescribeAffectedEntitiesForOrganizationCommand, "nextToken", "nextToken", "maxResults");
|
|
815
|
+
|
|
816
|
+
const paginateDescribeAffectedEntities = core.createPaginator(HealthClient, DescribeAffectedEntitiesCommand, "nextToken", "nextToken", "maxResults");
|
|
817
|
+
|
|
818
|
+
const paginateDescribeEventAggregates = core.createPaginator(HealthClient, DescribeEventAggregatesCommand, "nextToken", "nextToken", "maxResults");
|
|
819
|
+
|
|
820
|
+
const paginateDescribeEventsForOrganization = core.createPaginator(HealthClient, DescribeEventsForOrganizationCommand, "nextToken", "nextToken", "maxResults");
|
|
821
|
+
|
|
822
|
+
const paginateDescribeEvents = core.createPaginator(HealthClient, DescribeEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
823
|
+
|
|
824
|
+
const paginateDescribeEventTypes = core.createPaginator(HealthClient, DescribeEventTypesCommand, "nextToken", "nextToken", "maxResults");
|
|
825
|
+
|
|
812
826
|
const commands = {
|
|
813
827
|
DescribeAffectedAccountsForOrganizationCommand,
|
|
814
828
|
DescribeAffectedEntitiesCommand,
|
|
@@ -825,23 +839,18 @@ const commands = {
|
|
|
825
839
|
DisableHealthServiceAccessForOrganizationCommand,
|
|
826
840
|
EnableHealthServiceAccessForOrganizationCommand,
|
|
827
841
|
};
|
|
842
|
+
const paginators = {
|
|
843
|
+
paginateDescribeAffectedAccountsForOrganization,
|
|
844
|
+
paginateDescribeAffectedEntities,
|
|
845
|
+
paginateDescribeAffectedEntitiesForOrganization,
|
|
846
|
+
paginateDescribeEventAggregates,
|
|
847
|
+
paginateDescribeEvents,
|
|
848
|
+
paginateDescribeEventsForOrganization,
|
|
849
|
+
paginateDescribeEventTypes,
|
|
850
|
+
};
|
|
828
851
|
class Health extends HealthClient {
|
|
829
852
|
}
|
|
830
|
-
smithyClient.createAggregatedClient(commands, Health);
|
|
831
|
-
|
|
832
|
-
const paginateDescribeAffectedAccountsForOrganization = core.createPaginator(HealthClient, DescribeAffectedAccountsForOrganizationCommand, "nextToken", "nextToken", "maxResults");
|
|
833
|
-
|
|
834
|
-
const paginateDescribeAffectedEntities = core.createPaginator(HealthClient, DescribeAffectedEntitiesCommand, "nextToken", "nextToken", "maxResults");
|
|
835
|
-
|
|
836
|
-
const paginateDescribeAffectedEntitiesForOrganization = core.createPaginator(HealthClient, DescribeAffectedEntitiesForOrganizationCommand, "nextToken", "nextToken", "maxResults");
|
|
837
|
-
|
|
838
|
-
const paginateDescribeEventAggregates = core.createPaginator(HealthClient, DescribeEventAggregatesCommand, "nextToken", "nextToken", "maxResults");
|
|
839
|
-
|
|
840
|
-
const paginateDescribeEvents = core.createPaginator(HealthClient, DescribeEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
841
|
-
|
|
842
|
-
const paginateDescribeEventsForOrganization = core.createPaginator(HealthClient, DescribeEventsForOrganizationCommand, "nextToken", "nextToken", "maxResults");
|
|
843
|
-
|
|
844
|
-
const paginateDescribeEventTypes = core.createPaginator(HealthClient, DescribeEventTypesCommand, "nextToken", "nextToken", "maxResults");
|
|
853
|
+
smithyClient.createAggregatedClient(commands, Health, { paginators });
|
|
845
854
|
|
|
846
855
|
const EntityStatusCode = {
|
|
847
856
|
IMPAIRED: "IMPAIRED",
|
package/dist-es/Health.js
CHANGED
|
@@ -14,6 +14,13 @@ import { DescribeHealthServiceStatusForOrganizationCommand, } from "./commands/D
|
|
|
14
14
|
import { DisableHealthServiceAccessForOrganizationCommand, } from "./commands/DisableHealthServiceAccessForOrganizationCommand";
|
|
15
15
|
import { EnableHealthServiceAccessForOrganizationCommand, } from "./commands/EnableHealthServiceAccessForOrganizationCommand";
|
|
16
16
|
import { HealthClient } from "./HealthClient";
|
|
17
|
+
import { paginateDescribeAffectedAccountsForOrganization, } from "./pagination/DescribeAffectedAccountsForOrganizationPaginator";
|
|
18
|
+
import { paginateDescribeAffectedEntitiesForOrganization, } from "./pagination/DescribeAffectedEntitiesForOrganizationPaginator";
|
|
19
|
+
import { paginateDescribeAffectedEntities } from "./pagination/DescribeAffectedEntitiesPaginator";
|
|
20
|
+
import { paginateDescribeEventAggregates } from "./pagination/DescribeEventAggregatesPaginator";
|
|
21
|
+
import { paginateDescribeEventsForOrganization } from "./pagination/DescribeEventsForOrganizationPaginator";
|
|
22
|
+
import { paginateDescribeEvents } from "./pagination/DescribeEventsPaginator";
|
|
23
|
+
import { paginateDescribeEventTypes } from "./pagination/DescribeEventTypesPaginator";
|
|
17
24
|
const commands = {
|
|
18
25
|
DescribeAffectedAccountsForOrganizationCommand,
|
|
19
26
|
DescribeAffectedEntitiesCommand,
|
|
@@ -30,6 +37,15 @@ const commands = {
|
|
|
30
37
|
DisableHealthServiceAccessForOrganizationCommand,
|
|
31
38
|
EnableHealthServiceAccessForOrganizationCommand,
|
|
32
39
|
};
|
|
40
|
+
const paginators = {
|
|
41
|
+
paginateDescribeAffectedAccountsForOrganization,
|
|
42
|
+
paginateDescribeAffectedEntities,
|
|
43
|
+
paginateDescribeAffectedEntitiesForOrganization,
|
|
44
|
+
paginateDescribeEventAggregates,
|
|
45
|
+
paginateDescribeEvents,
|
|
46
|
+
paginateDescribeEventsForOrganization,
|
|
47
|
+
paginateDescribeEventTypes,
|
|
48
|
+
};
|
|
33
49
|
export class Health extends HealthClient {
|
|
34
50
|
}
|
|
35
|
-
createAggregatedClient(commands, Health);
|
|
51
|
+
createAggregatedClient(commands, Health, { paginators });
|
package/dist-types/Health.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { DescribeAffectedAccountsForOrganizationCommandInput, DescribeAffectedAccountsForOrganizationCommandOutput } from "./commands/DescribeAffectedAccountsForOrganizationCommand";
|
|
3
3
|
import { DescribeAffectedEntitiesCommandInput, DescribeAffectedEntitiesCommandOutput } from "./commands/DescribeAffectedEntitiesCommand";
|
|
4
4
|
import { DescribeAffectedEntitiesForOrganizationCommandInput, DescribeAffectedEntitiesForOrganizationCommandOutput } from "./commands/DescribeAffectedEntitiesForOrganizationCommand";
|
|
@@ -107,6 +107,55 @@ export interface Health {
|
|
|
107
107
|
enableHealthServiceAccessForOrganization(args: EnableHealthServiceAccessForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<EnableHealthServiceAccessForOrganizationCommandOutput>;
|
|
108
108
|
enableHealthServiceAccessForOrganization(args: EnableHealthServiceAccessForOrganizationCommandInput, cb: (err: any, data?: EnableHealthServiceAccessForOrganizationCommandOutput) => void): void;
|
|
109
109
|
enableHealthServiceAccessForOrganization(args: EnableHealthServiceAccessForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableHealthServiceAccessForOrganizationCommandOutput) => void): void;
|
|
110
|
+
/**
|
|
111
|
+
* @see {@link DescribeAffectedAccountsForOrganizationCommand}
|
|
112
|
+
* @param args - command input.
|
|
113
|
+
* @param paginationConfig - optional pagination config.
|
|
114
|
+
* @returns AsyncIterable of {@link DescribeAffectedAccountsForOrganizationCommandOutput}.
|
|
115
|
+
*/
|
|
116
|
+
paginateDescribeAffectedAccountsForOrganization(args: DescribeAffectedAccountsForOrganizationCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeAffectedAccountsForOrganizationCommandOutput>;
|
|
117
|
+
/**
|
|
118
|
+
* @see {@link DescribeAffectedEntitiesCommand}
|
|
119
|
+
* @param args - command input.
|
|
120
|
+
* @param paginationConfig - optional pagination config.
|
|
121
|
+
* @returns AsyncIterable of {@link DescribeAffectedEntitiesCommandOutput}.
|
|
122
|
+
*/
|
|
123
|
+
paginateDescribeAffectedEntities(args: DescribeAffectedEntitiesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeAffectedEntitiesCommandOutput>;
|
|
124
|
+
/**
|
|
125
|
+
* @see {@link DescribeAffectedEntitiesForOrganizationCommand}
|
|
126
|
+
* @param args - command input.
|
|
127
|
+
* @param paginationConfig - optional pagination config.
|
|
128
|
+
* @returns AsyncIterable of {@link DescribeAffectedEntitiesForOrganizationCommandOutput}.
|
|
129
|
+
*/
|
|
130
|
+
paginateDescribeAffectedEntitiesForOrganization(args?: DescribeAffectedEntitiesForOrganizationCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeAffectedEntitiesForOrganizationCommandOutput>;
|
|
131
|
+
/**
|
|
132
|
+
* @see {@link DescribeEventAggregatesCommand}
|
|
133
|
+
* @param args - command input.
|
|
134
|
+
* @param paginationConfig - optional pagination config.
|
|
135
|
+
* @returns AsyncIterable of {@link DescribeEventAggregatesCommandOutput}.
|
|
136
|
+
*/
|
|
137
|
+
paginateDescribeEventAggregates(args: DescribeEventAggregatesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeEventAggregatesCommandOutput>;
|
|
138
|
+
/**
|
|
139
|
+
* @see {@link DescribeEventsCommand}
|
|
140
|
+
* @param args - command input.
|
|
141
|
+
* @param paginationConfig - optional pagination config.
|
|
142
|
+
* @returns AsyncIterable of {@link DescribeEventsCommandOutput}.
|
|
143
|
+
*/
|
|
144
|
+
paginateDescribeEvents(args?: DescribeEventsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeEventsCommandOutput>;
|
|
145
|
+
/**
|
|
146
|
+
* @see {@link DescribeEventsForOrganizationCommand}
|
|
147
|
+
* @param args - command input.
|
|
148
|
+
* @param paginationConfig - optional pagination config.
|
|
149
|
+
* @returns AsyncIterable of {@link DescribeEventsForOrganizationCommandOutput}.
|
|
150
|
+
*/
|
|
151
|
+
paginateDescribeEventsForOrganization(args?: DescribeEventsForOrganizationCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeEventsForOrganizationCommandOutput>;
|
|
152
|
+
/**
|
|
153
|
+
* @see {@link DescribeEventTypesCommand}
|
|
154
|
+
* @param args - command input.
|
|
155
|
+
* @param paginationConfig - optional pagination config.
|
|
156
|
+
* @returns AsyncIterable of {@link DescribeEventTypesCommandOutput}.
|
|
157
|
+
*/
|
|
158
|
+
paginateDescribeEventTypes(args?: DescribeEventTypesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeEventTypesCommandOutput>;
|
|
110
159
|
}
|
|
111
160
|
/**
|
|
112
161
|
* <fullname>Health</fullname>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
DescribeAffectedAccountsForOrganizationCommandInput,
|
|
4
8
|
DescribeAffectedAccountsForOrganizationCommandOutput,
|
|
@@ -289,5 +293,54 @@ export interface Health {
|
|
|
289
293
|
data?: EnableHealthServiceAccessForOrganizationCommandOutput
|
|
290
294
|
) => void
|
|
291
295
|
): void;
|
|
296
|
+
paginateDescribeAffectedAccountsForOrganization(
|
|
297
|
+
args: DescribeAffectedAccountsForOrganizationCommandInput,
|
|
298
|
+
paginationConfig?: Pick<
|
|
299
|
+
PaginationConfiguration,
|
|
300
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
301
|
+
>
|
|
302
|
+
): Paginator<DescribeAffectedAccountsForOrganizationCommandOutput>;
|
|
303
|
+
paginateDescribeAffectedEntities(
|
|
304
|
+
args: DescribeAffectedEntitiesCommandInput,
|
|
305
|
+
paginationConfig?: Pick<
|
|
306
|
+
PaginationConfiguration,
|
|
307
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
308
|
+
>
|
|
309
|
+
): Paginator<DescribeAffectedEntitiesCommandOutput>;
|
|
310
|
+
paginateDescribeAffectedEntitiesForOrganization(
|
|
311
|
+
args?: DescribeAffectedEntitiesForOrganizationCommandInput,
|
|
312
|
+
paginationConfig?: Pick<
|
|
313
|
+
PaginationConfiguration,
|
|
314
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
315
|
+
>
|
|
316
|
+
): Paginator<DescribeAffectedEntitiesForOrganizationCommandOutput>;
|
|
317
|
+
paginateDescribeEventAggregates(
|
|
318
|
+
args: DescribeEventAggregatesCommandInput,
|
|
319
|
+
paginationConfig?: Pick<
|
|
320
|
+
PaginationConfiguration,
|
|
321
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
322
|
+
>
|
|
323
|
+
): Paginator<DescribeEventAggregatesCommandOutput>;
|
|
324
|
+
paginateDescribeEvents(
|
|
325
|
+
args?: DescribeEventsCommandInput,
|
|
326
|
+
paginationConfig?: Pick<
|
|
327
|
+
PaginationConfiguration,
|
|
328
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
329
|
+
>
|
|
330
|
+
): Paginator<DescribeEventsCommandOutput>;
|
|
331
|
+
paginateDescribeEventsForOrganization(
|
|
332
|
+
args?: DescribeEventsForOrganizationCommandInput,
|
|
333
|
+
paginationConfig?: Pick<
|
|
334
|
+
PaginationConfiguration,
|
|
335
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
336
|
+
>
|
|
337
|
+
): Paginator<DescribeEventsForOrganizationCommandOutput>;
|
|
338
|
+
paginateDescribeEventTypes(
|
|
339
|
+
args?: DescribeEventTypesCommandInput,
|
|
340
|
+
paginationConfig?: Pick<
|
|
341
|
+
PaginationConfiguration,
|
|
342
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
343
|
+
>
|
|
344
|
+
): Paginator<DescribeEventTypesCommandOutput>;
|
|
292
345
|
}
|
|
293
346
|
export declare class Health extends HealthClient implements Health {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-health",
|
|
3
3
|
"description": "AWS SDK for JavaScript Health Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-health",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|