@aws-sdk/client-route-53 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 (168) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/Route53.js +0 -3
  3. package/dist-cjs/Route53Client.js +0 -8
  4. package/dist-cjs/commands/ActivateKeySigningKeyCommand.js +0 -25
  5. package/dist-cjs/commands/AssociateVPCWithHostedZoneCommand.js +0 -34
  6. package/dist-cjs/commands/ChangeResourceRecordSetsCommand.js +0 -105
  7. package/dist-cjs/commands/ChangeTagsForResourceCommand.js +0 -27
  8. package/dist-cjs/commands/CreateHealthCheckCommand.js +0 -57
  9. package/dist-cjs/commands/CreateHostedZoneCommand.js +0 -56
  10. package/dist-cjs/commands/CreateKeySigningKeyCommand.js +0 -24
  11. package/dist-cjs/commands/CreateQueryLoggingConfigCommand.js +0 -140
  12. package/dist-cjs/commands/CreateReusableDelegationSetCommand.js +0 -74
  13. package/dist-cjs/commands/CreateTrafficPolicyCommand.js +0 -25
  14. package/dist-cjs/commands/CreateTrafficPolicyInstanceCommand.js +0 -27
  15. package/dist-cjs/commands/CreateTrafficPolicyVersionCommand.js +0 -28
  16. package/dist-cjs/commands/CreateVPCAssociationAuthorizationCommand.js +0 -32
  17. package/dist-cjs/commands/DeactivateKeySigningKeyCommand.js +0 -25
  18. package/dist-cjs/commands/DeleteHealthCheckCommand.js +0 -37
  19. package/dist-cjs/commands/DeleteHostedZoneCommand.js +0 -62
  20. package/dist-cjs/commands/DeleteKeySigningKeyCommand.js +0 -25
  21. package/dist-cjs/commands/DeleteQueryLoggingConfigCommand.js +0 -28
  22. package/dist-cjs/commands/DeleteReusableDelegationSetCommand.js +0 -30
  23. package/dist-cjs/commands/DeleteTrafficPolicyCommand.js +0 -38
  24. package/dist-cjs/commands/DeleteTrafficPolicyInstanceCommand.js +0 -27
  25. package/dist-cjs/commands/DeleteVPCAssociationAuthorizationCommand.js +0 -32
  26. package/dist-cjs/commands/DisableHostedZoneDNSSECCommand.js +0 -25
  27. package/dist-cjs/commands/DisassociateVPCFromHostedZoneCommand.js +0 -44
  28. package/dist-cjs/commands/EnableHostedZoneDNSSECCommand.js +0 -24
  29. package/dist-cjs/commands/GetAccountLimitCommand.js +0 -33
  30. package/dist-cjs/commands/GetChangeCommand.js +0 -36
  31. package/dist-cjs/commands/GetCheckerIpRangesCommand.js +0 -31
  32. package/dist-cjs/commands/GetDNSSECCommand.js +0 -24
  33. package/dist-cjs/commands/GetGeoLocationCommand.js +0 -44
  34. package/dist-cjs/commands/GetHealthCheckCommand.js +0 -24
  35. package/dist-cjs/commands/GetHealthCheckCountCommand.js +0 -24
  36. package/dist-cjs/commands/GetHealthCheckLastFailureReasonCommand.js +0 -24
  37. package/dist-cjs/commands/GetHealthCheckStatusCommand.js +0 -27
  38. package/dist-cjs/commands/GetHostedZoneCommand.js +0 -24
  39. package/dist-cjs/commands/GetHostedZoneCountCommand.js +0 -24
  40. package/dist-cjs/commands/GetHostedZoneLimitCommand.js +0 -28
  41. package/dist-cjs/commands/GetQueryLoggingConfigCommand.js +0 -29
  42. package/dist-cjs/commands/GetReusableDelegationSetCommand.js +0 -25
  43. package/dist-cjs/commands/GetReusableDelegationSetLimitCommand.js +0 -27
  44. package/dist-cjs/commands/GetTrafficPolicyCommand.js +0 -27
  45. package/dist-cjs/commands/GetTrafficPolicyInstanceCommand.js +0 -32
  46. package/dist-cjs/commands/GetTrafficPolicyInstanceCountCommand.js +0 -24
  47. package/dist-cjs/commands/ListGeoLocationsCommand.js +0 -29
  48. package/dist-cjs/commands/ListHealthChecksCommand.js +0 -24
  49. package/dist-cjs/commands/ListHostedZonesByNameCommand.js +0 -68
  50. package/dist-cjs/commands/ListHostedZonesByVPCCommand.js +0 -36
  51. package/dist-cjs/commands/ListHostedZonesCommand.js +0 -27
  52. package/dist-cjs/commands/ListQueryLoggingConfigsCommand.js +0 -31
  53. package/dist-cjs/commands/ListResourceRecordSetsCommand.js +0 -87
  54. package/dist-cjs/commands/ListReusableDelegationSetsCommand.js +0 -24
  55. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -27
  56. package/dist-cjs/commands/ListTagsForResourcesCommand.js +0 -27
  57. package/dist-cjs/commands/ListTrafficPoliciesCommand.js +0 -30
  58. package/dist-cjs/commands/ListTrafficPolicyInstancesByHostedZoneCommand.js +0 -31
  59. package/dist-cjs/commands/ListTrafficPolicyInstancesByPolicyCommand.js +0 -31
  60. package/dist-cjs/commands/ListTrafficPolicyInstancesCommand.js +0 -30
  61. package/dist-cjs/commands/ListTrafficPolicyVersionsCommand.js +0 -25
  62. package/dist-cjs/commands/ListVPCAssociationAuthorizationsCommand.js +0 -27
  63. package/dist-cjs/commands/TestDNSAnswerCommand.js +0 -26
  64. package/dist-cjs/commands/UpdateHealthCheckCommand.js +0 -27
  65. package/dist-cjs/commands/UpdateHostedZoneCommentCommand.js +0 -24
  66. package/dist-cjs/commands/UpdateTrafficPolicyCommentCommand.js +0 -24
  67. package/dist-cjs/commands/UpdateTrafficPolicyInstanceCommand.js +0 -39
  68. package/dist-cjs/commands/index.js +67 -0
  69. package/dist-cjs/endpoints.js +6 -1
  70. package/dist-cjs/index.js +5 -71
  71. package/dist-cjs/models/models_0.js +0 -672
  72. package/dist-cjs/pagination/ListHealthChecksPaginator.js +0 -10
  73. package/dist-cjs/pagination/ListHostedZonesPaginator.js +0 -10
  74. package/dist-cjs/pagination/ListQueryLoggingConfigsPaginator.js +0 -10
  75. package/dist-cjs/pagination/index.js +7 -0
  76. package/dist-cjs/protocols/Aws_restXml.js +0 -2
  77. package/dist-cjs/runtimeConfig.browser.js +1 -5
  78. package/dist-cjs/runtimeConfig.js +1 -5
  79. package/dist-cjs/runtimeConfig.native.js +0 -3
  80. package/dist-cjs/runtimeConfig.shared.js +0 -3
  81. package/dist-cjs/waiters/index.js +4 -0
  82. package/dist-cjs/waiters/waitForResourceRecordSetsChanged.js +0 -9
  83. package/dist-es/commands/index.js +64 -0
  84. package/dist-es/endpoints.js +6 -1
  85. package/dist-es/index.js +5 -71
  86. package/dist-es/pagination/index.js +4 -0
  87. package/dist-es/waiters/index.js +1 -0
  88. package/dist-types/commands/index.d.ts +64 -0
  89. package/dist-types/index.d.ts +5 -71
  90. package/dist-types/pagination/index.d.ts +4 -0
  91. package/dist-types/ts3.4/Route53.d.ts +9 -1083
  92. package/dist-types/ts3.4/Route53Client.d.ts +24 -89
  93. package/dist-types/ts3.4/commands/ActivateKeySigningKeyCommand.d.ts +2 -21
  94. package/dist-types/ts3.4/commands/AssociateVPCWithHostedZoneCommand.d.ts +2 -30
  95. package/dist-types/ts3.4/commands/ChangeResourceRecordSetsCommand.d.ts +2 -101
  96. package/dist-types/ts3.4/commands/ChangeTagsForResourceCommand.d.ts +2 -23
  97. package/dist-types/ts3.4/commands/CreateHealthCheckCommand.d.ts +2 -53
  98. package/dist-types/ts3.4/commands/CreateHostedZoneCommand.d.ts +2 -52
  99. package/dist-types/ts3.4/commands/CreateKeySigningKeyCommand.d.ts +2 -20
  100. package/dist-types/ts3.4/commands/CreateQueryLoggingConfigCommand.d.ts +0 -143
  101. package/dist-types/ts3.4/commands/CreateReusableDelegationSetCommand.d.ts +2 -70
  102. package/dist-types/ts3.4/commands/CreateTrafficPolicyCommand.d.ts +2 -21
  103. package/dist-types/ts3.4/commands/CreateTrafficPolicyInstanceCommand.d.ts +2 -23
  104. package/dist-types/ts3.4/commands/CreateTrafficPolicyVersionCommand.d.ts +2 -24
  105. package/dist-types/ts3.4/commands/CreateVPCAssociationAuthorizationCommand.d.ts +2 -28
  106. package/dist-types/ts3.4/commands/DeactivateKeySigningKeyCommand.d.ts +2 -21
  107. package/dist-types/ts3.4/commands/DeleteHealthCheckCommand.d.ts +2 -33
  108. package/dist-types/ts3.4/commands/DeleteHostedZoneCommand.d.ts +2 -58
  109. package/dist-types/ts3.4/commands/DeleteKeySigningKeyCommand.d.ts +2 -21
  110. package/dist-types/ts3.4/commands/DeleteQueryLoggingConfigCommand.d.ts +2 -24
  111. package/dist-types/ts3.4/commands/DeleteReusableDelegationSetCommand.d.ts +2 -26
  112. package/dist-types/ts3.4/commands/DeleteTrafficPolicyCommand.d.ts +2 -34
  113. package/dist-types/ts3.4/commands/DeleteTrafficPolicyInstanceCommand.d.ts +2 -23
  114. package/dist-types/ts3.4/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +2 -28
  115. package/dist-types/ts3.4/commands/DisableHostedZoneDNSSECCommand.d.ts +2 -21
  116. package/dist-types/ts3.4/commands/DisassociateVPCFromHostedZoneCommand.d.ts +2 -40
  117. package/dist-types/ts3.4/commands/EnableHostedZoneDNSSECCommand.d.ts +2 -20
  118. package/dist-types/ts3.4/commands/GetAccountLimitCommand.d.ts +2 -29
  119. package/dist-types/ts3.4/commands/GetChangeCommand.d.ts +2 -32
  120. package/dist-types/ts3.4/commands/GetCheckerIpRangesCommand.d.ts +2 -27
  121. package/dist-types/ts3.4/commands/GetDNSSECCommand.d.ts +2 -20
  122. package/dist-types/ts3.4/commands/GetGeoLocationCommand.d.ts +2 -40
  123. package/dist-types/ts3.4/commands/GetHealthCheckCommand.d.ts +2 -20
  124. package/dist-types/ts3.4/commands/GetHealthCheckCountCommand.d.ts +2 -20
  125. package/dist-types/ts3.4/commands/GetHealthCheckLastFailureReasonCommand.d.ts +2 -20
  126. package/dist-types/ts3.4/commands/GetHealthCheckStatusCommand.d.ts +2 -23
  127. package/dist-types/ts3.4/commands/GetHostedZoneCommand.d.ts +2 -20
  128. package/dist-types/ts3.4/commands/GetHostedZoneCountCommand.d.ts +2 -20
  129. package/dist-types/ts3.4/commands/GetHostedZoneLimitCommand.d.ts +2 -24
  130. package/dist-types/ts3.4/commands/GetQueryLoggingConfigCommand.d.ts +2 -25
  131. package/dist-types/ts3.4/commands/GetReusableDelegationSetCommand.d.ts +2 -21
  132. package/dist-types/ts3.4/commands/GetReusableDelegationSetLimitCommand.d.ts +2 -23
  133. package/dist-types/ts3.4/commands/GetTrafficPolicyCommand.d.ts +2 -23
  134. package/dist-types/ts3.4/commands/GetTrafficPolicyInstanceCommand.d.ts +2 -28
  135. package/dist-types/ts3.4/commands/GetTrafficPolicyInstanceCountCommand.d.ts +2 -20
  136. package/dist-types/ts3.4/commands/ListGeoLocationsCommand.d.ts +2 -25
  137. package/dist-types/ts3.4/commands/ListHealthChecksCommand.d.ts +2 -20
  138. package/dist-types/ts3.4/commands/ListHostedZonesByNameCommand.d.ts +2 -64
  139. package/dist-types/ts3.4/commands/ListHostedZonesByVPCCommand.d.ts +2 -32
  140. package/dist-types/ts3.4/commands/ListHostedZonesCommand.d.ts +2 -23
  141. package/dist-types/ts3.4/commands/ListQueryLoggingConfigsCommand.d.ts +2 -27
  142. package/dist-types/ts3.4/commands/ListResourceRecordSetsCommand.d.ts +2 -83
  143. package/dist-types/ts3.4/commands/ListReusableDelegationSetsCommand.d.ts +2 -20
  144. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -23
  145. package/dist-types/ts3.4/commands/ListTagsForResourcesCommand.d.ts +2 -23
  146. package/dist-types/ts3.4/commands/ListTrafficPoliciesCommand.d.ts +2 -26
  147. package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesByHostedZoneCommand.d.ts +2 -27
  148. package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesByPolicyCommand.d.ts +2 -27
  149. package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesCommand.d.ts +2 -26
  150. package/dist-types/ts3.4/commands/ListTrafficPolicyVersionsCommand.d.ts +2 -21
  151. package/dist-types/ts3.4/commands/ListVPCAssociationAuthorizationsCommand.d.ts +2 -23
  152. package/dist-types/ts3.4/commands/TestDNSAnswerCommand.d.ts +2 -22
  153. package/dist-types/ts3.4/commands/UpdateHealthCheckCommand.d.ts +2 -23
  154. package/dist-types/ts3.4/commands/UpdateHostedZoneCommentCommand.d.ts +2 -20
  155. package/dist-types/ts3.4/commands/UpdateTrafficPolicyCommentCommand.d.ts +2 -20
  156. package/dist-types/ts3.4/commands/UpdateTrafficPolicyInstanceCommand.d.ts +2 -35
  157. package/dist-types/ts3.4/commands/index.d.ts +64 -0
  158. package/dist-types/ts3.4/index.d.ts +5 -71
  159. package/dist-types/ts3.4/models/models_0.d.ts +903 -4956
  160. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  161. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  162. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  163. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  164. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  165. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  166. package/dist-types/ts3.4/waiters/waitForResourceRecordSetsChanged.d.ts +2 -9
  167. package/dist-types/waiters/index.d.ts +1 -0
  168. package/package.json +35 -35
