@aws-sdk/client-route-53 3.204.0 → 3.208.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.
@@ -193,8 +193,23 @@ declare type Route53ClientResolvedConfigType = __SmithyResolvedConfiguration<__H
193
193
  export interface Route53ClientResolvedConfig extends Route53ClientResolvedConfigType {
194
194
  }
195
195
  /**
196
- * <p>Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web
196
+ * <p>Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web
197
197
  * service.</p>
198
+ * <p>You can use Route 53 to:</p>
199
+ * <ul>
200
+ * <li>
201
+ * <p>Register domain names.</p>
202
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/welcome-domain-registration.html">How domain registration works</a>.</p>
203
+ * </li>
204
+ * <li>
205
+ * <p>Route internet traffic to the resources for your domain</p>
206
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/welcome-dns-service.html">How internet traffic is routed to your website or web application</a>.</p>
207
+ * </li>
208
+ * <li>
209
+ * <p>Check the health of your resources.</p>
210
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/welcome-health-checks.html">How Route 53 checks the health of your resources</a>.</p>
211
+ * </li>
212
+ * </ul>
198
213
  */
199
214
  export declare class Route53Client extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, Route53ClientResolvedConfig> {
200
215
  /**
@@ -16,9 +16,8 @@ export interface ChangeCidrCollectionCommandOutput extends ChangeCidrCollectionR
16
16
  * <p>
17
17
  * <b>Limits</b>
18
18
  * </p>
19
- * <p>The max number of CIDR blocks included in the request is
20
- * 1000.
21
- * As a result, big updates require multiple API calls.</p>
19
+ * <p>The max number of CIDR blocks included in the request is 1000. As a result, big updates
20
+ * require multiple API calls.</p>
22
21
  * <p>
23
22
  * <b> PUT and DELETE_IF_EXISTS</b>
24
23
  * </p>
@@ -8,9 +8,7 @@ export interface CreateCidrCollectionCommandInput extends CreateCidrCollectionRe
8
8
  export interface CreateCidrCollectionCommandOutput extends CreateCidrCollectionResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Creates a CIDR collection in the
12
- * current
13
- * Amazon Web Services account.</p>
11
+ * <p>Creates a CIDR collection in the current Amazon Web Services account.</p>
14
12
  * @example
15
13
  * Use a bare-bones client and the command you need to make an API call.
16
14
  * ```javascript
@@ -1,6 +1,12 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { Route53ServiceException as __BaseException } from "./Route53ServiceException";
3
- export declare type AccountLimitType = "MAX_HEALTH_CHECKS_BY_OWNER" | "MAX_HOSTED_ZONES_BY_OWNER" | "MAX_REUSABLE_DELEGATION_SETS_BY_OWNER" | "MAX_TRAFFIC_POLICIES_BY_OWNER" | "MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER";
3
+ export declare enum AccountLimitType {
4
+ MAX_HEALTH_CHECKS_BY_OWNER = "MAX_HEALTH_CHECKS_BY_OWNER",
5
+ MAX_HOSTED_ZONES_BY_OWNER = "MAX_HOSTED_ZONES_BY_OWNER",
6
+ MAX_REUSABLE_DELEGATION_SETS_BY_OWNER = "MAX_REUSABLE_DELEGATION_SETS_BY_OWNER",
7
+ MAX_TRAFFIC_POLICIES_BY_OWNER = "MAX_TRAFFIC_POLICIES_BY_OWNER",
8
+ MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER = "MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER"
9
+ }
4
10
  /**
5
11
  * <p>A complex type that contains the type of limit that you specified in the request and
6
12
  * the current value for that limit.</p>
@@ -57,7 +63,10 @@ export interface ActivateKeySigningKeyRequest {
57
63
  */
58
64
  Name: string | undefined;
59
65
  }
60
- export declare type ChangeStatus = "INSYNC" | "PENDING";
66
+ export declare enum ChangeStatus {
67
+ INSYNC = "INSYNC",
68
+ PENDING = "PENDING"
69
+ }
61
70
  /**
62
71
  * <p>A complex type that describes change information about changes made to your hosted
63
72
  * zone.</p>
@@ -161,7 +170,39 @@ export declare class NoSuchKeySigningKey extends __BaseException {
161
170
  */
