@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 { CreateReplicationSetInputFilterSensitiveLog, CreateReplicationSetOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateReplicationSetCommand, serializeAws_restJson1CreateReplicationSetCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateReplicationSetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateReplicationSetCommand = (function (_super) {
7
+ __extends(CreateReplicationSetCommand, _super);
8
+ function CreateReplicationSetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateReplicationSetCommand.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 = "CreateReplicationSetCommand";
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 = "CreateReplicationSetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateReplicationSetInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateReplicationSetOutputFilterSensitiveLog,
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
+ CreateReplicationSetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateReplicationSetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateReplicationSetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateReplicationSetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateReplicationSetCommand;
38
+ }($Command));
39
+ export { CreateReplicationSetCommand };
@@ -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 { CreateResponsePlanInputFilterSensitiveLog, CreateResponsePlanOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateResponsePlanCommand, serializeAws_restJson1CreateResponsePlanCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateResponsePlanCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateResponsePlanCommand = (function (_super) {
7
+ __extends(CreateResponsePlanCommand, _super);
8
+ function CreateResponsePlanCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateResponsePlanCommand.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 = "CreateResponsePlanCommand";
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 = "CreateResponsePlanCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateResponsePlanInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateResponsePlanOutputFilterSensitiveLog,
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
+ CreateResponsePlanCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateResponsePlanCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateResponsePlanCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateResponsePlanCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateResponsePlanCommand;
38
+ }($Command));
39
+ export { CreateResponsePlanCommand };
@@ -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 { CreateTimelineEventInputFilterSensitiveLog, CreateTimelineEventOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateTimelineEventCommand, serializeAws_restJson1CreateTimelineEventCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateTimelineEventCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateTimelineEventCommand = (function (_super) {
7
+ __extends(CreateTimelineEventCommand, _super);
8
+ function CreateTimelineEventCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateTimelineEventCommand.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 = "CreateTimelineEventCommand";
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 = "CreateTimelineEventCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateTimelineEventInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateTimelineEventOutputFilterSensitiveLog,
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
+ CreateTimelineEventCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateTimelineEventCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateTimelineEventCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateTimelineEventCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateTimelineEventCommand;
38
+ }($Command));
39
+ export { CreateTimelineEventCommand };
@@ -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 { DeleteIncidentRecordInputFilterSensitiveLog, DeleteIncidentRecordOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteIncidentRecordCommand, serializeAws_restJson1DeleteIncidentRecordCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteIncidentRecordCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteIncidentRecordCommand = (function (_super) {
7
+ __extends(DeleteIncidentRecordCommand, _super);
8
+ function DeleteIncidentRecordCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteIncidentRecordCommand.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 = "DeleteIncidentRecordCommand";
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 = "DeleteIncidentRecordCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteIncidentRecordInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteIncidentRecordOutputFilterSensitiveLog,
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
+ DeleteIncidentRecordCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteIncidentRecordCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteIncidentRecordCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteIncidentRecordCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteIncidentRecordCommand;
38
+ }($Command));
39
+ export { DeleteIncidentRecordCommand };
@@ -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 { DeleteReplicationSetInputFilterSensitiveLog, DeleteReplicationSetOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteReplicationSetCommand, serializeAws_restJson1DeleteReplicationSetCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteReplicationSetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteReplicationSetCommand = (function (_super) {
7
+ __extends(DeleteReplicationSetCommand, _super);
8
+ function DeleteReplicationSetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteReplicationSetCommand.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 = "DeleteReplicationSetCommand";
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 = "DeleteReplicationSetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteReplicationSetInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteReplicationSetOutputFilterSensitiveLog,
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
+ DeleteReplicationSetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteReplicationSetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteReplicationSetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteReplicationSetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteReplicationSetCommand;
38
+ }($Command));
39
+ export { DeleteReplicationSetCommand };
@@ -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 { DeleteResourcePolicyInputFilterSensitiveLog, DeleteResourcePolicyOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteResourcePolicyCommand, serializeAws_restJson1DeleteResourcePolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteResourcePolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteResourcePolicyCommand = (function (_super) {
7
+ __extends(DeleteResourcePolicyCommand, _super);
8
+ function DeleteResourcePolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteResourcePolicyCommand.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 = "DeleteResourcePolicyCommand";
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 = "DeleteResourcePolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteResourcePolicyInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteResourcePolicyOutputFilterSensitiveLog,
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
+ DeleteResourcePolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteResourcePolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteResourcePolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteResourcePolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteResourcePolicyCommand;
38
+ }($Command));
39
+ export { DeleteResourcePolicyCommand };
@@ -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 { DeleteResponsePlanInputFilterSensitiveLog, DeleteResponsePlanOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteResponsePlanCommand, serializeAws_restJson1DeleteResponsePlanCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteResponsePlanCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteResponsePlanCommand = (function (_super) {
7
+ __extends(DeleteResponsePlanCommand, _super);
8
+ function DeleteResponsePlanCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteResponsePlanCommand.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 = "DeleteResponsePlanCommand";
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 = "DeleteResponsePlanCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteResponsePlanInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteResponsePlanOutputFilterSensitiveLog,
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
+ DeleteResponsePlanCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteResponsePlanCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteResponsePlanCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteResponsePlanCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteResponsePlanCommand;
38
+ }($Command));
39
+ export { DeleteResponsePlanCommand };
@@ -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 { DeleteTimelineEventInputFilterSensitiveLog, DeleteTimelineEventOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteTimelineEventCommand, serializeAws_restJson1DeleteTimelineEventCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteTimelineEventCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteTimelineEventCommand = (function (_super) {
7
+ __extends(DeleteTimelineEventCommand, _super);
8
+ function DeleteTimelineEventCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteTimelineEventCommand.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 = "DeleteTimelineEventCommand";
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 = "DeleteTimelineEventCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteTimelineEventInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteTimelineEventOutputFilterSensitiveLog,
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
+ DeleteTimelineEventCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteTimelineEventCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteTimelineEventCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteTimelineEventCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteTimelineEventCommand;
38
+ }($Command));
39
+ export { DeleteTimelineEventCommand };
@@ -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 { GetIncidentRecordInputFilterSensitiveLog, GetIncidentRecordOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetIncidentRecordCommand, serializeAws_restJson1GetIncidentRecordCommand, } from "../protocols/Aws_restJson1";
5
- export class GetIncidentRecordCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetIncidentRecordCommand = (function (_super) {
7
+ __extends(GetIncidentRecordCommand, _super);
8
+ function GetIncidentRecordCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetIncidentRecordCommand.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 = "GetIncidentRecordCommand";
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 = "GetIncidentRecordCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetIncidentRecordInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetIncidentRecordOutputFilterSensitiveLog,
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
+ GetIncidentRecordCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetIncidentRecordCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetIncidentRecordCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetIncidentRecordCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetIncidentRecordCommand;
38
+ }($Command));
39
+ export { GetIncidentRecordCommand };
@@ -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 { GetReplicationSetInputFilterSensitiveLog, GetReplicationSetOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetReplicationSetCommand, serializeAws_restJson1GetReplicationSetCommand, } from "../protocols/Aws_restJson1";
5
- export class GetReplicationSetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetReplicationSetCommand = (function (_super) {
7
+ __extends(GetReplicationSetCommand, _super);
8
+ function GetReplicationSetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetReplicationSetCommand.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 = "GetReplicationSetCommand";
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 = "GetReplicationSetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetReplicationSetInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetReplicationSetOutputFilterSensitiveLog,
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
+ GetReplicationSetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetReplicationSetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetReplicationSetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetReplicationSetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetReplicationSetCommand;
38
+ }($Command));
39
+ export { GetReplicationSetCommand };