@aws-sdk/client-route-53
Version:
AWS SDK for JavaScript Route 53 Client for Node.js, Browser and React Native
1,464 lines (1,379 loc) • 57.8 kB
JavaScript
'use strict';
var client$1 = require('@aws-sdk/core/client');
var core = require('@smithy/core');
var client = require('@smithy/core/client');
var config = require('@smithy/core/config');
var endpoints = require('@smithy/core/endpoints');
var protocols = require('@smithy/core/protocols');
var retry = require('@smithy/core/retry');
var schema = require('@smithy/core/schema');
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
var runtimeConfig = require('./runtimeConfig');
var middlewareSdkRoute53 = require('@aws-sdk/middleware-sdk-route53');
var schemas_0 = require('./schemas/schemas_0');
var errors = require('./models/errors');
var Route53ServiceException = require('./models/Route53ServiceException');
const resolveClientEndpointParameters = (options) => {
return Object.assign(options, {
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
useFipsEndpoint: options.useFipsEndpoint ?? false,
defaultSigningName: "route53",
});
};
const commonParams = {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
let _credentials = runtimeConfig.credentials;
return {
setHttpAuthScheme(httpAuthScheme) {
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
if (index === -1) {
_httpAuthSchemes.push(httpAuthScheme);
}
else {
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
}
},
httpAuthSchemes() {
return _httpAuthSchemes;
},
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
_httpAuthSchemeProvider = httpAuthSchemeProvider;
},
httpAuthSchemeProvider() {
return _httpAuthSchemeProvider;
},
setCredentials(credentials) {
_credentials = credentials;
},
credentials() {
return _credentials;
},
};
};
const resolveHttpAuthRuntimeConfig = (config) => {
return {
httpAuthSchemes: config.httpAuthSchemes(),
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
credentials: config.credentials(),
};
};
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
extensions.forEach((extension) => extension.configure(extensionConfiguration));
return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
};
class Route53Client extends client.Client {
config;
constructor(...[configuration]) {
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
super(_config_0);
this.initConfig = _config_0;
const _config_1 = resolveClientEndpointParameters(_config_0);
const _config_2 = client$1.resolveUserAgentConfig(_config_1);
const _config_3 = retry.resolveRetryConfig(_config_2);
const _config_4 = config.resolveRegionConfig(_config_3);
const _config_5 = client$1.resolveHostHeaderConfig(_config_4);
const _config_6 = endpoints.resolveEndpointConfig(_config_5);
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
this.config = _config_8;
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));
this.middlewareStack.use(retry.getRetryPlugin(this.config));
this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));
this.middlewareStack.use(client$1.getLoggerPlugin(this.config));
this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultRoute53HttpAuthSchemeParametersProvider,
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
"aws.auth#sigv4": config.credentials,
}),
}));
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
}
destroy() {
super.destroy();
}
}
class ActivateKeySigningKeyCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "ActivateKeySigningKey", {})
.n("Route53Client", "ActivateKeySigningKeyCommand")
.sc(schemas_0.ActivateKeySigningKey$)
.build() {
}
class AssociateVPCWithHostedZoneCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "AssociateVPCWithHostedZone", {})
.n("Route53Client", "AssociateVPCWithHostedZoneCommand")
.sc(schemas_0.AssociateVPCWithHostedZone$)
.build() {
}
class ChangeCidrCollectionCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "ChangeCidrCollection", {})
.n("Route53Client", "ChangeCidrCollectionCommand")
.sc(schemas_0.ChangeCidrCollection$)
.build() {
}
class ChangeResourceRecordSetsCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getChangeResourceRecordSetsPlugin(config),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "ChangeResourceRecordSets", {})
.n("Route53Client", "ChangeResourceRecordSetsCommand")
.sc(schemas_0.ChangeResourceRecordSets$)
.build() {
}
class ChangeTagsForResourceCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "ChangeTagsForResource", {})
.n("Route53Client", "ChangeTagsForResourceCommand")
.sc(schemas_0.ChangeTagsForResource$)
.build() {
}
class CreateCidrCollectionCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "CreateCidrCollection", {})
.n("Route53Client", "CreateCidrCollectionCommand")
.sc(schemas_0.CreateCidrCollection$)
.build() {
}
class CreateHealthCheckCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "CreateHealthCheck", {})
.n("Route53Client", "CreateHealthCheckCommand")
.sc(schemas_0.CreateHealthCheck$)
.build() {
}
class CreateHostedZoneCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "CreateHostedZone", {})
.n("Route53Client", "CreateHostedZoneCommand")
.sc(schemas_0.CreateHostedZone$)
.build() {
}
class CreateKeySigningKeyCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "CreateKeySigningKey", {})
.n("Route53Client", "CreateKeySigningKeyCommand")
.sc(schemas_0.CreateKeySigningKey$)
.build() {
}
class CreateQueryLoggingConfigCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "CreateQueryLoggingConfig", {})
.n("Route53Client", "CreateQueryLoggingConfigCommand")
.sc(schemas_0.CreateQueryLoggingConfig$)
.build() {
}
class CreateReusableDelegationSetCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "CreateReusableDelegationSet", {})
.n("Route53Client", "CreateReusableDelegationSetCommand")
.sc(schemas_0.CreateReusableDelegationSet$)
.build() {
}
class CreateTrafficPolicyCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "CreateTrafficPolicy", {})
.n("Route53Client", "CreateTrafficPolicyCommand")
.sc(schemas_0.CreateTrafficPolicy$)
.build() {
}
class CreateTrafficPolicyInstanceCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "CreateTrafficPolicyInstance", {})
.n("Route53Client", "CreateTrafficPolicyInstanceCommand")
.sc(schemas_0.CreateTrafficPolicyInstance$)
.build() {
}
class CreateTrafficPolicyVersionCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "CreateTrafficPolicyVersion", {})
.n("Route53Client", "CreateTrafficPolicyVersionCommand")
.sc(schemas_0.CreateTrafficPolicyVersion$)
.build() {
}
class CreateVPCAssociationAuthorizationCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "CreateVPCAssociationAuthorization", {})
.n("Route53Client", "CreateVPCAssociationAuthorizationCommand")
.sc(schemas_0.CreateVPCAssociationAuthorization$)
.build() {
}
class DeactivateKeySigningKeyCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "DeactivateKeySigningKey", {})
.n("Route53Client", "DeactivateKeySigningKeyCommand")
.sc(schemas_0.DeactivateKeySigningKey$)
.build() {
}
class DeleteCidrCollectionCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "DeleteCidrCollection", {})
.n("Route53Client", "DeleteCidrCollectionCommand")
.sc(schemas_0.DeleteCidrCollection$)
.build() {
}
class DeleteHealthCheckCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "DeleteHealthCheck", {})
.n("Route53Client", "DeleteHealthCheckCommand")
.sc(schemas_0.DeleteHealthCheck$)
.build() {
}
class DeleteHostedZoneCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "DeleteHostedZone", {})
.n("Route53Client", "DeleteHostedZoneCommand")
.sc(schemas_0.DeleteHostedZone$)
.build() {
}
class DeleteKeySigningKeyCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "DeleteKeySigningKey", {})
.n("Route53Client", "DeleteKeySigningKeyCommand")
.sc(schemas_0.DeleteKeySigningKey$)
.build() {
}
class DeleteQueryLoggingConfigCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "DeleteQueryLoggingConfig", {})
.n("Route53Client", "DeleteQueryLoggingConfigCommand")
.sc(schemas_0.DeleteQueryLoggingConfig$)
.build() {
}
class DeleteReusableDelegationSetCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "DeleteReusableDelegationSet", {})
.n("Route53Client", "DeleteReusableDelegationSetCommand")
.sc(schemas_0.DeleteReusableDelegationSet$)
.build() {
}
class DeleteTrafficPolicyCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "DeleteTrafficPolicy", {})
.n("Route53Client", "DeleteTrafficPolicyCommand")
.sc(schemas_0.DeleteTrafficPolicy$)
.build() {
}
class DeleteTrafficPolicyInstanceCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "DeleteTrafficPolicyInstance", {})
.n("Route53Client", "DeleteTrafficPolicyInstanceCommand")
.sc(schemas_0.DeleteTrafficPolicyInstance$)
.build() {
}
class DeleteVPCAssociationAuthorizationCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "DeleteVPCAssociationAuthorization", {})
.n("Route53Client", "DeleteVPCAssociationAuthorizationCommand")
.sc(schemas_0.DeleteVPCAssociationAuthorization$)
.build() {
}
class DisableHostedZoneDNSSECCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "DisableHostedZoneDNSSEC", {})
.n("Route53Client", "DisableHostedZoneDNSSECCommand")
.sc(schemas_0.DisableHostedZoneDNSSEC$)
.build() {
}
class DisassociateVPCFromHostedZoneCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "DisassociateVPCFromHostedZone", {})
.n("Route53Client", "DisassociateVPCFromHostedZoneCommand")
.sc(schemas_0.DisassociateVPCFromHostedZone$)
.build() {
}
class EnableHostedZoneDNSSECCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "EnableHostedZoneDNSSEC", {})
.n("Route53Client", "EnableHostedZoneDNSSECCommand")
.sc(schemas_0.EnableHostedZoneDNSSEC$)
.build() {
}
class GetAccountLimitCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "GetAccountLimit", {})
.n("Route53Client", "GetAccountLimitCommand")
.sc(schemas_0.GetAccountLimit$)
.build() {
}
class GetChangeCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "GetChange", {})
.n("Route53Client", "GetChangeCommand")
.sc(schemas_0.GetChange$)
.build() {
}
class GetCheckerIpRangesCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "GetCheckerIpRanges", {})
.n("Route53Client", "GetCheckerIpRangesCommand")
.sc(schemas_0.GetCheckerIpRanges$)
.build() {
}
class GetDNSSECCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "GetDNSSEC", {})
.n("Route53Client", "GetDNSSECCommand")
.sc(schemas_0.GetDNSSEC$)
.build() {
}
class GetGeoLocationCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "GetGeoLocation", {})
.n("Route53Client", "GetGeoLocationCommand")
.sc(schemas_0.GetGeoLocation$)
.build() {
}
class GetHealthCheckCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "GetHealthCheck", {})
.n("Route53Client", "GetHealthCheckCommand")
.sc(schemas_0.GetHealthCheck$)
.build() {
}
class GetHealthCheckCountCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "GetHealthCheckCount", {})
.n("Route53Client", "GetHealthCheckCountCommand")
.sc(schemas_0.GetHealthCheckCount$)
.build() {
}
class GetHealthCheckLastFailureReasonCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "GetHealthCheckLastFailureReason", {})
.n("Route53Client", "GetHealthCheckLastFailureReasonCommand")
.sc(schemas_0.GetHealthCheckLastFailureReason$)
.build() {
}
class GetHealthCheckStatusCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "GetHealthCheckStatus", {})
.n("Route53Client", "GetHealthCheckStatusCommand")
.sc(schemas_0.GetHealthCheckStatus$)
.build() {
}
class GetHostedZoneCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "GetHostedZone", {})
.n("Route53Client", "GetHostedZoneCommand")
.sc(schemas_0.GetHostedZone$)
.build() {
}
class GetHostedZoneCountCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "GetHostedZoneCount", {})
.n("Route53Client", "GetHostedZoneCountCommand")
.sc(schemas_0.GetHostedZoneCount$)
.build() {
}
class GetHostedZoneLimitCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "GetHostedZoneLimit", {})
.n("Route53Client", "GetHostedZoneLimitCommand")
.sc(schemas_0.GetHostedZoneLimit$)
.build() {
}
class GetQueryLoggingConfigCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "GetQueryLoggingConfig", {})
.n("Route53Client", "GetQueryLoggingConfigCommand")
.sc(schemas_0.GetQueryLoggingConfig$)
.build() {
}
class GetReusableDelegationSetCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "GetReusableDelegationSet", {})
.n("Route53Client", "GetReusableDelegationSetCommand")
.sc(schemas_0.GetReusableDelegationSet$)
.build() {
}
class GetReusableDelegationSetLimitCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "GetReusableDelegationSetLimit", {})
.n("Route53Client", "GetReusableDelegationSetLimitCommand")
.sc(schemas_0.GetReusableDelegationSetLimit$)
.build() {
}
class GetTrafficPolicyCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "GetTrafficPolicy", {})
.n("Route53Client", "GetTrafficPolicyCommand")
.sc(schemas_0.GetTrafficPolicy$)
.build() {
}
class GetTrafficPolicyInstanceCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "GetTrafficPolicyInstance", {})
.n("Route53Client", "GetTrafficPolicyInstanceCommand")
.sc(schemas_0.GetTrafficPolicyInstance$)
.build() {
}
class GetTrafficPolicyInstanceCountCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "GetTrafficPolicyInstanceCount", {})
.n("Route53Client", "GetTrafficPolicyInstanceCountCommand")
.sc(schemas_0.GetTrafficPolicyInstanceCount$)
.build() {
}
class ListCidrBlocksCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "ListCidrBlocks", {})
.n("Route53Client", "ListCidrBlocksCommand")
.sc(schemas_0.ListCidrBlocks$)
.build() {
}
class ListCidrCollectionsCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "ListCidrCollections", {})
.n("Route53Client", "ListCidrCollectionsCommand")
.sc(schemas_0.ListCidrCollections$)
.build() {
}
class ListCidrLocationsCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "ListCidrLocations", {})
.n("Route53Client", "ListCidrLocationsCommand")
.sc(schemas_0.ListCidrLocations$)
.build() {
}
class ListGeoLocationsCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "ListGeoLocations", {})
.n("Route53Client", "ListGeoLocationsCommand")
.sc(schemas_0.ListGeoLocations$)
.build() {
}
class ListHealthChecksCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "ListHealthChecks", {})
.n("Route53Client", "ListHealthChecksCommand")
.sc(schemas_0.ListHealthChecks$)
.build() {
}
class ListHostedZonesByNameCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "ListHostedZonesByName", {})
.n("Route53Client", "ListHostedZonesByNameCommand")
.sc(schemas_0.ListHostedZonesByName$)
.build() {
}
class ListHostedZonesByVPCCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "ListHostedZonesByVPC", {})
.n("Route53Client", "ListHostedZonesByVPCCommand")
.sc(schemas_0.ListHostedZonesByVPC$)
.build() {
}
class ListHostedZonesCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "ListHostedZones", {})
.n("Route53Client", "ListHostedZonesCommand")
.sc(schemas_0.ListHostedZones$)
.build() {
}
class ListQueryLoggingConfigsCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "ListQueryLoggingConfigs", {})
.n("Route53Client", "ListQueryLoggingConfigsCommand")
.sc(schemas_0.ListQueryLoggingConfigs$)
.build() {
}
class ListResourceRecordSetsCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "ListResourceRecordSets", {})
.n("Route53Client", "ListResourceRecordSetsCommand")
.sc(schemas_0.ListResourceRecordSets$)
.build() {
}
class ListReusableDelegationSetsCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "ListReusableDelegationSets", {})
.n("Route53Client", "ListReusableDelegationSetsCommand")
.sc(schemas_0.ListReusableDelegationSets$)
.build() {
}
class ListTagsForResourceCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "ListTagsForResource", {})
.n("Route53Client", "ListTagsForResourceCommand")
.sc(schemas_0.ListTagsForResource$)
.build() {
}
class ListTagsForResourcesCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "ListTagsForResources", {})
.n("Route53Client", "ListTagsForResourcesCommand")
.sc(schemas_0.ListTagsForResources$)
.build() {
}
class ListTrafficPoliciesCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "ListTrafficPolicies", {})
.n("Route53Client", "ListTrafficPoliciesCommand")
.sc(schemas_0.ListTrafficPolicies$)
.build() {
}
class ListTrafficPolicyInstancesByHostedZoneCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "ListTrafficPolicyInstancesByHostedZone", {})
.n("Route53Client", "ListTrafficPolicyInstancesByHostedZoneCommand")
.sc(schemas_0.ListTrafficPolicyInstancesByHostedZone$)
.build() {
}
class ListTrafficPolicyInstancesByPolicyCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "ListTrafficPolicyInstancesByPolicy", {})
.n("Route53Client", "ListTrafficPolicyInstancesByPolicyCommand")
.sc(schemas_0.ListTrafficPolicyInstancesByPolicy$)
.build() {
}
class ListTrafficPolicyInstancesCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "ListTrafficPolicyInstances", {})
.n("Route53Client", "ListTrafficPolicyInstancesCommand")
.sc(schemas_0.ListTrafficPolicyInstances$)
.build() {
}
class ListTrafficPolicyVersionsCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "ListTrafficPolicyVersions", {})
.n("Route53Client", "ListTrafficPolicyVersionsCommand")
.sc(schemas_0.ListTrafficPolicyVersions$)
.build() {
}
class ListVPCAssociationAuthorizationsCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "ListVPCAssociationAuthorizations", {})
.n("Route53Client", "ListVPCAssociationAuthorizationsCommand")
.sc(schemas_0.ListVPCAssociationAuthorizations$)
.build() {
}
class TestDNSAnswerCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "TestDNSAnswer", {})
.n("Route53Client", "TestDNSAnswerCommand")
.sc(schemas_0.TestDNSAnswer$)
.build() {
}
class UpdateHealthCheckCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSDnsV20130401", "UpdateHealthCheck", {})
.n("Route53Client", "UpdateHealthCheckCommand")
.sc(schemas_0.UpdateHealthCheck$)
.build() {
}
class UpdateHostedZoneCommentCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "UpdateHostedZoneComment", {})
.n("Route53Client", "UpdateHostedZoneCommentCommand")
.sc(schemas_0.UpdateHostedZoneComment$)
.build() {
}
class UpdateHostedZoneFeaturesCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "UpdateHostedZoneFeatures", {})
.n("Route53Client", "UpdateHostedZoneFeaturesCommand")
.sc(schemas_0.UpdateHostedZoneFeatures$)
.build() {
}
class UpdateTrafficPolicyCommentCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "UpdateTrafficPolicyComment", {})
.n("Route53Client", "UpdateTrafficPolicyCommentCommand")
.sc(schemas_0.UpdateTrafficPolicyComment$)
.build() {
}
class UpdateTrafficPolicyInstanceCommand extends client.Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
middlewareSdkRoute53.getIdNormalizerPlugin(config),
];
})
.s("AWSDnsV20130401", "UpdateTrafficPolicyInstance", {})
.n("Route53Client", "UpdateTrafficPolicyInstanceCommand")
.sc(schemas_0.UpdateTrafficPolicyInstance$)
.build() {
}
const paginateListCidrBlocks = core.createPaginator(Route53Client, ListCidrBlocksCommand, "NextToken", "NextToken", "MaxResults");
const paginateListCidrCollections = core.createPaginator(Route53Client, ListCidrCollectionsCommand, "NextToken", "NextToken", "MaxResults");
const paginateListCidrLocations = core.createPaginator(Route53Client, ListCidrLocationsCommand, "NextToken", "NextToken", "MaxResults");
const paginateListHealthChecks = core.createPaginator(Route53Client, ListHealthChecksCommand, "Marker", "NextMarker", "MaxItems");
const paginateListHostedZones = core.createPaginator(Route53Client, ListHostedZonesCommand, "Marker", "NextMarker", "MaxItems");
const paginateListQueryLoggingConfigs = core.createPaginator(Route53Client, ListQueryLoggingConfigsCommand, "NextToken", "NextToken", "MaxResults");
const checkState = async (client$1, input) => {
let reason;
try {
let result = await client$1.send(new GetChangeCommand(input));
reason = result;
try {
const returnComparator = () => {
return result.ChangeInfo.Status;
};
if (returnComparator() === "INSYNC") {
return { state: client.WaiterState.SUCCESS, reason };
}
}
catch (e) { }
}
catch (exception) {
reason = exception;
}
return { state: client.WaiterState.RETRY, reason };
};
const waitForResourceRecordSetsChanged = async (params, input) => {
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
};
const waitUntilResourceRecordSetsChanged = async (params, input) => {
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
return client.checkExceptions(result);
};
const commands = {
ActivateKeySigningKeyCommand,
AssociateVPCWithHostedZoneCommand,
ChangeCidrCollectionCommand,
ChangeResourceRecordSetsCommand,
ChangeTagsForResourceCommand,
CreateCidrCollectionCommand,
CreateHealthCheckCommand,
CreateHostedZoneCommand,
CreateKeySigningKeyCommand,
CreateQueryLoggingConfigCommand,
CreateReusableDelegationSetCommand,
CreateTrafficPolicyCommand,
CreateTrafficPolicyInstanceCommand,
CreateTrafficPolicyVersionCommand,
CreateVPCAssociationAuthorizationCommand,
DeactivateKeySigningKeyCommand,
DeleteCidrCollectionCommand,
DeleteHealthCheckCommand,
DeleteHostedZoneCommand,
DeleteKeySigningKeyCommand,
DeleteQueryLoggingConfigCommand,
DeleteReusableDelegationSetCommand,
DeleteTrafficPolicyCommand,
DeleteTrafficPolicyInstanceCommand,
DeleteVPCAssociationAuthorizationCommand,
DisableHostedZoneDNSSECCommand,
DisassociateVPCFromHostedZoneCommand,
EnableHostedZoneDNSSECCommand,
GetAccountLimitCommand,
GetChangeCommand,
GetCheckerIpRangesCommand,
GetDNSSECCommand,
GetGeoLocationCommand,
GetHealthCheckCommand,
GetHealthCheckCountCommand,
GetHealthCheckLastFailureReasonCommand,
GetHealthCheckStatusCommand,
GetHostedZoneCommand,
GetHostedZoneCountCommand,
GetHostedZoneLimitCommand,
GetQueryLoggingConfigCommand,
GetReusableDelegationSetCommand,
GetReusableDelegationSetLimitCommand,
GetTrafficPolicyCommand,
GetTrafficPolicyInstanceCommand,
GetTrafficPolicyInstanceCountCommand,
ListCidrBlocksCommand,
ListCidrCollectionsCommand,
ListCidrLocationsCommand,
ListGeoLocationsCommand,
ListHealthChecksCommand,
ListHostedZonesCommand,
ListHostedZonesByNameCommand,
ListHostedZonesByVPCCommand,
ListQueryLoggingConfigsCommand,
ListResourceRecordSetsCommand,
ListReusableDelegationSetsCommand,
ListTagsForResourceCommand,
ListTagsForResourcesCommand,
ListTrafficPoliciesCommand,
ListTrafficPolicyInstancesCommand,
ListTrafficPolicyInstancesByHostedZoneCommand,
ListTrafficPolicyInstancesByPolicyCommand,
ListTrafficPolicyVersionsCommand,
ListVPCAssociationAuthorizationsCommand,
TestDNSAnswerCommand,
UpdateHealthCheckCommand,
UpdateHostedZoneCommentCommand,
UpdateHostedZoneFeaturesCommand,
UpdateTrafficPolicyCommentCommand,
UpdateTrafficPolicyInstanceCommand,
};
const paginators = {
paginateListCidrBlocks,
paginateListCidrCollections,
paginateListCidrLocations,
paginateListHealthChecks,
paginateListHostedZones,
paginateListQueryLoggingConfigs,
};
const waiters = {
waitUntilResourceRecordSetsChanged,
};
class Route53 extends Route53Client {
}
client.createAggregatedClient(commands, Route53, { paginators, waiters });
const AcceleratedRecoveryStatus = {
DISABLED: "DISABLED",
DISABLE_FAILED: "DISABLE_FAILED",
DISABLING: "DISABLING",
DISABLING_HOSTED_ZONE_LOCKED: "DISABLING_HOSTED_ZONE_LOCKED",
ENABLED: "ENABLED",
ENABLE_FAILED: "ENABLE_FAILED",
ENABLING: "ENABLING",
ENABLING_HOSTED_ZONE_LOCKED: "ENABLING_HOSTED_ZONE_LOCKED",
};
const AccountLimitType = {
MAX_HEALTH_CHECKS_BY_OWNER: "MAX_HEALTH_CHECKS_BY_OWNER",
MAX_HOSTED_ZONES_BY_OWNER: "MAX_HOSTED_ZONES_BY_OWNER",
MAX_REUSABLE_DELEGATION_SETS_BY_OWNER: "MAX_REUSABLE_DELEGATION_SETS_BY_OWNER",
MAX_TRAFFIC_POLICIES_BY_OWNER: "MAX_TRAFFIC_POLICIES_BY_OWNER",
MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER: "MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER",
};
const ChangeStatus = {
INSYNC: "INSYNC",
PENDING: "PENDING",
};
const CloudWatchRegion = {
af_south_1: "af-south-1",
ap_east_1: "ap-east-1",
ap_east_2: "ap-east-2",
ap_northeast_1: "ap-northeast-1",
ap_northeast_2: "ap-northeast-2",
ap_northeast_3: "ap-northeast-3",
ap_south_1: "ap-south-1",
ap_south_2: "ap-south-2",
ap_southeast_1: "ap-southeast-1",
ap_southeast_2: "ap-southeast-2",
ap_southeast_3: "ap-southeast-3",
ap_southeast_4: "ap-southeast-4",
ap_southeast_5: "ap-southeast-5",
ap_southeast_6: "ap-southeast-6",
ap_southeast_7: "ap-southeast-7",
ca_central_1: "ca-central-1",
ca_west_1: "ca-west-1",
cn_north_1: "cn-north-1",
cn_northwest_1: "cn-northwest-1",
eu_central_1: "eu-central-1",
eu_central_2: "eu-central-2",
eu_isoe_west_1: "eu-isoe-west-1",
eu_north_1: "eu-north-1",
eu_south_1: "eu-south-1",
eu_south_2: "eu-south-2",
eu_west_1: "eu-west-1",
eu_west_2: "eu-west-2",
eu_west_3: "eu-west-3",
eusc_de_east_1: "eusc-de-east-1",
il_central_1: "il-central-1",
me_central_1: "me-central-1",
me_south_1: "me-south-1",
mx_central_1: "mx-central-1",
sa_east_1: "sa-east-1",
us_east_1: "us-east-1",
us_east_2: "us-east-2",
us_gov_east_1: "us-gov-east-1",
us_gov_west_1: "us-gov-west-1",
us_iso_east_1: "us-iso-east-1",
us_iso_west_1: "us-iso-west-1",
us_isob_east_1: "us-isob-east-1",
us_isob_west_1: "us-isob-west-1",
us_isof_east_1: "us-isof-east-1",
us_isof_south_1: "us-isof-south-1",
us_west_1: "us-west-1",
us_west_2: "us-west-2",
};
const VPCRegion = {
af_south_1: "af-south-1",
ap_east_1: "ap-east-1",
ap_east_2: "ap-east-2",
ap_northeast_1: "ap-northeast-1",
ap_northeast_2: "ap-northeast-2",
ap_northeast_3: "ap-northeast-3",
ap_south_1: "ap-south-1",
ap_south_2: "ap-south-2",
ap_southeast_1: "ap-southeast-1",
ap_southeast_2: "ap-southeast-2",
ap_southeast_3: "ap-southeast-3",
ap_southeast_4: "ap-southeast-4",
ap_southeast_5: "ap-southeast-5",
ap_southeast_6: "ap-southeast-6",
ap_southeast_7: "ap-southeast-7",
ca_central_1: "ca-central-1",
ca_west_1: "ca-west-1",
cn_north_1: "cn-north-1",
cn_northwest_1: "cn-northwest-1",
eu_central_1: "eu-central-1",
eu_central_2: "eu-central-2",
eu_isoe_west_1: "eu-isoe-west-1",
eu_north_1: "eu-north-1",
eu_south_1: "eu-south-1",
eu_south_2: "eu-south-2",
eu_west_1: "eu-west-1",
eu_west_2: "eu-west-2",
eu_west_3: "eu-west-3",
eusc_de_east_1: "eusc-de-east-1",
il_central_1: "il-central-1",
me_central_1: "me-central-1",
me_south_1: "me-south-1",
mx_central_1: "mx-central-1",
sa_east_1: "sa-east-1",
us_east_1: "us-east-1",
us_east_2: "us-east-2",
us_gov_east_1: "us-gov-east-1",
us_gov_west_1: "us-gov-west-1",
us_iso_east_1: "us-iso-east-1",
us_iso_west_1: "us-iso-west-1",
us_isob_east_1: "us-isob-east-1",
us_isob_west_1: "us-isob-west-1",
us_isof_east_1: "us-isof-east-1",
us_isof_south_1: "us-isof-south-1",
us_west_1: "us-west-1",
us_west_2: "us-west-2",
};
const CidrCollectionChangeAction = {
DELETE_IF_EXISTS: "DELETE_IF_EXISTS",
PUT: "PUT",
};
const ChangeAction = {
CREATE: "CREATE",
DELETE: "DELETE",
UPSERT: "UPSERT",
};
const ResourceRecordSetFailover = {
PRIMARY: "PRIMARY",
SECONDARY: "SECONDARY",
};
const ResourceRecordSetRegion = {
af_south_1: "af-south-1",
ap_east_1: "ap-east-1",
ap_east_2: "ap-east-2",
ap_northeast_1: "ap-northeast-1",
ap_northeast_2: "ap-northeast-2",
ap_northeast_3: "ap-northeast-3",
ap_south_1: "ap-south-1",
ap_south_2: "ap-south-2",
ap_southeast_1: "ap-southeast-1",
ap_southeast_2: "ap-southeast-2",
ap_southeast_3: "ap-southeast-3",
ap_southeast_4: "ap-southeast-4",
ap_southeast_5: "ap-southeast-5",
ap_southeast_6: "ap-southeast-6",
ap_southeast_7: "ap-southeast-7",
ca_central_1: "ca-central-1",
ca_west_1: "ca-west-1",
cn_north_1: "cn-north-1",
cn_northwest_1: "cn-northwest-1",
eu_central_1: "eu-central-1",
eu_central_2: "eu-central-2",
eu_north_1: "eu-north-1",
eu_south_1: "eu-south-1",
eu_south_2: "eu-south-2",
eu_west_1: "eu-west-1",
eu_west_2: "eu-west-2",
eu_west_3: "eu-west-3",
eusc_de_east_1: "eusc-de-east-1",
il_central_1: "il-central-1",
me_central_1: "me-central-1",
me_south_1: "me-south-1",
mx_central_1: "mx-central-1",
sa_east_1: "sa-east-1",
us_east_1: "us-east-1",
us_east_2: "us-east-2",
us_gov_east_1: "us-gov-east-1",
us_gov_west_1: "us-gov-west-1",
us_west_1: "us-west-1",
us_west_2: "us-west-2",
};
const RRType = {
A: "A",
AAAA: "AAAA",
CAA: "CAA",
CNAME: "CNAME",
DS: "DS",
HTTPS: "HTTPS",
MX: "MX",
NAPTR: "NAPTR",
NS: "NS",
PTR: "PTR",
SOA: "SOA",
SPF: "SPF",
SRV: "SRV",
SSHFP: "SSHFP",
SVCB: "SVCB",
TLSA: "TLSA",
TXT: "TXT",
};
const TagResourceType = {
healthcheck: "healthcheck",
hostedzone: "hostedzone",
};
const InsufficientDataHealthStatus = {
Healthy: "Healthy",
LastKnownStatus: "LastKnownStatus",
Unhealthy: "Unhealthy",
};
const HealthCheckRegion = {
ap_northeast_1: "ap-northeast-1",
ap_southeast_1: "ap-southeast-1",
ap_southeast_2: "ap-southeast-2",
eu_west_1: "eu-west-1",
sa_east_1: "sa-east-1",
us_east_1: "us-east-1",
us_west_1: "us-west-1",
us_west_2: "us-west-2",
};
const HealthCheckType = {
CALCULATED: "CALCULATED",
CLOUDWATCH_METRIC: "CLOUDWATCH_METRIC",
HTTP: "HTTP",
HTTPS: "HTTPS",
HTTPS_STR_MATCH: "HTTPS_STR_MATCH",
HTTP_STR_MATCH: "HTTP_STR_MATCH",
RECOVERY_CONTROL: "RECOVERY_CONTROL",
TCP: "TCP",
};
const ComparisonOperator = {
GreaterThanOrEqualToThreshold: "GreaterThanOrEqualToThreshold",
GreaterThanThreshold: "GreaterThanThreshold",
LessThanOrEqualToThreshold: "LessThanOrEqualToThreshold",
LessThanThreshold: "LessThanThreshold",
};
const Statistic = {
Average: "Average",
Maximum: "Maximum",
Minimum: "Minimum",
SampleCount: "SampleCount",
Sum: "Sum",
};
const HostedZoneLimitType = {
MAX_RRSETS_BY_ZONE: "MAX_RRSETS_BY_ZONE",
MAX_VPCS_ASSOCIATED_BY_ZONE: "MAX_VPCS_ASSOCIATED_BY_ZONE",
};
const ReusableDelegationSetLimitType = {
MAX_ZONES_BY_REUSABLE_DELEGA