@aws-sdk/client-route53resolver 3.370.0 → 3.374.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.
- package/README.md +40 -0
- package/dist-cjs/Route53Resolver.js +10 -0
- package/dist-cjs/commands/CreateOutpostResolverCommand.js +46 -0
- package/dist-cjs/commands/DeleteOutpostResolverCommand.js +46 -0
- package/dist-cjs/commands/GetOutpostResolverCommand.js +46 -0
- package/dist-cjs/commands/ListOutpostResolversCommand.js +46 -0
- package/dist-cjs/commands/UpdateOutpostResolverCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +25 -1
- package/dist-cjs/pagination/ListOutpostResolversPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +284 -3
- package/dist-es/Route53Resolver.js +10 -0
- package/dist-es/commands/CreateOutpostResolverCommand.js +42 -0
- package/dist-es/commands/DeleteOutpostResolverCommand.js +42 -0
- package/dist-es/commands/GetOutpostResolverCommand.js +42 -0
- package/dist-es/commands/ListOutpostResolversCommand.js +42 -0
- package/dist-es/commands/UpdateOutpostResolverCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +23 -0
- package/dist-es/pagination/ListOutpostResolversPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +272 -1
- package/dist-types/Route53Resolver.d.ts +35 -0
- package/dist-types/Route53ResolverClient.d.ts +7 -2
- package/dist-types/commands/AssociateResolverEndpointIpAddressCommand.d.ts +2 -0
- package/dist-types/commands/CreateOutpostResolverCommand.d.ts +114 -0
- package/dist-types/commands/CreateResolverEndpointCommand.d.ts +4 -0
- package/dist-types/commands/DeleteOutpostResolverCommand.d.ts +106 -0
- package/dist-types/commands/DeleteResolverEndpointCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateResolverEndpointIpAddressCommand.d.ts +2 -0
- package/dist-types/commands/GetOutpostResolverCommand.d.ts +102 -0
- package/dist-types/commands/GetResolverEndpointCommand.d.ts +2 -0
- package/dist-types/commands/ListOutpostResolversCommand.d.ts +106 -0
- package/dist-types/commands/ListResolverEndpointIpAddressesCommand.d.ts +1 -1
- package/dist-types/commands/ListResolverEndpointsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateOutpostResolverCommand.d.ts +112 -0
- package/dist-types/commands/UpdateResolverEndpointCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +263 -9
- package/dist-types/pagination/ListOutpostResolversPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/Route53Resolver.d.ts +85 -0
- package/dist-types/ts3.4/Route53ResolverClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateOutpostResolverCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteOutpostResolverCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetOutpostResolverCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListOutpostResolversCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateOutpostResolverCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +78 -0
- package/dist-types/ts3.4/pagination/ListOutpostResolversPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_UpdateOutpostResolverCommand, se_UpdateOutpostResolverCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateOutpostResolverCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateOutpostResolverCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "Route53ResolverClient";
|
|
25
|
+
const commandName = "UpdateOutpostResolverCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_UpdateOutpostResolverCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_UpdateOutpostResolverCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -5,12 +5,14 @@ export * from "./AssociateResolverRuleCommand";
|
|
|
5
5
|
export * from "./CreateFirewallDomainListCommand";
|
|
6
6
|
export * from "./CreateFirewallRuleCommand";
|
|
7
7
|
export * from "./CreateFirewallRuleGroupCommand";
|
|
8
|
+
export * from "./CreateOutpostResolverCommand";
|
|
8
9
|
export * from "./CreateResolverEndpointCommand";
|
|
9
10
|
export * from "./CreateResolverQueryLogConfigCommand";
|
|
10
11
|
export * from "./CreateResolverRuleCommand";
|
|
11
12
|
export * from "./DeleteFirewallDomainListCommand";
|
|
12
13
|
export * from "./DeleteFirewallRuleCommand";
|
|
13
14
|
export * from "./DeleteFirewallRuleGroupCommand";
|
|
15
|
+
export * from "./DeleteOutpostResolverCommand";
|
|
14
16
|
export * from "./DeleteResolverEndpointCommand";
|
|
15
17
|
export * from "./DeleteResolverQueryLogConfigCommand";
|
|
16
18
|
export * from "./DeleteResolverRuleCommand";
|
|
@@ -23,6 +25,7 @@ export * from "./GetFirewallDomainListCommand";
|
|
|
23
25
|
export * from "./GetFirewallRuleGroupAssociationCommand";
|
|
24
26
|
export * from "./GetFirewallRuleGroupCommand";
|
|
25
27
|
export * from "./GetFirewallRuleGroupPolicyCommand";
|
|
28
|
+
export * from "./GetOutpostResolverCommand";
|
|
26
29
|
export * from "./GetResolverConfigCommand";
|
|
27
30
|
export * from "./GetResolverDnssecConfigCommand";
|
|
28
31
|
export * from "./GetResolverEndpointCommand";
|
|
@@ -39,6 +42,7 @@ export * from "./ListFirewallDomainsCommand";
|
|
|
39
42
|
export * from "./ListFirewallRuleGroupAssociationsCommand";
|
|
40
43
|
export * from "./ListFirewallRuleGroupsCommand";
|
|
41
44
|
export * from "./ListFirewallRulesCommand";
|
|
45
|
+
export * from "./ListOutpostResolversCommand";
|
|
42
46
|
export * from "./ListResolverConfigsCommand";
|
|
43
47
|
export * from "./ListResolverDnssecConfigsCommand";
|
|
44
48
|
export * from "./ListResolverEndpointIpAddressesCommand";
|
|
@@ -57,6 +61,7 @@ export * from "./UpdateFirewallConfigCommand";
|
|
|
57
61
|
export * from "./UpdateFirewallDomainsCommand";
|
|
58
62
|
export * from "./UpdateFirewallRuleCommand";
|
|
59
63
|
export * from "./UpdateFirewallRuleGroupAssociationCommand";
|
|
64
|
+
export * from "./UpdateOutpostResolverCommand";
|
|
60
65
|
export * from "./UpdateResolverConfigCommand";
|
|
61
66
|
export * from "./UpdateResolverDnssecConfigCommand";
|
|
62
67
|
export * from "./UpdateResolverEndpointCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://route53resolver-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://route53resolver-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://route53resolver.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://route53resolver.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -228,6 +228,28 @@ export const FirewallRuleGroupStatus = {
|
|
|
228
228
|
DELETING: "DELETING",
|
|
229
229
|
UPDATING: "UPDATING",
|
|
230
230
|
};
|
|
231
|
+
export const OutpostResolverStatus = {
|
|
232
|
+
ACTION_NEEDED: "ACTION_NEEDED",
|
|
233
|
+
CREATING: "CREATING",
|
|
234
|
+
DELETING: "DELETING",
|
|
235
|
+
FAILED_CREATION: "FAILED_CREATION",
|
|
236
|
+
FAILED_DELETION: "FAILED_DELETION",
|
|
237
|
+
OPERATIONAL: "OPERATIONAL",
|
|
238
|
+
UPDATING: "UPDATING",
|
|
239
|
+
};
|
|
240
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
241
|
+
constructor(opts) {
|
|
242
|
+
super({
|
|
243
|
+
name: "ServiceQuotaExceededException",
|
|
244
|
+
$fault: "client",
|
|
245
|
+
...opts,
|
|
246
|
+
});
|
|
247
|
+
this.name = "ServiceQuotaExceededException";
|
|
248
|
+
this.$fault = "client";
|
|
249
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
250
|
+
this.Message = opts.Message;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
231
253
|
export const ResolverQueryLogConfigStatus = {
|
|
232
254
|
Created: "CREATED",
|
|
233
255
|
Creating: "CREATING",
|
|
@@ -351,6 +373,7 @@ export const IpAddressStatus = {
|
|
|
351
373
|
FailedResourceGone: "FAILED_RESOURCE_GONE",
|
|
352
374
|
RemapAttaching: "REMAP_ATTACHING",
|
|
353
375
|
RemapDetaching: "REMAP_DETACHING",
|
|
376
|
+
UpdateFailed: "UPDATE_FAILED",
|
|
354
377
|
Updating: "UPDATING",
|
|
355
378
|
};
|
|
356
379
|
export const SortOrder = {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListOutpostResolversCommand, } from "../commands/ListOutpostResolversCommand";
|
|
2
|
+
import { Route53ResolverClient } from "../Route53ResolverClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListOutpostResolversCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListOutpostResolvers(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.NextToken = token;
|
|
12
|
+
input["MaxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof Route53ResolverClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected Route53Resolver | Route53ResolverClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.NextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -5,6 +5,7 @@ export * from "./ListFirewallDomainsPaginator";
|
|
|
5
5
|
export * from "./ListFirewallRuleGroupAssociationsPaginator";
|
|
6
6
|
export * from "./ListFirewallRuleGroupsPaginator";
|
|
7
7
|
export * from "./ListFirewallRulesPaginator";
|
|
8
|
+
export * from "./ListOutpostResolversPaginator";
|
|
8
9
|
export * from "./ListResolverConfigsPaginator";
|
|
9
10
|
export * from "./ListResolverDnssecConfigsPaginator";
|
|
10
11
|
export * from "./ListResolverEndpointIpAddressesPaginator";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
2
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
|
-
import { AccessDeniedException, ConflictException, InternalServiceErrorException, InvalidNextTokenException, InvalidParameterException, InvalidPolicyDocument, InvalidRequestException, InvalidTagException, LimitExceededException, ResourceExistsException, ResourceInUseException, ResourceNotFoundException, ResourceUnavailableException, ThrottlingException, UnknownResourceException, ValidationException, } from "../models/models_0";
|
|
4
|
+
import { AccessDeniedException, ConflictException, InternalServiceErrorException, InvalidNextTokenException, InvalidParameterException, InvalidPolicyDocument, InvalidRequestException, InvalidTagException, LimitExceededException, ResourceExistsException, ResourceInUseException, ResourceNotFoundException, ResourceUnavailableException, ServiceQuotaExceededException, ThrottlingException, UnknownResourceException, ValidationException, } from "../models/models_0";
|
|
5
5
|
import { Route53ResolverServiceException as __BaseException } from "../models/Route53ResolverServiceException";
|
|
6
6
|
export const se_AssociateFirewallRuleGroupCommand = async (input, context) => {
|
|
7
7
|
const headers = sharedHeaders("AssociateFirewallRuleGroup");
|
|
@@ -45,6 +45,12 @@ export const se_CreateFirewallRuleGroupCommand = async (input, context) => {
|
|
|
45
45
|
body = JSON.stringify(se_CreateFirewallRuleGroupRequest(input, context));
|
|
46
46
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
47
|
};
|
|
48
|
+
export const se_CreateOutpostResolverCommand = async (input, context) => {
|
|
49
|
+
const headers = sharedHeaders("CreateOutpostResolver");
|
|
50
|
+
let body;
|
|
51
|
+
body = JSON.stringify(_json(input));
|
|
52
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
|
+
};
|
|
48
54
|
export const se_CreateResolverEndpointCommand = async (input, context) => {
|
|
49
55
|
const headers = sharedHeaders("CreateResolverEndpoint");
|
|
50
56
|
let body;
|
|
@@ -81,6 +87,12 @@ export const se_DeleteFirewallRuleGroupCommand = async (input, context) => {
|
|
|
81
87
|
body = JSON.stringify(_json(input));
|
|
82
88
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
83
89
|
};
|
|
90
|
+
export const se_DeleteOutpostResolverCommand = async (input, context) => {
|
|
91
|
+
const headers = sharedHeaders("DeleteOutpostResolver");
|
|
92
|
+
let body;
|
|
93
|
+
body = JSON.stringify(_json(input));
|
|
94
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
|
+
};
|
|
84
96
|
export const se_DeleteResolverEndpointCommand = async (input, context) => {
|
|
85
97
|
const headers = sharedHeaders("DeleteResolverEndpoint");
|
|
86
98
|
let body;
|
|
@@ -153,6 +165,12 @@ export const se_GetFirewallRuleGroupPolicyCommand = async (input, context) => {
|
|
|
153
165
|
body = JSON.stringify(_json(input));
|
|
154
166
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
167
|
};
|
|
168
|
+
export const se_GetOutpostResolverCommand = async (input, context) => {
|
|
169
|
+
const headers = sharedHeaders("GetOutpostResolver");
|
|
170
|
+
let body;
|
|
171
|
+
body = JSON.stringify(_json(input));
|
|
172
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
|
+
};
|
|
156
174
|
export const se_GetResolverConfigCommand = async (input, context) => {
|
|
157
175
|
const headers = sharedHeaders("GetResolverConfig");
|
|
158
176
|
let body;
|
|
@@ -249,6 +267,12 @@ export const se_ListFirewallRulesCommand = async (input, context) => {
|
|
|
249
267
|
body = JSON.stringify(_json(input));
|
|
250
268
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
251
269
|
};
|
|
270
|
+
export const se_ListOutpostResolversCommand = async (input, context) => {
|
|
271
|
+
const headers = sharedHeaders("ListOutpostResolvers");
|
|
272
|
+
let body;
|
|
273
|
+
body = JSON.stringify(_json(input));
|
|
274
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
|
+
};
|
|
252
276
|
export const se_ListResolverConfigsCommand = async (input, context) => {
|
|
253
277
|
const headers = sharedHeaders("ListResolverConfigs");
|
|
254
278
|
let body;
|
|
@@ -357,6 +381,12 @@ export const se_UpdateFirewallRuleGroupAssociationCommand = async (input, contex
|
|
|
357
381
|
body = JSON.stringify(_json(input));
|
|
358
382
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
359
383
|
};
|
|
384
|
+
export const se_UpdateOutpostResolverCommand = async (input, context) => {
|
|
385
|
+
const headers = sharedHeaders("UpdateOutpostResolver");
|
|
386
|
+
let body;
|
|
387
|
+
body = JSON.stringify(_json(input));
|
|
388
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
389
|
+
};
|
|
360
390
|
export const se_UpdateResolverConfigCommand = async (input, context) => {
|
|
361
391
|
const headers = sharedHeaders("UpdateResolverConfig");
|
|
362
392
|
let body;
|
|
@@ -722,6 +752,53 @@ const de_CreateFirewallRuleGroupCommandError = async (output, context) => {
|
|
|
722
752
|
});
|
|
723
753
|
}
|
|
724
754
|
};
|
|
755
|
+
export const de_CreateOutpostResolverCommand = async (output, context) => {
|
|
756
|
+
if (output.statusCode >= 300) {
|
|
757
|
+
return de_CreateOutpostResolverCommandError(output, context);
|
|
758
|
+
}
|
|
759
|
+
const data = await parseBody(output.body, context);
|
|
760
|
+
let contents = {};
|
|
761
|
+
contents = _json(data);
|
|
762
|
+
const response = {
|
|
763
|
+
$metadata: deserializeMetadata(output),
|
|
764
|
+
...contents,
|
|
765
|
+
};
|
|
766
|
+
return response;
|
|
767
|
+
};
|
|
768
|
+
const de_CreateOutpostResolverCommandError = async (output, context) => {
|
|
769
|
+
const parsedOutput = {
|
|
770
|
+
...output,
|
|
771
|
+
body: await parseErrorBody(output.body, context),
|
|
772
|
+
};
|
|
773
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
774
|
+
switch (errorCode) {
|
|
775
|
+
case "AccessDeniedException":
|
|
776
|
+
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
777
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
778
|
+
case "InternalServiceErrorException":
|
|
779
|
+
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
780
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
781
|
+
case "ResourceNotFoundException":
|
|
782
|
+
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
783
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
784
|
+
case "ServiceQuotaExceededException":
|
|
785
|
+
case "com.amazonaws.route53resolver#ServiceQuotaExceededException":
|
|
786
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
787
|
+
case "ThrottlingException":
|
|
788
|
+
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
789
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
790
|
+
case "ValidationException":
|
|
791
|
+
case "com.amazonaws.route53resolver#ValidationException":
|
|
792
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
793
|
+
default:
|
|
794
|
+
const parsedBody = parsedOutput.body;
|
|
795
|
+
return throwDefaultError({
|
|
796
|
+
output,
|
|
797
|
+
parsedBody,
|
|
798
|
+
errorCode,
|
|
799
|
+
});
|
|
800
|
+
}
|
|
801
|
+
};
|
|
725
802
|
export const de_CreateResolverEndpointCommand = async (output, context) => {
|
|
726
803
|
if (output.statusCode >= 300) {
|
|
727
804
|
return de_CreateResolverEndpointCommandError(output, context);
|
|
@@ -1010,6 +1087,53 @@ const de_DeleteFirewallRuleGroupCommandError = async (output, context) => {
|
|
|
1010
1087
|
});
|
|
1011
1088
|
}
|
|
1012
1089
|
};
|
|
1090
|
+
export const de_DeleteOutpostResolverCommand = async (output, context) => {
|
|
1091
|
+
if (output.statusCode >= 300) {
|
|
1092
|
+
return de_DeleteOutpostResolverCommandError(output, context);
|
|
1093
|
+
}
|
|
1094
|
+
const data = await parseBody(output.body, context);
|
|
1095
|
+
let contents = {};
|
|
1096
|
+
contents = _json(data);
|
|
1097
|
+
const response = {
|
|
1098
|
+
$metadata: deserializeMetadata(output),
|
|
1099
|
+
...contents,
|
|
1100
|
+
};
|
|
1101
|
+
return response;
|
|
1102
|
+
};
|
|
1103
|
+
const de_DeleteOutpostResolverCommandError = async (output, context) => {
|
|
1104
|
+
const parsedOutput = {
|
|
1105
|
+
...output,
|
|
1106
|
+
body: await parseErrorBody(output.body, context),
|
|
1107
|
+
};
|
|
1108
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1109
|
+
switch (errorCode) {
|
|
1110
|
+
case "AccessDeniedException":
|
|
1111
|
+
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
1112
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1113
|
+
case "ConflictException":
|
|
1114
|
+
case "com.amazonaws.route53resolver#ConflictException":
|
|
1115
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1116
|
+
case "InternalServiceErrorException":
|
|
1117
|
+
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
1118
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1119
|
+
case "ResourceNotFoundException":
|
|
1120
|
+
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
1121
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1122
|
+
case "ThrottlingException":
|
|
1123
|
+
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
1124
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1125
|
+
case "ValidationException":
|
|
1126
|
+
case "com.amazonaws.route53resolver#ValidationException":
|
|
1127
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1128
|
+
default:
|
|
1129
|
+
const parsedBody = parsedOutput.body;
|
|
1130
|
+
return throwDefaultError({
|
|
1131
|
+
output,
|
|
1132
|
+
parsedBody,
|
|
1133
|
+
errorCode,
|
|
1134
|
+
});
|
|
1135
|
+
}
|
|
1136
|
+
};
|
|
1013
1137
|
export const de_DeleteResolverEndpointCommand = async (output, context) => {
|
|
1014
1138
|
if (output.statusCode >= 300) {
|
|
1015
1139
|
return de_DeleteResolverEndpointCommandError(output, context);
|
|
@@ -1538,6 +1662,50 @@ const de_GetFirewallRuleGroupPolicyCommandError = async (output, context) => {
|
|
|
1538
1662
|
});
|
|
1539
1663
|
}
|
|
1540
1664
|
};
|
|
1665
|
+
export const de_GetOutpostResolverCommand = async (output, context) => {
|
|
1666
|
+
if (output.statusCode >= 300) {
|
|
1667
|
+
return de_GetOutpostResolverCommandError(output, context);
|
|
1668
|
+
}
|
|
1669
|
+
const data = await parseBody(output.body, context);
|
|
1670
|
+
let contents = {};
|
|
1671
|
+
contents = _json(data);
|
|
1672
|
+
const response = {
|
|
1673
|
+
$metadata: deserializeMetadata(output),
|
|
1674
|
+
...contents,
|
|
1675
|
+
};
|
|
1676
|
+
return response;
|
|
1677
|
+
};
|
|
1678
|
+
const de_GetOutpostResolverCommandError = async (output, context) => {
|
|
1679
|
+
const parsedOutput = {
|
|
1680
|
+
...output,
|
|
1681
|
+
body: await parseErrorBody(output.body, context),
|
|
1682
|
+
};
|
|
1683
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1684
|
+
switch (errorCode) {
|
|
1685
|
+
case "AccessDeniedException":
|
|
1686
|
+
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
1687
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1688
|
+
case "InternalServiceErrorException":
|
|
1689
|
+
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
1690
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1691
|
+
case "ResourceNotFoundException":
|
|
1692
|
+
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
1693
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1694
|
+
case "ThrottlingException":
|
|
1695
|
+
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
1696
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1697
|
+
case "ValidationException":
|
|
1698
|
+
case "com.amazonaws.route53resolver#ValidationException":
|
|
1699
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1700
|
+
default:
|
|
1701
|
+
const parsedBody = parsedOutput.body;
|
|
1702
|
+
return throwDefaultError({
|
|
1703
|
+
output,
|
|
1704
|
+
parsedBody,
|
|
1705
|
+
errorCode,
|
|
1706
|
+
});
|
|
1707
|
+
}
|
|
1708
|
+
};
|
|
1541
1709
|
export const de_GetResolverConfigCommand = async (output, context) => {
|
|
1542
1710
|
if (output.statusCode >= 300) {
|
|
1543
1711
|
return de_GetResolverConfigCommandError(output, context);
|
|
@@ -2236,6 +2404,50 @@ const de_ListFirewallRulesCommandError = async (output, context) => {
|
|
|
2236
2404
|
});
|
|
2237
2405
|
}
|
|
2238
2406
|
};
|
|
2407
|
+
export const de_ListOutpostResolversCommand = async (output, context) => {
|
|
2408
|
+
if (output.statusCode >= 300) {
|
|
2409
|
+
return de_ListOutpostResolversCommandError(output, context);
|
|
2410
|
+
}
|
|
2411
|
+
const data = await parseBody(output.body, context);
|
|
2412
|
+
let contents = {};
|
|
2413
|
+
contents = _json(data);
|
|
2414
|
+
const response = {
|
|
2415
|
+
$metadata: deserializeMetadata(output),
|
|
2416
|
+
...contents,
|
|
2417
|
+
};
|
|
2418
|
+
return response;
|
|
2419
|
+
};
|
|
2420
|
+
const de_ListOutpostResolversCommandError = async (output, context) => {
|
|
2421
|
+
const parsedOutput = {
|
|
2422
|
+
...output,
|
|
2423
|
+
body: await parseErrorBody(output.body, context),
|
|
2424
|
+
};
|
|
2425
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2426
|
+
switch (errorCode) {
|
|
2427
|
+
case "AccessDeniedException":
|
|
2428
|
+
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
2429
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2430
|
+
case "InternalServiceErrorException":
|
|
2431
|
+
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2432
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2433
|
+
case "ResourceNotFoundException":
|
|
2434
|
+
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2435
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2436
|
+
case "ThrottlingException":
|
|
2437
|
+
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2438
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2439
|
+
case "ValidationException":
|
|
2440
|
+
case "com.amazonaws.route53resolver#ValidationException":
|
|
2441
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2442
|
+
default:
|
|
2443
|
+
const parsedBody = parsedOutput.body;
|
|
2444
|
+
return throwDefaultError({
|
|
2445
|
+
output,
|
|
2446
|
+
parsedBody,
|
|
2447
|
+
errorCode,
|
|
2448
|
+
});
|
|
2449
|
+
}
|
|
2450
|
+
};
|
|
2239
2451
|
export const de_ListResolverConfigsCommand = async (output, context) => {
|
|
2240
2452
|
if (output.statusCode >= 300) {
|
|
2241
2453
|
return de_ListResolverConfigsCommandError(output, context);
|
|
@@ -3067,6 +3279,56 @@ const de_UpdateFirewallRuleGroupAssociationCommandError = async (output, context
|
|
|
3067
3279
|
});
|
|
3068
3280
|
}
|
|
3069
3281
|
};
|
|
3282
|
+
export const de_UpdateOutpostResolverCommand = async (output, context) => {
|
|
3283
|
+
if (output.statusCode >= 300) {
|
|
3284
|
+
return de_UpdateOutpostResolverCommandError(output, context);
|
|
3285
|
+
}
|
|
3286
|
+
const data = await parseBody(output.body, context);
|
|
3287
|
+
let contents = {};
|
|
3288
|
+
contents = _json(data);
|
|
3289
|
+
const response = {
|
|
3290
|
+
$metadata: deserializeMetadata(output),
|
|
3291
|
+
...contents,
|
|
3292
|
+
};
|
|
3293
|
+
return response;
|
|
3294
|
+
};
|
|
3295
|
+
const de_UpdateOutpostResolverCommandError = async (output, context) => {
|
|
3296
|
+
const parsedOutput = {
|
|
3297
|
+
...output,
|
|
3298
|
+
body: await parseErrorBody(output.body, context),
|
|
3299
|
+
};
|
|
3300
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3301
|
+
switch (errorCode) {
|
|
3302
|
+
case "AccessDeniedException":
|
|
3303
|
+
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
3304
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3305
|
+
case "ConflictException":
|
|
3306
|
+
case "com.amazonaws.route53resolver#ConflictException":
|
|
3307
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3308
|
+
case "InternalServiceErrorException":
|
|
3309
|
+
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3310
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3311
|
+
case "ResourceNotFoundException":
|
|
3312
|
+
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
3313
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3314
|
+
case "ServiceQuotaExceededException":
|
|
3315
|
+
case "com.amazonaws.route53resolver#ServiceQuotaExceededException":
|
|
3316
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3317
|
+
case "ThrottlingException":
|
|
3318
|
+
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3319
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3320
|
+
case "ValidationException":
|
|
3321
|
+
case "com.amazonaws.route53resolver#ValidationException":
|
|
3322
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3323
|
+
default:
|
|
3324
|
+
const parsedBody = parsedOutput.body;
|
|
3325
|
+
return throwDefaultError({
|
|
3326
|
+
output,
|
|
3327
|
+
parsedBody,
|
|
3328
|
+
errorCode,
|
|
3329
|
+
});
|
|
3330
|
+
}
|
|
3331
|
+
};
|
|
3070
3332
|
export const de_UpdateResolverConfigCommand = async (output, context) => {
|
|
3071
3333
|
if (output.statusCode >= 300) {
|
|
3072
3334
|
return de_UpdateResolverConfigCommandError(output, context);
|
|
@@ -3381,6 +3643,15 @@ const de_ResourceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
|
3381
3643
|
});
|
|
3382
3644
|
return __decorateServiceException(exception, body);
|
|
3383
3645
|
};
|
|
3646
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
3647
|
+
const body = parsedOutput.body;
|
|
3648
|
+
const deserialized = _json(body);
|
|
3649
|
+
const exception = new ServiceQuotaExceededException({
|
|
3650
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3651
|
+
...deserialized,
|
|
3652
|
+
});
|
|
3653
|
+
return __decorateServiceException(exception, body);
|
|
3654
|
+
};
|
|
3384
3655
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
3385
3656
|
const body = parsedOutput.body;
|
|
3386
3657
|
const deserialized = _json(body);
|
|
@@ -6,12 +6,14 @@ import { AssociateResolverRuleCommandInput, AssociateResolverRuleCommandOutput }
|
|
|
6
6
|
import { CreateFirewallDomainListCommandInput, CreateFirewallDomainListCommandOutput } from "./commands/CreateFirewallDomainListCommand";
|
|
7
7
|
import { CreateFirewallRuleCommandInput, CreateFirewallRuleCommandOutput } from "./commands/CreateFirewallRuleCommand";
|
|
8
8
|
import { CreateFirewallRuleGroupCommandInput, CreateFirewallRuleGroupCommandOutput } from "./commands/CreateFirewallRuleGroupCommand";
|
|
9
|
+
import { CreateOutpostResolverCommandInput, CreateOutpostResolverCommandOutput } from "./commands/CreateOutpostResolverCommand";
|
|
9
10
|
import { CreateResolverEndpointCommandInput, CreateResolverEndpointCommandOutput } from "./commands/CreateResolverEndpointCommand";
|
|
10
11
|
import { CreateResolverQueryLogConfigCommandInput, CreateResolverQueryLogConfigCommandOutput } from "./commands/CreateResolverQueryLogConfigCommand";
|
|
11
12
|
import { CreateResolverRuleCommandInput, CreateResolverRuleCommandOutput } from "./commands/CreateResolverRuleCommand";
|
|
12
13
|
import { DeleteFirewallDomainListCommandInput, DeleteFirewallDomainListCommandOutput } from "./commands/DeleteFirewallDomainListCommand";
|
|
13
14
|
import { DeleteFirewallRuleCommandInput, DeleteFirewallRuleCommandOutput } from "./commands/DeleteFirewallRuleCommand";
|
|
14
15
|
import { DeleteFirewallRuleGroupCommandInput, DeleteFirewallRuleGroupCommandOutput } from "./commands/DeleteFirewallRuleGroupCommand";
|
|
16
|
+
import { DeleteOutpostResolverCommandInput, DeleteOutpostResolverCommandOutput } from "./commands/DeleteOutpostResolverCommand";
|
|
15
17
|
import { DeleteResolverEndpointCommandInput, DeleteResolverEndpointCommandOutput } from "./commands/DeleteResolverEndpointCommand";
|
|
16
18
|
import { DeleteResolverQueryLogConfigCommandInput, DeleteResolverQueryLogConfigCommandOutput } from "./commands/DeleteResolverQueryLogConfigCommand";
|
|
17
19
|
import { DeleteResolverRuleCommandInput, DeleteResolverRuleCommandOutput } from "./commands/DeleteResolverRuleCommand";
|
|
@@ -24,6 +26,7 @@ import { GetFirewallDomainListCommandInput, GetFirewallDomainListCommandOutput }
|
|
|
24
26
|
import { GetFirewallRuleGroupAssociationCommandInput, GetFirewallRuleGroupAssociationCommandOutput } from "./commands/GetFirewallRuleGroupAssociationCommand";
|
|
25
27
|
import { GetFirewallRuleGroupCommandInput, GetFirewallRuleGroupCommandOutput } from "./commands/GetFirewallRuleGroupCommand";
|
|
26
28
|
import { GetFirewallRuleGroupPolicyCommandInput, GetFirewallRuleGroupPolicyCommandOutput } from "./commands/GetFirewallRuleGroupPolicyCommand";
|
|
29
|
+
import { GetOutpostResolverCommandInput, GetOutpostResolverCommandOutput } from "./commands/GetOutpostResolverCommand";
|
|
27
30
|
import { GetResolverConfigCommandInput, GetResolverConfigCommandOutput } from "./commands/GetResolverConfigCommand";
|
|
28
31
|
import { GetResolverDnssecConfigCommandInput, GetResolverDnssecConfigCommandOutput } from "./commands/GetResolverDnssecConfigCommand";
|
|
29
32
|
import { GetResolverEndpointCommandInput, GetResolverEndpointCommandOutput } from "./commands/GetResolverEndpointCommand";
|
|
@@ -40,6 +43,7 @@ import { ListFirewallDomainsCommandInput, ListFirewallDomainsCommandOutput } fro
|
|
|
40
43
|
import { ListFirewallRuleGroupAssociationsCommandInput, ListFirewallRuleGroupAssociationsCommandOutput } from "./commands/ListFirewallRuleGroupAssociationsCommand";
|
|
41
44
|
import { ListFirewallRuleGroupsCommandInput, ListFirewallRuleGroupsCommandOutput } from "./commands/ListFirewallRuleGroupsCommand";
|
|
42
45
|
import { ListFirewallRulesCommandInput, ListFirewallRulesCommandOutput } from "./commands/ListFirewallRulesCommand";
|
|
46
|
+
import { ListOutpostResolversCommandInput, ListOutpostResolversCommandOutput } from "./commands/ListOutpostResolversCommand";
|
|
43
47
|
import { ListResolverConfigsCommandInput, ListResolverConfigsCommandOutput } from "./commands/ListResolverConfigsCommand";
|
|
44
48
|
import { ListResolverDnssecConfigsCommandInput, ListResolverDnssecConfigsCommandOutput } from "./commands/ListResolverDnssecConfigsCommand";
|
|
45
49
|
import { ListResolverEndpointIpAddressesCommandInput, ListResolverEndpointIpAddressesCommandOutput } from "./commands/ListResolverEndpointIpAddressesCommand";
|
|
@@ -58,6 +62,7 @@ import { UpdateFirewallConfigCommandInput, UpdateFirewallConfigCommandOutput } f
|
|
|
58
62
|
import { UpdateFirewallDomainsCommandInput, UpdateFirewallDomainsCommandOutput } from "./commands/UpdateFirewallDomainsCommand";
|
|
59
63
|
import { UpdateFirewallRuleCommandInput, UpdateFirewallRuleCommandOutput } from "./commands/UpdateFirewallRuleCommand";
|
|
60
64
|
import { UpdateFirewallRuleGroupAssociationCommandInput, UpdateFirewallRuleGroupAssociationCommandOutput } from "./commands/UpdateFirewallRuleGroupAssociationCommand";
|
|
65
|
+
import { UpdateOutpostResolverCommandInput, UpdateOutpostResolverCommandOutput } from "./commands/UpdateOutpostResolverCommand";
|
|
61
66
|
import { UpdateResolverConfigCommandInput, UpdateResolverConfigCommandOutput } from "./commands/UpdateResolverConfigCommand";
|
|
62
67
|
import { UpdateResolverDnssecConfigCommandInput, UpdateResolverDnssecConfigCommandOutput } from "./commands/UpdateResolverDnssecConfigCommand";
|
|
63
68
|
import { UpdateResolverEndpointCommandInput, UpdateResolverEndpointCommandOutput } from "./commands/UpdateResolverEndpointCommand";
|
|
@@ -106,6 +111,12 @@ export interface Route53Resolver {
|
|
|
106
111
|
createFirewallRuleGroup(args: CreateFirewallRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateFirewallRuleGroupCommandOutput>;
|
|
107
112
|
createFirewallRuleGroup(args: CreateFirewallRuleGroupCommandInput, cb: (err: any, data?: CreateFirewallRuleGroupCommandOutput) => void): void;
|
|
108
113
|
createFirewallRuleGroup(args: CreateFirewallRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFirewallRuleGroupCommandOutput) => void): void;
|
|
114
|
+
/**
|
|
115
|
+
* @see {@link CreateOutpostResolverCommand}
|
|
116
|
+
*/
|
|
117
|
+
createOutpostResolver(args: CreateOutpostResolverCommandInput, options?: __HttpHandlerOptions): Promise<CreateOutpostResolverCommandOutput>;
|
|
118
|
+
createOutpostResolver(args: CreateOutpostResolverCommandInput, cb: (err: any, data?: CreateOutpostResolverCommandOutput) => void): void;
|
|
119
|
+
createOutpostResolver(args: CreateOutpostResolverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateOutpostResolverCommandOutput) => void): void;
|
|
109
120
|
/**
|
|
110
121
|
* @see {@link CreateResolverEndpointCommand}
|
|
111
122
|
*/
|
|
@@ -142,6 +153,12 @@ export interface Route53Resolver {
|
|
|
142
153
|
deleteFirewallRuleGroup(args: DeleteFirewallRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFirewallRuleGroupCommandOutput>;
|
|
143
154
|
deleteFirewallRuleGroup(args: DeleteFirewallRuleGroupCommandInput, cb: (err: any, data?: DeleteFirewallRuleGroupCommandOutput) => void): void;
|
|
144
155
|
deleteFirewallRuleGroup(args: DeleteFirewallRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFirewallRuleGroupCommandOutput) => void): void;
|
|
156
|
+
/**
|
|
157
|
+
* @see {@link DeleteOutpostResolverCommand}
|
|
158
|
+
*/
|
|
159
|
+
deleteOutpostResolver(args: DeleteOutpostResolverCommandInput, options?: __HttpHandlerOptions): Promise<DeleteOutpostResolverCommandOutput>;
|
|
160
|
+
deleteOutpostResolver(args: DeleteOutpostResolverCommandInput, cb: (err: any, data?: DeleteOutpostResolverCommandOutput) => void): void;
|
|
161
|
+
deleteOutpostResolver(args: DeleteOutpostResolverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteOutpostResolverCommandOutput) => void): void;
|
|
145
162
|
/**
|
|
146
163
|
* @see {@link DeleteResolverEndpointCommand}
|
|
147
164
|
*/
|
|
@@ -214,6 +231,12 @@ export interface Route53Resolver {
|
|
|
214
231
|
getFirewallRuleGroupPolicy(args: GetFirewallRuleGroupPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetFirewallRuleGroupPolicyCommandOutput>;
|
|
215
232
|
getFirewallRuleGroupPolicy(args: GetFirewallRuleGroupPolicyCommandInput, cb: (err: any, data?: GetFirewallRuleGroupPolicyCommandOutput) => void): void;
|
|
216
233
|
getFirewallRuleGroupPolicy(args: GetFirewallRuleGroupPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFirewallRuleGroupPolicyCommandOutput) => void): void;
|
|
234
|
+
/**
|
|
235
|
+
* @see {@link GetOutpostResolverCommand}
|
|
236
|
+
*/
|
|
237
|
+
getOutpostResolver(args: GetOutpostResolverCommandInput, options?: __HttpHandlerOptions): Promise<GetOutpostResolverCommandOutput>;
|
|
238
|
+
getOutpostResolver(args: GetOutpostResolverCommandInput, cb: (err: any, data?: GetOutpostResolverCommandOutput) => void): void;
|
|
239
|
+
getOutpostResolver(args: GetOutpostResolverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOutpostResolverCommandOutput) => void): void;
|
|
217
240
|
/**
|
|
218
241
|
* @see {@link GetResolverConfigCommand}
|
|
219
242
|
*/
|
|
@@ -310,6 +333,12 @@ export interface Route53Resolver {
|
|
|
310
333
|
listFirewallRules(args: ListFirewallRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListFirewallRulesCommandOutput>;
|
|
311
334
|
listFirewallRules(args: ListFirewallRulesCommandInput, cb: (err: any, data?: ListFirewallRulesCommandOutput) => void): void;
|
|
312
335
|
listFirewallRules(args: ListFirewallRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFirewallRulesCommandOutput) => void): void;
|
|
336
|
+
/**
|
|
337
|
+
* @see {@link ListOutpostResolversCommand}
|
|
338
|
+
*/
|
|
339
|
+
listOutpostResolvers(args: ListOutpostResolversCommandInput, options?: __HttpHandlerOptions): Promise<ListOutpostResolversCommandOutput>;
|
|
340
|
+
listOutpostResolvers(args: ListOutpostResolversCommandInput, cb: (err: any, data?: ListOutpostResolversCommandOutput) => void): void;
|
|
341
|
+
listOutpostResolvers(args: ListOutpostResolversCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOutpostResolversCommandOutput) => void): void;
|
|
313
342
|
/**
|
|
314
343
|
* @see {@link ListResolverConfigsCommand}
|
|
315
344
|
*/
|
|
@@ -418,6 +447,12 @@ export interface Route53Resolver {
|
|
|
418
447
|
updateFirewallRuleGroupAssociation(args: UpdateFirewallRuleGroupAssociationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFirewallRuleGroupAssociationCommandOutput>;
|
|
419
448
|
updateFirewallRuleGroupAssociation(args: UpdateFirewallRuleGroupAssociationCommandInput, cb: (err: any, data?: UpdateFirewallRuleGroupAssociationCommandOutput) => void): void;
|
|
420
449
|
updateFirewallRuleGroupAssociation(args: UpdateFirewallRuleGroupAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFirewallRuleGroupAssociationCommandOutput) => void): void;
|
|
450
|
+
/**
|
|
451
|
+
* @see {@link UpdateOutpostResolverCommand}
|
|
452
|
+
*/
|
|
453
|
+
updateOutpostResolver(args: UpdateOutpostResolverCommandInput, options?: __HttpHandlerOptions): Promise<UpdateOutpostResolverCommandOutput>;
|
|
454
|
+
updateOutpostResolver(args: UpdateOutpostResolverCommandInput, cb: (err: any, data?: UpdateOutpostResolverCommandOutput) => void): void;
|
|
455
|
+
updateOutpostResolver(args: UpdateOutpostResolverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateOutpostResolverCommandOutput) => void): void;
|
|
421
456
|
/**
|
|
422
457
|
* @see {@link UpdateResolverConfigCommand}
|
|
423
458
|
*/
|