@mavogel/awscdk-rootmail 0.1.46 → 0.1.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/.jsii +7 -7
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +1 -1
  5. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +1 -1
  6. package/node_modules/@aws-sdk/client-route-53/README.md +21 -0
  7. package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +183 -3
  8. package/node_modules/@aws-sdk/client-route-53/dist-es/Route53.js +8 -0
  9. package/node_modules/@aws-sdk/client-route-53/dist-es/commands/CreateResourceRecordSetProtectionsCommand.js +4 -0
  10. package/node_modules/@aws-sdk/client-route-53/dist-es/commands/DeleteResourceRecordSetProtectionsCommand.js +4 -0
  11. package/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListResourceRecordSetProtectionsCommand.js +4 -0
  12. package/node_modules/@aws-sdk/client-route-53/dist-es/commands/index.js +3 -0
  13. package/node_modules/@aws-sdk/client-route-53/dist-es/models/errors.js +34 -0
  14. package/node_modules/@aws-sdk/client-route-53/dist-es/pagination/ListResourceRecordSetProtectionsPaginator.js +4 -0
  15. package/node_modules/@aws-sdk/client-route-53/dist-es/pagination/index.js +1 -0
  16. package/node_modules/@aws-sdk/client-route-53/dist-es/schemas/schemas_0.js +113 -3
  17. package/node_modules/@aws-sdk/client-route-53/dist-types/Route53.d.ts +28 -0
  18. package/node_modules/@aws-sdk/client-route-53/dist-types/Route53Client.d.ts +5 -2
  19. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ChangeResourceRecordSetsCommand.d.ts +15 -0
  20. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateResourceRecordSetProtectionsCommand.d.ts +113 -0
  21. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteHostedZoneCommand.d.ts +3 -0
  22. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteResourceRecordSetProtectionsCommand.d.ts +93 -0
  23. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListResourceRecordSetProtectionsCommand.d.ts +93 -0
  24. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/index.d.ts +3 -0
  25. package/node_modules/@aws-sdk/client-route-53/dist-types/models/errors.d.ts +51 -0
  26. package/node_modules/@aws-sdk/client-route-53/dist-types/models/models_0.d.ts +185 -0
  27. package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListResourceRecordSetProtectionsPaginator.d.ts +7 -0
  28. package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/index.d.ts +1 -0
  29. package/node_modules/@aws-sdk/client-route-53/dist-types/schemas/schemas_0.d.ts +15 -0
  30. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/Route53.d.ts +58 -0
  31. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/Route53Client.d.ts +18 -0
  32. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/CreateResourceRecordSetProtectionsCommand.d.ts +42 -0
  33. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/DeleteResourceRecordSetProtectionsCommand.d.ts +42 -0
  34. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/ListResourceRecordSetProtectionsCommand.d.ts +42 -0
  35. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/commands/index.d.ts +3 -0
  36. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/models/errors.d.ts +19 -0
  37. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/models/models_0.d.ts +41 -0
  38. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/pagination/ListResourceRecordSetProtectionsPaginator.d.ts +11 -0
  39. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/pagination/index.d.ts +1 -0
  40. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
  41. package/node_modules/@aws-sdk/client-route-53/package.json +1 -1
  42. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
  43. package/node_modules/@aws-sdk/client-s3/package.json +2 -2
  44. package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +1 -1
  45. package/node_modules/@aws-sdk/client-ses/package.json +1 -1
  46. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
  47. package/node_modules/@aws-sdk/client-ssm/package.json +1 -1
  48. package/package.json +6 -6
@@ -464,6 +464,40 @@ export class QueryLoggingConfigAlreadyExists extends __BaseException {
464
464
  Object.setPrototypeOf(this, QueryLoggingConfigAlreadyExists.prototype);
465
465
  }
466
466
  }
