@aws-sdk/client-route53resolver 3.1068.0 → 3.1070.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 (30) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  2. package/dist-cjs/endpoint/bdd.js +2 -5
  3. package/dist-cjs/endpoint/endpointResolver.js +7 -11
  4. package/dist-cjs/index.js +274 -293
  5. package/dist-cjs/models/Route53ResolverServiceException.js +4 -8
  6. package/dist-cjs/models/errors.js +35 -55
  7. package/dist-cjs/runtimeConfig.browser.js +22 -26
  8. package/dist-cjs/runtimeConfig.js +30 -34
  9. package/dist-cjs/runtimeConfig.native.js +4 -7
  10. package/dist-cjs/runtimeConfig.shared.js +20 -24
  11. package/dist-cjs/schemas/schemas_0.js +593 -387
  12. package/dist-es/models/enums.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +26 -10
  14. package/dist-types/commands/AssociateFirewallRuleGroupCommand.d.ts +2 -1
  15. package/dist-types/commands/BatchCreateFirewallRuleCommand.d.ts +11 -0
  16. package/dist-types/commands/BatchDeleteFirewallRuleCommand.d.ts +5 -0
  17. package/dist-types/commands/BatchUpdateFirewallRuleCommand.d.ts +11 -0
  18. package/dist-types/commands/CreateFirewallRuleCommand.d.ts +24 -1
  19. package/dist-types/commands/DeleteFirewallRuleCommand.d.ts +8 -1
  20. package/dist-types/commands/ListFirewallRuleTypesCommand.d.ts +6 -1
  21. package/dist-types/commands/ListFirewallRulesCommand.d.ts +8 -2
  22. package/dist-types/commands/ListResolverEndpointIpAddressesCommand.d.ts +1 -1
  23. package/dist-types/commands/UpdateFirewallRuleCommand.d.ts +9 -1
  24. package/dist-types/models/enums.d.ts +1 -0
  25. package/dist-types/models/models_0.d.ts +198 -17
  26. package/dist-types/schemas/schemas_0.d.ts +2 -0
  27. package/dist-types/ts3.4/models/enums.d.ts +1 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +11 -0
  29. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  30. package/package.json +8 -8
