@aws-sdk/client-route53resolver 3.50.0 → 3.53.0

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 (106) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/Route53ResolverServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +235 -4
  5. package/dist-cjs/protocols/Aws_json1_1.js +683 -2809
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/Route53ResolverServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +216 -1
  9. package/dist-es/protocols/Aws_json1_1.js +1535 -3030
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/Route53ResolverServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +114 -49
  13. package/dist-types/ts3.4/Route53Resolver.d.ts +320 -0
  14. package/dist-types/ts3.4/Route53ResolverClient.d.ts +136 -0
  15. package/dist-types/ts3.4/commands/AssociateFirewallRuleGroupCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/AssociateResolverEndpointIpAddressCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/AssociateResolverQueryLogConfigCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/AssociateResolverRuleCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateFirewallDomainListCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateFirewallRuleCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/CreateFirewallRuleGroupCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/CreateResolverEndpointCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/CreateResolverQueryLogConfigCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/CreateResolverRuleCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/DeleteFirewallDomainListCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DeleteFirewallRuleCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/DeleteFirewallRuleGroupCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/DeleteResolverEndpointCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/DeleteResolverQueryLogConfigCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/DeleteResolverRuleCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/DisassociateFirewallRuleGroupCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/DisassociateResolverEndpointIpAddressCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/DisassociateResolverQueryLogConfigCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/DisassociateResolverRuleCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/GetFirewallConfigCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/GetFirewallDomainListCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/GetFirewallRuleGroupAssociationCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/GetFirewallRuleGroupCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/GetFirewallRuleGroupPolicyCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/GetResolverConfigCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/GetResolverDnssecConfigCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/GetResolverEndpointCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/GetResolverQueryLogConfigAssociationCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/GetResolverQueryLogConfigCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/GetResolverQueryLogConfigPolicyCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/GetResolverRuleAssociationCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/GetResolverRuleCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/GetResolverRulePolicyCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/ImportFirewallDomainsCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/ListFirewallConfigsCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/ListFirewallDomainListsCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/ListFirewallDomainsCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/ListFirewallRuleGroupAssociationsCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/ListFirewallRuleGroupsCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/ListFirewallRulesCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/ListResolverConfigsCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/ListResolverDnssecConfigsCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/ListResolverEndpointIpAddressesCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/ListResolverEndpointsCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/ListResolverQueryLogConfigAssociationsCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/ListResolverQueryLogConfigsCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/ListResolverRuleAssociationsCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/ListResolverRulesCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/PutFirewallRuleGroupPolicyCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/PutResolverQueryLogConfigPolicyCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/PutResolverRulePolicyCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/UpdateFirewallConfigCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/UpdateFirewallDomainsCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/UpdateFirewallRuleCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/UpdateFirewallRuleGroupAssociationCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/UpdateResolverConfigCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/UpdateResolverDnssecConfigCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/UpdateResolverEndpointCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/UpdateResolverRuleCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/index.d.ts +63 -0
  79. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  80. package/dist-types/ts3.4/index.d.ts +6 -0
  81. package/dist-types/ts3.4/models/Route53ResolverServiceException.d.ts +6 -0
  82. package/dist-types/ts3.4/models/index.d.ts +1 -0
  83. package/dist-types/ts3.4/models/models_0.d.ts +1969 -0
  84. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  85. package/dist-types/ts3.4/pagination/ListFirewallConfigsPaginator.d.ts +4 -0
  86. package/dist-types/ts3.4/pagination/ListFirewallDomainListsPaginator.d.ts +4 -0
  87. package/dist-types/ts3.4/pagination/ListFirewallDomainsPaginator.d.ts +4 -0
  88. package/dist-types/ts3.4/pagination/ListFirewallRuleGroupAssociationsPaginator.d.ts +4 -0
  89. package/dist-types/ts3.4/pagination/ListFirewallRuleGroupsPaginator.d.ts +4 -0
  90. package/dist-types/ts3.4/pagination/ListFirewallRulesPaginator.d.ts +4 -0
  91. package/dist-types/ts3.4/pagination/ListResolverConfigsPaginator.d.ts +4 -0
  92. package/dist-types/ts3.4/pagination/ListResolverDnssecConfigsPaginator.d.ts +4 -0
  93. package/dist-types/ts3.4/pagination/ListResolverEndpointIpAddressesPaginator.d.ts +4 -0
  94. package/dist-types/ts3.4/pagination/ListResolverEndpointsPaginator.d.ts +4 -0
  95. package/dist-types/ts3.4/pagination/ListResolverQueryLogConfigAssociationsPaginator.d.ts +4 -0
  96. package/dist-types/ts3.4/pagination/ListResolverQueryLogConfigsPaginator.d.ts +4 -0
  97. package/dist-types/ts3.4/pagination/ListResolverRuleAssociationsPaginator.d.ts +4 -0
  98. package/dist-types/ts3.4/pagination/ListResolverRulesPaginator.d.ts +4 -0
  99. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +4 -0
  100. package/dist-types/ts3.4/pagination/index.d.ts +16 -0
  101. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +191 -0
  102. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  103. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  104. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  105. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  106. package/package.json +33 -33