467
+ export class InvalidResourceRecordSetProtectionBatch extends __BaseException {
468
+ static shapeId = "com.amazonaws.route53#InvalidResourceRecordSetProtectionBatch";
469
+ name = "InvalidResourceRecordSetProtectionBatch";
470
+ $fault = "client";
471
+ Message;
472
+ Errors;
473
+ constructor(opts) {
474
+ super({
475
+ name: "InvalidResourceRecordSetProtectionBatch",
476
+ $fault: "client",
477
+ ...opts,
478
+ });
479
+ Object.setPrototypeOf(this, InvalidResourceRecordSetProtectionBatch.prototype);
480
+ this.Message = opts.Message;
481
+ this.Errors = opts.Errors;
482
+ }
483
+ }
484
+ export class ProtectionAlreadyExists extends __BaseException {
485
+ static shapeId = "com.amazonaws.route53#ProtectionAlreadyExists";
486
+ name = "ProtectionAlreadyExists";
487
+ $fault = "client";
488
+ Message;
489
+ Errors;
490
+ constructor(opts) {
491
+ super({
492
+ name: "ProtectionAlreadyExists",
493
+ $fault: "client",
494
+ ...opts,
495
+ });
496
+ Object.setPrototypeOf(this, ProtectionAlreadyExists.prototype);
497
+ this.Message = opts.Message;
498
+ this.Errors = opts.Errors;
499
+ }
500
+ }
467
501
  export class DelegationSetAlreadyCreated extends __BaseException {
468
502
  static shapeId = "com.amazonaws.route53#DelegationSetAlreadyCreated";
469
503
  name = "DelegationSetAlreadyCreated";
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListResourceRecordSetProtectionsCommand, } from "../commands/ListResourceRecordSetProtectionsCommand";
3
+ import { Route53Client } from "../Route53Client";
4
+ export const paginateListResourceRecordSetProtections = createPaginator(Route53Client, ListResourceRecordSetProtectionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -5,3 +5,4 @@ export * from "./ListCidrLocationsPaginator";
5
5
  export * from "./ListHealthChecksPaginator";
6
6
  export * from "./ListHostedZonesPaginator";
7
7
  export * from "./ListQueryLoggingConfigsPaginator";
8
+ export * from "./ListResourceRecordSetProtectionsPaginator";
@@ -68,6 +68,9 @@ const _CRDS = "CreateReusableDelegationSet";
68
68
  const _CRDSR = "CreateReusableDelegationSetRequest";
69
69
  const _CRDSRr = "CreateReusableDelegationSetResponse";
70
70
  const _CRRS = "ChangeResourceRecordSets";
71
+ const _CRRSP = "CreateResourceRecordSetProtections";
72
+ const _CRRSPR = "CreateResourceRecordSetProtectionsRequest";
73
+ const _CRRSPRr = "CreateResourceRecordSetProtectionsResponse";
71
74
  const _CRRSR = "ChangeResourceRecordSetsRequest";
72
75
  const _CRRSRh = "ChangeResourceRecordSetsResponse";
73
76
  const _CS = "CollectionSummary";
@@ -96,6 +99,7 @@ const _Ch = "Change";
96
99
  const _Cha = "Changes";
97
100
  const _Ci = "Cidr";
98
101
  const _Co = "Coordinates";
102
+ const _Cod = "Code";
99
103
  const _Col = "Collection";
100
104
  const _Con = "Config";
101
105
  const _Cou = "Count";
@@ -131,6 +135,9 @@ const _DQLCRe = "DeleteQueryLoggingConfigResponse";
131
135
  const _DRDS = "DeleteReusableDelegationSet";
132
136
  const _DRDSR = "DeleteReusableDelegationSetRequest";
133
137
  const _DRDSRe = "DeleteReusableDelegationSetResponse";
138
+ const _DRRSP = "DeleteResourceRecordSetProtections";
139
+ const _DRRSPR = "DeleteResourceRecordSetProtectionsRequest";
140
+ const _DRRSPRe = "DeleteResourceRecordSetProtectionsResponse";
134
141
  const _DS = "DelegationSet";
135
142
  const _DSAC = "DelegationSetAlreadyCreated";
136
143
  const _DSAR = "DelegationSetAlreadyReusable";
@@ -158,6 +165,7 @@ const _De = "Description";
158
165
  const _Di = "Dimension";
159
166
  const _Dis = "Disabled";
160
167
  const _Do = "Document";
168
+ const _E = "Errors";
161
169
  const _EAR = "EnableAcceleratedRecovery";
162
170
  const _EDNSCSIP = "EDNS0ClientSubnetIP";
163
171
  const _EDNSCSM = "EDNS0ClientSubnetMask";
@@ -275,6 +283,7 @@ const _IKSKN = "InvalidKeySigningKeyName";
275
283
  const _IKSKS = "InvalidKeySigningKeyStatus";
276
284
  const _IPA = "IPAddress";
277
285
  const _IPT = "InvalidPaginationToken";
286
+ const _IRRSPB = "InvalidResourceRecordSetProtectionBatch";
278
287
  const _ISS = "InvalidSigningStatus";
279
288
  const _IT = "IsTruncated";
280
289
  const _ITPD = "InvalidTrafficPolicyDocument";
@@ -326,6 +335,9 @@ const _LRDS = "ListReusableDelegationSets";
326
335
  const _LRDSR = "ListReusableDelegationSetsRequest";
327
336
  const _LRDSRi = "ListReusableDelegationSetsResponse";
328
337
  const _LRRS = "ListResourceRecordSets";
338
+ const _LRRSP = "ListResourceRecordSetProtections";
339
+ const _LRRSPR = "ListResourceRecordSetProtectionsRequest";
340
+ const _LRRSPRi = "ListResourceRecordSetProtectionsResponse";
329
341
  const _LRRSR = "ListResourceRecordSetsRequest";
330
342
  const _LRRSRi = "ListResourceRecordSetsResponse";
331
343
  const _LS = "LinkedService";
@@ -400,12 +412,16 @@ const _O = "Owner";
400
412
  const _OA = "OwningAccount";
401
413
  const _OS = "OwningService";
402
414
  const _P = "Period";
415
+ const _PAE = "ProtectionAlreadyExists";
416
+ const _PE = "ProtectionError";
417
+ const _PEr = "ProtectionErrors";
403
418
  const _PK = "PublicKey";
404
419
  const _PRNC = "PriorRequestNotComplete";
405
420
  const _PZ = "PrivateZone";
406
421
  const _PZVPCA = "PublicZoneVPCAssociation";
407
422
  const _Po = "Port";
408
- const _Pr = "Protocol";
423
+ const _Pr = "Protections";
424
+ const _Pro = "Protocol";
409
425
  const _QLC = "QueryLoggingConfig";
410
426
  const _QLCAE = "QueryLoggingConfigAlreadyExists";
411
427
  const _QLCu = "QueryLoggingConfigs";
@@ -427,6 +443,12 @@ const _RP = "ResourcePath";
427
443
  const _RR = "ResourceRecord";
428
444
  const _RRS = "ResourceRecordSet";
429
445
  const _RRSC = "ResourceRecordSetCount";
446
+ const _RRSP = "ResourceRecordSetProtections";
447
+ const _RRSPC = "ResourceRecordSetProtectionConfig";
448
+ const _RRSPCB = "ResourceRecordSetProtectionConfigBatch";
449
+ const _RRSPK = "ResourceRecordSetProtectionKey";
450
+ const _RRSPKB = "ResourceRecordSetProtectionKeyBatch";
451
+ const _RRSPe = "ResourceRecordSetProtection";
430
452
  const _RRSe = "ResourceRecordSets";
431
453
  const _RRe = "ResourceRecords";
432
454
  const _RT = "ResourceType";
@@ -518,6 +540,7 @@ const _VPCR = "VPCRegion";
518
540
  const _VPCs = "VPCs";
519
541
  const _Ve = "Version";
520
542
  const _W = "Weight";
543
+ const _aQE = "awsQueryError";
521
544
  const _c = "client";
522
545
  const _co = "continentcode";
523
546
  const _cou = "countrycode";
@@ -561,7 +584,7 @@ const _vp = "vpcregion";
561
584
  const _xN = "xmlName";
562
585
  const n0 = "com.amazonaws.route53";
563
586
  import { TypeRegistry } from "@smithy/core/schema";
564
- import { CidrBlockInUseException, CidrCollectionAlreadyExistsException, CidrCollectionInUseException, CidrCollectionVersionMismatchException, ConcurrentModification, ConflictingDomainExists, ConflictingTypes, DelegationSetAlreadyCreated, DelegationSetAlreadyReusable, DelegationSetInUse, DelegationSetNotAvailable, DelegationSetNotReusable, DNSSECNotFound, HealthCheckAlreadyExists, HealthCheckInUse, HealthCheckVersionMismatch, HostedZoneAlreadyExists, HostedZoneNotEmpty, HostedZoneNotFound, HostedZoneNotPrivate, HostedZonePartiallyDelegated, IncompatibleVersion, InsufficientCloudWatchLogsResourcePolicy, InvalidArgument, InvalidChangeBatch, InvalidDomainName, InvalidInput, InvalidKeySigningKeyName, InvalidKeySigningKeyStatus, InvalidKMSArn, InvalidPaginationToken, InvalidSigningStatus, InvalidTrafficPolicyDocument, InvalidVPCId, KeySigningKeyAlreadyExists, KeySigningKeyInParentDSRecord, KeySigningKeyInUse, KeySigningKeyWithActiveStatusNotFound, LastVPCAssociation, LimitsExceeded, NoSuchChange, NoSuchCidrCollectionException, NoSuchCidrLocationException, NoSuchCloudWatchLogsLogGroup, NoSuchDelegationSet, NoSuchGeoLocation, NoSuchHealthCheck, NoSuchHostedZone, NoSuchKeySigningKey, NoSuchQueryLoggingConfig, NoSuchTrafficPolicy, NoSuchTrafficPolicyInstance, NotAuthorizedException, PriorRequestNotComplete, PublicZoneVPCAssociation, QueryLoggingConfigAlreadyExists, ThrottlingException, TooManyHealthChecks, TooManyHostedZones, TooManyKeySigningKeys, TooManyTrafficPolicies, TooManyTrafficPolicyInstances, TooManyTrafficPolicyVersionsForCurrentPolicy, TooManyVPCAssociationAuthorizations, TrafficPolicyAlreadyExists, TrafficPolicyInstanceAlreadyExists, TrafficPolicyInUse, VPCAssociationAuthorizationNotFound, VPCAssociationNotFound, } from "../models/errors";
587
+ import { CidrBlockInUseException, CidrCollectionAlreadyExistsException, CidrCollectionInUseException, CidrCollectionVersionMismatchException, ConcurrentModification, ConflictingDomainExists, ConflictingTypes, DelegationSetAlreadyCreated, DelegationSetAlreadyReusable, DelegationSetInUse, DelegationSetNotAvailable, DelegationSetNotReusable, DNSSECNotFound, HealthCheckAlreadyExists, HealthCheckInUse, HealthCheckVersionMismatch, HostedZoneAlreadyExists, HostedZoneNotEmpty, HostedZoneNotFound, HostedZoneNotPrivate, HostedZonePartiallyDelegated, IncompatibleVersion, InsufficientCloudWatchLogsResourcePolicy, InvalidArgument, InvalidChangeBatch, InvalidDomainName, InvalidInput, InvalidKeySigningKeyName, InvalidKeySigningKeyStatus, InvalidKMSArn, InvalidPaginationToken, InvalidResourceRecordSetProtectionBatch, InvalidSigningStatus, InvalidTrafficPolicyDocument, InvalidVPCId, KeySigningKeyAlreadyExists, KeySigningKeyInParentDSRecord, KeySigningKeyInUse, KeySigningKeyWithActiveStatusNotFound, LastVPCAssociation, LimitsExceeded, NoSuchChange, NoSuchCidrCollectionException, NoSuchCidrLocationException, NoSuchCloudWatchLogsLogGroup, NoSuchDelegationSet, NoSuchGeoLocation, NoSuchHealthCheck, NoSuchHostedZone, NoSuchKeySigningKey, NoSuchQueryLoggingConfig, NoSuchTrafficPolicy, NoSuchTrafficPolicyInstance, NotAuthorizedException, PriorRequestNotComplete, ProtectionAlreadyExists, PublicZoneVPCAssociation, QueryLoggingConfigAlreadyExists, ThrottlingException, TooManyHealthChecks, TooManyHostedZones, TooManyKeySigningKeys, TooManyTrafficPolicies, TooManyTrafficPolicyInstances, TooManyTrafficPolicyVersionsForCurrentPolicy, TooManyVPCAssociationAuthorizations, TrafficPolicyAlreadyExists, TrafficPolicyInstanceAlreadyExists, TrafficPolicyInUse, VPCAssociationAuthorizationNotFound, VPCAssociationNotFound, } from "../models/errors";
565
588
  import { Route53ServiceException } from "../models/Route53ServiceException";
566
589
  const _s_registry = new TypeRegistry(_s);
567
590
  export var Route53ServiceException$ = [-3, _s, "Route53ServiceException", 0, [], []];
@@ -753,6 +776,12 @@ export var InvalidPaginationToken$ = [-3, n0, _IPT,
753
776
  [0]
754
777
  ];
755
778
  n0_registry.registerError(InvalidPaginationToken$, InvalidPaginationToken);
779
+ export var InvalidResourceRecordSetProtectionBatch$ = [-3, n0, _IRRSPB,
780
+ { [_aQE]: [`InvalidResourceRecordSetProtectionBatch`, 400], [_e]: _c, [_hE]: 400 },
781
+ [_E, _M],
782
+ [[() => ProtectionErrors, 0], 0], 1
783
+ ];
784
+ n0_registry.registerError(InvalidResourceRecordSetProtectionBatch$, InvalidResourceRecordSetProtectionBatch);
756
785
  export var InvalidSigningStatus$ = [-3, n0, _ISS,
757
786
  { [_e]: _c },
758
787
  [_m],
@@ -891,6 +920,12 @@ export var PriorRequestNotComplete$ = [-3, n0, _PRNC,
891
920
  [0]
892
921
  ];
893
922
  n0_registry.registerError(PriorRequestNotComplete$, PriorRequestNotComplete);
923
+ export var ProtectionAlreadyExists$ = [-3, n0, _PAE,
924
+ { [_aQE]: [`ProtectionAlreadyExists`, 409], [_e]: _c, [_hE]: 409 },
925
+ [_E, _M],
926
+ [[() => ProtectionErrors, 0], 0], 1
927
+ ];
928
+ n0_registry.registerError(ProtectionAlreadyExists$, ProtectionAlreadyExists);
894
929
  export var PublicZoneVPCAssociation$ = [-3, n0, _PZVPCA,
895
930
  { [_e]: _c, [_hE]: 400 },
896
931
  [_m],
@@ -1150,6 +1185,16 @@ export var CreateQueryLoggingConfigResponse$ = [3, n0, _CQLCRr,
1150
1185
  [_QLC, _Loc],
1151
1186
  [() => QueryLoggingConfig$, [0, { [_hH]: _Loc }]], 2
1152
1187
  ];
1188
+ export var CreateResourceRecordSetProtectionsRequest$ = [3, n0, _CRRSPR,
1189
+ 0,
1190
+ [_HZI, _Pr],
1191
+ [[0, 1], [() => ResourceRecordSetProtectionConfigBatch, 0]], 2
1192
+ ];
1193
+ export var CreateResourceRecordSetProtectionsResponse$ = [3, n0, _CRRSPRr,
1194
+ 0,
1195
+ [],
1196
+ []
1197
+ ];
1153
1198
  export var CreateReusableDelegationSetRequest$ = [3, n0, _CRDSR,
1154
1199
  0,
1155
1200
  [_CR, _HZI],
@@ -1265,6 +1310,16 @@ export var DeleteQueryLoggingConfigResponse$ = [3, n0, _DQLCRe,
1265
1310
  [],
1266
1311
  []
1267
1312
  ];
1313
+ export var DeleteResourceRecordSetProtectionsRequest$ = [3, n0, _DRRSPR,
1314
+ 0,
1315
+ [_HZI, _Pr],
1316
+ [[0, 1], [() => ResourceRecordSetProtectionKeyBatch, 0]], 2
1317
+ ];
1318
+ export var DeleteResourceRecordSetProtectionsResponse$ = [3, n0, _DRRSPRe,
1319
+ 0,
1320
+ [],
1321
+ []
1322
+ ];
1268
1323
  export var DeleteReusableDelegationSetRequest$ = [3, n0, _DRDSR,
1269
1324
  0,
1270
1325
  [_I],
@@ -1690,6 +1745,16 @@ export var ListQueryLoggingConfigsResponse$ = [3, n0, _LQLCRi,
1690
1745
  [_QLCu, _NT],
1691
1746
  [[() => QueryLoggingConfigs, 0], 0], 1
1692
1747
  ];
1748
+ export var ListResourceRecordSetProtectionsRequest$ = [3, n0, _LRRSPR,
1749
+ 0,
1750
+ [_HZI, _SRN, _SRT, _MR, _NT],
1751
+ [[0, 1], [0, { [_hQ]: _na }], [0, { [_hQ]: _t }], [1, { [_hQ]: _ma }], [0, { [_hQ]: _n }]], 1
1752
+ ];
1753
+ export var ListResourceRecordSetProtectionsResponse$ = [3, n0, _LRRSPRi,
1754
+ 0,
1755
+ [_RRSP, _NT],
1756
+ [[() => ResourceRecordSetProtections, 0], 0], 1
1757
+ ];
1693
1758
  export var ListResourceRecordSetsRequest$ = [3, n0, _LRRSR,
1694
1759
  0,
1695
1760
  [_HZI, _SRN, _SRT, _SRI, _MI],
@@ -1795,6 +1860,11 @@ export var LocationSummary$ = [3, n0, _LSo,
1795
1860
  [_LN],
1796
1861
  [0]
1797
1862
  ];
1863
+ export var ProtectionError$ = [3, n0, _PE,
1864
+ 0,
1865
+ [_RN, _RTe, _Cod, _M],
1866
+ [0, 0, 0, 0], 4
1867
+ ];
1798
1868
  export var QueryLoggingConfig$ = [3, n0, _QLC,
1799
1869
  0,
1800
1870
  [_I, _HZI, _CWLLGA],
@@ -1810,6 +1880,21 @@ export var ResourceRecordSet$ = [3, n0, _RRS,
1810
1880
  [_N, _T, _SI, _W, _R, _GL, _Fa, _MVA, _TTL, _RRe, _AT, _HCI, _TPII, _CRC, _GPL],
1811
1881
  [0, 0, 0, 1, 0, () => GeoLocation$, 0, 2, 1, [() => ResourceRecords, 0], () => AliasTarget$, 0, 0, () => CidrRoutingConfig$, () => GeoProximityLocation$], 2
1812
1882
  ];
1883
+ export var ResourceRecordSetProtection$ = [3, n0, _RRSPe,
1884
+ 0,
1885
+ [_RN, _RTe, _C],
1886
+ [0, 0, 0], 2
1887
+ ];
1888
+ export var ResourceRecordSetProtectionConfig$ = [3, n0, _RRSPC,
1889
+ 0,
1890
+ [_RN, _RTe, _C],
1891
+ [0, 0, 0], 2
1892
+ ];
1893
+ export var ResourceRecordSetProtectionKey$ = [3, n0, _RRSPK,
1894
+ 0,
1895
+ [_RN, _RTe],
1896
+ [0, 0], 2
1897
+ ];
1813
1898
  export var ResourceTagSet$ = [3, n0, _RTS,
1814
1899
  0,
1815
1900
  [_RT, _RI, _Ta],
@@ -1837,7 +1922,7 @@ export var TestDNSAnswerRequest$ = [3, n0, _TDNSAR,
1837
1922
  ];
1838
1923
  export var TestDNSAnswerResponse$ = [3, n0, _TDNSARe,
1839
1924
  0,
1840
- [_Nam, _RN, _RTe, _RD, _RC, _Pr],
1925
+ [_Nam, _RN, _RTe, _RD, _RC, _Pro],
1841
1926
  [0, 0, 0, [() => RecordData, 0], 0, 0], 6
1842
1927
  ];
1843
1928
  export var TrafficPolicy$ = [3, n0, _TP,
@@ -1979,6 +2064,10 @@ var KeySigningKeys = [1, n0, _KSKe,
1979
2064
  var LocationSummaries = [1, n0, _LSoc,
1980
2065
  0, () => LocationSummary$
1981
2066
  ];
2067
+ var ProtectionErrors = [1, n0, _PEr,
2068
+ 0, [() => ProtectionError$,
2069
+ { [_xN]: _PE }]
2070
+ ];
1982
2071
  var QueryLoggingConfigs = [1, n0, _QLCu,
1983
2072
  0, [() => QueryLoggingConfig$,
1984
2073
  { [_xN]: _QLC }]
@@ -1995,6 +2084,18 @@ var ResourceRecords = [1, n0, _RRe,
1995
2084
  0, [() => ResourceRecord$,
1996
2085
  { [_xN]: _RR }]
1997
2086
  ];
2087
+ var ResourceRecordSetProtectionConfigBatch = [1, n0, _RRSPCB,
2088
+ 0, [() => ResourceRecordSetProtectionConfig$,
2089
+ { [_xN]: _RRSPC }]
2090
+ ];
2091
+ var ResourceRecordSetProtectionKeyBatch = [1, n0, _RRSPKB,
2092
+ 0, [() => ResourceRecordSetProtectionKey$,
2093
+ { [_xN]: _RRSPK }]
2094
+ ];
2095
+ var ResourceRecordSetProtections = [1, n0, _RRSP,
2096
+ 0, [() => ResourceRecordSetProtection$,
2097
+ { [_xN]: _RRSPe }]
2098
+ ];
1998
2099
  var ResourceRecordSets = [1, n0, _RRSe,
1999
2100
  0, [() => ResourceRecordSet$,
2000
2101
  { [_xN]: _RRS }]
@@ -2061,6 +2162,9 @@ export var CreateKeySigningKey$ = [9, n0, _CKSK,
2061
2162
  export var CreateQueryLoggingConfig$ = [9, n0, _CQLC,
2062
2163
  { [_ht]: ["POST", "/2013-04-01/queryloggingconfig", 201] }, () => CreateQueryLoggingConfigRequest$, () => CreateQueryLoggingConfigResponse$
2063
2164
  ];
2165
+ export var CreateResourceRecordSetProtections$ = [9, n0, _CRRSP,
2166
+ { [_ht]: ["POST", "/2013-04-01/hostedzone/{HostedZoneId}/rrsetprotection", 200] }, () => CreateResourceRecordSetProtectionsRequest$, () => CreateResourceRecordSetProtectionsResponse$
2167
+ ];
2064
2168
  export var CreateReusableDelegationSet$ = [9, n0, _CRDS,
2065
2169
  { [_ht]: ["POST", "/2013-04-01/delegationset", 201] }, () => CreateReusableDelegationSetRequest$, () => CreateReusableDelegationSetResponse$
2066
2170
  ];
@@ -2094,6 +2198,9 @@ export var DeleteKeySigningKey$ = [9, n0, _DKSKe,
2094
2198
  export var DeleteQueryLoggingConfig$ = [9, n0, _DQLC,
2095
2199
  { [_ht]: ["DELETE", "/2013-04-01/queryloggingconfig/{Id}", 200] }, () => DeleteQueryLoggingConfigRequest$, () => DeleteQueryLoggingConfigResponse$
2096
2200
  ];
2201
+ export var DeleteResourceRecordSetProtections$ = [9, n0, _DRRSP,
2202
+ { [_ht]: ["POST", "/2013-04-01/hostedzone/{HostedZoneId}/rrsetprotection/delete", 200] }, () => DeleteResourceRecordSetProtectionsRequest$, () => DeleteResourceRecordSetProtectionsResponse$
2203
+ ];
2097
2204
  export var DeleteReusableDelegationSet$ = [9, n0, _DRDS,
2098
2205
  { [_ht]: ["DELETE", "/2013-04-01/delegationset/{Id}", 200] }, () => DeleteReusableDelegationSetRequest$, () => DeleteReusableDelegationSetResponse$
2099
2206
  ];
@@ -2196,6 +2303,9 @@ export var ListHostedZonesByVPC$ = [9, n0, _LHZBVPC,
2196
2303
  export var ListQueryLoggingConfigs$ = [9, n0, _LQLC,
2197
2304
  { [_ht]: ["GET", "/2013-04-01/queryloggingconfig", 200] }, () => ListQueryLoggingConfigsRequest$, () => ListQueryLoggingConfigsResponse$
2198
2305
  ];
2306
+ export var ListResourceRecordSetProtections$ = [9, n0, _LRRSP,
2307
+ { [_ht]: ["GET", "/2013-04-01/hostedzone/{HostedZoneId}/rrsetprotection", 200] }, () => ListResourceRecordSetProtectionsRequest$, () => ListResourceRecordSetProtectionsResponse$
2308
+ ];
2199
2309
  export var ListResourceRecordSets$ = [9, n0, _LRRS,
2200
2310
  { [_ht]: ["GET", "/2013-04-01/hostedzone/{HostedZoneId}/rrset", 200] }, () => ListResourceRecordSetsRequest$, () => ListResourceRecordSetsResponse$
2201
2311
  ];
@@ -10,6 +10,7 @@ import { type CreateHealthCheckCommandInput, type CreateHealthCheckCommandOutput
10
10
  import { type CreateHostedZoneCommandInput, type CreateHostedZoneCommandOutput } from "./commands/CreateHostedZoneCommand";
11
11
  import { type CreateKeySigningKeyCommandInput, type CreateKeySigningKeyCommandOutput } from "./commands/CreateKeySigningKeyCommand";
12
12
  import { type CreateQueryLoggingConfigCommandInput, type CreateQueryLoggingConfigCommandOutput } from "./commands/CreateQueryLoggingConfigCommand";
13
+ import { type CreateResourceRecordSetProtectionsCommandInput, type CreateResourceRecordSetProtectionsCommandOutput } from "./commands/CreateResourceRecordSetProtectionsCommand";
13
14
  import { type CreateReusableDelegationSetCommandInput, type CreateReusableDelegationSetCommandOutput } from "./commands/CreateReusableDelegationSetCommand";
14
15
  import { type CreateTrafficPolicyCommandInput, type CreateTrafficPolicyCommandOutput } from "./commands/CreateTrafficPolicyCommand";
15
16
  import { type CreateTrafficPolicyInstanceCommandInput, type CreateTrafficPolicyInstanceCommandOutput } from "./commands/CreateTrafficPolicyInstanceCommand";
@@ -21,6 +22,7 @@ import { type DeleteHealthCheckCommandInput, type DeleteHealthCheckCommandOutput
21
22
  import { type DeleteHostedZoneCommandInput, type DeleteHostedZoneCommandOutput } from "./commands/DeleteHostedZoneCommand";
22
23
  import { type DeleteKeySigningKeyCommandInput, type DeleteKeySigningKeyCommandOutput } from "./commands/DeleteKeySigningKeyCommand";
23
24
  import { type DeleteQueryLoggingConfigCommandInput, type DeleteQueryLoggingConfigCommandOutput } from "./commands/DeleteQueryLoggingConfigCommand";
25
+ import { type DeleteResourceRecordSetProtectionsCommandInput, type DeleteResourceRecordSetProtectionsCommandOutput } from "./commands/DeleteResourceRecordSetProtectionsCommand";
24
26
  import { type DeleteReusableDelegationSetCommandInput, type DeleteReusableDelegationSetCommandOutput } from "./commands/DeleteReusableDelegationSetCommand";
25
27
  import { type DeleteTrafficPolicyCommandInput, type DeleteTrafficPolicyCommandOutput } from "./commands/DeleteTrafficPolicyCommand";
26
28
  import { type DeleteTrafficPolicyInstanceCommandInput, type DeleteTrafficPolicyInstanceCommandOutput } from "./commands/DeleteTrafficPolicyInstanceCommand";
@@ -55,6 +57,7 @@ import { type ListHostedZonesByNameCommandInput, type ListHostedZonesByNameComma
55
57
  import { type ListHostedZonesByVPCCommandInput, type ListHostedZonesByVPCCommandOutput } from "./commands/ListHostedZonesByVPCCommand";
56
58
  import { type ListHostedZonesCommandInput, type ListHostedZonesCommandOutput } from "./commands/ListHostedZonesCommand";
57
59
  import { type ListQueryLoggingConfigsCommandInput, type ListQueryLoggingConfigsCommandOutput } from "./commands/ListQueryLoggingConfigsCommand";
60
+ import { type ListResourceRecordSetProtectionsCommandInput, type ListResourceRecordSetProtectionsCommandOutput } from "./commands/ListResourceRecordSetProtectionsCommand";
58
61
  import { type ListResourceRecordSetsCommandInput, type ListResourceRecordSetsCommandOutput } from "./commands/ListResourceRecordSetsCommand";
59
62
  import { type ListReusableDelegationSetsCommandInput, type ListReusableDelegationSetsCommandOutput } from "./commands/ListReusableDelegationSetsCommand";
60
63
  import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -139,6 +142,12 @@ export interface Route53 {
139
142
  createQueryLoggingConfig(args: CreateQueryLoggingConfigCommandInput, options?: Route53RequestOptions): Promise<CreateQueryLoggingConfigCommandOutput>;
140
143
  createQueryLoggingConfig(args: CreateQueryLoggingConfigCommandInput, cb: (err: any, data?: CreateQueryLoggingConfigCommandOutput) => void): void;
141
144
  createQueryLoggingConfig(args: CreateQueryLoggingConfigCommandInput, options: Route53RequestOptions, cb: (err: any, data?: CreateQueryLoggingConfigCommandOutput) => void): void;
145
+ /**
146
+ * @see {@link CreateResourceRecordSetProtectionsCommand}
147
+ */
148
+ createResourceRecordSetProtections(args: CreateResourceRecordSetProtectionsCommandInput, options?: Route53RequestOptions): Promise<CreateResourceRecordSetProtectionsCommandOutput>;
149
+ createResourceRecordSetProtections(args: CreateResourceRecordSetProtectionsCommandInput, cb: (err: any, data?: CreateResourceRecordSetProtectionsCommandOutput) => void): void;
150
+ createResourceRecordSetProtections(args: CreateResourceRecordSetProtectionsCommandInput, options: Route53RequestOptions, cb: (err: any, data?: CreateResourceRecordSetProtectionsCommandOutput) => void): void;
142
151
  /**
143
152
  * @see {@link CreateReusableDelegationSetCommand}
144
153
  */
@@ -205,6 +214,12 @@ export interface Route53 {
205
214
  deleteQueryLoggingConfig(args: DeleteQueryLoggingConfigCommandInput, options?: Route53RequestOptions): Promise<DeleteQueryLoggingConfigCommandOutput>;
206
215
  deleteQueryLoggingConfig(args: DeleteQueryLoggingConfigCommandInput, cb: (err: any, data?: DeleteQueryLoggingConfigCommandOutput) => void): void;
207
216
  deleteQueryLoggingConfig(args: DeleteQueryLoggingConfigCommandInput, options: Route53RequestOptions, cb: (err: any, data?: DeleteQueryLoggingConfigCommandOutput) => void): void;
217
+ /**
218
+ * @see {@link DeleteResourceRecordSetProtectionsCommand}
219
+ */
220
+ deleteResourceRecordSetProtections(args: DeleteResourceRecordSetProtectionsCommandInput, options?: Route53RequestOptions): Promise<DeleteResourceRecordSetProtectionsCommandOutput>;
221
+ deleteResourceRecordSetProtections(args: DeleteResourceRecordSetProtectionsCommandInput, cb: (err: any, data?: DeleteResourceRecordSetProtectionsCommandOutput) => void): void;
222
+ deleteResourceRecordSetProtections(args: DeleteResourceRecordSetProtectionsCommandInput, options: Route53RequestOptions, cb: (err: any, data?: DeleteResourceRecordSetProtectionsCommandOutput) => void): void;
208
223
  /**
209
224
  * @see {@link DeleteReusableDelegationSetCommand}
210
225
  */
@@ -420,6 +435,12 @@ export interface Route53 {
420
435
  listQueryLoggingConfigs(args: ListQueryLoggingConfigsCommandInput, options?: Route53RequestOptions): Promise<ListQueryLoggingConfigsCommandOutput>;
421
436
  listQueryLoggingConfigs(args: ListQueryLoggingConfigsCommandInput, cb: (err: any, data?: ListQueryLoggingConfigsCommandOutput) => void): void;
422
437
  listQueryLoggingConfigs(args: ListQueryLoggingConfigsCommandInput, options: Route53RequestOptions, cb: (err: any, data?: ListQueryLoggingConfigsCommandOutput) => void): void;
438
+ /**
439
+ * @see {@link ListResourceRecordSetProtectionsCommand}
440
+ */
441
+ listResourceRecordSetProtections(args: ListResourceRecordSetProtectionsCommandInput, options?: Route53RequestOptions): Promise<ListResourceRecordSetProtectionsCommandOutput>;
442
+ listResourceRecordSetProtections(args: ListResourceRecordSetProtectionsCommandInput, cb: (err: any, data?: ListResourceRecordSetProtectionsCommandOutput) => void): void;
443
+ listResourceRecordSetProtections(args: ListResourceRecordSetProtectionsCommandInput, options: Route53RequestOptions, cb: (err: any, data?: ListResourceRecordSetProtectionsCommandOutput) => void): void;
423
444
  /**
424
445
  * @see {@link ListResourceRecordSetsCommand}
425
446
  */
@@ -561,6 +582,13 @@ export interface Route53 {
561
582
  * @returns AsyncIterable of {@link ListQueryLoggingConfigsCommandOutput}.
562
583
  */
563
584
  paginateListQueryLoggingConfigs(args?: ListQueryLoggingConfigsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListQueryLoggingConfigsCommandOutput>;
585
+ /**
586
+ * @see {@link ListResourceRecordSetProtectionsCommand}
587
+ * @param args - command input.
588
+ * @param paginationConfig - optional pagination config.
589
+ * @returns AsyncIterable of {@link ListResourceRecordSetProtectionsCommandOutput}.
590
+ */
591
+ paginateListResourceRecordSetProtections(args: ListResourceRecordSetProtectionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListResourceRecordSetProtectionsCommandOutput>;
564
592
  /**
565
593
  * @see {@link GetChangeCommand}
566
594
  * @param args - command input.
@@ -16,6 +16,7 @@ import type { CreateHealthCheckCommandInput, CreateHealthCheckCommandOutput } fr
16
16
  import type { CreateHostedZoneCommandInput, CreateHostedZoneCommandOutput } from "./commands/CreateHostedZoneCommand";
17
17
  import type { CreateKeySigningKeyCommandInput, CreateKeySigningKeyCommandOutput } from "./commands/CreateKeySigningKeyCommand";
18
18
  import type { CreateQueryLoggingConfigCommandInput, CreateQueryLoggingConfigCommandOutput } from "./commands/CreateQueryLoggingConfigCommand";
19
+ import type { CreateResourceRecordSetProtectionsCommandInput, CreateResourceRecordSetProtectionsCommandOutput } from "./commands/CreateResourceRecordSetProtectionsCommand";
19
20
  import type { CreateReusableDelegationSetCommandInput, CreateReusableDelegationSetCommandOutput } from "./commands/CreateReusableDelegationSetCommand";
20
21
  import type { CreateTrafficPolicyCommandInput, CreateTrafficPolicyCommandOutput } from "./commands/CreateTrafficPolicyCommand";
21
22
  import type { CreateTrafficPolicyInstanceCommandInput, CreateTrafficPolicyInstanceCommandOutput } from "./commands/CreateTrafficPolicyInstanceCommand";
@@ -27,6 +28,7 @@ import type { DeleteHealthCheckCommandInput, DeleteHealthCheckCommandOutput } fr
27
28
  import type { DeleteHostedZoneCommandInput, DeleteHostedZoneCommandOutput } from "./commands/DeleteHostedZoneCommand";
28
29
  import type { DeleteKeySigningKeyCommandInput, DeleteKeySigningKeyCommandOutput } from "./commands/DeleteKeySigningKeyCommand";
29
30
  import type { DeleteQueryLoggingConfigCommandInput, DeleteQueryLoggingConfigCommandOutput } from "./commands/DeleteQueryLoggingConfigCommand";
31
+ import type { DeleteResourceRecordSetProtectionsCommandInput, DeleteResourceRecordSetProtectionsCommandOutput } from "./commands/DeleteResourceRecordSetProtectionsCommand";
30
32
  import type { DeleteReusableDelegationSetCommandInput, DeleteReusableDelegationSetCommandOutput } from "./commands/DeleteReusableDelegationSetCommand";
31
33
  import type { DeleteTrafficPolicyCommandInput, DeleteTrafficPolicyCommandOutput } from "./commands/DeleteTrafficPolicyCommand";
32
34
  import type { DeleteTrafficPolicyInstanceCommandInput, DeleteTrafficPolicyInstanceCommandOutput } from "./commands/DeleteTrafficPolicyInstanceCommand";
@@ -61,6 +63,7 @@ import type { ListHostedZonesByNameCommandInput, ListHostedZonesByNameCommandOut
61
63
  import type { ListHostedZonesByVPCCommandInput, ListHostedZonesByVPCCommandOutput } from "./commands/ListHostedZonesByVPCCommand";
62
64
  import type { ListHostedZonesCommandInput, ListHostedZonesCommandOutput } from "./commands/ListHostedZonesCommand";
63
65
  import type { ListQueryLoggingConfigsCommandInput, ListQueryLoggingConfigsCommandOutput } from "./commands/ListQueryLoggingConfigsCommand";
66
+ import type { ListResourceRecordSetProtectionsCommandInput, ListResourceRecordSetProtectionsCommandOutput } from "./commands/ListResourceRecordSetProtectionsCommand";
64
67
  import type { ListResourceRecordSetsCommandInput, ListResourceRecordSetsCommandOutput } from "./commands/ListResourceRecordSetsCommand";
65
68
  import type { ListReusableDelegationSetsCommandInput, ListReusableDelegationSetsCommandOutput } from "./commands/ListReusableDelegationSetsCommand";
66
69
  import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -83,11 +86,11 @@ export { __Client };
83
86
  /**
84
87
  * @public
85
88
  */
86
- export type ServiceInputTypes = ActivateKeySigningKeyCommandInput | AssociateVPCWithHostedZoneCommandInput | ChangeCidrCollectionCommandInput | ChangeResourceRecordSetsCommandInput | ChangeTagsForResourceCommandInput | CreateCidrCollectionCommandInput | CreateHealthCheckCommandInput | CreateHostedZoneCommandInput | CreateKeySigningKeyCommandInput | CreateQueryLoggingConfigCommandInput | CreateReusableDelegationSetCommandInput | CreateTrafficPolicyCommandInput | CreateTrafficPolicyInstanceCommandInput | CreateTrafficPolicyVersionCommandInput | CreateVPCAssociationAuthorizationCommandInput | DeactivateKeySigningKeyCommandInput | DeleteCidrCollectionCommandInput | DeleteHealthCheckCommandInput | DeleteHostedZoneCommandInput | DeleteKeySigningKeyCommandInput | DeleteQueryLoggingConfigCommandInput | 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 | ListResourceRecordSetsCommandInput | ListReusableDelegationSetsCommandInput | ListTagsForResourceCommandInput | ListTagsForResourcesCommandInput | ListTrafficPoliciesCommandInput | ListTrafficPolicyInstancesByHostedZoneCommandInput | ListTrafficPolicyInstancesByPolicyCommandInput | ListTrafficPolicyInstancesCommandInput | ListTrafficPolicyVersionsCommandInput | ListVPCAssociationAuthorizationsCommandInput | TestDNSAnswerCommandInput | UpdateHealthCheckCommandInput | UpdateHostedZoneCommentCommandInput | UpdateHostedZoneFeaturesCommandInput | UpdateTrafficPolicyCommentCommandInput | UpdateTrafficPolicyInstanceCommandInput;
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;
87
90
  /**
88
91
  * @public
89
92
  */
90
- export type ServiceOutputTypes = ActivateKeySigningKeyCommandOutput | AssociateVPCWithHostedZoneCommandOutput | ChangeCidrCollectionCommandOutput | ChangeResourceRecordSetsCommandOutput | ChangeTagsForResourceCommandOutput | CreateCidrCollectionCommandOutput | CreateHealthCheckCommandOutput | CreateHostedZoneCommandOutput | CreateKeySigningKeyCommandOutput | CreateQueryLoggingConfigCommandOutput | CreateReusableDelegationSetCommandOutput | CreateTrafficPolicyCommandOutput | CreateTrafficPolicyInstanceCommandOutput | CreateTrafficPolicyVersionCommandOutput | CreateVPCAssociationAuthorizationCommandOutput | DeactivateKeySigningKeyCommandOutput | DeleteCidrCollectionCommandOutput | DeleteHealthCheckCommandOutput | DeleteHostedZoneCommandOutput | DeleteKeySigningKeyCommandOutput | DeleteQueryLoggingConfigCommandOutput | 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 | ListResourceRecordSetsCommandOutput | ListReusableDelegationSetsCommandOutput | ListTagsForResourceCommandOutput | ListTagsForResourcesCommandOutput | ListTrafficPoliciesCommandOutput | ListTrafficPolicyInstancesByHostedZoneCommandOutput | ListTrafficPolicyInstancesByPolicyCommandOutput | ListTrafficPolicyInstancesCommandOutput | ListTrafficPolicyVersionsCommandOutput | ListVPCAssociationAuthorizationsCommandOutput | TestDNSAnswerCommandOutput | UpdateHealthCheckCommandOutput | UpdateHostedZoneCommentCommandOutput | UpdateHostedZoneFeaturesCommandOutput | UpdateTrafficPolicyCommentCommandOutput | UpdateTrafficPolicyInstanceCommandOutput;
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;
91
94
  /**
92
95
  * @public
93
96
  */
@@ -56,6 +56,17 @@ declare const ChangeResourceRecordSetsCommand_base: {
56
56
  * change batch, Route 53 returns an <code>InvalidChangeBatch</code> error.</p>
57
57
  * </note>
58
58
  * <p>
59
+ * <b>Protected Resource Record Sets</b>
60
+ * </p>
61
+ * <p>If a resource record set protection exists for a name and type, Route 53 rejects any
62
+ * change in the change batch that creates, updates, or deletes a resource record set with
63
+ * that name and type. Because change batches are transactional, Route 53 rejects the
64
+ * entire request and returns an <code>InvalidChangeBatch</code> error. Route 53 identifies
65
+ * each protected resource record set in the error message and includes the protection's
66
+ * comment, if any. To make the change, first delete the protection by using
67
+ * <code>DeleteResourceRecordSetProtections</code>. To see which resource record sets
68
+ * are protected, use <code>ListResourceRecordSetProtections</code>.</p>
69
+ * <p>
59
70
  * <b>Traffic Flow</b>
60
71
  * </p>
61
72
  * <p>To create resource record sets for complex routing configurations, use either the
@@ -195,6 +206,10 @@ declare const ChangeResourceRecordSetsCommand_base: {
195
206
  * @throws {@link InvalidChangeBatch} (client fault)
196
207
  * <p>This exception contains a list of messages that might contain one or more error
197
208
  * messages. Each error message indicates one error in the change batch.</p>
209
+ * <p>Route 53 also returns this error when the change batch creates, updates, or deletes a
210
+ * resource record set whose name and type have a resource record set protection. To make
211
+ * the change, first delete the protection by using
212
+ * <code>DeleteResourceRecordSetProtections</code>.</p>
198
213
  *
199
214
  * @throws {@link InvalidInput} (client fault)
200
215
  * <p>The input is not valid.</p>
@@ -0,0 +1,113 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateResourceRecordSetProtectionsRequest, CreateResourceRecordSetProtectionsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateResourceRecordSetProtectionsCommand}.
11
+ */
12
+ export interface CreateResourceRecordSetProtectionsCommandInput extends CreateResourceRecordSetProtectionsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateResourceRecordSetProtectionsCommand}.
18
+ */
19
+ export interface CreateResourceRecordSetProtectionsCommandOutput extends CreateResourceRecordSetProtectionsResponse, __MetadataBearer {
20
+ }
21
+ declare const CreateResourceRecordSetProtectionsCommand_base: {
22
+ new (input: CreateResourceRecordSetProtectionsCommandInput): import("@smithy/core/client").CommandImpl<CreateResourceRecordSetProtectionsCommandInput, CreateResourceRecordSetProtectionsCommandOutput, import("..").Route53ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateResourceRecordSetProtectionsCommandInput): import("@smithy/core/client").CommandImpl<CreateResourceRecordSetProtectionsCommandInput, CreateResourceRecordSetProtectionsCommandOutput, import("..").Route53ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates one or more resource record set protections in a hosted zone. A protection applies to every resource record set in the hosted zone that has the specified name and type. While a protection exists, Route 53 rejects any <code>ChangeResourceRecordSets</code> request that creates, updates, or deletes a resource record set with that name and type, and returns an <code>InvalidChangeBatch</code> error. To change a protected resource record set, first delete its protection by using <code>DeleteResourceRecordSetProtections</code>.</p>
28
+ * <p>You can create a protection for a name and type that doesn't have a resource record set yet. In that case, Route 53 also rejects requests to create that resource record set.</p>
29
+ * <p>You can't delete a hosted zone that has protections. To delete the hosted zone, first delete all of its protections by using <code>DeleteResourceRecordSetProtections</code>.</p>
30
+ * <p>The request is atomic. Route 53 either creates all of the protections in the request or none of them. If one or more entries fail, the response is an error that lists the failing entries and the reason that each one failed. Route 53 checks for invalid entries before it checks for existing protections, so if any entry is invalid, the error lists only the invalid entries.</p>
31
+ * <p>The error that Route 53 returns depends on the failures:</p>
32
+ * <ul>
33
+ * <li>
34
+ * <p>If every entry already has a protection, Route 53 returns a <code>ProtectionAlreadyExists</code> error.</p>
35
+ * </li>
36
+ * <li>
37
+ * <p>For any other combination of failures, Route 53 returns an <code>InvalidResourceRecordSetProtectionBatch</code> error.</p>
38
+ * </li>
39
+ * </ul>
40
+ * <p>You can specify up to 100 protections in one request. The number of protections that you can have in a hosted zone is limited by a quota. If the request would exceed that quota, Route 53 returns a <code>LimitsExceeded</code> error.</p>
41
+ * @example
42
+ * Use a bare-bones client and the command you need to make an API call.
43
+ * ```javascript
44
+ * import { Route53Client, CreateResourceRecordSetProtectionsCommand } from "@aws-sdk/client-route-53"; // ES Modules import
45
+ * // const { Route53Client, CreateResourceRecordSetProtectionsCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
46
+ * // import type { Route53ClientConfig } from "@aws-sdk/client-route-53";
47
+ * const config = {}; // type is Route53ClientConfig
48
+ * const client = new Route53Client(config);
49
+ * const input = { // CreateResourceRecordSetProtectionsRequest
50
+ * HostedZoneId: "STRING_VALUE", // required
51
+ * Protections: [ // ResourceRecordSetProtectionConfigBatch // required
52
+ * { // ResourceRecordSetProtectionConfig
53
+ * RecordName: "STRING_VALUE", // required
54
+ * RecordType: "SOA" || "A" || "TXT" || "NS" || "CNAME" || "MX" || "NAPTR" || "PTR" || "SRV" || "SPF" || "AAAA" || "CAA" || "DS" || "TLSA" || "SSHFP" || "SVCB" || "HTTPS", // required
55
+ * Comment: "STRING_VALUE",
56
+ * },
57
+ * ],
58
+ * };
59
+ * const command = new CreateResourceRecordSetProtectionsCommand(input);
60
+ * const response = await client.send(command);
61
+ * // {};
62
+ *
63
+ * ```
64
+ *
65
+ * @param CreateResourceRecordSetProtectionsCommandInput - {@link CreateResourceRecordSetProtectionsCommandInput}
66
+ * @returns {@link CreateResourceRecordSetProtectionsCommandOutput}
67
+ * @see {@link CreateResourceRecordSetProtectionsCommandInput} for command's `input` shape.
68
+ * @see {@link CreateResourceRecordSetProtectionsCommandOutput} for command's `response` shape.
69
+ * @see {@link Route53ClientResolvedConfig | config} for Route53Client's `config` shape.
70
+ *
71
+ * @throws {@link InvalidInput} (client fault)
72
+ * <p>The input is not valid.</p>
73
+ *
74
+ * @throws {@link InvalidResourceRecordSetProtectionBatch} (client fault)
75
+ * <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>
76
+ *
77
+ * @throws {@link LimitsExceeded} (client fault)
78
+ * <p>This operation can't be completed because the current account has reached the
79
+ * limit on the resource you are trying to create. To request a higher limit, <a href="http://aws.amazon.com/route53-request">create a case</a> with the Amazon Web Services Support
80
+ * Center.</p>
81
+ *
82
+ * @throws {@link NoSuchHostedZone} (client fault)
83
+ * <p>No hosted zone exists with the ID that you specified.</p>
84
+ *
85
+ * @throws {@link PriorRequestNotComplete} (client fault)
86
+ * <p>If Amazon Route 53 can't process a request before the next request arrives, it will
87
+ * reject subsequent requests for the same hosted zone and return an <code>HTTP 400
88
+ * error</code> (<code>Bad request</code>). If Route 53 returns this error repeatedly
89
+ * for the same request, we recommend that you wait, in intervals of increasing duration,
90
+ * before you try the request again.</p>
91
+ *
92
+ * @throws {@link ProtectionAlreadyExists} (client fault)
93
+ * <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>
94
+ *
95
+ * @throws {@link Route53ServiceException}
96
+ * <p>Base exception class for all service exceptions from Route53 service.</p>
97
+ *
98
+ *
99
+ * @public
100
+ */
101
+ export declare class CreateResourceRecordSetProtectionsCommand extends CreateResourceRecordSetProtectionsCommand_base {
102
+ /** @internal type navigation helper, not in runtime. */
103
+ protected static __types: {
104
+ api: {
105
+ input: CreateResourceRecordSetProtectionsRequest;
106
+ output: {};
107
+ };
108
+ sdk: {
109
+ input: CreateResourceRecordSetProtectionsCommandInput;
110
+ output: CreateResourceRecordSetProtectionsCommandOutput;
111
+ };
112
+ };
113
+ }
@@ -55,6 +55,9 @@ declare const DeleteHostedZoneCommand_base: {
55
55
  * delete a hosted zone with additional records or DNSSEC enabled returns a
56
56
  * <code>HostedZoneNotEmpty</code> error. For information about deleting records, see
57
57
  * <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_ChangeResourceRecordSets.html">ChangeResourceRecordSets</a>. </p>
58
+ * <p>You also can't delete a hosted zone that has resource record set protections. To see
59
+ * the protections in a hosted zone, use <code>ListResourceRecordSetProtections</code>. To
60
+ * delete them, use <code>DeleteResourceRecordSetProtections</code>.</p>
58
61
  * <p>To verify that the hosted zone has been deleted, do one of the following:</p>
59
62
  * <ul>
60
63
  * <li>