162
171
  constructor(opts: __ExceptionOptionType<NoSuchKeySigningKey, __BaseException>);
163
172
  }
164
- export declare type CloudWatchRegion = "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "eu-central-1" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "me-central-1" | "me-south-1" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-iso-east-1" | "us-iso-west-1" | "us-isob-east-1" | "us-west-1" | "us-west-2";
173
+ export declare enum CloudWatchRegion {
174
+ af_south_1 = "af-south-1",
175
+ ap_east_1 = "ap-east-1",
176
+ ap_northeast_1 = "ap-northeast-1",
177
+ ap_northeast_2 = "ap-northeast-2",
178
+ ap_northeast_3 = "ap-northeast-3",
179
+ ap_south_1 = "ap-south-1",
180
+ ap_southeast_1 = "ap-southeast-1",
181
+ ap_southeast_2 = "ap-southeast-2",
182
+ ap_southeast_3 = "ap-southeast-3",
183
+ ca_central_1 = "ca-central-1",
184
+ cn_north_1 = "cn-north-1",
185
+ cn_northwest_1 = "cn-northwest-1",
186
+ eu_central_1 = "eu-central-1",
187
+ eu_central_2 = "eu-central-2",
188
+ eu_north_1 = "eu-north-1",
189
+ eu_south_1 = "eu-south-1",
190
+ eu_west_1 = "eu-west-1",
191
+ eu_west_2 = "eu-west-2",
192
+ eu_west_3 = "eu-west-3",
193
+ me_central_1 = "me-central-1",
194
+ me_south_1 = "me-south-1",
195
+ sa_east_1 = "sa-east-1",
196
+ us_east_1 = "us-east-1",
197
+ us_east_2 = "us-east-2",
198
+ us_gov_east_1 = "us-gov-east-1",
199
+ us_gov_west_1 = "us-gov-west-1",
200
+ us_iso_east_1 = "us-iso-east-1",
201
+ us_iso_west_1 = "us-iso-west-1",
202
+ us_isob_east_1 = "us-isob-east-1",
203
+ us_west_1 = "us-west-1",
204
+ us_west_2 = "us-west-2"
205
+ }
165
206
  /**
166
207
  * <p>A complex type that identifies the CloudWatch alarm that you want Amazon Route 53
167
208
  * health checkers to use to determine whether the specified health check is
@@ -619,7 +660,38 @@ export interface AliasTarget {
619
660
  */
620
661
  EvaluateTargetHealth: boolean | undefined;
621
662
  }
622
- export declare type VPCRegion = "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ca-central-1" | "cn-north-1" | "eu-central-1" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "me-central-1" | "me-south-1" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-iso-east-1" | "us-iso-west-1" | "us-isob-east-1" | "us-west-1" | "us-west-2";
663
+ export declare enum VPCRegion {
664
+ af_south_1 = "af-south-1",
665
+ ap_east_1 = "ap-east-1",
666
+ ap_northeast_1 = "ap-northeast-1",
667
+ ap_northeast_2 = "ap-northeast-2",
668
+ ap_northeast_3 = "ap-northeast-3",
669
+ ap_south_1 = "ap-south-1",
670
+ ap_southeast_1 = "ap-southeast-1",
671
+ ap_southeast_2 = "ap-southeast-2",
672
+ ap_southeast_3 = "ap-southeast-3",
673
+ ca_central_1 = "ca-central-1",
674
+ cn_north_1 = "cn-north-1",
675
+ eu_central_1 = "eu-central-1",
676
+ eu_central_2 = "eu-central-2",
677
+ eu_north_1 = "eu-north-1",
678
+ eu_south_1 = "eu-south-1",
679
+ eu_west_1 = "eu-west-1",
680
+ eu_west_2 = "eu-west-2",
681
+ eu_west_3 = "eu-west-3",
682
+ me_central_1 = "me-central-1",
683
+ me_south_1 = "me-south-1",
684
+ sa_east_1 = "sa-east-1",
685
+ us_east_1 = "us-east-1",
686
+ us_east_2 = "us-east-2",
687
+ us_gov_east_1 = "us-gov-east-1",
688
+ us_gov_west_1 = "us-gov-west-1",
689
+ us_iso_east_1 = "us-iso-east-1",
690
+ us_iso_west_1 = "us-iso-west-1",
691
+ us_isob_east_1 = "us-isob-east-1",
692
+ us_west_1 = "us-west-1",
693
+ us_west_2 = "us-west-2"
694
+ }
623
695
  /**
624
696
  * <p>(Private hosted zones only) A complex type that contains information about an Amazon VPC.</p>
625
697
  * <p>If you associate a private hosted zone with an Amazon VPC when you make a
@@ -879,7 +951,11 @@ export declare class NoSuchCidrCollectionException extends __BaseException {
879
951
  */
