@aws-sdk/client-health 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_json1_1.js +2 -2
- package/dist-es/Health.js +61 -54
- package/dist-es/HealthClient.js +28 -22
- package/dist-es/commands/DescribeAffectedAccountsForOrganizationCommand.js +28 -21
- package/dist-es/commands/DescribeAffectedEntitiesCommand.js +28 -21
- package/dist-es/commands/DescribeAffectedEntitiesForOrganizationCommand.js +28 -21
- package/dist-es/commands/DescribeEntityAggregatesCommand.js +28 -21
- package/dist-es/commands/DescribeEventAggregatesCommand.js +28 -21
- package/dist-es/commands/DescribeEventDetailsCommand.js +28 -21
- package/dist-es/commands/DescribeEventDetailsForOrganizationCommand.js +28 -21
- package/dist-es/commands/DescribeEventTypesCommand.js +28 -21
- package/dist-es/commands/DescribeEventsCommand.js +28 -21
- package/dist-es/commands/DescribeEventsForOrganizationCommand.js +28 -21
- package/dist-es/commands/DescribeHealthServiceStatusForOrganizationCommand.js +29 -22
- package/dist-es/commands/DisableHealthServiceAccessForOrganizationCommand.js +30 -23
- package/dist-es/commands/EnableHealthServiceAccessForOrganizationCommand.js +30 -23
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/HealthServiceException.js +10 -5
- package/dist-es/models/models_0.js +73 -150
- package/dist-es/pagination/DescribeAffectedAccountsForOrganizationPaginator.js +68 -25
- package/dist-es/pagination/DescribeAffectedEntitiesForOrganizationPaginator.js +68 -25
- package/dist-es/pagination/DescribeAffectedEntitiesPaginator.js +68 -25
- package/dist-es/pagination/DescribeEventAggregatesPaginator.js +68 -25
- package/dist-es/pagination/DescribeEventTypesPaginator.js +68 -25
- package/dist-es/pagination/DescribeEventsForOrganizationPaginator.js +68 -25
- package/dist-es/pagination/DescribeEventsPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +1110 -908
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +33 -33
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeEventAggregatesRequestFilterSensitiveLog, DescribeEventAggregatesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeEventAggregatesCommand, serializeAws_json1_1DescribeEventAggregatesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeEventAggregatesCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeEventAggregatesCommand, _super);
|
|
8
|
+
function DescribeEventAggregatesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeEventAggregatesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "HealthClient";
|
|
18
|
+
var commandName = "DescribeEventAggregatesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeEventAggregatesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeEventAggregatesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeEventAggregatesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeEventAggregatesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeEventAggregatesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeEventAggregatesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeEventAggregatesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeEventAggregatesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeEventDetailsRequestFilterSensitiveLog, DescribeEventDetailsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeEventDetailsCommand, serializeAws_json1_1DescribeEventDetailsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeEventDetailsCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeEventDetailsCommand, _super);
|
|
8
|
+
function DescribeEventDetailsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeEventDetailsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "HealthClient";
|
|
18
|
+
var commandName = "DescribeEventDetailsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeEventDetailsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeEventDetailsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeEventDetailsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeEventDetailsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeEventDetailsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeEventDetailsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeEventDetailsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeEventDetailsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeEventDetailsForOrganizationRequestFilterSensitiveLog, DescribeEventDetailsForOrganizationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeEventDetailsForOrganizationCommand, serializeAws_json1_1DescribeEventDetailsForOrganizationCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeEventDetailsForOrganizationCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeEventDetailsForOrganizationCommand, _super);
|
|
8
|
+
function DescribeEventDetailsForOrganizationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeEventDetailsForOrganizationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "HealthClient";
|
|
18
|
+
var commandName = "DescribeEventDetailsForOrganizationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeEventDetailsForOrganizationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeEventDetailsForOrganizationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeEventDetailsForOrganizationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeEventDetailsForOrganizationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeEventDetailsForOrganizationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeEventDetailsForOrganizationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeEventDetailsForOrganizationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeEventDetailsForOrganizationCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeEventTypesRequestFilterSensitiveLog, DescribeEventTypesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeEventTypesCommand, serializeAws_json1_1DescribeEventTypesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeEventTypesCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeEventTypesCommand, _super);
|
|
8
|
+
function DescribeEventTypesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeEventTypesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "HealthClient";
|
|
18
|
+
var commandName = "DescribeEventTypesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeEventTypesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeEventTypesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeEventTypesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeEventTypesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeEventTypesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeEventTypesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeEventTypesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeEventTypesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeEventsRequestFilterSensitiveLog, DescribeEventsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeEventsCommand, serializeAws_json1_1DescribeEventsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeEventsCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeEventsCommand, _super);
|
|
8
|
+
function DescribeEventsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeEventsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "HealthClient";
|
|
18
|
+
var commandName = "DescribeEventsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeEventsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeEventsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeEventsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeEventsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeEventsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeEventsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeEventsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeEventsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeEventsForOrganizationRequestFilterSensitiveLog, DescribeEventsForOrganizationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeEventsForOrganizationCommand, serializeAws_json1_1DescribeEventsForOrganizationCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeEventsForOrganizationCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeEventsForOrganizationCommand, _super);
|
|
8
|
+
function DescribeEventsForOrganizationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeEventsForOrganizationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "HealthClient";
|
|
18
|
+
var commandName = "DescribeEventsForOrganizationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeEventsForOrganizationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeEventsForOrganizationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeEventsForOrganizationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeEventsForOrganizationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeEventsForOrganizationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeEventsForOrganizationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeEventsForOrganizationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeEventsForOrganizationCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeHealthServiceStatusForOrganizationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeHealthServiceStatusForOrganizationCommand, serializeAws_json1_1DescribeHealthServiceStatusForOrganizationCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeHealthServiceStatusForOrganizationCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeHealthServiceStatusForOrganizationCommand, _super);
|
|
8
|
+
function DescribeHealthServiceStatusForOrganizationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeHealthServiceStatusForOrganizationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
20
|
-
inputFilterSensitiveLog: (input)
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "HealthClient";
|
|
18
|
+
var commandName = "DescribeHealthServiceStatusForOrganizationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: function (input) { return input; },
|
|
21
24
|
outputFilterSensitiveLog: DescribeHealthServiceStatusForOrganizationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeHealthServiceStatusForOrganizationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeHealthServiceStatusForOrganizationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeHealthServiceStatusForOrganizationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeHealthServiceStatusForOrganizationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeHealthServiceStatusForOrganizationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeHealthServiceStatusForOrganizationCommand };
|
|
@@ -1,31 +1,38 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { deserializeAws_json1_1DisableHealthServiceAccessForOrganizationCommand, serializeAws_json1_1DisableHealthServiceAccessForOrganizationCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
var DisableHealthServiceAccessForOrganizationCommand = (function (_super) {
|
|
6
|
+
__extends(DisableHealthServiceAccessForOrganizationCommand, _super);
|
|
7
|
+
function DisableHealthServiceAccessForOrganizationCommand(input) {
|
|
8
|
+
var _this = _super.call(this) || this;
|
|
9
|
+
_this.input = input;
|
|
10
|
+
return _this;
|
|
8
11
|
}
|
|
9
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
12
|
+
DisableHealthServiceAccessForOrganizationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
10
13
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
logger,
|
|
17
|
-
clientName,
|
|
18
|
-
commandName,
|
|
19
|
-
inputFilterSensitiveLog: (input)
|
|
20
|
-
outputFilterSensitiveLog: (output)
|
|
14
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
15
|
+
var logger = configuration.logger;
|
|
16
|
+
var clientName = "HealthClient";
|
|
17
|
+
var commandName = "DisableHealthServiceAccessForOrganizationCommand";
|
|
18
|
+
var handlerExecutionContext = {
|
|
19
|
+
logger: logger,
|
|
20
|
+
clientName: clientName,
|
|
21
|
+
commandName: commandName,
|
|
22
|
+
inputFilterSensitiveLog: function (input) { return input; },
|
|
23
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
21
24
|
};
|
|
22
|
-
|
|
23
|
-
return stack.resolve((request)
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
var requestHandler = configuration.requestHandler;
|
|
26
|
+
return stack.resolve(function (request) {
|
|
27
|
+
return requestHandler.handle(request.request, options || {});
|
|
28
|
+
}, handlerExecutionContext);
|
|
29
|
+
};
|
|
30
|
+
DisableHealthServiceAccessForOrganizationCommand.prototype.serialize = function (input, context) {
|
|
26
31
|
return serializeAws_json1_1DisableHealthServiceAccessForOrganizationCommand(input, context);
|
|
27
|
-
}
|
|
28
|
-
deserialize(output, context) {
|
|
32
|
+
};
|
|
33
|
+
DisableHealthServiceAccessForOrganizationCommand.prototype.deserialize = function (output, context) {
|
|
29
34
|
return deserializeAws_json1_1DisableHealthServiceAccessForOrganizationCommand(output, context);
|
|
30
|
-
}
|
|
31
|
-
|
|
35
|
+
};
|
|
36
|
+
return DisableHealthServiceAccessForOrganizationCommand;
|
|
37
|
+
}($Command));
|
|
38
|
+
export { DisableHealthServiceAccessForOrganizationCommand };
|
|
@@ -1,31 +1,38 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { deserializeAws_json1_1EnableHealthServiceAccessForOrganizationCommand, serializeAws_json1_1EnableHealthServiceAccessForOrganizationCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
var EnableHealthServiceAccessForOrganizationCommand = (function (_super) {
|
|
6
|
+
__extends(EnableHealthServiceAccessForOrganizationCommand, _super);
|
|
7
|
+
function EnableHealthServiceAccessForOrganizationCommand(input) {
|
|
8
|
+
var _this = _super.call(this) || this;
|
|
9
|
+
_this.input = input;
|
|
10
|
+
return _this;
|
|
8
11
|
}
|
|
9
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
12
|
+
EnableHealthServiceAccessForOrganizationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
10
13
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
logger,
|
|
17
|
-
clientName,
|
|
18
|
-
commandName,
|
|
19
|
-
inputFilterSensitiveLog: (input)
|
|
20
|
-
outputFilterSensitiveLog: (output)
|
|
14
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
15
|
+
var logger = configuration.logger;
|
|
16
|
+
var clientName = "HealthClient";
|
|
17
|
+
var commandName = "EnableHealthServiceAccessForOrganizationCommand";
|
|
18
|
+
var handlerExecutionContext = {
|
|
19
|
+
logger: logger,
|
|
20
|
+
clientName: clientName,
|
|
21
|
+
commandName: commandName,
|
|
22
|
+
inputFilterSensitiveLog: function (input) { return input; },
|
|
23
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
21
24
|
};
|
|
22
|
-
|
|
23
|
-
return stack.resolve((request)
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
var requestHandler = configuration.requestHandler;
|
|
26
|
+
return stack.resolve(function (request) {
|
|
27
|
+
return requestHandler.handle(request.request, options || {});
|
|
28
|
+
}, handlerExecutionContext);
|
|
29
|
+
};
|
|
30
|
+
EnableHealthServiceAccessForOrganizationCommand.prototype.serialize = function (input, context) {
|
|
26
31
|
return serializeAws_json1_1EnableHealthServiceAccessForOrganizationCommand(input, context);
|
|
27
|
-
}
|
|
28
|
-
deserialize(output, context) {
|
|
32
|
+
};
|
|
33
|
+
EnableHealthServiceAccessForOrganizationCommand.prototype.deserialize = function (output, context) {
|
|
29
34
|
return deserializeAws_json1_1EnableHealthServiceAccessForOrganizationCommand(output, context);
|
|
30
|
-
}
|
|
31
|
-
|
|
35
|
+
};
|
|
36
|
+
return EnableHealthServiceAccessForOrganizationCommand;
|
|
37
|
+
}($Command));
|
|
38
|
+
export { EnableHealthServiceAccessForOrganizationCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
+
var regionHash = {
|
|
3
4
|
"aws-cn-global": {
|
|
4
5
|
variants: [
|
|
5
6
|
{
|
|
@@ -19,7 +20,7 @@ const regionHash = {
|
|
|
19
20
|
signingRegion: "us-east-1",
|
|
20
21
|
},
|
|
21
22
|
};
|
|
22
|
-
|
|
23
|
+
var partitionHash = {
|
|
23
24
|
aws: {
|
|
24
25
|
regions: [
|
|
25
26
|
"af-south-1",
|
|
@@ -143,9 +144,8 @@ const partitionHash = {
|
|
|
143
144
|
],
|
|
144
145
|
},
|
|
145
146
|
};
|
|
146
|
-
export
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
});
|
|
147
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
148
|
+
return __generator(this, function (_a) {
|
|
149
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "health", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
150
|
+
});
|
|
151
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var HealthServiceException = (function (_super) {
|
|
4
|
+
__extends(HealthServiceException, _super);
|
|
5
|
+
function HealthServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, HealthServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return HealthServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { HealthServiceException };
|