@aws-sdk/client-shield 3.927.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 (57) hide show
  1. package/dist-cjs/index.js +1129 -1338
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ShieldClient.js +2 -0
  4. package/dist-es/commands/AssociateDRTLogBucketCommand.js +3 -9
  5. package/dist-es/commands/AssociateDRTRoleCommand.js +3 -9
  6. package/dist-es/commands/AssociateHealthCheckCommand.js +3 -9
  7. package/dist-es/commands/AssociateProactiveEngagementDetailsCommand.js +3 -9
  8. package/dist-es/commands/CreateProtectionCommand.js +3 -9
  9. package/dist-es/commands/CreateProtectionGroupCommand.js +3 -9
  10. package/dist-es/commands/CreateSubscriptionCommand.js +3 -9
  11. package/dist-es/commands/DeleteProtectionCommand.js +3 -9
  12. package/dist-es/commands/DeleteProtectionGroupCommand.js +3 -9
  13. package/dist-es/commands/DeleteSubscriptionCommand.js +3 -9
  14. package/dist-es/commands/DescribeAttackCommand.js +3 -9
  15. package/dist-es/commands/DescribeAttackStatisticsCommand.js +3 -9
  16. package/dist-es/commands/DescribeDRTAccessCommand.js +3 -9
  17. package/dist-es/commands/DescribeEmergencyContactSettingsCommand.js +3 -9
  18. package/dist-es/commands/DescribeProtectionCommand.js +3 -9
  19. package/dist-es/commands/DescribeProtectionGroupCommand.js +3 -9
  20. package/dist-es/commands/DescribeSubscriptionCommand.js +3 -9
  21. package/dist-es/commands/DisableApplicationLayerAutomaticResponseCommand.js +3 -9
  22. package/dist-es/commands/DisableProactiveEngagementCommand.js +3 -9
  23. package/dist-es/commands/DisassociateDRTLogBucketCommand.js +3 -9
  24. package/dist-es/commands/DisassociateDRTRoleCommand.js +3 -9
  25. package/dist-es/commands/DisassociateHealthCheckCommand.js +3 -9
  26. package/dist-es/commands/EnableApplicationLayerAutomaticResponseCommand.js +3 -9
  27. package/dist-es/commands/EnableProactiveEngagementCommand.js +3 -9
  28. package/dist-es/commands/GetSubscriptionStateCommand.js +3 -9
  29. package/dist-es/commands/ListAttacksCommand.js +3 -9
  30. package/dist-es/commands/ListProtectionGroupsCommand.js +3 -9
  31. package/dist-es/commands/ListProtectionsCommand.js +3 -9
  32. package/dist-es/commands/ListResourcesInProtectionGroupCommand.js +3 -9
  33. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  34. package/dist-es/commands/TagResourceCommand.js +3 -9
  35. package/dist-es/commands/UntagResourceCommand.js +3 -9
  36. package/dist-es/commands/UpdateApplicationLayerAutomaticResponseCommand.js +3 -9
  37. package/dist-es/commands/UpdateEmergencyContactSettingsCommand.js +3 -9
  38. package/dist-es/commands/UpdateProtectionGroupCommand.js +3 -9
  39. package/dist-es/commands/UpdateSubscriptionCommand.js +3 -9
  40. package/dist-es/runtimeConfig.shared.js +7 -0
  41. package/dist-es/schemas/schemas_0.js +1029 -0
  42. package/dist-types/ShieldClient.d.ts +10 -1
  43. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  44. package/dist-types/runtimeConfig.d.ts +1 -0
  45. package/dist-types/runtimeConfig.native.d.ts +1 -0
  46. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  47. package/dist-types/schemas/schemas_0.d.ts +182 -0
  48. package/dist-types/ts3.4/ShieldClient.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  50. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  51. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  52. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  53. package/dist-types/ts3.4/schemas/schemas_0.d.ts +187 -0
  54. package/package.json +5 -5
  55. package/dist-es/protocols/Aws_json1_1.js +0 -1051
  56. package/dist-types/protocols/Aws_json1_1.d.ts +0 -326
  57. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -437
@@ -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_EnableApplicationLayerAutomaticResponseCommand, se_EnableApplicationLayerAutomaticResponseCommand, } from "../protocols/Aws_json1_1";
4
+ import { EnableApplicationLayerAutomaticResponse } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class EnableApplicationLayerAutomaticResponseCommand 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("AWSShield_20160616", "EnableApplicationLayerAutomaticResponse", {})
17
13
  .n("ShieldClient", "EnableApplicationLayerAutomaticResponseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_EnableApplicationLayerAutomaticResponseCommand)
20
- .de(de_EnableApplicationLayerAutomaticResponseCommand)
14
+ .sc(EnableApplicationLayerAutomaticResponse)
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_EnableProactiveEngagementCommand, se_EnableProactiveEngagementCommand } from "../protocols/Aws_json1_1";
4
+ import { EnableProactiveEngagement } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class EnableProactiveEngagementCommand 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("AWSShield_20160616", "EnableProactiveEngagement", {})
17
13
  .n("ShieldClient", "EnableProactiveEngagementCommand")
