@aws-sdk/client-ssm-incidents 3.186.0 → 3.190.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 (52) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/models/models_0.js +1 -0
  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 +390 -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 -3142
  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/dist-types/models/models_0.d.ts +2 -1
  51. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  52. 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 { CreateReplicationSetInputFilterSensitiveLog, CreateReplicationSetOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateReplicationSetCommand, serializeAws_restJson1CreateReplicationSetCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class CreateReplicationSetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateReplicationSetCommand.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 = "CreateReplicationSetCommand";
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 = "CreateReplicationSetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateReplicationSetInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateReplicationSetOutputFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateReplicationSetCommand(input, context);
33
- };
34
- CreateReplicationSetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateReplicationSetCommand(output, context);
36
- };
37
- return CreateReplicationSetCommand;
38
- }($Command));
39
- export { CreateReplicationSetCommand };
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 { CreateResponsePlanInputFilterSensitiveLog, CreateResponsePlanOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateResponsePlanCommand, serializeAws_restJson1CreateResponsePlanCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class CreateResponsePlanCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateResponsePlanCommand.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 = "CreateResponsePlanCommand";
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 = "CreateResponsePlanCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateResponsePlanInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateResponsePlanOutputFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateResponsePlanCommand(input, context);
33
- };
34
- CreateResponsePlanCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateResponsePlanCommand(output, context);
36
- };
37
- return CreateResponsePlanCommand;
38
- }($Command));
39
- export { CreateResponsePlanCommand };
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 { CreateTimelineEventInputFilterSensitiveLog, CreateTimelineEventOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateTimelineEventCommand, serializeAws_restJson1CreateTimelineEventCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class CreateTimelineEventCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateTimelineEventCommand.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 = "CreateTimelineEventCommand";
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 = "CreateTimelineEventCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateTimelineEventInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateTimelineEventOutputFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateTimelineEventCommand(input, context);
33
- };
34
- CreateTimelineEventCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateTimelineEventCommand(output, context);
36
- };
37
- return CreateTimelineEventCommand;
38
- }($Command));
39
- export { CreateTimelineEventCommand };
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 { DeleteIncidentRecordInputFilterSensitiveLog, DeleteIncidentRecordOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteIncidentRecordCommand, serializeAws_restJson1DeleteIncidentRecordCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteIncidentRecordCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteIncidentRecordCommand.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 = "DeleteIncidentRecordCommand";
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 = "DeleteIncidentRecordCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteIncidentRecordInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteIncidentRecordOutputFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteIncidentRecordCommand(input, context);
33
- };
34
- DeleteIncidentRecordCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteIncidentRecordCommand(output, context);
36
- };
37
- return DeleteIncidentRecordCommand;
38
- }($Command));
39
- export { DeleteIncidentRecordCommand };
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 { DeleteReplicationSetInputFilterSensitiveLog, DeleteReplicationSetOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteReplicationSetCommand, serializeAws_restJson1DeleteReplicationSetCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteReplicationSetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteReplicationSetCommand.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 = "DeleteReplicationSetCommand";
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 = "DeleteReplicationSetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteReplicationSetInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteReplicationSetOutputFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteReplicationSetCommand(input, context);
33
- };
34
- DeleteReplicationSetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteReplicationSetCommand(output, context);
36
- };
37
- return DeleteReplicationSetCommand;
38
- }($Command));
39
- export { DeleteReplicationSetCommand };
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 { DeleteResourcePolicyInputFilterSensitiveLog, DeleteResourcePolicyOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteResourcePolicyCommand, serializeAws_restJson1DeleteResourcePolicyCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteResourcePolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteResourcePolicyCommand.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 = "DeleteResourcePolicyCommand";
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 = "DeleteResourcePolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteResourcePolicyInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteResourcePolicyOutputFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteResourcePolicyCommand(input, context);
33
- };
34
- DeleteResourcePolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteResourcePolicyCommand(output, context);
36
- };
37
- return DeleteResourcePolicyCommand;
38
- }($Command));
39
- export { DeleteResourcePolicyCommand };
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 { DeleteResponsePlanInputFilterSensitiveLog, DeleteResponsePlanOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteResponsePlanCommand, serializeAws_restJson1DeleteResponsePlanCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteResponsePlanCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteResponsePlanCommand.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 = "DeleteResponsePlanCommand";
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 = "DeleteResponsePlanCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteResponsePlanInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteResponsePlanOutputFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteResponsePlanCommand(input, context);
33
- };
34
- DeleteResponsePlanCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteResponsePlanCommand(output, context);
36
- };
37
- return DeleteResponsePlanCommand;
38
- }($Command));
39
- export { DeleteResponsePlanCommand };
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 { DeleteTimelineEventInputFilterSensitiveLog, DeleteTimelineEventOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteTimelineEventCommand, serializeAws_restJson1DeleteTimelineEventCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteTimelineEventCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteTimelineEventCommand.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 = "DeleteTimelineEventCommand";
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 = "DeleteTimelineEventCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteTimelineEventInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteTimelineEventOutputFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteTimelineEventCommand(input, context);
33
- };
34
- DeleteTimelineEventCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteTimelineEventCommand(output, context);
36
- };
37
- return DeleteTimelineEventCommand;
38
- }($Command));
39
- export { DeleteTimelineEventCommand };
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 { GetIncidentRecordInputFilterSensitiveLog, GetIncidentRecordOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetIncidentRecordCommand, serializeAws_restJson1GetIncidentRecordCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class GetIncidentRecordCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetIncidentRecordCommand.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 = "GetIncidentRecordCommand";
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 = "GetIncidentRecordCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetIncidentRecordInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetIncidentRecordOutputFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetIncidentRecordCommand(input, context);
33
- };
34
- GetIncidentRecordCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetIncidentRecordCommand(output, context);
36
- };
37
- return GetIncidentRecordCommand;
38
- }($Command));
39
- export { GetIncidentRecordCommand };
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 { GetReplicationSetInputFilterSensitiveLog, GetReplicationSetOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetReplicationSetCommand, serializeAws_restJson1GetReplicationSetCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class GetReplicationSetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetReplicationSetCommand.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 = "GetReplicationSetCommand";
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 = "GetReplicationSetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetReplicationSetInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetReplicationSetOutputFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetReplicationSetCommand(input, context);
33
- };
34
- GetReplicationSetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetReplicationSetCommand(output, context);
36
- };
37
- return GetReplicationSetCommand;
38
- }($Command));
39
- export { GetReplicationSetCommand };
31
+ }
32
+ }