@aws-sdk/client-route-53 3.774.0 → 3.777.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/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/Route53Client.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/ActivateKeySigningKeyCommand.d.ts +1 -0
  8. package/dist-types/commands/AssociateVPCWithHostedZoneCommand.d.ts +13 -13
  9. package/dist-types/commands/ChangeCidrCollectionCommand.d.ts +1 -0
  10. package/dist-types/commands/ChangeResourceRecordSetsCommand.d.ts +388 -397
  11. package/dist-types/commands/ChangeTagsForResourceCommand.d.ts +14 -11
  12. package/dist-types/commands/CreateCidrCollectionCommand.d.ts +1 -0
  13. package/dist-types/commands/CreateHealthCheckCommand.d.ts +1 -0
  14. package/dist-types/commands/CreateHostedZoneCommand.d.ts +1 -0
  15. package/dist-types/commands/CreateKeySigningKeyCommand.d.ts +1 -0
  16. package/dist-types/commands/CreateQueryLoggingConfigCommand.d.ts +1 -0
  17. package/dist-types/commands/CreateReusableDelegationSetCommand.d.ts +1 -0
  18. package/dist-types/commands/CreateTrafficPolicyCommand.d.ts +1 -0
  19. package/dist-types/commands/CreateTrafficPolicyInstanceCommand.d.ts +1 -0
  20. package/dist-types/commands/CreateTrafficPolicyVersionCommand.d.ts +1 -0
  21. package/dist-types/commands/CreateVPCAssociationAuthorizationCommand.d.ts +1 -0
  22. package/dist-types/commands/DeactivateKeySigningKeyCommand.d.ts +1 -0
  23. package/dist-types/commands/DeleteCidrCollectionCommand.d.ts +1 -0
  24. package/dist-types/commands/DeleteHealthCheckCommand.d.ts +1 -0
  25. package/dist-types/commands/DeleteHostedZoneCommand.d.ts +1 -0
  26. package/dist-types/commands/DeleteKeySigningKeyCommand.d.ts +1 -0
  27. package/dist-types/commands/DeleteQueryLoggingConfigCommand.d.ts +1 -0
  28. package/dist-types/commands/DeleteReusableDelegationSetCommand.d.ts +1 -0
  29. package/dist-types/commands/DeleteTrafficPolicyCommand.d.ts +1 -0
  30. package/dist-types/commands/DeleteTrafficPolicyInstanceCommand.d.ts +1 -0
  31. package/dist-types/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +1 -0
  32. package/dist-types/commands/DisableHostedZoneDNSSECCommand.d.ts +1 -0
  33. package/dist-types/commands/DisassociateVPCFromHostedZoneCommand.d.ts +1 -0
  34. package/dist-types/commands/EnableHostedZoneDNSSECCommand.d.ts +1 -0
  35. package/dist-types/commands/GetAccountLimitCommand.d.ts +1 -0
  36. package/dist-types/commands/GetChangeCommand.d.ts +1 -0
  37. package/dist-types/commands/GetCheckerIpRangesCommand.d.ts +1 -0
  38. package/dist-types/commands/GetDNSSECCommand.d.ts +1 -0
  39. package/dist-types/commands/GetGeoLocationCommand.d.ts +1 -0
  40. package/dist-types/commands/GetHealthCheckCommand.d.ts +1 -0
  41. package/dist-types/commands/GetHealthCheckCountCommand.d.ts +1 -0
  42. package/dist-types/commands/GetHealthCheckLastFailureReasonCommand.d.ts +1 -0
  43. package/dist-types/commands/GetHealthCheckStatusCommand.d.ts +1 -0
  44. package/dist-types/commands/GetHostedZoneCommand.d.ts +13 -13
  45. package/dist-types/commands/GetHostedZoneCountCommand.d.ts +1 -0
  46. package/dist-types/commands/GetHostedZoneLimitCommand.d.ts +1 -0
  47. package/dist-types/commands/GetQueryLoggingConfigCommand.d.ts +1 -0
  48. package/dist-types/commands/GetReusableDelegationSetCommand.d.ts +1 -0
  49. package/dist-types/commands/GetReusableDelegationSetLimitCommand.d.ts +1 -0
  50. package/dist-types/commands/GetTrafficPolicyCommand.d.ts +1 -0
  51. package/dist-types/commands/GetTrafficPolicyInstanceCommand.d.ts +1 -0
  52. package/dist-types/commands/GetTrafficPolicyInstanceCountCommand.d.ts +1 -0
  53. package/dist-types/commands/ListCidrBlocksCommand.d.ts +1 -0
  54. package/dist-types/commands/ListCidrCollectionsCommand.d.ts +1 -0
  55. package/dist-types/commands/ListCidrLocationsCommand.d.ts +1 -0
  56. package/dist-types/commands/ListGeoLocationsCommand.d.ts +1 -0
  57. package/dist-types/commands/ListHealthChecksCommand.d.ts +1 -0
  58. package/dist-types/commands/ListHostedZonesByNameCommand.d.ts +1 -0
  59. package/dist-types/commands/ListHostedZonesByVPCCommand.d.ts +1 -0
  60. package/dist-types/commands/ListHostedZonesCommand.d.ts +1 -0
  61. package/dist-types/commands/ListQueryLoggingConfigsCommand.d.ts +1 -0
  62. package/dist-types/commands/ListResourceRecordSetsCommand.d.ts +1 -0
  63. package/dist-types/commands/ListReusableDelegationSetsCommand.d.ts +1 -0
  64. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
  65. package/dist-types/commands/ListTagsForResourcesCommand.d.ts +1 -0
  66. package/dist-types/commands/ListTrafficPoliciesCommand.d.ts +1 -0
  67. package/dist-types/commands/ListTrafficPolicyInstancesByHostedZoneCommand.d.ts +1 -0
  68. package/dist-types/commands/ListTrafficPolicyInstancesByPolicyCommand.d.ts +1 -0
  69. package/dist-types/commands/ListTrafficPolicyInstancesCommand.d.ts +1 -0
  70. package/dist-types/commands/ListTrafficPolicyVersionsCommand.d.ts +1 -0
  71. package/dist-types/commands/ListVPCAssociationAuthorizationsCommand.d.ts +1 -0
  72. package/dist-types/commands/TestDNSAnswerCommand.d.ts +1 -0
  73. package/dist-types/commands/UpdateHealthCheckCommand.d.ts +1 -0
  74. package/dist-types/commands/UpdateHostedZoneCommentCommand.d.ts +1 -0
  75. package/dist-types/commands/UpdateTrafficPolicyCommentCommand.d.ts +1 -0
  76. package/dist-types/commands/UpdateTrafficPolicyInstanceCommand.d.ts +1 -0
  77. package/package.json +36 -36
