@aws-sdk/client-ssm-incidents 3.927.0 → 3.929.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/dist-cjs/index.js +1242 -1433
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/SSMIncidentsClient.js +2 -0
  4. package/dist-es/commands/BatchGetIncidentFindingsCommand.js +3 -9
  5. package/dist-es/commands/CreateReplicationSetCommand.js +3 -9
  6. package/dist-es/commands/CreateResponsePlanCommand.js +3 -9
  7. package/dist-es/commands/CreateTimelineEventCommand.js +3 -9
  8. package/dist-es/commands/DeleteIncidentRecordCommand.js +3 -9
  9. package/dist-es/commands/DeleteReplicationSetCommand.js +3 -9
  10. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
  11. package/dist-es/commands/DeleteResponsePlanCommand.js +3 -9
  12. package/dist-es/commands/DeleteTimelineEventCommand.js +3 -9
  13. package/dist-es/commands/GetIncidentRecordCommand.js +3 -9
  14. package/dist-es/commands/GetReplicationSetCommand.js +3 -9
  15. package/dist-es/commands/GetResourcePoliciesCommand.js +3 -9
  16. package/dist-es/commands/GetResponsePlanCommand.js +3 -9
  17. package/dist-es/commands/GetTimelineEventCommand.js +3 -9
  18. package/dist-es/commands/ListIncidentFindingsCommand.js +3 -9
  19. package/dist-es/commands/ListIncidentRecordsCommand.js +3 -9
  20. package/dist-es/commands/ListRelatedItemsCommand.js +3 -9
  21. package/dist-es/commands/ListReplicationSetsCommand.js +3 -9
  22. package/dist-es/commands/ListResponsePlansCommand.js +3 -9
  23. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  24. package/dist-es/commands/ListTimelineEventsCommand.js +3 -9
  25. package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
  26. package/dist-es/commands/StartIncidentCommand.js +3 -9
  27. package/dist-es/commands/TagResourceCommand.js +3 -9
  28. package/dist-es/commands/UntagResourceCommand.js +3 -9
  29. package/dist-es/commands/UpdateDeletionProtectionCommand.js +3 -9
  30. package/dist-es/commands/UpdateIncidentRecordCommand.js +3 -9
  31. package/dist-es/commands/UpdateRelatedItemsCommand.js +3 -9
  32. package/dist-es/commands/UpdateReplicationSetCommand.js +3 -9
  33. package/dist-es/commands/UpdateResponsePlanCommand.js +3 -9
  34. package/dist-es/commands/UpdateTimelineEventCommand.js +3 -9
  35. package/dist-es/runtimeConfig.shared.js +2 -0
  36. package/dist-es/schemas/schemas_0.js +1172 -0
  37. package/dist-types/SSMIncidentsClient.d.ts +10 -1
  38. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  39. package/dist-types/runtimeConfig.d.ts +1 -0
  40. package/dist-types/runtimeConfig.native.d.ts +1 -0
  41. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  42. package/dist-types/schemas/schemas_0.d.ts +171 -0
  43. package/dist-types/ts3.4/SSMIncidentsClient.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  47. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  48. package/dist-types/ts3.4/schemas/schemas_0.d.ts +177 -0
  49. package/package.json +5 -6
  50. package/dist-es/protocols/Aws_restJson1.js +0 -1200
  51. package/dist-types/protocols/Aws_restJson1.d.ts +0 -281
  52. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -377
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.ssmincidents" }),
28
30
  serviceId: config?.serviceId ?? "SSM Incidents",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class SSMIncidentsClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchGetIncidentFindingsCommand, se_BatchGetIncidentFindingsCommand } from "../protocols/Aws_restJson1";
