@aws-sdk/client-route-53 3.957.0 → 3.962.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 (54) hide show
  1. package/README.md +1 -76
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
  3. package/dist-cjs/index.js +1555 -1605
  4. package/dist-cjs/runtimeConfig.browser.js +1 -2
  5. package/dist-cjs/runtimeConfig.js +2 -4
  6. package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
  7. package/dist-es/commands/ActivateKeySigningKeyCommand.js +4 -1
  8. package/dist-es/commands/AssociateVPCWithHostedZoneCommand.js +4 -1
  9. package/dist-es/commands/ChangeCidrCollectionCommand.js +4 -1
  10. package/dist-es/commands/CreateHostedZoneCommand.js +4 -1
  11. package/dist-es/commands/CreateKeySigningKeyCommand.js +4 -1
  12. package/dist-es/commands/CreateQueryLoggingConfigCommand.js +4 -1
  13. package/dist-es/commands/CreateReusableDelegationSetCommand.js +4 -1
  14. package/dist-es/commands/CreateTrafficPolicyInstanceCommand.js +4 -1
  15. package/dist-es/commands/CreateTrafficPolicyVersionCommand.js +4 -1
  16. package/dist-es/commands/CreateVPCAssociationAuthorizationCommand.js +4 -1
  17. package/dist-es/commands/DeactivateKeySigningKeyCommand.js +4 -1
  18. package/dist-es/commands/DeleteCidrCollectionCommand.js +4 -1
  19. package/dist-es/commands/DeleteHostedZoneCommand.js +4 -1
  20. package/dist-es/commands/DeleteKeySigningKeyCommand.js +4 -1
  21. package/dist-es/commands/DeleteQueryLoggingConfigCommand.js +4 -1
  22. package/dist-es/commands/DeleteReusableDelegationSetCommand.js +4 -1
  23. package/dist-es/commands/DeleteTrafficPolicyCommand.js +4 -1
  24. package/dist-es/commands/DeleteTrafficPolicyInstanceCommand.js +4 -1
  25. package/dist-es/commands/DeleteVPCAssociationAuthorizationCommand.js +4 -1
  26. package/dist-es/commands/DisableHostedZoneDNSSECCommand.js +4 -1
  27. package/dist-es/commands/DisassociateVPCFromHostedZoneCommand.js +4 -1
  28. package/dist-es/commands/EnableHostedZoneDNSSECCommand.js +4 -1
  29. package/dist-es/commands/GetChangeCommand.js +4 -1
  30. package/dist-es/commands/GetDNSSECCommand.js +4 -1
  31. package/dist-es/commands/GetHostedZoneCommand.js +4 -1
  32. package/dist-es/commands/GetHostedZoneLimitCommand.js +4 -1
  33. package/dist-es/commands/GetQueryLoggingConfigCommand.js +4 -1
  34. package/dist-es/commands/GetReusableDelegationSetCommand.js +4 -1
  35. package/dist-es/commands/GetReusableDelegationSetLimitCommand.js +4 -1
  36. package/dist-es/commands/GetTrafficPolicyCommand.js +4 -1
  37. package/dist-es/commands/GetTrafficPolicyInstanceCommand.js +4 -1
  38. package/dist-es/commands/ListHostedZonesByNameCommand.js +4 -1
  39. package/dist-es/commands/ListHostedZonesCommand.js +4 -1
  40. package/dist-es/commands/ListQueryLoggingConfigsCommand.js +4 -1
  41. package/dist-es/commands/ListResourceRecordSetsCommand.js +4 -1
  42. package/dist-es/commands/ListTrafficPolicyInstancesByHostedZoneCommand.js +4 -1
  43. package/dist-es/commands/ListTrafficPolicyVersionsCommand.js +4 -1
  44. package/dist-es/commands/ListVPCAssociationAuthorizationsCommand.js +4 -1
  45. package/dist-es/commands/TestDNSAnswerCommand.js +4 -1
  46. package/dist-es/commands/UpdateHostedZoneCommentCommand.js +4 -1
  47. package/dist-es/commands/UpdateHostedZoneFeaturesCommand.js +4 -1
  48. package/dist-es/commands/UpdateTrafficPolicyCommentCommand.js +4 -1
  49. package/dist-es/commands/UpdateTrafficPolicyInstanceCommand.js +4 -1
  50. package/dist-es/runtimeConfig.browser.js +1 -2
  51. package/dist-es/runtimeConfig.js +4 -6
  52. package/dist-es/schemas/schemas_0.js +1298 -1477
  53. package/dist-es/waiters/waitForResourceRecordSetsChanged.js +1 -1
  54. package/package.json +2 -2
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
24
24
  defaultsMode,
