@aws-sdk/client-global-accelerator 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 (77) hide show
  1. package/dist-cjs/index.js +1759 -2091
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/GlobalAcceleratorClient.js +2 -0
  4. package/dist-es/commands/AddCustomRoutingEndpointsCommand.js +3 -9
  5. package/dist-es/commands/AddEndpointsCommand.js +3 -9
  6. package/dist-es/commands/AdvertiseByoipCidrCommand.js +3 -9
  7. package/dist-es/commands/AllowCustomRoutingTrafficCommand.js +3 -9
  8. package/dist-es/commands/CreateAcceleratorCommand.js +3 -9
  9. package/dist-es/commands/CreateCrossAccountAttachmentCommand.js +3 -9
  10. package/dist-es/commands/CreateCustomRoutingAcceleratorCommand.js +3 -9
  11. package/dist-es/commands/CreateCustomRoutingEndpointGroupCommand.js +3 -9
  12. package/dist-es/commands/CreateCustomRoutingListenerCommand.js +3 -9
  13. package/dist-es/commands/CreateEndpointGroupCommand.js +3 -9
  14. package/dist-es/commands/CreateListenerCommand.js +3 -9
  15. package/dist-es/commands/DeleteAcceleratorCommand.js +3 -9
  16. package/dist-es/commands/DeleteCrossAccountAttachmentCommand.js +3 -9
  17. package/dist-es/commands/DeleteCustomRoutingAcceleratorCommand.js +3 -9
  18. package/dist-es/commands/DeleteCustomRoutingEndpointGroupCommand.js +3 -9
  19. package/dist-es/commands/DeleteCustomRoutingListenerCommand.js +3 -9
  20. package/dist-es/commands/DeleteEndpointGroupCommand.js +3 -9
  21. package/dist-es/commands/DeleteListenerCommand.js +3 -9
  22. package/dist-es/commands/DenyCustomRoutingTrafficCommand.js +3 -9
  23. package/dist-es/commands/DeprovisionByoipCidrCommand.js +3 -9
  24. package/dist-es/commands/DescribeAcceleratorAttributesCommand.js +3 -9
  25. package/dist-es/commands/DescribeAcceleratorCommand.js +3 -9
  26. package/dist-es/commands/DescribeCrossAccountAttachmentCommand.js +3 -9
  27. package/dist-es/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +3 -9
  28. package/dist-es/commands/DescribeCustomRoutingAcceleratorCommand.js +3 -9
  29. package/dist-es/commands/DescribeCustomRoutingEndpointGroupCommand.js +3 -9
  30. package/dist-es/commands/DescribeCustomRoutingListenerCommand.js +3 -9
  31. package/dist-es/commands/DescribeEndpointGroupCommand.js +3 -9
  32. package/dist-es/commands/DescribeListenerCommand.js +3 -9
  33. package/dist-es/commands/ListAcceleratorsCommand.js +3 -9
  34. package/dist-es/commands/ListByoipCidrsCommand.js +3 -9
  35. package/dist-es/commands/ListCrossAccountAttachmentsCommand.js +3 -9
  36. package/dist-es/commands/ListCrossAccountResourceAccountsCommand.js +3 -9
  37. package/dist-es/commands/ListCrossAccountResourcesCommand.js +3 -9
  38. package/dist-es/commands/ListCustomRoutingAcceleratorsCommand.js +3 -9
  39. package/dist-es/commands/ListCustomRoutingEndpointGroupsCommand.js +3 -9
  40. package/dist-es/commands/ListCustomRoutingListenersCommand.js +3 -9
  41. package/dist-es/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +3 -9
  42. package/dist-es/commands/ListCustomRoutingPortMappingsCommand.js +3 -9
  43. package/dist-es/commands/ListEndpointGroupsCommand.js +3 -9
  44. package/dist-es/commands/ListListenersCommand.js +3 -9
  45. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  46. package/dist-es/commands/ProvisionByoipCidrCommand.js +3 -9
  47. package/dist-es/commands/RemoveCustomRoutingEndpointsCommand.js +3 -9
  48. package/dist-es/commands/RemoveEndpointsCommand.js +3 -9
  49. package/dist-es/commands/TagResourceCommand.js +3 -9
  50. package/dist-es/commands/UntagResourceCommand.js +3 -9
  51. package/dist-es/commands/UpdateAcceleratorAttributesCommand.js +3 -9
  52. package/dist-es/commands/UpdateAcceleratorCommand.js +3 -9
  53. package/dist-es/commands/UpdateCrossAccountAttachmentCommand.js +3 -9
  54. package/dist-es/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +3 -9
  55. package/dist-es/commands/UpdateCustomRoutingAcceleratorCommand.js +3 -9
  56. package/dist-es/commands/UpdateCustomRoutingListenerCommand.js +3 -9
  57. package/dist-es/commands/UpdateEndpointGroupCommand.js +3 -9
  58. package/dist-es/commands/UpdateListenerCommand.js +3 -9
  59. package/dist-es/commands/WithdrawByoipCidrCommand.js +3 -9
  60. package/dist-es/runtimeConfig.shared.js +7 -0
  61. package/dist-es/schemas/schemas_0.js +1594 -0
  62. package/dist-types/GlobalAcceleratorClient.d.ts +10 -1
  63. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  64. package/dist-types/runtimeConfig.d.ts +1 -0
  65. package/dist-types/runtimeConfig.native.d.ts +1 -0
  66. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  67. package/dist-types/schemas/schemas_0.d.ts +244 -0
  68. package/dist-types/ts3.4/GlobalAcceleratorClient.d.ts +4 -0
  69. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  70. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  71. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  72. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  73. package/dist-types/ts3.4/schemas/schemas_0.d.ts +249 -0
  74. package/package.json +5 -6
  75. package/dist-es/protocols/Aws_json1_1.js +0 -1643
  76. package/dist-types/protocols/Aws_json1_1.d.ts +0 -506
  77. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -677
