@aws-sdk/client-ssm-contacts 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 (60) hide show
  1. package/dist-cjs/index.js +1093 -1508
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/SSMContactsClient.js +2 -0
  4. package/dist-es/commands/AcceptPageCommand.js +3 -9
  5. package/dist-es/commands/ActivateContactChannelCommand.js +3 -9
  6. package/dist-es/commands/CreateContactChannelCommand.js +3 -9
  7. package/dist-es/commands/CreateContactCommand.js +3 -9
  8. package/dist-es/commands/CreateRotationCommand.js +3 -9
  9. package/dist-es/commands/CreateRotationOverrideCommand.js +3 -9
  10. package/dist-es/commands/DeactivateContactChannelCommand.js +3 -9
  11. package/dist-es/commands/DeleteContactChannelCommand.js +3 -9
  12. package/dist-es/commands/DeleteContactCommand.js +3 -9
  13. package/dist-es/commands/DeleteRotationCommand.js +3 -9
  14. package/dist-es/commands/DeleteRotationOverrideCommand.js +3 -9
  15. package/dist-es/commands/DescribeEngagementCommand.js +3 -9
  16. package/dist-es/commands/DescribePageCommand.js +3 -9
  17. package/dist-es/commands/GetContactChannelCommand.js +3 -9
  18. package/dist-es/commands/GetContactCommand.js +3 -9
  19. package/dist-es/commands/GetContactPolicyCommand.js +3 -9
  20. package/dist-es/commands/GetRotationCommand.js +3 -9
  21. package/dist-es/commands/GetRotationOverrideCommand.js +3 -9
  22. package/dist-es/commands/ListContactChannelsCommand.js +3 -9
  23. package/dist-es/commands/ListContactsCommand.js +3 -9
  24. package/dist-es/commands/ListEngagementsCommand.js +3 -9
  25. package/dist-es/commands/ListPageReceiptsCommand.js +3 -9
  26. package/dist-es/commands/ListPageResolutionsCommand.js +3 -9
  27. package/dist-es/commands/ListPagesByContactCommand.js +3 -9
  28. package/dist-es/commands/ListPagesByEngagementCommand.js +3 -9
  29. package/dist-es/commands/ListPreviewRotationShiftsCommand.js +3 -9
  30. package/dist-es/commands/ListRotationOverridesCommand.js +3 -9
  31. package/dist-es/commands/ListRotationShiftsCommand.js +3 -9
  32. package/dist-es/commands/ListRotationsCommand.js +3 -9
  33. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  34. package/dist-es/commands/PutContactPolicyCommand.js +3 -9
  35. package/dist-es/commands/SendActivationCodeCommand.js +3 -9
  36. package/dist-es/commands/StartEngagementCommand.js +3 -9
  37. package/dist-es/commands/StopEngagementCommand.js +3 -9
  38. package/dist-es/commands/TagResourceCommand.js +3 -9
  39. package/dist-es/commands/UntagResourceCommand.js +3 -9
  40. package/dist-es/commands/UpdateContactChannelCommand.js +3 -9
  41. package/dist-es/commands/UpdateContactCommand.js +3 -9
  42. package/dist-es/commands/UpdateRotationCommand.js +3 -9
  43. package/dist-es/runtimeConfig.shared.js +7 -0
  44. package/dist-es/schemas/schemas_0.js +996 -0
  45. package/dist-types/SSMContactsClient.d.ts +10 -1
  46. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  47. package/dist-types/runtimeConfig.d.ts +1 -0
  48. package/dist-types/runtimeConfig.native.d.ts +1 -0
  49. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  50. package/dist-types/schemas/schemas_0.d.ts +180 -0
  51. package/dist-types/ts3.4/SSMContactsClient.d.ts +4 -0
  52. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  53. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  54. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  55. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  56. package/dist-types/ts3.4/schemas/schemas_0.d.ts +186 -0
  57. package/package.json +5 -6
  58. package/dist-es/protocols/Aws_json1_1.js +0 -1215
  59. package/dist-types/protocols/Aws_json1_1.d.ts +0 -353
  60. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -473
