@aws-sdk/client-ssm-contacts 3.926.0 → 3.928.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
@@ -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_ListPageResolutionsCommand, se_ListPageResolutionsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListPageResolutions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPageResolutionsCommand 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", "ListPageResolutions", {})
17
13
  .n("SSMContactsClient", "ListPageResolutionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPageResolutionsCommand)
20
- .de(de_ListPageResolutionsCommand)
14
+ .sc(ListPageResolutions)
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_ListPagesByContactCommand, se_ListPagesByContactCommand } from "../protocols/Aws_json1_1";
4
+ import { ListPagesByContact } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPagesByContactCommand 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", "ListPagesByContact", {})
17
13
  .n("SSMContactsClient", "ListPagesByContactCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPagesByContactCommand)
20
- .de(de_ListPagesByContactCommand)
14
+ .sc(ListPagesByContact)
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_ListPagesByEngagementCommand, se_ListPagesByEngagementCommand } from "../protocols/Aws_json1_1";
4
+ import { ListPagesByEngagement } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPagesByEngagementCommand 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", "ListPagesByEngagement", {})
17
13
  .n("SSMContactsClient", "ListPagesByEngagementCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPagesByEngagementCommand)
20
- .de(de_ListPagesByEngagementCommand)
14
+ .sc(ListPagesByEngagement)
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_ListPreviewRotationShiftsCommand, se_ListPreviewRotationShiftsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListPreviewRotationShifts } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPreviewRotationShiftsCommand 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", "ListPreviewRotationShifts", {})
17
13
  .n("SSMContactsClient", "ListPreviewRotationShiftsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPreviewRotationShiftsCommand)
20
- .de(de_ListPreviewRotationShiftsCommand)
14
+ .sc(ListPreviewRotationShifts)
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_ListRotationOverridesCommand, se_ListRotationOverridesCommand } from "../protocols/Aws_json1_1";
4
+ import { ListRotationOverrides } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListRotationOverridesCommand 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", "ListRotationOverrides", {})
17
13
  .n("SSMContactsClient", "ListRotationOverridesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListRotationOverridesCommand)
20
- .de(de_ListRotationOverridesCommand)
14
+ .sc(ListRotationOverrides)
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_ListRotationShiftsCommand, se_ListRotationShiftsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListRotationShifts } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListRotationShiftsCommand 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", "ListRotationShifts", {})
17
13
  .n("SSMContactsClient", "ListRotationShiftsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListRotationShiftsCommand)
20
- .de(de_ListRotationShiftsCommand)
14
+ .sc(ListRotationShifts)
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_ListRotationsCommand, se_ListRotationsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListRotations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListRotationsCommand 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", "ListRotations", {})
17
13
  .n("SSMContactsClient", "ListRotationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListRotationsCommand)
20
- .de(de_ListRotationsCommand)
14
+ .sc(ListRotations)
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_json1_1";
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("SSMContacts", "ListTagsForResource", {})
17
13
  .n("SSMContactsClient", "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_PutContactPolicyCommand, se_PutContactPolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { PutContactPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutContactPolicyCommand 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", "PutContactPolicy", {})
17
13
  .n("SSMContactsClient", "PutContactPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutContactPolicyCommand)
20
- .de(de_PutContactPolicyCommand)
14
+ .sc(PutContactPolicy)
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_SendActivationCodeCommand, se_SendActivationCodeCommand } from "../protocols/Aws_json1_1";
4
+ import { SendActivationCode } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SendActivationCodeCommand 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", "SendActivationCode", {})
17
13
  .n("SSMContactsClient", "SendActivationCodeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SendActivationCodeCommand)
20
- .de(de_SendActivationCodeCommand)
14
+ .sc(SendActivationCode)
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_StartEngagementCommand, se_StartEngagementCommand } from "../protocols/Aws_json1_1";
4
+ import { StartEngagement } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartEngagementCommand 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", "StartEngagement", {})
17
13
  .n("SSMContactsClient", "StartEngagementCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartEngagementCommand)
20
- .de(de_StartEngagementCommand)
14
+ .sc(StartEngagement)
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_StopEngagementCommand, se_StopEngagementCommand } from "../protocols/Aws_json1_1";
4
+ import { StopEngagement } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopEngagementCommand 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", "StopEngagement", {})
17
13
  .n("SSMContactsClient", "StopEngagementCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StopEngagementCommand)
20
- .de(de_StopEngagementCommand)
14
+ .sc(StopEngagement)
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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand 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", "TagResource", {})
17
13
  .n("SSMContactsClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand 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", "UntagResource", {})
17
13
  .n("SSMContactsClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
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_UpdateContactChannelCommand, se_UpdateContactChannelCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateContactChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateContactChannelCommand 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", "UpdateContactChannel", {})
17
13
  .n("SSMContactsClient", "UpdateContactChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateContactChannelCommand)
20
- .de(de_UpdateContactChannelCommand)
14
+ .sc(UpdateContactChannel)
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_UpdateContactCommand, se_UpdateContactCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateContact } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateContactCommand 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", "UpdateContact", {})
17
13
  .n("SSMContactsClient", "UpdateContactCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateContactCommand)
20
- .de(de_UpdateContactCommand)
14
+ .sc(UpdateContact)
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_UpdateRotationCommand, se_UpdateRotationCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateRotation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateRotationCommand 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", "UpdateRotation", {})
17
13
  .n("SSMContactsClient", "UpdateRotationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateRotationCommand)
20
- .de(de_UpdateRotationCommand)
14
+ .sc(UpdateRotation)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsJson1_1Protocol({
28
+ defaultNamespace: "com.amazonaws.ssmcontacts",
29
+ serviceTarget: "SSMContacts",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "SSM Contacts",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,