25
25
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
26
26
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
- (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
27
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
28
  maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
29
  region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
30
  requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
34
34
  authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
35
35
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
36
36
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
37
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
38
- (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
37
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
39
38
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
40
- region: config?.region ??
41
- (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
39
+ region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
42
40
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
43
41
  retryMode: config?.retryMode ??
44
42
  (0, node_config_provider_1.loadConfig)({
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
3
  export const defaultRoute53HttpAuthSchemeParametersProvider = async (config, context, input) => {
4
4
  return {
5
5
  operation: getSmithyContext(context).operation,
6
- region: (await normalizeProvider(config.region)()) ||
7
- (() => {
8
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
9
- })(),
6
+ region: await normalizeProvider(config.region)() || (() => {
7
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
8
+ })(),
10
9
  };
11
10
  };
12
11
  function createAwsAuthSigv4HttpAuthOption(authParameters) {
@@ -8,7 +8,10 @@ export class ActivateKeySigningKeyCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "ActivateKeySigningKey", {})
14
17
  .n("Route53Client", "ActivateKeySigningKeyCommand")
@@ -8,7 +8,10 @@ export class AssociateVPCWithHostedZoneCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "AssociateVPCWithHostedZone", {})
14
17
  .n("Route53Client", "AssociateVPCWithHostedZoneCommand")
@@ -8,7 +8,10 @@ export class ChangeCidrCollectionCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "ChangeCidrCollection", {})
14
17
  .n("Route53Client", "ChangeCidrCollectionCommand")
@@ -8,7 +8,10 @@ export class CreateHostedZoneCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "CreateHostedZone", {})
14
17
  .n("Route53Client", "CreateHostedZoneCommand")
@@ -8,7 +8,10 @@ export class CreateKeySigningKeyCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "CreateKeySigningKey", {})
14
17
  .n("Route53Client", "CreateKeySigningKeyCommand")
@@ -8,7 +8,10 @@ export class CreateQueryLoggingConfigCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "CreateQueryLoggingConfig", {})
14
17
  .n("Route53Client", "CreateQueryLoggingConfigCommand")
@@ -8,7 +8,10 @@ export class CreateReusableDelegationSetCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "CreateReusableDelegationSet", {})
14
17
  .n("Route53Client", "CreateReusableDelegationSetCommand")
@@ -8,7 +8,10 @@ export class CreateTrafficPolicyInstanceCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "CreateTrafficPolicyInstance", {})
14
17
  .n("Route53Client", "CreateTrafficPolicyInstanceCommand")
@@ -8,7 +8,10 @@ export class CreateTrafficPolicyVersionCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "CreateTrafficPolicyVersion", {})
14
17
  .n("Route53Client", "CreateTrafficPolicyVersionCommand")
@@ -8,7 +8,10 @@ export class CreateVPCAssociationAuthorizationCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "CreateVPCAssociationAuthorization", {})
14
17
  .n("Route53Client", "CreateVPCAssociationAuthorizationCommand")
@@ -8,7 +8,10 @@ export class DeactivateKeySigningKeyCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "DeactivateKeySigningKey", {})
14
17
  .n("Route53Client", "DeactivateKeySigningKeyCommand")
@@ -8,7 +8,10 @@ export class DeleteCidrCollectionCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "DeleteCidrCollection", {})
14
17
  .n("Route53Client", "DeleteCidrCollectionCommand")
@@ -8,7 +8,10 @@ export class DeleteHostedZoneCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "DeleteHostedZone", {})
14
17
  .n("Route53Client", "DeleteHostedZoneCommand")
@@ -8,7 +8,10 @@ export class DeleteKeySigningKeyCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "DeleteKeySigningKey", {})
14
17
  .n("Route53Client", "DeleteKeySigningKeyCommand")
@@ -8,7 +8,10 @@ export class DeleteQueryLoggingConfigCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "DeleteQueryLoggingConfig", {})
14
17
  .n("Route53Client", "DeleteQueryLoggingConfigCommand")
@@ -8,7 +8,10 @@ export class DeleteReusableDelegationSetCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "DeleteReusableDelegationSet", {})
14
17
  .n("Route53Client", "DeleteReusableDelegationSetCommand")
@@ -8,7 +8,10 @@ export class DeleteTrafficPolicyCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "DeleteTrafficPolicy", {})
14
17
  .n("Route53Client", "DeleteTrafficPolicyCommand")
@@ -8,7 +8,10 @@ export class DeleteTrafficPolicyInstanceCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "DeleteTrafficPolicyInstance", {})
14
17
  .n("Route53Client", "DeleteTrafficPolicyInstanceCommand")
@@ -8,7 +8,10 @@ export class DeleteVPCAssociationAuthorizationCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "DeleteVPCAssociationAuthorization", {})
14
17
  .n("Route53Client", "DeleteVPCAssociationAuthorizationCommand")
@@ -8,7 +8,10 @@ export class DisableHostedZoneDNSSECCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "DisableHostedZoneDNSSEC", {})
14
17
  .n("Route53Client", "DisableHostedZoneDNSSECCommand")
@@ -8,7 +8,10 @@ export class DisassociateVPCFromHostedZoneCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "DisassociateVPCFromHostedZone", {})
14
17
  .n("Route53Client", "DisassociateVPCFromHostedZoneCommand")