@@ -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,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.ssmcontacts",
32
+ serviceTarget: "SSMContacts",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "SSM Contacts",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  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 SSMContactsClient 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_AcceptPageCommand, se_AcceptPageCommand } from "../protocols/Aws_json1_1";
4
+ import { AcceptPage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AcceptPageCommand 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("SSMContacts", "AcceptPage", {})
17
13
  .n("SSMContactsClient", "AcceptPageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AcceptPageCommand)
20
- .de(de_AcceptPageCommand)
14
+ .sc(AcceptPage)
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_ActivateContactChannelCommand, se_ActivateContactChannelCommand } from "../protocols/Aws_json1_1";
4
+ import { ActivateContactChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ActivateContactChannelCommand 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("SSMContacts", "ActivateContactChannel", {})
17
13
  .n("SSMContactsClient", "ActivateContactChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ActivateContactChannelCommand)
20
- .de(de_ActivateContactChannelCommand)
14
+ .sc(ActivateContactChannel)
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_CreateContactChannelCommand, se_CreateContactChannelCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateContactChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateContactChannelCommand 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("SSMContacts", "CreateContactChannel", {})
17
13
  .n("SSMContactsClient", "CreateContactChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateContactChannelCommand)
20
- .de(de_CreateContactChannelCommand)
14
+ .sc(CreateContactChannel)
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_CreateContactCommand, se_CreateContactCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateContact } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateContactCommand 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("SSMContacts", "CreateContact", {})
17
13
  .n("SSMContactsClient", "CreateContactCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateContactCommand)
20
- .de(de_CreateContactCommand)
14
+ .sc(CreateContact)
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_CreateRotationCommand, se_CreateRotationCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateRotation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateRotationCommand 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("SSMContacts", "CreateRotation", {})
17
13
  .n("SSMContactsClient", "CreateRotationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateRotationCommand)
20
- .de(de_CreateRotationCommand)
14
+ .sc(CreateRotation)
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_CreateRotationOverrideCommand, se_CreateRotationOverrideCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateRotationOverride } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateRotationOverrideCommand 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("SSMContacts", "CreateRotationOverride", {})
17
13
  .n("SSMContactsClient", "CreateRotationOverrideCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateRotationOverrideCommand)
20
- .de(de_CreateRotationOverrideCommand)
14
+ .sc(CreateRotationOverride)
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_DeactivateContactChannelCommand, se_DeactivateContactChannelCommand } from "../protocols/Aws_json1_1";
4
+ import { DeactivateContactChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeactivateContactChannelCommand 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("SSMContacts", "DeactivateContactChannel", {})
17
13
  .n("SSMContactsClient", "DeactivateContactChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeactivateContactChannelCommand)
20
- .de(de_DeactivateContactChannelCommand)
14
+ .sc(DeactivateContactChannel)
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_DeleteContactChannelCommand, se_DeleteContactChannelCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteContactChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteContactChannelCommand 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("SSMContacts", "DeleteContactChannel", {})
17
13
  .n("SSMContactsClient", "DeleteContactChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteContactChannelCommand)
20
- .de(de_DeleteContactChannelCommand)
14
+ .sc(DeleteContactChannel)
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_DeleteContactCommand, se_DeleteContactCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteContact } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteContactCommand 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("SSMContacts", "DeleteContact", {})
17
13
  .n("SSMContactsClient", "DeleteContactCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteContactCommand)
20
- .de(de_DeleteContactCommand)
14
+ .sc(DeleteContact)
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_DeleteRotationCommand, se_DeleteRotationCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteRotation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteRotationCommand 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("SSMContacts", "DeleteRotation", {})
17
13
  .n("SSMContactsClient", "DeleteRotationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteRotationCommand)
20
- .de(de_DeleteRotationCommand)
14
+ .sc(DeleteRotation)
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_DeleteRotationOverrideCommand, se_DeleteRotationOverrideCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteRotationOverride } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteRotationOverrideCommand 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("SSMContacts", "DeleteRotationOverride", {})
17
13
  .n("SSMContactsClient", "DeleteRotationOverrideCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteRotationOverrideCommand)
20
- .de(de_DeleteRotationOverrideCommand)
14
+ .sc(DeleteRotationOverride)
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_DescribeEngagementCommand, se_DescribeEngagementCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeEngagement } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeEngagementCommand 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("SSMContacts", "DescribeEngagement", {})
17
13
  .n("SSMContactsClient", "DescribeEngagementCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeEngagementCommand)
20
- .de(de_DescribeEngagementCommand)
14
+ .sc(DescribeEngagement)
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_DescribePageCommand, se_DescribePageCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribePage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribePageCommand 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("SSMContacts", "DescribePage", {})
17
13
  .n("SSMContactsClient", "DescribePageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribePageCommand)
20
- .de(de_DescribePageCommand)
14
+ .sc(DescribePage)
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_GetContactChannelCommand, se_GetContactChannelCommand } from "../protocols/Aws_json1_1";
4
+ import { GetContactChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetContactChannelCommand 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("SSMContacts", "GetContactChannel", {})
17
13
  .n("SSMContactsClient", "GetContactChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetContactChannelCommand)
20
- .de(de_GetContactChannelCommand)
14
+ .sc(GetContactChannel)
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_GetContactCommand, se_GetContactCommand } from "../protocols/Aws_json1_1";
4
+ import { GetContact } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetContactCommand 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("SSMContacts", "GetContact", {})
17
13
  .n("SSMContactsClient", "GetContactCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetContactCommand)
20
- .de(de_GetContactCommand)
14
+ .sc(GetContact)
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_GetContactPolicyCommand, se_GetContactPolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { GetContactPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetContactPolicyCommand 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("SSMContacts", "GetContactPolicy", {})
17
13
  .n("SSMContactsClient", "GetContactPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetContactPolicyCommand)
20
- .de(de_GetContactPolicyCommand)
14
+ .sc(GetContactPolicy)
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_GetRotationCommand, se_GetRotationCommand } from "../protocols/Aws_json1_1";
4
+ import { GetRotation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetRotationCommand 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("SSMContacts", "GetRotation", {})
17
13
  .n("SSMContactsClient", "GetRotationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetRotationCommand)
20
- .de(de_GetRotationCommand)
14
+ .sc(GetRotation)
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_GetRotationOverrideCommand, se_GetRotationOverrideCommand } from "../protocols/Aws_json1_1";
4
+ import { GetRotationOverride } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetRotationOverrideCommand 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("SSMContacts", "GetRotationOverride", {})
17
13
  .n("SSMContactsClient", "GetRotationOverrideCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetRotationOverrideCommand)
20
- .de(de_GetRotationOverrideCommand)
14
+ .sc(GetRotationOverride)
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_ListContactChannelsCommand, se_ListContactChannelsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListContactChannels } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListContactChannelsCommand 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("SSMContacts", "ListContactChannels", {})
17
13
  .n("SSMContactsClient", "ListContactChannelsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListContactChannelsCommand)
20
- .de(de_ListContactChannelsCommand)
14
+ .sc(ListContactChannels)
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_ListContactsCommand, se_ListContactsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListContacts } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListContactsCommand 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("SSMContacts", "ListContacts", {})
17
13
  .n("SSMContactsClient", "ListContactsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListContactsCommand)
20
- .de(de_ListContactsCommand)
14
+ .sc(ListContacts)
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_ListEngagementsCommand, se_ListEngagementsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListEngagements } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListEngagementsCommand 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("SSMContacts", "ListEngagements", {})
17
13
  .n("SSMContactsClient", "ListEngagementsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListEngagementsCommand)
20
- .de(de_ListEngagementsCommand)
14
+ .sc(ListEngagements)
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_ListPageReceiptsCommand, se_ListPageReceiptsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListPageReceipts } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPageReceiptsCommand 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("SSMContacts", "ListPageReceipts", {})
17
13
  .n("SSMContactsClient", "ListPageReceiptsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPageReceiptsCommand)
20
- .de(de_ListPageReceiptsCommand)
14
+ .sc(ListPageReceipts)
21
15
  .build() {
22
16
  }