4
+ import { BatchGetIncidentFindings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetIncidentFindingsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "BatchGetIncidentFindings", {})
17
13
  .n("SSMIncidentsClient", "BatchGetIncidentFindingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetIncidentFindingsCommand)
20
- .de(de_BatchGetIncidentFindingsCommand)
14
+ .sc(BatchGetIncidentFindings)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateReplicationSetCommand, se_CreateReplicationSetCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateReplicationSet } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateReplicationSetCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "CreateReplicationSet", {})
17
13
  .n("SSMIncidentsClient", "CreateReplicationSetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateReplicationSetCommand)
20
- .de(de_CreateReplicationSetCommand)
14
+ .sc(CreateReplicationSet)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateResponsePlanCommand, se_CreateResponsePlanCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateResponsePlan } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateResponsePlanCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "CreateResponsePlan", {})
17
13
  .n("SSMIncidentsClient", "CreateResponsePlanCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateResponsePlanCommand)
20
- .de(de_CreateResponsePlanCommand)
14
+ .sc(CreateResponsePlan)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateTimelineEventCommand, se_CreateTimelineEventCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateTimelineEvent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateTimelineEventCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "CreateTimelineEvent", {})
17
13
  .n("SSMIncidentsClient", "CreateTimelineEventCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateTimelineEventCommand)
20
- .de(de_CreateTimelineEventCommand)
14
+ .sc(CreateTimelineEvent)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteIncidentRecordCommand, se_DeleteIncidentRecordCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteIncidentRecord } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteIncidentRecordCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "DeleteIncidentRecord", {})
17
13
  .n("SSMIncidentsClient", "DeleteIncidentRecordCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteIncidentRecordCommand)
20
- .de(de_DeleteIncidentRecordCommand)
14
+ .sc(DeleteIncidentRecord)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteReplicationSetCommand, se_DeleteReplicationSetCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteReplicationSet } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteReplicationSetCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "DeleteReplicationSet", {})
17
13
  .n("SSMIncidentsClient", "DeleteReplicationSetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteReplicationSetCommand)
20
- .de(de_DeleteReplicationSetCommand)
14
+ .sc(DeleteReplicationSet)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteResourcePolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "DeleteResourcePolicy", {})
17
13
  .n("SSMIncidentsClient", "DeleteResourcePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteResourcePolicyCommand)
20
- .de(de_DeleteResourcePolicyCommand)
14
+ .sc(DeleteResourcePolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteResponsePlanCommand, se_DeleteResponsePlanCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteResponsePlan } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteResponsePlanCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "DeleteResponsePlan", {})
17
13
  .n("SSMIncidentsClient", "DeleteResponsePlanCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteResponsePlanCommand)
20
- .de(de_DeleteResponsePlanCommand)
14
+ .sc(DeleteResponsePlan)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteTimelineEventCommand, se_DeleteTimelineEventCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteTimelineEvent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteTimelineEventCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "DeleteTimelineEvent", {})
17
13
  .n("SSMIncidentsClient", "DeleteTimelineEventCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteTimelineEventCommand)
20
- .de(de_DeleteTimelineEventCommand)
14
+ .sc(DeleteTimelineEvent)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetIncidentRecordCommand, se_GetIncidentRecordCommand } from "../protocols/Aws_restJson1";
4
+ import { GetIncidentRecord } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetIncidentRecordCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "GetIncidentRecord", {})
17
13
  .n("SSMIncidentsClient", "GetIncidentRecordCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetIncidentRecordCommand)
20
- .de(de_GetIncidentRecordCommand)
14
+ .sc(GetIncidentRecord)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetReplicationSetCommand, se_GetReplicationSetCommand } from "../protocols/Aws_restJson1";
4
+ import { GetReplicationSet } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetReplicationSetCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "GetReplicationSet", {})
17
13
  .n("SSMIncidentsClient", "GetReplicationSetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetReplicationSetCommand)
20
- .de(de_GetReplicationSetCommand)
14
+ .sc(GetReplicationSet)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetResourcePoliciesCommand, se_GetResourcePoliciesCommand } from "../protocols/Aws_restJson1";
4
+ import { GetResourcePolicies } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetResourcePoliciesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "GetResourcePolicies", {})
17
13
  .n("SSMIncidentsClient", "GetResourcePoliciesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetResourcePoliciesCommand)
20
- .de(de_GetResourcePoliciesCommand)
14
+ .sc(GetResourcePolicies)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetResponsePlanCommand, se_GetResponsePlanCommand } from "../protocols/Aws_restJson1";
4
+ import { GetResponsePlan } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetResponsePlanCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "GetResponsePlan", {})
17
13
  .n("SSMIncidentsClient", "GetResponsePlanCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetResponsePlanCommand)
20
- .de(de_GetResponsePlanCommand)
14
+ .sc(GetResponsePlan)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTimelineEventCommand, se_GetTimelineEventCommand } from "../protocols/Aws_restJson1";
4
+ import { GetTimelineEvent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTimelineEventCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "GetTimelineEvent", {})
17
13
  .n("SSMIncidentsClient", "GetTimelineEventCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTimelineEventCommand)
20
- .de(de_GetTimelineEventCommand)
14
+ .sc(GetTimelineEvent)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListIncidentFindingsCommand, se_ListIncidentFindingsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListIncidentFindings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListIncidentFindingsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "ListIncidentFindings", {})
17
13
  .n("SSMIncidentsClient", "ListIncidentFindingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListIncidentFindingsCommand)
20
- .de(de_ListIncidentFindingsCommand)
14
+ .sc(ListIncidentFindings)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListIncidentRecordsCommand, se_ListIncidentRecordsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListIncidentRecords } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListIncidentRecordsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "ListIncidentRecords", {})
17
13
  .n("SSMIncidentsClient", "ListIncidentRecordsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListIncidentRecordsCommand)
20
- .de(de_ListIncidentRecordsCommand)
14
+ .sc(ListIncidentRecords)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListRelatedItemsCommand, se_ListRelatedItemsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListRelatedItems } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListRelatedItemsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "ListRelatedItems", {})
17
13
  .n("SSMIncidentsClient", "ListRelatedItemsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListRelatedItemsCommand)
20
- .de(de_ListRelatedItemsCommand)
14
+ .sc(ListRelatedItems)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListReplicationSetsCommand, se_ListReplicationSetsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListReplicationSets } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListReplicationSetsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "ListReplicationSets", {})
17
13
  .n("SSMIncidentsClient", "ListReplicationSetsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListReplicationSetsCommand)
20
- .de(de_ListReplicationSetsCommand)
14
+ .sc(ListReplicationSets)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListResponsePlansCommand, se_ListResponsePlansCommand } from "../protocols/Aws_restJson1";
4
+ import { ListResponsePlans } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListResponsePlansCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "ListResponsePlans", {})
17
13
  .n("SSMIncidentsClient", "ListResponsePlansCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListResponsePlansCommand)
20
- .de(de_ListResponsePlansCommand)
14
+ .sc(ListResponsePlans)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "ListTagsForResource", {})
17
13
  .n("SSMIncidentsClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTimelineEventsCommand, se_ListTimelineEventsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTimelineEvents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTimelineEventsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "ListTimelineEvents", {})
17
13
  .n("SSMIncidentsClient", "ListTimelineEventsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTimelineEventsCommand)
20
- .de(de_ListTimelineEventsCommand)
14
+ .sc(ListTimelineEvents)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { PutResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutResourcePolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SSMIncidents", "PutResourcePolicy", {})
17
13
  .n("SSMIncidentsClient", "PutResourcePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutResourcePolicyCommand)
20
- .de(de_PutResourcePolicyCommand)
14
+ .sc(PutResourcePolicy)
21
15
  .build() {
22
16
  }