@aws-sdk/client-shield 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 (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
@@ -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.shield",
32
+ serviceTarget: "AWSShield_20160616",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "Shield",
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 ShieldClient 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_AssociateDRTLogBucketCommand, se_AssociateDRTLogBucketCommand } from "../protocols/Aws_json1_1";
4
+ import { AssociateDRTLogBucket } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateDRTLogBucketCommand 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", "AssociateDRTLogBucket", {})
17
13
  .n("ShieldClient", "AssociateDRTLogBucketCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateDRTLogBucketCommand)
20
- .de(de_AssociateDRTLogBucketCommand)
14
+ .sc(AssociateDRTLogBucket)
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_AssociateDRTRoleCommand, se_AssociateDRTRoleCommand } from "../protocols/Aws_json1_1";
4
+ import { AssociateDRTRole } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateDRTRoleCommand 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", "AssociateDRTRole", {})
17
13
  .n("ShieldClient", "AssociateDRTRoleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateDRTRoleCommand)
20
- .de(de_AssociateDRTRoleCommand)
14
+ .sc(AssociateDRTRole)
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_AssociateHealthCheckCommand, se_AssociateHealthCheckCommand } from "../protocols/Aws_json1_1";
4
+ import { AssociateHealthCheck } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateHealthCheckCommand 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", "AssociateHealthCheck", {})
17
13
  .n("ShieldClient", "AssociateHealthCheckCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateHealthCheckCommand)
20
- .de(de_AssociateHealthCheckCommand)
14
+ .sc(AssociateHealthCheck)
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_AssociateProactiveEngagementDetailsCommand, se_AssociateProactiveEngagementDetailsCommand, } from "../protocols/Aws_json1_1";
4
+ import { AssociateProactiveEngagementDetails } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateProactiveEngagementDetailsCommand 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", "AssociateProactiveEngagementDetails", {})
17
13
  .n("ShieldClient", "AssociateProactiveEngagementDetailsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateProactiveEngagementDetailsCommand)
20
- .de(de_AssociateProactiveEngagementDetailsCommand)
14
+ .sc(AssociateProactiveEngagementDetails)
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_CreateProtectionCommand, se_CreateProtectionCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateProtection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateProtectionCommand 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", "CreateProtection", {})
17
13
  .n("ShieldClient", "CreateProtectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateProtectionCommand)
20
- .de(de_CreateProtectionCommand)
14
+ .sc(CreateProtection)
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_CreateProtectionGroupCommand, se_CreateProtectionGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateProtectionGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateProtectionGroupCommand 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", "CreateProtectionGroup", {})
17
13
  .n("ShieldClient", "CreateProtectionGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateProtectionGroupCommand)
20
- .de(de_CreateProtectionGroupCommand)
14
+ .sc(CreateProtectionGroup)
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_CreateSubscriptionCommand, se_CreateSubscriptionCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateSubscription } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSubscriptionCommand 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", "CreateSubscription", {})
17
13
  .n("ShieldClient", "CreateSubscriptionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSubscriptionCommand)
20
- .de(de_CreateSubscriptionCommand)
14
+ .sc(CreateSubscription)
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_DeleteProtectionCommand, se_DeleteProtectionCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteProtection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteProtectionCommand 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", "DeleteProtection", {})
17
13
  .n("ShieldClient", "DeleteProtectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteProtectionCommand)
20
- .de(de_DeleteProtectionCommand)
14
+ .sc(DeleteProtection)
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_DeleteProtectionGroupCommand, se_DeleteProtectionGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteProtectionGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteProtectionGroupCommand 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", "DeleteProtectionGroup", {})
17
13
  .n("ShieldClient", "DeleteProtectionGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteProtectionGroupCommand)
20
- .de(de_DeleteProtectionGroupCommand)
14
+ .sc(DeleteProtectionGroup)
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_DeleteSubscriptionCommand, se_DeleteSubscriptionCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteSubscription } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteSubscriptionCommand 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", "DeleteSubscription", {})
17
13
  .n("ShieldClient", "DeleteSubscriptionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteSubscriptionCommand)
20
- .de(de_DeleteSubscriptionCommand)
14
+ .sc(DeleteSubscription)
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_DescribeAttackCommand, se_DescribeAttackCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeAttack } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeAttackCommand 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", "DescribeAttack", {})
17
13
  .n("ShieldClient", "DescribeAttackCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeAttackCommand)
20
- .de(de_DescribeAttackCommand)
14
+ .sc(DescribeAttack)
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_DescribeAttackStatisticsCommand, se_DescribeAttackStatisticsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeAttackStatistics } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeAttackStatisticsCommand 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", "DescribeAttackStatistics", {})
17
13
  .n("ShieldClient", "DescribeAttackStatisticsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeAttackStatisticsCommand)
20
- .de(de_DescribeAttackStatisticsCommand)
14
+ .sc(DescribeAttackStatistics)
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_DescribeDRTAccessCommand, se_DescribeDRTAccessCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeDRTAccess } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeDRTAccessCommand 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", "DescribeDRTAccess", {})
17
13
  .n("ShieldClient", "DescribeDRTAccessCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeDRTAccessCommand)
20
- .de(de_DescribeDRTAccessCommand)
14
+ .sc(DescribeDRTAccess)
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_DescribeEmergencyContactSettingsCommand, se_DescribeEmergencyContactSettingsCommand, } from "../protocols/Aws_json1_1";
4
+ import { DescribeEmergencyContactSettings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeEmergencyContactSettingsCommand 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", "DescribeEmergencyContactSettings", {})
17
13
  .n("ShieldClient", "DescribeEmergencyContactSettingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeEmergencyContactSettingsCommand)
20
- .de(de_DescribeEmergencyContactSettingsCommand)
14
+ .sc(DescribeEmergencyContactSettings)
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_DescribeProtectionCommand, se_DescribeProtectionCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeProtection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeProtectionCommand 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", "DescribeProtection", {})
17
13
  .n("ShieldClient", "DescribeProtectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeProtectionCommand)
20
- .de(de_DescribeProtectionCommand)
14
+ .sc(DescribeProtection)
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_DescribeProtectionGroupCommand, se_DescribeProtectionGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeProtectionGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeProtectionGroupCommand 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", "DescribeProtectionGroup", {})
17
13
  .n("ShieldClient", "DescribeProtectionGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeProtectionGroupCommand)
20
- .de(de_DescribeProtectionGroupCommand)
14
+ .sc(DescribeProtectionGroup)
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_DescribeSubscriptionCommand, se_DescribeSubscriptionCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeSubscription } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeSubscriptionCommand 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", "DescribeSubscription", {})
17
13
  .n("ShieldClient", "DescribeSubscriptionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeSubscriptionCommand)
20
- .de(de_DescribeSubscriptionCommand)
14
+ .sc(DescribeSubscription)
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_DisableApplicationLayerAutomaticResponseCommand, se_DisableApplicationLayerAutomaticResponseCommand, } from "../protocols/Aws_json1_1";
4
+ import { DisableApplicationLayerAutomaticResponse } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisableApplicationLayerAutomaticResponseCommand 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", "DisableApplicationLayerAutomaticResponse", {})
17
13
  .n("ShieldClient", "DisableApplicationLayerAutomaticResponseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisableApplicationLayerAutomaticResponseCommand)
20
- .de(de_DisableApplicationLayerAutomaticResponseCommand)
14
+ .sc(DisableApplicationLayerAutomaticResponse)
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_DisableProactiveEngagementCommand, se_DisableProactiveEngagementCommand } from "../protocols/Aws_json1_1";
4
+ import { DisableProactiveEngagement } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisableProactiveEngagementCommand 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", "DisableProactiveEngagement", {})
17
13
  .n("ShieldClient", "DisableProactiveEngagementCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisableProactiveEngagementCommand)
20
- .de(de_DisableProactiveEngagementCommand)
14
+ .sc(DisableProactiveEngagement)
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_DisassociateDRTLogBucketCommand, se_DisassociateDRTLogBucketCommand } from "../protocols/Aws_json1_1";
4
+ import { DisassociateDRTLogBucket } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisassociateDRTLogBucketCommand 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", "DisassociateDRTLogBucket", {})
17
13
  .n("ShieldClient", "DisassociateDRTLogBucketCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisassociateDRTLogBucketCommand)
20
- .de(de_DisassociateDRTLogBucketCommand)
14
+ .sc(DisassociateDRTLogBucket)
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_DisassociateDRTRoleCommand, se_DisassociateDRTRoleCommand } from "../protocols/Aws_json1_1";
4
+ import { DisassociateDRTRole } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisassociateDRTRoleCommand 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", "DisassociateDRTRole", {})
17
13
  .n("ShieldClient", "DisassociateDRTRoleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisassociateDRTRoleCommand)
20
- .de(de_DisassociateDRTRoleCommand)
14
+ .sc(DisassociateDRTRole)
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_DisassociateHealthCheckCommand, se_DisassociateHealthCheckCommand } from "../protocols/Aws_json1_1";
4
+ import { DisassociateHealthCheck } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisassociateHealthCheckCommand 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", "DisassociateHealthCheck", {})
17
13
  .n("ShieldClient", "DisassociateHealthCheckCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisassociateHealthCheckCommand)
20
- .de(de_DisassociateHealthCheckCommand)
14
+ .sc(DisassociateHealthCheck)
21
15
  .build() {
22
16
  }