@aws-sdk/client-global-accelerator 3.36.0 → 3.39.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 (134) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/GlobalAccelerator.js +0 -150
  3. package/dist-cjs/GlobalAcceleratorClient.js +0 -155
  4. package/dist-cjs/commands/AddCustomRoutingEndpointsCommand.js +0 -34
  5. package/dist-cjs/commands/AdvertiseByoipCidrCommand.js +0 -30
  6. package/dist-cjs/commands/AllowCustomRoutingTrafficCommand.js +0 -29
  7. package/dist-cjs/commands/CreateAcceleratorCommand.js +0 -29
  8. package/dist-cjs/commands/CreateCustomRoutingAcceleratorCommand.js +0 -33
  9. package/dist-cjs/commands/CreateCustomRoutingEndpointGroupCommand.js +0 -26
  10. package/dist-cjs/commands/CreateCustomRoutingListenerCommand.js +0 -25
  11. package/dist-cjs/commands/CreateEndpointGroupCommand.js +0 -25
  12. package/dist-cjs/commands/CreateListenerCommand.js +0 -25
  13. package/dist-cjs/commands/DeleteAcceleratorCommand.js +0 -37
  14. package/dist-cjs/commands/DeleteCustomRoutingAcceleratorCommand.js +0 -37
  15. package/dist-cjs/commands/DeleteCustomRoutingEndpointGroupCommand.js +0 -24
  16. package/dist-cjs/commands/DeleteCustomRoutingListenerCommand.js +0 -24
  17. package/dist-cjs/commands/DeleteEndpointGroupCommand.js +0 -24
  18. package/dist-cjs/commands/DeleteListenerCommand.js +0 -24
  19. package/dist-cjs/commands/DenyCustomRoutingTrafficCommand.js +0 -29
  20. package/dist-cjs/commands/DeprovisionByoipCidrCommand.js +0 -30
  21. package/dist-cjs/commands/DescribeAcceleratorAttributesCommand.js +0 -25
  22. package/dist-cjs/commands/DescribeAcceleratorCommand.js +0 -24
  23. package/dist-cjs/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +0 -24
  24. package/dist-cjs/commands/DescribeCustomRoutingAcceleratorCommand.js +0 -24
  25. package/dist-cjs/commands/DescribeCustomRoutingEndpointGroupCommand.js +0 -24
  26. package/dist-cjs/commands/DescribeCustomRoutingListenerCommand.js +0 -24
  27. package/dist-cjs/commands/DescribeEndpointGroupCommand.js +0 -24
  28. package/dist-cjs/commands/DescribeListenerCommand.js +0 -24
  29. package/dist-cjs/commands/ListAcceleratorsCommand.js +0 -24
  30. package/dist-cjs/commands/ListByoipCidrsCommand.js +0 -25
  31. package/dist-cjs/commands/ListCustomRoutingAcceleratorsCommand.js +0 -24
  32. package/dist-cjs/commands/ListCustomRoutingEndpointGroupsCommand.js +0 -24
  33. package/dist-cjs/commands/ListCustomRoutingListenersCommand.js +0 -24
  34. package/dist-cjs/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +0 -27
  35. package/dist-cjs/commands/ListCustomRoutingPortMappingsCommand.js +0 -32
  36. package/dist-cjs/commands/ListEndpointGroupsCommand.js +0 -24
  37. package/dist-cjs/commands/ListListenersCommand.js +0 -24
  38. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
  39. package/dist-cjs/commands/ProvisionByoipCidrCommand.js +0 -29
  40. package/dist-cjs/commands/RemoveCustomRoutingEndpointsCommand.js +0 -24
  41. package/dist-cjs/commands/TagResourceCommand.js +0 -26
  42. package/dist-cjs/commands/UntagResourceCommand.js +0 -27
  43. package/dist-cjs/commands/UpdateAcceleratorAttributesCommand.js +0 -24
  44. package/dist-cjs/commands/UpdateAcceleratorCommand.js +0 -29
  45. package/dist-cjs/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +0 -24
  46. package/dist-cjs/commands/UpdateCustomRoutingAcceleratorCommand.js +0 -24
  47. package/dist-cjs/commands/UpdateCustomRoutingListenerCommand.js +0 -24
  48. package/dist-cjs/commands/UpdateEndpointGroupCommand.js +0 -24
  49. package/dist-cjs/commands/UpdateListenerCommand.js +0 -24
  50. package/dist-cjs/commands/WithdrawByoipCidrCommand.js +0 -30
  51. package/dist-cjs/commands/index.js +50 -0
  52. package/dist-cjs/endpoints.js +6 -1
  53. package/dist-cjs/index.js +4 -59
  54. package/dist-cjs/models/models_0.js +0 -381
  55. package/dist-cjs/pagination/ListAcceleratorsPaginator.js +0 -10
  56. package/dist-cjs/pagination/ListByoipCidrsPaginator.js +0 -10
  57. package/dist-cjs/pagination/ListCustomRoutingAcceleratorsPaginator.js +0 -10
  58. package/dist-cjs/pagination/ListCustomRoutingEndpointGroupsPaginator.js +0 -10
  59. package/dist-cjs/pagination/ListCustomRoutingListenersPaginator.js +0 -10
  60. package/dist-cjs/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.js +0 -10
  61. package/dist-cjs/pagination/ListCustomRoutingPortMappingsPaginator.js +0 -10
  62. package/dist-cjs/pagination/ListEndpointGroupsPaginator.js +0 -10
  63. package/dist-cjs/pagination/ListListenersPaginator.js +0 -10
  64. package/dist-cjs/pagination/index.js +13 -0
  65. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  66. package/dist-cjs/runtimeConfig.browser.js +1 -5
  67. package/dist-cjs/runtimeConfig.js +1 -5
  68. package/dist-cjs/runtimeConfig.native.js +0 -3
  69. package/dist-cjs/runtimeConfig.shared.js +0 -3
  70. package/dist-es/commands/index.js +47 -0
  71. package/dist-es/endpoints.js +6 -1
  72. package/dist-es/index.js +4 -59
  73. package/dist-es/pagination/index.js +10 -0
  74. package/dist-types/commands/index.d.ts +47 -0
  75. package/dist-types/index.d.ts +4 -59
  76. package/dist-types/pagination/index.d.ts +10 -0
  77. package/dist-types/ts3.4/GlobalAccelerator.d.ts +48 -404
  78. package/dist-types/ts3.4/GlobalAcceleratorClient.d.ts +24 -236
  79. package/dist-types/ts3.4/commands/AddCustomRoutingEndpointsCommand.d.ts +2 -30
  80. package/dist-types/ts3.4/commands/AdvertiseByoipCidrCommand.d.ts +2 -26
  81. package/dist-types/ts3.4/commands/AllowCustomRoutingTrafficCommand.d.ts +2 -25
  82. package/dist-types/ts3.4/commands/CreateAcceleratorCommand.d.ts +2 -25
  83. package/dist-types/ts3.4/commands/CreateCustomRoutingAcceleratorCommand.d.ts +2 -29
  84. package/dist-types/ts3.4/commands/CreateCustomRoutingEndpointGroupCommand.d.ts +2 -22
  85. package/dist-types/ts3.4/commands/CreateCustomRoutingListenerCommand.d.ts +2 -21
  86. package/dist-types/ts3.4/commands/CreateEndpointGroupCommand.d.ts +2 -21
  87. package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +2 -21
  88. package/dist-types/ts3.4/commands/DeleteAcceleratorCommand.d.ts +2 -33
  89. package/dist-types/ts3.4/commands/DeleteCustomRoutingAcceleratorCommand.d.ts +2 -33
  90. package/dist-types/ts3.4/commands/DeleteCustomRoutingEndpointGroupCommand.d.ts +2 -20
  91. package/dist-types/ts3.4/commands/DeleteCustomRoutingListenerCommand.d.ts +2 -20
  92. package/dist-types/ts3.4/commands/DeleteEndpointGroupCommand.d.ts +2 -20
  93. package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +2 -20
  94. package/dist-types/ts3.4/commands/DenyCustomRoutingTrafficCommand.d.ts +2 -25
  95. package/dist-types/ts3.4/commands/DeprovisionByoipCidrCommand.d.ts +2 -26
  96. package/dist-types/ts3.4/commands/DescribeAcceleratorAttributesCommand.d.ts +2 -21
  97. package/dist-types/ts3.4/commands/DescribeAcceleratorCommand.d.ts +2 -20
  98. package/dist-types/ts3.4/commands/DescribeCustomRoutingAcceleratorAttributesCommand.d.ts +2 -20
  99. package/dist-types/ts3.4/commands/DescribeCustomRoutingAcceleratorCommand.d.ts +2 -20
  100. package/dist-types/ts3.4/commands/DescribeCustomRoutingEndpointGroupCommand.d.ts +2 -20
  101. package/dist-types/ts3.4/commands/DescribeCustomRoutingListenerCommand.d.ts +2 -20
  102. package/dist-types/ts3.4/commands/DescribeEndpointGroupCommand.d.ts +2 -20
  103. package/dist-types/ts3.4/commands/DescribeListenerCommand.d.ts +2 -20
  104. package/dist-types/ts3.4/commands/ListAcceleratorsCommand.d.ts +2 -20
  105. package/dist-types/ts3.4/commands/ListByoipCidrsCommand.d.ts +2 -21
  106. package/dist-types/ts3.4/commands/ListCustomRoutingAcceleratorsCommand.d.ts +2 -20
  107. package/dist-types/ts3.4/commands/ListCustomRoutingEndpointGroupsCommand.d.ts +2 -20
  108. package/dist-types/ts3.4/commands/ListCustomRoutingListenersCommand.d.ts +2 -20
  109. package/dist-types/ts3.4/commands/ListCustomRoutingPortMappingsByDestinationCommand.d.ts +2 -23
  110. package/dist-types/ts3.4/commands/ListCustomRoutingPortMappingsCommand.d.ts +2 -28
  111. package/dist-types/ts3.4/commands/ListEndpointGroupsCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/ListListenersCommand.d.ts +2 -20
  113. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -22
  114. package/dist-types/ts3.4/commands/ProvisionByoipCidrCommand.d.ts +2 -25
  115. package/dist-types/ts3.4/commands/RemoveCustomRoutingEndpointsCommand.d.ts +2 -20
  116. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -22
  117. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -23
  118. package/dist-types/ts3.4/commands/UpdateAcceleratorAttributesCommand.d.ts +2 -20
  119. package/dist-types/ts3.4/commands/UpdateAcceleratorCommand.d.ts +2 -25
  120. package/dist-types/ts3.4/commands/UpdateCustomRoutingAcceleratorAttributesCommand.d.ts +2 -20
  121. package/dist-types/ts3.4/commands/UpdateCustomRoutingAcceleratorCommand.d.ts +2 -20
  122. package/dist-types/ts3.4/commands/UpdateCustomRoutingListenerCommand.d.ts +2 -20
  123. package/dist-types/ts3.4/commands/UpdateEndpointGroupCommand.d.ts +2 -20
  124. package/dist-types/ts3.4/commands/UpdateListenerCommand.d.ts +2 -20
  125. package/dist-types/ts3.4/commands/WithdrawByoipCidrCommand.d.ts +2 -26
  126. package/dist-types/ts3.4/commands/index.d.ts +47 -0
  127. package/dist-types/ts3.4/index.d.ts +4 -59
  128. package/dist-types/ts3.4/models/models_0.d.ts +436 -1639
  129. package/dist-types/ts3.4/pagination/index.d.ts +10 -0
  130. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  131. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  132. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  133. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  134. package/package.json +32 -32