18
- .f(void 0, void 0)
19
- .ser(se_EnableProactiveEngagementCommand)
20
- .de(de_EnableProactiveEngagementCommand)
14
+ .sc(EnableProactiveEngagement)
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_GetSubscriptionStateCommand, se_GetSubscriptionStateCommand } from "../protocols/Aws_json1_1";
4
+ import { GetSubscriptionState } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSubscriptionStateCommand 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("AWSShield_20160616", "GetSubscriptionState", {})
17
13
  .n("ShieldClient", "GetSubscriptionStateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSubscriptionStateCommand)
20
- .de(de_GetSubscriptionStateCommand)
14
+ .sc(GetSubscriptionState)
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_ListAttacksCommand, se_ListAttacksCommand } from "../protocols/Aws_json1_1";
4
+ import { ListAttacks } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAttacksCommand 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("AWSShield_20160616", "ListAttacks", {})
17
13
  .n("ShieldClient", "ListAttacksCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAttacksCommand)
20
- .de(de_ListAttacksCommand)
14
+ .sc(ListAttacks)
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_ListProtectionGroupsCommand, se_ListProtectionGroupsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListProtectionGroups } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListProtectionGroupsCommand 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("AWSShield_20160616", "ListProtectionGroups", {})
17
13
  .n("ShieldClient", "ListProtectionGroupsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListProtectionGroupsCommand)
20
- .de(de_ListProtectionGroupsCommand)
14
+ .sc(ListProtectionGroups)
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_ListProtectionsCommand, se_ListProtectionsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListProtections } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListProtectionsCommand 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("AWSShield_20160616", "ListProtections", {})
17
13
  .n("ShieldClient", "ListProtectionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListProtectionsCommand)
20
- .de(de_ListProtectionsCommand)
14
+ .sc(ListProtections)
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_ListResourcesInProtectionGroupCommand, se_ListResourcesInProtectionGroupCommand, } from "../protocols/Aws_json1_1";
4
+ import { ListResourcesInProtectionGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListResourcesInProtectionGroupCommand 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("AWSShield_20160616", "ListResourcesInProtectionGroup", {})
17
13
  .n("ShieldClient", "ListResourcesInProtectionGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListResourcesInProtectionGroupCommand)
20
- .de(de_ListResourcesInProtectionGroupCommand)
14
+ .sc(ListResourcesInProtectionGroup)
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("AWSShield_20160616", "ListTagsForResource", {})
17
13
  .n("ShieldClient", "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_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("AWSShield_20160616", "TagResource", {})
17
13
  .n("ShieldClient", "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("AWSShield_20160616", "UntagResource", {})
17
13
  .n("ShieldClient", "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_UpdateApplicationLayerAutomaticResponseCommand, se_UpdateApplicationLayerAutomaticResponseCommand, } from "../protocols/Aws_json1_1";
4
+ import { UpdateApplicationLayerAutomaticResponse } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateApplicationLayerAutomaticResponseCommand 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("AWSShield_20160616", "UpdateApplicationLayerAutomaticResponse", {})
17
13
  .n("ShieldClient", "UpdateApplicationLayerAutomaticResponseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateApplicationLayerAutomaticResponseCommand)
20
- .de(de_UpdateApplicationLayerAutomaticResponseCommand)
14
+ .sc(UpdateApplicationLayerAutomaticResponse)
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_UpdateEmergencyContactSettingsCommand, se_UpdateEmergencyContactSettingsCommand, } from "../protocols/Aws_json1_1";
4
+ import { UpdateEmergencyContactSettings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateEmergencyContactSettingsCommand 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("AWSShield_20160616", "UpdateEmergencyContactSettings", {})
17
13
  .n("ShieldClient", "UpdateEmergencyContactSettingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateEmergencyContactSettingsCommand)
20
- .de(de_UpdateEmergencyContactSettingsCommand)
14
+ .sc(UpdateEmergencyContactSettings)
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_UpdateProtectionGroupCommand, se_UpdateProtectionGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateProtectionGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateProtectionGroupCommand 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("AWSShield_20160616", "UpdateProtectionGroup", {})
17
13
  .n("ShieldClient", "UpdateProtectionGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateProtectionGroupCommand)
20
- .de(de_UpdateProtectionGroupCommand)
14
+ .sc(UpdateProtectionGroup)
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_UpdateSubscriptionCommand, se_UpdateSubscriptionCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateSubscription } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateSubscriptionCommand 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("AWSShield_20160616", "UpdateSubscription", {})
17
13
  .n("ShieldClient", "UpdateSubscriptionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateSubscriptionCommand)
20
- .de(de_UpdateSubscriptionCommand)
14
+ .sc(UpdateSubscription)
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.shield",
29
+ serviceTarget: "AWSShield_20160616",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "Shield",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,