@aws-sdk/client-route53resolver 3.473.0 → 3.476.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 (47) hide show
  1. package/dist-cjs/models/models_0.js +6 -1
  2. package/dist-cjs/protocols/Aws_json1_1.js +12 -0
  3. package/dist-es/models/models_0.js +5 -0
  4. package/dist-es/protocols/Aws_json1_1.js +12 -0
  5. package/dist-types/commands/AssociateFirewallRuleGroupCommand.d.ts +1 -1
  6. package/dist-types/commands/AssociateResolverEndpointIpAddressCommand.d.ts +4 -1
  7. package/dist-types/commands/CreateFirewallDomainListCommand.d.ts +1 -1
  8. package/dist-types/commands/CreateFirewallRuleCommand.d.ts +1 -1
  9. package/dist-types/commands/CreateFirewallRuleGroupCommand.d.ts +1 -1
  10. package/dist-types/commands/CreateOutpostResolverCommand.d.ts +2 -2
  11. package/dist-types/commands/CreateResolverEndpointCommand.d.ts +12 -3
  12. package/dist-types/commands/CreateResolverRuleCommand.d.ts +6 -1
  13. package/dist-types/commands/DeleteFirewallRuleGroupCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteOutpostResolverCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteResolverEndpointCommand.d.ts +4 -1
  16. package/dist-types/commands/DeleteResolverRuleCommand.d.ts +1 -0
  17. package/dist-types/commands/DisassociateFirewallRuleGroupCommand.d.ts +1 -1
  18. package/dist-types/commands/DisassociateResolverEndpointIpAddressCommand.d.ts +4 -1
  19. package/dist-types/commands/GetFirewallConfigCommand.d.ts +1 -1
  20. package/dist-types/commands/GetFirewallRuleGroupPolicyCommand.d.ts +1 -1
  21. package/dist-types/commands/GetOutpostResolverCommand.d.ts +1 -1
  22. package/dist-types/commands/GetResolverConfigCommand.d.ts +1 -1
  23. package/dist-types/commands/GetResolverEndpointCommand.d.ts +4 -1
  24. package/dist-types/commands/GetResolverRuleCommand.d.ts +1 -0
  25. package/dist-types/commands/ImportFirewallDomainsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListFirewallConfigsCommand.d.ts +1 -1
  27. package/dist-types/commands/ListFirewallDomainListsCommand.d.ts +1 -1
  28. package/dist-types/commands/ListFirewallDomainsCommand.d.ts +1 -1
  29. package/dist-types/commands/ListFirewallRuleGroupAssociationsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListFirewallRuleGroupsCommand.d.ts +1 -1
  31. package/dist-types/commands/ListFirewallRulesCommand.d.ts +1 -1
  32. package/dist-types/commands/ListOutpostResolversCommand.d.ts +1 -1
  33. package/dist-types/commands/ListResolverConfigsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListResolverEndpointsCommand.d.ts +4 -1
  35. package/dist-types/commands/ListResolverRulesCommand.d.ts +1 -0
  36. package/dist-types/commands/PutFirewallRuleGroupPolicyCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdateFirewallConfigCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateFirewallDomainsCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateFirewallRuleCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateFirewallRuleGroupAssociationCommand.d.ts +1 -1
  41. package/dist-types/commands/UpdateOutpostResolverCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateResolverConfigCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateResolverEndpointCommand.d.ts +11 -2
  44. package/dist-types/commands/UpdateResolverRuleCommand.d.ts +5 -0
  45. package/dist-types/models/models_0.d.ts +216 -19
  46. package/dist-types/ts3.4/models/models_0.d.ts +14 -4
  47. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Validation = exports.SortOrder = exports.IpAddressStatus = exports.InvalidTagException = exports.InvalidPolicyDocument = exports.InvalidNextTokenException = exports.UnknownResourceException = exports.ResolverDNSSECValidationStatus = exports.ResolverAutodefinedReverseStatus = exports.FirewallDomainUpdateOperation = exports.FirewallDomainImportOperation = exports.FirewallFailOpenStatus = exports.ResourceInUseException = exports.ResolverRuleStatus = exports.RuleTypeOption = exports.ResolverQueryLogConfigStatus = exports.ServiceQuotaExceededException = exports.OutpostResolverStatus = exports.FirewallRuleGroupStatus = exports.ShareStatus = exports.FirewallDomainListStatus = exports.BlockResponse = exports.BlockOverrideDnsType = exports.AutodefinedReverseFlag = exports.ResourceUnavailableException = exports.ResolverRuleAssociationStatus = exports.ResolverQueryLogConfigAssociationStatus = exports.ResolverQueryLogConfigAssociationError = exports.ResourceExistsException = exports.InvalidRequestException = exports.InvalidParameterException = exports.ResolverEndpointStatus = exports.ResolverEndpointType = exports.ResolverEndpointDirection = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.LimitExceededException = exports.InternalServiceErrorException = exports.ConflictException = exports.FirewallRuleGroupAssociationStatus = exports.MutationProtectionStatus = exports.Action = exports.AccessDeniedException = void 0;
3
+ exports.Validation = exports.SortOrder = exports.IpAddressStatus = exports.InvalidTagException = exports.InvalidPolicyDocument = exports.InvalidNextTokenException = exports.UnknownResourceException = exports.ResolverDNSSECValidationStatus = exports.ResolverAutodefinedReverseStatus = exports.FirewallDomainUpdateOperation = exports.FirewallDomainImportOperation = exports.FirewallFailOpenStatus = exports.ResourceInUseException = exports.ResolverRuleStatus = exports.RuleTypeOption = exports.ResolverQueryLogConfigStatus = exports.ServiceQuotaExceededException = exports.OutpostResolverStatus = exports.FirewallRuleGroupStatus = exports.ShareStatus = exports.FirewallDomainListStatus = exports.BlockResponse = exports.BlockOverrideDnsType = exports.AutodefinedReverseFlag = exports.ResourceUnavailableException = exports.ResolverRuleAssociationStatus = exports.ResolverQueryLogConfigAssociationStatus = exports.ResolverQueryLogConfigAssociationError = exports.ResourceExistsException = exports.InvalidRequestException = exports.InvalidParameterException = exports.ResolverEndpointStatus = exports.ResolverEndpointType = exports.Protocol = exports.ResolverEndpointDirection = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.LimitExceededException = exports.InternalServiceErrorException = exports.ConflictException = exports.FirewallRuleGroupAssociationStatus = exports.MutationProtectionStatus = exports.Action = exports.AccessDeniedException = void 0;
4
4
  const Route53ResolverServiceException_1 = require("./Route53ResolverServiceException");