@@ -167,6 +167,7 @@ export const IpAddressStatus = {
167
167
  Deleting: "DELETING",
168
168
  Detaching: "DETACHING",
169
169
  FailedCreation: "FAILED_CREATION",
170
+ FailedCreationInsufficientEC2CapacityInOutpost: "FAILED_CREATION_INSUFFICIENT_EC2_CAPACITY_IN_OUTPOST",
170
171
  FailedResourceGone: "FAILED_RESOURCE_GONE",
171
172
  Isolated: "ISOLATED",
172
173
  RemapAttaching: "REMAP_ATTACHING",
@@ -291,6 +291,7 @@ const _P = "Priority";
291
291
  const _PFRGP = "PutFirewallRuleGroupPolicy";
292
292
  const _PFRGPR = "PutFirewallRuleGroupPolicyRequest";
293
293
  const _PFRGPRu = "PutFirewallRuleGroupPolicyResponse";
294
+ const _PI = "ProductId";
294
295
  const _PIT = "PreferredInstanceType";
295
296
  const _PRQLCP = "PutResolverQueryLogConfigPolicy";
296
297
  const _PRQLCPR = "PutResolverQueryLogConfigPolicyRequest";
@@ -298,6 +299,9 @@ const _PRQLCPRu = "PutResolverQueryLogConfigPolicyResponse";
298
299
  const _PRRP = "PutResolverRulePolicy";
299
300
  const _PRRPR = "PutResolverRulePolicyRequest";
300
301
  const _PRRPRu = "PutResolverRulePolicyResponse";
302
+ const _PTP = "PartnerThreatProtection";
303
+ const _PTPC = "PartnerThreatProtectionConfig";
304
+ const _Pa = "Partner";
301
305
  const _Po = "Port";
302
306
  const _Pr = "Protocols";
303
307
  const _Pro = "Protocol";
@@ -344,7 +348,8 @@ const _RV = "ReturnValue";
344
348
  const _S = "Status";
345
349
  const _SB = "SortBy";
346
350
  const _SGI = "SecurityGroupIds";
347
- const _SI = "SubnetId";
351
+ const _SI = "SubscriptionInfo";
352
+ const _SIu = "SubnetId";
348
353
  const _SM = "StatusMessage";
349
354
  const _SNI = "ServerNameIndication";
350
355
  const _SO = "SortOrder";
@@ -404,6 +409,7 @@ const _URRp = "UpdateResolverRule";
404
409
  const _V = "Value";
405
410
  const _VE = "ValidationException";
406
411
  const _VI = "VpcId";
412
+ const _VN = "VendorName";
407
413
  const _VPCI = "VPCId";
408
414
  const _VS = "ValidationStatus";
409
415
  const _Va = "Values";
@@ -837,8 +843,8 @@ export var FirewallDomainListMetadata$ = [3, n0, _FDLM,
837
843
  ];
838
844
  export var FirewallRule$ = [3, n0, _FR,
839
845
  0,
840
- [_FRGI, _FDLI, _FTPI, _N, _P, _A, _BR, _BOD, _BODT, _BOT, _CRI, _CTr, _MT, _FDRA, _Q, _DTP, _CT, _FRT],
841
- [0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, () => FirewallRuleType$]
846
+ [_FRGI, _FDLI, _FTPI, _N, _P, _A, _BR, _BOD, _BODT, _BOT, _CRI, _CTr, _MT, _FDRA, _Q, _DTP, _CT, _FRT, _S, _SM],
847
+ [0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, () => FirewallRuleType$, 0, 0]
842
848
  ];
843
849
  export var FirewallRuleGroup$ = [3, n0, _FRG,
844
850
  0,
@@ -857,13 +863,13 @@ export var FirewallRuleGroupMetadata$ = [3, n0, _FRGM,
857
863
  ];
858
864
  export var FirewallRuleType$ = [3, n0, _FRT,
859
865
  0,
860
- [_FACC, _FATC, _DTP],
861
- [() => FirewallAdvancedContentCategoryConfig$, () => FirewallAdvancedThreatCategoryConfig$, () => DnsThreatProtectionRuleTypeConfig$]
866
+ [_PTP, _FACC, _FATC, _DTP],
867
+ [() => PartnerThreatProtectionConfig$, () => FirewallAdvancedContentCategoryConfig$, () => FirewallAdvancedThreatCategoryConfig$, () => DnsThreatProtectionRuleTypeConfig$]
862
868
  ];
863
869
  export var FirewallRuleTypeDefinition$ = [3, n0, _FRTD,
864
870
  0,
865
- [_RTu, _V, _DNi, _De],
866
- [0, 0, 0, 0]
871
+ [_RTu, _V, _DNi, _De, _SI],
872
+ [0, 0, 0, 0, () => SubscriptionInfo$]
867
873
  ];
868
874
  export var GetFirewallConfigRequest$ = [3, n0, _GFCR,
869
875
  0,
@@ -1027,17 +1033,17 @@ export var ImportFirewallDomainsResponse$ = [3, n0, _IFDRm,
1027
1033
  ];
1028
1034
  export var IpAddressRequest$ = [3, n0, _IAR,
1029
1035
  0,
1030
- [_SI, _Ip, _Ipv],
1036
+ [_SIu, _Ip, _Ipv],
1031
1037
  [0, 0, 0], 1
1032
1038
  ];
1033
1039
  export var IpAddressResponse$ = [3, n0, _IARp,
1034
1040
  0,
1035
- [_II, _SI, _Ip, _Ipv, _S, _SM, _CTr, _MT],
1041
+ [_II, _SIu, _Ip, _Ipv, _S, _SM, _CTr, _MT],
1036
1042
  [0, 0, 0, 0, 0, 0, 0, 0]
1037
1043
  ];
1038
1044
  export var IpAddressUpdate$ = [3, n0, _IAU,
1039
1045
  0,
1040
- [_II, _SI, _Ip, _Ipv],
1046
+ [_II, _SIu, _Ip, _Ipv],
1041
1047
  [0, 0, 0, 0]
1042
1048
  ];
1043
1049
  export var ListFirewallConfigsRequest$ = [3, n0, _LFCR,
@@ -1215,6 +1221,11 @@ export var OutpostResolver$ = [3, n0, _OR,
1215
1221
  [_Ar, _CTr, _MT, _CRI, _I, _IC, _PIT, _N, _S, _SM, _OA],
1216
1222
  [0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0]
1217
1223
  ];
1224
+ export var PartnerThreatProtectionConfig$ = [3, n0, _PTPC,
1225
+ 0,
1226
+ [_Pa],
1227
+ [0], 1
1228
+ ];
1218
1229
  export var PutFirewallRuleGroupPolicyRequest$ = [3, n0, _PFRGPR,
1219
1230
  0,
1220
1231
  [_Ar, _FRGP],
@@ -1285,6 +1296,11 @@ export var ResolverRuleConfig$ = [3, n0, _RRC,
1285
1296
  [_N, _TI, _REI],
1286
1297
  [0, () => TargetList, 0]
1287
1298
  ];
1299
+ export var SubscriptionInfo$ = [3, n0, _SI,
1300
+ 0,
1301
+ [_VN, _PI],
1302
+ [0, 0]
1303
+ ];
1288
1304
  export var Tag$ = [3, n0, _Ta,
1289
1305
  0,
1290
1306
  [_K, _V],
@@ -29,7 +29,8 @@ declare const AssociateFirewallRuleGroupCommand_base: {
29
29
  };
30
30
  };
31
31
  /**
32
- * <p>Associates a <a>FirewallRuleGroup</a> with a VPC, to provide DNS filtering for the VPC. </p>
32
+ * <p>Associates a <a>FirewallRuleGroup</a> with a VPC, to provide DNS filtering for the VPC.</p>
33
+ * <p>If the rule group contains any rule configured with the <code>PartnerThreatProtection</code> rule type, the calling account must hold an active AWS Marketplace subscription to the named partner. If the subscription is missing, the association request is rejected.</p>
33
34
  * @example
34
35
  * Use a bare-bones client and the command you need to make an API call.
35
36
  * ```javascript
@@ -56,6 +56,9 @@ declare const BatchCreateFirewallRuleCommand_base: {
56
56
  * DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
57
57
  * ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
58
58
  * FirewallRuleType: { // FirewallRuleType
59
+ * PartnerThreatProtection: { // PartnerThreatProtectionConfig
60
+ * Partner: "STRING_VALUE", // required
61
+ * },
59
62
  * FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
60
63
  * Category: "STRING_VALUE", // required
61
64
  * },
@@ -93,6 +96,9 @@ declare const BatchCreateFirewallRuleCommand_base: {
93
96
  * // DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
94
97
  * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
95
98
  * // FirewallRuleType: { // FirewallRuleType
99
+ * // PartnerThreatProtection: { // PartnerThreatProtectionConfig
100
+ * // Partner: "STRING_VALUE", // required
101
+ * // },
96
102
  * // FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
97
103
  * // Category: "STRING_VALUE", // required
98
104
  * // },
@@ -104,6 +110,8 @@ declare const BatchCreateFirewallRuleCommand_base: {
104
110
  * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
105
111
  * // },
106
112
  * // },
113
+ * // Status: "STRING_VALUE",
114
+ * // StatusMessage: "STRING_VALUE",
107
115
  * // },
108
116
  * // ],
109
117
  * // CreateErrors: [ // BatchCreateFirewallRuleErrors
@@ -124,6 +132,9 @@ declare const BatchCreateFirewallRuleCommand_base: {
124
132
  * // DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
125
133
  * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
126
134
  * // FirewallRuleType: {
135
+ * // PartnerThreatProtection: {
136
+ * // Partner: "STRING_VALUE", // required
137
+ * // },
127
138
  * // FirewallAdvancedContentCategory: {
128
139
  * // Category: "STRING_VALUE", // required
129
140
  * // },
@@ -71,6 +71,9 @@ declare const BatchDeleteFirewallRuleCommand_base: {
71
71
  * // DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
72
72
  * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
73
73
  * // FirewallRuleType: { // FirewallRuleType
74
+ * // PartnerThreatProtection: { // PartnerThreatProtectionConfig
75
+ * // Partner: "STRING_VALUE", // required
76
+ * // },
74
77
  * // FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
75
78
  * // Category: "STRING_VALUE", // required
76
79
  * // },
@@ -82,6 +85,8 @@ declare const BatchDeleteFirewallRuleCommand_base: {
82
85
  * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
83
86
  * // },
84
87
  * // },
88
+ * // Status: "STRING_VALUE",
89
+ * // StatusMessage: "STRING_VALUE",
85
90
  * // },
86
91
  * // ],
87
92
  * // DeleteErrors: [ // BatchDeleteFirewallRuleErrors
@@ -56,6 +56,9 @@ declare const BatchUpdateFirewallRuleCommand_base: {
56
56
  * DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
57
57
  * ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
58
58
  * FirewallRuleType: { // FirewallRuleType
59
+ * PartnerThreatProtection: { // PartnerThreatProtectionConfig
60
+ * Partner: "STRING_VALUE", // required
61
+ * },
59
62
  * FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
60
63
  * Category: "STRING_VALUE", // required
61
64
  * },
@@ -93,6 +96,9 @@ declare const BatchUpdateFirewallRuleCommand_base: {
93
96
  * // DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
94
97
  * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
95
98
  * // FirewallRuleType: { // FirewallRuleType
99
+ * // PartnerThreatProtection: { // PartnerThreatProtectionConfig
100
+ * // Partner: "STRING_VALUE", // required
101
+ * // },
96
102
  * // FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
97
103
  * // Category: "STRING_VALUE", // required
98
104
  * // },
@@ -104,6 +110,8 @@ declare const BatchUpdateFirewallRuleCommand_base: {
104
110
  * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
105
111
  * // },
106
112
  * // },
113
+ * // Status: "STRING_VALUE",
114
+ * // StatusMessage: "STRING_VALUE",
107
115
  * // },
108
116
  * // ],
109
117
  * // UpdateErrors: [ // BatchUpdateFirewallRuleErrors
@@ -124,6 +132,9 @@ declare const BatchUpdateFirewallRuleCommand_base: {
124
132
  * // DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
125
133
  * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
126
134
  * // FirewallRuleType: {
135
+ * // PartnerThreatProtection: {
136
+ * // Partner: "STRING_VALUE", // required
137
+ * // },
127
138
  * // FirewallAdvancedContentCategory: {
128
139
  * // Category: "STRING_VALUE", // required
129
140
  * // },
@@ -29,7 +29,22 @@ declare const CreateFirewallRuleCommand_base: {
29
29
  };
30
30
  };
31
31
  /**
32
- * <p>Creates a single DNS Firewall rule in the specified rule group, using the specified domain list.</p>
32
+ * <p>Creates a single DNS Firewall rule in the specified rule group. The rule can use any one of the following match sources, and the chosen source must be supplied through the matching request field — they are mutually exclusive:</p>
33
+ * <ul>
34
+ * <li>
35
+ * <p>
36
+ * <code>FirewallDomainListId</code> — match a customer-managed or AWS-managed domain list.</p>
37
+ * </li>
38
+ * <li>
39
+ * <p>
40
+ * <code>DnsThreatProtection</code> — match a built-in DNS Firewall Advanced threat detector (<code>DGA</code>, <code>DNS_TUNNELING</code>, or <code>DICTIONARY_DGA</code>).</p>
41
+ * </li>
42
+ * <li>
43
+ * <p>
44
+ * <code>FirewallRuleType</code> — match one of the rule-type variants returned by <a>ListFirewallRuleTypes</a>: <code>FirewallAdvancedContentCategory</code>, <code>FirewallAdvancedThreatCategory</code>, <code>DnsThreatProtection</code>, or <code>PartnerThreatProtection</code>. The <code>PartnerThreatProtection</code> variant requires an active AWS Marketplace subscription to the named partner product.</p>
45
+ * </li>
46
+ * </ul>
47
+ * <p>For rules that require asynchronous provisioning (today, the <code>PartnerThreatProtection</code> rule type), the rule's <code>Status</code> begins at <code>CREATING</code> and transitions to <code>COMPLETE</code> once the rule is provisioned and the marketplace entitlement is verified. If provisioning fails, <code>Status</code> becomes <code>CREATION_FAILED</code> and <code>StatusMessage</code> contains a human-readable reason; the rule is then immutable and must be removed with <a>DeleteFirewallRule</a>.</p>
33
48
  * @example
34
49
  * Use a bare-bones client and the command you need to make an API call.
35
50
  * ```javascript
@@ -54,6 +69,9 @@ declare const CreateFirewallRuleCommand_base: {
54
69
  * DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
55
70
  * ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
56
71
  * FirewallRuleType: { // FirewallRuleType
72
+ * PartnerThreatProtection: { // PartnerThreatProtectionConfig
73
+ * Partner: "STRING_VALUE", // required
74
+ * },
57
75
  * FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
58
76
  * Category: "STRING_VALUE", // required
59
77
  * },
@@ -88,6 +106,9 @@ declare const CreateFirewallRuleCommand_base: {
88
106
  * // DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
89
107
  * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
90
108
  * // FirewallRuleType: { // FirewallRuleType
109
+ * // PartnerThreatProtection: { // PartnerThreatProtectionConfig
110
+ * // Partner: "STRING_VALUE", // required
111
+ * // },
91
112
  * // FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
92
113
  * // Category: "STRING_VALUE", // required
93
114
  * // },
@@ -99,6 +120,8 @@ declare const CreateFirewallRuleCommand_base: {
99
120
  * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
100
121
  * // },
101
122
  * // },
123
+ * // Status: "STRING_VALUE",
124
+ * // StatusMessage: "STRING_VALUE",
102
125
  * // },
103
126
  * // };
104
127
  *
@@ -29,7 +29,9 @@ declare const DeleteFirewallRuleCommand_base: {
29
29
  };
30
30
  };
31
31
  /**
32
- * <p>Deletes the specified firewall rule.</p>
32
+ * <p>Deletes the specified firewall rule. Identify the rule using either <code>FirewallDomainListId</code> (for domain-list and DNS Firewall Advanced rules) or <code>FirewallThreatProtectionId</code> (for partner-managed and DNS Firewall Advanced rules) — together with <code>FirewallRuleGroupId</code>.</p>
33
+ * <p>
34
+ * <code>DeleteFirewallRule</code> is the only operation that succeeds against a rule whose <code>Status</code> is <code>CREATION_FAILED</code>.</p>
33
35
  * @example
34
36
  * Use a bare-bones client and the command you need to make an API call.
35
37
  * ```javascript
@@ -66,6 +68,9 @@ declare const DeleteFirewallRuleCommand_base: {
66
68
  * // DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
67
69
  * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
68
70
  * // FirewallRuleType: { // FirewallRuleType
71
+ * // PartnerThreatProtection: { // PartnerThreatProtectionConfig
72
+ * // Partner: "STRING_VALUE", // required
73
+ * // },
69
74
  * // FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
70
75
  * // Category: "STRING_VALUE", // required
71
76
  * // },
@@ -77,6 +82,8 @@ declare const DeleteFirewallRuleCommand_base: {
77
82
  * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
78
83
  * // },
79
84
  * // },
85
+ * // Status: "STRING_VALUE",
86
+ * // StatusMessage: "STRING_VALUE",
80
87
  * // },
81
88
  * // };
82
89
  *
@@ -29,7 +29,8 @@ declare const ListFirewallRuleTypesCommand_base: {
29
29
  };
30
30
  };
31
31
  /**
32
- * <p>Retrieves the available rule types that can be used in DNS Firewall rules.</p>
32
+ * <p>Retrieves the rule-type variants that can be used in the <code>FirewallRuleType</code> field of <a>CreateFirewallRule</a> and <a>UpdateFirewallRule</a>. Each returned <a>FirewallRuleTypeDefinition</a> identifies one variant + value combination — for example, <code>FirewallAdvancedContentCategory</code> + <code>VIOLENCE_AND_HATE_SPEECH</code>, or <code>PartnerThreatProtection</code> + a partner-managed feed.</p>
33
+ * <p>The supported <code>RuleType</code> filter values are <code>FirewallAdvancedContentCategory</code>, <code>FirewallAdvancedThreatCategory</code>, <code>DnsThreatProtection</code>, and <code>PartnerThreatProtection</code>. When a returned definition's variant requires an external subscription (currently only <code>PartnerThreatProtection</code>), the response also includes a <a>SubscriptionInfo</a> identifying the AWS Marketplace product that backs it; absence of <code>SubscriptionInfo</code> means the variant is fully managed by AWS and requires no separate subscription.</p>
33
34
  * @example
34
35
  * Use a bare-bones client and the command you need to make an API call.
35
36
  * ```javascript
@@ -52,6 +53,10 @@ declare const ListFirewallRuleTypesCommand_base: {
52
53
  * // Value: "STRING_VALUE",
53
54
  * // DisplayName: "STRING_VALUE",
54
55
  * // Description: "STRING_VALUE",
56
+ * // SubscriptionInfo: { // SubscriptionInfo
57
+ * // VendorName: "STRING_VALUE",
58
+ * // ProductId: "STRING_VALUE",
59
+ * // },
55
60
  * // },
56
61
  * // ],
57
62
  * // NextToken: "STRING_VALUE",
@@ -29,8 +29,9 @@ declare const ListFirewallRulesCommand_base: {
29
29
  };
30
30
  };
31
31
  /**
32
- * <p>Retrieves the firewall rules that you have defined for the specified firewall rule group. DNS Firewall uses the rules in a rule group to filter DNS network traffic for a VPC. </p>
33
- * <p>A single call might return only a partial list of the rules. For information, see <code>MaxResults</code>. </p>
32
+ * <p>Retrieves the firewall rules that you have defined for the specified firewall rule group. DNS Firewall uses the rules in a rule group to filter DNS network traffic for a VPC.</p>
33
+ * <p>A single call might return only a partial list of the rules. For information, see <code>MaxResults</code>.</p>
34
+ * <p>For rules that require asynchronous provisioning, the response includes <code>Status</code> (see <a>FirewallRuleStatus</a>) and, on failure, <code>StatusMessage</code> with the reason.</p>
34
35
  * @example
35
36
  * Use a bare-bones client and the command you need to make an API call.
36
37
  * ```javascript
@@ -70,6 +71,9 @@ declare const ListFirewallRulesCommand_base: {
70
71
  * // DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
71
72
  * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
72
73
  * // FirewallRuleType: { // FirewallRuleType
74
+ * // PartnerThreatProtection: { // PartnerThreatProtectionConfig
75
+ * // Partner: "STRING_VALUE", // required
76
+ * // },
73
77
  * // FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
74
78
  * // Category: "STRING_VALUE", // required
75
79
  * // },
@@ -81,6 +85,8 @@ declare const ListFirewallRulesCommand_base: {
81
85
  * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
82
86
  * // },
83
87
  * // },
88
+ * // Status: "STRING_VALUE",
89
+ * // StatusMessage: "STRING_VALUE",
84
90
  * // },
85
91
  * // ],
86
92
  * // };
@@ -54,7 +54,7 @@ declare const ListResolverEndpointIpAddressesCommand_base: {
54
54
  * // SubnetId: "STRING_VALUE",
55
55
  * // Ip: "STRING_VALUE",
56
56
  * // Ipv6: "STRING_VALUE",
57
- * // Status: "CREATING" || "FAILED_CREATION" || "ATTACHING" || "ATTACHED" || "REMAP_DETACHING" || "REMAP_ATTACHING" || "DETACHING" || "FAILED_RESOURCE_GONE" || "DELETING" || "DELETE_FAILED_FAS_EXPIRED" || "UPDATING" || "UPDATE_FAILED" || "ISOLATED",
57
+ * // Status: "CREATING" || "FAILED_CREATION" || "FAILED_CREATION_INSUFFICIENT_EC2_CAPACITY_IN_OUTPOST" || "ATTACHING" || "ATTACHED" || "REMAP_DETACHING" || "REMAP_ATTACHING" || "DETACHING" || "FAILED_RESOURCE_GONE" || "DELETING" || "DELETE_FAILED_FAS_EXPIRED" || "UPDATING" || "UPDATE_FAILED" || "ISOLATED",
58
58
  * // StatusMessage: "STRING_VALUE",
59
59
  * // CreationTime: "STRING_VALUE",
60
60
  * // ModificationTime: "STRING_VALUE",
@@ -29,7 +29,7 @@ declare const UpdateFirewallRuleCommand_base: {
29
29
  };
30
30
  };
31
31
  /**
32
- * <p>Updates the specified firewall rule. </p>
32
+ * <p>Updates the specified firewall rule. The rule's <code>FirewallRuleType</code>, <code>FirewallDomainListId</code>, and top-level <code>DnsThreatProtection</code> match source cannot be changed after creation. Rules whose <code>Status</code> is <code>CREATING</code> or <code>CREATION_FAILED</code> cannot be updated; remove a failed rule with <a>DeleteFirewallRule</a>.</p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -54,6 +54,9 @@ declare const UpdateFirewallRuleCommand_base: {
54
54
  * DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
55
55
  * ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
56
56
  * FirewallRuleType: { // FirewallRuleType
57
+ * PartnerThreatProtection: { // PartnerThreatProtectionConfig
58
+ * Partner: "STRING_VALUE", // required
59
+ * },
57
60
  * FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
58
61
  * Category: "STRING_VALUE", // required
59
62
  * },
@@ -88,6 +91,9 @@ declare const UpdateFirewallRuleCommand_base: {
88
91
  * // DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
89
92
  * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
90
93
  * // FirewallRuleType: { // FirewallRuleType
94
+ * // PartnerThreatProtection: { // PartnerThreatProtectionConfig
95
+ * // Partner: "STRING_VALUE", // required
96
+ * // },
91
97
  * // FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
92
98
  * // Category: "STRING_VALUE", // required
93
99
  * // },
@@ -99,6 +105,8 @@ declare const UpdateFirewallRuleCommand_base: {
99
105
  * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
100
106
  * // },
101
107
  * // },
108
+ * // Status: "STRING_VALUE",
109
+ * // StatusMessage: "STRING_VALUE",
102
110
  * // },
103
111
  * // };
104
112
  *
@@ -403,6 +403,7 @@ export declare const IpAddressStatus: {
403
403
  readonly Deleting: "DELETING";
404
404
  readonly Detaching: "DETACHING";
405
405
  readonly FailedCreation: "FAILED_CREATION";
406
+ readonly FailedCreationInsufficientEC2CapacityInOutpost: "FAILED_CREATION_INSUFFICIENT_EC2_CAPACITY_IN_OUTPOST";
406
407
  readonly FailedResourceGone: "FAILED_RESOURCE_GONE";
407
408
  readonly Isolated: "ISOLATED";
408
409
  readonly RemapAttaching: "REMAP_ATTACHING";