@mavogel/awscdk-rootmail 0.1.54 → 0.1.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/.jsii +7 -7
  2. package/API.md +4 -0
  3. package/lib/rootmail.js +1 -1
  4. package/lib/ses-receive.js +1 -1
  5. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +1 -1
  6. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +1 -1
  7. package/node_modules/@aws-sdk/client-route-53/README.md +35 -0
  8. package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +368 -11
  9. package/node_modules/@aws-sdk/client-route-53/dist-es/Route53.js +18 -0
  10. package/node_modules/@aws-sdk/client-route-53/dist-es/commands/CreateHealthCheckSourceCommand.js +4 -0
  11. package/node_modules/@aws-sdk/client-route-53/dist-es/commands/DeleteHealthCheckSourceCommand.js +4 -0
  12. package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetHealthCheckSourceCommand.js +4 -0
  13. package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListHealthCheckSourcesCommand.js +4 -0
  14. package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListHealthChecksBySourceCommand.js +4 -0
  15. package/node_modules/@aws-sdk/client-route-53/dist-es/commands/index.js +5 -0
  16. package/node_modules/@aws-sdk/client-route-53/dist-es/models/enums.js +25 -0
  17. package/node_modules/@aws-sdk/client-route-53/dist-es/models/errors.js +39 -0
  18. package/node_modules/@aws-sdk/client-route-53/dist-es/pagination/ListHealthCheckSourcesPaginator.js +4 -0
  19. package/node_modules/@aws-sdk/client-route-53/dist-es/pagination/ListHealthChecksBySourcePaginator.js +4 -0
  20. package/node_modules/@aws-sdk/client-route-53/dist-es/pagination/index.js +2 -0
  21. package/node_modules/@aws-sdk/client-route-53/dist-es/schemas/schemas_0.js +154 -11
  22. package/node_modules/@aws-sdk/client-route-53/dist-es/waiters/index.js +2 -0
  23. package/node_modules/@aws-sdk/client-route-53/dist-es/waiters/waitForHealthCheckSourceCreated.js +43 -0
  24. package/node_modules/@aws-sdk/client-route-53/dist-es/waiters/waitForHealthCheckSourceDeleted.js +43 -0
  25. package/node_modules/@aws-sdk/client-route-53/dist-types/Route53.d.ts +63 -0
  26. package/node_modules/@aws-sdk/client-route-53/dist-types/Route53Client.d.ts +7 -2
  27. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ChangeTagsForResourceCommand.d.ts +5 -2
  28. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateHealthCheckCommand.d.ts +16 -4
  29. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateHealthCheckSourceCommand.d.ts +109 -0
  30. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteHealthCheckSourceCommand.d.ts +87 -0
  31. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetAccountLimitCommand.d.ts +2 -2
  32. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHealthCheckCommand.d.ts +2 -0
  33. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHealthCheckSourceCommand.d.ts +94 -0
  34. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHealthCheckSourcesCommand.d.ts +96 -0
  35. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHealthChecksBySourceCommand.d.ts +138 -0
  36. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHealthChecksCommand.d.ts +2 -0
  37. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -2
  38. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListTagsForResourcesCommand.d.ts +5 -2
  39. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/UpdateHealthCheckCommand.d.ts +3 -0
  40. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/index.d.ts +5 -0
  41. package/node_modules/@aws-sdk/client-route-53/dist-types/models/enums.d.ts +49 -0
  42. package/node_modules/@aws-sdk/client-route-53/dist-types/models/errors.d.ts +44 -1
  43. package/node_modules/@aws-sdk/client-route-53/dist-types/models/models_0.d.ts +384 -8
  44. package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListHealthCheckSourcesPaginator.d.ts +7 -0
  45. package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListHealthChecksBySourcePaginator.d.ts +7 -0
  46. package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/index.d.ts +2 -0
  47. package/node_modules/@aws-sdk/client-route-53/dist-types/schemas/schemas_0.d.ts +21 -0
  48. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/Route53.d.ts +113 -0
  49. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/Route53Client.d.ts +30 -0
  50. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/CreateHealthCheckSourceCommand.d.ts +42 -0
  51. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/DeleteHealthCheckSourceCommand.d.ts +42 -0
  52. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetHealthCheckSourceCommand.d.ts +39 -0
  53. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListHealthCheckSourcesCommand.d.ts +39 -0
  54. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListHealthChecksBySourceCommand.d.ts +42 -0
  55. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/index.d.ts +5 -0
  56. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/models/enums.d.ts +30 -0
  57. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/models/errors.d.ts +18 -0
  58. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/models/models_0.d.ts +65 -0
  59. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/pagination/ListHealthCheckSourcesPaginator.d.ts +11 -0
  60. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/pagination/ListHealthChecksBySourcePaginator.d.ts +11 -0
  61. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/pagination/index.d.ts +2 -0
  62. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
  63. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/waiters/index.d.ts +2 -0
  64. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/waiters/waitForHealthCheckSourceCreated.d.ts +15 -0
  65. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/waiters/waitForHealthCheckSourceDeleted.d.ts +16 -0
  66. package/node_modules/@aws-sdk/client-route-53/dist-types/waiters/index.d.ts +2 -0
  67. package/node_modules/@aws-sdk/client-route-53/dist-types/waiters/waitForHealthCheckSourceCreated.d.ts +15 -0
  68. package/node_modules/@aws-sdk/client-route-53/dist-types/waiters/waitForHealthCheckSourceDeleted.d.ts +16 -0
  69. package/node_modules/@aws-sdk/client-route-53/package.json +1 -1
  70. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +41 -7
  71. package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +4 -0
  72. package/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js +32 -6
  73. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +28 -0
  74. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +28 -0
  75. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +2 -1
  76. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
  77. package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +12 -0
  78. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +83 -150
  79. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +140 -1
  80. package/node_modules/@aws-sdk/client-s3/dist-types/schemas/schemas_0.d.ts +3 -0
  81. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +2 -1
  82. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +1 -1
  83. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +6 -0
  84. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +16 -24
  85. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +25 -0
  86. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
  87. package/node_modules/@aws-sdk/client-s3/package.json +3 -3
  88. package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +1 -1
  89. package/node_modules/@aws-sdk/client-ses/package.json +1 -1
  90. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
  91. package/node_modules/@aws-sdk/client-ssm/package.json +1 -1
  92. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +1 -1
  93. package/package.json +6 -6
