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