@@ -4,22 +4,13 @@ exports.paginateListHealthChecks = void 0;
4
4
  const ListHealthChecksCommand_1 = require("../commands/ListHealthChecksCommand");
5
5
  const Route53_1 = require("../Route53");
6
6
  const Route53Client_1 = require("../Route53Client");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListHealthChecksCommand_1.ListHealthChecksCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listHealthChecks(input, ...args);
20
12
  };
21
13
  async function* paginateListHealthChecks(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.Marker
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListHealthChecks(config, input, ...additionalArguments)
39
30
  token = page.NextMarker;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListHealthChecks = paginateListHealthChecks;
@@ -4,22 +4,13 @@ exports.paginateListHostedZones = void 0;
4
4
  const ListHostedZonesCommand_1 = require("../commands/ListHostedZonesCommand");
5
5
  const Route53_1 = require("../Route53");
6
6
  const Route53Client_1 = require("../Route53Client");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListHostedZonesCommand_1.ListHostedZonesCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listHostedZones(input, ...args);
20
12
  };
21
13
  async function* paginateListHostedZones(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.Marker
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,7 +30,6 @@ async function* paginateListHostedZones(config, input, ...additionalArguments) {
39
30
  token = page.NextMarker;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListHostedZones = paginateListHostedZones;
@@ -4,22 +4,13 @@ exports.paginateListQueryLoggingConfigs = void 0;
4
4
  const ListQueryLoggingConfigsCommand_1 = require("../commands/ListQueryLoggingConfigsCommand");
5
5
  const Route53_1 = require("../Route53");
6
6
  const Route53Client_1 = require("../Route53Client");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListQueryLoggingConfigsCommand_1.ListQueryLoggingConfigsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listQueryLoggingConfigs(input, ...args);
20
12
  };
21
13
  async function* paginateListQueryLoggingConfigs(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* paginateListQueryLoggingConfigs(config, input, ...additionalArgu
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListQueryLoggingConfigs = paginateListQueryLoggingConfigs;
@@ -0,0 +1,7 @@
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("./ListHealthChecksPaginator"), exports);
6
+ tslib_1.__exportStar(require("./ListHostedZonesPaginator"), exports);
7
+ tslib_1.__exportStar(require("./ListQueryLoggingConfigsPaginator"), exports);
@@ -8995,14 +8995,12 @@ const deserializeMetadata = (output) => {
8995
8995
  cfId: output.headers["x-amz-cf-id"],
8996
8996
  });
8997
8997
  };
