@aws-sdk/client-health 3.477.0 → 3.481.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/commands/DescribeAffectedAccountsForOrganizationCommand.js +18 -41
- package/dist-cjs/commands/DescribeAffectedEntitiesCommand.js +18 -41
- package/dist-cjs/commands/DescribeAffectedEntitiesForOrganizationCommand.js +18 -41
- package/dist-cjs/commands/DescribeEntityAggregatesCommand.js +18 -41
- package/dist-cjs/commands/DescribeEntityAggregatesForOrganizationCommand.js +18 -41
- package/dist-cjs/commands/DescribeEventAggregatesCommand.js +18 -41
- package/dist-cjs/commands/DescribeEventDetailsCommand.js +18 -41
- package/dist-cjs/commands/DescribeEventDetailsForOrganizationCommand.js +18 -41
- package/dist-cjs/commands/DescribeEventTypesCommand.js +18 -41
- package/dist-cjs/commands/DescribeEventsCommand.js +18 -41
- package/dist-cjs/commands/DescribeEventsForOrganizationCommand.js +18 -41
- package/dist-cjs/commands/DescribeHealthServiceStatusForOrganizationCommand.js +18 -41
- package/dist-cjs/commands/DisableHealthServiceAccessForOrganizationCommand.js +18 -41
- package/dist-cjs/commands/EnableHealthServiceAccessForOrganizationCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/DescribeAffectedAccountsForOrganizationPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeAffectedEntitiesForOrganizationPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeAffectedEntitiesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEventAggregatesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEventTypesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEventsForOrganizationPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEventsPaginator.js +2 -24
- package/dist-es/commands/DescribeAffectedAccountsForOrganizationCommand.js +18 -41
- package/dist-es/commands/DescribeAffectedEntitiesCommand.js +18 -41
- package/dist-es/commands/DescribeAffectedEntitiesForOrganizationCommand.js +18 -41
- package/dist-es/commands/DescribeEntityAggregatesCommand.js +18 -41
- package/dist-es/commands/DescribeEntityAggregatesForOrganizationCommand.js +18 -41
- package/dist-es/commands/DescribeEventAggregatesCommand.js +18 -41
- package/dist-es/commands/DescribeEventDetailsCommand.js +18 -41
- package/dist-es/commands/DescribeEventDetailsForOrganizationCommand.js +18 -41
- package/dist-es/commands/DescribeEventTypesCommand.js +18 -41
- package/dist-es/commands/DescribeEventsCommand.js +18 -41
- package/dist-es/commands/DescribeEventsForOrganizationCommand.js +18 -41
- package/dist-es/commands/DescribeHealthServiceStatusForOrganizationCommand.js +18 -41
- package/dist-es/commands/DisableHealthServiceAccessForOrganizationCommand.js +18 -41
- package/dist-es/commands/EnableHealthServiceAccessForOrganizationCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/DescribeAffectedAccountsForOrganizationPaginator.js +2 -23
- package/dist-es/pagination/DescribeAffectedEntitiesForOrganizationPaginator.js +2 -23
- package/dist-es/pagination/DescribeAffectedEntitiesPaginator.js +2 -23
- package/dist-es/pagination/DescribeEventAggregatesPaginator.js +2 -23
- package/dist-es/pagination/DescribeEventTypesPaginator.js +2 -23
- package/dist-es/pagination/DescribeEventsForOrganizationPaginator.js +2 -23
- package/dist-es/pagination/DescribeEventsPaginator.js +2 -23
- package/dist-types/commands/DescribeAffectedAccountsForOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAffectedEntitiesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAffectedEntitiesForOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEntityAggregatesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEntityAggregatesForOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEventAggregatesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEventDetailsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEventDetailsForOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEventTypesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEventsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEventsForOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeHealthServiceStatusForOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/DisableHealthServiceAccessForOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/EnableHealthServiceAccessForOrganizationCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/DescribeAffectedAccountsForOrganizationPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeAffectedEntitiesForOrganizationPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeAffectedEntitiesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEventAggregatesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEventTypesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEventsForOrganizationPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEventsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeAffectedAccountsForOrganizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeAffectedEntitiesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeAffectedEntitiesForOrganizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEntityAggregatesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEntityAggregatesForOrganizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEventAggregatesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEventDetailsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEventDetailsForOrganizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEventTypesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeEventsForOrganizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeHealthServiceStatusForOrganizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisableHealthServiceAccessForOrganizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/EnableHealthServiceAccessForOrganizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/DescribeAffectedAccountsForOrganizationPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeAffectedEntitiesForOrganizationPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeAffectedEntitiesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEventAggregatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEventTypesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEventsForOrganizationPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEventsPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeEventsCommand, se_DescribeEventsCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeEventsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "HealthClient";
|
|
26
|
-
const commandName = "DescribeEventsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSHealth_20160804",
|
|
35
|
-
operation: "DescribeEvents",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DescribeEventsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeEventsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeEventsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSHealth_20160804", "DescribeEvents", {})
|
|
19
|
+
.n("HealthClient", "DescribeEventsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeEventsCommand)
|
|
22
|
+
.de(de_DescribeEventsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeEventsForOrganizationCommand, se_DescribeEventsForOrganizationCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeEventsForOrganizationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "HealthClient";
|
|
26
|
-
const commandName = "DescribeEventsForOrganizationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSHealth_20160804",
|
|
35
|
-
operation: "DescribeEventsForOrganization",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DescribeEventsForOrganizationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeEventsForOrganizationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeEventsForOrganizationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSHealth_20160804", "DescribeEventsForOrganization", {})
|
|
19
|
+
.n("HealthClient", "DescribeEventsForOrganizationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeEventsForOrganizationCommand)
|
|
22
|
+
.de(de_DescribeEventsForOrganizationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeHealthServiceStatusForOrganizationCommand, se_DescribeHealthServiceStatusForOrganizationCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeHealthServiceStatusForOrganizationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "HealthClient";
|
|
26
|
-
const commandName = "DescribeHealthServiceStatusForOrganizationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSHealth_20160804",
|
|
35
|
-
operation: "DescribeHealthServiceStatusForOrganization",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DescribeHealthServiceStatusForOrganizationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeHealthServiceStatusForOrganizationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeHealthServiceStatusForOrganizationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSHealth_20160804", "DescribeHealthServiceStatusForOrganization", {})
|
|
19
|
+
.n("HealthClient", "DescribeHealthServiceStatusForOrganizationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeHealthServiceStatusForOrganizationCommand)
|
|
22
|
+
.de(de_DescribeHealthServiceStatusForOrganizationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DisableHealthServiceAccessForOrganizationCommand, se_DisableHealthServiceAccessForOrganizationCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DisableHealthServiceAccessForOrganizationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "HealthClient";
|
|
26
|
-
const commandName = "DisableHealthServiceAccessForOrganizationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSHealth_20160804",
|
|
35
|
-
operation: "DisableHealthServiceAccessForOrganization",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DisableHealthServiceAccessForOrganizationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DisableHealthServiceAccessForOrganizationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DisableHealthServiceAccessForOrganizationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSHealth_20160804", "DisableHealthServiceAccessForOrganization", {})
|
|
19
|
+
.n("HealthClient", "DisableHealthServiceAccessForOrganizationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DisableHealthServiceAccessForOrganizationCommand)
|
|
22
|
+
.de(de_DisableHealthServiceAccessForOrganizationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_EnableHealthServiceAccessForOrganizationCommand, se_EnableHealthServiceAccessForOrganizationCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class EnableHealthServiceAccessForOrganizationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "HealthClient";
|
|
26
|
-
const commandName = "EnableHealthServiceAccessForOrganizationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSHealth_20160804",
|
|
35
|
-
operation: "EnableHealthServiceAccessForOrganization",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_EnableHealthServiceAccessForOrganizationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_EnableHealthServiceAccessForOrganizationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class EnableHealthServiceAccessForOrganizationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSHealth_20160804", "EnableHealthServiceAccessForOrganization", {})
|
|
19
|
+
.n("HealthClient", "EnableHealthServiceAccessForOrganizationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_EnableHealthServiceAccessForOrganizationCommand)
|
|
22
|
+
.de(de_EnableHealthServiceAccessForOrganizationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "health",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeAffectedAccountsForOrganizationCommand, } from "../commands/DescribeAffectedAccountsForOrganizationCommand";
|
|
2
3
|
import { HealthClient } from "../HealthClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeAffectedAccountsForOrganizationCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeAffectedAccountsForOrganization(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof HealthClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Health | HealthClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeAffectedAccountsForOrganization = createPaginator(HealthClient, DescribeAffectedAccountsForOrganizationCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeAffectedEntitiesForOrganizationCommand, } from "../commands/DescribeAffectedEntitiesForOrganizationCommand";
|
|
2
3
|
import { HealthClient } from "../HealthClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeAffectedEntitiesForOrganizationCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeAffectedEntitiesForOrganization(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof HealthClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Health | HealthClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeAffectedEntitiesForOrganization = createPaginator(HealthClient, DescribeAffectedEntitiesForOrganizationCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeAffectedEntitiesCommand, } from "../commands/DescribeAffectedEntitiesCommand";
|
|
2
3
|
import { HealthClient } from "../HealthClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeAffectedEntitiesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeAffectedEntities(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof HealthClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Health | HealthClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeAffectedEntities = createPaginator(HealthClient, DescribeAffectedEntitiesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeEventAggregatesCommand, } from "../commands/DescribeEventAggregatesCommand";
|
|
2
3
|
import { HealthClient } from "../HealthClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeEventAggregatesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeEventAggregates(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof HealthClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Health | HealthClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeEventAggregates = createPaginator(HealthClient, DescribeEventAggregatesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeEventTypesCommand, } from "../commands/DescribeEventTypesCommand";
|
|
2
3
|
import { HealthClient } from "../HealthClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeEventTypesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeEventTypes(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof HealthClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Health | HealthClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeEventTypes = createPaginator(HealthClient, DescribeEventTypesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeEventsForOrganizationCommand, } from "../commands/DescribeEventsForOrganizationCommand";
|
|
2
3
|
import { HealthClient } from "../HealthClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeEventsForOrganizationCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeEventsForOrganization(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof HealthClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Health | HealthClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeEventsForOrganization = createPaginator(HealthClient, DescribeEventsForOrganizationCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeEventsCommand, } from "../commands/DescribeEventsCommand";
|
|
2
3
|
import { HealthClient } from "../HealthClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeEventsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeEvents(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof HealthClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Health | HealthClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeEvents = createPaginator(HealthClient, DescribeEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { HealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../HealthClient";
|
|
5
4
|
import { DescribeAffectedAccountsForOrganizationRequest, DescribeAffectedAccountsForOrganizationResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DescribeAffectedAccountsForOrganizationCommandInput extends Des
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DescribeAffectedAccountsForOrganizationCommandOutput extends DescribeAffectedAccountsForOrganizationResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DescribeAffectedAccountsForOrganizationCommand_base: {
|
|
24
|
+
new (input: DescribeAffectedAccountsForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAffectedAccountsForOrganizationCommandInput, DescribeAffectedAccountsForOrganizationCommandOutput, HealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Returns a list of accounts in the organization from Organizations that are affected by the
|
|
@@ -68,23 +71,5 @@ export interface DescribeAffectedAccountsForOrganizationCommandOutput extends De
|
|
|
68
71
|
* <p>Base exception class for all service exceptions from Health service.</p>
|
|
69
72
|
*
|
|
70
73
|
*/
|
|
71
|
-
export declare class DescribeAffectedAccountsForOrganizationCommand extends
|
|
72
|
-
readonly input: DescribeAffectedAccountsForOrganizationCommandInput;
|
|
73
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
74
|
-
/**
|
|
75
|
-
* @public
|
|
76
|
-
*/
|
|
77
|
-
constructor(input: DescribeAffectedAccountsForOrganizationCommandInput);
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
81
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: HealthClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeAffectedAccountsForOrganizationCommandInput, DescribeAffectedAccountsForOrganizationCommandOutput>;
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
|
-
private serialize;
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
89
|
-
private deserialize;
|
|
74
|
+
export declare class DescribeAffectedAccountsForOrganizationCommand extends DescribeAffectedAccountsForOrganizationCommand_base {
|
|
90
75
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { HealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../HealthClient";
|
|
5
4
|
import { DescribeAffectedEntitiesRequest, DescribeAffectedEntitiesResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DescribeAffectedEntitiesCommandInput extends DescribeAffectedEn
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DescribeAffectedEntitiesCommandOutput extends DescribeAffectedEntitiesResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DescribeAffectedEntitiesCommand_base: {
|
|
24
|
+
new (input: DescribeAffectedEntitiesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAffectedEntitiesCommandInput, DescribeAffectedEntitiesCommandOutput, HealthClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Returns a list of entities that have been affected by the specified events, based on the
|
|
@@ -114,23 +117,5 @@ export interface DescribeAffectedEntitiesCommandOutput extends DescribeAffectedE
|
|
|
114
117
|
* <p>Base exception class for all service exceptions from Health service.</p>
|
|
115
118
|
*
|
|
116
119
|
*/
|
|
117
|
-
export declare class DescribeAffectedEntitiesCommand extends
|
|
118
|
-
readonly input: DescribeAffectedEntitiesCommandInput;
|
|
119
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
120
|
-
/**
|
|
121
|
-
* @public
|
|
122
|
-
*/
|
|
123
|
-
constructor(input: DescribeAffectedEntitiesCommandInput);
|
|
124
|
-
/**
|
|
125
|
-
* @internal
|
|
126
|
-
*/
|
|
127
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: HealthClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeAffectedEntitiesCommandInput, DescribeAffectedEntitiesCommandOutput>;
|
|
128
|
-
/**
|
|
129
|
-
* @internal
|
|
130
|
-
*/
|
|
131
|
-
private serialize;
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
*/
|
|
135
|
-
private deserialize;
|
|
120
|
+
export declare class DescribeAffectedEntitiesCommand extends DescribeAffectedEntitiesCommand_base {
|
|
136
121
|
}
|