@@ -3,3 +3,4 @@ export * from "./Route53ResolverClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { Route53ResolverServiceException } from "./models/Route53ResolverServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from Route53Resolver service.
4
+ */
5
+ export declare class Route53ResolverServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,11 +1,16 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { Route53ResolverServiceException as __BaseException } from "./Route53ResolverServiceException";
2
3
  /**
3
4
  * <p>The current account doesn't have the IAM permissions required to perform the specified Resolver operation.</p>
4
5
  */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
8
9
  Message?: string;
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
14
  }
10
15
  export declare enum Action {
11
16
  ALERT = "ALERT",
@@ -171,58 +176,82 @@ export declare namespace AssociateFirewallRuleGroupResponse {
171
176
  /**
172
177
  * <p></p>
173
178
  */
174
- export interface ConflictException extends __SmithyException, $MetadataBearer {
175
- name: "ConflictException";
176
- $fault: "client";
179
+ export declare class ConflictException extends __BaseException {
180
+ readonly name: "ConflictException";
181
+ readonly $fault: "client";
177
182
  Message?: string;
183
+ /**
184
+ * @internal
185
+ */
186
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
178
187
  }
179
188
  /**
180
189
  * <p>We encountered an unknown error. Try again in a few minutes.</p>
181
190
  */
182
- export interface InternalServiceErrorException extends __SmithyException, $MetadataBearer {
183
- name: "InternalServiceErrorException";
184
- $fault: "client";
191
+ export declare class InternalServiceErrorException extends __BaseException {
192
+ readonly name: "InternalServiceErrorException";
193
+ readonly $fault: "client";
185
194
  Message?: string;
195
+ /**
196
+ * @internal
197
+ */
198
+ constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
186
199
  }
187
200
  /**
188
201
  * <p>The request caused one or more limits to be exceeded.</p>
189
202
  */
190
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
191
- name: "LimitExceededException";
192
- $fault: "client";
203
+ export declare class LimitExceededException extends __BaseException {
204
+ readonly name: "LimitExceededException";
205
+ readonly $fault: "client";
193
206
  Message?: string;
194
207
  /**
195
208
  * <p>For a <code>LimitExceededException</code> error, the type of resource that exceeded the current limit.</p>
196
209
  */
197
210
  ResourceType?: string;
211
+ /**
212
+ * @internal
213
+ */
214
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
198
215
  }
199
216
  /**
200
217
  * <p>The specified resource doesn't exist.</p>
201
218
  */
202
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
203
- name: "ResourceNotFoundException";
204
- $fault: "client";
219
+ export declare class ResourceNotFoundException extends __BaseException {
220
+ readonly name: "ResourceNotFoundException";
221
+ readonly $fault: "client";
205
222
  Message?: string;
206
223
  /**
207
224
  * <p>For a <code>ResourceNotFoundException</code> error, the type of resource that doesn't exist.</p>
208
225
  */
209
226
  ResourceType?: string;
227
+ /**
228
+ * @internal
229
+ */
230
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
210
231
  }
211
232
  /**
212
233
  * <p>The request was throttled. Try again in a few minutes.</p>
213
234
  */
214
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
215
- name: "ThrottlingException";
216
- $fault: "client";
235
+ export declare class ThrottlingException extends __BaseException {
236
+ readonly name: "ThrottlingException";
237
+ readonly $fault: "client";
217
238
  Message?: string;
239
+ /**
240
+ * @internal
241
+ */
242
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
218
243
  }
219
244
  /**
220
245
  * <p></p>
221
246
  */
222
- export interface ValidationException extends __SmithyException, $MetadataBearer {
223
- name: "ValidationException";
224
- $fault: "client";
247
+ export declare class ValidationException extends __BaseException {
248
+ readonly name: "ValidationException";
249
+ readonly $fault: "client";
225
250
  Message?: string;
251
+ /**
252
+ * @internal
253
+ */
254
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
226
255
  }
227
256
  /**
228
257
  * <p>In an
@@ -422,34 +451,46 @@ export declare namespace AssociateResolverEndpointIpAddressResponse {
422
451
  /**
423
452
  * <p>One or more parameters in this request are not valid.</p>
424
453
  */
425
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
426
- name: "InvalidParameterException";
427
- $fault: "client";
454
+ export declare class InvalidParameterException extends __BaseException {
455
+ readonly name: "InvalidParameterException";
456
+ readonly $fault: "client";
428
457
  Message: string | undefined;
429
458
  /**
430
459
  * <p>For an <code>InvalidParameterException</code> error, the name of the parameter that's invalid.</p>
431
460
  */
432
461
  FieldName?: string;
462
+ /**
463
+ * @internal
464
+ */
465
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
433
466
  }
434
467
  /**
435
468
  * <p>The request is invalid.</p>
436
469
  */
437
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
438
- name: "InvalidRequestException";
439
- $fault: "client";
470
+ export declare class InvalidRequestException extends __BaseException {
471
+ readonly name: "InvalidRequestException";
472
+ readonly $fault: "client";
440
473
  Message?: string;
474
+ /**
475
+ * @internal
476
+ */
477
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
441
478
  }
442
479
  /**
443
480
  * <p>The resource that you tried to create already exists.</p>
444
481
  */
445
- export interface ResourceExistsException extends __SmithyException, $MetadataBearer {
446
- name: "ResourceExistsException";
447
- $fault: "client";
482
+ export declare class ResourceExistsException extends __BaseException {
483
+ readonly name: "ResourceExistsException";
484
+ readonly $fault: "client";
448
485
  Message?: string;
449
486
  /**
450
487
  * <p>For a <code>ResourceExistsException</code> error, the type of resource that the error applies to.</p>
451
488
  */
452
489
  ResourceType?: string;
490
+ /**
491
+ * @internal
492
+ */
493
+ constructor(opts: __ExceptionOptionType<ResourceExistsException, __BaseException>);
453
494
  }
454
495
  export interface AssociateResolverQueryLogConfigRequest {
455
496
  /**
@@ -657,14 +698,18 @@ export declare namespace AssociateResolverRuleResponse {
657
698
  /**
658
699
  * <p>The specified resource isn't available.</p>
659
700
  */
660
- export interface ResourceUnavailableException extends __SmithyException, $MetadataBearer {
661
- name: "ResourceUnavailableException";
662
- $fault: "client";
701
+ export declare class ResourceUnavailableException extends __BaseException {
702
+ readonly name: "ResourceUnavailableException";
703
+ readonly $fault: "client";
663
704
  Message?: string;
664
705
  /**
665
706
  * <p>For a <code>ResourceUnavailableException</code> error, the type of resource that isn't available.</p>
666
707
  */
667
708
  ResourceType?: string;
709
+ /**
710
+ * @internal
711
+ */
712
+ constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>);
668
713
  }
669
714
  export declare enum AutodefinedReverseFlag {
670
715
  DISABLE = "DISABLE",
@@ -1639,14 +1684,18 @@ export declare namespace DeleteResolverRuleResponse {
1639
1684
  /**
1640
1685
  * <p>The resource that you tried to update or delete is currently in use.</p>
1641
1686
  */
1642
- export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
1643
- name: "ResourceInUseException";
1644
- $fault: "client";
1687
+ export declare class ResourceInUseException extends __BaseException {
1688
+ readonly name: "ResourceInUseException";
1689
+ readonly $fault: "client";
1645
1690
  Message?: string;
1646
1691
  /**
1647
1692
  * <p>For a <code>ResourceInUseException</code> error, the type of resource that is currently in use.</p>
1648
1693
  */
1649
1694
  ResourceType?: string;
1695
+ /**
1696
+ * @internal
1697
+ */
1698
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
1650
1699
  }
1651
1700
  export interface DisassociateFirewallRuleGroupRequest {
1652
1701
  /**
@@ -2533,10 +2582,14 @@ export declare namespace GetResolverQueryLogConfigPolicyResponse {
2533
2582
  /**
2534
2583
  * <p>The specified resource doesn't exist.</p>
2535
2584
  */
2536
- export interface UnknownResourceException extends __SmithyException, $MetadataBearer {
2537
- name: "UnknownResourceException";
2538
- $fault: "client";
2585
+ export declare class UnknownResourceException extends __BaseException {
2586
+ readonly name: "UnknownResourceException";
2587
+ readonly $fault: "client";
2539
2588
  Message?: string;
2589
+ /**
2590
+ * @internal
2591
+ */
2592
+ constructor(opts: __ExceptionOptionType<UnknownResourceException, __BaseException>);
2540
2593
  }
2541
2594
  export interface GetResolverRuleRequest {
2542
2595
  /**
@@ -2660,26 +2713,38 @@ export declare namespace ImportFirewallDomainsResponse {
2660
2713
  /**
2661
2714
  * <p>The value that you specified for <code>NextToken</code> in a <code>List</code> request isn't valid.</p>
2662
2715
  */
2663
- export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
2664
- name: "InvalidNextTokenException";
2665
- $fault: "client";
2716
+ export declare class InvalidNextTokenException extends __BaseException {
2717
+ readonly name: "InvalidNextTokenException";
2718
+ readonly $fault: "client";
2666
2719
  Message?: string;
2720
+ /**
2721
+ * @internal
2722
+ */
2723
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
2667
2724
  }
2668
2725
  /**
2669
2726
  * <p>The specified Resolver rule policy is invalid.</p>
2670
2727
  */
2671
- export interface InvalidPolicyDocument extends __SmithyException, $MetadataBearer {
2672
- name: "InvalidPolicyDocument";
2673
- $fault: "client";
2728
+ export declare class InvalidPolicyDocument extends __BaseException {
2729
+ readonly name: "InvalidPolicyDocument";
2730
+ readonly $fault: "client";
2674
2731
  Message?: string;
2732
+ /**
2733
+ * @internal
2734
+ */
2735
+ constructor(opts: __ExceptionOptionType<InvalidPolicyDocument, __BaseException>);
2675
2736
  }
2676
2737
  /**
2677
2738
  * <p>The specified tag is invalid.</p>
2678
2739
  */
2679
- export interface InvalidTagException extends __SmithyException, $MetadataBearer {
2680
- name: "InvalidTagException";
2681
- $fault: "client";
2740
+ export declare class InvalidTagException extends __BaseException {
2741
+ readonly name: "InvalidTagException";
2742
+ readonly $fault: "client";
2682
2743
  Message?: string;
2744
+ /**
2745
+ * @internal
2746
+ */
2747
+ constructor(opts: __ExceptionOptionType<InvalidTagException, __BaseException>);
2683
2748
  }
2684
2749
  export declare enum IpAddressStatus {
2685
2750
  Attached = "ATTACHED",