8998
- // Collect low-level response body stream to Uint8Array.
8999
8998
  const collectBody = (streamBody = new Uint8Array(), context) => {
9000
8999
  if (streamBody instanceof Uint8Array) {
9001
9000
  return Promise.resolve(streamBody);
9002
9001
  }
9003
9002
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
9004
9003
  };
9005
- // Encode Uint8Array data into string with utf-8.
9006
9004
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
9007
9005
  const isSerializableHeaderValue = (value) => value !== undefined &&
9008
9006
  value !== null &&
@@ -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,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./waitForResourceRecordSetsChanged"), exports);
@@ -23,20 +23,11 @@ const checkState = async (client, input) => {
23
23
  }
24
24
  return { state: util_waiter_1.WaiterState.RETRY, reason };
25
25
  };
26
- /**
27
- *
28
- * @deprecated Use waitUntilResourceRecordSetsChanged instead. waitForResourceRecordSetsChanged does not throw error in non-success cases.
29
- */
30
26
  const waitForResourceRecordSetsChanged = async (params, input) => {
31
27
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
32
28
  return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
33
29
  };
34
30
  exports.waitForResourceRecordSetsChanged = waitForResourceRecordSetsChanged;
35
- /**
36
- *
37
- * @param params - Waiter configuration options.
38
- * @param input - The input to GetChangeCommand for polling.
39
- */
40
31
  const waitUntilResourceRecordSetsChanged = async (params, input) => {
41
32
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
42
33
  const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
@@ -0,0 +1,64 @@
1
+ export * from "./ActivateKeySigningKeyCommand";
2
+ export * from "./AssociateVPCWithHostedZoneCommand";
3
+ export * from "./ChangeResourceRecordSetsCommand";
4
+ export * from "./ChangeTagsForResourceCommand";
5
+ export * from "./CreateHealthCheckCommand";
6
+ export * from "./CreateHostedZoneCommand";
7
+ export * from "./CreateKeySigningKeyCommand";
8
+ export * from "./CreateQueryLoggingConfigCommand";
9
+ export * from "./CreateReusableDelegationSetCommand";
10
+ export * from "./CreateTrafficPolicyCommand";
11
+ export * from "./CreateTrafficPolicyInstanceCommand";
12
+ export * from "./CreateTrafficPolicyVersionCommand";
13
+ export * from "./CreateVPCAssociationAuthorizationCommand";
14
+ export * from "./DeactivateKeySigningKeyCommand";
15
+ export * from "./DeleteHealthCheckCommand";
16
+ export * from "./DeleteHostedZoneCommand";
17
+ export * from "./DeleteKeySigningKeyCommand";
18
+ export * from "./DeleteQueryLoggingConfigCommand";
19
+ export * from "./DeleteReusableDelegationSetCommand";
20
+ export * from "./DeleteTrafficPolicyCommand";
21
+ export * from "./DeleteTrafficPolicyInstanceCommand";
22
+ export * from "./DeleteVPCAssociationAuthorizationCommand";
23
+ export * from "./DisableHostedZoneDNSSECCommand";
24
+ export * from "./DisassociateVPCFromHostedZoneCommand";
25
+ export * from "./EnableHostedZoneDNSSECCommand";
26
+ export * from "./GetAccountLimitCommand";
27
+ export * from "./GetChangeCommand";
28
+ export * from "./GetCheckerIpRangesCommand";
29
+ export * from "./GetDNSSECCommand";
30
+ export * from "./GetGeoLocationCommand";
31
+ export * from "./GetHealthCheckCommand";
32
+ export * from "./GetHealthCheckCountCommand";
33
+ export * from "./GetHealthCheckLastFailureReasonCommand";
34
+ export * from "./GetHealthCheckStatusCommand";
35
+ export * from "./GetHostedZoneCommand";
36
+ export * from "./GetHostedZoneCountCommand";
37
+ export * from "./GetHostedZoneLimitCommand";
38
+ export * from "./GetQueryLoggingConfigCommand";
39
+ export * from "./GetReusableDelegationSetCommand";
40
+ export * from "./GetReusableDelegationSetLimitCommand";
41
+ export * from "./GetTrafficPolicyCommand";
42
+ export * from "./GetTrafficPolicyInstanceCommand";
43
+ export * from "./GetTrafficPolicyInstanceCountCommand";
44
+ export * from "./ListGeoLocationsCommand";
45
+ export * from "./ListHealthChecksCommand";
46
+ export * from "./ListHostedZonesByNameCommand";
47
+ export * from "./ListHostedZonesByVPCCommand";
48
+ export * from "./ListHostedZonesCommand";
49
+ export * from "./ListQueryLoggingConfigsCommand";
50
+ export * from "./ListResourceRecordSetsCommand";
51
+ export * from "./ListReusableDelegationSetsCommand";
52
+ export * from "./ListTagsForResourceCommand";
53
+ export * from "./ListTagsForResourcesCommand";
54
+ export * from "./ListTrafficPoliciesCommand";
55
+ export * from "./ListTrafficPolicyInstancesByHostedZoneCommand";
56
+ export * from "./ListTrafficPolicyInstancesByPolicyCommand";
57
+ export * from "./ListTrafficPolicyInstancesCommand";
58
+ export * from "./ListTrafficPolicyVersionsCommand";
59
+ export * from "./ListVPCAssociationAuthorizationsCommand";
60
+ export * from "./TestDNSAnswerCommand";
61
+ export * from "./UpdateHealthCheckCommand";
62
+ export * from "./UpdateHostedZoneCommentCommand";
63
+ export * from "./UpdateTrafficPolicyCommentCommand";
64
+ export * from "./UpdateTrafficPolicyInstanceCommand";
@@ -57,22 +57,27 @@ var partitionHash = {
57
57
  "us-west-1",
58
58
  "us-west-2",
59
59
  ],
60
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
60
61
  endpoint: "aws-global",
61
62
  },