880
952
  constructor(opts: __ExceptionOptionType<NoSuchCidrCollectionException, __BaseException>);
881
953
  }
882
- export declare type ChangeAction = "CREATE" | "DELETE" | "UPSERT";
954
+ export declare enum ChangeAction {
955
+ CREATE = "CREATE",
956
+ DELETE = "DELETE",
957
+ UPSERT = "UPSERT"
958
+ }
883
959
  /**
884
960
  * <p>The object that is specified in resource record set object when you are linking a
885
961
  * resource record set to a CIDR location.</p>
@@ -896,7 +972,10 @@ export interface CidrRoutingConfig {
896
972
  */
897
973
  LocationName: string | undefined;
898
974
  }
899
- export declare type ResourceRecordSetFailover = "PRIMARY" | "SECONDARY";
975
+ export declare enum ResourceRecordSetFailover {
976
+ PRIMARY = "PRIMARY",
977
+ SECONDARY = "SECONDARY"
978
+ }
900
979
  /**
901
980
  * <p>A complex type that contains information about a geographic location.</p>
902
981
  */
@@ -954,7 +1033,34 @@ export interface GeoLocation {
954
1033
  */
955
1034
  SubdivisionCode?: string;
956
1035
  }
957
- export declare type ResourceRecordSetRegion = "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "eu-central-1" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "me-south-1" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2";
1036
+ export declare enum ResourceRecordSetRegion {
1037
+ af_south_1 = "af-south-1",
1038
+ ap_east_1 = "ap-east-1",
1039
+ ap_northeast_1 = "ap-northeast-1",
1040
+ ap_northeast_2 = "ap-northeast-2",
1041
+ ap_northeast_3 = "ap-northeast-3",
1042
+ ap_south_1 = "ap-south-1",
1043
+ ap_southeast_1 = "ap-southeast-1",
1044
+ ap_southeast_2 = "ap-southeast-2",
1045
+ ap_southeast_3 = "ap-southeast-3",
1046
+ ca_central_1 = "ca-central-1",
1047
+ cn_north_1 = "cn-north-1",
1048
+ cn_northwest_1 = "cn-northwest-1",
1049
+ eu_central_1 = "eu-central-1",
1050
+ eu_central_2 = "eu-central-2",
1051
+ eu_north_1 = "eu-north-1",
1052
+ eu_south_1 = "eu-south-1",
1053
+ eu_west_1 = "eu-west-1",
1054
+ eu_west_2 = "eu-west-2",
1055
+ eu_west_3 = "eu-west-3",
1056
+ me_central_1 = "me-central-1",
1057
+ me_south_1 = "me-south-1",
1058
+ sa_east_1 = "sa-east-1",
1059
+ us_east_1 = "us-east-1",
1060
+ us_east_2 = "us-east-2",
1061
+ us_west_1 = "us-west-1",
1062
+ us_west_2 = "us-west-2"
1063
+ }
958
1064
  /**
959
1065
  * <p>Information specific to the resource record.</p>
960
1066
  * <note>
@@ -978,7 +1084,21 @@ export interface ResourceRecord {
978
1084
  */
979
1085
  Value: string | undefined;
980
1086
  }
