@mavogel/awscdk-rootmail 0.1.55 → 0.1.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +9 -9
- package/API.md +4 -0
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/checksums/package.json +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +3 -3
- package/node_modules/@aws-sdk/client-route-53/README.md +130 -9
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +647 -43
- package/node_modules/@aws-sdk/client-route-53/dist-es/Route53.js +30 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/CreateHealthCheckSourceCommand.js +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/DeleteHealthCheckSourceCommand.js +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetHealthCheckSourceCommand.js +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetHostedZoneChangeBatchCommand.js +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListHealthCheckSourcesCommand.js +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListHealthChecksBySourceCommand.js +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListHostedZoneChangeBatchesCommand.js +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListResourceRecordSetChangesCommand.js +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/UpdateHostedZoneTierCommand.js +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/index.js +9 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/models/enums.js +67 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/models/errors.js +52 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/pagination/ListHealthCheckSourcesPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/pagination/ListHealthChecksBySourcePaginator.js +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/pagination/ListHostedZoneChangeBatchesPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/pagination/ListResourceRecordSetChangesPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/pagination/index.js +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/schemas/schemas_0.js +323 -43
- package/node_modules/@aws-sdk/client-route-53/dist-es/waiters/index.js +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/waiters/waitForHealthCheckSourceCreated.js +43 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/waiters/waitForHealthCheckSourceDeleted.js +43 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/Route53.d.ts +172 -9
- package/node_modules/@aws-sdk/client-route-53/dist-types/Route53Client.d.ts +78 -11
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ChangeResourceRecordSetsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ChangeTagsForResourceCommand.d.ts +5 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateHealthCheckCommand.d.ts +16 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateHealthCheckSourceCommand.d.ts +109 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateHostedZoneCommand.d.ts +20 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteHealthCheckSourceCommand.d.ts +87 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetAccountLimitCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHealthCheckCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHealthCheckSourceCommand.d.ts +94 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHostedZoneChangeBatchCommand.d.ts +145 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHostedZoneCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHealthCheckSourcesCommand.d.ts +96 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHealthChecksBySourceCommand.d.ts +138 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHealthChecksCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHostedZoneChangeBatchesCommand.d.ts +104 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHostedZonesByNameCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHostedZonesCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListResourceRecordSetChangesCommand.d.ts +148 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListResourceRecordSetsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListTagsForResourcesCommand.d.ts +5 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/UpdateHealthCheckCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/UpdateHostedZoneCommentCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/UpdateHostedZoneFeaturesCommand.d.ts +10 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/UpdateHostedZoneTierCommand.d.ts +86 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/index.d.ts +9 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/index.d.ts +67 -9
- package/node_modules/@aws-sdk/client-route-53/dist-types/models/enums.d.ts +155 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/models/errors.d.ts +57 -3
- package/node_modules/@aws-sdk/client-route-53/dist-types/models/models_0.d.ts +950 -40
- package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListHealthCheckSourcesPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListHealthChecksBySourcePaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListHostedZoneChangeBatchesPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListResourceRecordSetChangesPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/schemas/schemas_0.d.ts +39 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/Route53.d.ts +195 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/Route53Client.d.ts +54 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/CreateHealthCheckSourceCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/DeleteHealthCheckSourceCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetHealthCheckSourceCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/GetHostedZoneChangeBatchCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListHealthCheckSourcesCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListHealthChecksBySourceCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListHostedZoneChangeBatchesCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListResourceRecordSetChangesCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/UpdateHostedZoneTierCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/models/enums.d.ts +84 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/models/errors.d.ts +24 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/models/models_0.d.ts +154 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/pagination/ListHealthCheckSourcesPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/pagination/ListHealthChecksBySourcePaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/pagination/ListHostedZoneChangeBatchesPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/pagination/ListResourceRecordSetChangesPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/schemas/schemas_0.d.ts +39 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/waiters/waitForHealthCheckSourceCreated.d.ts +15 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/waiters/waitForHealthCheckSourceDeleted.d.ts +16 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/waiters/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/waiters/waitForHealthCheckSourceCreated.d.ts +15 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/waiters/waitForHealthCheckSourceDeleted.d.ts +16 -0
- package/node_modules/@aws-sdk/client-route-53/package.json +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-s3/package.json +6 -6
- package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ses/package.json +3 -3
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +29 -15
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/enums.js +5 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/schemas/schemas_0.js +22 -14
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentVersionsCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentsCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/enums.d.ts +13 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +51 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +58 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ssm/package.json +3 -3
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +17 -12
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-logger/loggerMiddleware.js +17 -12
- package/node_modules/@aws-sdk/core/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/cdk-nag/.devcontainer.json +2 -2
- package/node_modules/cdk-nag/.jsii +7 -6
- package/node_modules/cdk-nag/.jsii.tabl.json +1 -1
- package/node_modules/cdk-nag/.pre-commit-config.yaml +1 -1
- package/node_modules/cdk-nag/.yarn/install-state.gz +0 -0
- package/node_modules/cdk-nag/.yarnrc.yml +3 -0
- package/node_modules/cdk-nag/CONTRIBUTING.md +8 -8
- package/node_modules/cdk-nag/Dockerfile +2 -3
- package/node_modules/cdk-nag/README.md +3 -1
- package/node_modules/cdk-nag/lib/index.js +24 -2
- package/node_modules/cdk-nag/lib/nag-pack.js +15 -12
- package/node_modules/cdk-nag/lib/nag-rules.js +2 -4
- package/node_modules/cdk-nag/lib/packs/aws-solutions.js +3 -5
- package/node_modules/cdk-nag/lib/packs/hipaa-security.js +3 -5
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +3 -5
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +3 -5
- package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +3 -5
- package/node_modules/cdk-nag/lib/packs/serverless.js +3 -5
- package/node_modules/cdk-nag/lib/rules/apigw/index.js +14 -11
- package/node_modules/cdk-nag/lib/rules/appsync/index.js +6 -3
- package/node_modules/cdk-nag/lib/rules/autoscaling/index.js +9 -6
- package/node_modules/cdk-nag/lib/rules/cloud9/index.js +5 -2
- package/node_modules/cdk-nag/lib/rules/cloudfront/index.js +11 -8
- package/node_modules/cdk-nag/lib/rules/cloudtrail/index.js +7 -4
- package/node_modules/cdk-nag/lib/rules/cloudwatch/index.js +7 -4
- package/node_modules/cdk-nag/lib/rules/codebuild/index.js +8 -5
- package/node_modules/cdk-nag/lib/rules/cognito/index.js +9 -6
- package/node_modules/cdk-nag/lib/rules/dms/index.js +5 -2
- package/node_modules/cdk-nag/lib/rules/documentdb/index.js +9 -6
- package/node_modules/cdk-nag/lib/rules/dynamodb/index.js +8 -5
- package/node_modules/cdk-nag/lib/rules/ec2/index.js +17 -14
- package/node_modules/cdk-nag/lib/rules/ecr/index.js +5 -2
- package/node_modules/cdk-nag/lib/rules/ecs/index.js +8 -5
- package/node_modules/cdk-nag/lib/rules/efs/index.js +6 -3
- package/node_modules/cdk-nag/lib/rules/eks/index.js +6 -3
- package/node_modules/cdk-nag/lib/rules/elasticache/index.js +10 -7
- package/node_modules/cdk-nag/lib/rules/elasticbeanstalk/index.js +8 -5
- package/node_modules/cdk-nag/lib/rules/elb/index.js +15 -12
- package/node_modules/cdk-nag/lib/rules/emr/index.js +9 -6
- package/node_modules/cdk-nag/lib/rules/eventbridge/index.js +6 -3
- package/node_modules/cdk-nag/lib/rules/glue/index.js +6 -3
- package/node_modules/cdk-nag/lib/rules/iam/index.js +12 -9
- package/node_modules/cdk-nag/lib/rules/index.js +79 -46
- package/node_modules/cdk-nag/lib/rules/kinesis/index.js +8 -5
- package/node_modules/cdk-nag/lib/rules/kms/index.js +5 -2
- package/node_modules/cdk-nag/lib/rules/lambda/index.js +17 -14
- package/node_modules/cdk-nag/lib/rules/lex/index.js +5 -2
- package/node_modules/cdk-nag/lib/rules/mediastore/index.js +10 -7
- package/node_modules/cdk-nag/lib/rules/msk/index.js +7 -4
- package/node_modules/cdk-nag/lib/rules/mwaa/index.js +5 -2
- package/node_modules/cdk-nag/lib/rules/neptune/index.js +9 -6
- package/node_modules/cdk-nag/lib/rules/opensearch/index.js +13 -10
- package/node_modules/cdk-nag/lib/rules/quicksight/index.js +5 -2
- package/node_modules/cdk-nag/lib/rules/rds/index.js +18 -15
- package/node_modules/cdk-nag/lib/rules/redshift/index.js +17 -14
- package/node_modules/cdk-nag/lib/rules/s3/index.js +14 -11
- package/node_modules/cdk-nag/lib/rules/sagemaker/index.js +8 -5
- package/node_modules/cdk-nag/lib/rules/secretsmanager/index.js +6 -3
- package/node_modules/cdk-nag/lib/rules/sns/index.js +7 -4
- package/node_modules/cdk-nag/lib/rules/sqs/index.js +8 -5
- package/node_modules/cdk-nag/lib/rules/stepfunctions/index.js +6 -3
- package/node_modules/cdk-nag/lib/rules/timestream/index.js +5 -2
- package/node_modules/cdk-nag/lib/rules/vpc/index.js +9 -6
- package/node_modules/cdk-nag/lib/rules/waf/index.js +5 -2
- package/node_modules/cdk-nag/package.json +24 -16
- package/node_modules/mailparser/CHANGELOG.md +12 -0
- package/node_modules/mailparser/README.md +2 -0
- package/node_modules/mailparser/dist/cjs/mail-parser.js +1 -2
- package/node_modules/mailparser/dist/cjs/types.d.ts +7 -0
- package/node_modules/mailparser/dist/esm/mail-parser.js +1 -2
- package/node_modules/mailparser/dist/esm/types.d.ts +7 -0
- package/node_modules/mailparser/package.json +3 -3
- package/node_modules/nodemailer/CHANGELOG.md +8 -0
- package/node_modules/nodemailer/dist/cjs/dkim/sign.js +3 -2
- package/node_modules/nodemailer/dist/cjs/fetch/cookies.d.ts +3 -1
- package/node_modules/nodemailer/dist/cjs/fetch/cookies.js +8 -2
- package/node_modules/nodemailer/dist/cjs/package-info.d.ts +1 -1
- package/node_modules/nodemailer/dist/cjs/package-info.js +1 -1
- package/node_modules/nodemailer/dist/cjs/well-known/services.js +6 -0
- package/node_modules/nodemailer/dist/esm/dkim/sign.js +3 -2
- package/node_modules/nodemailer/dist/esm/fetch/cookies.d.ts +3 -1
- package/node_modules/nodemailer/dist/esm/fetch/cookies.js +8 -2
- package/node_modules/nodemailer/dist/esm/package-info.d.ts +1 -1
- package/node_modules/nodemailer/dist/esm/package-info.js +1 -1
- package/node_modules/nodemailer/dist/esm/well-known/services.js +6 -0
- package/node_modules/nodemailer/dist/well-known/services.json +7 -0
- package/node_modules/nodemailer/package.json +7 -7
- package/package.json +7 -7
package/node_modules/@aws-sdk/client-route-53/dist-es/waiters/waitForHealthCheckSourceCreated.js
ADDED
|
@@ -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
|
+
};
|
package/node_modules/@aws-sdk/client-route-53/dist-es/waiters/waitForHealthCheckSourceDeleted.js
ADDED
|
@@ -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,7 +40,9 @@ 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";
|
|
45
|
+
import { type GetHostedZoneChangeBatchCommandInput, type GetHostedZoneChangeBatchCommandOutput } from "./commands/GetHostedZoneChangeBatchCommand";
|
|
42
46
|
import { type GetHostedZoneCommandInput, type GetHostedZoneCommandOutput } from "./commands/GetHostedZoneCommand";
|
|
43
47
|
import { type GetHostedZoneCountCommandInput, type GetHostedZoneCountCommandOutput } from "./commands/GetHostedZoneCountCommand";
|
|
44
48
|
import { type GetHostedZoneLimitCommandInput, type GetHostedZoneLimitCommandOutput } from "./commands/GetHostedZoneLimitCommand";
|
|
@@ -52,11 +56,15 @@ import { type ListCidrBlocksCommandInput, type ListCidrBlocksCommandOutput } fro
|
|
|
52
56
|
import { type ListCidrCollectionsCommandInput, type ListCidrCollectionsCommandOutput } from "./commands/ListCidrCollectionsCommand";
|
|
53
57
|
import { type ListCidrLocationsCommandInput, type ListCidrLocationsCommandOutput } from "./commands/ListCidrLocationsCommand";
|
|
54
58
|
import { type ListGeoLocationsCommandInput, type ListGeoLocationsCommandOutput } from "./commands/ListGeoLocationsCommand";
|
|
59
|
+
import { type ListHealthChecksBySourceCommandInput, type ListHealthChecksBySourceCommandOutput } from "./commands/ListHealthChecksBySourceCommand";
|
|
55
60
|
import { type ListHealthChecksCommandInput, type ListHealthChecksCommandOutput } from "./commands/ListHealthChecksCommand";
|
|
61
|
+
import { type ListHealthCheckSourcesCommandInput, type ListHealthCheckSourcesCommandOutput } from "./commands/ListHealthCheckSourcesCommand";
|
|
62
|
+
import { type ListHostedZoneChangeBatchesCommandInput, type ListHostedZoneChangeBatchesCommandOutput } from "./commands/ListHostedZoneChangeBatchesCommand";
|
|
56
63
|
import { type ListHostedZonesByNameCommandInput, type ListHostedZonesByNameCommandOutput } from "./commands/ListHostedZonesByNameCommand";
|
|
57
64
|
import { type ListHostedZonesByVPCCommandInput, type ListHostedZonesByVPCCommandOutput } from "./commands/ListHostedZonesByVPCCommand";
|
|
58
65
|
import { type ListHostedZonesCommandInput, type ListHostedZonesCommandOutput } from "./commands/ListHostedZonesCommand";
|
|
59
66
|
import { type ListQueryLoggingConfigsCommandInput, type ListQueryLoggingConfigsCommandOutput } from "./commands/ListQueryLoggingConfigsCommand";
|
|
67
|
+
import { type ListResourceRecordSetChangesCommandInput, type ListResourceRecordSetChangesCommandOutput } from "./commands/ListResourceRecordSetChangesCommand";
|
|
60
68
|
import { type ListResourceRecordSetProtectionsCommandInput, type ListResourceRecordSetProtectionsCommandOutput } from "./commands/ListResourceRecordSetProtectionsCommand";
|
|
61
69
|
import { type ListResourceRecordSetsCommandInput, type ListResourceRecordSetsCommandOutput } from "./commands/ListResourceRecordSetsCommand";
|
|
62
70
|
import { type ListReusableDelegationSetsCommandInput, type ListReusableDelegationSetsCommandOutput } from "./commands/ListReusableDelegationSetsCommand";
|
|
@@ -72,8 +80,10 @@ import { type TestDNSAnswerCommandInput, type TestDNSAnswerCommandOutput } from
|
|
|
72
80
|
import { type UpdateHealthCheckCommandInput, type UpdateHealthCheckCommandOutput } from "./commands/UpdateHealthCheckCommand";
|
|
73
81
|
import { type UpdateHostedZoneCommentCommandInput, type UpdateHostedZoneCommentCommandOutput } from "./commands/UpdateHostedZoneCommentCommand";
|
|
74
82
|
import { type UpdateHostedZoneFeaturesCommandInput, type UpdateHostedZoneFeaturesCommandOutput } from "./commands/UpdateHostedZoneFeaturesCommand";
|
|
83
|
+
import { type UpdateHostedZoneTierCommandInput, type UpdateHostedZoneTierCommandOutput } from "./commands/UpdateHostedZoneTierCommand";
|
|
75
84
|
import { type UpdateTrafficPolicyCommentCommandInput, type UpdateTrafficPolicyCommentCommandOutput } from "./commands/UpdateTrafficPolicyCommentCommand";
|
|
76
85
|
import { type UpdateTrafficPolicyInstanceCommandInput, type UpdateTrafficPolicyInstanceCommandOutput } from "./commands/UpdateTrafficPolicyInstanceCommand";
|
|
86
|
+
import type { NoSuchHealthCheckSource } from "./models/errors";
|
|
77
87
|
import { Route53Client } from "./Route53Client";
|
|
78
88
|
/**
|
|
79
89
|
* @public
|
|
@@ -124,6 +134,12 @@ export interface Route53 {
|
|
|
124
134
|
createHealthCheck(args: CreateHealthCheckCommandInput, options?: Route53RequestOptions): Promise<CreateHealthCheckCommandOutput>;
|
|
125
135
|
createHealthCheck(args: CreateHealthCheckCommandInput, cb: (err: any, data?: CreateHealthCheckCommandOutput) => void): void;
|
|
126
136
|
createHealthCheck(args: CreateHealthCheckCommandInput, options: Route53RequestOptions, cb: (err: any, data?: CreateHealthCheckCommandOutput) => void): void;
|
|
137
|
+
/**
|
|
138
|
+
* @see {@link CreateHealthCheckSourceCommand}
|
|
139
|
+
*/
|
|
140
|
+
createHealthCheckSource(args: CreateHealthCheckSourceCommandInput, options?: Route53RequestOptions): Promise<CreateHealthCheckSourceCommandOutput>;
|
|
141
|
+
createHealthCheckSource(args: CreateHealthCheckSourceCommandInput, cb: (err: any, data?: CreateHealthCheckSourceCommandOutput) => void): void;
|
|
142
|
+
createHealthCheckSource(args: CreateHealthCheckSourceCommandInput, options: Route53RequestOptions, cb: (err: any, data?: CreateHealthCheckSourceCommandOutput) => void): void;
|
|
127
143
|
/**
|
|
128
144
|
* @see {@link CreateHostedZoneCommand}
|
|
129
145
|
*/
|
|
@@ -196,6 +212,12 @@ export interface Route53 {
|
|
|
196
212
|
deleteHealthCheck(args: DeleteHealthCheckCommandInput, options?: Route53RequestOptions): Promise<DeleteHealthCheckCommandOutput>;
|
|
197
213
|
deleteHealthCheck(args: DeleteHealthCheckCommandInput, cb: (err: any, data?: DeleteHealthCheckCommandOutput) => void): void;
|
|
198
214
|
deleteHealthCheck(args: DeleteHealthCheckCommandInput, options: Route53RequestOptions, cb: (err: any, data?: DeleteHealthCheckCommandOutput) => void): void;
|
|
215
|
+
/**
|
|
216
|
+
* @see {@link DeleteHealthCheckSourceCommand}
|
|
217
|
+
*/
|
|
218
|
+
deleteHealthCheckSource(args: DeleteHealthCheckSourceCommandInput, options?: Route53RequestOptions): Promise<DeleteHealthCheckSourceCommandOutput>;
|
|
219
|
+
deleteHealthCheckSource(args: DeleteHealthCheckSourceCommandInput, cb: (err: any, data?: DeleteHealthCheckSourceCommandOutput) => void): void;
|
|
220
|
+
deleteHealthCheckSource(args: DeleteHealthCheckSourceCommandInput, options: Route53RequestOptions, cb: (err: any, data?: DeleteHealthCheckSourceCommandOutput) => void): void;
|
|
199
221
|
/**
|
|
200
222
|
* @see {@link DeleteHostedZoneCommand}
|
|
201
223
|
*/
|
|
@@ -313,6 +335,12 @@ export interface Route53 {
|
|
|
313
335
|
getHealthCheckLastFailureReason(args: GetHealthCheckLastFailureReasonCommandInput, options?: Route53RequestOptions): Promise<GetHealthCheckLastFailureReasonCommandOutput>;
|
|
314
336
|
getHealthCheckLastFailureReason(args: GetHealthCheckLastFailureReasonCommandInput, cb: (err: any, data?: GetHealthCheckLastFailureReasonCommandOutput) => void): void;
|
|
315
337
|
getHealthCheckLastFailureReason(args: GetHealthCheckLastFailureReasonCommandInput, options: Route53RequestOptions, cb: (err: any, data?: GetHealthCheckLastFailureReasonCommandOutput) => void): void;
|
|
338
|
+
/**
|
|
339
|
+
* @see {@link GetHealthCheckSourceCommand}
|
|
340
|
+
*/
|
|
341
|
+
getHealthCheckSource(args: GetHealthCheckSourceCommandInput, options?: Route53RequestOptions): Promise<GetHealthCheckSourceCommandOutput>;
|
|
342
|
+
getHealthCheckSource(args: GetHealthCheckSourceCommandInput, cb: (err: any, data?: GetHealthCheckSourceCommandOutput) => void): void;
|
|
343
|
+
getHealthCheckSource(args: GetHealthCheckSourceCommandInput, options: Route53RequestOptions, cb: (err: any, data?: GetHealthCheckSourceCommandOutput) => void): void;
|
|
316
344
|
/**
|
|
317
345
|
* @see {@link GetHealthCheckStatusCommand}
|
|
318
346
|
*/
|
|
@@ -325,6 +353,12 @@ export interface Route53 {
|
|
|
325
353
|
getHostedZone(args: GetHostedZoneCommandInput, options?: Route53RequestOptions): Promise<GetHostedZoneCommandOutput>;
|
|
326
354
|
getHostedZone(args: GetHostedZoneCommandInput, cb: (err: any, data?: GetHostedZoneCommandOutput) => void): void;
|
|
327
355
|
getHostedZone(args: GetHostedZoneCommandInput, options: Route53RequestOptions, cb: (err: any, data?: GetHostedZoneCommandOutput) => void): void;
|
|
356
|
+
/**
|
|
357
|
+
* @see {@link GetHostedZoneChangeBatchCommand}
|
|
358
|
+
*/
|
|
359
|
+
getHostedZoneChangeBatch(args: GetHostedZoneChangeBatchCommandInput, options?: Route53RequestOptions): Promise<GetHostedZoneChangeBatchCommandOutput>;
|
|
360
|
+
getHostedZoneChangeBatch(args: GetHostedZoneChangeBatchCommandInput, cb: (err: any, data?: GetHostedZoneChangeBatchCommandOutput) => void): void;
|
|
361
|
+
getHostedZoneChangeBatch(args: GetHostedZoneChangeBatchCommandInput, options: Route53RequestOptions, cb: (err: any, data?: GetHostedZoneChangeBatchCommandOutput) => void): void;
|
|
328
362
|
/**
|
|
329
363
|
* @see {@link GetHostedZoneCountCommand}
|
|
330
364
|
*/
|
|
@@ -408,6 +442,25 @@ export interface Route53 {
|
|
|
408
442
|
listHealthChecks(args: ListHealthChecksCommandInput, options?: Route53RequestOptions): Promise<ListHealthChecksCommandOutput>;
|
|
409
443
|
listHealthChecks(args: ListHealthChecksCommandInput, cb: (err: any, data?: ListHealthChecksCommandOutput) => void): void;
|
|
410
444
|
listHealthChecks(args: ListHealthChecksCommandInput, options: Route53RequestOptions, cb: (err: any, data?: ListHealthChecksCommandOutput) => void): void;
|
|
445
|
+
/**
|
|
446
|
+
* @see {@link ListHealthChecksBySourceCommand}
|
|
447
|
+
*/
|
|
448
|
+
listHealthChecksBySource(args: ListHealthChecksBySourceCommandInput, options?: Route53RequestOptions): Promise<ListHealthChecksBySourceCommandOutput>;
|
|
449
|
+
listHealthChecksBySource(args: ListHealthChecksBySourceCommandInput, cb: (err: any, data?: ListHealthChecksBySourceCommandOutput) => void): void;
|
|
450
|
+
listHealthChecksBySource(args: ListHealthChecksBySourceCommandInput, options: Route53RequestOptions, cb: (err: any, data?: ListHealthChecksBySourceCommandOutput) => void): void;
|
|
451
|
+
/**
|
|
452
|
+
* @see {@link ListHealthCheckSourcesCommand}
|
|
453
|
+
*/
|
|
454
|
+
listHealthCheckSources(): Promise<ListHealthCheckSourcesCommandOutput>;
|
|
455
|
+
listHealthCheckSources(args: ListHealthCheckSourcesCommandInput, options?: Route53RequestOptions): Promise<ListHealthCheckSourcesCommandOutput>;
|
|
456
|
+
listHealthCheckSources(args: ListHealthCheckSourcesCommandInput, cb: (err: any, data?: ListHealthCheckSourcesCommandOutput) => void): void;
|
|
457
|
+
listHealthCheckSources(args: ListHealthCheckSourcesCommandInput, options: Route53RequestOptions, cb: (err: any, data?: ListHealthCheckSourcesCommandOutput) => void): void;
|
|
458
|
+
/**
|
|
459
|
+
* @see {@link ListHostedZoneChangeBatchesCommand}
|
|
460
|
+
*/
|
|
461
|
+
listHostedZoneChangeBatches(args: ListHostedZoneChangeBatchesCommandInput, options?: Route53RequestOptions): Promise<ListHostedZoneChangeBatchesCommandOutput>;
|
|
462
|
+
listHostedZoneChangeBatches(args: ListHostedZoneChangeBatchesCommandInput, cb: (err: any, data?: ListHostedZoneChangeBatchesCommandOutput) => void): void;
|
|
463
|
+
listHostedZoneChangeBatches(args: ListHostedZoneChangeBatchesCommandInput, options: Route53RequestOptions, cb: (err: any, data?: ListHostedZoneChangeBatchesCommandOutput) => void): void;
|
|
411
464
|
/**
|
|
412
465
|
* @see {@link ListHostedZonesCommand}
|
|
413
466
|
*/
|
|
@@ -435,6 +488,12 @@ export interface Route53 {
|
|
|
435
488
|
listQueryLoggingConfigs(args: ListQueryLoggingConfigsCommandInput, options?: Route53RequestOptions): Promise<ListQueryLoggingConfigsCommandOutput>;
|
|
436
489
|
listQueryLoggingConfigs(args: ListQueryLoggingConfigsCommandInput, cb: (err: any, data?: ListQueryLoggingConfigsCommandOutput) => void): void;
|
|
437
490
|
listQueryLoggingConfigs(args: ListQueryLoggingConfigsCommandInput, options: Route53RequestOptions, cb: (err: any, data?: ListQueryLoggingConfigsCommandOutput) => void): void;
|
|
491
|
+
/**
|
|
492
|
+
* @see {@link ListResourceRecordSetChangesCommand}
|
|
493
|
+
*/
|
|
494
|
+
listResourceRecordSetChanges(args: ListResourceRecordSetChangesCommandInput, options?: Route53RequestOptions): Promise<ListResourceRecordSetChangesCommandOutput>;
|
|
495
|
+
listResourceRecordSetChanges(args: ListResourceRecordSetChangesCommandInput, cb: (err: any, data?: ListResourceRecordSetChangesCommandOutput) => void): void;
|
|
496
|
+
listResourceRecordSetChanges(args: ListResourceRecordSetChangesCommandInput, options: Route53RequestOptions, cb: (err: any, data?: ListResourceRecordSetChangesCommandOutput) => void): void;
|
|
438
497
|
/**
|
|
439
498
|
* @see {@link ListResourceRecordSetProtectionsCommand}
|
|
440
499
|
*/
|
|
@@ -528,6 +587,12 @@ export interface Route53 {
|
|
|
528
587
|
updateHostedZoneFeatures(args: UpdateHostedZoneFeaturesCommandInput, options?: Route53RequestOptions): Promise<UpdateHostedZoneFeaturesCommandOutput>;
|
|
529
588
|
updateHostedZoneFeatures(args: UpdateHostedZoneFeaturesCommandInput, cb: (err: any, data?: UpdateHostedZoneFeaturesCommandOutput) => void): void;
|
|
530
589
|
updateHostedZoneFeatures(args: UpdateHostedZoneFeaturesCommandInput, options: Route53RequestOptions, cb: (err: any, data?: UpdateHostedZoneFeaturesCommandOutput) => void): void;
|
|
590
|
+
/**
|
|
591
|
+
* @see {@link UpdateHostedZoneTierCommand}
|
|
592
|
+
*/
|
|
593
|
+
updateHostedZoneTier(args: UpdateHostedZoneTierCommandInput, options?: Route53RequestOptions): Promise<UpdateHostedZoneTierCommandOutput>;
|
|
594
|
+
updateHostedZoneTier(args: UpdateHostedZoneTierCommandInput, cb: (err: any, data?: UpdateHostedZoneTierCommandOutput) => void): void;
|
|
595
|
+
updateHostedZoneTier(args: UpdateHostedZoneTierCommandInput, options: Route53RequestOptions, cb: (err: any, data?: UpdateHostedZoneTierCommandOutput) => void): void;
|
|
531
596
|
/**
|
|
532
597
|
* @see {@link UpdateTrafficPolicyCommentCommand}
|
|
533
598
|
*/
|
|
@@ -568,6 +633,27 @@ export interface Route53 {
|
|
|
568
633
|
* @returns AsyncIterable of {@link ListHealthChecksCommandOutput}.
|
|
569
634
|
*/
|
|
570
635
|
paginateListHealthChecks(args?: ListHealthChecksCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListHealthChecksCommandOutput>;
|
|
636
|
+
/**
|
|
637
|
+
* @see {@link ListHealthChecksBySourceCommand}
|
|
638
|
+
* @param args - command input.
|
|
639
|
+
* @param paginationConfig - optional pagination config.
|
|
640
|
+
* @returns AsyncIterable of {@link ListHealthChecksBySourceCommandOutput}.
|
|
641
|
+
*/
|
|
642
|
+
paginateListHealthChecksBySource(args: ListHealthChecksBySourceCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListHealthChecksBySourceCommandOutput>;
|
|
643
|
+
/**
|
|
644
|
+
* @see {@link ListHealthCheckSourcesCommand}
|
|
645
|
+
* @param args - command input.
|
|
646
|
+
* @param paginationConfig - optional pagination config.
|
|
647
|
+
* @returns AsyncIterable of {@link ListHealthCheckSourcesCommandOutput}.
|
|
648
|
+
*/
|
|
649
|
+
paginateListHealthCheckSources(args?: ListHealthCheckSourcesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListHealthCheckSourcesCommandOutput>;
|
|
650
|
+
/**
|
|
651
|
+
* @see {@link ListHostedZoneChangeBatchesCommand}
|
|
652
|
+
* @param args - command input.
|
|
653
|
+
* @param paginationConfig - optional pagination config.
|
|
654
|
+
* @returns AsyncIterable of {@link ListHostedZoneChangeBatchesCommandOutput}.
|
|
655
|
+
*/
|
|
656
|
+
paginateListHostedZoneChangeBatches(args: ListHostedZoneChangeBatchesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListHostedZoneChangeBatchesCommandOutput>;
|
|
571
657
|
/**
|
|
572
658
|
* @see {@link ListHostedZonesCommand}
|
|
573
659
|
* @param args - command input.
|
|
@@ -582,6 +668,13 @@ export interface Route53 {
|
|
|
582
668
|
* @returns AsyncIterable of {@link ListQueryLoggingConfigsCommandOutput}.
|
|
583
669
|
*/
|
|
584
670
|
paginateListQueryLoggingConfigs(args?: ListQueryLoggingConfigsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListQueryLoggingConfigsCommandOutput>;
|
|
671
|
+
/**
|
|
672
|
+
* @see {@link ListResourceRecordSetChangesCommand}
|
|
673
|
+
* @param args - command input.
|
|
674
|
+
* @param paginationConfig - optional pagination config.
|
|
675
|
+
* @returns AsyncIterable of {@link ListResourceRecordSetChangesCommandOutput}.
|
|
676
|
+
*/
|
|
677
|
+
paginateListResourceRecordSetChanges(args: ListResourceRecordSetChangesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListResourceRecordSetChangesCommandOutput>;
|
|
585
678
|
/**
|
|
586
679
|
* @see {@link ListResourceRecordSetProtectionsCommand}
|
|
587
680
|
* @param args - command input.
|
|
@@ -595,25 +688,95 @@ export interface Route53 {
|
|
|
595
688
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
596
689
|
*/
|
|
597
690
|
waitUntilResourceRecordSetsChanged(args: GetChangeCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Route53>, "client">): Promise<WaiterResult<GetChangeCommandOutput>>;
|
|
691
|
+
/**
|
|
692
|
+
* @see {@link GetHealthCheckSourceCommand}
|
|
693
|
+
* @param args - command input.
|
|
694
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
695
|
+
*/
|
|
696
|
+
waitUntilHealthCheckSourceCreated(args: GetHealthCheckSourceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Route53>, "client">): Promise<WaiterResult<GetHealthCheckSourceCommandOutput>>;
|
|
697
|
+
/**
|
|
698
|
+
* @see {@link GetHealthCheckSourceCommand}
|
|
699
|
+
* @param args - command input.
|
|
700
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
701
|
+
*/
|
|
702
|
+
waitUntilHealthCheckSourceDeleted(args: GetHealthCheckSourceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Route53>, "client">): Promise<WaiterResult<GetHealthCheckSourceCommandOutput | NoSuchHealthCheckSource>>;
|
|
598
703
|
}
|
|
599
704
|
/**
|
|
600
|
-
* <p>Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web
|
|
601
|
-
* service.</p>
|
|
602
|
-
* <p>You can use Route 53 to:</p>
|
|
705
|
+
* <p>Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service. Route 53 performs four main functions:</p>
|
|
603
706
|
* <ul>
|
|
604
707
|
* <li>
|
|
605
|
-
* <p>
|
|
606
|
-
*
|
|
708
|
+
* <p>
|
|
709
|
+
* <b>Domain registration</b> – Route 53 lets you register domain names such as example.com.</p>
|
|
710
|
+
* </li>
|
|
711
|
+
* <li>
|
|
712
|
+
* <p>
|
|
713
|
+
* <b>Domain Name System (DNS) service</b> – Route 53 translates friendly domain names into IP addresses using a global network of authoritative DNS servers, and provides DNS resolution within your VPCs for private hosted zones.</p>
|
|
607
714
|
* </li>
|
|
608
715
|
* <li>
|
|
609
|
-
* <p>
|
|
610
|
-
*
|
|
716
|
+
* <p>
|
|
717
|
+
* <b>Health checking</b> – Route 53 sends automated requests to your application, over the internet or from within your VPC for private endpoints, to verify that it's reachable, available, and functional.</p>
|
|
611
718
|
* </li>
|
|
612
719
|
* <li>
|
|
613
|
-
* <p>
|
|
614
|
-
*
|
|
720
|
+
* <p>
|
|
721
|
+
* <b>Resolver</b> – Route 53 Resolver lets you forward DNS queries from a VPC that you created using Amazon VPC to DNS resolvers in your network, and from your network to resolvers in your VPC.</p>
|
|
615
722
|
* </li>
|
|
616
723
|
* </ul>
|
|
724
|
+
* <p>You can use the API to create and manage the following resources:</p>
|
|
725
|
+
* <dl>
|
|
726
|
+
* <dt>Public and Private Hosted Zones</dt>
|
|
727
|
+
* <dd>
|
|
728
|
+
* <p>A <i>public hosted zone</i> is a container that holds information about how you want to route traffic on the internet for a domain, such as example.com, and its subdomains.</p>
|
|
729
|
+
* <p>A <i>private hosted zone</i> is a container that holds information about how you want to route traffic for a domain and its subdomains within one or more VPCs that you created with the Amazon VPC service.</p>
|
|
730
|
+
* </dd>
|
|
731
|
+
* <dt>Reusable Delegation Sets</dt>
|
|
732
|
+
* <dd>
|
|
733
|
+
* <p>By default, each hosted zone that you create gets a different set of four name servers—a different delegation set. If you create a lot of hosted zones, maintaining different delegation sets can be difficult and time consuming. Route 53 lets you create a delegation set that you can reuse with multiple hosted zones.</p>
|
|
734
|
+
* </dd>
|
|
735
|
+
* <dt>Resource Record Sets</dt>
|
|
736
|
+
* <dd>
|
|
737
|
+
* <p>After you create a hosted zone for your domain, such as example.com, you create resource record sets to tell the Domain Name System (DNS) how to route traffic for that domain.</p>
|
|
738
|
+
* </dd>
|
|
739
|
+
* <dt>Traffic Policies and Traffic Policy Instances</dt>
|
|
740
|
+
* <dd>
|
|
741
|
+
* <p>You can create complex routing configurations, known as traffic policies, that use weighted, latency, failover, and geolocation resource record sets. You can then associate a traffic policy with a domain name or subdomain name, such as www.example.com, by creating a traffic policy instance. When users submit DNS queries for the domain or subdomain, Route 53 responds based on the traffic policy that you used to create the traffic policy instance.</p>
|
|
742
|
+
* </dd>
|
|
743
|
+
* <dt>Health Checks</dt>
|
|
744
|
+
* <dd>
|
|
745
|
+
* <p>Route 53 health checks monitor the health and performance of your web applications, web servers, and other resources. At regular intervals that you specify, Route 53 submits automated requests to your application, server, or other resource, over the internet or from within your VPC for private endpoints, to verify that it's reachable, available, and functional.</p>
|
|
746
|
+
* </dd>
|
|
747
|
+
* <dt>Domain Registrations</dt>
|
|
748
|
+
* <dd>
|
|
749
|
+
* <p>When you want to get a new domain name, such as example.com, you can register it with Route 53. You can also transfer the registration for existing domains from other registrars to Route 53.</p>
|
|
750
|
+
* </dd>
|
|
751
|
+
* <dt>DNS–DNSSEC</dt>
|
|
752
|
+
* <dd>
|
|
753
|
+
* <p>You can protect your domain from DNS spoofing or a man-in-the-middle attack, by configuring Domain Name System Security Extensions (DNSSEC).</p>
|
|
754
|
+
* </dd>
|
|
755
|
+
* <dt>Query Logs</dt>
|
|
756
|
+
* <dd>
|
|
757
|
+
* <p>You can configure Route 53 to log information about the DNS queries that Route 53 receives, such as the domain or subdomain that was requested, the date and time of the request, and the DNS record type (such as A or AAAA).</p>
|
|
758
|
+
* <p>You can also configure Route 53 Resolver to log information about the DNS queries that originate in Amazon VPCs.</p>
|
|
759
|
+
* </dd>
|
|
760
|
+
* <dt>Outbound and Inbound Endpoints, and Rules</dt>
|
|
761
|
+
* <dd>
|
|
762
|
+
* <p>You can configure Route 53 Resolver to forward DNS queries from your VPC to your network or vice versa. DNS queries pass through an outbound endpoint on their way from a VPC to your network, and they pass through an inbound endpoint on their way from your network to a VPC. For outbound queries, rules let you specify the domain names that you want to forward to your network and the IP addresses of the DNS resolvers in your network.</p>
|
|
763
|
+
* </dd>
|
|
764
|
+
* <dt>Tags</dt>
|
|
765
|
+
* <dd>
|
|
766
|
+
* <p>A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and a value, both of which you define. You can use tags for a variety of purposes; one common use is to categorize and track your Route 53 costs.</p>
|
|
767
|
+
* </dd>
|
|
768
|
+
* <dt>Profiles</dt>
|
|
769
|
+
* <dd>
|
|
770
|
+
* <p>A <i>profile</i> is a named container that groups DNS configurations—such as private hosted zone associations, Resolver rules, and DNS Firewall rule groups—into a single reusable unit. You can associate a profile with multiple VPCs and share it across Amazon Web Services accounts so that each VPC inherits the same DNS settings without requiring individual configuration.</p>
|
|
771
|
+
* </dd>
|
|
772
|
+
* <dt>DNS Firewall</dt>
|
|
773
|
+
* <dd>
|
|
774
|
+
* <p>A <i>DNS Firewall rule group</i> is an ordered collection of rules that each pair a domain list with an action—allow, block, or alert. You associate rule groups with your VPCs to filter outbound DNS queries made by VPC resources, preventing connections to known-malicious domains or restricting access to only approved domains.</p>
|
|
775
|
+
* </dd>
|
|
776
|
+
* </dl>
|
|
777
|
+
* <p>You can also use the Route 53 API to get the current limit on Route 53 objects that you can create, such as hosted zones and health checks.</p>
|
|
778
|
+
* <p>For information about Route 53 concepts and about how to use the Route 53 console, see the
|
|
779
|
+
* <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/">Amazon Route 53 Developer Guide</a>.</p>
|
|
617
780
|
* @public
|
|
618
781
|
*/
|
|
619
782
|
export declare class Route53 extends Route53Client implements Route53 {
|
|
@@ -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,7 +46,9 @@ 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";
|
|
51
|
+
import type { GetHostedZoneChangeBatchCommandInput, GetHostedZoneChangeBatchCommandOutput } from "./commands/GetHostedZoneChangeBatchCommand";
|
|
48
52
|
import type { GetHostedZoneCommandInput, GetHostedZoneCommandOutput } from "./commands/GetHostedZoneCommand";
|
|
49
53
|
import type { GetHostedZoneCountCommandInput, GetHostedZoneCountCommandOutput } from "./commands/GetHostedZoneCountCommand";
|
|
50
54
|
import type { GetHostedZoneLimitCommandInput, GetHostedZoneLimitCommandOutput } from "./commands/GetHostedZoneLimitCommand";
|
|
@@ -58,11 +62,15 @@ import type { ListCidrBlocksCommandInput, ListCidrBlocksCommandOutput } from "./
|
|
|
58
62
|
import type { ListCidrCollectionsCommandInput, ListCidrCollectionsCommandOutput } from "./commands/ListCidrCollectionsCommand";
|
|
59
63
|
import type { ListCidrLocationsCommandInput, ListCidrLocationsCommandOutput } from "./commands/ListCidrLocationsCommand";
|
|
60
64
|
import type { ListGeoLocationsCommandInput, ListGeoLocationsCommandOutput } from "./commands/ListGeoLocationsCommand";
|
|
65
|
+
import type { ListHealthChecksBySourceCommandInput, ListHealthChecksBySourceCommandOutput } from "./commands/ListHealthChecksBySourceCommand";
|
|
61
66
|
import type { ListHealthChecksCommandInput, ListHealthChecksCommandOutput } from "./commands/ListHealthChecksCommand";
|
|
67
|
+
import type { ListHealthCheckSourcesCommandInput, ListHealthCheckSourcesCommandOutput } from "./commands/ListHealthCheckSourcesCommand";
|
|
68
|
+
import type { ListHostedZoneChangeBatchesCommandInput, ListHostedZoneChangeBatchesCommandOutput } from "./commands/ListHostedZoneChangeBatchesCommand";
|
|
62
69
|
import type { ListHostedZonesByNameCommandInput, ListHostedZonesByNameCommandOutput } from "./commands/ListHostedZonesByNameCommand";
|
|
63
70
|
import type { ListHostedZonesByVPCCommandInput, ListHostedZonesByVPCCommandOutput } from "./commands/ListHostedZonesByVPCCommand";
|
|
64
71
|
import type { ListHostedZonesCommandInput, ListHostedZonesCommandOutput } from "./commands/ListHostedZonesCommand";
|
|
65
72
|
import type { ListQueryLoggingConfigsCommandInput, ListQueryLoggingConfigsCommandOutput } from "./commands/ListQueryLoggingConfigsCommand";
|
|
73
|
+
import type { ListResourceRecordSetChangesCommandInput, ListResourceRecordSetChangesCommandOutput } from "./commands/ListResourceRecordSetChangesCommand";
|
|
66
74
|
import type { ListResourceRecordSetProtectionsCommandInput, ListResourceRecordSetProtectionsCommandOutput } from "./commands/ListResourceRecordSetProtectionsCommand";
|
|
67
75
|
import type { ListResourceRecordSetsCommandInput, ListResourceRecordSetsCommandOutput } from "./commands/ListResourceRecordSetsCommand";
|
|
68
76
|
import type { ListReusableDelegationSetsCommandInput, ListReusableDelegationSetsCommandOutput } from "./commands/ListReusableDelegationSetsCommand";
|
|
@@ -78,6 +86,7 @@ import type { TestDNSAnswerCommandInput, TestDNSAnswerCommandOutput } from "./co
|
|
|
78
86
|
import type { UpdateHealthCheckCommandInput, UpdateHealthCheckCommandOutput } from "./commands/UpdateHealthCheckCommand";
|
|
79
87
|
import type { UpdateHostedZoneCommentCommandInput, UpdateHostedZoneCommentCommandOutput } from "./commands/UpdateHostedZoneCommentCommand";
|
|
80
88
|
import type { UpdateHostedZoneFeaturesCommandInput, UpdateHostedZoneFeaturesCommandOutput } from "./commands/UpdateHostedZoneFeaturesCommand";
|
|
89
|
+
import type { UpdateHostedZoneTierCommandInput, UpdateHostedZoneTierCommandOutput } from "./commands/UpdateHostedZoneTierCommand";
|
|
81
90
|
import type { UpdateTrafficPolicyCommentCommandInput, UpdateTrafficPolicyCommentCommandOutput } from "./commands/UpdateTrafficPolicyCommentCommand";
|
|
82
91
|
import type { UpdateTrafficPolicyInstanceCommandInput, UpdateTrafficPolicyInstanceCommandOutput } from "./commands/UpdateTrafficPolicyInstanceCommand";
|
|
83
92
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
@@ -86,11 +95,11 @@ export { __Client };
|
|
|
86
95
|
/**
|
|
87
96
|
* @public
|
|
88
97
|
*/
|
|
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;
|
|
98
|
+
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 | GetHostedZoneChangeBatchCommandInput | GetHostedZoneCommandInput | GetHostedZoneCountCommandInput | GetHostedZoneLimitCommandInput | GetQueryLoggingConfigCommandInput | GetReusableDelegationSetCommandInput | GetReusableDelegationSetLimitCommandInput | GetTrafficPolicyCommandInput | GetTrafficPolicyInstanceCommandInput | GetTrafficPolicyInstanceCountCommandInput | ListCidrBlocksCommandInput | ListCidrCollectionsCommandInput | ListCidrLocationsCommandInput | ListGeoLocationsCommandInput | ListHealthCheckSourcesCommandInput | ListHealthChecksBySourceCommandInput | ListHealthChecksCommandInput | ListHostedZoneChangeBatchesCommandInput | ListHostedZonesByNameCommandInput | ListHostedZonesByVPCCommandInput | ListHostedZonesCommandInput | ListQueryLoggingConfigsCommandInput | ListResourceRecordSetChangesCommandInput | ListResourceRecordSetProtectionsCommandInput | ListResourceRecordSetsCommandInput | ListReusableDelegationSetsCommandInput | ListTagsForResourceCommandInput | ListTagsForResourcesCommandInput | ListTrafficPoliciesCommandInput | ListTrafficPolicyInstancesByHostedZoneCommandInput | ListTrafficPolicyInstancesByPolicyCommandInput | ListTrafficPolicyInstancesCommandInput | ListTrafficPolicyVersionsCommandInput | ListVPCAssociationAuthorizationsCommandInput | TestDNSAnswerCommandInput | UpdateHealthCheckCommandInput | UpdateHostedZoneCommentCommandInput | UpdateHostedZoneFeaturesCommandInput | UpdateHostedZoneTierCommandInput | UpdateTrafficPolicyCommentCommandInput | UpdateTrafficPolicyInstanceCommandInput;
|
|
90
99
|
/**
|
|
91
100
|
* @public
|
|
92
101
|
*/
|
|
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;
|
|
102
|
+
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 | GetHostedZoneChangeBatchCommandOutput | GetHostedZoneCommandOutput | GetHostedZoneCountCommandOutput | GetHostedZoneLimitCommandOutput | GetQueryLoggingConfigCommandOutput | GetReusableDelegationSetCommandOutput | GetReusableDelegationSetLimitCommandOutput | GetTrafficPolicyCommandOutput | GetTrafficPolicyInstanceCommandOutput | GetTrafficPolicyInstanceCountCommandOutput | ListCidrBlocksCommandOutput | ListCidrCollectionsCommandOutput | ListCidrLocationsCommandOutput | ListGeoLocationsCommandOutput | ListHealthCheckSourcesCommandOutput | ListHealthChecksBySourceCommandOutput | ListHealthChecksCommandOutput | ListHostedZoneChangeBatchesCommandOutput | ListHostedZonesByNameCommandOutput | ListHostedZonesByVPCCommandOutput | ListHostedZonesCommandOutput | ListQueryLoggingConfigsCommandOutput | ListResourceRecordSetChangesCommandOutput | ListResourceRecordSetProtectionsCommandOutput | ListResourceRecordSetsCommandOutput | ListReusableDelegationSetsCommandOutput | ListTagsForResourceCommandOutput | ListTagsForResourcesCommandOutput | ListTrafficPoliciesCommandOutput | ListTrafficPolicyInstancesByHostedZoneCommandOutput | ListTrafficPolicyInstancesByPolicyCommandOutput | ListTrafficPolicyInstancesCommandOutput | ListTrafficPolicyVersionsCommandOutput | ListVPCAssociationAuthorizationsCommandOutput | TestDNSAnswerCommandOutput | UpdateHealthCheckCommandOutput | UpdateHostedZoneCommentCommandOutput | UpdateHostedZoneFeaturesCommandOutput | UpdateHostedZoneTierCommandOutput | UpdateTrafficPolicyCommentCommandOutput | UpdateTrafficPolicyInstanceCommandOutput;
|
|
94
103
|
/**
|
|
95
104
|
* @public
|
|
96
105
|
*/
|
|
@@ -243,23 +252,81 @@ export type Route53ClientResolvedConfigType = __SmithyResolvedConfiguration<__Ht
|
|
|
243
252
|
export interface Route53ClientResolvedConfig extends Route53ClientResolvedConfigType {
|
|
244
253
|
}
|
|
245
254
|
/**
|
|
246
|
-
* <p>Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web
|
|
247
|
-
* service.</p>
|
|
248
|
-
* <p>You can use Route 53 to:</p>
|
|
255
|
+
* <p>Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service. Route 53 performs four main functions:</p>
|
|
249
256
|
* <ul>
|
|
250
257
|
* <li>
|
|
251
|
-
* <p>
|
|
252
|
-
*
|
|
258
|
+
* <p>
|
|
259
|
+
* <b>Domain registration</b> – Route 53 lets you register domain names such as example.com.</p>
|
|
253
260
|
* </li>
|
|
254
261
|
* <li>
|
|
255
|
-
* <p>
|
|
256
|
-
*
|
|
262
|
+
* <p>
|
|
263
|
+
* <b>Domain Name System (DNS) service</b> – Route 53 translates friendly domain names into IP addresses using a global network of authoritative DNS servers, and provides DNS resolution within your VPCs for private hosted zones.</p>
|
|
257
264
|
* </li>
|
|
258
265
|
* <li>
|
|
259
|
-
* <p>
|
|
260
|
-
*
|
|
266
|
+
* <p>
|
|
267
|
+
* <b>Health checking</b> – Route 53 sends automated requests to your application, over the internet or from within your VPC for private endpoints, to verify that it's reachable, available, and functional.</p>
|
|
268
|
+
* </li>
|
|
269
|
+
* <li>
|
|
270
|
+
* <p>
|
|
271
|
+
* <b>Resolver</b> – Route 53 Resolver lets you forward DNS queries from a VPC that you created using Amazon VPC to DNS resolvers in your network, and from your network to resolvers in your VPC.</p>
|
|
261
272
|
* </li>
|
|
262
273
|
* </ul>
|
|
274
|
+
* <p>You can use the API to create and manage the following resources:</p>
|
|
275
|
+
* <dl>
|
|
276
|
+
* <dt>Public and Private Hosted Zones</dt>
|
|
277
|
+
* <dd>
|
|
278
|
+
* <p>A <i>public hosted zone</i> is a container that holds information about how you want to route traffic on the internet for a domain, such as example.com, and its subdomains.</p>
|
|
279
|
+
* <p>A <i>private hosted zone</i> is a container that holds information about how you want to route traffic for a domain and its subdomains within one or more VPCs that you created with the Amazon VPC service.</p>
|
|
280
|
+
* </dd>
|
|
281
|
+
* <dt>Reusable Delegation Sets</dt>
|
|
282
|
+
* <dd>
|
|
283
|
+
* <p>By default, each hosted zone that you create gets a different set of four name servers—a different delegation set. If you create a lot of hosted zones, maintaining different delegation sets can be difficult and time consuming. Route 53 lets you create a delegation set that you can reuse with multiple hosted zones.</p>
|
|
284
|
+
* </dd>
|
|
285
|
+
* <dt>Resource Record Sets</dt>
|
|
286
|
+
* <dd>
|
|
287
|
+
* <p>After you create a hosted zone for your domain, such as example.com, you create resource record sets to tell the Domain Name System (DNS) how to route traffic for that domain.</p>
|
|
288
|
+
* </dd>
|
|
289
|
+
* <dt>Traffic Policies and Traffic Policy Instances</dt>
|
|
290
|
+
* <dd>
|
|
291
|
+
* <p>You can create complex routing configurations, known as traffic policies, that use weighted, latency, failover, and geolocation resource record sets. You can then associate a traffic policy with a domain name or subdomain name, such as www.example.com, by creating a traffic policy instance. When users submit DNS queries for the domain or subdomain, Route 53 responds based on the traffic policy that you used to create the traffic policy instance.</p>
|
|
292
|
+
* </dd>
|
|
293
|
+
* <dt>Health Checks</dt>
|
|
294
|
+
* <dd>
|
|
295
|
+
* <p>Route 53 health checks monitor the health and performance of your web applications, web servers, and other resources. At regular intervals that you specify, Route 53 submits automated requests to your application, server, or other resource, over the internet or from within your VPC for private endpoints, to verify that it's reachable, available, and functional.</p>
|
|
296
|
+
* </dd>
|
|
297
|
+
* <dt>Domain Registrations</dt>
|
|
298
|
+
* <dd>
|
|
299
|
+
* <p>When you want to get a new domain name, such as example.com, you can register it with Route 53. You can also transfer the registration for existing domains from other registrars to Route 53.</p>
|
|
300
|
+
* </dd>
|
|
301
|
+
* <dt>DNS–DNSSEC</dt>
|
|
302
|
+
* <dd>
|
|
303
|
+
* <p>You can protect your domain from DNS spoofing or a man-in-the-middle attack, by configuring Domain Name System Security Extensions (DNSSEC).</p>
|
|
304
|
+
* </dd>
|
|
305
|
+
* <dt>Query Logs</dt>
|
|
306
|
+
* <dd>
|
|
307
|
+
* <p>You can configure Route 53 to log information about the DNS queries that Route 53 receives, such as the domain or subdomain that was requested, the date and time of the request, and the DNS record type (such as A or AAAA).</p>
|
|
308
|
+
* <p>You can also configure Route 53 Resolver to log information about the DNS queries that originate in Amazon VPCs.</p>
|
|
309
|
+
* </dd>
|
|
310
|
+
* <dt>Outbound and Inbound Endpoints, and Rules</dt>
|
|
311
|
+
* <dd>
|
|
312
|
+
* <p>You can configure Route 53 Resolver to forward DNS queries from your VPC to your network or vice versa. DNS queries pass through an outbound endpoint on their way from a VPC to your network, and they pass through an inbound endpoint on their way from your network to a VPC. For outbound queries, rules let you specify the domain names that you want to forward to your network and the IP addresses of the DNS resolvers in your network.</p>
|
|
313
|
+
* </dd>
|
|
314
|
+
* <dt>Tags</dt>
|
|
315
|
+
* <dd>
|
|
316
|
+
* <p>A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and a value, both of which you define. You can use tags for a variety of purposes; one common use is to categorize and track your Route 53 costs.</p>
|
|
317
|
+
* </dd>
|
|
318
|
+
* <dt>Profiles</dt>
|
|
319
|
+
* <dd>
|
|
320
|
+
* <p>A <i>profile</i> is a named container that groups DNS configurations—such as private hosted zone associations, Resolver rules, and DNS Firewall rule groups—into a single reusable unit. You can associate a profile with multiple VPCs and share it across Amazon Web Services accounts so that each VPC inherits the same DNS settings without requiring individual configuration.</p>
|
|
321
|
+
* </dd>
|
|
322
|
+
* <dt>DNS Firewall</dt>
|
|
323
|
+
* <dd>
|
|
324
|
+
* <p>A <i>DNS Firewall rule group</i> is an ordered collection of rules that each pair a domain list with an action—allow, block, or alert. You associate rule groups with your VPCs to filter outbound DNS queries made by VPC resources, preventing connections to known-malicious domains or restricting access to only approved domains.</p>
|
|
325
|
+
* </dd>
|
|
326
|
+
* </dl>
|
|
327
|
+
* <p>You can also use the Route 53 API to get the current limit on Route 53 objects that you can create, such as hosted zones and health checks.</p>
|
|
328
|
+
* <p>For information about Route 53 concepts and about how to use the Route 53 console, see the
|
|
329
|
+
* <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/">Amazon Route 53 Developer Guide</a>.</p>
|
|
263
330
|
* @public
|
|
264
331
|
*/
|
|
265
332
|
export declare class Route53Client extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, Route53ClientResolvedConfig> {
|
|
@@ -179,6 +179,10 @@ declare const ChangeResourceRecordSetsCommand_base: {
|
|
|
179
179
|
* },
|
|
180
180
|
* Bias: Number("int"),
|
|
181
181
|
* },
|
|
182
|
+
* AZAffinity: { // AZAffinity
|
|
183
|
+
* LocationType: "AvailabilityZone" || "AvailabilityZoneGroup" || "Region" || "Partition" || "Global",
|
|
184
|
+
* LocationId: "STRING_VALUE",
|
|
185
|
+
* },
|
|
182
186
|
* },
|
|
183
187
|
* },
|
|
184
188
|
* ],
|