@@ -1,4 +1,4 @@
1
- import type { AcceleratedRecoveryStatus, AccountLimitType, ChangeAction, ChangeStatus, CidrCollectionChangeAction, CloudWatchRegion, ComparisonOperator, HealthCheckRegion, HealthCheckType, HostedZoneLimitType, HostedZoneType, InsufficientDataHealthStatus, ResettableElementName, ResourceRecordSetFailover, ResourceRecordSetRegion, ReusableDelegationSetLimitType, RRType, Statistic, TagResourceType, VPCRegion } from "./enums";
1
+ import type { AcceleratedRecoveryStatus, AccountLimitType, ChangeAction, ChangeStatus, CidrCollectionChangeAction, CloudWatchRegion, ComparisonOperator, EndpointType, HealthCheckRegion, HealthCheckSourceStatus, HealthCheckSourceStatusReasonCode, HealthCheckType, HostedZoneLimitType, HostedZoneType, InsufficientDataHealthStatus, ResettableElementName, ResourceRecordSetFailover, ResourceRecordSetRegion, ReusableDelegationSetLimitType, RRType, Statistic, TagResourceType, VPCRegion } from "./enums";
2
2
  /**
3
3
  * <p>A complex type that contains the type of limit that you specified in the request and
4
4
  * the current value for that limit.</p>
@@ -15,6 +15,11 @@ export interface AccountLimit {
15
15
  * </li>
16
16
  * <li>
17
17
  * <p>
18
+ * <b>MAX_HEALTH_CHECK_SOURCES_BY_OWNER</b> The maximum
19
+ * number of health check sources that you can create using the current account.</p>
20
+ * </li>
21
+ * <li>
22
+ * <p>
18
23
  * <b>MAX_HOSTED_ZONES_BY_OWNER</b>: The maximum number
19
24
  * of hosted zones that you can create using the current account.</p>
20
25
  * </li>
@@ -1675,6 +1680,9 @@ export interface ChangeTagsForResourceRequest {
1675
1680
  * <p>The resource type for health checks is <code>healthcheck</code>.</p>
1676
1681
  * </li>
1677
1682
  * <li>
1683
+ * <p>The resource type for health check sources is <code>healthchecksource</code>.</p>
1684
+ * </li>
1685
+ * <li>
1678
1686
  * <p>The resource type for hosted zones is <code>hostedzone</code>.</p>
1679
1687
  * </li>
1680
1688
  * </ul>
@@ -1690,7 +1698,7 @@ export interface ChangeTagsForResourceRequest {
1690
1698
  * <p>A complex type that contains a list of the tags that you want to add to the specified
1691
1699
  * health check or hosted zone and/or the tags that you want to edit <code>Value</code>
1692
1700
  * for.</p>
1693
- * <p>You can add a maximum of 10 tags to a health check or a hosted zone.</p>
1701
+ * <p>You can add a maximum of 10 tags to a health check, a health check source, or a hosted zone.</p>
1694
1702
  * @public
1695
1703
  */
1696
1704
  AddTags?: Tag[] | undefined;
