@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
@@ -0,0 +1,43 @@
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
+ import { GetHealthCheckSourceCommand, } from "../commands/GetHealthCheckSourceCommand";
3
+ const checkState = async (client, input) => {
4
+ let reason;
5
+ try {
6
+ let result = await client.send(new GetHealthCheckSourceCommand(input));
7
+ reason = result;
8
+ try {
9
+ const returnComparator = () => {
10
+ return result.HealthCheckSource.HealthCheckSourceStatus;
11
+ };
12
+ if (returnComparator() === "CREATE_COMPLETED") {
13
+ return { state: WaiterState.SUCCESS, reason };
14
+ }
15
+ }
16
+ catch (e) { }
17
+ try {
18
+ const returnComparator = () => {
19
+ return result.HealthCheckSource.HealthCheckSourceStatus;
20
+ };
21
+ if (returnComparator() === "CREATE_FAILED") {
22
+ return { state: WaiterState.FAILURE, reason };
23
+ }
24
+ }
25
+ catch (e) { }
26
+ }
27
+ catch (exception) {
28
+ reason = exception;
29
+ if (exception.name === "NoSuchHealthCheckSource") {
30
+ return { state: WaiterState.RETRY, reason };
31
+ }
32
+ }
33
+ return { state: WaiterState.RETRY, reason };
34
+ };
35
+ export const waitForHealthCheckSourceCreated = async (params, input) => {
36
+ const serviceDefaults = { minDelay: 15, maxDelay: 120 };
37
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
38
+ };
39
+ export const waitUntilHealthCheckSourceCreated = async (params, input) => {
40
+ const serviceDefaults = { minDelay: 15, maxDelay: 120 };
41
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
42
+ return checkExceptions(result);
43
+ };
@@ -0,0 +1,43 @@
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
+ import { GetHealthCheckSourceCommand, } from "../commands/GetHealthCheckSourceCommand";
3
+ const checkState = async (client, input) => {
4
+ let reason;
5
+ try {
6
+ let result = await client.send(new GetHealthCheckSourceCommand(input));
7
+ reason = result;
8
+ try {
9
+ const returnComparator = () => {
10
+ return result.HealthCheckSource.HealthCheckSourceStatus;
11
+ };
12
+ if (returnComparator() === "DELETE_COMPLETED") {
13
+ return { state: WaiterState.SUCCESS, reason };
14
+ }
15
+ }
16
+ catch (e) { }
17
+ try {
18
+ const returnComparator = () => {
19
+ return result.HealthCheckSource.HealthCheckSourceStatus;
20
+ };
21
+ if (returnComparator() === "DELETE_FAILED") {
22
+ return { state: WaiterState.FAILURE, reason };
23
+ }
24
+ }
25
+ catch (e) { }
26
+ }
27
+ catch (exception) {
28
+ reason = exception;
29
+ if (exception.name === "NoSuchHealthCheckSource") {
30
+ return { state: WaiterState.SUCCESS, reason };
31
+ }
32
+ }
33
+ return { state: WaiterState.RETRY, reason };
34
+ };
35
+ export const waitForHealthCheckSourceDeleted = async (params, input) => {
36
+ const serviceDefaults = { minDelay: 15, maxDelay: 120 };
37
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
38
+ };
39
+ export const waitUntilHealthCheckSourceDeleted = async (params, input) => {
40
+ const serviceDefaults = { minDelay: 15, maxDelay: 120 };
41
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
42
+ return checkExceptions(result);
43
+ };
@@ -7,6 +7,7 @@ import { type ChangeResourceRecordSetsCommandInput, type ChangeResourceRecordSet
7
7
  import { type ChangeTagsForResourceCommandInput, type ChangeTagsForResourceCommandOutput } from "./commands/ChangeTagsForResourceCommand";
8
8
  import { type CreateCidrCollectionCommandInput, type CreateCidrCollectionCommandOutput } from "./commands/CreateCidrCollectionCommand";
9
9
  import { type CreateHealthCheckCommandInput, type CreateHealthCheckCommandOutput } from "./commands/CreateHealthCheckCommand";
10
+ import { type CreateHealthCheckSourceCommandInput, type CreateHealthCheckSourceCommandOutput } from "./commands/CreateHealthCheckSourceCommand";
10
11
  import { type CreateHostedZoneCommandInput, type CreateHostedZoneCommandOutput } from "./commands/CreateHostedZoneCommand";
11
12
  import { type CreateKeySigningKeyCommandInput, type CreateKeySigningKeyCommandOutput } from "./commands/CreateKeySigningKeyCommand";
12
13
  import { type CreateQueryLoggingConfigCommandInput, type CreateQueryLoggingConfigCommandOutput } from "./commands/CreateQueryLoggingConfigCommand";
@@ -19,6 +20,7 @@ import { type CreateVPCAssociationAuthorizationCommandInput, type CreateVPCAssoc
19
20
  import { type DeactivateKeySigningKeyCommandInput, type DeactivateKeySigningKeyCommandOutput } from "./commands/DeactivateKeySigningKeyCommand";
20
21
  import { type DeleteCidrCollectionCommandInput, type DeleteCidrCollectionCommandOutput } from "./commands/DeleteCidrCollectionCommand";
21
22
  import { type DeleteHealthCheckCommandInput, type DeleteHealthCheckCommandOutput } from "./commands/DeleteHealthCheckCommand";
23
+ import { type DeleteHealthCheckSourceCommandInput, type DeleteHealthCheckSourceCommandOutput } from "./commands/DeleteHealthCheckSourceCommand";
22
24
  import { type DeleteHostedZoneCommandInput, type DeleteHostedZoneCommandOutput } from "./commands/DeleteHostedZoneCommand";
23
25
  import { type DeleteKeySigningKeyCommandInput, type DeleteKeySigningKeyCommandOutput } from "./commands/DeleteKeySigningKeyCommand";
24
26
  import { type DeleteQueryLoggingConfigCommandInput, type DeleteQueryLoggingConfigCommandOutput } from "./commands/DeleteQueryLoggingConfigCommand";
@@ -38,6 +40,7 @@ import { type GetGeoLocationCommandInput, type GetGeoLocationCommandOutput } fro
38
40
  import { type GetHealthCheckCommandInput, type GetHealthCheckCommandOutput } from "./commands/GetHealthCheckCommand";
39
41
  import { type GetHealthCheckCountCommandInput, type GetHealthCheckCountCommandOutput } from "./commands/GetHealthCheckCountCommand";
40
42
  import { type GetHealthCheckLastFailureReasonCommandInput, type GetHealthCheckLastFailureReasonCommandOutput } from "./commands/GetHealthCheckLastFailureReasonCommand";
43
+ import { type GetHealthCheckSourceCommandInput, type GetHealthCheckSourceCommandOutput } from "./commands/GetHealthCheckSourceCommand";
41
44
  import { type GetHealthCheckStatusCommandInput, type GetHealthCheckStatusCommandOutput } from "./commands/GetHealthCheckStatusCommand";
42
45
  import { type GetHostedZoneCommandInput, type GetHostedZoneCommandOutput } from "./commands/GetHostedZoneCommand";
43
46
  import { type GetHostedZoneCountCommandInput, type GetHostedZoneCountCommandOutput } from "./commands/GetHostedZoneCountCommand";
@@ -52,7 +55,9 @@ import { type ListCidrBlocksCommandInput, type ListCidrBlocksCommandOutput } fro
52
55
  import { type ListCidrCollectionsCommandInput, type ListCidrCollectionsCommandOutput } from "./commands/ListCidrCollectionsCommand";
53
56
  import { type ListCidrLocationsCommandInput, type ListCidrLocationsCommandOutput } from "./commands/ListCidrLocationsCommand";
54
57
  import { type ListGeoLocationsCommandInput, type ListGeoLocationsCommandOutput } from "./commands/ListGeoLocationsCommand";
58
+ import { type ListHealthChecksBySourceCommandInput, type ListHealthChecksBySourceCommandOutput } from "./commands/ListHealthChecksBySourceCommand";
55
59
  import { type ListHealthChecksCommandInput, type ListHealthChecksCommandOutput } from "./commands/ListHealthChecksCommand";
60
+ import { type ListHealthCheckSourcesCommandInput, type ListHealthCheckSourcesCommandOutput } from "./commands/ListHealthCheckSourcesCommand";
56
61
  import { type ListHostedZonesByNameCommandInput, type ListHostedZonesByNameCommandOutput } from "./commands/ListHostedZonesByNameCommand";
57
62
  import { type ListHostedZonesByVPCCommandInput, type ListHostedZonesByVPCCommandOutput } from "./commands/ListHostedZonesByVPCCommand";
58
63
  import { type ListHostedZonesCommandInput, type ListHostedZonesCommandOutput } from "./commands/ListHostedZonesCommand";
@@ -74,6 +79,7 @@ import { type UpdateHostedZoneCommentCommandInput, type UpdateHostedZoneCommentC
74
79
  import { type UpdateHostedZoneFeaturesCommandInput, type UpdateHostedZoneFeaturesCommandOutput } from "./commands/UpdateHostedZoneFeaturesCommand";
75
80
  import { type UpdateTrafficPolicyCommentCommandInput, type UpdateTrafficPolicyCommentCommandOutput } from "./commands/UpdateTrafficPolicyCommentCommand";
76
81
  import { type UpdateTrafficPolicyInstanceCommandInput, type UpdateTrafficPolicyInstanceCommandOutput } from "./commands/UpdateTrafficPolicyInstanceCommand";
82
+ import type { NoSuchHealthCheckSource } from "./models/errors";
77
83
  import { Route53Client } from "./Route53Client";
78
84
  /**
79
85
  * @public
@@ -124,6 +130,12 @@ export interface Route53 {
124
130
  createHealthCheck(args: CreateHealthCheckCommandInput, options?: Route53RequestOptions): Promise<CreateHealthCheckCommandOutput>;
125
131
  createHealthCheck(args: CreateHealthCheckCommandInput, cb: (err: any, data?: CreateHealthCheckCommandOutput) => void): void;
126
132
  createHealthCheck(args: CreateHealthCheckCommandInput, options: Route53RequestOptions, cb: (err: any, data?: CreateHealthCheckCommandOutput) => void): void;
133
+ /**
134
+ * @see {@link CreateHealthCheckSourceCommand}
135
+ */
136
+ createHealthCheckSource(args: CreateHealthCheckSourceCommandInput, options?: Route53RequestOptions): Promise<CreateHealthCheckSourceCommandOutput>;
137
+ createHealthCheckSource(args: CreateHealthCheckSourceCommandInput, cb: (err: any, data?: CreateHealthCheckSourceCommandOutput) => void): void;
138
+ createHealthCheckSource(args: CreateHealthCheckSourceCommandInput, options: Route53RequestOptions, cb: (err: any, data?: CreateHealthCheckSourceCommandOutput) => void): void;
127
139
  /**
128
140
  * @see {@link CreateHostedZoneCommand}
129
141
  */
@@ -196,6 +208,12 @@ export interface Route53 {
196
208
  deleteHealthCheck(args: DeleteHealthCheckCommandInput, options?: Route53RequestOptions): Promise<DeleteHealthCheckCommandOutput>;
197
209
  deleteHealthCheck(args: DeleteHealthCheckCommandInput, cb: (err: any, data?: DeleteHealthCheckCommandOutput) => void): void;
198
210
  deleteHealthCheck(args: DeleteHealthCheckCommandInput, options: Route53RequestOptions, cb: (err: any, data?: DeleteHealthCheckCommandOutput) => void): void;
211
+ /**
212
+ * @see {@link DeleteHealthCheckSourceCommand}
213
+ */
214
+ deleteHealthCheckSource(args: DeleteHealthCheckSourceCommandInput, options?: Route53RequestOptions): Promise<DeleteHealthCheckSourceCommandOutput>;
215
+ deleteHealthCheckSource(args: DeleteHealthCheckSourceCommandInput, cb: (err: any, data?: DeleteHealthCheckSourceCommandOutput) => void): void;
216
+ deleteHealthCheckSource(args: DeleteHealthCheckSourceCommandInput, options: Route53RequestOptions, cb: (err: any, data?: DeleteHealthCheckSourceCommandOutput) => void): void;
199
217
  /**
200
218
  * @see {@link DeleteHostedZoneCommand}
201
219
  */
@@ -313,6 +331,12 @@ export interface Route53 {
313
331
  getHealthCheckLastFailureReason(args: GetHealthCheckLastFailureReasonCommandInput, options?: Route53RequestOptions): Promise<GetHealthCheckLastFailureReasonCommandOutput>;
314
332
  getHealthCheckLastFailureReason(args: GetHealthCheckLastFailureReasonCommandInput, cb: (err: any, data?: GetHealthCheckLastFailureReasonCommandOutput) => void): void;
315
333
  getHealthCheckLastFailureReason(args: GetHealthCheckLastFailureReasonCommandInput, options: Route53RequestOptions, cb: (err: any, data?: GetHealthCheckLastFailureReasonCommandOutput) => void): void;
334
+ /**
335
+ * @see {@link GetHealthCheckSourceCommand}
336
+ */
337
+ getHealthCheckSource(args: GetHealthCheckSourceCommandInput, options?: Route53RequestOptions): Promise<GetHealthCheckSourceCommandOutput>;
338
+ getHealthCheckSource(args: GetHealthCheckSourceCommandInput, cb: (err: any, data?: GetHealthCheckSourceCommandOutput) => void): void;
339
+ getHealthCheckSource(args: GetHealthCheckSourceCommandInput, options: Route53RequestOptions, cb: (err: any, data?: GetHealthCheckSourceCommandOutput) => void): void;
316
340
  /**
317
341
  * @see {@link GetHealthCheckStatusCommand}
318
342
  */
@@ -408,6 +432,19 @@ export interface Route53 {
408
432
  listHealthChecks(args: ListHealthChecksCommandInput, options?: Route53RequestOptions): Promise<ListHealthChecksCommandOutput>;
409
433
  listHealthChecks(args: ListHealthChecksCommandInput, cb: (err: any, data?: ListHealthChecksCommandOutput) => void): void;
410
434
  listHealthChecks(args: ListHealthChecksCommandInput, options: Route53RequestOptions, cb: (err: any, data?: ListHealthChecksCommandOutput) => void): void;
435
+ /**
436
+ * @see {@link ListHealthChecksBySourceCommand}
437
+ */
438
+ listHealthChecksBySource(args: ListHealthChecksBySourceCommandInput, options?: Route53RequestOptions): Promise<ListHealthChecksBySourceCommandOutput>;
439
+ listHealthChecksBySource(args: ListHealthChecksBySourceCommandInput, cb: (err: any, data?: ListHealthChecksBySourceCommandOutput) => void): void;
440
+ listHealthChecksBySource(args: ListHealthChecksBySourceCommandInput, options: Route53RequestOptions, cb: (err: any, data?: ListHealthChecksBySourceCommandOutput) => void): void;
441
+ /**
442
+ * @see {@link ListHealthCheckSourcesCommand}
443
+ */
444
+ listHealthCheckSources(): Promise<ListHealthCheckSourcesCommandOutput>;
445
+ listHealthCheckSources(args: ListHealthCheckSourcesCommandInput, options?: Route53RequestOptions): Promise<ListHealthCheckSourcesCommandOutput>;
446
+ listHealthCheckSources(args: ListHealthCheckSourcesCommandInput, cb: (err: any, data?: ListHealthCheckSourcesCommandOutput) => void): void;
447
+ listHealthCheckSources(args: ListHealthCheckSourcesCommandInput, options: Route53RequestOptions, cb: (err: any, data?: ListHealthCheckSourcesCommandOutput) => void): void;
411
448
  /**
412
449
  * @see {@link ListHostedZonesCommand}
413
450
  */
@@ -568,6 +605,20 @@ export interface Route53 {
568
605
  * @returns AsyncIterable of {@link ListHealthChecksCommandOutput}.
569
606
  */
570
607
  paginateListHealthChecks(args?: ListHealthChecksCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListHealthChecksCommandOutput>;
608
+ /**
609
+ * @see {@link ListHealthChecksBySourceCommand}
610
+ * @param args - command input.
611
+ * @param paginationConfig - optional pagination config.
612
+ * @returns AsyncIterable of {@link ListHealthChecksBySourceCommandOutput}.
613
+ */
614
+ paginateListHealthChecksBySource(args: ListHealthChecksBySourceCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListHealthChecksBySourceCommandOutput>;
615
+ /**
616
+ * @see {@link ListHealthCheckSourcesCommand}
617
+ * @param args - command input.
618
+ * @param paginationConfig - optional pagination config.
619
+ * @returns AsyncIterable of {@link ListHealthCheckSourcesCommandOutput}.
620
+ */
621
+ paginateListHealthCheckSources(args?: ListHealthCheckSourcesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListHealthCheckSourcesCommandOutput>;
571
622
  /**
572
623
  * @see {@link ListHostedZonesCommand}
573
624
  * @param args - command input.
@@ -595,6 +646,18 @@ export interface Route53 {
595
646
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
596
647
  */
597
648
  waitUntilResourceRecordSetsChanged(args: GetChangeCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Route53>, "client">): Promise<WaiterResult<GetChangeCommandOutput>>;
649
+ /**
650
+ * @see {@link GetHealthCheckSourceCommand}
651
+ * @param args - command input.
652
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
653
+ */
654
+ waitUntilHealthCheckSourceCreated(args: GetHealthCheckSourceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Route53>, "client">): Promise<WaiterResult<GetHealthCheckSourceCommandOutput>>;
655
+ /**
656
+ * @see {@link GetHealthCheckSourceCommand}
657
+ * @param args - command input.
658
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
659
+ */
660
+ waitUntilHealthCheckSourceDeleted(args: GetHealthCheckSourceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Route53>, "client">): Promise<WaiterResult<GetHealthCheckSourceCommandOutput | NoSuchHealthCheckSource>>;
598
661
  }
599
662
  /**
600
663
  * <p>Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web
@@ -13,6 +13,7 @@ import type { ChangeResourceRecordSetsCommandInput, ChangeResourceRecordSetsComm
13
13
  import type { ChangeTagsForResourceCommandInput, ChangeTagsForResourceCommandOutput } from "./commands/ChangeTagsForResourceCommand";
14
14
  import type { CreateCidrCollectionCommandInput, CreateCidrCollectionCommandOutput } from "./commands/CreateCidrCollectionCommand";
15
15
  import type { CreateHealthCheckCommandInput, CreateHealthCheckCommandOutput } from "./commands/CreateHealthCheckCommand";
16
+ import type { CreateHealthCheckSourceCommandInput, CreateHealthCheckSourceCommandOutput } from "./commands/CreateHealthCheckSourceCommand";
16
17
  import type { CreateHostedZoneCommandInput, CreateHostedZoneCommandOutput } from "./commands/CreateHostedZoneCommand";
17
18
  import type { CreateKeySigningKeyCommandInput, CreateKeySigningKeyCommandOutput } from "./commands/CreateKeySigningKeyCommand";
18
19
  import type { CreateQueryLoggingConfigCommandInput, CreateQueryLoggingConfigCommandOutput } from "./commands/CreateQueryLoggingConfigCommand";
@@ -25,6 +26,7 @@ import type { CreateVPCAssociationAuthorizationCommandInput, CreateVPCAssociatio
25
26
  import type { DeactivateKeySigningKeyCommandInput, DeactivateKeySigningKeyCommandOutput } from "./commands/DeactivateKeySigningKeyCommand";
26
27
  import type { DeleteCidrCollectionCommandInput, DeleteCidrCollectionCommandOutput } from "./commands/DeleteCidrCollectionCommand";
27
28
  import type { DeleteHealthCheckCommandInput, DeleteHealthCheckCommandOutput } from "./commands/DeleteHealthCheckCommand";
29
+ import type { DeleteHealthCheckSourceCommandInput, DeleteHealthCheckSourceCommandOutput } from "./commands/DeleteHealthCheckSourceCommand";
28
30
  import type { DeleteHostedZoneCommandInput, DeleteHostedZoneCommandOutput } from "./commands/DeleteHostedZoneCommand";
29
31
  import type { DeleteKeySigningKeyCommandInput, DeleteKeySigningKeyCommandOutput } from "./commands/DeleteKeySigningKeyCommand";
30
32
  import type { DeleteQueryLoggingConfigCommandInput, DeleteQueryLoggingConfigCommandOutput } from "./commands/DeleteQueryLoggingConfigCommand";
@@ -44,6 +46,7 @@ import type { GetGeoLocationCommandInput, GetGeoLocationCommandOutput } from "./
44
46
  import type { GetHealthCheckCommandInput, GetHealthCheckCommandOutput } from "./commands/GetHealthCheckCommand";
45
47
  import type { GetHealthCheckCountCommandInput, GetHealthCheckCountCommandOutput } from "./commands/GetHealthCheckCountCommand";
46
48
  import type { GetHealthCheckLastFailureReasonCommandInput, GetHealthCheckLastFailureReasonCommandOutput } from "./commands/GetHealthCheckLastFailureReasonCommand";
49
+ import type { GetHealthCheckSourceCommandInput, GetHealthCheckSourceCommandOutput } from "./commands/GetHealthCheckSourceCommand";
47
50
  import type { GetHealthCheckStatusCommandInput, GetHealthCheckStatusCommandOutput } from "./commands/GetHealthCheckStatusCommand";
48
51
  import type { GetHostedZoneCommandInput, GetHostedZoneCommandOutput } from "./commands/GetHostedZoneCommand";
49
52
  import type { GetHostedZoneCountCommandInput, GetHostedZoneCountCommandOutput } from "./commands/GetHostedZoneCountCommand";
@@ -58,7 +61,9 @@ import type { ListCidrBlocksCommandInput, ListCidrBlocksCommandOutput } from "./
58
61
  import type { ListCidrCollectionsCommandInput, ListCidrCollectionsCommandOutput } from "./commands/ListCidrCollectionsCommand";
59
62
  import type { ListCidrLocationsCommandInput, ListCidrLocationsCommandOutput } from "./commands/ListCidrLocationsCommand";
60
63
  import type { ListGeoLocationsCommandInput, ListGeoLocationsCommandOutput } from "./commands/ListGeoLocationsCommand";
64
+ import type { ListHealthChecksBySourceCommandInput, ListHealthChecksBySourceCommandOutput } from "./commands/ListHealthChecksBySourceCommand";
61
65
  import type { ListHealthChecksCommandInput, ListHealthChecksCommandOutput } from "./commands/ListHealthChecksCommand";
66
+ import type { ListHealthCheckSourcesCommandInput, ListHealthCheckSourcesCommandOutput } from "./commands/ListHealthCheckSourcesCommand";
62
67
  import type { ListHostedZonesByNameCommandInput, ListHostedZonesByNameCommandOutput } from "./commands/ListHostedZonesByNameCommand";
63
68
  import type { ListHostedZonesByVPCCommandInput, ListHostedZonesByVPCCommandOutput } from "./commands/ListHostedZonesByVPCCommand";
64
69
  import type { ListHostedZonesCommandInput, ListHostedZonesCommandOutput } from "./commands/ListHostedZonesCommand";
@@ -86,11 +91,11 @@ export { __Client };
86
91
  /**
87
92
  * @public
88
93
  */
89
- export type ServiceInputTypes = ActivateKeySigningKeyCommandInput | AssociateVPCWithHostedZoneCommandInput | ChangeCidrCollectionCommandInput | ChangeResourceRecordSetsCommandInput | ChangeTagsForResourceCommandInput | CreateCidrCollectionCommandInput | CreateHealthCheckCommandInput | CreateHostedZoneCommandInput | CreateKeySigningKeyCommandInput | CreateQueryLoggingConfigCommandInput | CreateResourceRecordSetProtectionsCommandInput | CreateReusableDelegationSetCommandInput | CreateTrafficPolicyCommandInput | CreateTrafficPolicyInstanceCommandInput | CreateTrafficPolicyVersionCommandInput | CreateVPCAssociationAuthorizationCommandInput | DeactivateKeySigningKeyCommandInput | DeleteCidrCollectionCommandInput | DeleteHealthCheckCommandInput | DeleteHostedZoneCommandInput | DeleteKeySigningKeyCommandInput | DeleteQueryLoggingConfigCommandInput | DeleteResourceRecordSetProtectionsCommandInput | DeleteReusableDelegationSetCommandInput | DeleteTrafficPolicyCommandInput | DeleteTrafficPolicyInstanceCommandInput | DeleteVPCAssociationAuthorizationCommandInput | DisableHostedZoneDNSSECCommandInput | DisassociateVPCFromHostedZoneCommandInput | EnableHostedZoneDNSSECCommandInput | GetAccountLimitCommandInput | GetChangeCommandInput | GetCheckerIpRangesCommandInput | GetDNSSECCommandInput | GetGeoLocationCommandInput | GetHealthCheckCommandInput | GetHealthCheckCountCommandInput | GetHealthCheckLastFailureReasonCommandInput | GetHealthCheckStatusCommandInput | GetHostedZoneCommandInput | GetHostedZoneCountCommandInput | GetHostedZoneLimitCommandInput | GetQueryLoggingConfigCommandInput | GetReusableDelegationSetCommandInput | GetReusableDelegationSetLimitCommandInput | GetTrafficPolicyCommandInput | GetTrafficPolicyInstanceCommandInput | GetTrafficPolicyInstanceCountCommandInput | ListCidrBlocksCommandInput | ListCidrCollectionsCommandInput | ListCidrLocationsCommandInput | ListGeoLocationsCommandInput | ListHealthChecksCommandInput | ListHostedZonesByNameCommandInput | ListHostedZonesByVPCCommandInput | ListHostedZonesCommandInput | ListQueryLoggingConfigsCommandInput | ListResourceRecordSetProtectionsCommandInput | ListResourceRecordSetsCommandInput | ListReusableDelegationSetsCommandInput | ListTagsForResourceCommandInput | ListTagsForResourcesCommandInput | ListTrafficPoliciesCommandInput | ListTrafficPolicyInstancesByHostedZoneCommandInput | ListTrafficPolicyInstancesByPolicyCommandInput | ListTrafficPolicyInstancesCommandInput | ListTrafficPolicyVersionsCommandInput | ListVPCAssociationAuthorizationsCommandInput | TestDNSAnswerCommandInput | UpdateHealthCheckCommandInput | UpdateHostedZoneCommentCommandInput | UpdateHostedZoneFeaturesCommandInput | UpdateTrafficPolicyCommentCommandInput | UpdateTrafficPolicyInstanceCommandInput;
94
+ export type ServiceInputTypes = ActivateKeySigningKeyCommandInput | AssociateVPCWithHostedZoneCommandInput | ChangeCidrCollectionCommandInput | ChangeResourceRecordSetsCommandInput | ChangeTagsForResourceCommandInput | CreateCidrCollectionCommandInput | CreateHealthCheckCommandInput | CreateHealthCheckSourceCommandInput | CreateHostedZoneCommandInput | CreateKeySigningKeyCommandInput | CreateQueryLoggingConfigCommandInput | CreateResourceRecordSetProtectionsCommandInput | CreateReusableDelegationSetCommandInput | CreateTrafficPolicyCommandInput | CreateTrafficPolicyInstanceCommandInput | CreateTrafficPolicyVersionCommandInput | CreateVPCAssociationAuthorizationCommandInput | DeactivateKeySigningKeyCommandInput | DeleteCidrCollectionCommandInput | DeleteHealthCheckCommandInput | DeleteHealthCheckSourceCommandInput | DeleteHostedZoneCommandInput | DeleteKeySigningKeyCommandInput | DeleteQueryLoggingConfigCommandInput | DeleteResourceRecordSetProtectionsCommandInput | DeleteReusableDelegationSetCommandInput | DeleteTrafficPolicyCommandInput | DeleteTrafficPolicyInstanceCommandInput | DeleteVPCAssociationAuthorizationCommandInput | DisableHostedZoneDNSSECCommandInput | DisassociateVPCFromHostedZoneCommandInput | EnableHostedZoneDNSSECCommandInput | GetAccountLimitCommandInput | GetChangeCommandInput | GetCheckerIpRangesCommandInput | GetDNSSECCommandInput | GetGeoLocationCommandInput | GetHealthCheckCommandInput | GetHealthCheckCountCommandInput | GetHealthCheckLastFailureReasonCommandInput | GetHealthCheckSourceCommandInput | GetHealthCheckStatusCommandInput | GetHostedZoneCommandInput | GetHostedZoneCountCommandInput | GetHostedZoneLimitCommandInput | GetQueryLoggingConfigCommandInput | GetReusableDelegationSetCommandInput | GetReusableDelegationSetLimitCommandInput | GetTrafficPolicyCommandInput | GetTrafficPolicyInstanceCommandInput | GetTrafficPolicyInstanceCountCommandInput | ListCidrBlocksCommandInput | ListCidrCollectionsCommandInput | ListCidrLocationsCommandInput | ListGeoLocationsCommandInput | ListHealthCheckSourcesCommandInput | ListHealthChecksBySourceCommandInput | ListHealthChecksCommandInput | ListHostedZonesByNameCommandInput | ListHostedZonesByVPCCommandInput | ListHostedZonesCommandInput | ListQueryLoggingConfigsCommandInput | ListResourceRecordSetProtectionsCommandInput | ListResourceRecordSetsCommandInput | ListReusableDelegationSetsCommandInput | ListTagsForResourceCommandInput | ListTagsForResourcesCommandInput | ListTrafficPoliciesCommandInput | ListTrafficPolicyInstancesByHostedZoneCommandInput | ListTrafficPolicyInstancesByPolicyCommandInput | ListTrafficPolicyInstancesCommandInput | ListTrafficPolicyVersionsCommandInput | ListVPCAssociationAuthorizationsCommandInput | TestDNSAnswerCommandInput | UpdateHealthCheckCommandInput | UpdateHostedZoneCommentCommandInput | UpdateHostedZoneFeaturesCommandInput | UpdateTrafficPolicyCommentCommandInput | UpdateTrafficPolicyInstanceCommandInput;
90
95
  /**
91
96
  * @public
92
97
  */
93
- export type ServiceOutputTypes = ActivateKeySigningKeyCommandOutput | AssociateVPCWithHostedZoneCommandOutput | ChangeCidrCollectionCommandOutput | ChangeResourceRecordSetsCommandOutput | ChangeTagsForResourceCommandOutput | CreateCidrCollectionCommandOutput | CreateHealthCheckCommandOutput | CreateHostedZoneCommandOutput | CreateKeySigningKeyCommandOutput | CreateQueryLoggingConfigCommandOutput | CreateResourceRecordSetProtectionsCommandOutput | CreateReusableDelegationSetCommandOutput | CreateTrafficPolicyCommandOutput | CreateTrafficPolicyInstanceCommandOutput | CreateTrafficPolicyVersionCommandOutput | CreateVPCAssociationAuthorizationCommandOutput | DeactivateKeySigningKeyCommandOutput | DeleteCidrCollectionCommandOutput | DeleteHealthCheckCommandOutput | DeleteHostedZoneCommandOutput | DeleteKeySigningKeyCommandOutput | DeleteQueryLoggingConfigCommandOutput | DeleteResourceRecordSetProtectionsCommandOutput | DeleteReusableDelegationSetCommandOutput | DeleteTrafficPolicyCommandOutput | DeleteTrafficPolicyInstanceCommandOutput | DeleteVPCAssociationAuthorizationCommandOutput | DisableHostedZoneDNSSECCommandOutput | DisassociateVPCFromHostedZoneCommandOutput | EnableHostedZoneDNSSECCommandOutput | GetAccountLimitCommandOutput | GetChangeCommandOutput | GetCheckerIpRangesCommandOutput | GetDNSSECCommandOutput | GetGeoLocationCommandOutput | GetHealthCheckCommandOutput | GetHealthCheckCountCommandOutput | GetHealthCheckLastFailureReasonCommandOutput | GetHealthCheckStatusCommandOutput | GetHostedZoneCommandOutput | GetHostedZoneCountCommandOutput | GetHostedZoneLimitCommandOutput | GetQueryLoggingConfigCommandOutput | GetReusableDelegationSetCommandOutput | GetReusableDelegationSetLimitCommandOutput | GetTrafficPolicyCommandOutput | GetTrafficPolicyInstanceCommandOutput | GetTrafficPolicyInstanceCountCommandOutput | ListCidrBlocksCommandOutput | ListCidrCollectionsCommandOutput | ListCidrLocationsCommandOutput | ListGeoLocationsCommandOutput | ListHealthChecksCommandOutput | ListHostedZonesByNameCommandOutput | ListHostedZonesByVPCCommandOutput | ListHostedZonesCommandOutput | ListQueryLoggingConfigsCommandOutput | ListResourceRecordSetProtectionsCommandOutput | ListResourceRecordSetsCommandOutput | ListReusableDelegationSetsCommandOutput | ListTagsForResourceCommandOutput | ListTagsForResourcesCommandOutput | ListTrafficPoliciesCommandOutput | ListTrafficPolicyInstancesByHostedZoneCommandOutput | ListTrafficPolicyInstancesByPolicyCommandOutput | ListTrafficPolicyInstancesCommandOutput | ListTrafficPolicyVersionsCommandOutput | ListVPCAssociationAuthorizationsCommandOutput | TestDNSAnswerCommandOutput | UpdateHealthCheckCommandOutput | UpdateHostedZoneCommentCommandOutput | UpdateHostedZoneFeaturesCommandOutput | UpdateTrafficPolicyCommentCommandOutput | UpdateTrafficPolicyInstanceCommandOutput;
98
+ export type ServiceOutputTypes = ActivateKeySigningKeyCommandOutput | AssociateVPCWithHostedZoneCommandOutput | ChangeCidrCollectionCommandOutput | ChangeResourceRecordSetsCommandOutput | ChangeTagsForResourceCommandOutput | CreateCidrCollectionCommandOutput | CreateHealthCheckCommandOutput | CreateHealthCheckSourceCommandOutput | CreateHostedZoneCommandOutput | CreateKeySigningKeyCommandOutput | CreateQueryLoggingConfigCommandOutput | CreateResourceRecordSetProtectionsCommandOutput | CreateReusableDelegationSetCommandOutput | CreateTrafficPolicyCommandOutput | CreateTrafficPolicyInstanceCommandOutput | CreateTrafficPolicyVersionCommandOutput | CreateVPCAssociationAuthorizationCommandOutput | DeactivateKeySigningKeyCommandOutput | DeleteCidrCollectionCommandOutput | DeleteHealthCheckCommandOutput | DeleteHealthCheckSourceCommandOutput | DeleteHostedZoneCommandOutput | DeleteKeySigningKeyCommandOutput | DeleteQueryLoggingConfigCommandOutput | DeleteResourceRecordSetProtectionsCommandOutput | DeleteReusableDelegationSetCommandOutput | DeleteTrafficPolicyCommandOutput | DeleteTrafficPolicyInstanceCommandOutput | DeleteVPCAssociationAuthorizationCommandOutput | DisableHostedZoneDNSSECCommandOutput | DisassociateVPCFromHostedZoneCommandOutput | EnableHostedZoneDNSSECCommandOutput | GetAccountLimitCommandOutput | GetChangeCommandOutput | GetCheckerIpRangesCommandOutput | GetDNSSECCommandOutput | GetGeoLocationCommandOutput | GetHealthCheckCommandOutput | GetHealthCheckCountCommandOutput | GetHealthCheckLastFailureReasonCommandOutput | GetHealthCheckSourceCommandOutput | GetHealthCheckStatusCommandOutput | GetHostedZoneCommandOutput | GetHostedZoneCountCommandOutput | GetHostedZoneLimitCommandOutput | GetQueryLoggingConfigCommandOutput | GetReusableDelegationSetCommandOutput | GetReusableDelegationSetLimitCommandOutput | GetTrafficPolicyCommandOutput | GetTrafficPolicyInstanceCommandOutput | GetTrafficPolicyInstanceCountCommandOutput | ListCidrBlocksCommandOutput | ListCidrCollectionsCommandOutput | ListCidrLocationsCommandOutput | ListGeoLocationsCommandOutput | ListHealthCheckSourcesCommandOutput | ListHealthChecksBySourceCommandOutput | ListHealthChecksCommandOutput | ListHostedZonesByNameCommandOutput | ListHostedZonesByVPCCommandOutput | ListHostedZonesCommandOutput | ListQueryLoggingConfigsCommandOutput | ListResourceRecordSetProtectionsCommandOutput | ListResourceRecordSetsCommandOutput | ListReusableDelegationSetsCommandOutput | ListTagsForResourceCommandOutput | ListTagsForResourcesCommandOutput | ListTrafficPoliciesCommandOutput | ListTrafficPolicyInstancesByHostedZoneCommandOutput | ListTrafficPolicyInstancesByPolicyCommandOutput | ListTrafficPolicyInstancesCommandOutput | ListTrafficPolicyVersionsCommandOutput | ListVPCAssociationAuthorizationsCommandOutput | TestDNSAnswerCommandOutput | UpdateHealthCheckCommandOutput | UpdateHostedZoneCommentCommandOutput | UpdateHostedZoneFeaturesCommandOutput | UpdateTrafficPolicyCommentCommandOutput | UpdateTrafficPolicyInstanceCommandOutput;
94
99
  /**
95
100
  * @public
96
101
  */
@@ -24,7 +24,7 @@ declare const ChangeTagsForResourceCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Adds, edits, or deletes tags for a health check or a hosted zone.</p>
27
+ * <p>Adds, edits, or deletes tags for a health check, a health check source, or a hosted zone.</p>
28
28
  * <p>For information about using tags for cost allocation, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Using Cost Allocation
29
29
  * Tags</a> in the <i>Billing and Cost Management User Guide</i>.</p>
30
30
  * @example
@@ -36,7 +36,7 @@ declare const ChangeTagsForResourceCommand_base: {
36
36
  * const config = {}; // type is Route53ClientConfig
37
37
  * const client = new Route53Client(config);
38
38
  * const input = { // ChangeTagsForResourceRequest
39
- * ResourceType: "healthcheck" || "hostedzone", // required
39
+ * ResourceType: "healthcheck" || "hostedzone" || "healthchecksource", // required
40
40
  * ResourceId: "STRING_VALUE", // required
41
41
  * AddTags: [ // TagList
42
42
  * { // Tag
@@ -66,6 +66,9 @@ declare const ChangeTagsForResourceCommand_base: {
66
66
  * @throws {@link NoSuchHealthCheck} (client fault)
67
67
  * <p>No health check exists with the specified ID.</p>
68
68
  *
69
+ * @throws {@link NoSuchHealthCheckSource} (client fault)
70
+ * <p>No health check source exists with the specified ID. Verify that the ID is correct and that the health check source hasn't been deleted.</p>
71
+ *
69
72
  * @throws {@link NoSuchHostedZone} (client fault)
70
73
  * <p>No hosted zone exists with the ID that you specified.</p>
71
74
  *
@@ -40,9 +40,15 @@ declare const CreateHealthCheckCommand_base: {
40
40
  * zone. Note the following:</p>
41
41
  * <ul>
42
42
  * <li>
43
- * <p>Route 53 health checkers are outside the VPC. To check the health of an
44
- * endpoint within a VPC by IP address, you must assign a public IP address to the
45
- * instance in the VPC.</p>
43
+ * <p>For a public health check, Route 53 health checkers are outside the VPC. To
44
+ * check the health of an endpoint within a VPC by IP address, you must assign a
45
+ * public IP address to the instance in the VPC.</p>
46
+ * </li>
47
+ * <li>
48
+ * <p>To check the health of an endpoint within a VPC by using a private IP
49
+ * address, use a private endpoint health check (<code>EndpointType</code> of
50
+ * <code>PRIVATE</code>). For more information, see
51
+ * <code>CreateHealthCheckSource</code>.</p>
46
52
  * </li>
47
53
  * <li>
48
54
  * <p>You can configure a health checker to check the health of an external resource
@@ -95,6 +101,8 @@ declare const CreateHealthCheckCommand_base: {
95
101
  * },
96
102
  * InsufficientDataHealthStatus: "Healthy" || "Unhealthy" || "LastKnownStatus",
97
103
  * RoutingControlArn: "STRING_VALUE",
104
+ * EndpointType: "PUBLIC" || "PRIVATE",
105
+ * HealthCheckSourceId: "STRING_VALUE",
98
106
  * },
99
107
  * };
100
108
  * const command = new CreateHealthCheckCommand(input);
@@ -133,6 +141,8 @@ declare const CreateHealthCheckCommand_base: {
133
141
  * // },
134
142
  * // InsufficientDataHealthStatus: "Healthy" || "Unhealthy" || "LastKnownStatus",
135
143
  * // RoutingControlArn: "STRING_VALUE",
144
+ * // EndpointType: "PUBLIC" || "PRIVATE",
145
+ * // HealthCheckSourceId: "STRING_VALUE",
136
146
  * // },
137
147
  * // HealthCheckVersion: Number("long"), // required
138
148
  * // CloudWatchAlarmConfiguration: { // CloudWatchAlarmConfiguration
@@ -183,7 +193,9 @@ declare const CreateHealthCheckCommand_base: {
183
193
  *
184
194
  * @throws {@link TooManyHealthChecks} (client fault)
185
195
  * <p>This health check can't be created because the current account has reached the limit
186
- * on the number of active health checks.</p>
196
+ * on the number of active health checks, or because the health check source for a private
197
+ * health check has reached its limit on active health checks. In the second case,
198
+ * specify a different health check source.</p>
187
199
  * <p>For information about default limits, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html">Limits</a> in the
188
200
  * <i>Amazon Route 53 Developer Guide</i>.</p>
189
201
  * <p>For information about how to get the current limit for an account, see <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html">GetAccountLimit</a>. To request a higher limit, <a href="http://aws.amazon.com/route53-request">create a case</a> with the Amazon Web Services Support
@@ -0,0 +1,109 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateHealthCheckSourceRequest, CreateHealthCheckSourceResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateHealthCheckSourceCommand}.
11
+ */
12
+ export interface CreateHealthCheckSourceCommandInput extends CreateHealthCheckSourceRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateHealthCheckSourceCommand}.
18
+ */
19
+ export interface CreateHealthCheckSourceCommandOutput extends CreateHealthCheckSourceResponse, __MetadataBearer {
20
+ }
21
+ declare const CreateHealthCheckSourceCommand_base: {
22
+ new (input: CreateHealthCheckSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateHealthCheckSourceCommandInput, CreateHealthCheckSourceCommandOutput, import("..").Route53ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateHealthCheckSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateHealthCheckSourceCommandInput, CreateHealthCheckSourceCommandOutput, import("..").Route53ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates a health check source, which defines the virtual private cloud (VPC), subnets, and security groups from which Route 53 sends private endpoint health check requests. To use this operation, you must have the <code>route53:CreateHealthCheckSource</code> permission. You must also have permission to create a service-linked role.</p>
28
+ * <p>Specify a VPC, one subnet in each Availability Zone that Route 53 uses for private endpoint health checks in the Amazon Web Services Region, and one or more security groups for each subnet. The security groups must allow outbound traffic to the endpoints that you want to check.</p>
29
+ * <p>Route 53 creates a health check source asynchronously, and the initial <code>HealthCheckSourceStatus</code> is <code>CREATE_PENDING</code>. Call <code>GetHealthCheckSource</code> until the status is <code>CREATE_COMPLETED</code> before you create health checks that use the source. You can't change the configuration of a health check source after you create it.</p>
30
+ * <p>If AWS Identity and Access Management (IAM) is still deleting the Route 53 service-linked role for your account, the request fails with <code>InvalidInput</code>. Retry after the deletion completes.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { Route53Client, CreateHealthCheckSourceCommand } from "@aws-sdk/client-route-53"; // ES Modules import
35
+ * // const { Route53Client, CreateHealthCheckSourceCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
36
+ * // import type { Route53ClientConfig } from "@aws-sdk/client-route-53";
37
+ * const config = {}; // type is Route53ClientConfig
38
+ * const client = new Route53Client(config);
39
+ * const input = { // CreateHealthCheckSourceRequest
40
+ * CallerReference: "STRING_VALUE",
41
+ * HealthCheckSourceConfig: { // HealthCheckSourceConfig
42
+ * VpcId: "STRING_VALUE", // required
43
+ * SubnetConfigurationList: [ // SubnetConfigurationList // required
44
+ * { // SubnetConfiguration
45
+ * SubnetId: "STRING_VALUE", // required
46
+ * AvailabilityZoneId: "STRING_VALUE", // required
47
+ * SecurityGroupIdList: [ // SecurityGroupIdList // required
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * },
51
+ * ],
52
+ * },
53
+ * Tags: [ // TagList
54
+ * { // Tag
55
+ * Key: "STRING_VALUE",
56
+ * Value: "STRING_VALUE",
57
+ * },
58
+ * ],
59
+ * };
60
+ * const command = new CreateHealthCheckSourceCommand(input);
61
+ * const response = await client.send(command);
62
+ * // { // CreateHealthCheckSourceResponse
63
+ * // HealthCheckSourceId: "STRING_VALUE", // required
64
+ * // HealthCheckSourceStatus: "CREATE_PENDING" || "CREATE_IN_PROGRESS" || "CREATE_COMPLETED" || "CREATE_FAILED" || "DELETE_PENDING" || "DELETE_IN_PROGRESS" || "DELETE_COMPLETED" || "DELETE_FAILED", // required
65
+ * // Location: "STRING_VALUE", // required
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param CreateHealthCheckSourceCommandInput - {@link CreateHealthCheckSourceCommandInput}
71
+ * @returns {@link CreateHealthCheckSourceCommandOutput}
72
+ * @see {@link CreateHealthCheckSourceCommandInput} for command's `input` shape.
73
+ * @see {@link CreateHealthCheckSourceCommandOutput} for command's `response` shape.
74
+ * @see {@link Route53ClientResolvedConfig | config} for Route53Client's `config` shape.
75
+ *
76
+ * @throws {@link HealthCheckSourceAlreadyExists} (client fault)
77
+ * <p>The health check source that you're attempting to create already exists. Route 53 returns this error when you submit a request that has the same value for <code>CallerReference</code> as an existing health check source and one or more values that differ from the existing health check source. To create another health check source, specify a new value for <code>CallerReference</code>. To find the existing health check source, call <code>ListHealthCheckSources</code>.</p>
78
+ *
79
+ * @throws {@link InvalidInput} (client fault)
80
+ * <p>The input is not valid.</p>
81
+ *
82
+ * @throws {@link InvalidVPCId} (client fault)
83
+ * <p>The VPC ID that you specified either isn't a valid ID or the current account is not
84
+ * authorized to access this VPC.</p>
85
+ *
86
+ * @throws {@link TooManyHealthCheckSources} (client fault)
87
+ * <p>You can't create this health check source because the current account has reached its maximum number of health check sources. The maximum includes every health check source that hasn't reached <code>DELETE_COMPLETED</code> status, including a health check source with a status of <code>CREATE_FAILED</code>.</p>
88
+ * <p>For information about default limits, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html">Limits</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>
89
+ * <p>For information about how to get the current limit for an account, see <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html">GetAccountLimit</a>. To request a higher limit, <a href="http://aws.amazon.com/route53-request">create a case</a> with the Amazon Web Services Support Center.</p>
90
+ *
91
+ * @throws {@link Route53ServiceException}
92
+ * <p>Base exception class for all service exceptions from Route53 service.</p>
93
+ *
94
+ *
95
+ * @public
96
+ */
97
+ export declare class CreateHealthCheckSourceCommand extends CreateHealthCheckSourceCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: CreateHealthCheckSourceRequest;
102
+ output: CreateHealthCheckSourceResponse;
103
+ };
104
+ sdk: {
105
+ input: CreateHealthCheckSourceCommandInput;
106
+ output: CreateHealthCheckSourceCommandOutput;
107
+ };
108
+ };
109
+ }
@@ -0,0 +1,87 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteHealthCheckSourceRequest, DeleteHealthCheckSourceResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteHealthCheckSourceCommand}.
11
+ */
12
+ export interface DeleteHealthCheckSourceCommandInput extends DeleteHealthCheckSourceRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteHealthCheckSourceCommand}.
18
+ */
19
+ export interface DeleteHealthCheckSourceCommandOutput extends DeleteHealthCheckSourceResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteHealthCheckSourceCommand_base: {
22
+ new (input: DeleteHealthCheckSourceCommandInput): import("@smithy/core/client").CommandImpl<DeleteHealthCheckSourceCommandInput, DeleteHealthCheckSourceCommandOutput, import("..").Route53ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteHealthCheckSourceCommandInput): import("@smithy/core/client").CommandImpl<DeleteHealthCheckSourceCommandInput, DeleteHealthCheckSourceCommandOutput, import("..").Route53ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes a health check source. Before you delete a health check source, delete or update any health checks that reference it. Otherwise, the request fails with <code>InvalidInput</code>. The request also fails with <code>InvalidInput</code> if the status of the health check source is <code>CREATE_PENDING</code> or <code>CREATE_IN_PROGRESS</code>. Wait until the status is <code>CREATE_COMPLETED</code> or <code>CREATE_FAILED</code>, and then try again.</p>
28
+ * <p>Route 53 deletes a health check source asynchronously, and the initial <code>HealthCheckSourceStatus</code> is <code>DELETE_PENDING</code>. Call <code>GetHealthCheckSource</code> to track progress. After the deletion completes, <code>GetHealthCheckSource</code> returns <code>NoSuchHealthCheckSource</code> and the health check source no longer appears in the results of <code>ListHealthCheckSources</code>. If you delete a health check source that is already deleted, the request fails with <code>NoSuchHealthCheckSource</code>.</p>
29
+ * <p>To use this operation, you must have the <code>route53:DeleteHealthCheckSource</code> permission. You must also have permission to create a service-linked role.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { Route53Client, DeleteHealthCheckSourceCommand } from "@aws-sdk/client-route-53"; // ES Modules import
34
+ * // const { Route53Client, DeleteHealthCheckSourceCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
35
+ * // import type { Route53ClientConfig } from "@aws-sdk/client-route-53";
36
+ * const config = {}; // type is Route53ClientConfig
37
+ * const client = new Route53Client(config);
38
+ * const input = { // DeleteHealthCheckSourceRequest
39
+ * HealthCheckSourceId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new DeleteHealthCheckSourceCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // DeleteHealthCheckSourceResponse
44
+ * // HealthCheckSourceId: "STRING_VALUE", // required
45
+ * // HealthCheckSourceStatus: "CREATE_PENDING" || "CREATE_IN_PROGRESS" || "CREATE_COMPLETED" || "CREATE_FAILED" || "DELETE_PENDING" || "DELETE_IN_PROGRESS" || "DELETE_COMPLETED" || "DELETE_FAILED", // required
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param DeleteHealthCheckSourceCommandInput - {@link DeleteHealthCheckSourceCommandInput}
51
+ * @returns {@link DeleteHealthCheckSourceCommandOutput}
52
+ * @see {@link DeleteHealthCheckSourceCommandInput} for command's `input` shape.
53
+ * @see {@link DeleteHealthCheckSourceCommandOutput} for command's `response` shape.
54
+ * @see {@link Route53ClientResolvedConfig | config} for Route53Client's `config` shape.
55
+ *
56
+ * @throws {@link InvalidInput} (client fault)
57
+ * <p>The input is not valid.</p>
58
+ *
59
+ * @throws {@link NoSuchHealthCheckSource} (client fault)
60
+ * <p>No health check source exists with the specified ID. Verify that the ID is correct and that the health check source hasn't been deleted.</p>
61
+ *
62
+ * @throws {@link PriorRequestNotComplete} (client fault)
63
+ * <p>If Amazon Route 53 can't process a request before the next request arrives, it will
64
+ * reject subsequent requests for the same hosted zone and return an <code>HTTP 400
65
+ * error</code> (<code>Bad request</code>). If Route 53 returns this error repeatedly
66
+ * for the same request, we recommend that you wait, in intervals of increasing duration,
67
+ * before you try the request again.</p>
68
+ *
69
+ * @throws {@link Route53ServiceException}
70
+ * <p>Base exception class for all service exceptions from Route53 service.</p>
71
+ *
72
+ *
73
+ * @public
74
+ */
75
+ export declare class DeleteHealthCheckSourceCommand extends DeleteHealthCheckSourceCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: DeleteHealthCheckSourceRequest;
80
+ output: DeleteHealthCheckSourceResponse;
81
+ };
82
+ sdk: {
83
+ input: DeleteHealthCheckSourceCommandInput;
84
+ output: DeleteHealthCheckSourceCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -42,13 +42,13 @@ declare const GetAccountLimitCommand_base: {
42
42
  * const config = {}; // type is Route53ClientConfig
43
43
  * const client = new Route53Client(config);
44
44
  * const input = { // GetAccountLimitRequest
45
- * Type: "MAX_HEALTH_CHECKS_BY_OWNER" || "MAX_HOSTED_ZONES_BY_OWNER" || "MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER" || "MAX_REUSABLE_DELEGATION_SETS_BY_OWNER" || "MAX_TRAFFIC_POLICIES_BY_OWNER", // required
45
+ * Type: "MAX_HEALTH_CHECKS_BY_OWNER" || "MAX_HOSTED_ZONES_BY_OWNER" || "MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER" || "MAX_REUSABLE_DELEGATION_SETS_BY_OWNER" || "MAX_TRAFFIC_POLICIES_BY_OWNER" || "MAX_HEALTH_CHECK_SOURCES_BY_OWNER", // required
46
46
  * };
47
47
  * const command = new GetAccountLimitCommand(input);
48
48
  * const response = await client.send(command);
49
49
  * // { // GetAccountLimitResponse
50
50
  * // Limit: { // AccountLimit
51
- * // Type: "MAX_HEALTH_CHECKS_BY_OWNER" || "MAX_HOSTED_ZONES_BY_OWNER" || "MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER" || "MAX_REUSABLE_DELEGATION_SETS_BY_OWNER" || "MAX_TRAFFIC_POLICIES_BY_OWNER", // required
51
+ * // Type: "MAX_HEALTH_CHECKS_BY_OWNER" || "MAX_HOSTED_ZONES_BY_OWNER" || "MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER" || "MAX_REUSABLE_DELEGATION_SETS_BY_OWNER" || "MAX_TRAFFIC_POLICIES_BY_OWNER" || "MAX_HEALTH_CHECK_SOURCES_BY_OWNER", // required
52
52
  * // Value: Number("long"), // required
53
53
  * // },
54
54
  * // Count: Number("long"), // required
@@ -72,6 +72,8 @@ declare const GetHealthCheckCommand_base: {
72
72
  * // },
73
73
  * // InsufficientDataHealthStatus: "Healthy" || "Unhealthy" || "LastKnownStatus",
74
74
  * // RoutingControlArn: "STRING_VALUE",
75
+ * // EndpointType: "PUBLIC" || "PRIVATE",
76
+ * // HealthCheckSourceId: "STRING_VALUE",
75
77
  * // },
76
78
  * // HealthCheckVersion: Number("long"), // required
77
79
  * // CloudWatchAlarmConfiguration: { // CloudWatchAlarmConfiguration