@aws-sdk/client-ssm-incidents 3.180.0 → 3.183.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 (50) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +35 -29
  3. package/dist-es/SSMIncidents.js +118 -125
  4. package/dist-es/SSMIncidentsClient.js +22 -28
  5. package/dist-es/commands/CreateReplicationSetCommand.js +21 -28
  6. package/dist-es/commands/CreateResponsePlanCommand.js +21 -28
  7. package/dist-es/commands/CreateTimelineEventCommand.js +21 -28
  8. package/dist-es/commands/DeleteIncidentRecordCommand.js +21 -28
  9. package/dist-es/commands/DeleteReplicationSetCommand.js +21 -28
  10. package/dist-es/commands/DeleteResourcePolicyCommand.js +21 -28
  11. package/dist-es/commands/DeleteResponsePlanCommand.js +21 -28
  12. package/dist-es/commands/DeleteTimelineEventCommand.js +21 -28
  13. package/dist-es/commands/GetIncidentRecordCommand.js +21 -28
  14. package/dist-es/commands/GetReplicationSetCommand.js +21 -28
  15. package/dist-es/commands/GetResourcePoliciesCommand.js +21 -28
  16. package/dist-es/commands/GetResponsePlanCommand.js +21 -28
  17. package/dist-es/commands/GetTimelineEventCommand.js +21 -28
  18. package/dist-es/commands/ListIncidentRecordsCommand.js +21 -28
  19. package/dist-es/commands/ListRelatedItemsCommand.js +21 -28
  20. package/dist-es/commands/ListReplicationSetsCommand.js +21 -28
  21. package/dist-es/commands/ListResponsePlansCommand.js +21 -28
  22. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  23. package/dist-es/commands/ListTimelineEventsCommand.js +21 -28
  24. package/dist-es/commands/PutResourcePolicyCommand.js +21 -28
  25. package/dist-es/commands/StartIncidentCommand.js +21 -28
  26. package/dist-es/commands/TagResourceCommand.js +21 -28
  27. package/dist-es/commands/UntagResourceCommand.js +21 -28
  28. package/dist-es/commands/UpdateDeletionProtectionCommand.js +21 -28
  29. package/dist-es/commands/UpdateIncidentRecordCommand.js +21 -28
  30. package/dist-es/commands/UpdateRelatedItemsCommand.js +21 -28
  31. package/dist-es/commands/UpdateReplicationSetCommand.js +21 -28
  32. package/dist-es/commands/UpdateResponsePlanCommand.js +21 -28
  33. package/dist-es/commands/UpdateTimelineEventCommand.js +21 -28
  34. package/dist-es/endpoints.js +8 -8
  35. package/dist-es/models/SSMIncidentsServiceException.js +5 -10
  36. package/dist-es/models/models_0.js +389 -223
  37. package/dist-es/pagination/GetResourcePoliciesPaginator.js +25 -68
  38. package/dist-es/pagination/ListIncidentRecordsPaginator.js +25 -68
  39. package/dist-es/pagination/ListRelatedItemsPaginator.js +25 -68
  40. package/dist-es/pagination/ListReplicationSetsPaginator.js +25 -68
  41. package/dist-es/pagination/ListResponsePlansPaginator.js +25 -68
  42. package/dist-es/pagination/ListTimelineEventsPaginator.js +25 -68
  43. package/dist-es/protocols/Aws_restJson1.js +2327 -3129
  44. package/dist-es/runtimeConfig.browser.js +26 -12
  45. package/dist-es/runtimeConfig.js +30 -12
  46. package/dist-es/runtimeConfig.native.js +8 -5
  47. package/dist-es/runtimeConfig.shared.js +8 -11
  48. package/dist-es/waiters/waitForWaitForReplicationSetActive.js +54 -74
  49. package/dist-es/waiters/waitForWaitForReplicationSetDeleted.js +39 -59
  50. package/package.json +34 -34
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetResourcePoliciesInputFilterSensitiveLog, GetResourcePoliciesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetResourcePoliciesCommand, serializeAws_restJson1GetResourcePoliciesCommand, } from "../protocols/Aws_restJson1";
6
- var GetResourcePoliciesCommand = (function (_super) {
7
- __extends(GetResourcePoliciesCommand, _super);
8
- function GetResourcePoliciesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetResourcePoliciesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetResourcePoliciesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SSMIncidentsClient";
18
- var commandName = "GetResourcePoliciesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SSMIncidentsClient";
15
+ const commandName = "GetResourcePoliciesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetResourcePoliciesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetResourcePoliciesOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetResourcePoliciesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetResourcePoliciesCommand(input, context);
33
- };
34
- GetResourcePoliciesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetResourcePoliciesCommand(output, context);
36
- };
37
- return GetResourcePoliciesCommand;
38
- }($Command));
39
- export { GetResourcePoliciesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetResponsePlanInputFilterSensitiveLog, GetResponsePlanOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetResponsePlanCommand, serializeAws_restJson1GetResponsePlanCommand, } from "../protocols/Aws_restJson1";
6
- var GetResponsePlanCommand = (function (_super) {
7
- __extends(GetResponsePlanCommand, _super);
8
- function GetResponsePlanCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetResponsePlanCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetResponsePlanCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SSMIncidentsClient";
18
- var commandName = "GetResponsePlanCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SSMIncidentsClient";
15
+ const commandName = "GetResponsePlanCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetResponsePlanInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetResponsePlanOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetResponsePlanCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetResponsePlanCommand(input, context);
33
- };
34
- GetResponsePlanCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetResponsePlanCommand(output, context);
36
- };
37
- return GetResponsePlanCommand;
38
- }($Command));
39
- export { GetResponsePlanCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetTimelineEventInputFilterSensitiveLog, GetTimelineEventOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetTimelineEventCommand, serializeAws_restJson1GetTimelineEventCommand, } from "../protocols/Aws_restJson1";
6
- var GetTimelineEventCommand = (function (_super) {
7
- __extends(GetTimelineEventCommand, _super);
8
- function GetTimelineEventCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetTimelineEventCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetTimelineEventCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SSMIncidentsClient";
18
- var commandName = "GetTimelineEventCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SSMIncidentsClient";
15
+ const commandName = "GetTimelineEventCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetTimelineEventInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetTimelineEventOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetTimelineEventCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetTimelineEventCommand(input, context);
33
- };
34
- GetTimelineEventCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetTimelineEventCommand(output, context);
36
- };
37
- return GetTimelineEventCommand;
38
- }($Command));
39
- export { GetTimelineEventCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListIncidentRecordsInputFilterSensitiveLog, ListIncidentRecordsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListIncidentRecordsCommand, serializeAws_restJson1ListIncidentRecordsCommand, } from "../protocols/Aws_restJson1";
6
- var ListIncidentRecordsCommand = (function (_super) {
7
- __extends(ListIncidentRecordsCommand, _super);
8
- function ListIncidentRecordsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListIncidentRecordsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListIncidentRecordsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SSMIncidentsClient";
18
- var commandName = "ListIncidentRecordsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SSMIncidentsClient";
15
+ const commandName = "ListIncidentRecordsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListIncidentRecordsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListIncidentRecordsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListIncidentRecordsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListIncidentRecordsCommand(input, context);
33
- };
34
- ListIncidentRecordsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListIncidentRecordsCommand(output, context);
36
- };
37
- return ListIncidentRecordsCommand;
38
- }($Command));
39
- export { ListIncidentRecordsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListRelatedItemsInputFilterSensitiveLog, ListRelatedItemsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListRelatedItemsCommand, serializeAws_restJson1ListRelatedItemsCommand, } from "../protocols/Aws_restJson1";
6
- var ListRelatedItemsCommand = (function (_super) {
7
- __extends(ListRelatedItemsCommand, _super);
8
- function ListRelatedItemsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListRelatedItemsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListRelatedItemsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SSMIncidentsClient";
18
- var commandName = "ListRelatedItemsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SSMIncidentsClient";
15
+ const commandName = "ListRelatedItemsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListRelatedItemsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListRelatedItemsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListRelatedItemsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListRelatedItemsCommand(input, context);
33
- };
34
- ListRelatedItemsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListRelatedItemsCommand(output, context);
36
- };
37
- return ListRelatedItemsCommand;
38
- }($Command));
39
- export { ListRelatedItemsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListReplicationSetsInputFilterSensitiveLog, ListReplicationSetsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListReplicationSetsCommand, serializeAws_restJson1ListReplicationSetsCommand, } from "../protocols/Aws_restJson1";
6
- var ListReplicationSetsCommand = (function (_super) {
7
- __extends(ListReplicationSetsCommand, _super);
8
- function ListReplicationSetsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListReplicationSetsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListReplicationSetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SSMIncidentsClient";
18
- var commandName = "ListReplicationSetsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SSMIncidentsClient";
15
+ const commandName = "ListReplicationSetsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListReplicationSetsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListReplicationSetsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListReplicationSetsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListReplicationSetsCommand(input, context);
33
- };
34
- ListReplicationSetsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListReplicationSetsCommand(output, context);
36
- };
37
- return ListReplicationSetsCommand;
38
- }($Command));
39
- export { ListReplicationSetsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListResponsePlansInputFilterSensitiveLog, ListResponsePlansOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListResponsePlansCommand, serializeAws_restJson1ListResponsePlansCommand, } from "../protocols/Aws_restJson1";
6
- var ListResponsePlansCommand = (function (_super) {
7
- __extends(ListResponsePlansCommand, _super);
8
- function ListResponsePlansCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListResponsePlansCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListResponsePlansCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SSMIncidentsClient";
18
- var commandName = "ListResponsePlansCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SSMIncidentsClient";
15
+ const commandName = "ListResponsePlansCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListResponsePlansInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListResponsePlansOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListResponsePlansCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListResponsePlansCommand(input, context);
33
- };
34
- ListResponsePlansCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListResponsePlansCommand(output, context);
36
- };
37
- return ListResponsePlansCommand;
38
- }($Command));
39
- export { ListResponsePlansCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
6
- var ListTagsForResourceCommand = (function (_super) {
7
- __extends(ListTagsForResourceCommand, _super);
8
- function ListTagsForResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SSMIncidentsClient";
18
- var commandName = "ListTagsForResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SSMIncidentsClient";
15
+ const commandName = "ListTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListTagsForResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
33
- };
34
- ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
36
- };
37
- return ListTagsForResourceCommand;
38
- }($Command));
39
- export { ListTagsForResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListTimelineEventsInputFilterSensitiveLog, ListTimelineEventsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListTimelineEventsCommand, serializeAws_restJson1ListTimelineEventsCommand, } from "../protocols/Aws_restJson1";
6
- var ListTimelineEventsCommand = (function (_super) {
7
- __extends(ListTimelineEventsCommand, _super);
8
- function ListTimelineEventsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListTimelineEventsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTimelineEventsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SSMIncidentsClient";
18
- var commandName = "ListTimelineEventsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SSMIncidentsClient";
15
+ const commandName = "ListTimelineEventsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTimelineEventsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTimelineEventsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListTimelineEventsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListTimelineEventsCommand(input, context);
33
- };
34
- ListTimelineEventsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListTimelineEventsCommand(output, context);
36
- };
37
- return ListTimelineEventsCommand;
38
- }($Command));
39
- export { ListTimelineEventsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PutResourcePolicyInputFilterSensitiveLog, PutResourcePolicyOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1PutResourcePolicyCommand, serializeAws_restJson1PutResourcePolicyCommand, } from "../protocols/Aws_restJson1";
6
- var PutResourcePolicyCommand = (function (_super) {
7
- __extends(PutResourcePolicyCommand, _super);
8
- function PutResourcePolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PutResourcePolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutResourcePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SSMIncidentsClient";
18
- var commandName = "PutResourcePolicyCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SSMIncidentsClient";
15
+ const commandName = "PutResourcePolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutResourcePolicyInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PutResourcePolicyOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PutResourcePolicyCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1PutResourcePolicyCommand(input, context);
33
- };
34
- PutResourcePolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1PutResourcePolicyCommand(output, context);
36
- };
37
- return PutResourcePolicyCommand;
38
- }($Command));
39
- export { PutResourcePolicyCommand };
31
+ }
32
+ }