@@ -1799,14 +1807,15 @@ export interface HealthCheckConfig {
1799
1807
  * <code>2001:db8:85a3::abcd:1:2345</code>.</p>
1800
1808
  * </li>
1801
1809
  * </ul>
1802
- * <p>If the endpoint is an EC2 instance, we recommend that you create an Elastic IP
1810
+ * <p>For a public health check, if the endpoint is an EC2 instance, we recommend that you create an Elastic IP
1803
1811
  * address, associate it with your EC2 instance, and specify the Elastic IP address for
1804
1812
  * <code>IPAddress</code>. This ensures that the IP address of your instance will never
1805
1813
  * change.</p>
1806
1814
  * <p>For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_UpdateHealthCheck.html#Route53-UpdateHealthCheck-request-FullyQualifiedDomainName">FullyQualifiedDomainName</a>. </p>
1807
- * <p>Constraints: Route 53 can't check the health of endpoints for which the IP address is
1815
+ * <p>Constraints: For a public health check (<code>EndpointType</code> of <code>PUBLIC</code>, the
1816
+ * default), Route 53 can't check the health of endpoints for which the IP address is
1808
1817
  * in local, private, non-routable, or multicast ranges. For more information about IP
1809
- * addresses for which you can't create health checks, see the following documents:</p>
1818
+ * addresses for which you can't create public health checks, see the following documents:</p>
1810
1819
  * <ul>
1811
1820
  * <li>
1812
1821
  * <p>
@@ -1827,6 +1836,9 @@ export interface HealthCheckConfig {
1827
1836
  * </p>
1828
1837
  * </li>
1829
1838
  * </ul>
1839
+ * <p>For a private endpoint health check (<code>EndpointType</code> of <code>PRIVATE</code>),
1840
+ * if you specify <code>IPAddress</code>, it must be a private IPv4 or IPv6 address. Route 53 sends health checks to it from
1841
+ * the health check source that you specify in <code>HealthCheckSourceId</code>.</p>
1830
1842
  * <p>When the value of <code>Type</code> is <code>CALCULATED</code> or
1831
1843
  * <code>CLOUDWATCH_METRIC</code>, omit <code>IPAddress</code>.</p>
1832
1844
  * @public
@@ -2192,6 +2204,38 @@ export interface HealthCheckConfig {
2192
2204
  * @public
2193
2205
  */
2194
2206
  RoutingControlArn?: string | undefined;
2207
+ /**
2208
+ * <p>Specifies whether the health check targets a public endpoint or a private endpoint in a
2209
+ * virtual private cloud (VPC). Valid values:</p>
2210
+ * <ul>
2211
+ * <li>
2212
+ * <p>
2213
+ * <code>PUBLIC</code>: The health check targets an endpoint that is reachable over the
2214
+ * internet. This is the default.</p>
2215
+ * </li>
2216
+ * <li>
2217
+ * <p>
2218
+ * <code>PRIVATE</code>: The health check targets a private endpoint in your virtual private cloud. You must also
2219
+ * specify <code>HealthCheckSourceId</code>. <code>PRIVATE</code> isn't supported for health
2220
+ * checks with a <code>Type</code> of <code>CALCULATED</code>, <code>CLOUDWATCH_METRIC</code>, or <code>RECOVERY_CONTROL</code>.</p>
2221
+ * </li>
2222
+ * </ul>
2223
+ * <important>
2224
+ * <p>You can't change the value of <code>EndpointType</code> after you create a health
2225
+ * check.</p>
2226
+ * </important>
2227
+ * @public
2228
+ */
2229
+ EndpointType?: EndpointType | undefined;
2230
+ /**
2231
+ * <p>The ID of the health check source that Route 53 uses to send health checks to a private
2232
+ * endpoint. Required when <code>EndpointType</code> is <code>PRIVATE</code>.</p>
2233
+ * <p>You can change <code>HealthCheckSourceId</code> on an existing private health check. You can't add it to a public
2234
+ * health check.</p>
2235
+ * <p>Each health check source supports a limited number of active health checks. If you reach that limit, specify a different health check source.</p>
2236
+ * @public
2237
+ */
2238
+ HealthCheckSourceId?: string | undefined;
2195
2239
  }
2196
2240
  /**
2197
2241
  * <p>A complex type that contains the health check request information.</p>
@@ -2397,6 +2441,85 @@ export interface CreateHealthCheckResponse {
2397
2441
  */
2398
2442
  Location: string | undefined;
2399
2443
  }
2444
+ /**
2445
+ * <p>A complex type that identifies one subnet for a health check source and the security groups that Route 53 associates with the network interfaces that it creates in that subnet.</p>
2446
+ * @public
2447
+ */
2448
+ export interface SubnetConfiguration {
2449
+ /**
2450
+ * <p>The ID of the subnet that Route 53 uses to send health check requests.</p>
2451
+ * @public
2452
+ */
2453
+ SubnetId: string | undefined;
2454
+ /**
2455
+ * <p>The ID of the Availability Zone that contains the subnet, for example <code>use1-az1</code>. Specify the Availability Zone ID, not the Availability Zone name.</p>
2456
+ * @public
2457
+ */
2458
+ AvailabilityZoneId: string | undefined;
2459
+ /**
2460
+ * <p>The IDs of the security groups in the same virtual private cloud (VPC) to associate with the network interfaces that Route 53 creates in this subnet. The security groups must allow outbound traffic to the endpoints that the health checks monitor.</p>
2461
+ * @public
2462
+ */
2463
+ SecurityGroupIdList: string[] | undefined;
2464
+ }
2465
+ /**
2466
+ * <p>A complex type that contains the virtual private cloud (VPC), subnets, and security groups for a health check source. You can't change these values after you create the source.</p>
2467
+ * @public
2468
+ */
2469
+ export interface HealthCheckSourceConfig {
2470
+ /**
2471
+ * <p>The ID of the virtual private cloud (VPC) that contains the subnets for the health check source. All subnets in <code>SubnetConfigurationList</code> must belong to this VPC.</p>
2472
+ * @public
2473
+ */
2474
+ VpcId: string | undefined;
2475
+ /**
2476
+ * <p>A complex type that contains two or three <code>SubnetConfiguration</code> elements, one in each Availability Zone that Route 53 uses for private endpoint health checks in the Amazon Web Services Region. The Availability Zones must be distinct. Route 53 creates network interfaces in each subnet and sends health check requests from all of them.</p>
2477
+ * @public
2478
+ */
2479
+ SubnetConfigurationList: SubnetConfiguration[] | undefined;
2480
+ }
2481
+ /**
2482
+ * <p>Contains the virtual private cloud (VPC), subnets, and security groups that are required to create a health check source, and a caller reference that identifies the request.</p>
2483
+ * @public
2484
+ */
2485
+ export interface CreateHealthCheckSourceRequest {
2486
+ /**
2487
+ * <p>A unique, case-sensitive identifier that ensures that the operation completes no more than one time. If you retry a <code>CreateHealthCheckSource</code> request with the same <code>CallerReference</code> and the same settings as a previous request, Route 53 returns the existing health check source without creating a duplicate. If that health check source has a status of <code>CREATE_FAILED</code>, Route 53 tries to create it again. To create a new health check source after a failure, specify a new value for <code>CallerReference</code>. If a health check source with the same <code>CallerReference</code> already exists and the settings differ, Route 53 returns a <code>HealthCheckSourceAlreadyExists</code> error.</p>
2488
+ * @public
2489
+ */
2490
+ CallerReference?: string | undefined;
2491
+ /**
2492
+ * <p>A complex type that contains the virtual private cloud (VPC), subnets, and security groups for the health check source.</p>
2493
+ * @public
2494
+ */
2495
+ HealthCheckSourceConfig: HealthCheckSourceConfig | undefined;
2496
+ /**
2497
+ * <p>A complex type that contains a list of the tags that you want to apply to the health check source when you create it.</p>
2498
+ * @public
2499
+ */
2500
+ Tags?: Tag[] | undefined;
2501
+ }
2502
+ /**
2503
+ * <p>Returns the ID, status, and location URL of the new health check source.</p>
2504
+ * @public
2505
+ */
2506
+ export interface CreateHealthCheckSourceResponse {
2507
+ /**
2508
+ * <p>The ID of the new health check source. Route 53 assigns this ID when it creates the source.</p>
2509
+ * @public
2510
+ */
2511
+ HealthCheckSourceId: string | undefined;
2512
+ /**
2513
+ * <p>The current status of the health check source. Immediately after you create a health check source, the status is <code>CREATE_PENDING</code>. If the request is a retry with the same <code>CallerReference</code>, the status is the current status of the existing health check source.</p>
2514
+ * @public
2515
+ */
2516
+ HealthCheckSourceStatus: HealthCheckSourceStatus | undefined;
2517
+ /**
2518
+ * <p>The unique URL representing the new health check source.</p>
2519
+ * @public
2520
+ */
2521
+ Location: string | undefined;
2522
+ }
2400
2523
  /**
2401
2524
  * <p>A complex type that contains an optional comment about your hosted zone. If you don't
2402
2525
  * want to specify a comment, omit both the <code>HostedZoneConfig</code> and
@@ -3419,6 +3542,33 @@ export interface DeleteHealthCheckRequest {
3419
3542
  */
3420
3543
  export interface DeleteHealthCheckResponse {
3421
3544
  }
3545
+ /**
3546
+ * <p>Contains the ID of the health check source that you want to delete.</p>
3547
+ * @public
3548
+ */
3549
+ export interface DeleteHealthCheckSourceRequest {
3550
+ /**
3551
+ * <p>The ID of the health check source that you want to delete.</p>
3552
+ * @public
3553
+ */
3554
+ HealthCheckSourceId: string | undefined;
3555
+ }
3556
+ /**
3557
+ * <p>Contains the ID and status of the health check source that <code>DeleteHealthCheckSource</code> deletes.</p>
3558
+ * @public
3559
+ */
3560
+ export interface DeleteHealthCheckSourceResponse {
3561
+ /**
3562
+ * <p>The ID of the health check source that is being deleted.</p>
3563
+ * @public
3564
+ */
3565
+ HealthCheckSourceId: string | undefined;
3566
+ /**
3567
+ * <p>The status of the health check source after Route 53 accepts the delete request. The value is <code>DELETE_PENDING</code>, or the current status if deletion of the health check source was already in progress.</p>
3568
+ * @public
3569
+ */
3570
+ HealthCheckSourceStatus: HealthCheckSourceStatus | undefined;
3571
+ }
3422
3572
  /**
3423
3573
  * <p>A request to delete a hosted zone.</p>
3424
3574
  * @public
@@ -3701,6 +3851,11 @@ export interface GetAccountLimitRequest {
3701
3851
  * </li>
3702
3852
  * <li>
3703
3853
  * <p>
3854
+ * <b>MAX_HEALTH_CHECK_SOURCES_BY_OWNER</b> The maximum
3855
+ * number of health check sources that you can create using the current account.</p>
3856
+ * </li>
3857
+ * <li>
3858
+ * <p>
3704
3859
  * <b>MAX_HOSTED_ZONES_BY_OWNER</b>: The maximum number
3705
3860
  * of hosted zones that you can create using the current account.</p>
3706
3861
  * </li>
@@ -4099,6 +4254,124 @@ export interface GetHealthCheckLastFailureReasonResponse {
4099
4254
  */
4100
4255
  HealthCheckObservations: HealthCheckObservation[] | undefined;
4101
4256
  }