5
5
  class AccessDeniedException extends Route53ResolverServiceException_1.Route53ResolverServiceException {
6
6
  constructor(opts) {
@@ -120,6 +120,11 @@ exports.ResolverEndpointDirection = {
120
120
  Inbound: "INBOUND",
121
121
  Outbound: "OUTBOUND",
122
122
  };
123
+ exports.Protocol = {
124
+ DO53: "Do53",
125
+ DOH: "DoH",
126
+ DOHFIPS: "DoH-FIPS",
127
+ };
123
128
  exports.ResolverEndpointType = {
124
129
  DUALSTACK: "DUALSTACK",
125
130
  IPV4: "IPV4",
@@ -901,6 +901,9 @@ const de_CreateResolverEndpointCommandError = async (output, context) => {
901
901
  };
902
902
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
903
903
  switch (errorCode) {
904
+ case "AccessDeniedException":
905
+ case "com.amazonaws.route53resolver#AccessDeniedException":
906
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
904
907
  case "InternalServiceErrorException":
905
908
  case "com.amazonaws.route53resolver#InternalServiceErrorException":
906
909
  throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
@@ -1006,6 +1009,9 @@ const de_CreateResolverRuleCommandError = async (output, context) => {
1006
1009
  };
1007
1010
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1008
1011
  switch (errorCode) {
1012
+ case "AccessDeniedException":
1013
+ case "com.amazonaws.route53resolver#AccessDeniedException":
1014
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1009
1015
  case "InternalServiceErrorException":
1010
1016
  case "com.amazonaws.route53resolver#InternalServiceErrorException":
1011
1017
  throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
@@ -3592,6 +3598,9 @@ const de_UpdateResolverEndpointCommandError = async (output, context) => {
3592
3598
  };
3593
3599
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3594
3600
  switch (errorCode) {
3601
+ case "AccessDeniedException":
3602
+ case "com.amazonaws.route53resolver#AccessDeniedException":
3603
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3595
3604
  case "InternalServiceErrorException":
3596
3605
  case "com.amazonaws.route53resolver#InternalServiceErrorException":
3597
3606
  throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
@@ -3637,6 +3646,9 @@ const de_UpdateResolverRuleCommandError = async (output, context) => {
3637
3646
  };
3638
3647
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3639
3648
  switch (errorCode) {
3649
+ case "AccessDeniedException":
3650
+ case "com.amazonaws.route53resolver#AccessDeniedException":
3651
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3640
3652
  case "InternalServiceErrorException":
3641
3653
  case "com.amazonaws.route53resolver#InternalServiceErrorException":
3642
3654
  throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
@@ -110,6 +110,11 @@ export const ResolverEndpointDirection = {
110
110
  Inbound: "INBOUND",
111
111
  Outbound: "OUTBOUND",
112
112
  };
113
+ export const Protocol = {
114
+ DO53: "Do53",
115
+ DOH: "DoH",
116
+ DOHFIPS: "DoH-FIPS",
117
+ };
113
118
  export const ResolverEndpointType = {
114
119
  DUALSTACK: "DUALSTACK",
115
120
  IPV4: "IPV4",
@@ -819,6 +819,9 @@ const de_CreateResolverEndpointCommandError = async (output, context) => {
819
819
  };
820
820
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
821
821
  switch (errorCode) {
822
+ case "AccessDeniedException":
823
+ case "com.amazonaws.route53resolver#AccessDeniedException":
824
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
822
825
  case "InternalServiceErrorException":
823
826
  case "com.amazonaws.route53resolver#InternalServiceErrorException":
824
827
  throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
@@ -922,6 +925,9 @@ const de_CreateResolverRuleCommandError = async (output, context) => {
922
925
  };
923
926
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
924
927
  switch (errorCode) {
928
+ case "AccessDeniedException":
929
+ case "com.amazonaws.route53resolver#AccessDeniedException":
930
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
925
931
  case "InternalServiceErrorException":
926
932
  case "com.amazonaws.route53resolver#InternalServiceErrorException":
927
933
  throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
@@ -3452,6 +3458,9 @@ const de_UpdateResolverEndpointCommandError = async (output, context) => {
3452
3458
  };
3453
3459
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3454
3460
  switch (errorCode) {
3461
+ case "AccessDeniedException":
3462
+ case "com.amazonaws.route53resolver#AccessDeniedException":
3463
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3455
3464
  case "InternalServiceErrorException":
3456
3465
  case "com.amazonaws.route53resolver#InternalServiceErrorException":
3457
3466
  throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
@@ -3496,6 +3505,9 @@ const de_UpdateResolverRuleCommandError = async (output, context) => {
3496
3505
  };
3497
3506
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3498
3507
  switch (errorCode) {
3508
+ case "AccessDeniedException":
3509
+ case "com.amazonaws.route53resolver#AccessDeniedException":
3510
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
3499
3511
  case "InternalServiceErrorException":
3500
3512
  case "com.amazonaws.route53resolver#InternalServiceErrorException":
3501
3513
  throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
@@ -93,7 +93,7 @@ export interface AssociateFirewallRuleGroupCommandOutput extends AssociateFirewa
93
93
  * <p>The request was throttled. Try again in a few minutes.</p>
94
94
  *
95
95
  * @throws {@link ValidationException} (client fault)
96
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
96
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
97
97
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
98
98
  *
99
99
  * @throws {@link Route53ResolverServiceException}
@@ -61,9 +61,12 @@ export interface AssociateResolverEndpointIpAddressCommandOutput extends Associa
61
61
  * // StatusMessage: "STRING_VALUE",
62
62
  * // CreationTime: "STRING_VALUE",
63
63
  * // ModificationTime: "STRING_VALUE",
64
- * // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
65
64
  * // OutpostArn: "STRING_VALUE",
66
65
  * // PreferredInstanceType: "STRING_VALUE",
66
+ * // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
67
+ * // Protocols: [ // ProtocolList
68
+ * // "DoH" || "Do53" || "DoH-FIPS",
69
+ * // ],
67
70
  * // },
68
71
  * // };
69
72
  *
@@ -78,7 +78,7 @@ export interface CreateFirewallDomainListCommandOutput extends CreateFirewallDom
78
78
  * <p>The request was throttled. Try again in a few minutes.</p>
79
79
  *
80
80
  * @throws {@link ValidationException} (client fault)
81
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
81
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
82
82
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
83
83
  *
84
84
  * @throws {@link Route53ResolverServiceException}
@@ -85,7 +85,7 @@ export interface CreateFirewallRuleCommandOutput extends CreateFirewallRuleRespo
85
85
  * <p>The request was throttled. Try again in a few minutes.</p>
86
86
  *
87
87
  * @throws {@link ValidationException} (client fault)
88
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
88
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
89
89
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
90
90
  *
91
91
  * @throws {@link Route53ResolverServiceException}
@@ -80,7 +80,7 @@ export interface CreateFirewallRuleGroupCommandOutput extends CreateFirewallRule
80
80
  * <p>The request was throttled. Try again in a few minutes.</p>
81
81
  *
82
82
  * @throws {@link ValidationException} (client fault)
83
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
83
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
84
84
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
85
85
  *
86
86
  * @throws {@link Route53ResolverServiceException}
@@ -23,7 +23,7 @@ export interface CreateOutpostResolverCommandOutput extends CreateOutpostResolve
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Creates an Route 53 Resolver on an Outpost.</p>
26
+ * <p>Creates a Route 53 Resolver on an Outpost.</p>
27
27
  * @example
28
28
  * Use a bare-bones client and the command you need to make an API call.
29
29
  * ```javascript
@@ -85,7 +85,7 @@ export interface CreateOutpostResolverCommandOutput extends CreateOutpostResolve
85
85
  * <p>The request was throttled. Try again in a few minutes.</p>
86
86
  *
87
87
  * @throws {@link ValidationException} (client fault)
88
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
88
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
89
89
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
90
90
  *
91
91
  * @throws {@link Route53ResolverServiceException}
@@ -54,6 +54,8 @@ export interface CreateResolverEndpointCommandOutput extends CreateResolverEndpo
54
54
  * Ipv6: "STRING_VALUE",
55
55
  * },
56
56
  * ],
57
+ * OutpostArn: "STRING_VALUE",
58
+ * PreferredInstanceType: "STRING_VALUE",
57
59
  * Tags: [ // TagList
58
60
  * { // Tag
59
61
  * Key: "STRING_VALUE", // required
@@ -61,8 +63,9 @@ export interface CreateResolverEndpointCommandOutput extends CreateResolverEndpo
61
63
  * },
62
64
  * ],
63
65
  * ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
64
- * OutpostArn: "STRING_VALUE",
65
- * PreferredInstanceType: "STRING_VALUE",
66
+ * Protocols: [ // ProtocolList
67
+ * "DoH" || "Do53" || "DoH-FIPS",
68
+ * ],
66
69
  * };
67
70
  * const command = new CreateResolverEndpointCommand(input);
68
71
  * const response = await client.send(command);
@@ -82,9 +85,12 @@ export interface CreateResolverEndpointCommandOutput extends CreateResolverEndpo
82
85
  * // StatusMessage: "STRING_VALUE",
83
86
  * // CreationTime: "STRING_VALUE",
84
87
  * // ModificationTime: "STRING_VALUE",
85
- * // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
86
88
  * // OutpostArn: "STRING_VALUE",
87
89
  * // PreferredInstanceType: "STRING_VALUE",
90
+ * // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
91
+ * // Protocols: [ // ProtocolList
92
+ * // "DoH" || "Do53" || "DoH-FIPS",
93
+ * // ],
88
94
  * // },
89
95
  * // };
90
96
  *
@@ -96,6 +102,9 @@ export interface CreateResolverEndpointCommandOutput extends CreateResolverEndpo
96
102
  * @see {@link CreateResolverEndpointCommandOutput} for command's `response` shape.
97
103
  * @see {@link Route53ResolverClientResolvedConfig | config} for Route53ResolverClient's `config` shape.
98
104
  *
105
+ * @throws {@link AccessDeniedException} (client fault)
106
+ * <p>The current account doesn't have the IAM permissions required to perform the specified Resolver operation.</p>
107
+ *
99
108
  * @throws {@link InternalServiceErrorException} (client fault)
100
109
  * <p>We encountered an unknown error. Try again in a few minutes.</p>
101
110
  *
@@ -35,12 +35,13 @@ export interface CreateResolverRuleCommandOutput extends CreateResolverRuleRespo
35
35
  * CreatorRequestId: "STRING_VALUE", // required
36
36
  * Name: "STRING_VALUE",
37
37
  * RuleType: "FORWARD" || "SYSTEM" || "RECURSIVE", // required
38
- * DomainName: "STRING_VALUE", // required
38
+ * DomainName: "STRING_VALUE",
39
39
  * TargetIps: [ // TargetList
40
40
  * { // TargetAddress
41
41
  * Ip: "STRING_VALUE",
42
42
  * Port: Number("int"),
43
43
  * Ipv6: "STRING_VALUE",
44
+ * Protocol: "DoH" || "Do53" || "DoH-FIPS",
44
45
  * },
45
46
  * ],
46
47
  * ResolverEndpointId: "STRING_VALUE",
@@ -68,6 +69,7 @@ export interface CreateResolverRuleCommandOutput extends CreateResolverRuleRespo
68
69
  * // Ip: "STRING_VALUE",
69
70
  * // Port: Number("int"),
70
71
  * // Ipv6: "STRING_VALUE",
72
+ * // Protocol: "DoH" || "Do53" || "DoH-FIPS",
71
73
  * // },
72
74
  * // ],
73
75
  * // ResolverEndpointId: "STRING_VALUE",
@@ -86,6 +88,9 @@ export interface CreateResolverRuleCommandOutput extends CreateResolverRuleRespo
86
88
  * @see {@link CreateResolverRuleCommandOutput} for command's `response` shape.
87
89
  * @see {@link Route53ResolverClientResolvedConfig | config} for Route53ResolverClient's `config` shape.
88
90
  *
91
+ * @throws {@link AccessDeniedException} (client fault)
92
+ * <p>The current account doesn't have the IAM permissions required to perform the specified Resolver operation.</p>
93
+ *
89
94
  * @throws {@link InternalServiceErrorException} (client fault)
90
95
  * <p>We encountered an unknown error. Try again in a few minutes.</p>
91
96
  *
@@ -77,7 +77,7 @@ export interface DeleteFirewallRuleGroupCommandOutput extends DeleteFirewallRule
77
77
  * <p>The request was throttled. Try again in a few minutes.</p>
78
78
  *
79
79
  * @throws {@link ValidationException} (client fault)
80
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
80
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
81
81
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
82
82
  *
83
83
  * @throws {@link Route53ResolverServiceException}
@@ -77,7 +77,7 @@ export interface DeleteOutpostResolverCommandOutput extends DeleteOutpostResolve
77
77
  * <p>The request was throttled. Try again in a few minutes.</p>
78
78
  *
79
79
  * @throws {@link ValidationException} (client fault)
80
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
80
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
81
81
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
82
82
  *
83
83
  * @throws {@link Route53ResolverServiceException}
@@ -63,9 +63,12 @@ export interface DeleteResolverEndpointCommandOutput extends DeleteResolverEndpo
63
63
  * // StatusMessage: "STRING_VALUE",
64
64
  * // CreationTime: "STRING_VALUE",
65
65
  * // ModificationTime: "STRING_VALUE",
66
- * // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
67
66
  * // OutpostArn: "STRING_VALUE",
68
67
  * // PreferredInstanceType: "STRING_VALUE",
68
+ * // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
69
+ * // Protocols: [ // ProtocolList
70
+ * // "DoH" || "Do53" || "DoH-FIPS",
71
+ * // ],
69
72
  * // },
70
73
  * // };
71
74
  *
@@ -52,6 +52,7 @@ export interface DeleteResolverRuleCommandOutput extends DeleteResolverRuleRespo
52
52
  * // Ip: "STRING_VALUE",
53
53
  * // Port: Number("int"),
54
54
  * // Ipv6: "STRING_VALUE",
55
+ * // Protocol: "DoH" || "Do53" || "DoH-FIPS",
55
56
  * // },
56
57
  * // ],
57
58
  * // ResolverEndpointId: "STRING_VALUE",
@@ -79,7 +79,7 @@ export interface DisassociateFirewallRuleGroupCommandOutput extends Disassociate
79
79
  * <p>The request was throttled. Try again in a few minutes.</p>
80
80
  *
81
81
  * @throws {@link ValidationException} (client fault)
82
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
82
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
83
83
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
84
84
  *
85
85
  * @throws {@link Route53ResolverServiceException}
@@ -61,9 +61,12 @@ export interface DisassociateResolverEndpointIpAddressCommandOutput extends Disa
61
61
  * // StatusMessage: "STRING_VALUE",
62
62
  * // CreationTime: "STRING_VALUE",
63
63
  * // ModificationTime: "STRING_VALUE",
64
- * // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
65
64
  * // OutpostArn: "STRING_VALUE",
66
65
  * // PreferredInstanceType: "STRING_VALUE",
66
+ * // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
67
+ * // Protocols: [ // ProtocolList
68
+ * // "DoH" || "Do53" || "DoH-FIPS",
69
+ * // ],
67
70
  * // },
68
71
  * // };
69
72
  *
@@ -66,7 +66,7 @@ export interface GetFirewallConfigCommandOutput extends GetFirewallConfigRespons
66
66
  * <p>The request was throttled. Try again in a few minutes.</p>
67
67
  *
68
68
  * @throws {@link ValidationException} (client fault)
69
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
69
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
70
70
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
71
71
  *
72
72
  * @throws {@link Route53ResolverServiceException}
@@ -61,7 +61,7 @@ export interface GetFirewallRuleGroupPolicyCommandOutput extends GetFirewallRule
61
61
  * <p>The request was throttled. Try again in a few minutes.</p>
62
62
  *
63
63
  * @throws {@link ValidationException} (client fault)
64
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
64
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
65
65
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
66
66
  *
67
67
  * @throws {@link Route53ResolverServiceException}
@@ -73,7 +73,7 @@ export interface GetOutpostResolverCommandOutput extends GetOutpostResolverRespo
73
73
  * <p>The request was throttled. Try again in a few minutes.</p>
74
74
  *
75
75
  * @throws {@link ValidationException} (client fault)
76
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
76
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
77
77
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
78
78
  *
79
79
  * @throws {@link Route53ResolverServiceException}
@@ -69,7 +69,7 @@ export interface GetResolverConfigCommandOutput extends GetResolverConfigRespons
69
69
  * <p>The request was throttled. Try again in a few minutes.</p>
70
70
  *
71
71
  * @throws {@link ValidationException} (client fault)
72
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
72
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
73
73
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
74
74
  *
75
75
  * @throws {@link Route53ResolverServiceException}
@@ -52,9 +52,12 @@ export interface GetResolverEndpointCommandOutput extends GetResolverEndpointRes
52
52
  * // StatusMessage: "STRING_VALUE",
53
53
  * // CreationTime: "STRING_VALUE",
54
54
  * // ModificationTime: "STRING_VALUE",
55
- * // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
56
55
  * // OutpostArn: "STRING_VALUE",
57
56
  * // PreferredInstanceType: "STRING_VALUE",
57
+ * // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
58
+ * // Protocols: [ // ProtocolList
59
+ * // "DoH" || "Do53" || "DoH-FIPS",
60
+ * // ],
58
61
  * // },
59
62
  * // };
60
63
  *
@@ -51,6 +51,7 @@ export interface GetResolverRuleCommandOutput extends GetResolverRuleResponse, _
51
51
  * // Ip: "STRING_VALUE",
52
52
  * // Port: Number("int"),
53
53
  * // Ipv6: "STRING_VALUE",
54
+ * // Protocol: "DoH" || "Do53" || "DoH-FIPS",
54
55
  * // },
55
56
  * // ],
56
57
  * // ResolverEndpointId: "STRING_VALUE",
@@ -88,7 +88,7 @@ export interface ImportFirewallDomainsCommandOutput extends ImportFirewallDomain
88
88
  * <p>The request was throttled. Try again in a few minutes.</p>
89
89
  *
90
90
  * @throws {@link ValidationException} (client fault)
91
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
91
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
92
92
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
93
93
  *
94
94
  * @throws {@link Route53ResolverServiceException}
@@ -67,7 +67,7 @@ export interface ListFirewallConfigsCommandOutput extends ListFirewallConfigsRes
67
67
  * <p>The request was throttled. Try again in a few minutes.</p>
68
68
  *
69
69
  * @throws {@link ValidationException} (client fault)
70
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
70
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
71
71
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
72
72
  *
73
73
  * @throws {@link Route53ResolverServiceException}
@@ -68,7 +68,7 @@ export interface ListFirewallDomainListsCommandOutput extends ListFirewallDomain
68
68
  * <p>The request was throttled. Try again in a few minutes.</p>
69
69
  *
70
70
  * @throws {@link ValidationException} (client fault)
71
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
71
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
72
72
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
73
73
  *
74
74
  * @throws {@link Route53ResolverServiceException}
@@ -66,7 +66,7 @@ export interface ListFirewallDomainsCommandOutput extends ListFirewallDomainsRes
66
66
  * <p>The request was throttled. Try again in a few minutes.</p>
67
67
  *
68
68
  * @throws {@link ValidationException} (client fault)
69
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
69
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
70
70
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
71
71
  *
72
72
  * @throws {@link Route53ResolverServiceException}
@@ -80,7 +80,7 @@ export interface ListFirewallRuleGroupAssociationsCommandOutput extends ListFire
80
80
  * <p>The request was throttled. Try again in a few minutes.</p>
81
81
  *
82
82
  * @throws {@link ValidationException} (client fault)
83
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
83
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
84
84
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
85
85
  *
86
86
  * @throws {@link Route53ResolverServiceException}
@@ -69,7 +69,7 @@ export interface ListFirewallRuleGroupsCommandOutput extends ListFirewallRuleGro
69
69
  * <p>The request was throttled. Try again in a few minutes.</p>
70
70
  *
71
71
  * @throws {@link ValidationException} (client fault)
72
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
72
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
73
73
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
74
74
  *
75
75
  * @throws {@link Route53ResolverServiceException}
@@ -81,7 +81,7 @@ export interface ListFirewallRulesCommandOutput extends ListFirewallRulesRespons
81
81
  * <p>The request was throttled. Try again in a few minutes.</p>
82
82
  *
83
83
  * @throws {@link ValidationException} (client fault)
84
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
84
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
85
85
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
86
86
  *
87
87
  * @throws {@link Route53ResolverServiceException}
@@ -77,7 +77,7 @@ export interface ListOutpostResolversCommandOutput extends ListOutpostResolversR
77
77
  * <p>The request was throttled. Try again in a few minutes.</p>
78
78
  *
79
79
  * @throws {@link ValidationException} (client fault)
80
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
80
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
81
81
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
82
82
  *
83
83
  * @throws {@link Route53ResolverServiceException}
@@ -76,7 +76,7 @@ export interface ListResolverConfigsCommandOutput extends ListResolverConfigsRes
76
76
  * <p>The request was throttled. Try again in a few minutes.</p>
77
77
  *
78
78
  * @throws {@link ValidationException} (client fault)
79
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
79
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
80
80
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
81
81
  *
82
82
  * @throws {@link Route53ResolverServiceException}
@@ -63,9 +63,12 @@ export interface ListResolverEndpointsCommandOutput extends ListResolverEndpoint
63
63
  * // StatusMessage: "STRING_VALUE",
64
64
  * // CreationTime: "STRING_VALUE",
65
65
  * // ModificationTime: "STRING_VALUE",
66
- * // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
67
66
  * // OutpostArn: "STRING_VALUE",
68
67
  * // PreferredInstanceType: "STRING_VALUE",
68
+ * // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
69
+ * // Protocols: [ // ProtocolList
70
+ * // "DoH" || "Do53" || "DoH-FIPS",
71
+ * // ],
69
72
  * // },
70
73
  * // ],
71
74
  * // };
@@ -62,6 +62,7 @@ export interface ListResolverRulesCommandOutput extends ListResolverRulesRespons
62
62
  * // Ip: "STRING_VALUE",
63
63
  * // Port: Number("int"),
64
64
  * // Ipv6: "STRING_VALUE",
65
+ * // Protocol: "DoH" || "Do53" || "DoH-FIPS",
65
66
  * // },
66
67
  * // ],
67
68
  * // ResolverEndpointId: "STRING_VALUE",
@@ -63,7 +63,7 @@ export interface PutFirewallRuleGroupPolicyCommandOutput extends PutFirewallRule
63
63
  * <p>The request was throttled. Try again in a few minutes.</p>
64
64
  *
65
65
  * @throws {@link ValidationException} (client fault)
66
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
66
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
67
67
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
68
68
  *
69
69
  * @throws {@link Route53ResolverServiceException}
@@ -67,7 +67,7 @@ export interface UpdateFirewallConfigCommandOutput extends UpdateFirewallConfigR
67
67
  * <p>The request was throttled. Try again in a few minutes.</p>
68
68
  *
69
69
  * @throws {@link ValidationException} (client fault)
70
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
70
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
71
71
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
72
72
  *
73
73
  * @throws {@link Route53ResolverServiceException}
@@ -75,7 +75,7 @@ export interface UpdateFirewallDomainsCommandOutput extends UpdateFirewallDomain
75
75
  * <p>The request was throttled. Try again in a few minutes.</p>
76
76
  *
77
77
  * @throws {@link ValidationException} (client fault)
78
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
78
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
79
79
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
80
80
  *
81
81
  * @throws {@link Route53ResolverServiceException}
@@ -86,7 +86,7 @@ export interface UpdateFirewallRuleCommandOutput extends UpdateFirewallRuleRespo
86
86
  * <p>The request was throttled. Try again in a few minutes.</p>
87
87
  *
88
88
  * @throws {@link ValidationException} (client fault)
89
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
89
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
90
90
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
91
91
  *
92
92
  * @throws {@link Route53ResolverServiceException}
@@ -82,7 +82,7 @@ export interface UpdateFirewallRuleGroupAssociationCommandOutput extends UpdateF
82
82
  * <p>The request was throttled. Try again in a few minutes.</p>
83
83
  *
84
84
  * @throws {@link ValidationException} (client fault)
85
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
85
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
86
86
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
87
87
  *
88
88
  * @throws {@link Route53ResolverServiceException}
@@ -83,7 +83,7 @@ export interface UpdateOutpostResolverCommandOutput extends UpdateOutpostResolve
83
83
  * <p>The request was throttled. Try again in a few minutes.</p>
84
84
  *
85
85
  * @throws {@link ValidationException} (client fault)
86
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
86
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
87
87
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
88
88
  *
89
89
  * @throws {@link Route53ResolverServiceException}
@@ -79,7 +79,7 @@ export interface UpdateResolverConfigCommandOutput extends UpdateResolverConfigR
79
79
  * <p>The request was throttled. Try again in a few minutes.</p>
80
80
  *
81
81
  * @throws {@link ValidationException} (client fault)
82
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
82
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
83
83
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
84
84
  *
85
85
  * @throws {@link Route53ResolverServiceException}
@@ -23,7 +23,7 @@ export interface UpdateResolverEndpointCommandOutput extends UpdateResolverEndpo
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Updates the name, or enpoint type for an inbound or an outbound Resolver endpoint.
26
+ * <p>Updates the name, or endpoint type for an inbound or an outbound Resolver endpoint.
27
27
  * You can only update between IPV4 and DUALSTACK, IPV6 endpoint type can't be updated to other type. </p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
@@ -41,6 +41,9 @@ export interface UpdateResolverEndpointCommandOutput extends UpdateResolverEndpo
41
41
  * Ipv6: "STRING_VALUE", // required
42
42
  * },
43
43
  * ],
44
+ * Protocols: [ // ProtocolList
45
+ * "DoH" || "Do53" || "DoH-FIPS",
46
+ * ],
44
47
  * };
45
48
  * const command = new UpdateResolverEndpointCommand(input);
46
49
  * const response = await client.send(command);
@@ -60,9 +63,12 @@ export interface UpdateResolverEndpointCommandOutput extends UpdateResolverEndpo
60
63
  * // StatusMessage: "STRING_VALUE",
61
64
  * // CreationTime: "STRING_VALUE",
62
65
  * // ModificationTime: "STRING_VALUE",
63
- * // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
64
66
  * // OutpostArn: "STRING_VALUE",
65
67
  * // PreferredInstanceType: "STRING_VALUE",
68
+ * // ResolverEndpointType: "IPV6" || "IPV4" || "DUALSTACK",
69
+ * // Protocols: [ // ProtocolList
70
+ * // "DoH" || "Do53" || "DoH-FIPS",
71
+ * // ],
66
72
  * // },
67
73
  * // };
68
74
  *
@@ -74,6 +80,9 @@ export interface UpdateResolverEndpointCommandOutput extends UpdateResolverEndpo
74
80
  * @see {@link UpdateResolverEndpointCommandOutput} for command's `response` shape.
75
81
  * @see {@link Route53ResolverClientResolvedConfig | config} for Route53ResolverClient's `config` shape.
76
82
  *
83
+ * @throws {@link AccessDeniedException} (client fault)
84
+ * <p>The current account doesn't have the IAM permissions required to perform the specified Resolver operation.</p>
85
+ *
77
86
  * @throws {@link InternalServiceErrorException} (client fault)
78
87
  * <p>We encountered an unknown error. Try again in a few minutes.</p>
79
88
  *
@@ -40,6 +40,7 @@ export interface UpdateResolverRuleCommandOutput extends UpdateResolverRuleRespo
40
40
  * Ip: "STRING_VALUE",
41
41
  * Port: Number("int"),
42
42
  * Ipv6: "STRING_VALUE",
43
+ * Protocol: "DoH" || "Do53" || "DoH-FIPS",
43
44
  * },
44
45
  * ],
45
46
  * ResolverEndpointId: "STRING_VALUE",
@@ -62,6 +63,7 @@ export interface UpdateResolverRuleCommandOutput extends UpdateResolverRuleRespo
62
63
  * // Ip: "STRING_VALUE",
63
64
  * // Port: Number("int"),
64
65
  * // Ipv6: "STRING_VALUE",
66
+ * // Protocol: "DoH" || "Do53" || "DoH-FIPS",
65
67
  * // },
66
68
  * // ],
67
69
  * // ResolverEndpointId: "STRING_VALUE",
@@ -80,6 +82,9 @@ export interface UpdateResolverRuleCommandOutput extends UpdateResolverRuleRespo
80
82
  * @see {@link UpdateResolverRuleCommandOutput} for command's `response` shape.
81
83
  * @see {@link Route53ResolverClientResolvedConfig | config} for Route53ResolverClient's `config` shape.
82
84
  *
85
+ * @throws {@link AccessDeniedException} (client fault)
86
+ * <p>The current account doesn't have the IAM permissions required to perform the specified Resolver operation.</p>
87
+ *
83
88
  * @throws {@link InternalServiceErrorException} (client fault)
84
89
  * <p>We encountered an unknown error. Try again in a few minutes.</p>
85
90
  *
@@ -284,7 +284,7 @@ export declare class ThrottlingException extends __BaseException {
284
284
  }
285
285
  /**
286
286
  * @public
287
- * <p>You have provided an invalid command. Supported values are <code>ADD</code>,
287
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
288
288
  * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
289
289
  */
290
290
  export declare class ValidationException extends __BaseException {
@@ -358,6 +358,19 @@ export declare const ResolverEndpointDirection: {
358
358
  * @public
359
359
  */
360
360
  export type ResolverEndpointDirection = (typeof ResolverEndpointDirection)[keyof typeof ResolverEndpointDirection];
361
+ /**
362
+ * @public
363
+ * @enum
364
+ */
365
+ export declare const Protocol: {
366
+ readonly DO53: "Do53";
367
+ readonly DOH: "DoH";
368
+ readonly DOHFIPS: "DoH-FIPS";
369
+ };
370
+ /**
371
+ * @public
372
+ */
373
+ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
361
374
  /**
362
375
  * @public
363
376
  * @enum
@@ -518,25 +531,68 @@ export interface ResolverEndpoint {
518
531
  * <p>The date and time that the endpoint was last modified, in Unix time format and Coordinated Universal Time (UTC).</p>
519
532
  */
520
533
  ModificationTime?: string;
534
+ /**
535
+ * @public
536
+ * <p>The ARN (Amazon Resource Name) for the Outpost.</p>
537
+ */
538
+ OutpostArn?: string;
521
539
  /**
522
540
  * @public
523
541
  * <p>
524
- * The Resolver endpoint IP address type.
542
+ * The Amazon EC2 instance type.
525
543
  * </p>
526
544
  */
527
- ResolverEndpointType?: ResolverEndpointType;
545
+ PreferredInstanceType?: string;
528
546
  /**
529
547
  * @public
530
- * <p>The ARN (Amazon Resource Name) for the Outpost.</p>
548
+ * <p>
549
+ * The Resolver endpoint IP address type.
550
+ * </p>
531
551
  */
532
- OutpostArn?: string;
552
+ ResolverEndpointType?: ResolverEndpointType;
533
553
  /**
534
554
  * @public
535
555
  * <p>
536
- * The Amazon EC2 instance type.
556
+ * Protocols used for the endpoint. DoH-FIPS is applicable for inbound endpoints only.
537
557
  * </p>
558
+ * <p>For an inbound endpoint you can apply the protocols as follows:</p>
559
+ * <ul>
560
+ * <li>
561
+ * <p> Do53 and DoH in combination.</p>
562
+ * </li>
563
+ * <li>
564
+ * <p>Do53 and DoH-FIPS in combination.</p>
565
+ * </li>
566
+ * <li>
567
+ * <p>Do53 alone.</p>
568
+ * </li>
569
+ * <li>
570
+ * <p>DoH alone.</p>
571
+ * </li>
572
+ * <li>
573
+ * <p>DoH-FIPS alone.</p>
574
+ * </li>
575
+ * <li>
576
+ * <p>None, which is treated as Do53.</p>
577
+ * </li>
578
+ * </ul>
579
+ * <p>For an outbound endpoint you can apply the protocols as follows:</p>
580
+ * <ul>
581
+ * <li>
582
+ * <p> Do53 and DoH in combination.</p>
583
+ * </li>
584
+ * <li>
585
+ * <p>Do53 alone.</p>
586
+ * </li>
587
+ * <li>
588
+ * <p>DoH alone.</p>
589
+ * </li>
590
+ * <li>
591
+ * <p>None, which is treated as Do53.</p>
592
+ * </li>
593
+ * </ul>
538
594
  */
539
- PreferredInstanceType?: string;
595
+ Protocols?: Protocol[];
540
596
  }
541
597
  /**
542
598
  * @public
@@ -978,8 +1034,7 @@ export interface FirewallDomainList {
978
1034
  export interface CreateFirewallDomainListResponse {
979
1035
  /**
980
1036
  * @public
981
- * <p>The
982
- * domain list that you just created.</p>
1037
+ * <p>The domain list that you just created.</p>
983
1038
  */
984
1039
  FirewallDomainList?: FirewallDomainList;
985
1040
  }
@@ -1525,8 +1580,22 @@ export interface CreateResolverEndpointRequest {
1525
1580
  * @public
1526
1581
  * <p>The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward
1527
1582
  * DNS queries to (for inbound endpoints). The subnet ID uniquely identifies a VPC. </p>
1583
+ * <note>
1584
+ * <p>Even though the minimum is 1, Route 53 requires that you create at least two.</p>
1585
+ * </note>
1528
1586
  */
1529
1587
  IpAddresses: IpAddressRequest[] | undefined;
1588
+ /**
1589
+ * @public
1590
+ * <p>The Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a
1591
+ * value for the <code>PreferredInstanceType</code>. </p>
1592
+ */
1593
+ OutpostArn?: string;
1594
+ /**
1595
+ * @public
1596
+ * <p>The instance type. If you specify this, you must also specify a value for the <code>OutpostArn</code>.</p>
1597
+ */
1598
+ PreferredInstanceType?: string;
1530
1599
  /**
1531
1600
  * @public
1532
1601
  * <p>A list of the tag keys and values that you want to associate with the endpoint.</p>
@@ -1543,15 +1612,47 @@ export interface CreateResolverEndpointRequest {
1543
1612
  ResolverEndpointType?: ResolverEndpointType;
1544
1613
  /**
1545
1614
  * @public
1546
- * <p>The Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a
1547
- * value for the <code>PreferredInstanceType</code>. </p>
1548
- */
1549
- OutpostArn?: string;
1550
- /**
1551
- * @public
1552
- * <p>The instance type. If you specify this, you must also specify a value for the <code>OutpostArn</code>.</p>
1615
+ * <p>
1616
+ * The protocols you want to use for the endpoint. DoH-FIPS is applicable for inbound endpoints only.
1617
+ * </p>
1618
+ * <p>For an inbound endpoint you can apply the protocols as follows:</p>
1619
+ * <ul>
1620
+ * <li>
1621
+ * <p> Do53 and DoH in combination.</p>
1622
+ * </li>
1623
+ * <li>
1624
+ * <p>Do53 and DoH-FIPS in combination.</p>
1625
+ * </li>
1626
+ * <li>
1627
+ * <p>Do53 alone.</p>
1628
+ * </li>
1629
+ * <li>
1630
+ * <p>DoH alone.</p>
1631
+ * </li>
1632
+ * <li>
1633
+ * <p>DoH-FIPS alone.</p>
1634
+ * </li>
1635
+ * <li>
1636
+ * <p>None, which is treated as Do53.</p>
1637
+ * </li>
1638
+ * </ul>
1639
+ * <p>For an outbound endpoint you can apply the protocols as follows:</p>
1640
+ * <ul>
1641
+ * <li>
1642
+ * <p> Do53 and DoH in combination.</p>
1643
+ * </li>
1644
+ * <li>
1645
+ * <p>Do53 alone.</p>
1646
+ * </li>
1647
+ * <li>
1648
+ * <p>DoH alone.</p>
1649
+ * </li>
1650
+ * <li>
1651
+ * <p>None, which is treated as Do53.</p>
1652
+ * </li>
1653
+ * </ul>
1553
1654
  */
1554
- PreferredInstanceType?: string;
1655
+ Protocols?: Protocol[];
1555
1656
  }
1556
1657
  /**
1557
1658
  * @public
@@ -1773,6 +1874,50 @@ export interface TargetAddress {
1773
1874
  * </p>
1774
1875
  */
1775
1876
  Ipv6?: string;
1877
+ /**
1878
+ * @public
1879
+ * <p>
1880
+ * The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.
1881
+ *
1882
+ * </p>
1883
+ * <p>For an inbound endpoint you can apply the protocols as follows:</p>
1884
+ * <ul>
1885
+ * <li>
1886
+ * <p> Do53 and DoH in combination.</p>
1887
+ * </li>
1888
+ * <li>
1889
+ * <p>Do53 and DoH-FIPS in combination.</p>
1890
+ * </li>
1891
+ * <li>
1892
+ * <p>Do53 alone.</p>
1893
+ * </li>
1894
+ * <li>
1895
+ * <p>DoH alone.</p>
1896
+ * </li>
1897
+ * <li>
1898
+ * <p>DoH-FIPS alone.</p>
1899
+ * </li>
1900
+ * <li>
1901
+ * <p>None, which is treated as Do53.</p>
1902
+ * </li>
1903
+ * </ul>
1904
+ * <p>For an outbound endpoint you can apply the protocols as follows:</p>
1905
+ * <ul>
1906
+ * <li>
1907
+ * <p> Do53 and DoH in combination.</p>
1908
+ * </li>
1909
+ * <li>
1910
+ * <p>Do53 alone.</p>
1911
+ * </li>
1912
+ * <li>
1913
+ * <p>DoH alone.</p>
1914
+ * </li>
1915
+ * <li>
1916
+ * <p>None, which is treated as Do53.</p>
1917
+ * </li>
1918
+ * </ul>
1919
+ */
1920
+ Protocol?: Protocol;
1776
1921
  }
1777
1922
  /**
1778
1923
  * @public
@@ -1807,7 +1952,7 @@ export interface CreateResolverRuleRequest {
1807
1952
  * multiple Resolver rules (example.com and www.example.com), outbound DNS queries are routed using the Resolver rule that contains
1808
1953
  * the most specific domain name (www.example.com).</p>
1809
1954
  */
1810
- DomainName: string | undefined;
1955
+ DomainName?: string;
1811
1956
  /**
1812
1957
  * @public
1813
1958
  * <p>The IPs that you want Resolver to forward DNS queries to. You can specify either Ipv4 or Ipv6 addresses but not both in the same rule. Separate IP addresses with a space.</p>
@@ -3643,7 +3788,8 @@ export interface ListResolverDnssecConfigsResponse {
3643
3788
  * @public
3644
3789
  * <p>An array that contains one
3645
3790
  * <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_ResolverDnssecConfig.html">ResolverDnssecConfig</a> element
3646
- * for each configuration for DNSSEC validation that is associated with the current Amazon Web Services account.</p>
3791
+ * for each configuration for DNSSEC validation that is associated with the current Amazon Web Services account.
3792
+ * It doesn't contain disabled DNSSEC configurations for the resource.</p>
3647
3793
  */
3648
3794
  ResolverDnssecConfigs?: ResolverDnssecConfig[];
3649
3795
  }
@@ -4853,6 +4999,57 @@ export interface UpdateResolverEndpointRequest {
4853
4999
  * </p>
4854
5000
  */
4855
5001
  UpdateIpAddresses?: UpdateIpAddress[];
5002
+ /**
5003
+ * @public
5004
+ * <p>
5005
+ * The protocols you want to use for the endpoint. DoH-FIPS is applicable for inbound endpoints only.
5006
+ * </p>
5007
+ * <p>For an inbound endpoint you can apply the protocols as follows:</p>
5008
+ * <ul>
5009
+ * <li>
5010
+ * <p> Do53 and DoH in combination.</p>
5011
+ * </li>
5012
+ * <li>
5013
+ * <p>Do53 and DoH-FIPS in combination.</p>
5014
+ * </li>
5015
+ * <li>
5016
+ * <p>Do53 alone.</p>
5017
+ * </li>
5018
+ * <li>
5019
+ * <p>DoH alone.</p>
5020
+ * </li>
5021
+ * <li>
5022
+ * <p>DoH-FIPS alone.</p>
5023
+ * </li>
5024
+ * <li>
5025
+ * <p>None, which is treated as Do53.</p>
5026
+ * </li>
5027
+ * </ul>
5028
+ * <p>For an outbound endpoint you can apply the protocols as follows:</p>
5029
+ * <ul>
5030
+ * <li>
5031
+ * <p> Do53 and DoH in combination.</p>
5032
+ * </li>
5033
+ * <li>
5034
+ * <p>Do53 alone.</p>
5035
+ * </li>
5036
+ * <li>
5037
+ * <p>DoH alone.</p>
5038
+ * </li>
5039
+ * <li>
5040
+ * <p>None, which is treated as Do53.</p>
5041
+ * </li>
5042
+ * </ul>
5043
+ * <important>
5044
+ * <p> You can't change the protocol of an inbound endpoint directly from only Do53 to only DoH, or DoH-FIPS.
5045
+ * This is to prevent a sudden disruption to incoming traffic that
5046
+ * relies on Do53. To change the protocol from Do53 to DoH, or DoH-FIPS, you must
5047
+ * first enable both Do53 and DoH, or Do53 and DoH-FIPS, to make sure that all incoming traffic
5048
+ * has transferred to using the DoH protocol, or DoH-FIPS, and then remove the
5049
+ * Do53.</p>
5050
+ * </important>
5051
+ */
5052
+ Protocols?: Protocol[];
4856
5053
  }
4857
5054
  /**
4858
5055
  * @public
@@ -122,6 +122,12 @@ export declare const ResolverEndpointDirection: {
122
122
  };
123
123
  export type ResolverEndpointDirection =
124
124
  (typeof ResolverEndpointDirection)[keyof typeof ResolverEndpointDirection];
125
+ export declare const Protocol: {
126
+ readonly DO53: "Do53";
127
+ readonly DOH: "DoH";
128
+ readonly DOHFIPS: "DoH-FIPS";
129
+ };
130
+ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
125
131
  export declare const ResolverEndpointType: {
126
132
  readonly DUALSTACK: "DUALSTACK";
127
133
  readonly IPV4: "IPV4";
@@ -152,9 +158,10 @@ export interface ResolverEndpoint {
152
158
  StatusMessage?: string;
153
159
  CreationTime?: string;
154
160
  ModificationTime?: string;
155
- ResolverEndpointType?: ResolverEndpointType;
156
161
  OutpostArn?: string;
157
162
  PreferredInstanceType?: string;
163
+ ResolverEndpointType?: ResolverEndpointType;
164
+ Protocols?: Protocol[];
158
165
  }
159
166
  export interface AssociateResolverEndpointIpAddressResponse {
160
167
  ResolverEndpoint?: ResolverEndpoint;
@@ -416,10 +423,11 @@ export interface CreateResolverEndpointRequest {
416
423
  SecurityGroupIds: string[] | undefined;
417
424
  Direction: ResolverEndpointDirection | undefined;
418
425
  IpAddresses: IpAddressRequest[] | undefined;
419
- Tags?: Tag[];
420
- ResolverEndpointType?: ResolverEndpointType;
421
426
  OutpostArn?: string;
422
427
  PreferredInstanceType?: string;
428
+ Tags?: Tag[];
429
+ ResolverEndpointType?: ResolverEndpointType;
430
+ Protocols?: Protocol[];
423
431
  }
424
432
  export interface CreateResolverEndpointResponse {
425
433
  ResolverEndpoint?: ResolverEndpoint;
@@ -464,12 +472,13 @@ export interface TargetAddress {
464
472
  Ip?: string;
465
473
  Port?: number;
466
474
  Ipv6?: string;
475
+ Protocol?: Protocol;
467
476
  }
468
477
  export interface CreateResolverRuleRequest {
469
478
  CreatorRequestId: string | undefined;
470
479
  Name?: string;
471
480
  RuleType: RuleTypeOption | undefined;
472
- DomainName: string | undefined;
481
+ DomainName?: string;
473
482
  TargetIps?: TargetAddress[];
474
483
  ResolverEndpointId?: string;
475
484
  Tags?: Tag[];
@@ -1092,6 +1101,7 @@ export interface UpdateResolverEndpointRequest {
1092
1101
  Name?: string;
1093
1102
  ResolverEndpointType?: ResolverEndpointType;
1094
1103
  UpdateIpAddresses?: UpdateIpAddress[];
1104
+ Protocols?: Protocol[];
1095
1105
  }
1096
1106
  export interface UpdateResolverEndpointResponse {
1097
1107
  ResolverEndpoint?: ResolverEndpoint;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-route53resolver",
3
3
  "description": "AWS SDK for JavaScript Route53resolver Client for Node.js, Browser and React Native",
4
- "version": "3.473.0",
4
+ "version": "3.476.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.473.0",
24
- "@aws-sdk/core": "3.468.0",
25
- "@aws-sdk/credential-provider-node": "3.470.0",
23
+ "@aws-sdk/client-sts": "3.476.0",
24
+ "@aws-sdk/core": "3.476.0",
25
+ "@aws-sdk/credential-provider-node": "3.476.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",