981
- export declare type RRType = "A" | "AAAA" | "CAA" | "CNAME" | "DS" | "MX" | "NAPTR" | "NS" | "PTR" | "SOA" | "SPF" | "SRV" | "TXT";
1087
+ export declare enum RRType {
1088
+ A = "A",
1089
+ AAAA = "AAAA",
1090
+ CAA = "CAA",
1091
+ CNAME = "CNAME",
1092
+ DS = "DS",
1093
+ MX = "MX",
1094
+ NAPTR = "NAPTR",
1095
+ NS = "NS",
1096
+ PTR = "PTR",
1097
+ SOA = "SOA",
1098
+ SPF = "SPF",
1099
+ SRV = "SRV",
1100
+ TXT = "TXT"
1101
+ }
982
1102
  /**
983
1103
  * <p>Information about the resource record set to create or delete.</p>
984
1104
  */
@@ -1177,10 +1297,7 @@ export interface ResourceRecordSet {
1177
1297
  * typically is an Amazon Web Services resource, such as an EC2 instance or an ELB load
1178
1298
  * balancer, and is referred to by an IP address or a DNS domain name, depending on the
1179
1299
  * record type.</p>
1180
- * <note>
1181
- * <p>Although creating latency and latency alias resource record sets in a private
1182
- * hosted zone is allowed, it's not supported.</p>
1183
- * </note>
1300
+ *
1184
1301
  * <p>When Amazon Route 53 receives a DNS query for a domain name and type for which you
1185
1302
  * have created latency resource record sets, Route 53 selects the latency resource record
1186
1303
  * set that has the lowest latency between the end user and the associated Amazon EC2
@@ -1734,7 +1851,10 @@ export interface Tag {
1734
1851
  */
1735
1852
  Value?: string;
1736
1853
  }
1737
- export declare type TagResourceType = "healthcheck" | "hostedzone";
1854
+ export declare enum TagResourceType {
1855
+ healthcheck = "healthcheck",
1856
+ hostedzone = "hostedzone"
1857
+ }
1738
1858
  /**
1739
1859
  * <p>A complex type that contains information about the tags that you want to add, edit, or
1740
1860
  * delete.</p>
@@ -1846,8 +1966,21 @@ export interface CreateCidrCollectionResponse {
1846
1966
  */
1847
1967
  Location?: string;
1848
1968
  }
1849
- export declare type InsufficientDataHealthStatus = "Healthy" | "LastKnownStatus" | "Unhealthy";
1850
- export declare type HealthCheckRegion = "ap-northeast-1" | "ap-southeast-1" | "ap-southeast-2" | "eu-west-1" | "sa-east-1" | "us-east-1" | "us-west-1" | "us-west-2";
1969
+ export declare enum InsufficientDataHealthStatus {
1970
+ Healthy = "Healthy",
1971
+ LastKnownStatus = "LastKnownStatus",
1972
+ Unhealthy = "Unhealthy"
1973
+ }
1974
+ export declare enum HealthCheckRegion {
1975
+ ap_northeast_1 = "ap-northeast-1",
1976
+ ap_southeast_1 = "ap-southeast-1",
1977
+ ap_southeast_2 = "ap-southeast-2",
1978
+ eu_west_1 = "eu-west-1",
1979
+ sa_east_1 = "sa-east-1",
1980
+ us_east_1 = "us-east-1",
1981
+ us_west_1 = "us-west-1",
1982
+ us_west_2 = "us-west-2"
1983
+ }
1851
1984
  export declare enum HealthCheckType {
1852
1985
  CALCULATED = "CALCULATED",
1853
1986
  CLOUDWATCH_METRIC = "CLOUDWATCH_METRIC",
@@ -2292,7 +2425,12 @@ export interface CreateHealthCheckRequest {
2292
2425
  */
2293
2426
  HealthCheckConfig: HealthCheckConfig | undefined;
2294
2427
  }
2295
- export declare type ComparisonOperator = "GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanOrEqualToThreshold" | "LessThanThreshold";
2428
+ export declare enum ComparisonOperator {
2429
+ GreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold",
2430
+ GreaterThanThreshold = "GreaterThanThreshold",
2431
+ LessThanOrEqualToThreshold = "LessThanOrEqualToThreshold",
2432
+ LessThanThreshold = "LessThanThreshold"
2433
+ }
2296
2434
  /**
2297
2435
  * <p>For the metric that the CloudWatch alarm is associated with, a complex type that
2298
2436
  * contains information about one dimension.</p>
@@ -2309,7 +2447,13 @@ export interface Dimension {
2309
2447
  */
2310
2448
  Value: string | undefined;
2311
2449
  }