4257
+ /**
4258
+ * <p>Contains the ID of the health check source that you want to get information about.</p>
4259
+ * @public
4260
+ */
4261
+ export interface GetHealthCheckSourceRequest {
4262
+ /**
4263
+ * <p>The ID of the health check source that you want to get information about.</p>
4264
+ * @public
4265
+ */
4266
+ HealthCheckSourceId: string | undefined;
4267
+ }
4268
+ /**
4269
+ * <p>A complex type that contains information about a health check source: its ID, its status, and the virtual private cloud (VPC), subnets, and security groups from which Route 53 sends health check requests to private endpoints.</p>
4270
+ * @public
4271
+ */
4272
+ export interface HealthCheckSource {
4273
+ /**
4274
+ * <p>The ID of the health check source. Route 53 assigns this ID when it creates the source.</p>
4275
+ * @public
4276
+ */
4277
+ HealthCheckSourceId: string | undefined;
4278
+ /**
4279
+ * <p>The current status of the health check source. The health check source status can have one of the following values:</p>
4280
+ * <ul>
4281
+ * <li>
4282
+ * <p>
4283
+ * <code>CREATE_PENDING</code> - Route 53 accepted the request to create the source and hasn't started creating it. You can't use the source in a health check until its status is <code>CREATE_COMPLETED</code>.</p>
4284
+ * </li>
4285
+ * <li>
4286
+ * <p>
4287
+ * <code>CREATE_IN_PROGRESS</code> - Route 53 is creating the source. You can't use the source in a health check until its status is <code>CREATE_COMPLETED</code>.</p>
4288
+ * </li>
4289
+ * <li>
4290
+ * <p>
4291
+ * <code>CREATE_COMPLETED</code> - The source is ready to use.</p>
4292
+ * </li>
4293
+ * <li>
4294
+ * <p>
4295
+ * <code>CREATE_FAILED</code> - Route 53 couldn't create the source. <code>StatusReasonCode</code> and <code>StatusReason</code> explain why.</p>
4296
+ * </li>
4297
+ * <li>
4298
+ * <p>
4299
+ * <code>DELETE_PENDING</code> - Route 53 accepted the request to delete the source and hasn't started deleting it.</p>
4300
+ * </li>
4301
+ * <li>
4302
+ * <p>
4303
+ * <code>DELETE_IN_PROGRESS</code> - Route 53 is deleting the source.</p>
4304
+ * </li>
4305
+ * <li>
4306
+ * <p>
4307
+ * <code>DELETE_COMPLETED</code> - Route 53 has deleted the source. You can't retrieve a health check source in this status: <code>GetHealthCheckSource</code> returns <code>NoSuchHealthCheckSource</code>.</p>
4308
+ * </li>
4309
+ * <li>
4310
+ * <p>
4311
+ * <code>DELETE_FAILED</code> - Route 53 couldn't delete the source. <code>StatusReasonCode</code> and <code>StatusReason</code> explain why.</p>
4312
+ * </li>
4313
+ * </ul>
4314
+ * <p>If the status is <code>CREATE_FAILED</code>, fix the cause that <code>StatusReasonCode</code> indicates, and then either retry <code>CreateHealthCheckSource</code> with the same <code>CallerReference</code> and settings, or delete the source and create a new one. If the status is <code>DELETE_FAILED</code>, retry the <code>DeleteHealthCheckSource</code> request.</p>
4315
+ * @public
4316
+ */
4317
+ HealthCheckSourceStatus: HealthCheckSourceStatus | undefined;
4318
+ /**
4319
+ * <p>The virtual private cloud (VPC), subnets, and security groups for the health check source.</p>
4320
+ * @public
4321
+ */
4322
+ HealthCheckSourceConfig: HealthCheckSourceConfig | undefined;
4323
+ /**
4324
+ * <p>A code that indicates why the health check source has a status of <code>CREATE_FAILED</code> or <code>DELETE_FAILED</code>. Route 53 returns this member only when the status is one of those values. The code can have one of the following values:</p>
4325
+ * <ul>
4326
+ * <li>
4327
+ * <p>
4328
+ * <code>INSUFFICIENT_SUBNET_IPS</code> - One of the specified subnets doesn't have enough free private IP addresses. Check the available IP addresses in each subnet, and delete network interfaces that you don't need.</p>
4329
+ * </li>
4330
+ * <li>
4331
+ * <p>
4332
+ * <code>EC2_LIMIT_EXCEEDED</code> - Your account reached an Amazon virtual private cloud (VPC) quota for network interfaces or security groups. Delete network interfaces that you don't need, specify fewer security groups, or request a quota increase.</p>
4333
+ * </li>
4334
+ * <li>
4335
+ * <p>
4336
+ * <code>INVALID_SUBNET</code> - One of the specified subnets doesn't exist or isn't valid, or an <code>AvailabilityZoneId</code> doesn't match the Availability Zone of its subnet. Check that each subnet ID is correct, that the subnet exists, and that each <code>AvailabilityZoneId</code> matches its subnet.</p>
4337
+ * </li>
4338
+ * <li>
4339
+ * <p>
4340
+ * <code>INVALID_SECURITY_GROUP</code> - One of the specified security groups doesn't exist or isn't valid. Check that each security group ID is correct and that the security group exists.</p>
4341
+ * </li>
4342
+ * <li>
4343
+ * <p>
4344
+ * <code>INVALID_CONFIGURATION</code> - The combination of VPC, subnets, and security groups isn't valid. Check that <code>VpcId</code> is correct and exists, that each subnet is in that VPC, and that the security groups for each subnet are in the same VPC as that subnet.</p>
4345
+ * </li>
4346
+ * <li>
4347
+ * <p>
4348
+ * <code>SLR_MISSING_OR_NOT_ASSUMABLE</code> - Route 53 couldn't assume its service-linked role in your account. In IAM, check that the service-linked role for Route 53 private endpoint health checks exists and that no deletion task for it is in progress.</p>
4349
+ * </li>
4350
+ * <li>
4351
+ * <p>
4352
+ * <code>INTERNAL_ERROR</code> - Route 53 encountered an internal error. Contact Amazon Web Services Support and provide the health check source ID.</p>
4353
+ * </li>
4354
+ * </ul>
4355
+ * @public
4356
+ */
4357
+ StatusReasonCode?: HealthCheckSourceStatusReasonCode | undefined;
4358
+ /**
4359
+ * <p>A description of why the health check source has a status of <code>CREATE_FAILED</code> or <code>DELETE_FAILED</code>, and what you can do about it. The text corresponds to the value of <code>StatusReasonCode</code>. Route 53 returns this member only when <code>StatusReasonCode</code> is present.</p>
4360
+ * @public
4361
+ */
4362
+ StatusReason?: string | undefined;
4363
+ }
4364
+ /**
4365
+ * <p>Contains the health check source that <code>GetHealthCheckSource</code> returns.</p>
4366
+ * @public
4367
+ */
4368
+ export interface GetHealthCheckSourceResponse {
4369
+ /**
4370
+ * <p>A complex type that contains information about the specified health check source.</p>
4371
+ * @public
4372
+ */
4373
+ HealthCheckSource: HealthCheckSource | undefined;
4374
+ }
4102
4375
  /**
4103
4376
  * <p>A request to get the status for a health check.</p>
4104
4377
  * @public
@@ -4784,6 +5057,90 @@ export interface ListHealthChecksResponse {
4784
5057
  */
