@aws-sdk/client-route-53 3.36.0 → 3.36.1
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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/Route53.js +0 -3
- package/dist-cjs/Route53Client.js +0 -8
- package/dist-cjs/commands/ActivateKeySigningKeyCommand.js +0 -25
- package/dist-cjs/commands/AssociateVPCWithHostedZoneCommand.js +0 -34
- package/dist-cjs/commands/ChangeResourceRecordSetsCommand.js +0 -105
- package/dist-cjs/commands/ChangeTagsForResourceCommand.js +0 -27
- package/dist-cjs/commands/CreateHealthCheckCommand.js +0 -57
- package/dist-cjs/commands/CreateHostedZoneCommand.js +0 -56
- package/dist-cjs/commands/CreateKeySigningKeyCommand.js +0 -24
- package/dist-cjs/commands/CreateQueryLoggingConfigCommand.js +0 -140
- package/dist-cjs/commands/CreateReusableDelegationSetCommand.js +0 -74
- package/dist-cjs/commands/CreateTrafficPolicyCommand.js +0 -25
- package/dist-cjs/commands/CreateTrafficPolicyInstanceCommand.js +0 -27
- package/dist-cjs/commands/CreateTrafficPolicyVersionCommand.js +0 -28
- package/dist-cjs/commands/CreateVPCAssociationAuthorizationCommand.js +0 -32
- package/dist-cjs/commands/DeactivateKeySigningKeyCommand.js +0 -25
- package/dist-cjs/commands/DeleteHealthCheckCommand.js +0 -37
- package/dist-cjs/commands/DeleteHostedZoneCommand.js +0 -62
- package/dist-cjs/commands/DeleteKeySigningKeyCommand.js +0 -25
- package/dist-cjs/commands/DeleteQueryLoggingConfigCommand.js +0 -28
- package/dist-cjs/commands/DeleteReusableDelegationSetCommand.js +0 -30
- package/dist-cjs/commands/DeleteTrafficPolicyCommand.js +0 -38
- package/dist-cjs/commands/DeleteTrafficPolicyInstanceCommand.js +0 -27
- package/dist-cjs/commands/DeleteVPCAssociationAuthorizationCommand.js +0 -32
- package/dist-cjs/commands/DisableHostedZoneDNSSECCommand.js +0 -25
- package/dist-cjs/commands/DisassociateVPCFromHostedZoneCommand.js +0 -44
- package/dist-cjs/commands/EnableHostedZoneDNSSECCommand.js +0 -24
- package/dist-cjs/commands/GetAccountLimitCommand.js +0 -33
- package/dist-cjs/commands/GetChangeCommand.js +0 -36
- package/dist-cjs/commands/GetCheckerIpRangesCommand.js +0 -31
- package/dist-cjs/commands/GetDNSSECCommand.js +0 -24
- package/dist-cjs/commands/GetGeoLocationCommand.js +0 -44
- package/dist-cjs/commands/GetHealthCheckCommand.js +0 -24
- package/dist-cjs/commands/GetHealthCheckCountCommand.js +0 -24
- package/dist-cjs/commands/GetHealthCheckLastFailureReasonCommand.js +0 -24
- package/dist-cjs/commands/GetHealthCheckStatusCommand.js +0 -27
- package/dist-cjs/commands/GetHostedZoneCommand.js +0 -24
- package/dist-cjs/commands/GetHostedZoneCountCommand.js +0 -24
- package/dist-cjs/commands/GetHostedZoneLimitCommand.js +0 -28
- package/dist-cjs/commands/GetQueryLoggingConfigCommand.js +0 -29
- package/dist-cjs/commands/GetReusableDelegationSetCommand.js +0 -25
- package/dist-cjs/commands/GetReusableDelegationSetLimitCommand.js +0 -27
- package/dist-cjs/commands/GetTrafficPolicyCommand.js +0 -27
- package/dist-cjs/commands/GetTrafficPolicyInstanceCommand.js +0 -32
- package/dist-cjs/commands/GetTrafficPolicyInstanceCountCommand.js +0 -24
- package/dist-cjs/commands/ListGeoLocationsCommand.js +0 -29
- package/dist-cjs/commands/ListHealthChecksCommand.js +0 -24
- package/dist-cjs/commands/ListHostedZonesByNameCommand.js +0 -68
- package/dist-cjs/commands/ListHostedZonesByVPCCommand.js +0 -36
- package/dist-cjs/commands/ListHostedZonesCommand.js +0 -27
- package/dist-cjs/commands/ListQueryLoggingConfigsCommand.js +0 -31
- package/dist-cjs/commands/ListResourceRecordSetsCommand.js +0 -87
- package/dist-cjs/commands/ListReusableDelegationSetsCommand.js +0 -24
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -27
- package/dist-cjs/commands/ListTagsForResourcesCommand.js +0 -27
- package/dist-cjs/commands/ListTrafficPoliciesCommand.js +0 -30
- package/dist-cjs/commands/ListTrafficPolicyInstancesByHostedZoneCommand.js +0 -31
- package/dist-cjs/commands/ListTrafficPolicyInstancesByPolicyCommand.js +0 -31
- package/dist-cjs/commands/ListTrafficPolicyInstancesCommand.js +0 -30
- package/dist-cjs/commands/ListTrafficPolicyVersionsCommand.js +0 -25
- package/dist-cjs/commands/ListVPCAssociationAuthorizationsCommand.js +0 -27
- package/dist-cjs/commands/TestDNSAnswerCommand.js +0 -26
- package/dist-cjs/commands/UpdateHealthCheckCommand.js +0 -27
- package/dist-cjs/commands/UpdateHostedZoneCommentCommand.js +0 -24
- package/dist-cjs/commands/UpdateTrafficPolicyCommentCommand.js +0 -24
- package/dist-cjs/commands/UpdateTrafficPolicyInstanceCommand.js +0 -39
- package/dist-cjs/models/models_0.js +0 -672
- package/dist-cjs/pagination/ListHealthChecksPaginator.js +0 -10
- package/dist-cjs/pagination/ListHostedZonesPaginator.js +0 -10
- package/dist-cjs/pagination/ListQueryLoggingConfigsPaginator.js +0 -10
- package/dist-cjs/protocols/Aws_restXml.js +0 -2
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/waitForResourceRecordSetsChanged.js +0 -9
- package/dist-types/ts3.4/Route53.d.ts +9 -1083
- package/dist-types/ts3.4/Route53Client.d.ts +24 -89
- package/dist-types/ts3.4/commands/ActivateKeySigningKeyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AssociateVPCWithHostedZoneCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/ChangeResourceRecordSetsCommand.d.ts +2 -101
- package/dist-types/ts3.4/commands/ChangeTagsForResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateHealthCheckCommand.d.ts +2 -53
- package/dist-types/ts3.4/commands/CreateHostedZoneCommand.d.ts +2 -52
- package/dist-types/ts3.4/commands/CreateKeySigningKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateQueryLoggingConfigCommand.d.ts +0 -143
- package/dist-types/ts3.4/commands/CreateReusableDelegationSetCommand.d.ts +2 -70
- package/dist-types/ts3.4/commands/CreateTrafficPolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateTrafficPolicyInstanceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateTrafficPolicyVersionCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/CreateVPCAssociationAuthorizationCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DeactivateKeySigningKeyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteHealthCheckCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/DeleteHostedZoneCommand.d.ts +2 -58
- package/dist-types/ts3.4/commands/DeleteKeySigningKeyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteQueryLoggingConfigCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteReusableDelegationSetCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteTrafficPolicyCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/DeleteTrafficPolicyInstanceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DisableHostedZoneDNSSECCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DisassociateVPCFromHostedZoneCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/EnableHostedZoneDNSSECCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAccountLimitCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/GetChangeCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/GetCheckerIpRangesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/GetDNSSECCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetGeoLocationCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/GetHealthCheckCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetHealthCheckCountCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetHealthCheckLastFailureReasonCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetHealthCheckStatusCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetHostedZoneCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetHostedZoneCountCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetHostedZoneLimitCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetQueryLoggingConfigCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/GetReusableDelegationSetCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetReusableDelegationSetLimitCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetTrafficPolicyCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetTrafficPolicyInstanceCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetTrafficPolicyInstanceCountCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListGeoLocationsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListHealthChecksCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListHostedZonesByNameCommand.d.ts +2 -64
- package/dist-types/ts3.4/commands/ListHostedZonesByVPCCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/ListHostedZonesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListQueryLoggingConfigsCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListResourceRecordSetsCommand.d.ts +2 -83
- package/dist-types/ts3.4/commands/ListReusableDelegationSetsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListTagsForResourcesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListTrafficPoliciesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesByHostedZoneCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesByPolicyCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListTrafficPolicyInstancesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListTrafficPolicyVersionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListVPCAssociationAuthorizationsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/TestDNSAnswerCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateHealthCheckCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UpdateHostedZoneCommentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateTrafficPolicyCommentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateTrafficPolicyInstanceCommand.d.ts +2 -35
- package/dist-types/ts3.4/models/models_0.d.ts +903 -4956
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/waitForResourceRecordSetsChanged.d.ts +2 -9
- package/package.json +3 -3
|
@@ -6,50 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Updates the resource record sets in a specified hosted zone that were created based on the settings in a specified traffic policy version.</p>
|
|
11
|
-
* <p>When you update a traffic policy instance, Amazon Route 53 continues to respond to DNS queries for the root resource record set name
|
|
12
|
-
* (such as example.com) while it replaces one group of resource record sets with another. Route 53 performs the following operations:</p>
|
|
13
|
-
* <ol>
|
|
14
|
-
* <li>
|
|
15
|
-
* <p>Route 53 creates a new group of resource record sets based on the specified traffic policy. This is true regardless of how significant
|
|
16
|
-
* the differences are between the existing resource record sets and the new resource record sets. </p>
|
|
17
|
-
* </li>
|
|
18
|
-
* <li>
|
|
19
|
-
* <p>When all of the new resource record sets have been created, Route 53 starts to respond to DNS queries for the root resource record set name
|
|
20
|
-
* (such as example.com) by using the new resource record sets.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>Route 53 deletes the old group of resource record sets that are associated with the root resource record set name.</p>
|
|
24
|
-
* </li>
|
|
25
|
-
* </ol>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { Route53Client, UpdateTrafficPolicyInstanceCommand } from "@aws-sdk/client-route-53"; // ES Modules import
|
|
30
|
-
* // const { Route53Client, UpdateTrafficPolicyInstanceCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
|
|
31
|
-
* const client = new Route53Client(config);
|
|
32
|
-
* const command = new UpdateTrafficPolicyInstanceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UpdateTrafficPolicyInstanceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UpdateTrafficPolicyInstanceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link Route53ClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
9
|
class UpdateTrafficPolicyInstanceCommand extends smithy_client_1.Command {
|
|
42
|
-
// Start section: command_properties
|
|
43
|
-
// End section: command_properties
|
|
44
10
|
constructor(input) {
|
|
45
|
-
// Start section: command_constructor
|
|
46
11
|
super();
|
|
47
12
|
this.input = input;
|
|
48
|
-
// End section: command_constructor
|
|
49
13
|
}
|
|
50
|
-
/**
|
|
51
|
-
* @internal
|
|
52
|
-
*/
|
|
53
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
54
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
55
16
|
this.middlewareStack.use(middleware_sdk_route53_1.getIdNormalizerPlugin(configuration));
|