2312
- export declare type Statistic = "Average" | "Maximum" | "Minimum" | "SampleCount" | "Sum";
2450
+ export declare enum Statistic {
2451
+ Average = "Average",
2452
+ Maximum = "Maximum",
2453
+ Minimum = "Minimum",
2454
+ SampleCount = "SampleCount",
2455
+ Sum = "Sum"
2456
+ }
2313
2457
  /**
2314
2458
  * <p>A complex type that contains information about the CloudWatch alarm that Amazon Route
2315
2459
  * 53 is monitoring for this health check.</p>
@@ -3062,6 +3206,11 @@ export interface CreateQueryLoggingConfigResponse {
3062
3206
  * be used with the log group associated with query log. Update or provide a
3063
3207
  * resource policy to grant permissions for the KMS key.</p>
3064
3208
  * </li>
3209
+ * <li>
3210
+ * <p>The Key management service (KMS) key you specified is marked as
3211
+ * disabled for the log group associated with query log. Update or provide
3212
+ * a resource policy to grant permissions for the KMS key.</p>
3213
+ * </li>
3065
3214
  * </ul>
3066
3215
  */
3067
3216
  export declare class InsufficientCloudWatchLogsResourcePolicy extends __BaseException {
@@ -4371,7 +4520,10 @@ export interface GetHostedZoneCountResponse {
4371
4520
  */
4372
4521
  HostedZoneCount: number | undefined;
4373
4522
  }
4374
- export declare type HostedZoneLimitType = "MAX_RRSETS_BY_ZONE" | "MAX_VPCS_ASSOCIATED_BY_ZONE";
4523
+ export declare enum HostedZoneLimitType {
4524
+ MAX_RRSETS_BY_ZONE = "MAX_RRSETS_BY_ZONE",
4525
+ MAX_VPCS_ASSOCIATED_BY_ZONE = "MAX_VPCS_ASSOCIATED_BY_ZONE"
4526
+ }
4375
4527
  /**
4376
4528
  * <p>A complex type that contains information about the request to create a hosted
4377
4529
  * zone.</p>
@@ -4490,7 +4642,9 @@ export interface GetReusableDelegationSetResponse {
4490
4642
  */
4491
4643
  DelegationSet: DelegationSet | undefined;
4492
4644
  }
4493
- export declare type ReusableDelegationSetLimitType = "MAX_ZONES_BY_REUSABLE_DELEGATION_SET";
4645
+ export declare enum ReusableDelegationSetLimitType {
4646
+ MAX_ZONES_BY_REUSABLE_DELEGATION_SET = "MAX_ZONES_BY_REUSABLE_DELEGATION_SET"
4647
+ }
4494
4648
  /**
4495
4649
  * <p>A complex type that contains information about the request to create a hosted
4496
4650
  * zone.</p>
@@ -4728,8 +4882,8 @@ export interface LocationSummary {
4728
4882
  }
4729
4883
  export interface ListCidrLocationsResponse {
4730
4884
  /**
4731
- * <p>An opaque
4732
- * pagination token to indicate where the service is to begin enumerating results.</p>
4885
+ * <p>An opaque pagination token to indicate where the service is to begin enumerating
4886
+ * results.</p>
4733
4887
  * <p>If no value is provided, the listing of results starts from the beginning.</p>
4734
4888
  */
4735
4889
  NextToken?: string;
@@ -6053,7 +6207,12 @@ export declare class HealthCheckVersionMismatch extends __BaseException {
6053
6207
  */
6054
6208
  constructor(opts: __ExceptionOptionType<HealthCheckVersionMismatch, __BaseException>);
6055
6209
  }
6056
- export declare type ResettableElementName = "ChildHealthChecks" | "FullyQualifiedDomainName" | "Regions" | "ResourcePath";
6210
+ export declare enum ResettableElementName {
6211
+ ChildHealthChecks = "ChildHealthChecks",
6212
+ FullyQualifiedDomainName = "FullyQualifiedDomainName",
6213
+ Regions = "Regions",
6214
+ ResourcePath = "ResourcePath"
6215
+ }
6057
6216
  /**
6058
6217
  * <p>A complex type that contains information about a request to update a health
6059
6218
  * check.</p>