62
63
  "aws-cn": {
63
64
  regions: ["aws-cn-global", "cn-north-1", "cn-northwest-1"],
65
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
64
66
  endpoint: "aws-cn-global",
65
67
  },
66
68
  "aws-iso": {
67
- regions: ["aws-iso-global", "us-iso-east-1"],
69
+ regions: ["aws-iso-global", "us-iso-east-1", "us-iso-west-1"],
70
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
68
71
  endpoint: "aws-iso-global",
69
72
  },
70
73
  "aws-iso-b": {
71
74
  regions: ["aws-iso-b-global", "us-isob-east-1"],
75
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
72
76
  endpoint: "aws-iso-b-global",
73
77
  },
74
78
  "aws-us-gov": {
75
79
  regions: ["aws-us-gov-global", "fips-aws-us-gov-global", "us-gov-east-1", "us-gov-west-1"],
80
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
76
81
  endpoint: "aws-us-gov-global",
77
82
  },
78
83
  };
package/dist-es/index.js CHANGED
@@ -1,72 +1,6 @@
1
- export * from "./Route53Client";
2
1
  export * from "./Route53";
3
- export * from "./commands/ActivateKeySigningKeyCommand";
4
- export * from "./commands/AssociateVPCWithHostedZoneCommand";
5
- export * from "./commands/ChangeResourceRecordSetsCommand";
6
- export * from "./commands/ChangeTagsForResourceCommand";
7
- export * from "./commands/CreateHealthCheckCommand";
8
- export * from "./commands/CreateHostedZoneCommand";
9
- export * from "./commands/CreateKeySigningKeyCommand";
10
- export * from "./commands/CreateQueryLoggingConfigCommand";
11
- export * from "./commands/CreateReusableDelegationSetCommand";
12
- export * from "./commands/CreateTrafficPolicyCommand";
13
- export * from "./commands/CreateTrafficPolicyInstanceCommand";
14
- export * from "./commands/CreateTrafficPolicyVersionCommand";
15
- export * from "./commands/CreateVPCAssociationAuthorizationCommand";
16
- export * from "./commands/DeactivateKeySigningKeyCommand";
17
- export * from "./commands/DeleteHealthCheckCommand";
18
- export * from "./commands/DeleteHostedZoneCommand";
19
- export * from "./commands/DeleteKeySigningKeyCommand";
20
- export * from "./commands/DeleteQueryLoggingConfigCommand";
21
- export * from "./commands/DeleteReusableDelegationSetCommand";
22
- export * from "./commands/DeleteTrafficPolicyCommand";
23
- export * from "./commands/DeleteTrafficPolicyInstanceCommand";
24
- export * from "./commands/DeleteVPCAssociationAuthorizationCommand";
25
- export * from "./commands/DisableHostedZoneDNSSECCommand";
26
- export * from "./commands/DisassociateVPCFromHostedZoneCommand";
27
- export * from "./commands/EnableHostedZoneDNSSECCommand";
28
- export * from "./commands/GetAccountLimitCommand";
29
- export * from "./commands/GetChangeCommand";
30
- export * from "./waiters/waitForResourceRecordSetsChanged";
31
- export * from "./commands/GetCheckerIpRangesCommand";
32
- export * from "./commands/GetDNSSECCommand";
33
- export * from "./commands/GetGeoLocationCommand";
34
- export * from "./commands/GetHealthCheckCommand";
35
- export * from "./commands/GetHealthCheckCountCommand";
36
- export * from "./commands/GetHealthCheckLastFailureReasonCommand";
37
- export * from "./commands/GetHealthCheckStatusCommand";
38
- export * from "./commands/GetHostedZoneCommand";
39
- export * from "./commands/GetHostedZoneCountCommand";
40
- export * from "./commands/GetHostedZoneLimitCommand";
41
- export * from "./commands/GetQueryLoggingConfigCommand";
42
- export * from "./commands/GetReusableDelegationSetCommand";
43
- export * from "./commands/GetReusableDelegationSetLimitCommand";
44
- export * from "./commands/GetTrafficPolicyCommand";
45
- export * from "./commands/GetTrafficPolicyInstanceCommand";
46
- export * from "./commands/GetTrafficPolicyInstanceCountCommand";
47
- export * from "./commands/ListGeoLocationsCommand";
48
- export * from "./commands/ListHealthChecksCommand";
49
- export * from "./pagination/ListHealthChecksPaginator";
50
- export * from "./commands/ListHostedZonesCommand";
51
- export * from "./pagination/ListHostedZonesPaginator";
52
- export * from "./commands/ListHostedZonesByNameCommand";
53
- export * from "./commands/ListHostedZonesByVPCCommand";
54
- export * from "./commands/ListQueryLoggingConfigsCommand";
55
- export * from "./pagination/ListQueryLoggingConfigsPaginator";
56
- export * from "./commands/ListResourceRecordSetsCommand";
57
- export * from "./commands/ListReusableDelegationSetsCommand";
58
- export * from "./commands/ListTagsForResourceCommand";
59
- export * from "./commands/ListTagsForResourcesCommand";
60
- export * from "./commands/ListTrafficPoliciesCommand";
61
- export * from "./commands/ListTrafficPolicyInstancesCommand";
62
- export * from "./commands/ListTrafficPolicyInstancesByHostedZoneCommand";
63
- export * from "./commands/ListTrafficPolicyInstancesByPolicyCommand";
64
- export * from "./commands/ListTrafficPolicyVersionsCommand";
65
- export * from "./commands/ListVPCAssociationAuthorizationsCommand";
66
- export * from "./commands/TestDNSAnswerCommand";
67
- export * from "./commands/UpdateHealthCheckCommand";
68
- export * from "./commands/UpdateHostedZoneCommentCommand";
69
- export * from "./commands/UpdateTrafficPolicyCommentCommand";
70
- export * from "./commands/UpdateTrafficPolicyInstanceCommand";
71
- export * from "./pagination/Interfaces";
72
- export * from "./models/index";
2
+ export * from "./Route53Client";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export * from "./waiters";
@@ -0,0 +1,4 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListHealthChecksPaginator";
3
+ export * from "./ListHostedZonesPaginator";
4
+ export * from "./ListQueryLoggingConfigsPaginator";
@@ -0,0 +1 @@
1
+ export * from "./waitForResourceRecordSetsChanged";
@@ -0,0 +1,64 @@
1
+ export * from "./ActivateKeySigningKeyCommand";
2
+ export * from "./AssociateVPCWithHostedZoneCommand";
3
+ export * from "./ChangeResourceRecordSetsCommand";
4
+ export * from "./ChangeTagsForResourceCommand";
5
+ export * from "./CreateHealthCheckCommand";
6
+ export * from "./CreateHostedZoneCommand";
7
+ export * from "./CreateKeySigningKeyCommand";
8
+ export * from "./CreateQueryLoggingConfigCommand";
9
+ export * from "./CreateReusableDelegationSetCommand";
10
+ export * from "./CreateTrafficPolicyCommand";
11
+ export * from "./CreateTrafficPolicyInstanceCommand";
12
+ export * from "./CreateTrafficPolicyVersionCommand";
13
+ export * from "./CreateVPCAssociationAuthorizationCommand";
14
+ export * from "./DeactivateKeySigningKeyCommand";
15
+ export * from "./DeleteHealthCheckCommand";
16
+ export * from "./DeleteHostedZoneCommand";
17
+ export * from "./DeleteKeySigningKeyCommand";
18
+ export * from "./DeleteQueryLoggingConfigCommand";
19
+ export * from "./DeleteReusableDelegationSetCommand";
20
+ export * from "./DeleteTrafficPolicyCommand";
21
+ export * from "./DeleteTrafficPolicyInstanceCommand";
22
+ export * from "./DeleteVPCAssociationAuthorizationCommand";
23
+ export * from "./DisableHostedZoneDNSSECCommand";
24
+ export * from "./DisassociateVPCFromHostedZoneCommand";
25
+ export * from "./EnableHostedZoneDNSSECCommand";
26
+ export * from "./GetAccountLimitCommand";
27
+ export * from "./GetChangeCommand";
28
+ export * from "./GetCheckerIpRangesCommand";
29
+ export * from "./GetDNSSECCommand";
30
+ export * from "./GetGeoLocationCommand";
31
+ export * from "./GetHealthCheckCommand";
32
+ export * from "./GetHealthCheckCountCommand";
33
+ export * from "./GetHealthCheckLastFailureReasonCommand";
34
+ export * from "./GetHealthCheckStatusCommand";
35
+ export * from "./GetHostedZoneCommand";
36
+ export * from "./GetHostedZoneCountCommand";
37
+ export * from "./GetHostedZoneLimitCommand";
38
+ export * from "./GetQueryLoggingConfigCommand";
39
+ export * from "./GetReusableDelegationSetCommand";
40
+ export * from "./GetReusableDelegationSetLimitCommand";
41
+ export * from "./GetTrafficPolicyCommand";
42
+ export * from "./GetTrafficPolicyInstanceCommand";
43
+ export * from "./GetTrafficPolicyInstanceCountCommand";
44
+ export * from "./ListGeoLocationsCommand";
45
+ export * from "./ListHealthChecksCommand";
46
+ export * from "./ListHostedZonesByNameCommand";
47
+ export * from "./ListHostedZonesByVPCCommand";
48
+ export * from "./ListHostedZonesCommand";
49
+ export * from "./ListQueryLoggingConfigsCommand";
50
+ export * from "./ListResourceRecordSetsCommand";
51
+ export * from "./ListReusableDelegationSetsCommand";
52
+ export * from "./ListTagsForResourceCommand";
53
+ export * from "./ListTagsForResourcesCommand";
54
+ export * from "./ListTrafficPoliciesCommand";
55
+ export * from "./ListTrafficPolicyInstancesByHostedZoneCommand";
56
+ export * from "./ListTrafficPolicyInstancesByPolicyCommand";
57
+ export * from "./ListTrafficPolicyInstancesCommand";
58
+ export * from "./ListTrafficPolicyVersionsCommand";
59
+ export * from "./ListVPCAssociationAuthorizationsCommand";
60
+ export * from "./TestDNSAnswerCommand";
61
+ export * from "./UpdateHealthCheckCommand";
62
+ export * from "./UpdateHostedZoneCommentCommand";
63
+ export * from "./UpdateTrafficPolicyCommentCommand";
64
+ export * from "./UpdateTrafficPolicyInstanceCommand";
@@ -1,72 +1,6 @@
1
- export * from "./Route53Client";
2
1
  export * from "./Route53";