@@ -8,7 +8,10 @@ export class EnableHostedZoneDNSSECCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "EnableHostedZoneDNSSEC", {})
14
17
  .n("Route53Client", "EnableHostedZoneDNSSECCommand")
@@ -8,7 +8,10 @@ export class GetChangeCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "GetChange", {})
14
17
  .n("Route53Client", "GetChangeCommand")
@@ -8,7 +8,10 @@ export class GetDNSSECCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "GetDNSSEC", {})
14
17
  .n("Route53Client", "GetDNSSECCommand")
@@ -8,7 +8,10 @@ export class GetHostedZoneCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "GetHostedZone", {})
14
17
  .n("Route53Client", "GetHostedZoneCommand")
@@ -8,7 +8,10 @@ export class GetHostedZoneLimitCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "GetHostedZoneLimit", {})
14
17
  .n("Route53Client", "GetHostedZoneLimitCommand")
@@ -8,7 +8,10 @@ export class GetQueryLoggingConfigCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "GetQueryLoggingConfig", {})
14
17
  .n("Route53Client", "GetQueryLoggingConfigCommand")
@@ -8,7 +8,10 @@ export class GetReusableDelegationSetCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "GetReusableDelegationSet", {})
14
17
  .n("Route53Client", "GetReusableDelegationSetCommand")
@@ -8,7 +8,10 @@ export class GetReusableDelegationSetLimitCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "GetReusableDelegationSetLimit", {})
14
17
  .n("Route53Client", "GetReusableDelegationSetLimitCommand")
@@ -8,7 +8,10 @@ export class GetTrafficPolicyCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "GetTrafficPolicy", {})
14
17
  .n("Route53Client", "GetTrafficPolicyCommand")
@@ -8,7 +8,10 @@ export class GetTrafficPolicyInstanceCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "GetTrafficPolicyInstance", {})
14
17
  .n("Route53Client", "GetTrafficPolicyInstanceCommand")
@@ -8,7 +8,10 @@ export class ListHostedZonesByNameCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "ListHostedZonesByName", {})
14
17
  .n("Route53Client", "ListHostedZonesByNameCommand")
@@ -8,7 +8,10 @@ export class ListHostedZonesCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "ListHostedZones", {})
14
17
  .n("Route53Client", "ListHostedZonesCommand")
@@ -8,7 +8,10 @@ export class ListQueryLoggingConfigsCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "ListQueryLoggingConfigs", {})
14
17
  .n("Route53Client", "ListQueryLoggingConfigsCommand")
@@ -8,7 +8,10 @@ export class ListResourceRecordSetsCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "ListResourceRecordSets", {})
14
17
  .n("Route53Client", "ListResourceRecordSetsCommand")
@@ -8,7 +8,10 @@ export class ListTrafficPolicyInstancesByHostedZoneCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "ListTrafficPolicyInstancesByHostedZone", {})
14
17
  .n("Route53Client", "ListTrafficPolicyInstancesByHostedZoneCommand")
@@ -8,7 +8,10 @@ export class ListTrafficPolicyVersionsCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "ListTrafficPolicyVersions", {})
14
17
  .n("Route53Client", "ListTrafficPolicyVersionsCommand")
@@ -8,7 +8,10 @@ export class ListVPCAssociationAuthorizationsCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "ListVPCAssociationAuthorizations", {})
14
17
  .n("Route53Client", "ListVPCAssociationAuthorizationsCommand")
@@ -8,7 +8,10 @@ export class TestDNSAnswerCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "TestDNSAnswer", {})
14
17
  .n("Route53Client", "TestDNSAnswerCommand")
@@ -8,7 +8,10 @@ export class UpdateHostedZoneCommentCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "UpdateHostedZoneComment", {})
14
17
  .n("Route53Client", "UpdateHostedZoneCommentCommand")
@@ -8,7 +8,10 @@ export class UpdateHostedZoneFeaturesCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "UpdateHostedZoneFeatures", {})
14
17
  .n("Route53Client", "UpdateHostedZoneFeaturesCommand")
@@ -8,7 +8,10 @@ export class UpdateTrafficPolicyCommentCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "UpdateTrafficPolicyComment", {})
14
17
  .n("Route53Client", "UpdateTrafficPolicyCommentCommand")
@@ -8,7 +8,10 @@ export class UpdateTrafficPolicyInstanceCommand extends $Command
8
8
  .classBuilder()
9
9
  .ep(commonParams)
10
10
  .m(function (Command, cs, config, o) {
11
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getIdNormalizerPlugin(config)];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getIdNormalizerPlugin(config),
14
+ ];
12
15
  })
13
16
  .s("AWSDnsV20130401", "UpdateTrafficPolicyInstance", {})
14
17
  .n("Route53Client", "UpdateTrafficPolicyInstanceCommand")
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
20
20
  defaultsMode,
21
21
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
22
22
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
23
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
24
- createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
23
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
25
24
  maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
26
25
  region: config?.region ?? invalidProvider("Region is missing"),
27
26
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),