1 | import {Request} from '../lib/request';
|
2 | import {Response} from '../lib/response';
|
3 | import {AWSError} from '../lib/error';
|
4 | import {Service} from '../lib/service';
|
5 | import {ServiceConfigurationOptions} from '../lib/service';
|
6 | import {ConfigBase as Config} from '../lib/config';
|
7 | interface Blob {}
|
8 | declare class Route53Resolver extends Service {
|
9 | |
10 |
|
11 |
|
12 | constructor(options?: Route53Resolver.Types.ClientConfiguration)
|
13 | config: Config & Route53Resolver.Types.ClientConfiguration;
|
14 | /**
|
15 | * Adds IP addresses to an inbound or an outbound resolver endpoint. If you want to adding more than one IP address, submit one AssociateResolverEndpointIpAddress request for each IP address. To remove an IP address from an endpoint, see DisassociateResolverEndpointIpAddress.
|
16 | */
|
17 | associateResolverEndpointIpAddress(params: Route53Resolver.Types.AssociateResolverEndpointIpAddressRequest, callback?: (err: AWSError, data: Route53Resolver.Types.AssociateResolverEndpointIpAddressResponse) => void): Request<Route53Resolver.Types.AssociateResolverEndpointIpAddressResponse, AWSError>;
|
18 | /**
|
19 | * Adds IP addresses to an inbound or an outbound resolver endpoint. If you want to adding more than one IP address, submit one AssociateResolverEndpointIpAddress request for each IP address. To remove an IP address from an endpoint, see DisassociateResolverEndpointIpAddress.
|
20 | */
|
21 | associateResolverEndpointIpAddress(callback?: (err: AWSError, data: Route53Resolver.Types.AssociateResolverEndpointIpAddressResponse) => void): Request<Route53Resolver.Types.AssociateResolverEndpointIpAddressResponse, AWSError>;
|
22 | /**
|
23 | * Associates a resolver rule with a VPC. When you associate a rule with a VPC, Resolver forwards all DNS queries for the domain name that is specified in the rule and that originate in the VPC. The queries are forwarded to the IP addresses for the DNS resolvers that are specified in the rule. For more information about rules, see CreateResolverRule.
|
24 | */
|
25 | associateResolverRule(params: Route53Resolver.Types.AssociateResolverRuleRequest, callback?: (err: AWSError, data: Route53Resolver.Types.AssociateResolverRuleResponse) => void): Request<Route53Resolver.Types.AssociateResolverRuleResponse, AWSError>;
|
26 | /**
|
27 | * Associates a resolver rule with a VPC. When you associate a rule with a VPC, Resolver forwards all DNS queries for the domain name that is specified in the rule and that originate in the VPC. The queries are forwarded to the IP addresses for the DNS resolvers that are specified in the rule. For more information about rules, see CreateResolverRule.
|
28 | */
|
29 | associateResolverRule(callback?: (err: AWSError, data: Route53Resolver.Types.AssociateResolverRuleResponse) => void): Request<Route53Resolver.Types.AssociateResolverRuleResponse, AWSError>;
|
30 | /**
|
31 | * Creates a resolver endpoint. There are two types of resolver endpoints, inbound and outbound: An inbound resolver endpoint forwards DNS queries to the DNS service for a VPC from your network or another VPC. An outbound resolver endpoint forwards DNS queries from the DNS service for a VPC to your network or another VPC.
|
32 | */
|
33 | createResolverEndpoint(params: Route53Resolver.Types.CreateResolverEndpointRequest, callback?: (err: AWSError, data: Route53Resolver.Types.CreateResolverEndpointResponse) => void): Request<Route53Resolver.Types.CreateResolverEndpointResponse, AWSError>;
|
34 | /**
|
35 | * Creates a resolver endpoint. There are two types of resolver endpoints, inbound and outbound: An inbound resolver endpoint forwards DNS queries to the DNS service for a VPC from your network or another VPC. An outbound resolver endpoint forwards DNS queries from the DNS service for a VPC to your network or another VPC.
|
36 | */
|
37 | createResolverEndpoint(callback?: (err: AWSError, data: Route53Resolver.Types.CreateResolverEndpointResponse) => void): Request<Route53Resolver.Types.CreateResolverEndpointResponse, AWSError>;
|
38 | /**
|
39 | * For DNS queries that originate in your VPCs, specifies which resolver endpoint the queries pass through, one domain name that you want to forward to your network, and the IP addresses of the DNS resolvers in your network.
|
40 | */
|
41 | createResolverRule(params: Route53Resolver.Types.CreateResolverRuleRequest, callback?: (err: AWSError, data: Route53Resolver.Types.CreateResolverRuleResponse) => void): Request<Route53Resolver.Types.CreateResolverRuleResponse, AWSError>;
|
42 | /**
|
43 | * For DNS queries that originate in your VPCs, specifies which resolver endpoint the queries pass through, one domain name that you want to forward to your network, and the IP addresses of the DNS resolvers in your network.
|
44 | */
|
45 | createResolverRule(callback?: (err: AWSError, data: Route53Resolver.Types.CreateResolverRuleResponse) => void): Request<Route53Resolver.Types.CreateResolverRuleResponse, AWSError>;
|
46 | /**
|
47 | * Deletes a resolver endpoint. The effect of deleting a resolver endpoint depends on whether it's an inbound or an outbound resolver endpoint: Inbound: DNS queries from your network or another VPC are no longer routed to the DNS service for the specified VPC. Outbound: DNS queries from a VPC are no longer routed to your network or to another VPC.
|
48 | */
|
49 | deleteResolverEndpoint(params: Route53Resolver.Types.DeleteResolverEndpointRequest, callback?: (err: AWSError, data: Route53Resolver.Types.DeleteResolverEndpointResponse) => void): Request<Route53Resolver.Types.DeleteResolverEndpointResponse, AWSError>;
|
50 | /**
|
51 | * Deletes a resolver endpoint. The effect of deleting a resolver endpoint depends on whether it's an inbound or an outbound resolver endpoint: Inbound: DNS queries from your network or another VPC are no longer routed to the DNS service for the specified VPC. Outbound: DNS queries from a VPC are no longer routed to your network or to another VPC.
|
52 | */
|
53 | deleteResolverEndpoint(callback?: (err: AWSError, data: Route53Resolver.Types.DeleteResolverEndpointResponse) => void): Request<Route53Resolver.Types.DeleteResolverEndpointResponse, AWSError>;
|
54 | /**
|
55 | * Deletes a resolver rule. Before you can delete a resolver rule, you must disassociate it from all the VPCs that you associated the resolver rule with. For more infomation, see DisassociateResolverRule.
|
56 | */
|
57 | deleteResolverRule(params: Route53Resolver.Types.DeleteResolverRuleRequest, callback?: (err: AWSError, data: Route53Resolver.Types.DeleteResolverRuleResponse) => void): Request<Route53Resolver.Types.DeleteResolverRuleResponse, AWSError>;
|
58 | /**
|
59 | * Deletes a resolver rule. Before you can delete a resolver rule, you must disassociate it from all the VPCs that you associated the resolver rule with. For more infomation, see DisassociateResolverRule.
|
60 | */
|
61 | deleteResolverRule(callback?: (err: AWSError, data: Route53Resolver.Types.DeleteResolverRuleResponse) => void): Request<Route53Resolver.Types.DeleteResolverRuleResponse, AWSError>;
|
62 | /**
|
63 | * Removes IP addresses from an inbound or an outbound resolver endpoint. If you want to remove more than one IP address, submit one DisassociateResolverEndpointIpAddress request for each IP address. To add an IP address to an endpoint, see AssociateResolverEndpointIpAddress.
|
64 | */
|
65 | disassociateResolverEndpointIpAddress(params: Route53Resolver.Types.DisassociateResolverEndpointIpAddressRequest, callback?: (err: AWSError, data: Route53Resolver.Types.DisassociateResolverEndpointIpAddressResponse) => void): Request<Route53Resolver.Types.DisassociateResolverEndpointIpAddressResponse, AWSError>;
|
66 | /**
|
67 | * Removes IP addresses from an inbound or an outbound resolver endpoint. If you want to remove more than one IP address, submit one DisassociateResolverEndpointIpAddress request for each IP address. To add an IP address to an endpoint, see AssociateResolverEndpointIpAddress.
|
68 | */
|
69 | disassociateResolverEndpointIpAddress(callback?: (err: AWSError, data: Route53Resolver.Types.DisassociateResolverEndpointIpAddressResponse) => void): Request<Route53Resolver.Types.DisassociateResolverEndpointIpAddressResponse, AWSError>;
|
70 | /**
|
71 | * Removes the association between a specified resolver rule and a specified VPC. If you disassociate a resolver rule from a VPC, Resolver stops forwarding DNS queries for the domain name that you specified in the resolver rule.
|
72 | */
|
73 | disassociateResolverRule(params: Route53Resolver.Types.DisassociateResolverRuleRequest, callback?: (err: AWSError, data: Route53Resolver.Types.DisassociateResolverRuleResponse) => void): Request<Route53Resolver.Types.DisassociateResolverRuleResponse, AWSError>;
|
74 | /**
|
75 | * Removes the association between a specified resolver rule and a specified VPC. If you disassociate a resolver rule from a VPC, Resolver stops forwarding DNS queries for the domain name that you specified in the resolver rule.
|
76 | */
|
77 | disassociateResolverRule(callback?: (err: AWSError, data: Route53Resolver.Types.DisassociateResolverRuleResponse) => void): Request<Route53Resolver.Types.DisassociateResolverRuleResponse, AWSError>;
|
78 | /**
|
79 | * Gets information about a specified resolver endpoint, such as whether it's an inbound or an outbound resolver endpoint, and the current status of the endpoint.
|
80 | */
|
81 | getResolverEndpoint(params: Route53Resolver.Types.GetResolverEndpointRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverEndpointResponse) => void): Request<Route53Resolver.Types.GetResolverEndpointResponse, AWSError>;
|
82 | /**
|
83 | * Gets information about a specified resolver endpoint, such as whether it's an inbound or an outbound resolver endpoint, and the current status of the endpoint.
|
84 | */
|
85 | getResolverEndpoint(callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverEndpointResponse) => void): Request<Route53Resolver.Types.GetResolverEndpointResponse, AWSError>;
|
86 | /**
|
87 | * Gets information about a specified resolver rule, such as the domain name that the rule forwards DNS queries for and the ID of the outbound resolver endpoint that the rule is associated with.
|
88 | */
|
89 | getResolverRule(params: Route53Resolver.Types.GetResolverRuleRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverRuleResponse) => void): Request<Route53Resolver.Types.GetResolverRuleResponse, AWSError>;
|
90 | /**
|
91 | * Gets information about a specified resolver rule, such as the domain name that the rule forwards DNS queries for and the ID of the outbound resolver endpoint that the rule is associated with.
|
92 | */
|
93 | getResolverRule(callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverRuleResponse) => void): Request<Route53Resolver.Types.GetResolverRuleResponse, AWSError>;
|
94 | /**
|
95 | * Gets information about an association between a specified resolver rule and a VPC. You associate a resolver rule and a VPC using AssociateResolverRule.
|
96 | */
|
97 | getResolverRuleAssociation(params: Route53Resolver.Types.GetResolverRuleAssociationRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverRuleAssociationResponse) => void): Request<Route53Resolver.Types.GetResolverRuleAssociationResponse, AWSError>;
|
98 | /**
|
99 | * Gets information about an association between a specified resolver rule and a VPC. You associate a resolver rule and a VPC using AssociateResolverRule.
|
100 | */
|
101 | getResolverRuleAssociation(callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverRuleAssociationResponse) => void): Request<Route53Resolver.Types.GetResolverRuleAssociationResponse, AWSError>;
|
102 | /**
|
103 | * Gets information about a resolver rule policy. A resolver rule policy specifies the Resolver operations and resources that you want to allow another AWS account to be able to use.
|
104 | */
|
105 | getResolverRulePolicy(params: Route53Resolver.Types.GetResolverRulePolicyRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverRulePolicyResponse) => void): Request<Route53Resolver.Types.GetResolverRulePolicyResponse, AWSError>;
|
106 | /**
|
107 | * Gets information about a resolver rule policy. A resolver rule policy specifies the Resolver operations and resources that you want to allow another AWS account to be able to use.
|
108 | */
|
109 | getResolverRulePolicy(callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverRulePolicyResponse) => void): Request<Route53Resolver.Types.GetResolverRulePolicyResponse, AWSError>;
|
110 | /**
|
111 | * Gets the IP addresses for a specified resolver endpoint.
|
112 | */
|
113 | listResolverEndpointIpAddresses(params: Route53Resolver.Types.ListResolverEndpointIpAddressesRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverEndpointIpAddressesResponse) => void): Request<Route53Resolver.Types.ListResolverEndpointIpAddressesResponse, AWSError>;
|
114 | /**
|
115 | * Gets the IP addresses for a specified resolver endpoint.
|
116 | */
|
117 | listResolverEndpointIpAddresses(callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverEndpointIpAddressesResponse) => void): Request<Route53Resolver.Types.ListResolverEndpointIpAddressesResponse, AWSError>;
|
118 | /**
|
119 | * Lists all the resolver endpoints that were created using the current AWS account.
|
120 | */
|
121 | listResolverEndpoints(params: Route53Resolver.Types.ListResolverEndpointsRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverEndpointsResponse) => void): Request<Route53Resolver.Types.ListResolverEndpointsResponse, AWSError>;
|
122 | /**
|
123 | * Lists all the resolver endpoints that were created using the current AWS account.
|
124 | */
|
125 | listResolverEndpoints(callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverEndpointsResponse) => void): Request<Route53Resolver.Types.ListResolverEndpointsResponse, AWSError>;
|
126 | /**
|
127 | * Lists the associations that were created between resolver rules and VPCs using the current AWS account.
|
128 | */
|
129 | listResolverRuleAssociations(params: Route53Resolver.Types.ListResolverRuleAssociationsRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverRuleAssociationsResponse) => void): Request<Route53Resolver.Types.ListResolverRuleAssociationsResponse, AWSError>;
|
130 | /**
|
131 | * Lists the associations that were created between resolver rules and VPCs using the current AWS account.
|
132 | */
|
133 | listResolverRuleAssociations(callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverRuleAssociationsResponse) => void): Request<Route53Resolver.Types.ListResolverRuleAssociationsResponse, AWSError>;
|
134 | /**
|
135 | * Lists the resolver rules that were created using the current AWS account.
|
136 | */
|
137 | listResolverRules(params: Route53Resolver.Types.ListResolverRulesRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverRulesResponse) => void): Request<Route53Resolver.Types.ListResolverRulesResponse, AWSError>;
|
138 | /**
|
139 | * Lists the resolver rules that were created using the current AWS account.
|
140 | */
|
141 | listResolverRules(callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverRulesResponse) => void): Request<Route53Resolver.Types.ListResolverRulesResponse, AWSError>;
|
142 | /**
|
143 | * Lists the tags that you associated with the specified resource.
|
144 | */
|
145 | listTagsForResource(params: Route53Resolver.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListTagsForResourceResponse) => void): Request<Route53Resolver.Types.ListTagsForResourceResponse, AWSError>;
|
146 | /**
|
147 | * Lists the tags that you associated with the specified resource.
|
148 | */
|
149 | listTagsForResource(callback?: (err: AWSError, data: Route53Resolver.Types.ListTagsForResourceResponse) => void): Request<Route53Resolver.Types.ListTagsForResourceResponse, AWSError>;
|
150 | /**
|
151 | * Specifies the Resolver operations and resources that you want to allow another AWS account to be able to use.
|
152 | */
|
153 | putResolverRulePolicy(params: Route53Resolver.Types.PutResolverRulePolicyRequest, callback?: (err: AWSError, data: Route53Resolver.Types.PutResolverRulePolicyResponse) => void): Request<Route53Resolver.Types.PutResolverRulePolicyResponse, AWSError>;
|
154 | /**
|
155 | * Specifies the Resolver operations and resources that you want to allow another AWS account to be able to use.
|
156 | */
|
157 | putResolverRulePolicy(callback?: (err: AWSError, data: Route53Resolver.Types.PutResolverRulePolicyResponse) => void): Request<Route53Resolver.Types.PutResolverRulePolicyResponse, AWSError>;
|
158 | /**
|
159 | * Adds one or more tags to a specified resource.
|
160 | */
|
161 | tagResource(params: Route53Resolver.Types.TagResourceRequest, callback?: (err: AWSError, data: Route53Resolver.Types.TagResourceResponse) => void): Request<Route53Resolver.Types.TagResourceResponse, AWSError>;
|
162 | /**
|
163 | * Adds one or more tags to a specified resource.
|
164 | */
|
165 | tagResource(callback?: (err: AWSError, data: Route53Resolver.Types.TagResourceResponse) => void): Request<Route53Resolver.Types.TagResourceResponse, AWSError>;
|
166 | /**
|
167 | * Removes one or more tags from a specified resource.
|
168 | */
|
169 | untagResource(params: Route53Resolver.Types.UntagResourceRequest, callback?: (err: AWSError, data: Route53Resolver.Types.UntagResourceResponse) => void): Request<Route53Resolver.Types.UntagResourceResponse, AWSError>;
|
170 | /**
|
171 | * Removes one or more tags from a specified resource.
|
172 | */
|
173 | untagResource(callback?: (err: AWSError, data: Route53Resolver.Types.UntagResourceResponse) => void): Request<Route53Resolver.Types.UntagResourceResponse, AWSError>;
|
174 | /**
|
175 | * Updates the name of an inbound or an outbound resolver endpoint.
|
176 | */
|
177 | updateResolverEndpoint(params: Route53Resolver.Types.UpdateResolverEndpointRequest, callback?: (err: AWSError, data: Route53Resolver.Types.UpdateResolverEndpointResponse) => void): Request<Route53Resolver.Types.UpdateResolverEndpointResponse, AWSError>;
|
178 | /**
|
179 | * Updates the name of an inbound or an outbound resolver endpoint.
|
180 | */
|
181 | updateResolverEndpoint(callback?: (err: AWSError, data: Route53Resolver.Types.UpdateResolverEndpointResponse) => void): Request<Route53Resolver.Types.UpdateResolverEndpointResponse, AWSError>;
|
182 | /**
|
183 | * Updates settings for a specified resolver rule. ResolverRuleId is required, and all other parameters are optional. If you don't specify a parameter, it retains its current value.
|
184 | */
|
185 | updateResolverRule(params: Route53Resolver.Types.UpdateResolverRuleRequest, callback?: (err: AWSError, data: Route53Resolver.Types.UpdateResolverRuleResponse) => void): Request<Route53Resolver.Types.UpdateResolverRuleResponse, AWSError>;
|
186 | /**
|
187 | * Updates settings for a specified resolver rule. ResolverRuleId is required, and all other parameters are optional. If you don't specify a parameter, it retains its current value.
|
188 | */
|
189 | updateResolverRule(callback?: (err: AWSError, data: Route53Resolver.Types.UpdateResolverRuleResponse) => void): Request<Route53Resolver.Types.UpdateResolverRuleResponse, AWSError>;
|
190 | }
|
191 | declare namespace Route53Resolver {
|
192 | export type AccountId = string;
|
193 | export type Arn = string;
|
194 | export interface AssociateResolverEndpointIpAddressRequest {
|
195 | |
196 |
|
197 |
|
198 | ResolverEndpointId: ResourceId;
|
199 | |
200 |
|
201 |
|
202 | IpAddress: IpAddressUpdate;
|
203 | }
|
204 | export interface AssociateResolverEndpointIpAddressResponse {
|
205 | |
206 |
|
207 |
|
208 | ResolverEndpoint?: ResolverEndpoint;
|
209 | }
|
210 | export interface AssociateResolverRuleRequest {
|
211 | |
212 |
|
213 |
|
214 | ResolverRuleId: ResourceId;
|
215 | |
216 |
|
217 |
|
218 | Name?: Name;
|
219 | |
220 |
|
221 |
|
222 | VPCId: ResourceId;
|
223 | }
|
224 | export interface AssociateResolverRuleResponse {
|
225 | |
226 |
|
227 |
|
228 | ResolverRuleAssociation?: ResolverRuleAssociation;
|
229 | }
|
230 | export type Boolean = boolean;
|
231 | export interface CreateResolverEndpointRequest {
|
232 | |
233 |
|
234 |
|
235 | CreatorRequestId: CreatorRequestId;
|
236 | |
237 |
|
238 |
|
239 | Name?: Name;
|
240 | |
241 |
|
242 |
|
243 | SecurityGroupIds: SecurityGroupIds;
|
244 | |
245 |
|
246 |
|
247 | Direction: ResolverEndpointDirection;
|
248 | |
249 |
|
250 |
|
251 | IpAddresses: IpAddressesRequest;
|
252 | |
253 |
|
254 |
|
255 | Tags?: TagList;
|
256 | }
|
257 | export interface CreateResolverEndpointResponse {
|
258 | |
259 |
|
260 |
|
261 | ResolverEndpoint?: ResolverEndpoint;
|
262 | }
|
263 | export interface CreateResolverRuleRequest {
|
264 | |
265 |
|
266 |
|
267 | CreatorRequestId: CreatorRequestId;
|
268 | |
269 |
|
270 |
|
271 | Name?: Name;
|
272 | |
273 |
|
274 |
|
275 | RuleType: RuleTypeOption;
|
276 | |
277 |
|
278 |
|
279 | DomainName: DomainName;
|
280 | |
281 |
|
282 |
|
283 | TargetIps?: TargetList;
|
284 | |
285 |
|
286 |
|
287 | ResolverEndpointId?: ResourceId;
|
288 | |
289 |
|
290 |
|
291 | Tags?: TagList;
|
292 | }
|
293 | export interface CreateResolverRuleResponse {
|
294 | |
295 |
|
296 |
|
297 | ResolverRule?: ResolverRule;
|
298 | }
|
299 | export type CreatorRequestId = string;
|
300 | export interface DeleteResolverEndpointRequest {
|
301 | |
302 |
|
303 |
|
304 | ResolverEndpointId: ResourceId;
|
305 | }
|
306 | export interface DeleteResolverEndpointResponse {
|
307 | |
308 |
|
309 |
|
310 | ResolverEndpoint?: ResolverEndpoint;
|
311 | }
|
312 | export interface DeleteResolverRuleRequest {
|
313 | |
314 |
|
315 |
|
316 | ResolverRuleId: ResourceId;
|
317 | }
|
318 | export interface DeleteResolverRuleResponse {
|
319 | |
320 |
|
321 |
|
322 | ResolverRule?: ResolverRule;
|
323 | }
|
324 | export interface DisassociateResolverEndpointIpAddressRequest {
|
325 | |
326 |
|
327 |
|
328 | ResolverEndpointId: ResourceId;
|
329 | |
330 |
|
331 |
|
332 | IpAddress: IpAddressUpdate;
|
333 | }
|
334 | export interface DisassociateResolverEndpointIpAddressResponse {
|
335 | |
336 |
|
337 |
|
338 | ResolverEndpoint?: ResolverEndpoint;
|
339 | }
|
340 | export interface DisassociateResolverRuleRequest {
|
341 | |
342 |
|
343 |
|
344 | VPCId: ResourceId;
|
345 | |
346 |
|
347 |
|
348 | ResolverRuleId: ResourceId;
|
349 | }
|
350 | export interface DisassociateResolverRuleResponse {
|
351 | |
352 |
|
353 |
|
354 | ResolverRuleAssociation?: ResolverRuleAssociation;
|
355 | }
|
356 | export type DomainName = string;
|
357 | export interface Filter {
|
358 | |
359 |
|
360 |
|
361 | Name?: FilterName;
|
362 | |
363 |
|
364 |
|
365 | Values?: FilterValues;
|
366 | }
|
367 | export type FilterName = string;
|
368 | export type FilterValue = string;
|
369 | export type FilterValues = FilterValue[];
|
370 | export type Filters = Filter[];
|
371 | export interface GetResolverEndpointRequest {
|
372 | |
373 |
|
374 |
|
375 | ResolverEndpointId: ResourceId;
|
376 | }
|
377 | export interface GetResolverEndpointResponse {
|
378 | |
379 |
|
380 |
|
381 | ResolverEndpoint?: ResolverEndpoint;
|
382 | }
|
383 | export interface GetResolverRuleAssociationRequest {
|
384 | |
385 |
|
386 |
|
387 | ResolverRuleAssociationId: ResourceId;
|
388 | }
|
389 | export interface GetResolverRuleAssociationResponse {
|
390 | |
391 |
|
392 |
|
393 | ResolverRuleAssociation?: ResolverRuleAssociation;
|
394 | }
|
395 | export interface GetResolverRulePolicyRequest {
|
396 | |
397 |
|
398 |
|
399 | Arn: Arn;
|
400 | }
|
401 | export interface GetResolverRulePolicyResponse {
|
402 | |
403 |
|
404 |
|
405 | ResolverRulePolicy?: ResolverRulePolicy;
|
406 | }
|
407 | export interface GetResolverRuleRequest {
|
408 | |
409 |
|
410 |
|
411 | ResolverRuleId: ResourceId;
|
412 | }
|
413 | export interface GetResolverRuleResponse {
|
414 | |
415 |
|
416 |
|
417 | ResolverRule?: ResolverRule;
|
418 | }
|
419 | export type Ip = string;
|
420 | export type IpAddressCount = number;
|
421 | export interface IpAddressRequest {
|
422 | |
423 |
|
424 |
|
425 | SubnetId: SubnetId;
|
426 | |
427 |
|
428 |
|
429 | Ip?: Ip;
|
430 | }
|
431 | export interface IpAddressResponse {
|
432 | |
433 |
|
434 |
|
435 | IpId?: ResourceId;
|
436 | |
437 |
|
438 |
|
439 | SubnetId?: SubnetId;
|
440 | |
441 |
|
442 |
|
443 | Ip?: Ip;
|
444 | |
445 |
|
446 |
|
447 | Status?: IpAddressStatus;
|
448 | |
449 |
|
450 |
|
451 | StatusMessage?: StatusMessage;
|
452 | |
453 |
|
454 |
|
455 | CreationTime?: Rfc3339TimeString;
|
456 | |
457 |
|
458 |
|
459 | ModificationTime?: Rfc3339TimeString;
|
460 | }
|
461 | export type IpAddressStatus = "CREATING"|"FAILED_CREATION"|"ATTACHING"|"ATTACHED"|"REMAP_DETACHING"|"REMAP_ATTACHING"|"DETACHING"|"FAILED_RESOURCE_GONE"|"DELETING"|"DELETE_FAILED_FAS_EXPIRED"|string;
|
462 | export interface IpAddressUpdate {
|
463 | |
464 |
|
465 |
|
466 | IpId?: ResourceId;
|
467 | |
468 |
|
469 |
|
470 | SubnetId?: SubnetId;
|
471 | |
472 |
|
473 |
|
474 | Ip?: Ip;
|
475 | }
|
476 | export type IpAddressesRequest = IpAddressRequest[];
|
477 | export type IpAddressesResponse = IpAddressResponse[];
|
478 | export interface ListResolverEndpointIpAddressesRequest {
|
479 | |
480 |
|
481 |
|
482 | ResolverEndpointId: ResourceId;
|
483 | |
484 |
|
485 |
|
486 | MaxResults?: MaxResults;
|
487 | |
488 |
|
489 |
|
490 | NextToken?: NextToken;
|
491 | }
|
492 | export interface ListResolverEndpointIpAddressesResponse {
|
493 | |
494 |
|
495 |
|
496 | NextToken?: NextToken;
|
497 | |
498 |
|
499 |
|
500 | MaxResults?: MaxResults;
|
501 | |
502 |
|
503 |
|
504 | IpAddresses?: IpAddressesResponse;
|
505 | }
|
506 | export interface ListResolverEndpointsRequest {
|
507 | |
508 |
|
509 |
|
510 | MaxResults?: MaxResults;
|
511 | |
512 |
|
513 |
|
514 | NextToken?: NextToken;
|
515 | |
516 |
|
517 |
|
518 | Filters?: Filters;
|
519 | }
|
520 | export interface ListResolverEndpointsResponse {
|
521 | |
522 |
|
523 |
|
524 | NextToken?: NextToken;
|
525 | |
526 |
|
527 |
|
528 | MaxResults?: MaxResults;
|
529 | |
530 |
|
531 |
|
532 | ResolverEndpoints?: ResolverEndpoints;
|
533 | }
|
534 | export interface ListResolverRuleAssociationsRequest {
|
535 | |
536 |
|
537 |
|
538 | MaxResults?: MaxResults;
|
539 | |
540 |
|
541 |
|
542 | NextToken?: NextToken;
|
543 | |
544 |
|
545 |
|
546 | Filters?: Filters;
|
547 | }
|
548 | export interface ListResolverRuleAssociationsResponse {
|
549 | |
550 |
|
551 |
|
552 | NextToken?: NextToken;
|
553 | |
554 |
|
555 |
|
556 | MaxResults?: MaxResults;
|
557 | |
558 |
|
559 |
|
560 | ResolverRuleAssociations?: ResolverRuleAssociations;
|
561 | }
|
562 | export interface ListResolverRulesRequest {
|
563 | |
564 |
|
565 |
|
566 | MaxResults?: MaxResults;
|
567 | |
568 |
|
569 |
|
570 | NextToken?: NextToken;
|
571 | |
572 |
|
573 |
|
574 | Filters?: Filters;
|
575 | }
|
576 | export interface ListResolverRulesResponse {
|
577 | |
578 |
|
579 |
|
580 | NextToken?: NextToken;
|
581 | |
582 |
|
583 |
|
584 | MaxResults?: MaxResults;
|
585 | |
586 |
|
587 |
|
588 | ResolverRules?: ResolverRules;
|
589 | }
|
590 | export interface ListTagsForResourceRequest {
|
591 | |
592 |
|
593 |
|
594 | ResourceArn: Arn;
|
595 | |
596 |
|
597 |
|
598 | MaxResults?: MaxResults;
|
599 | |
600 |
|
601 |
|
602 | NextToken?: NextToken;
|
603 | }
|
604 | export interface ListTagsForResourceResponse {
|
605 | |
606 |
|
607 |
|
608 | Tags?: TagList;
|
609 | |
610 |
|
611 |
|
612 | NextToken?: NextToken;
|
613 | }
|
614 | export type MaxResults = number;
|
615 | export type Name = string;
|
616 | export type NextToken = string;
|
617 | export type Port = number;
|
618 | export interface PutResolverRulePolicyRequest {
|
619 | |
620 |
|
621 |
|
622 | Arn: Arn;
|
623 | |
624 |
|
625 |
|
626 | ResolverRulePolicy: ResolverRulePolicy;
|
627 | }
|
628 | export interface PutResolverRulePolicyResponse {
|
629 | |
630 |
|
631 |
|
632 | ReturnValue?: Boolean;
|
633 | }
|
634 | export interface ResolverEndpoint {
|
635 | |
636 |
|
637 |
|
638 | Id?: ResourceId;
|
639 | |
640 |
|
641 |
|
642 | CreatorRequestId?: CreatorRequestId;
|
643 | |
644 |
|
645 |
|
646 | Arn?: Arn;
|
647 | |
648 |
|
649 |
|
650 | Name?: Name;
|
651 | |
652 |
|
653 |
|
654 | SecurityGroupIds?: SecurityGroupIds;
|
655 | |
656 |
|
657 |
|
658 | Direction?: ResolverEndpointDirection;
|
659 | |
660 |
|
661 |
|
662 | IpAddressCount?: IpAddressCount;
|
663 | |
664 |
|
665 |
|
666 | HostVPCId?: ResourceId;
|
667 | |
668 |
|
669 |
|
670 | Status?: ResolverEndpointStatus;
|
671 | |
672 |
|
673 |
|
674 | StatusMessage?: StatusMessage;
|
675 | |
676 |
|
677 |
|
678 | CreationTime?: Rfc3339TimeString;
|
679 | |
680 |
|
681 |
|
682 | ModificationTime?: Rfc3339TimeString;
|
683 | }
|
684 | export type ResolverEndpointDirection = "INBOUND"|"OUTBOUND"|string;
|
685 | export type ResolverEndpointStatus = "CREATING"|"OPERATIONAL"|"UPDATING"|"AUTO_RECOVERING"|"ACTION_NEEDED"|"DELETING"|string;
|
686 | export type ResolverEndpoints = ResolverEndpoint[];
|
687 | export interface ResolverRule {
|
688 | |
689 |
|
690 |
|
691 | Id?: ResourceId;
|
692 | |
693 |
|
694 |
|
695 | CreatorRequestId?: CreatorRequestId;
|
696 | |
697 |
|
698 |
|
699 | Arn?: Arn;
|
700 | |
701 |
|
702 |
|
703 | DomainName?: DomainName;
|
704 | |
705 |
|
706 |
|
707 | Status?: ResolverRuleStatus;
|
708 | |
709 |
|
710 |
|
711 | StatusMessage?: StatusMessage;
|
712 | |
713 |
|
714 |
|
715 | RuleType?: RuleTypeOption;
|
716 | |
717 |
|
718 |
|
719 | Name?: Name;
|
720 | |
721 |
|
722 |
|
723 | TargetIps?: TargetList;
|
724 | |
725 |
|
726 |
|
727 | ResolverEndpointId?: ResourceId;
|
728 | |
729 |
|
730 |
|
731 | OwnerId?: AccountId;
|
732 | |
733 |
|
734 |
|
735 | ShareStatus?: ShareStatus;
|
736 | }
|
737 | export interface ResolverRuleAssociation {
|
738 | |
739 |
|
740 |
|
741 | Id?: ResourceId;
|
742 | |
743 |
|
744 |
|
745 | ResolverRuleId?: ResourceId;
|
746 | |
747 |
|
748 |
|
749 | Name?: Name;
|
750 | |
751 |
|
752 |
|
753 | VPCId?: ResourceId;
|
754 | |
755 |
|
756 |
|
757 | Status?: ResolverRuleAssociationStatus;
|
758 | |
759 |
|
760 |
|
761 | StatusMessage?: StatusMessage;
|
762 | }
|
763 | export type ResolverRuleAssociationStatus = "CREATING"|"COMPLETE"|"DELETING"|"FAILED"|"OVERRIDDEN"|string;
|
764 | export type ResolverRuleAssociations = ResolverRuleAssociation[];
|
765 | export interface ResolverRuleConfig {
|
766 | |
767 |
|
768 |
|
769 | Name?: Name;
|
770 | |
771 |
|
772 |
|
773 | TargetIps?: TargetList;
|
774 | |
775 |
|
776 |
|
777 | ResolverEndpointId?: ResourceId;
|
778 | }
|
779 | export type ResolverRulePolicy = string;
|
780 | export type ResolverRuleStatus = "COMPLETE"|"DELETING"|"UPDATING"|"FAILED"|string;
|
781 | export type ResolverRules = ResolverRule[];
|
782 | export type ResourceId = string;
|
783 | export type Rfc3339TimeString = string;
|
784 | export type RuleTypeOption = "FORWARD"|"SYSTEM"|"RECURSIVE"|string;
|
785 | export type SecurityGroupIds = ResourceId[];
|
786 | export type ShareStatus = "NOT_SHARED"|"SHARED_WITH_ME"|"SHARED_BY_ME"|string;
|
787 | export type StatusMessage = string;
|
788 | export type SubnetId = string;
|
789 | export interface Tag {
|
790 | |
791 |
|
792 |
|
793 | Key?: TagKey;
|
794 | |
795 |
|
796 |
|
797 | Value?: TagValue;
|
798 | }
|
799 | export type TagKey = string;
|
800 | export type TagKeyList = TagKey[];
|
801 | export type TagList = Tag[];
|
802 | export interface TagResourceRequest {
|
803 | |
804 |
|
805 |
|
806 | ResourceArn: Arn;
|
807 | |
808 |
|
809 |
|
810 | Tags: TagList;
|
811 | }
|
812 | export interface TagResourceResponse {
|
813 | }
|
814 | export type TagValue = string;
|
815 | export interface TargetAddress {
|
816 | |
817 |
|
818 |
|
819 | Ip: Ip;
|
820 | |
821 |
|
822 |
|
823 | Port?: Port;
|
824 | }
|
825 | export type TargetList = TargetAddress[];
|
826 | export interface UntagResourceRequest {
|
827 | |
828 |
|
829 |
|
830 | ResourceArn: Arn;
|
831 | |
832 |
|
833 |
|
834 | TagKeys: TagKeyList;
|
835 | }
|
836 | export interface UntagResourceResponse {
|
837 | }
|
838 | export interface UpdateResolverEndpointRequest {
|
839 | |
840 |
|
841 |
|
842 | ResolverEndpointId: ResourceId;
|
843 | |
844 |
|
845 |
|
846 | Name?: Name;
|
847 | }
|
848 | export interface UpdateResolverEndpointResponse {
|
849 | |
850 |
|
851 |
|
852 | ResolverEndpoint?: ResolverEndpoint;
|
853 | }
|
854 | export interface UpdateResolverRuleRequest {
|
855 | |
856 |
|
857 |
|
858 | ResolverRuleId: ResourceId;
|
859 | |
860 |
|
861 |
|
862 | Config: ResolverRuleConfig;
|
863 | }
|
864 | export interface UpdateResolverRuleResponse {
|
865 | |
866 |
|
867 |
|
868 | ResolverRule?: ResolverRule;
|
869 | }
|
870 | |
871 |
|
872 |
|
873 | export type apiVersion = "2018-04-01"|"latest"|string;
|
874 | export interface ClientApiVersions {
|
875 | |
876 |
|
877 |
|
878 | apiVersion?: apiVersion;
|
879 | }
|
880 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
881 | |
882 |
|
883 |
|
884 | export import Types = Route53Resolver;
|
885 | }
|
886 | export = Route53Resolver;
|