@@ -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.globalaccelerator",
32
+ serviceTarget: "GlobalAccelerator_V20180706",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "Global Accelerator",
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 GlobalAcceleratorClient 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_AddCustomRoutingEndpointsCommand, se_AddCustomRoutingEndpointsCommand } from "../protocols/Aws_json1_1";
4
+ import { AddCustomRoutingEndpoints } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AddCustomRoutingEndpointsCommand 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("GlobalAccelerator_V20180706", "AddCustomRoutingEndpoints", {})
17
13
  .n("GlobalAcceleratorClient", "AddCustomRoutingEndpointsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AddCustomRoutingEndpointsCommand)
20
- .de(de_AddCustomRoutingEndpointsCommand)
14
+ .sc(AddCustomRoutingEndpoints)
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_AddEndpointsCommand, se_AddEndpointsCommand } from "../protocols/Aws_json1_1";
4
+ import { AddEndpoints } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AddEndpointsCommand 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("GlobalAccelerator_V20180706", "AddEndpoints", {})
17
13
  .n("GlobalAcceleratorClient", "AddEndpointsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AddEndpointsCommand)
20
- .de(de_AddEndpointsCommand)
14
+ .sc(AddEndpoints)
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_AdvertiseByoipCidrCommand, se_AdvertiseByoipCidrCommand } from "../protocols/Aws_json1_1";
4
+ import { AdvertiseByoipCidr } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AdvertiseByoipCidrCommand 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("GlobalAccelerator_V20180706", "AdvertiseByoipCidr", {})
17
13
  .n("GlobalAcceleratorClient", "AdvertiseByoipCidrCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AdvertiseByoipCidrCommand)
20
- .de(de_AdvertiseByoipCidrCommand)
14
+ .sc(AdvertiseByoipCidr)
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_AllowCustomRoutingTrafficCommand, se_AllowCustomRoutingTrafficCommand } from "../protocols/Aws_json1_1";
4
+ import { AllowCustomRoutingTraffic } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AllowCustomRoutingTrafficCommand 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("GlobalAccelerator_V20180706", "AllowCustomRoutingTraffic", {})
17
13
  .n("GlobalAcceleratorClient", "AllowCustomRoutingTrafficCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AllowCustomRoutingTrafficCommand)
20
- .de(de_AllowCustomRoutingTrafficCommand)
14
+ .sc(AllowCustomRoutingTraffic)
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_CreateAcceleratorCommand, se_CreateAcceleratorCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateAccelerator } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateAcceleratorCommand 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("GlobalAccelerator_V20180706", "CreateAccelerator", {})
17
13
  .n("GlobalAcceleratorClient", "CreateAcceleratorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateAcceleratorCommand)
20
- .de(de_CreateAcceleratorCommand)
14
+ .sc(CreateAccelerator)
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_CreateCrossAccountAttachmentCommand, se_CreateCrossAccountAttachmentCommand, } from "../protocols/Aws_json1_1";
4
+ import { CreateCrossAccountAttachment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateCrossAccountAttachmentCommand 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("GlobalAccelerator_V20180706", "CreateCrossAccountAttachment", {})
17
13
  .n("GlobalAcceleratorClient", "CreateCrossAccountAttachmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateCrossAccountAttachmentCommand)
20
- .de(de_CreateCrossAccountAttachmentCommand)
14
+ .sc(CreateCrossAccountAttachment)
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_CreateCustomRoutingAcceleratorCommand, se_CreateCustomRoutingAcceleratorCommand, } from "../protocols/Aws_json1_1";
4
+ import { CreateCustomRoutingAccelerator } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateCustomRoutingAcceleratorCommand 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("GlobalAccelerator_V20180706", "CreateCustomRoutingAccelerator", {})
17
13
  .n("GlobalAcceleratorClient", "CreateCustomRoutingAcceleratorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateCustomRoutingAcceleratorCommand)
20
- .de(de_CreateCustomRoutingAcceleratorCommand)
14
+ .sc(CreateCustomRoutingAccelerator)
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_CreateCustomRoutingEndpointGroupCommand, se_CreateCustomRoutingEndpointGroupCommand, } from "../protocols/Aws_json1_1";
4
+ import { CreateCustomRoutingEndpointGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateCustomRoutingEndpointGroupCommand 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("GlobalAccelerator_V20180706", "CreateCustomRoutingEndpointGroup", {})
17
13
  .n("GlobalAcceleratorClient", "CreateCustomRoutingEndpointGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateCustomRoutingEndpointGroupCommand)
20
- .de(de_CreateCustomRoutingEndpointGroupCommand)
14
+ .sc(CreateCustomRoutingEndpointGroup)
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_CreateCustomRoutingListenerCommand, se_CreateCustomRoutingListenerCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateCustomRoutingListener } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateCustomRoutingListenerCommand 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("GlobalAccelerator_V20180706", "CreateCustomRoutingListener", {})
17
13
  .n("GlobalAcceleratorClient", "CreateCustomRoutingListenerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateCustomRoutingListenerCommand)
20
- .de(de_CreateCustomRoutingListenerCommand)
14
+ .sc(CreateCustomRoutingListener)
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_CreateEndpointGroupCommand, se_CreateEndpointGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateEndpointGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateEndpointGroupCommand 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("GlobalAccelerator_V20180706", "CreateEndpointGroup", {})
17
13
  .n("GlobalAcceleratorClient", "CreateEndpointGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateEndpointGroupCommand)
20
- .de(de_CreateEndpointGroupCommand)
14
+ .sc(CreateEndpointGroup)
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_CreateListenerCommand, se_CreateListenerCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateListener } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateListenerCommand 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("GlobalAccelerator_V20180706", "CreateListener", {})
17
13
  .n("GlobalAcceleratorClient", "CreateListenerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateListenerCommand)
20
- .de(de_CreateListenerCommand)
14
+ .sc(CreateListener)
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_DeleteAcceleratorCommand, se_DeleteAcceleratorCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteAccelerator } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAcceleratorCommand 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("GlobalAccelerator_V20180706", "DeleteAccelerator", {})
17
13
  .n("GlobalAcceleratorClient", "DeleteAcceleratorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAcceleratorCommand)
20
- .de(de_DeleteAcceleratorCommand)
14
+ .sc(DeleteAccelerator)
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_DeleteCrossAccountAttachmentCommand, se_DeleteCrossAccountAttachmentCommand, } from "../protocols/Aws_json1_1";
4
+ import { DeleteCrossAccountAttachment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteCrossAccountAttachmentCommand 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("GlobalAccelerator_V20180706", "DeleteCrossAccountAttachment", {})
17
13
  .n("GlobalAcceleratorClient", "DeleteCrossAccountAttachmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteCrossAccountAttachmentCommand)
20
- .de(de_DeleteCrossAccountAttachmentCommand)
14
+ .sc(DeleteCrossAccountAttachment)
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_DeleteCustomRoutingAcceleratorCommand, se_DeleteCustomRoutingAcceleratorCommand, } from "../protocols/Aws_json1_1";
4
+ import { DeleteCustomRoutingAccelerator } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteCustomRoutingAcceleratorCommand 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("GlobalAccelerator_V20180706", "DeleteCustomRoutingAccelerator", {})
17
13
  .n("GlobalAcceleratorClient", "DeleteCustomRoutingAcceleratorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteCustomRoutingAcceleratorCommand)
20
- .de(de_DeleteCustomRoutingAcceleratorCommand)
14
+ .sc(DeleteCustomRoutingAccelerator)
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_DeleteCustomRoutingEndpointGroupCommand, se_DeleteCustomRoutingEndpointGroupCommand, } from "../protocols/Aws_json1_1";
4
+ import { DeleteCustomRoutingEndpointGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteCustomRoutingEndpointGroupCommand 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("GlobalAccelerator_V20180706", "DeleteCustomRoutingEndpointGroup", {})
17
13
  .n("GlobalAcceleratorClient", "DeleteCustomRoutingEndpointGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteCustomRoutingEndpointGroupCommand)
20
- .de(de_DeleteCustomRoutingEndpointGroupCommand)
14
+ .sc(DeleteCustomRoutingEndpointGroup)
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_DeleteCustomRoutingListenerCommand, se_DeleteCustomRoutingListenerCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteCustomRoutingListener } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteCustomRoutingListenerCommand 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("GlobalAccelerator_V20180706", "DeleteCustomRoutingListener", {})
17
13
  .n("GlobalAcceleratorClient", "DeleteCustomRoutingListenerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteCustomRoutingListenerCommand)
20
- .de(de_DeleteCustomRoutingListenerCommand)
14
+ .sc(DeleteCustomRoutingListener)
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_DeleteEndpointGroupCommand, se_DeleteEndpointGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteEndpointGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteEndpointGroupCommand 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("GlobalAccelerator_V20180706", "DeleteEndpointGroup", {})
17
13
  .n("GlobalAcceleratorClient", "DeleteEndpointGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteEndpointGroupCommand)
20
- .de(de_DeleteEndpointGroupCommand)
14
+ .sc(DeleteEndpointGroup)
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_DeleteListenerCommand, se_DeleteListenerCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteListener } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteListenerCommand 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("GlobalAccelerator_V20180706", "DeleteListener", {})
17
13
  .n("GlobalAcceleratorClient", "DeleteListenerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteListenerCommand)
20
- .de(de_DeleteListenerCommand)
14
+ .sc(DeleteListener)
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_DenyCustomRoutingTrafficCommand, se_DenyCustomRoutingTrafficCommand } from "../protocols/Aws_json1_1";
4
+ import { DenyCustomRoutingTraffic } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DenyCustomRoutingTrafficCommand 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("GlobalAccelerator_V20180706", "DenyCustomRoutingTraffic", {})
17
13
  .n("GlobalAcceleratorClient", "DenyCustomRoutingTrafficCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DenyCustomRoutingTrafficCommand)
20
- .de(de_DenyCustomRoutingTrafficCommand)
14
+ .sc(DenyCustomRoutingTraffic)
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_DeprovisionByoipCidrCommand, se_DeprovisionByoipCidrCommand } from "../protocols/Aws_json1_1";
4
+ import { DeprovisionByoipCidr } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeprovisionByoipCidrCommand 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("GlobalAccelerator_V20180706", "DeprovisionByoipCidr", {})
17
13
  .n("GlobalAcceleratorClient", "DeprovisionByoipCidrCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeprovisionByoipCidrCommand)
20
- .de(de_DeprovisionByoipCidrCommand)
14
+ .sc(DeprovisionByoipCidr)
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_DescribeAcceleratorAttributesCommand, se_DescribeAcceleratorAttributesCommand, } from "../protocols/Aws_json1_1";
4
+ import { DescribeAcceleratorAttributes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeAcceleratorAttributesCommand 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("GlobalAccelerator_V20180706", "DescribeAcceleratorAttributes", {})
17
13
  .n("GlobalAcceleratorClient", "DescribeAcceleratorAttributesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeAcceleratorAttributesCommand)
20
- .de(de_DescribeAcceleratorAttributesCommand)
14
+ .sc(DescribeAcceleratorAttributes)
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_DescribeAcceleratorCommand, se_DescribeAcceleratorCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeAccelerator } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeAcceleratorCommand 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("GlobalAccelerator_V20180706", "DescribeAccelerator", {})
17
13
  .n("GlobalAcceleratorClient", "DescribeAcceleratorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeAcceleratorCommand)
20
- .de(de_DescribeAcceleratorCommand)
14
+ .sc(DescribeAccelerator)
21
15
  .build() {
22
16
  }