@@ -4,22 +4,13 @@ exports.paginateListAccelerators = void 0;
4
4
  const ListAcceleratorsCommand_1 = require("../commands/ListAcceleratorsCommand");
5
5
  const GlobalAccelerator_1 = require("../GlobalAccelerator");
6
6
  const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListAcceleratorsCommand_1.ListAcceleratorsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listAccelerators(input, ...args);
20
12
  };
21
13
  async function* paginateListAccelerators(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListAccelerators(config, input, ...additionalArguments)
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListAccelerators = paginateListAccelerators;
@@ -4,22 +4,13 @@ exports.paginateListByoipCidrs = void 0;
4
4
  const ListByoipCidrsCommand_1 = require("../commands/ListByoipCidrsCommand");
5
5
  const GlobalAccelerator_1 = require("../GlobalAccelerator");
6
6
  const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListByoipCidrsCommand_1.ListByoipCidrsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listByoipCidrs(input, ...args);
20
12
  };
21
13
  async function* paginateListByoipCidrs(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListByoipCidrs(config, input, ...additionalArguments) {
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListByoipCidrs = paginateListByoipCidrs;
@@ -4,22 +4,13 @@ exports.paginateListCustomRoutingAccelerators = void 0;
4
4
  const ListCustomRoutingAcceleratorsCommand_1 = require("../commands/ListCustomRoutingAcceleratorsCommand");
5
5
  const GlobalAccelerator_1 = require("../GlobalAccelerator");
6
6
  const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListCustomRoutingAcceleratorsCommand_1.ListCustomRoutingAcceleratorsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listCustomRoutingAccelerators(input, ...args);
20
12
  };
21
13
  async function* paginateListCustomRoutingAccelerators(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListCustomRoutingAccelerators(config, input, ...addition
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListCustomRoutingAccelerators = paginateListCustomRoutingAccelerators;
@@ -4,22 +4,13 @@ exports.paginateListCustomRoutingEndpointGroups = void 0;
4
4
  const ListCustomRoutingEndpointGroupsCommand_1 = require("../commands/ListCustomRoutingEndpointGroupsCommand");
5
5
  const GlobalAccelerator_1 = require("../GlobalAccelerator");
6
6
  const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListCustomRoutingEndpointGroupsCommand_1.ListCustomRoutingEndpointGroupsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listCustomRoutingEndpointGroups(input, ...args);
20
12
  };
21
13
  async function* paginateListCustomRoutingEndpointGroups(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListCustomRoutingEndpointGroups(config, input, ...additi
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListCustomRoutingEndpointGroups = paginateListCustomRoutingEndpointGroups;
@@ -4,22 +4,13 @@ exports.paginateListCustomRoutingListeners = void 0;
4
4
  const ListCustomRoutingListenersCommand_1 = require("../commands/ListCustomRoutingListenersCommand");
5
5
  const GlobalAccelerator_1 = require("../GlobalAccelerator");
6
6
  const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListCustomRoutingListenersCommand_1.ListCustomRoutingListenersCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listCustomRoutingListeners(input, ...args);
20
12
  };
21
13
  async function* paginateListCustomRoutingListeners(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListCustomRoutingListeners(config, input, ...additionalA
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListCustomRoutingListeners = paginateListCustomRoutingListeners;
@@ -4,22 +4,13 @@ exports.paginateListCustomRoutingPortMappingsByDestination = void 0;
4
4
  const ListCustomRoutingPortMappingsByDestinationCommand_1 = require("../commands/ListCustomRoutingPortMappingsByDestinationCommand");
5
5
  const GlobalAccelerator_1 = require("../GlobalAccelerator");
6
6
  const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListCustomRoutingPortMappingsByDestinationCommand_1.ListCustomRoutingPortMappingsByDestinationCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listCustomRoutingPortMappingsByDestination(input, ...args);
20
12
  };
21
13
  async function* paginateListCustomRoutingPortMappingsByDestination(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListCustomRoutingPortMappingsByDestination(config, input
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListCustomRoutingPortMappingsByDestination = paginateListCustomRoutingPortMappingsByDestination;
@@ -4,22 +4,13 @@ exports.paginateListCustomRoutingPortMappings = void 0;
4
4
  const ListCustomRoutingPortMappingsCommand_1 = require("../commands/ListCustomRoutingPortMappingsCommand");
5
5
  const GlobalAccelerator_1 = require("../GlobalAccelerator");
6
6
  const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListCustomRoutingPortMappingsCommand_1.ListCustomRoutingPortMappingsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listCustomRoutingPortMappings(input, ...args);
20
12
  };
21
13
  async function* paginateListCustomRoutingPortMappings(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListCustomRoutingPortMappings(config, input, ...addition
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListCustomRoutingPortMappings = paginateListCustomRoutingPortMappings;
@@ -4,22 +4,13 @@ exports.paginateListEndpointGroups = void 0;
4
4
  const ListEndpointGroupsCommand_1 = require("../commands/ListEndpointGroupsCommand");
5
5
  const GlobalAccelerator_1 = require("../GlobalAccelerator");
6
6
  const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListEndpointGroupsCommand_1.ListEndpointGroupsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listEndpointGroups(input, ...args);
20
12
  };
21
13
  async function* paginateListEndpointGroups(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListEndpointGroups(config, input, ...additionalArguments
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListEndpointGroups = paginateListEndpointGroups;
@@ -4,22 +4,13 @@ exports.paginateListListeners = void 0;
4
4
  const ListListenersCommand_1 = require("../commands/ListListenersCommand");
5
5
  const GlobalAccelerator_1 = require("../GlobalAccelerator");
6
6
  const GlobalAcceleratorClient_1 = require("../GlobalAcceleratorClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListListenersCommand_1.ListListenersCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listListeners(input, ...args);
20
12
  };
21
13
  async function* paginateListListeners(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListListeners(config, input, ...additionalArguments) {
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListListeners = paginateListListeners;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./Interfaces"), exports);
5
+ tslib_1.__exportStar(require("./ListAcceleratorsPaginator"), exports);
6
+ tslib_1.__exportStar(require("./ListByoipCidrsPaginator"), exports);
7
+ tslib_1.__exportStar(require("./ListCustomRoutingAcceleratorsPaginator"), exports);
8
+ tslib_1.__exportStar(require("./ListCustomRoutingEndpointGroupsPaginator"), exports);
9
+ tslib_1.__exportStar(require("./ListCustomRoutingListenersPaginator"), exports);
10
+ tslib_1.__exportStar(require("./ListCustomRoutingPortMappingsByDestinationPaginator"), exports);
11
+ tslib_1.__exportStar(require("./ListCustomRoutingPortMappingsPaginator"), exports);
12
+ tslib_1.__exportStar(require("./ListEndpointGroupsPaginator"), exports);
13
+ tslib_1.__exportStar(require("./ListListenersPaginator"), exports);
@@ -5356,14 +5356,12 @@ const deserializeMetadata = (output) => {
5356
5356
  cfId: output.headers["x-amz-cf-id"],
5357
5357
  });
5358
5358
  };
5359
- // Collect low-level response body stream to Uint8Array.
5360
5359
  const collectBody = (streamBody = new Uint8Array(), context) => {
5361
5360
  if (streamBody instanceof Uint8Array) {
5362
5361
  return Promise.resolve(streamBody);
5363
5362
  }
5364
5363
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
5365
5364
  };
5366
- // Encode Uint8Array data into string with utf-8.
5367
5365
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
5368
5366
  const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
5369
5367
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
@@ -5389,9 +5387,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
5389
5387
  }
5390
5388
  return {};
5391
5389
  });
5392
- /**
5393
- * Load an error code for the aws.rest-json-1.1 protocol.
5394
- */
5395
5390
  const loadRestJsonErrorCode = (output, data) => {
5396
5391
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
5397
5392
  const sanitizeErrorCode = (rawValue) => {
@@ -2,8 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- // @ts-ignore: package.json will be imported from dist folders
6
- const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
7
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
8
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
9
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -13,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
- /**
17
- * @internal
18
- */
19
15
  const getRuntimeConfig = (config) => {
20
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
21
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -2,8 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- // @ts-ignore: package.json will be imported from dist folders
6
- const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
7
6
  const client_sts_1 = require("@aws-sdk/client-sts");
8
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
9
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -17,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
17
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
18
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
19
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
20
- /**
21
- * @internal
22
- */
23
19
  const getRuntimeConfig = (config) => {
24
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
25
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a;
11
8
  const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
5
  const endpoints_1 = require("./endpoints");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a, _b, _c, _d, _e;
11
8
  return ({
@@ -0,0 +1,47 @@
1
+ export * from "./AddCustomRoutingEndpointsCommand";
2
+ export * from "./AdvertiseByoipCidrCommand";
3
+ export * from "./AllowCustomRoutingTrafficCommand";
4
+ export * from "./CreateAcceleratorCommand";
5
+ export * from "./CreateCustomRoutingAcceleratorCommand";
6
+ export * from "./CreateCustomRoutingEndpointGroupCommand";
7
+ export * from "./CreateCustomRoutingListenerCommand";
8
+ export * from "./CreateEndpointGroupCommand";
9
+ export * from "./CreateListenerCommand";
10
+ export * from "./DeleteAcceleratorCommand";
11
+ export * from "./DeleteCustomRoutingAcceleratorCommand";
12
+ export * from "./DeleteCustomRoutingEndpointGroupCommand";
13
+ export * from "./DeleteCustomRoutingListenerCommand";
14
+ export * from "./DeleteEndpointGroupCommand";
15
+ export * from "./DeleteListenerCommand";
16
+ export * from "./DenyCustomRoutingTrafficCommand";
17
+ export * from "./DeprovisionByoipCidrCommand";
18
+ export * from "./DescribeAcceleratorAttributesCommand";
19
+ export * from "./DescribeAcceleratorCommand";
20
+ export * from "./DescribeCustomRoutingAcceleratorAttributesCommand";
21
+ export * from "./DescribeCustomRoutingAcceleratorCommand";
22
+ export * from "./DescribeCustomRoutingEndpointGroupCommand";
23
+ export * from "./DescribeCustomRoutingListenerCommand";
24
+ export * from "./DescribeEndpointGroupCommand";
25
+ export * from "./DescribeListenerCommand";
26
+ export * from "./ListAcceleratorsCommand";
27
+ export * from "./ListByoipCidrsCommand";
28
+ export * from "./ListCustomRoutingAcceleratorsCommand";
29
+ export * from "./ListCustomRoutingEndpointGroupsCommand";
30
+ export * from "./ListCustomRoutingListenersCommand";
31
+ export * from "./ListCustomRoutingPortMappingsByDestinationCommand";
32
+ export * from "./ListCustomRoutingPortMappingsCommand";
33
+ export * from "./ListEndpointGroupsCommand";
34
+ export * from "./ListListenersCommand";
35
+ export * from "./ListTagsForResourceCommand";
36
+ export * from "./ProvisionByoipCidrCommand";
37
+ export * from "./RemoveCustomRoutingEndpointsCommand";
38
+ export * from "./TagResourceCommand";
39
+ export * from "./UntagResourceCommand";
40
+ export * from "./UpdateAcceleratorAttributesCommand";
41
+ export * from "./UpdateAcceleratorCommand";
42
+ export * from "./UpdateCustomRoutingAcceleratorAttributesCommand";
43
+ export * from "./UpdateCustomRoutingAcceleratorCommand";
44
+ export * from "./UpdateCustomRoutingListenerCommand";
45
+ export * from "./UpdateEndpointGroupCommand";
46
+ export * from "./UpdateListenerCommand";
47
+ export * from "./WithdrawByoipCidrCommand";
@@ -26,22 +26,27 @@ var partitionHash = {
26
26
  "us-west-1",
27
27
  "us-west-2",
28
28
  ],
29
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
29
30
  hostname: "globalaccelerator.{region}.amazonaws.com",
30
31
  },
31
32
  "aws-cn": {
32
33
  regions: ["cn-north-1", "cn-northwest-1"],
34
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
33
35
  hostname: "globalaccelerator.{region}.amazonaws.com.cn",
34
36
  },
35
37
  "aws-iso": {
36
- regions: ["us-iso-east-1"],
38
+ regions: ["us-iso-east-1", "us-iso-west-1"],
39
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
37
40
  hostname: "globalaccelerator.{region}.c2s.ic.gov",
38
41
  },
39
42
  "aws-iso-b": {
40
43
  regions: ["us-isob-east-1"],
44
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
41
45
  hostname: "globalaccelerator.{region}.sc2s.sgov.gov",
42
46
  },
43
47
  "aws-us-gov": {
44
48
  regions: ["us-gov-east-1", "us-gov-west-1"],
49
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
45
50
  hostname: "globalaccelerator.{region}.amazonaws.com",
46
51
  },
47
52
  };
package/dist-es/index.js CHANGED
@@ -1,60 +1,5 @@
1
- export * from "./GlobalAcceleratorClient";
2
1
  export * from "./GlobalAccelerator";
3
- export * from "./commands/AddCustomRoutingEndpointsCommand";
4
- export * from "./commands/AdvertiseByoipCidrCommand";
5
- export * from "./commands/AllowCustomRoutingTrafficCommand";
6
- export * from "./commands/CreateAcceleratorCommand";
7
- export * from "./commands/CreateCustomRoutingAcceleratorCommand";
8
- export * from "./commands/CreateCustomRoutingEndpointGroupCommand";
9
- export * from "./commands/CreateCustomRoutingListenerCommand";
10
- export * from "./commands/CreateEndpointGroupCommand";
11
- export * from "./commands/CreateListenerCommand";
12
- export * from "./commands/DeleteAcceleratorCommand";
13
- export * from "./commands/DeleteCustomRoutingAcceleratorCommand";
14
- export * from "./commands/DeleteCustomRoutingEndpointGroupCommand";
15
- export * from "./commands/DeleteCustomRoutingListenerCommand";
16
- export * from "./commands/DeleteEndpointGroupCommand";
17
- export * from "./commands/DeleteListenerCommand";
18
- export * from "./commands/DenyCustomRoutingTrafficCommand";
19
- export * from "./commands/DeprovisionByoipCidrCommand";
20
- export * from "./commands/DescribeAcceleratorCommand";
21
- export * from "./commands/DescribeAcceleratorAttributesCommand";
22
- export * from "./commands/DescribeCustomRoutingAcceleratorCommand";
23
- export * from "./commands/DescribeCustomRoutingAcceleratorAttributesCommand";
24
- export * from "./commands/DescribeCustomRoutingEndpointGroupCommand";
25
- export * from "./commands/DescribeCustomRoutingListenerCommand";
26
- export * from "./commands/DescribeEndpointGroupCommand";
27
- export * from "./commands/DescribeListenerCommand";
28
- export * from "./commands/ListAcceleratorsCommand";
29
- export * from "./pagination/ListAcceleratorsPaginator";
30
- export * from "./commands/ListByoipCidrsCommand";
31
- export * from "./pagination/ListByoipCidrsPaginator";
32
- export * from "./commands/ListCustomRoutingAcceleratorsCommand";
33
- export * from "./pagination/ListCustomRoutingAcceleratorsPaginator";
34
- export * from "./commands/ListCustomRoutingEndpointGroupsCommand";
35
- export * from "./pagination/ListCustomRoutingEndpointGroupsPaginator";
36
- export * from "./commands/ListCustomRoutingListenersCommand";
37
- export * from "./pagination/ListCustomRoutingListenersPaginator";
38
- export * from "./commands/ListCustomRoutingPortMappingsCommand";
39
- export * from "./pagination/ListCustomRoutingPortMappingsPaginator";
40
- export * from "./commands/ListCustomRoutingPortMappingsByDestinationCommand";
41
- export * from "./pagination/ListCustomRoutingPortMappingsByDestinationPaginator";
42
- export * from "./commands/ListEndpointGroupsCommand";
43
- export * from "./pagination/ListEndpointGroupsPaginator";
44
- export * from "./commands/ListListenersCommand";
45
- export * from "./pagination/ListListenersPaginator";
46
- export * from "./commands/ListTagsForResourceCommand";
47
- export * from "./commands/ProvisionByoipCidrCommand";
48
- export * from "./commands/RemoveCustomRoutingEndpointsCommand";
49
- export * from "./commands/TagResourceCommand";
50
- export * from "./commands/UntagResourceCommand";
51
- export * from "./commands/UpdateAcceleratorCommand";
52
- export * from "./commands/UpdateAcceleratorAttributesCommand";
53
- export * from "./commands/UpdateCustomRoutingAcceleratorCommand";
54
- export * from "./commands/UpdateCustomRoutingAcceleratorAttributesCommand";
55
- export * from "./commands/UpdateCustomRoutingListenerCommand";
56
- export * from "./commands/UpdateEndpointGroupCommand";
57
- export * from "./commands/UpdateListenerCommand";
58
- export * from "./commands/WithdrawByoipCidrCommand";
59
- export * from "./pagination/Interfaces";
60
- export * from "./models/index";
2
+ export * from "./GlobalAcceleratorClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -0,0 +1,10 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListAcceleratorsPaginator";
3
+ export * from "./ListByoipCidrsPaginator";
4
+ export * from "./ListCustomRoutingAcceleratorsPaginator";
5
+ export * from "./ListCustomRoutingEndpointGroupsPaginator";
6
+ export * from "./ListCustomRoutingListenersPaginator";
7
+ export * from "./ListCustomRoutingPortMappingsByDestinationPaginator";
8
+ export * from "./ListCustomRoutingPortMappingsPaginator";
9
+ export * from "./ListEndpointGroupsPaginator";
10
+ export * from "./ListListenersPaginator";
@@ -0,0 +1,47 @@
1
+ export * from "./AddCustomRoutingEndpointsCommand";
2
+ export * from "./AdvertiseByoipCidrCommand";
3
+ export * from "./AllowCustomRoutingTrafficCommand";
4
+ export * from "./CreateAcceleratorCommand";
5
+ export * from "./CreateCustomRoutingAcceleratorCommand";
6
+ export * from "./CreateCustomRoutingEndpointGroupCommand";
7
+ export * from "./CreateCustomRoutingListenerCommand";
8
+ export * from "./CreateEndpointGroupCommand";
9
+ export * from "./CreateListenerCommand";
10
+ export * from "./DeleteAcceleratorCommand";
11
+ export * from "./DeleteCustomRoutingAcceleratorCommand";
12
+ export * from "./DeleteCustomRoutingEndpointGroupCommand";
13
+ export * from "./DeleteCustomRoutingListenerCommand";
14
+ export * from "./DeleteEndpointGroupCommand";
15
+ export * from "./DeleteListenerCommand";
16
+ export * from "./DenyCustomRoutingTrafficCommand";
17
+ export * from "./DeprovisionByoipCidrCommand";
18
+ export * from "./DescribeAcceleratorAttributesCommand";
19
+ export * from "./DescribeAcceleratorCommand";
20
+ export * from "./DescribeCustomRoutingAcceleratorAttributesCommand";
21
+ export * from "./DescribeCustomRoutingAcceleratorCommand";
22
+ export * from "./DescribeCustomRoutingEndpointGroupCommand";
23
+ export * from "./DescribeCustomRoutingListenerCommand";
24
+ export * from "./DescribeEndpointGroupCommand";
25
+ export * from "./DescribeListenerCommand";
26
+ export * from "./ListAcceleratorsCommand";
27
+ export * from "./ListByoipCidrsCommand";
28
+ export * from "./ListCustomRoutingAcceleratorsCommand";
29
+ export * from "./ListCustomRoutingEndpointGroupsCommand";
30
+ export * from "./ListCustomRoutingListenersCommand";
31
+ export * from "./ListCustomRoutingPortMappingsByDestinationCommand";
32
+ export * from "./ListCustomRoutingPortMappingsCommand";
33
+ export * from "./ListEndpointGroupsCommand";
34
+ export * from "./ListListenersCommand";
35
+ export * from "./ListTagsForResourceCommand";
36
+ export * from "./ProvisionByoipCidrCommand";
37
+ export * from "./RemoveCustomRoutingEndpointsCommand";
38
+ export * from "./TagResourceCommand";
39
+ export * from "./UntagResourceCommand";
40
+ export * from "./UpdateAcceleratorAttributesCommand";
41
+ export * from "./UpdateAcceleratorCommand";
42
+ export * from "./UpdateCustomRoutingAcceleratorAttributesCommand";
43
+ export * from "./UpdateCustomRoutingAcceleratorCommand";
44
+ export * from "./UpdateCustomRoutingListenerCommand";
45
+ export * from "./UpdateEndpointGroupCommand";
46
+ export * from "./UpdateListenerCommand";
47
+ export * from "./WithdrawByoipCidrCommand";