@@ -40,8 +40,6 @@ const defaultRoute53HttpAuthSchemeProvider = (authParameters) => {
40
40
  exports.defaultRoute53HttpAuthSchemeProvider = defaultRoute53HttpAuthSchemeProvider;
41
41
  const resolveHttpAuthSchemeConfig = (config) => {
42
42
  const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
43
- return {
44
- ...config_0,
45
- };
43
+ return Object.assign(config_0, {});
46
44
  };
47
45
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
package/dist-cjs/index.js CHANGED
@@ -209,12 +209,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
209
209
 
210
210
  // src/endpoint/EndpointParameters.ts
211
211
  var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
212
- return {
213
- ...options,
212
+ return Object.assign(options, {
214
213
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
215
214
  useFipsEndpoint: options.useFipsEndpoint ?? false,
216
215
  defaultSigningName: "route53"
217
- };
216
+ });
218
217
  }, "resolveClientEndpointParameters");
219
218
  var commonParams = {
220
219
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -271,22 +270,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
271
270
  }, "resolveHttpAuthRuntimeConfig");
272
271
 
273
272
  // src/runtimeExtensions.ts
274
- var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
275
273
  var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
276
- const extensionConfiguration = {
277
- ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
278
- ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
279
- ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
280
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
281
- };
274
+ const extensionConfiguration = Object.assign(
275
+ (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
276
+ (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
277
+ (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
278
+ getHttpAuthExtensionConfiguration(runtimeConfig)
279
+ );
282
280
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
283
- return {
284
- ...runtimeConfig,
285
- ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
286
- ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
287
- ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
288
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration)
289
- };
281
+ return Object.assign(
282
+ runtimeConfig,
283
+ (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
284
+ (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
285
+ (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
286
+ resolveHttpAuthRuntimeConfig(extensionConfiguration)
287
+ );
290
288
  }, "resolveRuntimeExtensions");
291
289
 
292
290
  // src/Route53Client.ts
@@ -300,6 +298,8 @@ var Route53Client = class extends import_smithy_client.Client {
300
298
  config;
301
299
  constructor(...[configuration]) {
302
300
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
301
+ super(_config_0);
302
+ this.initConfig = _config_0;
303
303
  const _config_1 = resolveClientEndpointParameters(_config_0);
304
304
  const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
305
305
  const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
@@ -308,7 +308,6 @@ var Route53Client = class extends import_smithy_client.Client {
308
308
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
309
309
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
310
310
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
311
- super(_config_8);
312
311
  this.config = _config_8;
313
312
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
314
313
  this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
@@ -17,6 +17,8 @@ export class Route53Client extends __Client {
17
17
  config;
18
18
  constructor(...[configuration]) {
19
19
  const _config_0 = __getRuntimeConfig(configuration || {});
20
+ super(_config_0);
21
+ this.initConfig = _config_0;
20
22
  const _config_1 = resolveClientEndpointParameters(_config_0);
21
23
  const _config_2 = resolveUserAgentConfig(_config_1);
22
24
  const _config_3 = resolveRetryConfig(_config_2);
@@ -25,7 +27,6 @@ export class Route53Client extends __Client {
25
27
  const _config_6 = resolveEndpointConfig(_config_5);
26
28
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
27
29
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
28
- super(_config_8);
29
30
  this.config = _config_8;
30
31
  this.middlewareStack.use(getUserAgentPlugin(this.config));
31
32
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -35,7 +35,5 @@ export const defaultRoute53HttpAuthSchemeProvider = (authParameters) => {
35
35
  };
36
36
  export const resolveHttpAuthSchemeConfig = (config) => {
37
37
  const config_0 = resolveAwsSdkSigV4Config(config);
38
- return {
39
- ...config_0,
40
- };
38
+ return Object.assign(config_0, {});
41
39
  };
@@ -1,10 +1,9 @@
1
1
  export const resolveClientEndpointParameters = (options) => {
2
- return {
3
- ...options,
2
+ return Object.assign(options, {
4
3
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
4
  useFipsEndpoint: options.useFipsEndpoint ?? false,
6
5
  defaultSigningName: "route53",
7
- };
6
+ });
8
7
  };
9
8
  export const commonParams = {
10
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
2
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
- const asPartial = (t) => t;
6
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
- const extensionConfiguration = {
8
- ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
9
- ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
10
- ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
11
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
12
- };
6
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
13
7
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
14
- return {
15
- ...runtimeConfig,
16
- ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
17
- ...resolveDefaultRuntimeConfig(extensionConfiguration),
18
- ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
19
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration),
20
- };
8
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
21
9
  };
@@ -83,6 +83,7 @@ declare const ActivateKeySigningKeyCommand_base: {
83
83
  * @throws {@link Route53ServiceException}
84
84
  * <p>Base exception class for all service exceptions from Route53 service.</p>
85
85
  *
86
+ *
86
87
  * @public
87
88
  */
88
89
  export declare class ActivateKeySigningKeyCommand extends ActivateKeySigningKeyCommand_base {
@@ -154,33 +154,33 @@ declare const AssociateVPCWithHostedZoneCommand_base: {
154
154
  * @throws {@link Route53ServiceException}
155
155
  * <p>Base exception class for all service exceptions from Route53 service.</p>
156
156
  *
157
- * @public
157
+ *
158
158
  * @example To associate a VPC with a hosted zone
159
159
  * ```javascript
160
160
  * // The following example associates the VPC with ID vpc-1a2b3c4d with the hosted zone with ID Z3M3LMPEXAMPLE.
161
161
  * const input = {
162
- * "Comment": "",
163
- * "HostedZoneId": "Z3M3LMPEXAMPLE",
164
- * "VPC": {
165
- * "VPCId": "vpc-1a2b3c4d",
166
- * "VPCRegion": "us-east-2"
162
+ * Comment: "",
163
+ * HostedZoneId: "Z3M3LMPEXAMPLE",
164
+ * VPC: {
165
+ * VPCId: "vpc-1a2b3c4d",
166
+ * VPCRegion: "us-east-2"
167
167
  * }
168
168
  * };
169
169
  * const command = new AssociateVPCWithHostedZoneCommand(input);
170
170
  * const response = await client.send(command);
171
- * /* response ==
171
+ * /* response is
172
172
  * {
173
- * "ChangeInfo": {
174
- * "Comment": "",
175
- * "Id": "/change/C3HC6WDB2UANE2",
176
- * "Status": "INSYNC",
177
- * "SubmittedAt": "2017-01-31T01:36:41.958Z"
173
+ * ChangeInfo: {
174
+ * Comment: "",
175
+ * Id: "/change/C3HC6WDB2UANE2",
176
+ * Status: "INSYNC",
177
+ * SubmittedAt: "2017-01-31T01:36:41.958Z"
178
178
  * }
179
179
  * }
180
180
  * *\/
181
- * // example id: to-associate-a-vpc-with-a-hosted-zone-1484069228699
182
181
  * ```
183
182
  *
183
+ * @public
184
184
  */
185
185
  export declare class AssociateVPCWithHostedZoneCommand extends AssociateVPCWithHostedZoneCommand_base {
186
186
  /** @internal type navigation helper, not in runtime. */
@@ -110,6 +110,7 @@ declare const ChangeCidrCollectionCommand_base: {
110
110
  * @throws {@link Route53ServiceException}
111
111
  * <p>Base exception class for all service exceptions from Route53 service.</p>
112
112
  *
113
+ *
113
114
  * @public
114
115
  */
115
116
  export declare class ChangeCidrCollectionCommand extends ChangeCidrCollectionCommand_base {