@mavogel/awscdk-rootmail 0.1.46 → 0.1.48
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 +7 -7
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +1 -1
- package/node_modules/@aws-sdk/client-route-53/README.md +21 -0
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +183 -3
- package/node_modules/@aws-sdk/client-route-53/dist-es/Route53.js +8 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/CreateResourceRecordSetProtectionsCommand.js +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/DeleteResourceRecordSetProtectionsCommand.js +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListResourceRecordSetProtectionsCommand.js +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/commands/index.js +3 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/models/errors.js +34 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/pagination/ListResourceRecordSetProtectionsPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/pagination/index.js +1 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/schemas/schemas_0.js +113 -3
- package/node_modules/@aws-sdk/client-route-53/dist-types/Route53.d.ts +28 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/Route53Client.d.ts +5 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ChangeResourceRecordSetsCommand.d.ts +15 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateResourceRecordSetProtectionsCommand.d.ts +113 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteHostedZoneCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteResourceRecordSetProtectionsCommand.d.ts +93 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListResourceRecordSetProtectionsCommand.d.ts +93 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/commands/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/models/errors.d.ts +51 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/models/models_0.d.ts +185 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListResourceRecordSetProtectionsPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/schemas/schemas_0.d.ts +15 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/Route53.d.ts +58 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/Route53Client.d.ts +18 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/CreateResourceRecordSetProtectionsCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/DeleteResourceRecordSetProtectionsCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListResourceRecordSetProtectionsCommand.d.ts +42 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/models/errors.d.ts +19 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/models/models_0.d.ts +41 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/pagination/ListResourceRecordSetProtectionsPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
- package/node_modules/@aws-sdk/client-route-53/package.json +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-s3/package.json +2 -2
- package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ses/package.json +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/package.json +1 -1
- package/package.json +6 -6
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteResourceRecordSetProtectionsRequest, DeleteResourceRecordSetProtectionsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteResourceRecordSetProtectionsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteResourceRecordSetProtectionsCommandInput extends DeleteResourceRecordSetProtectionsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteResourceRecordSetProtectionsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteResourceRecordSetProtectionsCommandOutput extends DeleteResourceRecordSetProtectionsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteResourceRecordSetProtectionsCommand_base: {
|
|
22
|
+
new (input: DeleteResourceRecordSetProtectionsCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourceRecordSetProtectionsCommandInput, DeleteResourceRecordSetProtectionsCommandOutput, import("..").Route53ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteResourceRecordSetProtectionsCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourceRecordSetProtectionsCommandInput, DeleteResourceRecordSetProtectionsCommandOutput, import("..").Route53ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes one or more resource record set protections from a hosted zone. After a protection is deleted, you can change the resource record sets that have that name and type by using <code>ChangeResourceRecordSets</code>.</p>
|
|
28
|
+
* <p>The request is atomic. Route 53 either deletes all of the protections in the request or none of them. If one or more entries fail, for example because no protection exists for the specified name and type, Route 53 returns an <code>InvalidResourceRecordSetProtectionBatch</code> error that lists the failing entries and the reason that each one failed.</p>
|
|
29
|
+
* <p>You can specify up to 100 protections in one request.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { Route53Client, DeleteResourceRecordSetProtectionsCommand } from "@aws-sdk/client-route-53"; // ES Modules import
|
|
34
|
+
* // const { Route53Client, DeleteResourceRecordSetProtectionsCommand } = 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 = { // DeleteResourceRecordSetProtectionsRequest
|
|
39
|
+
* HostedZoneId: "STRING_VALUE", // required
|
|
40
|
+
* Protections: [ // ResourceRecordSetProtectionKeyBatch // required
|
|
41
|
+
* { // ResourceRecordSetProtectionKey
|
|
42
|
+
* RecordName: "STRING_VALUE", // required
|
|
43
|
+
* RecordType: "SOA" || "A" || "TXT" || "NS" || "CNAME" || "MX" || "NAPTR" || "PTR" || "SRV" || "SPF" || "AAAA" || "CAA" || "DS" || "TLSA" || "SSHFP" || "SVCB" || "HTTPS", // required
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
47
|
+
* const command = new DeleteResourceRecordSetProtectionsCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // {};
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param DeleteResourceRecordSetProtectionsCommandInput - {@link DeleteResourceRecordSetProtectionsCommandInput}
|
|
54
|
+
* @returns {@link DeleteResourceRecordSetProtectionsCommandOutput}
|
|
55
|
+
* @see {@link DeleteResourceRecordSetProtectionsCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link DeleteResourceRecordSetProtectionsCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link Route53ClientResolvedConfig | config} for Route53Client's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InvalidInput} (client fault)
|
|
60
|
+
* <p>The input is not valid.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InvalidResourceRecordSetProtectionBatch} (client fault)
|
|
63
|
+
* <p>One or more entries in the request couldn't be processed, so Route 53 didn't create or delete any of the protections in the request. The <code>Errors</code> element lists the failing entries and the reason that each one failed.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link NoSuchHostedZone} (client fault)
|
|
66
|
+
* <p>No hosted zone exists with the ID that you specified.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link PriorRequestNotComplete} (client fault)
|
|
69
|
+
* <p>If Amazon Route 53 can't process a request before the next request arrives, it will
|
|
70
|
+
* reject subsequent requests for the same hosted zone and return an <code>HTTP 400
|
|
71
|
+
* error</code> (<code>Bad request</code>). If Route 53 returns this error repeatedly
|
|
72
|
+
* for the same request, we recommend that you wait, in intervals of increasing duration,
|
|
73
|
+
* before you try the request again.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link Route53ServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from Route53 service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class DeleteResourceRecordSetProtectionsCommand extends DeleteResourceRecordSetProtectionsCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: DeleteResourceRecordSetProtectionsRequest;
|
|
86
|
+
output: {};
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: DeleteResourceRecordSetProtectionsCommandInput;
|
|
90
|
+
output: DeleteResourceRecordSetProtectionsCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListResourceRecordSetProtectionsRequest, ListResourceRecordSetProtectionsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListResourceRecordSetProtectionsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListResourceRecordSetProtectionsCommandInput extends ListResourceRecordSetProtectionsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListResourceRecordSetProtectionsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListResourceRecordSetProtectionsCommandOutput extends ListResourceRecordSetProtectionsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListResourceRecordSetProtectionsCommand_base: {
|
|
22
|
+
new (input: ListResourceRecordSetProtectionsCommandInput): import("@smithy/core/client").CommandImpl<ListResourceRecordSetProtectionsCommandInput, ListResourceRecordSetProtectionsCommandOutput, import("..").Route53ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListResourceRecordSetProtectionsCommandInput): import("@smithy/core/client").CommandImpl<ListResourceRecordSetProtectionsCommandInput, ListResourceRecordSetProtectionsCommandOutput, import("..").Route53ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the resource record set protections in a hosted zone. We recommend using pagination to ensure that the operation returns quickly and successfully.</p>
|
|
28
|
+
* <p>If the response includes a <code>NextToken</code> element, there are more protections to list. To get the next page of results, submit another request and specify the value of <code>NextToken</code> in the <code>NextToken</code> parameter.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { Route53Client, ListResourceRecordSetProtectionsCommand } from "@aws-sdk/client-route-53"; // ES Modules import
|
|
33
|
+
* // const { Route53Client, ListResourceRecordSetProtectionsCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
|
|
34
|
+
* // import type { Route53ClientConfig } from "@aws-sdk/client-route-53";
|
|
35
|
+
* const config = {}; // type is Route53ClientConfig
|
|
36
|
+
* const client = new Route53Client(config);
|
|
37
|
+
* const input = { // ListResourceRecordSetProtectionsRequest
|
|
38
|
+
* HostedZoneId: "STRING_VALUE", // required
|
|
39
|
+
* StartRecordName: "STRING_VALUE",
|
|
40
|
+
* StartRecordType: "SOA" || "A" || "TXT" || "NS" || "CNAME" || "MX" || "NAPTR" || "PTR" || "SRV" || "SPF" || "AAAA" || "CAA" || "DS" || "TLSA" || "SSHFP" || "SVCB" || "HTTPS",
|
|
41
|
+
* MaxResults: Number("int"),
|
|
42
|
+
* NextToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListResourceRecordSetProtectionsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListResourceRecordSetProtectionsResponse
|
|
47
|
+
* // ResourceRecordSetProtections: [ // ResourceRecordSetProtections // required
|
|
48
|
+
* // { // ResourceRecordSetProtection
|
|
49
|
+
* // RecordName: "STRING_VALUE", // required
|
|
50
|
+
* // RecordType: "SOA" || "A" || "TXT" || "NS" || "CNAME" || "MX" || "NAPTR" || "PTR" || "SRV" || "SPF" || "AAAA" || "CAA" || "DS" || "TLSA" || "SSHFP" || "SVCB" || "HTTPS", // required
|
|
51
|
+
* // Comment: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // NextToken: "STRING_VALUE",
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param ListResourceRecordSetProtectionsCommandInput - {@link ListResourceRecordSetProtectionsCommandInput}
|
|
60
|
+
* @returns {@link ListResourceRecordSetProtectionsCommandOutput}
|
|
61
|
+
* @see {@link ListResourceRecordSetProtectionsCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link ListResourceRecordSetProtectionsCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link Route53ClientResolvedConfig | config} for Route53Client's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InvalidInput} (client fault)
|
|
66
|
+
* <p>The input is not valid.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InvalidPaginationToken} (client fault)
|
|
69
|
+
* <p>The value that you specified to get the second or subsequent page of results is
|
|
70
|
+
* invalid.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link NoSuchHostedZone} (client fault)
|
|
73
|
+
* <p>No hosted zone exists with the ID that you specified.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link Route53ServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from Route53 service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class ListResourceRecordSetProtectionsCommand extends ListResourceRecordSetProtectionsCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: ListResourceRecordSetProtectionsRequest;
|
|
86
|
+
output: ListResourceRecordSetProtectionsResponse;
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: ListResourceRecordSetProtectionsCommandInput;
|
|
90
|
+
output: ListResourceRecordSetProtectionsCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -8,6 +8,7 @@ export * from "./CreateHealthCheckCommand";
|
|
|
8
8
|
export * from "./CreateHostedZoneCommand";
|
|
9
9
|
export * from "./CreateKeySigningKeyCommand";
|
|
10
10
|
export * from "./CreateQueryLoggingConfigCommand";
|
|
11
|
+
export * from "./CreateResourceRecordSetProtectionsCommand";
|
|
11
12
|
export * from "./CreateReusableDelegationSetCommand";
|
|
12
13
|
export * from "./CreateTrafficPolicyCommand";
|
|
13
14
|
export * from "./CreateTrafficPolicyInstanceCommand";
|
|
@@ -19,6 +20,7 @@ export * from "./DeleteHealthCheckCommand";
|
|
|
19
20
|
export * from "./DeleteHostedZoneCommand";
|
|
20
21
|
export * from "./DeleteKeySigningKeyCommand";
|
|
21
22
|
export * from "./DeleteQueryLoggingConfigCommand";
|
|
23
|
+
export * from "./DeleteResourceRecordSetProtectionsCommand";
|
|
22
24
|
export * from "./DeleteReusableDelegationSetCommand";
|
|
23
25
|
export * from "./DeleteTrafficPolicyCommand";
|
|
24
26
|
export * from "./DeleteTrafficPolicyInstanceCommand";
|
|
@@ -53,6 +55,7 @@ export * from "./ListHostedZonesByNameCommand";
|
|
|
53
55
|
export * from "./ListHostedZonesByVPCCommand";
|
|
54
56
|
export * from "./ListHostedZonesCommand";
|
|
55
57
|
export * from "./ListQueryLoggingConfigsCommand";
|
|
58
|
+
export * from "./ListResourceRecordSetProtectionsCommand";
|
|
56
59
|
export * from "./ListResourceRecordSetsCommand";
|
|
57
60
|
export * from "./ListReusableDelegationSetsCommand";
|
|
58
61
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
|
+
import type { ProtectionError } from "./models_0";
|
|
2
3
|
import { Route53ServiceException as __BaseException } from "./Route53ServiceException";
|
|
3
4
|
/**
|
|
4
5
|
* <p>Another user submitted a request to create, update, or delete the object at the same
|
|
@@ -252,6 +253,10 @@ export declare class NoSuchCidrCollectionException extends __BaseException {
|
|
|
252
253
|
/**
|
|
253
254
|
* <p>This exception contains a list of messages that might contain one or more error
|
|
254
255
|
* messages. Each error message indicates one error in the change batch.</p>
|
|
256
|
+
* <p>Route 53 also returns this error when the change batch creates, updates, or deletes a
|
|
257
|
+
* resource record set whose name and type have a resource record set protection. To make
|
|
258
|
+
* the change, first delete the protection by using
|
|
259
|
+
* <code>DeleteResourceRecordSetProtections</code>.</p>
|
|
255
260
|
* @public
|
|
256
261
|
*/
|
|
257
262
|
export declare class InvalidChangeBatch extends __BaseException {
|
|
@@ -563,6 +568,52 @@ export declare class QueryLoggingConfigAlreadyExists extends __BaseException {
|
|
|
563
568
|
*/
|
|
564
569
|
constructor(opts: __ExceptionOptionType<QueryLoggingConfigAlreadyExists, __BaseException>);
|
|
565
570
|
}
|
|
571
|
+
/**
|
|
572
|
+
* <p>One or more entries in the request couldn't be processed, so Route 53 didn't create or delete any of the protections in the request. The <code>Errors</code> element lists the failing entries and the reason that each one failed.</p>
|
|
573
|
+
* @public
|
|
574
|
+
*/
|
|
575
|
+
export declare class InvalidResourceRecordSetProtectionBatch extends __BaseException {
|
|
576
|
+
static readonly shapeId: string;
|
|
577
|
+
readonly name: "InvalidResourceRecordSetProtectionBatch";
|
|
578
|
+
readonly $fault: "client";
|
|
579
|
+
/**
|
|
580
|
+
* <p>A message that explains why Route 53 couldn't process the <code>CreateResourceRecordSetProtections</code> or <code>DeleteResourceRecordSetProtections</code> request.</p>
|
|
581
|
+
* @public
|
|
582
|
+
*/
|
|
583
|
+
Message?: string | undefined;
|
|
584
|
+
/**
|
|
585
|
+
* <p>The entries that failed, with the reason that each one failed.</p>
|
|
586
|
+
* @public
|
|
587
|
+
*/
|
|
588
|
+
Errors: ProtectionError[] | undefined;
|
|
589
|
+
/**
|
|
590
|
+
* @internal
|
|
591
|
+
*/
|
|
592
|
+
constructor(opts: __ExceptionOptionType<InvalidResourceRecordSetProtectionBatch, __BaseException>);
|
|
593
|
+
}
|
|
594
|
+
/**
|
|
595
|
+
* <p>A protection already exists for every name and type in the request, so Route 53 didn't create any protections. The <code>Errors</code> element lists each entry.</p>
|
|
596
|
+
* @public
|
|
597
|
+
*/
|
|
598
|
+
export declare class ProtectionAlreadyExists extends __BaseException {
|
|
599
|
+
static readonly shapeId: string;
|
|
600
|
+
readonly name: "ProtectionAlreadyExists";
|
|
601
|
+
readonly $fault: "client";
|
|
602
|
+
/**
|
|
603
|
+
* <p>A message that explains that a protection already exists for every name and type in the <code>CreateResourceRecordSetProtections</code> request.</p>
|
|
604
|
+
* @public
|
|
605
|
+
*/
|
|
606
|
+
Message?: string | undefined;
|
|
607
|
+
/**
|
|
608
|
+
* <p>The entries that already have a protection.</p>
|
|
609
|
+
* @public
|
|
610
|
+
*/
|
|
611
|
+
Errors: ProtectionError[] | undefined;
|
|
612
|
+
/**
|
|
613
|
+
* @internal
|
|
614
|
+
*/
|
|
615
|
+
constructor(opts: __ExceptionOptionType<ProtectionAlreadyExists, __BaseException>);
|
|
616
|
+
}
|
|
566
617
|
/**
|
|
567
618
|
* <p>A delegation set with the same owner and caller reference combination has already been
|
|
568
619
|
* created.</p>
|
|
@@ -2950,6 +2950,87 @@ export interface CreateQueryLoggingConfigResponse {
|
|
|
2950
2950
|
*/
|
|
2951
2951
|
Location: string | undefined;
|
|
2952
2952
|
}
|
|
2953
|
+
/**
|
|
2954
|
+
* <p>A protection to create for the resource record sets in a hosted zone that have the specified name and type.</p>
|
|
2955
|
+
* @public
|
|
2956
|
+
*/
|
|
2957
|
+
export interface ResourceRecordSetProtectionConfig {
|
|
2958
|
+
/**
|
|
2959
|
+
* <p>The name of the resource record sets to protect, for example, <code>www.example.com</code>. The name must be the name of the hosted zone or a subdomain of it.</p>
|
|
2960
|
+
* @public
|
|
2961
|
+
*/
|
|
2962
|
+
RecordName: string | undefined;
|
|
2963
|
+
/**
|
|
2964
|
+
* <p>The DNS record type of the resource record sets to protect. You can't protect records of type <code>DNAME</code> or of the DNSSEC record types that Route 53 manages.</p>
|
|
2965
|
+
* @public
|
|
2966
|
+
*/
|
|
2967
|
+
RecordType: RRType | undefined;
|
|
2968
|
+
/**
|
|
2969
|
+
* <p>An optional comment about the protection, for example, the reason that the resource record sets are protected. The comment can be up to 256 characters long. If you don't specify a comment, the protection doesn't have a comment. When Route 53 rejects a <code>ChangeResourceRecordSets</code> request because of this protection, the error message includes the comment, so don't include sensitive information.</p>
|
|
2970
|
+
* @public
|
|
2971
|
+
*/
|
|
2972
|
+
Comment?: string | undefined;
|
|
2973
|
+
}
|
|
2974
|
+
/**
|
|
2975
|
+
* @public
|
|
2976
|
+
*/
|
|
2977
|
+
export interface CreateResourceRecordSetProtectionsRequest {
|
|
2978
|
+
/**
|
|
2979
|
+
* <p>The ID of the hosted zone that contains the resource record sets that you want to protect.</p>
|
|
2980
|
+
* @public
|
|
2981
|
+
*/
|
|
2982
|
+
HostedZoneId: string | undefined;
|
|
2983
|
+
/**
|
|
2984
|
+
* <p>The protections to create. Each entry specifies a resource record set name and type, and an optional comment. The list must contain at least one entry and can contain up to 100 entries. Each name and type can appear only once in the list.</p>
|
|
2985
|
+
* @public
|
|
2986
|
+
*/
|
|
2987
|
+
Protections: ResourceRecordSetProtectionConfig[] | undefined;
|
|
2988
|
+
}
|
|
2989
|
+
/**
|
|
2990
|
+
* @public
|
|
2991
|
+
*/
|
|
2992
|
+
export interface CreateResourceRecordSetProtectionsResponse {
|
|
2993
|
+
}
|
|
2994
|
+
/**
|
|
2995
|
+
* <p>Describes one entry in a <code>CreateResourceRecordSetProtections</code> or <code>DeleteResourceRecordSetProtections</code> request that Route 53 couldn't process.</p>
|
|
2996
|
+
* @public
|
|
2997
|
+
*/
|
|
2998
|
+
export interface ProtectionError {
|
|
2999
|
+
/**
|
|
3000
|
+
* <p>The name in the failing entry.</p>
|
|
3001
|
+
* @public
|
|
3002
|
+
*/
|
|
3003
|
+
RecordName: string | undefined;
|
|
3004
|
+
/**
|
|
3005
|
+
* <p>The record type in the failing entry.</p>
|
|
3006
|
+
* @public
|
|
3007
|
+
*/
|
|
3008
|
+
RecordType: RRType | undefined;
|
|
3009
|
+
/**
|
|
3010
|
+
* <p>The reason that the entry failed. Valid values include the following:</p>
|
|
3011
|
+
* <ul>
|
|
3012
|
+
* <li>
|
|
3013
|
+
* <p>
|
|
3014
|
+
* <code>InvalidInput</code> means that the entry isn't valid. For example, the name isn't a valid DNS name, the name isn't in the hosted zone, the record type can't be protected, or the same name and type appear more than once in the request.</p>
|
|
3015
|
+
* </li>
|
|
3016
|
+
* <li>
|
|
3017
|
+
* <p>
|
|
3018
|
+
* <code>ProtectionAlreadyExists</code> means that a protection already exists for the name and type.</p>
|
|
3019
|
+
* </li>
|
|
3020
|
+
* <li>
|
|
3021
|
+
* <p>
|
|
3022
|
+
* <code>ProtectionNotFound</code> means that no protection exists for the name and type.</p>
|
|
3023
|
+
* </li>
|
|
3024
|
+
* </ul>
|
|
3025
|
+
* @public
|
|
3026
|
+
*/
|
|
3027
|
+
Code: string | undefined;
|
|
3028
|
+
/**
|
|
3029
|
+
* <p>A message that explains why Route 53 couldn't process the entry.</p>
|
|
3030
|
+
* @public
|
|
3031
|
+
*/
|
|
3032
|
+
Message: string | undefined;
|
|
3033
|
+
}
|
|
2953
3034
|
/**
|
|
2954
3035
|
* @public
|
|
2955
3036
|
*/
|
|
@@ -3403,6 +3484,42 @@ export interface DeleteQueryLoggingConfigRequest {
|
|
|
3403
3484
|
*/
|
|
3404
3485
|
export interface DeleteQueryLoggingConfigResponse {
|
|
3405
3486
|
}
|
|
3487
|
+
/**
|
|
3488
|
+
* <p>The name and type that identify a resource record set protection.</p>
|
|
3489
|
+
* @public
|
|
3490
|
+
*/
|
|
3491
|
+
export interface ResourceRecordSetProtectionKey {
|
|
3492
|
+
/**
|
|
3493
|
+
* <p>The name of the protected resource record sets.</p>
|
|
3494
|
+
* @public
|
|
3495
|
+
*/
|
|
3496
|
+
RecordName: string | undefined;
|
|
3497
|
+
/**
|
|
3498
|
+
* <p>The DNS record type of the protected resource record sets.</p>
|
|
3499
|
+
* @public
|
|
3500
|
+
*/
|
|
3501
|
+
RecordType: RRType | undefined;
|
|
3502
|
+
}
|
|
3503
|
+
/**
|
|
3504
|
+
* @public
|
|
3505
|
+
*/
|
|
3506
|
+
export interface DeleteResourceRecordSetProtectionsRequest {
|
|
3507
|
+
/**
|
|
3508
|
+
* <p>The ID of the hosted zone that contains the protections that you want to delete.</p>
|
|
3509
|
+
* @public
|
|
3510
|
+
*/
|
|
3511
|
+
HostedZoneId: string | undefined;
|
|
3512
|
+
/**
|
|
3513
|
+
* <p>The name and type of each protection to delete. The list must contain at least one entry and can contain up to 100 entries. Each name and type can appear only once in the list.</p>
|
|
3514
|
+
* @public
|
|
3515
|
+
*/
|
|
3516
|
+
Protections: ResourceRecordSetProtectionKey[] | undefined;
|
|
3517
|
+
}
|
|
3518
|
+
/**
|
|
3519
|
+
* @public
|
|
3520
|
+
*/
|
|
3521
|
+
export interface DeleteResourceRecordSetProtectionsResponse {
|
|
3522
|
+
}
|
|
3406
3523
|
/**
|
|
3407
3524
|
* <p>A request to delete a reusable delegation set.</p>
|
|
3408
3525
|
* @public
|
|
@@ -5021,6 +5138,74 @@ export interface ListQueryLoggingConfigsResponse {
|
|
|
5021
5138
|
*/
|
|
5022
5139
|
NextToken?: string | undefined;
|
|
5023
5140
|
}
|
|
5141
|
+
/**
|
|
5142
|
+
* @public
|
|
5143
|
+
*/
|
|
5144
|
+
export interface ListResourceRecordSetProtectionsRequest {
|
|
5145
|
+
/**
|
|
5146
|
+
* <p>The ID of the hosted zone that contains the protections that you want to list.</p>
|
|
5147
|
+
* @public
|
|
5148
|
+
*/
|
|
5149
|
+
HostedZoneId: string | undefined;
|
|
5150
|
+
/**
|
|
5151
|
+
* <p>The first resource record set name that you want Route 53 to list protections for. If you don't specify a value, the list starts with the first protection in the hosted zone.</p>
|
|
5152
|
+
* <p>If you specify <code>NextToken</code>, Route 53 ignores <code>StartRecordName</code>.</p>
|
|
5153
|
+
* @public
|
|
5154
|
+
*/
|
|
5155
|
+
StartRecordName?: string | undefined;
|
|
5156
|
+
/**
|
|
5157
|
+
* <p>The first resource record set type, within the name specified by <code>StartRecordName</code>, that you want Route 53 to list protections for. If you specify <code>StartRecordType</code>, you must also specify <code>StartRecordName</code>.</p>
|
|
5158
|
+
* <p>If you specify <code>NextToken</code>, Route 53 ignores <code>StartRecordType</code>.</p>
|
|
5159
|
+
* @public
|
|
5160
|
+
*/
|
|
5161
|
+
StartRecordType?: RRType | undefined;
|
|
5162
|
+
/**
|
|
5163
|
+
* <p>The maximum number of protections that you want Route 53 to return in this response. If you don't specify a value, or if you specify a value greater than 300, Route 53 returns up to 300 protections.</p>
|
|
5164
|
+
* @public
|
|
5165
|
+
*/
|
|
5166
|
+
MaxResults?: number | undefined;
|
|
5167
|
+
/**
|
|
5168
|
+
* <p>If the response to a previous <code>ListResourceRecordSetProtections</code> request included a <code>NextToken</code> element, specify that value here to get the next page of results.</p>
|
|
5169
|
+
* @public
|
|
5170
|
+
*/
|
|
5171
|
+
NextToken?: string | undefined;
|
|
5172
|
+
}
|
|
5173
|
+
/**
|
|
5174
|
+
* <p>A protection for the resource record sets in a hosted zone that have the specified name and type. While the protection exists, Route 53 rejects <code>ChangeResourceRecordSets</code> requests that create, update, or delete those resource record sets.</p>
|
|
5175
|
+
* @public
|
|
5176
|
+
*/
|
|
5177
|
+
export interface ResourceRecordSetProtection {
|
|
5178
|
+
/**
|
|
5179
|
+
* <p>The name of the protected resource record sets.</p>
|
|
5180
|
+
* @public
|
|
5181
|
+
*/
|
|
5182
|
+
RecordName: string | undefined;
|
|
5183
|
+
/**
|
|
5184
|
+
* <p>The DNS record type of the protected resource record sets.</p>
|
|
5185
|
+
* @public
|
|
5186
|
+
*/
|
|
5187
|
+
RecordType: RRType | undefined;
|
|
5188
|
+
/**
|
|
5189
|
+
* <p>The comment that was specified when the protection was created, if any.</p>
|
|
5190
|
+
* @public
|
|
5191
|
+
*/
|
|
5192
|
+
Comment?: string | undefined;
|
|
5193
|
+
}
|
|
5194
|
+
/**
|
|
5195
|
+
* @public
|
|
5196
|
+
*/
|
|
5197
|
+
export interface ListResourceRecordSetProtectionsResponse {
|
|
5198
|
+
/**
|
|
5199
|
+
* <p>The protections in the hosted zone. The list is empty if the hosted zone has no protections.</p>
|
|
5200
|
+
* @public
|
|
5201
|
+
*/
|
|
5202
|
+
ResourceRecordSetProtections: ResourceRecordSetProtection[] | undefined;
|
|
5203
|
+
/**
|
|
5204
|
+
* <p>If there are more protections to list, a token that you can specify in the <code>NextToken</code> parameter of another request to get the next page of results. If there are no more protections to list, the response doesn't include <code>NextToken</code>.</p>
|
|
5205
|
+
* @public
|
|
5206
|
+
*/
|
|
5207
|
+
NextToken?: string | undefined;
|
|
5208
|
+
}
|
|
5024
5209
|
/**
|
|
5025
5210
|
* <p>A request for the resource record sets that are associated with a specified hosted
|
|
5026
5211
|
* zone.</p>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListResourceRecordSetProtectionsCommandInput, ListResourceRecordSetProtectionsCommandOutput } from "../commands/ListResourceRecordSetProtectionsCommand";
|
|
3
|
+
import type { Route53PaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListResourceRecordSetProtections: (config: Route53PaginationConfiguration, input: ListResourceRecordSetProtectionsCommandInput, ...rest: any[]) => Paginator<ListResourceRecordSetProtectionsCommandOutput>;
|
|
@@ -32,6 +32,7 @@ export declare var InvalidKeySigningKeyName$: StaticErrorSchema;
|
|
|
32
32
|
export declare var InvalidKeySigningKeyStatus$: StaticErrorSchema;
|
|
33
33
|
export declare var InvalidKMSArn$: StaticErrorSchema;
|
|
34
34
|
export declare var InvalidPaginationToken$: StaticErrorSchema;
|
|
35
|
+
export declare var InvalidResourceRecordSetProtectionBatch$: StaticErrorSchema;
|
|
35
36
|
export declare var InvalidSigningStatus$: StaticErrorSchema;
|
|
36
37
|
export declare var InvalidTrafficPolicyDocument$: StaticErrorSchema;
|
|
37
38
|
export declare var InvalidVPCId$: StaticErrorSchema;
|
|
@@ -55,6 +56,7 @@ export declare var NoSuchTrafficPolicy$: StaticErrorSchema;
|
|
|
55
56
|
export declare var NoSuchTrafficPolicyInstance$: StaticErrorSchema;
|
|
56
57
|
export declare var NotAuthorizedException$: StaticErrorSchema;
|
|
57
58
|
export declare var PriorRequestNotComplete$: StaticErrorSchema;
|
|
59
|
+
export declare var ProtectionAlreadyExists$: StaticErrorSchema;
|
|
58
60
|
export declare var PublicZoneVPCAssociation$: StaticErrorSchema;
|
|
59
61
|
export declare var QueryLoggingConfigAlreadyExists$: StaticErrorSchema;
|
|
60
62
|
export declare var ThrottlingException$: StaticErrorSchema;
|
|
@@ -109,6 +111,8 @@ export declare var CreateKeySigningKeyRequest$: StaticStructureSchema;
|
|
|
109
111
|
export declare var CreateKeySigningKeyResponse$: StaticStructureSchema;
|
|
110
112
|
export declare var CreateQueryLoggingConfigRequest$: StaticStructureSchema;
|
|
111
113
|
export declare var CreateQueryLoggingConfigResponse$: StaticStructureSchema;
|
|
114
|
+
export declare var CreateResourceRecordSetProtectionsRequest$: StaticStructureSchema;
|
|
115
|
+
export declare var CreateResourceRecordSetProtectionsResponse$: StaticStructureSchema;
|
|
112
116
|
export declare var CreateReusableDelegationSetRequest$: StaticStructureSchema;
|
|
113
117
|
export declare var CreateReusableDelegationSetResponse$: StaticStructureSchema;
|
|
114
118
|
export declare var CreateTrafficPolicyInstanceRequest$: StaticStructureSchema;
|
|
@@ -132,6 +136,8 @@ export declare var DeleteKeySigningKeyRequest$: StaticStructureSchema;
|
|
|
132
136
|
export declare var DeleteKeySigningKeyResponse$: StaticStructureSchema;
|
|
133
137
|
export declare var DeleteQueryLoggingConfigRequest$: StaticStructureSchema;
|
|
134
138
|
export declare var DeleteQueryLoggingConfigResponse$: StaticStructureSchema;
|
|
139
|
+
export declare var DeleteResourceRecordSetProtectionsRequest$: StaticStructureSchema;
|
|
140
|
+
export declare var DeleteResourceRecordSetProtectionsResponse$: StaticStructureSchema;
|
|
135
141
|
export declare var DeleteReusableDelegationSetRequest$: StaticStructureSchema;
|
|
136
142
|
export declare var DeleteReusableDelegationSetResponse$: StaticStructureSchema;
|
|
137
143
|
export declare var DeleteTrafficPolicyInstanceRequest$: StaticStructureSchema;
|
|
@@ -217,6 +223,8 @@ export declare var ListHostedZonesRequest$: StaticStructureSchema;
|
|
|
217
223
|
export declare var ListHostedZonesResponse$: StaticStructureSchema;
|
|
218
224
|
export declare var ListQueryLoggingConfigsRequest$: StaticStructureSchema;
|
|
219
225
|
export declare var ListQueryLoggingConfigsResponse$: StaticStructureSchema;
|
|
226
|
+
export declare var ListResourceRecordSetProtectionsRequest$: StaticStructureSchema;
|
|
227
|
+
export declare var ListResourceRecordSetProtectionsResponse$: StaticStructureSchema;
|
|
220
228
|
export declare var ListResourceRecordSetsRequest$: StaticStructureSchema;
|
|
221
229
|
export declare var ListResourceRecordSetsResponse$: StaticStructureSchema;
|
|
222
230
|
export declare var ListReusableDelegationSetsRequest$: StaticStructureSchema;
|
|
@@ -238,9 +246,13 @@ export declare var ListTrafficPolicyVersionsResponse$: StaticStructureSchema;
|
|
|
238
246
|
export declare var ListVPCAssociationAuthorizationsRequest$: StaticStructureSchema;
|
|
239
247
|
export declare var ListVPCAssociationAuthorizationsResponse$: StaticStructureSchema;
|
|
240
248
|
export declare var LocationSummary$: StaticStructureSchema;
|
|
249
|
+
export declare var ProtectionError$: StaticStructureSchema;
|
|
241
250
|
export declare var QueryLoggingConfig$: StaticStructureSchema;
|
|
242
251
|
export declare var ResourceRecord$: StaticStructureSchema;
|
|
243
252
|
export declare var ResourceRecordSet$: StaticStructureSchema;
|
|
253
|
+
export declare var ResourceRecordSetProtection$: StaticStructureSchema;
|
|
254
|
+
export declare var ResourceRecordSetProtectionConfig$: StaticStructureSchema;
|
|
255
|
+
export declare var ResourceRecordSetProtectionKey$: StaticStructureSchema;
|
|
244
256
|
export declare var ResourceTagSet$: StaticStructureSchema;
|
|
245
257
|
export declare var ReusableDelegationSetLimit$: StaticStructureSchema;
|
|
246
258
|
export declare var StatusReport$: StaticStructureSchema;
|
|
@@ -271,6 +283,7 @@ export declare var CreateHealthCheck$: StaticOperationSchema;
|
|
|
271
283
|
export declare var CreateHostedZone$: StaticOperationSchema;
|
|
272
284
|
export declare var CreateKeySigningKey$: StaticOperationSchema;
|
|
273
285
|
export declare var CreateQueryLoggingConfig$: StaticOperationSchema;
|
|
286
|
+
export declare var CreateResourceRecordSetProtections$: StaticOperationSchema;
|
|
274
287
|
export declare var CreateReusableDelegationSet$: StaticOperationSchema;
|
|
275
288
|
export declare var CreateTrafficPolicy$: StaticOperationSchema;
|
|
276
289
|
export declare var CreateTrafficPolicyInstance$: StaticOperationSchema;
|
|
@@ -282,6 +295,7 @@ export declare var DeleteHealthCheck$: StaticOperationSchema;
|
|
|
282
295
|
export declare var DeleteHostedZone$: StaticOperationSchema;
|
|
283
296
|
export declare var DeleteKeySigningKey$: StaticOperationSchema;
|
|
284
297
|
export declare var DeleteQueryLoggingConfig$: StaticOperationSchema;
|
|
298
|
+
export declare var DeleteResourceRecordSetProtections$: StaticOperationSchema;
|
|
285
299
|
export declare var DeleteReusableDelegationSet$: StaticOperationSchema;
|
|
286
300
|
export declare var DeleteTrafficPolicy$: StaticOperationSchema;
|
|
287
301
|
export declare var DeleteTrafficPolicyInstance$: StaticOperationSchema;
|
|
@@ -316,6 +330,7 @@ export declare var ListHostedZones$: StaticOperationSchema;
|
|
|
316
330
|
export declare var ListHostedZonesByName$: StaticOperationSchema;
|
|
317
331
|
export declare var ListHostedZonesByVPC$: StaticOperationSchema;
|
|
318
332
|
export declare var ListQueryLoggingConfigs$: StaticOperationSchema;
|
|
333
|
+
export declare var ListResourceRecordSetProtections$: StaticOperationSchema;
|
|
319
334
|
export declare var ListResourceRecordSets$: StaticOperationSchema;
|
|
320
335
|
export declare var ListReusableDelegationSets$: StaticOperationSchema;
|
|
321
336
|
export declare var ListTagsForResource$: StaticOperationSchema;
|