4785
5058
  MaxItems: number | undefined;
4786
5059
  }
5060
+ /**
5061
+ * <p>Contains the parameters for retrieving a list of the health checks that use a specified health check source.</p>
5062
+ * @public
5063
+ */
5064
+ export interface ListHealthChecksBySourceRequest {
5065
+ /**
5066
+ * <p>The ID of the health check source whose health checks you want to list.</p>
5067
+ * @public
5068
+ */
5069
+ HealthCheckSourceId: string | undefined;
5070
+ /**
5071
+ * <p>The <code>NextMarker</code> value from the previous response, if the value of <code>IsTruncated</code> was <code>true</code>. Specify it to get the next group of health checks. If <code>IsTruncated</code> was <code>false</code>, there are no more health checks to get.</p>
5072
+ * @public
5073
+ */
5074
+ Marker?: string | undefined;
5075
+ /**
5076
+ * <p>The maximum number of health checks that you want <code>ListHealthChecksBySource</code> to return. Route 53 returns a maximum of 1000 health checks. If you specify a value greater than 1000, Route 53 returns only the first 1000.</p>
5077
+ * @public
5078
+ */
5079
+ MaxItems?: number | undefined;
5080
+ }
5081
+ /**
5082
+ * <p>Contains the health checks and pagination information that <code>ListHealthChecksBySource</code> returns.</p>
5083
+ * @public
5084
+ */
5085
+ export interface ListHealthChecksBySourceResponse {
5086
+ /**
5087
+ * <p>A complex type that contains one <code>HealthCheck</code> element for each health check that uses the specified health check source.</p>
5088
+ * @public
5089
+ */
5090
+ HealthChecks: HealthCheck[] | undefined;
5091
+ /**
5092
+ * <p>The value that you specified for the <code>marker</code> parameter in the call to <code>ListHealthChecksBySource</code> that produced the current response. This value is present for the second and subsequent calls to <code>ListHealthChecksBySource</code>.</p>
5093
+ * @public
5094
+ */
5095
+ Marker?: string | undefined;
5096
+ /**
5097
+ * <p>Specifies whether there are more health checks to list. If the value is <code>true</code>, specify the <code>NextMarker</code> value for <code>marker</code> to get the next group of health checks.</p>
5098
+ * @public
5099
+ */
5100
+ IsTruncated: boolean | undefined;
5101
+ /**
5102
+ * <p>The identifier of the first health check in the next group of health checks. If <code>IsTruncated</code> is <code>true</code>, specify this value in the <code>marker</code> parameter of another <code>ListHealthChecksBySource</code> request.</p>
5103
+ * @public
5104
+ */
5105
+ NextMarker?: string | undefined;
5106
+ /**
5107
+ * <p>The value that you specified for the <code>maxitems</code> parameter in the call to <code>ListHealthChecksBySource</code> that produced the current response.</p>
5108
+ * @public
5109
+ */
5110
+ MaxItems: number | undefined;
5111
+ }
5112
+ /**
5113
+ * <p>Contains the parameters for retrieving a list of the health check sources that are associated with the current Amazon Web Services account.</p>
5114
+ * @public
5115
+ */
5116
+ export interface ListHealthCheckSourcesRequest {
5117
+ /**
5118
+ * <p>The <code>NextToken</code> value from the previous response, if it included one. Specify it to get the next group of health check sources.</p>
5119
+ * @public
5120
+ */
5121
+ NextToken?: string | undefined;
5122
+ /**
5123
+ * <p>The maximum number of health check sources that you want <code>ListHealthCheckSources</code> to return. Route 53 returns a maximum of 100 health check sources. If you specify a value greater than 100, Route 53 returns only the first 100.</p>
5124
+ * @public
5125
+ */
5126
+ MaxResults?: number | undefined;
5127
+ }
5128
+ /**
5129
+ * <p>Contains the health check sources and pagination information that <code>ListHealthCheckSources</code> returns.</p>
5130
+ * @public
5131
+ */
5132
+ export interface ListHealthCheckSourcesResponse {
5133
+ /**
5134
+ * <p>A complex type that contains one <code>HealthCheckSource</code> element for each health check source that is associated with the current Amazon Web Services account.</p>
5135
+ * @public
5136
+ */
5137
+ HealthCheckSources: HealthCheckSource[] | undefined;
5138
+ /**
5139
+ * <p>A pagination token. If there are more health check sources to list, specify this value for <code>NextToken</code> in the next request.</p>
5140
+ * @public
5141
+ */
5142
+ NextToken?: string | undefined;
5143
+ }
4787
5144
  /**
4788
5145
  * <p>A request to retrieve a list of the public and private hosted zones that are
4789
5146
  * associated with the current Amazon Web Services account.</p>
@@ -5423,6 +5780,9 @@ export interface ListTagsForResourceRequest {
5423
5780
  * <p>The resource type for health checks is <code>healthcheck</code>.</p>
5424
5781
  * </li>
5425
5782
  * <li>
5783
+ * <p>The resource type for health check sources is <code>healthchecksource</code>.</p>
5784
+ * </li>
5785
+ * <li>
5426
5786
  * <p>The resource type for hosted zones is <code>hostedzone</code>.</p>
5427
5787
  * </li>
5428
5788
  * </ul>
@@ -5447,6 +5807,9 @@ export interface ResourceTagSet {
5447
5807
  * <p>The resource type for health checks is <code>healthcheck</code>.</p>
5448
5808
  * </li>
5449
5809
  * <li>
5810
+ * <p>The resource type for health check sources is <code>healthchecksource</code>.</p>
5811
+ * </li>
5812
+ * <li>
5450
5813
  * <p>The resource type for hosted zones is <code>hostedzone</code>.</p>
5451
5814
  * </li>
5452
5815
  * </ul>
@@ -5490,6 +5853,9 @@ export interface ListTagsForResourcesRequest {
5490
5853
  * <p>The resource type for health checks is <code>healthcheck</code>.</p>
5491
5854
  * </li>
5492
5855
  * <li>
5856
+ * <p>The resource type for health check sources is <code>healthchecksource</code>.</p>
5857
+ * </li>
5858
+ * <li>
5493
5859
  * <p>The resource type for hosted zones is <code>hostedzone</code>.</p>
5494
5860
  * </li>
5495
5861
  * </ul>
@@ -6234,7 +6600,7 @@ export interface UpdateHealthCheckRequest {
6234
6600
  * <code>2001:db8:85a3::abcd:1:2345</code>.</p>
6235
6601
  * </li>
6236
6602
  * </ul>
6237
- * <p>If the endpoint is an EC2 instance, we recommend that you create an Elastic IP
6603
+ * <p>For a public health check, if the endpoint is an EC2 instance, we recommend that you create an Elastic IP
6238
6604
  * address, associate it with your EC2 instance, and specify the Elastic IP address for
6239
6605
  * <code>IPAddress</code>. This ensures that the IP address of your instance never
6240
6606
  * changes. For more information, see the applicable documentation:</p>
@@ -6258,9 +6624,10 @@ export interface UpdateHealthCheckRequest {
6258
6624
  * value of <code>IPAddress</code>. </p>
6259
6625
  * </note>
6260
6626
  * <p>For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_UpdateHealthCheck.html#Route53-UpdateHealthCheck-request-FullyQualifiedDomainName">FullyQualifiedDomainName</a>. </p>
6261
- * <p>Constraints: Route 53 can't check the health of endpoints for which the IP address is
6627
+ * <p>Constraints: For a public health check (<code>EndpointType</code> of <code>PUBLIC</code>, the
6628
+ * default), Route 53 can't check the health of endpoints for which the IP address is
6262
6629
  * in local, private, non-routable, or multicast ranges. For more information about IP
6263
- * addresses for which you can't create health checks, see the following documents:</p>
6630
+ * addresses for which you can't create public health checks, see the following documents:</p>
6264
6631
  * <ul>
6265
6632
  * <li>
6266
6633
  * <p>
@@ -6281,6 +6648,9 @@ export interface UpdateHealthCheckRequest {
6281
6648
  * </p>
6282
6649
  * </li>
6283
6650
  * </ul>
6651
+ * <p>For a private endpoint health check (<code>EndpointType</code> of <code>PRIVATE</code>),
6652
+ * if you specify <code>IPAddress</code>, it must be a private IPv4 or IPv6 address. Route 53 sends health checks to it from
6653
+ * the health check source that you specify in <code>HealthCheckSourceId</code>.</p>
6284
6654
  * @public
6285
6655
  */
