@aws-sdk/client-route-53 3.485.0 → 3.490.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.
- package/dist-cjs/Route53Client.js +17 -4
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/protocols/Aws_restXml.js +57 -0
- package/dist-cjs/runtimeConfig.shared.js +10 -0
- package/dist-cjs/runtimeExtensions.js +3 -0
- package/dist-es/Route53Client.js +17 -4
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/protocols/Aws_restXml.js +57 -0
- package/dist-es/runtimeConfig.shared.js +10 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/Route53Client.d.ts +13 -11
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/ChangeResourceRecordSetsCommand.d.ts +9 -0
- package/dist-types/commands/ListResourceRecordSetsCommand.d.ts +9 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +105 -27
- package/dist-types/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/runtimeConfig.d.ts +5 -3
- package/dist-types/runtimeConfig.native.d.ts +6 -4
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/Route53Client.d.ts +11 -9
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +11 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -8
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +15 -15
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
-
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
3
2
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
4
|
-
import { Credentials as __Credentials } from "@aws-sdk/types";
|
|
5
3
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
6
4
|
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
7
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
8
6
|
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
9
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
10
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
11
10
|
import { ActivateKeySigningKeyCommandInput, ActivateKeySigningKeyCommandOutput } from "./commands/ActivateKeySigningKeyCommand";
|
|
12
11
|
import { AssociateVPCWithHostedZoneCommandInput, AssociateVPCWithHostedZoneCommandOutput } from "./commands/AssociateVPCWithHostedZoneCommand";
|
|
13
12
|
import { ChangeCidrCollectionCommandInput, ChangeCidrCollectionCommandOutput } from "./commands/ChangeCidrCollectionCommand";
|
|
@@ -161,20 +160,21 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
161
160
|
* Enables FIPS compatible endpoints.
|
|
162
161
|
*/
|
|
163
162
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
163
|
+
/**
|
|
164
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
165
|
+
* @internal
|
|
166
|
+
*/
|
|
167
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
164
168
|
/**
|
|
165
169
|
* The AWS region to which this client will send requests
|
|
166
170
|
*/
|
|
167
171
|
region?: string | __Provider<string>;
|
|
168
172
|
/**
|
|
169
173
|
* Default credentials provider; Not available in browser runtime.
|
|
174
|
+
* @deprecated
|
|
170
175
|
* @internal
|
|
171
176
|
*/
|
|
172
|
-
credentialDefaultProvider?: (input: any) =>
|
|
173
|
-
/**
|
|
174
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
175
|
-
* @internal
|
|
176
|
-
*/
|
|
177
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
177
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
178
178
|
/**
|
|
179
179
|
* Value for how many times a request will be made at most in case of retry.
|
|
180
180
|
*/
|
|
@@ -201,7 +201,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
201
201
|
/**
|
|
202
202
|
* @public
|
|
203
203
|
*/
|
|
204
|
-
export type Route53ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig &
|
|
204
|
+
export type Route53ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
205
205
|
/**
|
|
206
206
|
* @public
|
|
207
207
|
*
|
|
@@ -212,7 +212,7 @@ export interface Route53ClientConfig extends Route53ClientConfigType {
|
|
|
212
212
|
/**
|
|
213
213
|
* @public
|
|
214
214
|
*/
|
|
215
|
-
export type Route53ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig &
|
|
215
|
+
export type Route53ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
216
216
|
/**
|
|
217
217
|
* @public
|
|
218
218
|
*
|
|
@@ -252,4 +252,6 @@ export declare class Route53Client extends __Client<__HttpHandlerOptions, Servic
|
|
|
252
252
|
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
253
253
|
*/
|
|
254
254
|
destroy(): void;
|
|
255
|
+
private getDefaultHttpAuthSchemeParametersProvider;
|
|
256
|
+
private getIdentityProviderConfigProvider;
|
|
255
257
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import { Route53HttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: Route53HttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): Route53HttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: Route53HttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
|
3
|
+
import { Route53ClientResolvedConfig } from "../Route53Client";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface Route53HttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface Route53HttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<Route53ClientResolvedConfig, HandlerExecutionContext, Route53HttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultRoute53HttpAuthSchemeParametersProvider: (config: Route53ClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<Route53HttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface Route53HttpAuthSchemeProvider extends HttpAuthSchemeProvider<Route53HttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultRoute53HttpAuthSchemeProvider: Route53HttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
/**
|
|
38
|
+
* experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
httpAuthSchemeProvider?: Route53HttpAuthSchemeProvider;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
|
+
/**
|
|
48
|
+
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
|
+
/**
|
|
53
|
+
* experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
readonly httpAuthSchemeProvider: Route53HttpAuthSchemeProvider;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -159,6 +159,15 @@ declare const ChangeResourceRecordSetsCommand_base: {
|
|
|
159
159
|
* CollectionId: "STRING_VALUE", // required
|
|
160
160
|
* LocationName: "STRING_VALUE", // required
|
|
161
161
|
* },
|
|
162
|
+
* GeoProximityLocation: { // GeoProximityLocation
|
|
163
|
+
* AWSRegion: "STRING_VALUE",
|
|
164
|
+
* LocalZoneGroup: "STRING_VALUE",
|
|
165
|
+
* Coordinates: { // Coordinates
|
|
166
|
+
* Latitude: "STRING_VALUE", // required
|
|
167
|
+
* Longitude: "STRING_VALUE", // required
|
|
168
|
+
* },
|
|
169
|
+
* Bias: Number("int"),
|
|
170
|
+
* },
|
|
162
171
|
* },
|
|
163
172
|
* },
|
|
164
173
|
* ],
|
|
@@ -144,6 +144,15 @@ declare const ListResourceRecordSetsCommand_base: {
|
|
|
144
144
|
* // CollectionId: "STRING_VALUE", // required
|
|
145
145
|
* // LocationName: "STRING_VALUE", // required
|
|
146
146
|
* // },
|
|
147
|
+
* // GeoProximityLocation: { // GeoProximityLocation
|
|
148
|
+
* // AWSRegion: "STRING_VALUE",
|
|
149
|
+
* // LocalZoneGroup: "STRING_VALUE",
|
|
150
|
+
* // Coordinates: { // Coordinates
|
|
151
|
+
* // Latitude: "STRING_VALUE", // required
|
|
152
|
+
* // Longitude: "STRING_VALUE", // required
|
|
153
|
+
* // },
|
|
154
|
+
* // Bias: Number("int"),
|
|
155
|
+
* // },
|
|
147
156
|
* // },
|
|
148
157
|
* // ],
|
|
149
158
|
* // IsTruncated: true || false, // required
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
4
5
|
/**
|
|
5
6
|
* @internal
|
|
6
7
|
*/
|
|
7
|
-
export interface Route53ExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
|
|
8
|
+
export interface Route53ExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
8
9
|
}
|
|
@@ -344,10 +344,11 @@ export interface AliasTarget {
|
|
|
344
344
|
* </dd>
|
|
345
345
|
* <dt>Elastic Beanstalk environment</dt>
|
|
346
346
|
* <dd>
|
|
347
|
-
* <p>Specify the hosted zone ID for the region that you created the environment
|
|
348
|
-
*
|
|
349
|
-
*
|
|
350
|
-
* <i>Amazon Web Services
|
|
347
|
+
* <p>Specify the hosted zone ID for the region that you created the environment in. The
|
|
348
|
+
* environment must have a regionalized subdomain. For a list of regions and
|
|
349
|
+
* the corresponding hosted zone IDs, see <a href="https://docs.aws.amazon.com/general/latest/gr/elasticbeanstalk.html">Elastic Beanstalk
|
|
350
|
+
* endpoints and quotas</a> in the <i>Amazon Web Services
|
|
351
|
+
* General Reference</i>.</p>
|
|
351
352
|
* </dd>
|
|
352
353
|
* <dt>ELB load balancer</dt>
|
|
353
354
|
* <dd>
|
|
@@ -959,8 +960,7 @@ export type CidrCollectionChangeAction = (typeof CidrCollectionChangeAction)[key
|
|
|
959
960
|
export interface CidrCollectionChange {
|
|
960
961
|
/**
|
|
961
962
|
* @public
|
|
962
|
-
* <p>Name of the location that is associated with the CIDR
|
|
963
|
-
* collection.</p>
|
|
963
|
+
* <p>Name of the location that is associated with the CIDR collection.</p>
|
|
964
964
|
*/
|
|
965
965
|
LocationName: string | undefined;
|
|
966
966
|
/**
|
|
@@ -1156,7 +1156,8 @@ export interface GeoLocation {
|
|
|
1156
1156
|
* <p>For geolocation resource record sets, the two-letter code for a country.</p>
|
|
1157
1157
|
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
|
|
1158
1158
|
* alpha-2</a>.</p>
|
|
1159
|
-
* <p>Route 53 also supports the
|
|
1159
|
+
* <p>Route 53 also supports the country code <b>UA</b> for
|
|
1160
|
+
* Ukraine.</p>
|
|
1160
1161
|
*/
|
|
1161
1162
|
CountryCode?: string;
|
|
1162
1163
|
/**
|
|
@@ -1170,6 +1171,77 @@ export interface GeoLocation {
|
|
|
1170
1171
|
*/
|
|
1171
1172
|
SubdivisionCode?: string;
|
|
1172
1173
|
}
|
|
1174
|
+
/**
|
|
1175
|
+
* @public
|
|
1176
|
+
* <p>
|
|
1177
|
+
* A complex type that lists the coordinates for a geoproximity resource record.
|
|
1178
|
+
* </p>
|
|
1179
|
+
*/
|
|
1180
|
+
export interface Coordinates {
|
|
1181
|
+
/**
|
|
1182
|
+
* @public
|
|
1183
|
+
* <p> Specifies a coordinate of the north–south position of a geographic point on the surface of
|
|
1184
|
+
* the Earth (-90 - 90). </p>
|
|
1185
|
+
*/
|
|
1186
|
+
Latitude: string | undefined;
|
|
1187
|
+
/**
|
|
1188
|
+
* @public
|
|
1189
|
+
* <p> Specifies a coordinate of the east–west position of a geographic point on the surface of
|
|
1190
|
+
* the Earth (-180 - 180). </p>
|
|
1191
|
+
*/
|
|
1192
|
+
Longitude: string | undefined;
|
|
1193
|
+
}
|
|
1194
|
+
/**
|
|
1195
|
+
* @public
|
|
1196
|
+
* <p> (Resource record sets only): A complex type that lets you control how Amazon Route 53
|
|
1197
|
+
* responds to DNS queries based on the geographic origin of the query and your resources.
|
|
1198
|
+
* Only one of , <code>LocalZoneGroup</code>, <code>Coordinates</code>, or <code>Amazon Web ServicesRegion</code> is allowed per request at a time.</p>
|
|
1199
|
+
* <p>For more information about geoproximity routing, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy-geoproximity.html">Geoproximity routing</a> in the
|
|
1200
|
+
* <i>Amazon Route 53 Developer Guide</i>.</p>
|
|
1201
|
+
*/
|
|
1202
|
+
export interface GeoProximityLocation {
|
|
1203
|
+
/**
|
|
1204
|
+
* @public
|
|
1205
|
+
* <p> The Amazon Web Services Region the resource you are directing DNS traffic to, is in. </p>
|
|
1206
|
+
*/
|
|
1207
|
+
AWSRegion?: string;
|
|
1208
|
+
/**
|
|
1209
|
+
* @public
|
|
1210
|
+
* <p>
|
|
1211
|
+
* Specifies an Amazon Web Services Local Zone Group.
|
|
1212
|
+
* </p>
|
|
1213
|
+
* <p>A local Zone Group is usually the Local Zone code without the ending character. For example,
|
|
1214
|
+
* if the Local Zone is <code>us-east-1-bue-1a</code> the Local Zone Group is <code>us-east-1-bue-1</code>.</p>
|
|
1215
|
+
* <p>You can identify the Local Zones Group for a specific Local Zone by using the <a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-availability-zones.html">describe-availability-zones</a> CLI command:</p>
|
|
1216
|
+
* <p>This command returns: <code>"GroupName": "us-west-2-den-1"</code>, specifying that the Local Zone <code>us-west-2-den-1a</code>
|
|
1217
|
+
* belongs to the Local Zone Group <code>us-west-2-den-1</code>.</p>
|
|
1218
|
+
*/
|
|
1219
|
+
LocalZoneGroup?: string;
|
|
1220
|
+
/**
|
|
1221
|
+
* @public
|
|
1222
|
+
* <p> Contains the longitude and latitude for a geographic region. </p>
|
|
1223
|
+
*/
|
|
1224
|
+
Coordinates?: Coordinates;
|
|
1225
|
+
/**
|
|
1226
|
+
* @public
|
|
1227
|
+
* <p>
|
|
1228
|
+
* The bias increases or decreases the size of the geographic region from which Route 53 routes traffic to a resource.
|
|
1229
|
+
* </p>
|
|
1230
|
+
* <p>To use <code>Bias</code> to change the size of the geographic region, specify the
|
|
1231
|
+
* applicable value for the bias:</p>
|
|
1232
|
+
* <ul>
|
|
1233
|
+
* <li>
|
|
1234
|
+
* <p>To expand the size of the geographic region from which Route 53 routes traffic to a resource, specify a
|
|
1235
|
+
* positive integer from 1 to 99 for the bias. Route 53 shrinks the size of adjacent regions. </p>
|
|
1236
|
+
* </li>
|
|
1237
|
+
* <li>
|
|
1238
|
+
* <p>To shrink the size of the geographic region from which Route 53 routes traffic to a resource, specify a
|
|
1239
|
+
* negative bias of -1 to -99. Route 53 expands the size of adjacent regions. </p>
|
|
1240
|
+
* </li>
|
|
1241
|
+
* </ul>
|
|
1242
|
+
*/
|
|
1243
|
+
Bias?: number;
|
|
1244
|
+
}
|
|
1173
1245
|
/**
|
|
1174
1246
|
* @public
|
|
1175
1247
|
* @enum
|
|
@@ -1490,16 +1562,12 @@ export interface ResourceRecordSet {
|
|
|
1490
1562
|
/**
|
|
1491
1563
|
* @public
|
|
1492
1564
|
* <p>
|
|
1493
|
-
* <i>Geolocation resource record sets only:</i> A complex type that lets
|
|
1494
|
-
*
|
|
1495
|
-
*
|
|
1496
|
-
*
|
|
1497
|
-
*
|
|
1565
|
+
* <i>Geolocation resource record sets only:</i> A complex type that lets you
|
|
1566
|
+
* control how Amazon Route 53 responds to DNS queries based on the geographic origin of
|
|
1567
|
+
* the query. For example, if you want all queries from Africa to be routed to a web server
|
|
1568
|
+
* with an IP address of <code>192.0.2.111</code>, create a resource record set with a
|
|
1569
|
+
* <code>Type</code> of <code>A</code> and a <code>ContinentCode</code> of
|
|
1498
1570
|
* <code>AF</code>.</p>
|
|
1499
|
-
* <note>
|
|
1500
|
-
* <p>Although creating geolocation and geolocation alias resource record sets in a
|
|
1501
|
-
* private hosted zone is allowed, it's not supported.</p>
|
|
1502
|
-
* </note>
|
|
1503
1571
|
* <p>If you create separate resource record sets for overlapping geographic regions (for
|
|
1504
1572
|
* example, one resource record set for a continent and one for a country on the same
|
|
1505
1573
|
* continent), priority goes to the smallest geographic region. This allows you to route
|
|
@@ -1861,6 +1929,14 @@ export interface ResourceRecordSet {
|
|
|
1861
1929
|
* record. <code>CollectionId</code> is still required for default record.</p>
|
|
1862
1930
|
*/
|
|
1863
1931
|
CidrRoutingConfig?: CidrRoutingConfig;
|
|
1932
|
+
/**
|
|
1933
|
+
* @public
|
|
1934
|
+
* <p>
|
|
1935
|
+
* <i> GeoproximityLocation resource record sets only:</i> A complex type that lets you control how
|
|
1936
|
+
* Route 53 responds to DNS queries based on the geographic origin of the
|
|
1937
|
+
* query and your resources. </p>
|
|
1938
|
+
*/
|
|
1939
|
+
GeoProximityLocation?: GeoProximityLocation;
|
|
1864
1940
|
}
|
|
1865
1941
|
/**
|
|
1866
1942
|
* @public
|
|
@@ -2370,11 +2446,10 @@ export interface HealthCheckConfig {
|
|
|
2370
2446
|
* </li>
|
|
2371
2447
|
* <li>
|
|
2372
2448
|
* <p>
|
|
2373
|
-
* <b>RECOVERY_CONTROL</b>: The health check is
|
|
2374
|
-
*
|
|
2375
|
-
*
|
|
2376
|
-
*
|
|
2377
|
-
* unhealthy. </p>
|
|
2449
|
+
* <b>RECOVERY_CONTROL</b>: The health check is associated with a
|
|
2450
|
+
* Route53 Application Recovery Controller routing control. If the routing control
|
|
2451
|
+
* state is <code>ON</code>, the health check is considered healthy. If the state
|
|
2452
|
+
* is <code>OFF</code>, the health check is considered unhealthy. </p>
|
|
2378
2453
|
* </li>
|
|
2379
2454
|
* </ul>
|
|
2380
2455
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html">How Route 53 Determines Whether an Endpoint Is Healthy</a> in the
|
|
@@ -4735,7 +4810,7 @@ export interface GetDNSSECRequest {
|
|
|
4735
4810
|
}
|
|
4736
4811
|
/**
|
|
4737
4812
|
* @public
|
|
4738
|
-
* <p>A string
|
|
4813
|
+
* <p>A string representing the status of DNSSEC signing.</p>
|
|
4739
4814
|
*/
|
|
4740
4815
|
export interface DNSSECStatus {
|
|
4741
4816
|
/**
|
|
@@ -4786,7 +4861,7 @@ export interface DNSSECStatus {
|
|
|
4786
4861
|
export interface GetDNSSECResponse {
|
|
4787
4862
|
/**
|
|
4788
4863
|
* @public
|
|
4789
|
-
* <p>A string
|
|
4864
|
+
* <p>A string representing the status of DNSSEC.</p>
|
|
4790
4865
|
*/
|
|
4791
4866
|
Status: DNSSECStatus | undefined;
|
|
4792
4867
|
/**
|
|
@@ -4841,7 +4916,8 @@ export interface GetGeoLocationRequest {
|
|
|
4841
4916
|
* @public
|
|
4842
4917
|
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
|
|
4843
4918
|
* alpha-2</a>.</p>
|
|
4844
|
-
* <p>Route 53 also supports the
|
|
4919
|
+
* <p>Route 53 also supports the country code <b>UA</b> for
|
|
4920
|
+
* Ukraine.</p>
|
|
4845
4921
|
*/
|
|
4846
4922
|
CountryCode?: string;
|
|
4847
4923
|
/**
|
|
@@ -5662,9 +5738,9 @@ export interface ListGeoLocationsRequest {
|
|
|
5662
5738
|
StartSubdivisionCode?: string;
|
|
5663
5739
|
/**
|
|
5664
5740
|
* @public
|
|
5665
|
-
* <p>(Optional) The maximum number of geolocations to be included in the response body for
|
|
5666
|
-
*
|
|
5667
|
-
*
|
|
5741
|
+
* <p>(Optional) The maximum number of geolocations to be included in the response body for this
|
|
5742
|
+
* request. If more than <code>maxitems</code> geolocations remain to be listed, then the
|
|
5743
|
+
* value of the <code>IsTruncated</code> element in the response is
|
|
5668
5744
|
* <code>true</code>.</p>
|
|
5669
5745
|
*/
|
|
5670
5746
|
MaxItems?: number;
|
|
@@ -7344,6 +7420,8 @@ export interface UpdateHealthCheckRequest {
|
|
|
7344
7420
|
* to the domain that you specify in <code>FullyQualifiedDomainName</code> at the interval
|
|
7345
7421
|
* you specify in <code>RequestInterval</code>. Using an IPv4 address that is returned by
|
|
7346
7422
|
* DNS, Route 53 then checks the health of the endpoint.</p>
|
|
7423
|
+
* <p>If you don't specify a value for <code>IPAddress</code>, you can’t update the health check to remove the <code>FullyQualifiedDomainName</code>; if you don’t specify a value for <code>IPAddress</code> on creation, a
|
|
7424
|
+
* <code>FullyQualifiedDomainName</code> is required.</p>
|
|
7347
7425
|
* <note>
|
|
7348
7426
|
* <p>If you don't specify a value for <code>IPAddress</code>, Route 53 uses only IPv4
|
|
7349
7427
|
* to send health checks to the endpoint. If there's no resource record set with a type
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: Route53ClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -36,11 +36,13 @@ export declare const getRuntimeConfig: (config: Route53ClientConfig) => {
|
|
|
36
36
|
}) => import("@smithy/types").EndpointV2;
|
|
37
37
|
tls?: boolean | undefined;
|
|
38
38
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
39
|
-
|
|
39
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
40
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
41
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").Route53HttpAuthSchemeProvider;
|
|
42
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
40
43
|
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
41
44
|
signingEscapePath?: boolean | undefined;
|
|
42
45
|
systemClockOffset?: number | undefined;
|
|
43
46
|
signingRegion?: string | undefined;
|
|
44
47
|
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
45
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
46
48
|
};
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: Route53ClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -36,11 +36,13 @@ export declare const getRuntimeConfig: (config: Route53ClientConfig) => {
|
|
|
36
36
|
}) => import("@smithy/types").EndpointV2;
|
|
37
37
|
tls?: boolean | undefined;
|
|
38
38
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
39
|
-
|
|
39
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
40
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
41
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").Route53HttpAuthSchemeProvider;
|
|
42
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
40
43
|
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
41
44
|
signingEscapePath?: boolean | undefined;
|
|
42
45
|
systemClockOffset?: number | undefined;
|
|
43
46
|
signingRegion?: string | undefined;
|
|
44
47
|
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
45
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
46
48
|
};
|
|
@@ -21,9 +21,9 @@ export declare const getRuntimeConfig: (config: Route53ClientConfig) => {
|
|
|
21
21
|
serviceId: string;
|
|
22
22
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
23
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
|
-
region: string | import("@smithy/types").Provider<any>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
24
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
25
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
26
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
27
27
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
28
28
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
29
29
|
logger: import("@smithy/types").Logger;
|
|
@@ -35,11 +35,13 @@ export declare const getRuntimeConfig: (config: Route53ClientConfig) => {
|
|
|
35
35
|
}) => import("@smithy/types").EndpointV2;
|
|
36
36
|
tls?: boolean | undefined;
|
|
37
37
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
38
|
-
|
|
38
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
39
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
40
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").Route53HttpAuthSchemeProvider;
|
|
41
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
39
42
|
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
40
43
|
signingEscapePath?: boolean | undefined;
|
|
41
44
|
systemClockOffset?: number | undefined;
|
|
42
45
|
signingRegion?: string | undefined;
|
|
43
46
|
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
44
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
45
47
|
};
|
|
@@ -11,6 +11,8 @@ export declare const getRuntimeConfig: (config: Route53ClientConfig) => {
|
|
|
11
11
|
logger?: import("@smithy/types").Logger | undefined;
|
|
12
12
|
}) => import("@smithy/types").EndpointV2;
|
|
13
13
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
14
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").Route53HttpAuthSchemeProvider;
|
|
15
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
14
16
|
logger: import("@smithy/types").Logger;
|
|
15
17
|
serviceId: string;
|
|
16
18
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -2,15 +2,10 @@ import {
|
|
|
2
2
|
HostHeaderInputConfig,
|
|
3
3
|
HostHeaderResolvedConfig,
|
|
4
4
|
} from "@aws-sdk/middleware-host-header";
|
|
5
|
-
import {
|
|
6
|
-
AwsAuthInputConfig,
|
|
7
|
-
AwsAuthResolvedConfig,
|
|
8
|
-
} from "@aws-sdk/middleware-signing";
|
|
9
5
|
import {
|
|
10
6
|
UserAgentInputConfig,
|
|
11
7
|
UserAgentResolvedConfig,
|
|
12
8
|
} from "@aws-sdk/middleware-user-agent";
|
|
13
|
-
import { Credentials as __Credentials } from "@aws-sdk/types";
|
|
14
9
|
import {
|
|
15
10
|
RegionInputConfig,
|
|
16
11
|
RegionResolvedConfig,
|
|
@@ -31,6 +26,7 @@ import {
|
|
|
31
26
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
32
27
|
} from "@smithy/smithy-client";
|
|
33
28
|
import {
|
|
29
|
+
AwsCredentialIdentityProvider,
|
|
34
30
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
35
31
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
36
32
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -45,6 +41,10 @@ import {
|
|
|
45
41
|
UrlParser as __UrlParser,
|
|
46
42
|
UserAgent as __UserAgent,
|
|
47
43
|
} from "@smithy/types";
|
|
44
|
+
import {
|
|
45
|
+
HttpAuthSchemeInputConfig,
|
|
46
|
+
HttpAuthSchemeResolvedConfig,
|
|
47
|
+
} from "./auth/httpAuthSchemeProvider";
|
|
48
48
|
import {
|
|
49
49
|
ActivateKeySigningKeyCommandInput,
|
|
50
50
|
ActivateKeySigningKeyCommandOutput,
|
|
@@ -490,9 +490,9 @@ export interface ClientDefaults
|
|
|
490
490
|
serviceId?: string;
|
|
491
491
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
492
492
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
493
|
-
region?: string | __Provider<string>;
|
|
494
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
495
493
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
494
|
+
region?: string | __Provider<string>;
|
|
495
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
496
496
|
maxAttempts?: number | __Provider<number>;
|
|
497
497
|
retryMode?: string | __Provider<string>;
|
|
498
498
|
logger?: __Logger;
|
|
@@ -507,8 +507,8 @@ export type Route53ClientConfigType = Partial<
|
|
|
507
507
|
EndpointInputConfig<EndpointParameters> &
|
|
508
508
|
RetryInputConfig &
|
|
509
509
|
HostHeaderInputConfig &
|
|
510
|
-
AwsAuthInputConfig &
|
|
511
510
|
UserAgentInputConfig &
|
|
511
|
+
HttpAuthSchemeInputConfig &
|
|
512
512
|
ClientInputEndpointParameters;
|
|
513
513
|
export interface Route53ClientConfig extends Route53ClientConfigType {}
|
|
514
514
|
export type Route53ClientResolvedConfigType =
|
|
@@ -519,8 +519,8 @@ export type Route53ClientResolvedConfigType =
|
|
|
519
519
|
EndpointResolvedConfig<EndpointParameters> &
|
|
520
520
|
RetryResolvedConfig &
|
|
521
521
|
HostHeaderResolvedConfig &
|
|
522
|
-
AwsAuthResolvedConfig &
|
|
523
522
|
UserAgentResolvedConfig &
|
|
523
|
+
HttpAuthSchemeResolvedConfig &
|
|
524
524
|
ClientResolvedEndpointParameters;
|
|
525
525
|
export interface Route53ClientResolvedConfig
|
|
526
526
|
extends Route53ClientResolvedConfigType {}
|
|
@@ -535,4 +535,6 @@ export declare class Route53Client extends __Client<
|
|
|
535
535
|
...[configuration]: __CheckOptionalClientConfig<Route53ClientConfig>
|
|
536
536
|
);
|
|
537
537
|
destroy(): void;
|
|
538
|
+
private getDefaultHttpAuthSchemeParametersProvider;
|
|
539
|
+
private getIdentityProviderConfigProvider;
|
|
538
540
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsCredentialIdentity,
|
|
3
|
+
AwsCredentialIdentityProvider,
|
|
4
|
+
HttpAuthScheme,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import { Route53HttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(
|
|
11
|
+
httpAuthSchemeProvider: Route53HttpAuthSchemeProvider
|
|
12
|
+
): void;
|
|
13
|
+
httpAuthSchemeProvider(): Route53HttpAuthSchemeProvider;
|
|
14
|
+
setCredentials(
|
|
15
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
|
|
16
|
+
): void;
|
|
17
|
+
credentials():
|
|
18
|
+
| AwsCredentialIdentity
|
|
19
|
+
| AwsCredentialIdentityProvider
|
|
20
|
+
| undefined;
|
|
21
|
+
}
|
|
22
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
24
|
+
httpAuthSchemeProvider: Route53HttpAuthSchemeProvider;
|
|
25
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
+
runtimeConfig: HttpAuthRuntimeConfig
|
|
29
|
+
) => HttpAuthExtensionConfiguration;
|
|
30
|
+
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
+
config: HttpAuthExtensionConfiguration
|
|
32
|
+
) => HttpAuthRuntimeConfig;
|