3
- export * from "./commands/ActivateKeySigningKeyCommand";
4
- export * from "./commands/AssociateVPCWithHostedZoneCommand";
5
- export * from "./commands/ChangeResourceRecordSetsCommand";
6
- export * from "./commands/ChangeTagsForResourceCommand";
7
- export * from "./commands/CreateHealthCheckCommand";
8
- export * from "./commands/CreateHostedZoneCommand";
9
- export * from "./commands/CreateKeySigningKeyCommand";
10
- export * from "./commands/CreateQueryLoggingConfigCommand";
11
- export * from "./commands/CreateReusableDelegationSetCommand";
12
- export * from "./commands/CreateTrafficPolicyCommand";
13
- export * from "./commands/CreateTrafficPolicyInstanceCommand";
14
- export * from "./commands/CreateTrafficPolicyVersionCommand";
15
- export * from "./commands/CreateVPCAssociationAuthorizationCommand";
16
- export * from "./commands/DeactivateKeySigningKeyCommand";
17
- export * from "./commands/DeleteHealthCheckCommand";
18
- export * from "./commands/DeleteHostedZoneCommand";
19
- export * from "./commands/DeleteKeySigningKeyCommand";
20
- export * from "./commands/DeleteQueryLoggingConfigCommand";
21
- export * from "./commands/DeleteReusableDelegationSetCommand";
22
- export * from "./commands/DeleteTrafficPolicyCommand";
23
- export * from "./commands/DeleteTrafficPolicyInstanceCommand";
24
- export * from "./commands/DeleteVPCAssociationAuthorizationCommand";
25
- export * from "./commands/DisableHostedZoneDNSSECCommand";
26
- export * from "./commands/DisassociateVPCFromHostedZoneCommand";
27
- export * from "./commands/EnableHostedZoneDNSSECCommand";
28
- export * from "./commands/GetAccountLimitCommand";
29
- export * from "./commands/GetChangeCommand";
30
- export * from "./waiters/waitForResourceRecordSetsChanged";
31
- export * from "./commands/GetCheckerIpRangesCommand";
32
- export * from "./commands/GetDNSSECCommand";
33
- export * from "./commands/GetGeoLocationCommand";
34
- export * from "./commands/GetHealthCheckCommand";
35
- export * from "./commands/GetHealthCheckCountCommand";
36
- export * from "./commands/GetHealthCheckLastFailureReasonCommand";
37
- export * from "./commands/GetHealthCheckStatusCommand";
38
- export * from "./commands/GetHostedZoneCommand";
39
- export * from "./commands/GetHostedZoneCountCommand";
40
- export * from "./commands/GetHostedZoneLimitCommand";
41
- export * from "./commands/GetQueryLoggingConfigCommand";
42
- export * from "./commands/GetReusableDelegationSetCommand";
43
- export * from "./commands/GetReusableDelegationSetLimitCommand";
44
- export * from "./commands/GetTrafficPolicyCommand";
45
- export * from "./commands/GetTrafficPolicyInstanceCommand";
46
- export * from "./commands/GetTrafficPolicyInstanceCountCommand";
47
- export * from "./commands/ListGeoLocationsCommand";
48
- export * from "./commands/ListHealthChecksCommand";
49
- export * from "./pagination/ListHealthChecksPaginator";
50
- export * from "./commands/ListHostedZonesCommand";
51
- export * from "./pagination/ListHostedZonesPaginator";
52
- export * from "./commands/ListHostedZonesByNameCommand";
53
- export * from "./commands/ListHostedZonesByVPCCommand";
54
- export * from "./commands/ListQueryLoggingConfigsCommand";
55
- export * from "./pagination/ListQueryLoggingConfigsPaginator";
56
- export * from "./commands/ListResourceRecordSetsCommand";
57
- export * from "./commands/ListReusableDelegationSetsCommand";
58
- export * from "./commands/ListTagsForResourceCommand";
59
- export * from "./commands/ListTagsForResourcesCommand";
60
- export * from "./commands/ListTrafficPoliciesCommand";
61
- export * from "./commands/ListTrafficPolicyInstancesCommand";
62
- export * from "./commands/ListTrafficPolicyInstancesByHostedZoneCommand";
63
- export * from "./commands/ListTrafficPolicyInstancesByPolicyCommand";
64
- export * from "./commands/ListTrafficPolicyVersionsCommand";
65
- export * from "./commands/ListVPCAssociationAuthorizationsCommand";
66
- export * from "./commands/TestDNSAnswerCommand";
67
- export * from "./commands/UpdateHealthCheckCommand";
68
- export * from "./commands/UpdateHostedZoneCommentCommand";
69
- export * from "./commands/UpdateTrafficPolicyCommentCommand";
70
- export * from "./commands/UpdateTrafficPolicyInstanceCommand";
71
- export * from "./pagination/Interfaces";
72
- export * from "./models/index";
2
+ export * from "./Route53Client";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export * from "./waiters";
@@ -0,0 +1,4 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListHealthChecksPaginator";
3
+ export * from "./ListHostedZonesPaginator";
4
+ export * from "./ListQueryLoggingConfigsPaginator";