6286
6656
  IPAddress?: string | undefined;
@@ -6554,6 +6924,12 @@ export interface UpdateHealthCheckRequest {
6554
6924
  * @public
6555
6925
  */
6556
6926
  ResetElements?: ResettableElementName[] | undefined;
6927
+ /**
6928
+ * <p>The ID of the health check source from which Route 53 sends requests to the endpoint. Applies only to health checks that have an <code>EndpointType</code> of <code>PRIVATE</code>. The health check source must be in the same account and have a status of <code>CREATE_COMPLETED</code>.</p>
6929
+ * <p>Each health check source supports a limited number of active health checks. If you reach that limit, specify a different health check source.</p>
6930
+ * @public
6931
+ */
6932
+ HealthCheckSourceId?: string | undefined;
6557
6933
  }
6558
6934
  /**
6559
6935
  * <p>A complex type that contains the response to the <code>UpdateHealthCheck</code>
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListHealthCheckSourcesCommandInput, ListHealthCheckSourcesCommandOutput } from "../commands/ListHealthCheckSourcesCommand";
3
+ import type { Route53PaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListHealthCheckSources: (config: Route53PaginationConfiguration, input: ListHealthCheckSourcesCommandInput, ...rest: any[]) => Paginator<ListHealthCheckSourcesCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListHealthChecksBySourceCommandInput, ListHealthChecksBySourceCommandOutput } from "../commands/ListHealthChecksBySourceCommand";
3
+ import type { Route53PaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListHealthChecksBySource: (config: Route53PaginationConfiguration, input: ListHealthChecksBySourceCommandInput, ...rest: any[]) => Paginator<ListHealthChecksBySourceCommandOutput>;
@@ -3,6 +3,8 @@ export * from "./ListCidrBlocksPaginator";
3
3
  export * from "./ListCidrCollectionsPaginator";
4
4
  export * from "./ListCidrLocationsPaginator";
5
5
  export * from "./ListHealthChecksPaginator";
6
+ export * from "./ListHealthChecksBySourcePaginator";
7
+ export * from "./ListHealthCheckSourcesPaginator";
6
8
  export * from "./ListHostedZonesPaginator";
7
9
  export * from "./ListQueryLoggingConfigsPaginator";
8
10
  export * from "./ListResourceRecordSetProtectionsPaginator";