route53resolver.d.ts 180 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791
  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-base';
  7. interface Blob {}
  8. declare class Route53Resolver extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: Route53Resolver.Types.ClientConfiguration)
  13. config: Config & Route53Resolver.Types.ClientConfiguration;
  14. /**
  15. * Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the VPC.
  16. */
  17. associateFirewallRuleGroup(params: Route53Resolver.Types.AssociateFirewallRuleGroupRequest, callback?: (err: AWSError, data: Route53Resolver.Types.AssociateFirewallRuleGroupResponse) => void): Request<Route53Resolver.Types.AssociateFirewallRuleGroupResponse, AWSError>;
  18. /**
  19. * Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the VPC.
  20. */
  21. associateFirewallRuleGroup(callback?: (err: AWSError, data: Route53Resolver.Types.AssociateFirewallRuleGroupResponse) => void): Request<Route53Resolver.Types.AssociateFirewallRuleGroupResponse, AWSError>;
  22. /**
  23. * Adds IP addresses to an inbound or an outbound Resolver endpoint. If you want to add more than one IP address, submit one AssociateResolverEndpointIpAddress request for each IP address. To remove an IP address from an endpoint, see DisassociateResolverEndpointIpAddress.
  24. */
  25. associateResolverEndpointIpAddress(params: Route53Resolver.Types.AssociateResolverEndpointIpAddressRequest, callback?: (err: AWSError, data: Route53Resolver.Types.AssociateResolverEndpointIpAddressResponse) => void): Request<Route53Resolver.Types.AssociateResolverEndpointIpAddressResponse, AWSError>;
  26. /**
  27. * Adds IP addresses to an inbound or an outbound Resolver endpoint. If you want to add more than one IP address, submit one AssociateResolverEndpointIpAddress request for each IP address. To remove an IP address from an endpoint, see DisassociateResolverEndpointIpAddress.
  28. */
  29. associateResolverEndpointIpAddress(callback?: (err: AWSError, data: Route53Resolver.Types.AssociateResolverEndpointIpAddressResponse) => void): Request<Route53Resolver.Types.AssociateResolverEndpointIpAddressResponse, AWSError>;
  30. /**
  31. * Associates an Amazon VPC with a specified query logging configuration. Route 53 Resolver logs DNS queries that originate in all of the Amazon VPCs that are associated with a specified query logging configuration. To associate more than one VPC with a configuration, submit one AssociateResolverQueryLogConfig request for each VPC. The VPCs that you associate with a query logging configuration must be in the same Region as the configuration. To remove a VPC from a query logging configuration, see DisassociateResolverQueryLogConfig.
  32. */
  33. associateResolverQueryLogConfig(params: Route53Resolver.Types.AssociateResolverQueryLogConfigRequest, callback?: (err: AWSError, data: Route53Resolver.Types.AssociateResolverQueryLogConfigResponse) => void): Request<Route53Resolver.Types.AssociateResolverQueryLogConfigResponse, AWSError>;
  34. /**
  35. * Associates an Amazon VPC with a specified query logging configuration. Route 53 Resolver logs DNS queries that originate in all of the Amazon VPCs that are associated with a specified query logging configuration. To associate more than one VPC with a configuration, submit one AssociateResolverQueryLogConfig request for each VPC. The VPCs that you associate with a query logging configuration must be in the same Region as the configuration. To remove a VPC from a query logging configuration, see DisassociateResolverQueryLogConfig.
  36. */
  37. associateResolverQueryLogConfig(callback?: (err: AWSError, data: Route53Resolver.Types.AssociateResolverQueryLogConfigResponse) => void): Request<Route53Resolver.Types.AssociateResolverQueryLogConfigResponse, AWSError>;
  38. /**
  39. * 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.
  40. */
  41. associateResolverRule(params: Route53Resolver.Types.AssociateResolverRuleRequest, callback?: (err: AWSError, data: Route53Resolver.Types.AssociateResolverRuleResponse) => void): Request<Route53Resolver.Types.AssociateResolverRuleResponse, AWSError>;
  42. /**
  43. * 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.
  44. */
  45. associateResolverRule(callback?: (err: AWSError, data: Route53Resolver.Types.AssociateResolverRuleResponse) => void): Request<Route53Resolver.Types.AssociateResolverRuleResponse, AWSError>;
  46. /**
  47. * Creates an empty firewall domain list for use in DNS Firewall rules. You can populate the domains for the new list with a file, using ImportFirewallDomains, or with domain strings, using UpdateFirewallDomains.
  48. */
  49. createFirewallDomainList(params: Route53Resolver.Types.CreateFirewallDomainListRequest, callback?: (err: AWSError, data: Route53Resolver.Types.CreateFirewallDomainListResponse) => void): Request<Route53Resolver.Types.CreateFirewallDomainListResponse, AWSError>;
  50. /**
  51. * Creates an empty firewall domain list for use in DNS Firewall rules. You can populate the domains for the new list with a file, using ImportFirewallDomains, or with domain strings, using UpdateFirewallDomains.
  52. */
  53. createFirewallDomainList(callback?: (err: AWSError, data: Route53Resolver.Types.CreateFirewallDomainListResponse) => void): Request<Route53Resolver.Types.CreateFirewallDomainListResponse, AWSError>;
  54. /**
  55. * Creates a single DNS Firewall rule in the specified rule group, using the specified domain list.
  56. */
  57. createFirewallRule(params: Route53Resolver.Types.CreateFirewallRuleRequest, callback?: (err: AWSError, data: Route53Resolver.Types.CreateFirewallRuleResponse) => void): Request<Route53Resolver.Types.CreateFirewallRuleResponse, AWSError>;
  58. /**
  59. * Creates a single DNS Firewall rule in the specified rule group, using the specified domain list.
  60. */
  61. createFirewallRule(callback?: (err: AWSError, data: Route53Resolver.Types.CreateFirewallRuleResponse) => void): Request<Route53Resolver.Types.CreateFirewallRuleResponse, AWSError>;
  62. /**
  63. * Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC. You can add rules to the new rule group by calling CreateFirewallRule.
  64. */
  65. createFirewallRuleGroup(params: Route53Resolver.Types.CreateFirewallRuleGroupRequest, callback?: (err: AWSError, data: Route53Resolver.Types.CreateFirewallRuleGroupResponse) => void): Request<Route53Resolver.Types.CreateFirewallRuleGroupResponse, AWSError>;
  66. /**
  67. * Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC. You can add rules to the new rule group by calling CreateFirewallRule.
  68. */
  69. createFirewallRuleGroup(callback?: (err: AWSError, data: Route53Resolver.Types.CreateFirewallRuleGroupResponse) => void): Request<Route53Resolver.Types.CreateFirewallRuleGroupResponse, AWSError>;
  70. /**
  71. * Creates a Route 53 Resolver on an Outpost.
  72. */
  73. createOutpostResolver(params: Route53Resolver.Types.CreateOutpostResolverRequest, callback?: (err: AWSError, data: Route53Resolver.Types.CreateOutpostResolverResponse) => void): Request<Route53Resolver.Types.CreateOutpostResolverResponse, AWSError>;
  74. /**
  75. * Creates a Route 53 Resolver on an Outpost.
  76. */
  77. createOutpostResolver(callback?: (err: AWSError, data: Route53Resolver.Types.CreateOutpostResolverResponse) => void): Request<Route53Resolver.Types.CreateOutpostResolverResponse, AWSError>;
  78. /**
  79. * 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. An outbound Resolver endpoint forwards DNS queries from the DNS service for a VPC to your network.
  80. */
  81. createResolverEndpoint(params: Route53Resolver.Types.CreateResolverEndpointRequest, callback?: (err: AWSError, data: Route53Resolver.Types.CreateResolverEndpointResponse) => void): Request<Route53Resolver.Types.CreateResolverEndpointResponse, AWSError>;
  82. /**
  83. * 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. An outbound Resolver endpoint forwards DNS queries from the DNS service for a VPC to your network.
  84. */
  85. createResolverEndpoint(callback?: (err: AWSError, data: Route53Resolver.Types.CreateResolverEndpointResponse) => void): Request<Route53Resolver.Types.CreateResolverEndpointResponse, AWSError>;
  86. /**
  87. * Creates a Resolver query logging configuration, which defines where you want Resolver to save DNS query logs that originate in your VPCs. Resolver can log queries only for VPCs that are in the same Region as the query logging configuration. To specify which VPCs you want to log queries for, you use AssociateResolverQueryLogConfig. For more information, see AssociateResolverQueryLogConfig. You can optionally use Resource Access Manager (RAM) to share a query logging configuration with other Amazon Web Services accounts. The other accounts can then associate VPCs with the configuration. The query logs that Resolver creates for a configuration include all DNS queries that originate in all VPCs that are associated with the configuration.
  88. */
  89. createResolverQueryLogConfig(params: Route53Resolver.Types.CreateResolverQueryLogConfigRequest, callback?: (err: AWSError, data: Route53Resolver.Types.CreateResolverQueryLogConfigResponse) => void): Request<Route53Resolver.Types.CreateResolverQueryLogConfigResponse, AWSError>;
  90. /**
  91. * Creates a Resolver query logging configuration, which defines where you want Resolver to save DNS query logs that originate in your VPCs. Resolver can log queries only for VPCs that are in the same Region as the query logging configuration. To specify which VPCs you want to log queries for, you use AssociateResolverQueryLogConfig. For more information, see AssociateResolverQueryLogConfig. You can optionally use Resource Access Manager (RAM) to share a query logging configuration with other Amazon Web Services accounts. The other accounts can then associate VPCs with the configuration. The query logs that Resolver creates for a configuration include all DNS queries that originate in all VPCs that are associated with the configuration.
  92. */
  93. createResolverQueryLogConfig(callback?: (err: AWSError, data: Route53Resolver.Types.CreateResolverQueryLogConfigResponse) => void): Request<Route53Resolver.Types.CreateResolverQueryLogConfigResponse, AWSError>;
  94. /**
  95. * 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.
  96. */
  97. createResolverRule(params: Route53Resolver.Types.CreateResolverRuleRequest, callback?: (err: AWSError, data: Route53Resolver.Types.CreateResolverRuleResponse) => void): Request<Route53Resolver.Types.CreateResolverRuleResponse, AWSError>;
  98. /**
  99. * 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.
  100. */
  101. createResolverRule(callback?: (err: AWSError, data: Route53Resolver.Types.CreateResolverRuleResponse) => void): Request<Route53Resolver.Types.CreateResolverRuleResponse, AWSError>;
  102. /**
  103. * Deletes the specified domain list.
  104. */
  105. deleteFirewallDomainList(params: Route53Resolver.Types.DeleteFirewallDomainListRequest, callback?: (err: AWSError, data: Route53Resolver.Types.DeleteFirewallDomainListResponse) => void): Request<Route53Resolver.Types.DeleteFirewallDomainListResponse, AWSError>;
  106. /**
  107. * Deletes the specified domain list.
  108. */
  109. deleteFirewallDomainList(callback?: (err: AWSError, data: Route53Resolver.Types.DeleteFirewallDomainListResponse) => void): Request<Route53Resolver.Types.DeleteFirewallDomainListResponse, AWSError>;
  110. /**
  111. * Deletes the specified firewall rule.
  112. */
  113. deleteFirewallRule(params: Route53Resolver.Types.DeleteFirewallRuleRequest, callback?: (err: AWSError, data: Route53Resolver.Types.DeleteFirewallRuleResponse) => void): Request<Route53Resolver.Types.DeleteFirewallRuleResponse, AWSError>;
  114. /**
  115. * Deletes the specified firewall rule.
  116. */
  117. deleteFirewallRule(callback?: (err: AWSError, data: Route53Resolver.Types.DeleteFirewallRuleResponse) => void): Request<Route53Resolver.Types.DeleteFirewallRuleResponse, AWSError>;
  118. /**
  119. * Deletes the specified firewall rule group.
  120. */
  121. deleteFirewallRuleGroup(params: Route53Resolver.Types.DeleteFirewallRuleGroupRequest, callback?: (err: AWSError, data: Route53Resolver.Types.DeleteFirewallRuleGroupResponse) => void): Request<Route53Resolver.Types.DeleteFirewallRuleGroupResponse, AWSError>;
  122. /**
  123. * Deletes the specified firewall rule group.
  124. */
  125. deleteFirewallRuleGroup(callback?: (err: AWSError, data: Route53Resolver.Types.DeleteFirewallRuleGroupResponse) => void): Request<Route53Resolver.Types.DeleteFirewallRuleGroupResponse, AWSError>;
  126. /**
  127. * Deletes a Resolver on the Outpost.
  128. */
  129. deleteOutpostResolver(params: Route53Resolver.Types.DeleteOutpostResolverRequest, callback?: (err: AWSError, data: Route53Resolver.Types.DeleteOutpostResolverResponse) => void): Request<Route53Resolver.Types.DeleteOutpostResolverResponse, AWSError>;
  130. /**
  131. * Deletes a Resolver on the Outpost.
  132. */
  133. deleteOutpostResolver(callback?: (err: AWSError, data: Route53Resolver.Types.DeleteOutpostResolverResponse) => void): Request<Route53Resolver.Types.DeleteOutpostResolverResponse, AWSError>;
  134. /**
  135. * 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 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.
  136. */
  137. deleteResolverEndpoint(params: Route53Resolver.Types.DeleteResolverEndpointRequest, callback?: (err: AWSError, data: Route53Resolver.Types.DeleteResolverEndpointResponse) => void): Request<Route53Resolver.Types.DeleteResolverEndpointResponse, AWSError>;
  138. /**
  139. * 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 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.
  140. */
  141. deleteResolverEndpoint(callback?: (err: AWSError, data: Route53Resolver.Types.DeleteResolverEndpointResponse) => void): Request<Route53Resolver.Types.DeleteResolverEndpointResponse, AWSError>;
  142. /**
  143. * Deletes a query logging configuration. When you delete a configuration, Resolver stops logging DNS queries for all of the Amazon VPCs that are associated with the configuration. This also applies if the query logging configuration is shared with other Amazon Web Services accounts, and the other accounts have associated VPCs with the shared configuration. Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. See DisassociateResolverQueryLogConfig. If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, you must stop sharing the configuration before you can delete a configuration. The accounts that you shared the configuration with can first disassociate VPCs that they associated with the configuration, but that's not necessary. If you stop sharing the configuration, those VPCs are automatically disassociated from the configuration.
  144. */
  145. deleteResolverQueryLogConfig(params: Route53Resolver.Types.DeleteResolverQueryLogConfigRequest, callback?: (err: AWSError, data: Route53Resolver.Types.DeleteResolverQueryLogConfigResponse) => void): Request<Route53Resolver.Types.DeleteResolverQueryLogConfigResponse, AWSError>;
  146. /**
  147. * Deletes a query logging configuration. When you delete a configuration, Resolver stops logging DNS queries for all of the Amazon VPCs that are associated with the configuration. This also applies if the query logging configuration is shared with other Amazon Web Services accounts, and the other accounts have associated VPCs with the shared configuration. Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. See DisassociateResolverQueryLogConfig. If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, you must stop sharing the configuration before you can delete a configuration. The accounts that you shared the configuration with can first disassociate VPCs that they associated with the configuration, but that's not necessary. If you stop sharing the configuration, those VPCs are automatically disassociated from the configuration.
  148. */
  149. deleteResolverQueryLogConfig(callback?: (err: AWSError, data: Route53Resolver.Types.DeleteResolverQueryLogConfigResponse) => void): Request<Route53Resolver.Types.DeleteResolverQueryLogConfigResponse, AWSError>;
  150. /**
  151. * 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 information, see DisassociateResolverRule.
  152. */
  153. deleteResolverRule(params: Route53Resolver.Types.DeleteResolverRuleRequest, callback?: (err: AWSError, data: Route53Resolver.Types.DeleteResolverRuleResponse) => void): Request<Route53Resolver.Types.DeleteResolverRuleResponse, AWSError>;
  154. /**
  155. * 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 information, see DisassociateResolverRule.
  156. */
  157. deleteResolverRule(callback?: (err: AWSError, data: Route53Resolver.Types.DeleteResolverRuleResponse) => void): Request<Route53Resolver.Types.DeleteResolverRuleResponse, AWSError>;
  158. /**
  159. * Disassociates a FirewallRuleGroup from a VPC, to remove DNS filtering from the VPC.
  160. */
  161. disassociateFirewallRuleGroup(params: Route53Resolver.Types.DisassociateFirewallRuleGroupRequest, callback?: (err: AWSError, data: Route53Resolver.Types.DisassociateFirewallRuleGroupResponse) => void): Request<Route53Resolver.Types.DisassociateFirewallRuleGroupResponse, AWSError>;
  162. /**
  163. * Disassociates a FirewallRuleGroup from a VPC, to remove DNS filtering from the VPC.
  164. */
  165. disassociateFirewallRuleGroup(callback?: (err: AWSError, data: Route53Resolver.Types.DisassociateFirewallRuleGroupResponse) => void): Request<Route53Resolver.Types.DisassociateFirewallRuleGroupResponse, AWSError>;
  166. /**
  167. * 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.
  168. */
  169. disassociateResolverEndpointIpAddress(params: Route53Resolver.Types.DisassociateResolverEndpointIpAddressRequest, callback?: (err: AWSError, data: Route53Resolver.Types.DisassociateResolverEndpointIpAddressResponse) => void): Request<Route53Resolver.Types.DisassociateResolverEndpointIpAddressResponse, AWSError>;
  170. /**
  171. * 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.
  172. */
  173. disassociateResolverEndpointIpAddress(callback?: (err: AWSError, data: Route53Resolver.Types.DisassociateResolverEndpointIpAddressResponse) => void): Request<Route53Resolver.Types.DisassociateResolverEndpointIpAddressResponse, AWSError>;
  174. /**
  175. * Disassociates a VPC from a query logging configuration. Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, VPCs can be disassociated from the configuration in the following ways: The accounts that you shared the configuration with can disassociate VPCs from the configuration. You can stop sharing the configuration.
  176. */
  177. disassociateResolverQueryLogConfig(params: Route53Resolver.Types.DisassociateResolverQueryLogConfigRequest, callback?: (err: AWSError, data: Route53Resolver.Types.DisassociateResolverQueryLogConfigResponse) => void): Request<Route53Resolver.Types.DisassociateResolverQueryLogConfigResponse, AWSError>;
  178. /**
  179. * Disassociates a VPC from a query logging configuration. Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, VPCs can be disassociated from the configuration in the following ways: The accounts that you shared the configuration with can disassociate VPCs from the configuration. You can stop sharing the configuration.
  180. */
  181. disassociateResolverQueryLogConfig(callback?: (err: AWSError, data: Route53Resolver.Types.DisassociateResolverQueryLogConfigResponse) => void): Request<Route53Resolver.Types.DisassociateResolverQueryLogConfigResponse, AWSError>;
  182. /**
  183. * 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.
  184. */
  185. disassociateResolverRule(params: Route53Resolver.Types.DisassociateResolverRuleRequest, callback?: (err: AWSError, data: Route53Resolver.Types.DisassociateResolverRuleResponse) => void): Request<Route53Resolver.Types.DisassociateResolverRuleResponse, AWSError>;
  186. /**
  187. * 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.
  188. */
  189. disassociateResolverRule(callback?: (err: AWSError, data: Route53Resolver.Types.DisassociateResolverRuleResponse) => void): Request<Route53Resolver.Types.DisassociateResolverRuleResponse, AWSError>;
  190. /**
  191. * Retrieves the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).
  192. */
  193. getFirewallConfig(params: Route53Resolver.Types.GetFirewallConfigRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetFirewallConfigResponse) => void): Request<Route53Resolver.Types.GetFirewallConfigResponse, AWSError>;
  194. /**
  195. * Retrieves the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).
  196. */
  197. getFirewallConfig(callback?: (err: AWSError, data: Route53Resolver.Types.GetFirewallConfigResponse) => void): Request<Route53Resolver.Types.GetFirewallConfigResponse, AWSError>;
  198. /**
  199. * Retrieves the specified firewall domain list.
  200. */
  201. getFirewallDomainList(params: Route53Resolver.Types.GetFirewallDomainListRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetFirewallDomainListResponse) => void): Request<Route53Resolver.Types.GetFirewallDomainListResponse, AWSError>;
  202. /**
  203. * Retrieves the specified firewall domain list.
  204. */
  205. getFirewallDomainList(callback?: (err: AWSError, data: Route53Resolver.Types.GetFirewallDomainListResponse) => void): Request<Route53Resolver.Types.GetFirewallDomainListResponse, AWSError>;
  206. /**
  207. * Retrieves the specified firewall rule group.
  208. */
  209. getFirewallRuleGroup(params: Route53Resolver.Types.GetFirewallRuleGroupRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetFirewallRuleGroupResponse) => void): Request<Route53Resolver.Types.GetFirewallRuleGroupResponse, AWSError>;
  210. /**
  211. * Retrieves the specified firewall rule group.
  212. */
  213. getFirewallRuleGroup(callback?: (err: AWSError, data: Route53Resolver.Types.GetFirewallRuleGroupResponse) => void): Request<Route53Resolver.Types.GetFirewallRuleGroupResponse, AWSError>;
  214. /**
  215. * Retrieves a firewall rule group association, which enables DNS filtering for a VPC with one rule group. A VPC can have more than one firewall rule group association, and a rule group can be associated with more than one VPC.
  216. */
  217. getFirewallRuleGroupAssociation(params: Route53Resolver.Types.GetFirewallRuleGroupAssociationRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetFirewallRuleGroupAssociationResponse) => void): Request<Route53Resolver.Types.GetFirewallRuleGroupAssociationResponse, AWSError>;
  218. /**
  219. * Retrieves a firewall rule group association, which enables DNS filtering for a VPC with one rule group. A VPC can have more than one firewall rule group association, and a rule group can be associated with more than one VPC.
  220. */
  221. getFirewallRuleGroupAssociation(callback?: (err: AWSError, data: Route53Resolver.Types.GetFirewallRuleGroupAssociationResponse) => void): Request<Route53Resolver.Types.GetFirewallRuleGroupAssociationResponse, AWSError>;
  222. /**
  223. * Returns the Identity and Access Management (Amazon Web Services IAM) policy for sharing the specified rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).
  224. */
  225. getFirewallRuleGroupPolicy(params: Route53Resolver.Types.GetFirewallRuleGroupPolicyRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetFirewallRuleGroupPolicyResponse) => void): Request<Route53Resolver.Types.GetFirewallRuleGroupPolicyResponse, AWSError>;
  226. /**
  227. * Returns the Identity and Access Management (Amazon Web Services IAM) policy for sharing the specified rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).
  228. */
  229. getFirewallRuleGroupPolicy(callback?: (err: AWSError, data: Route53Resolver.Types.GetFirewallRuleGroupPolicyResponse) => void): Request<Route53Resolver.Types.GetFirewallRuleGroupPolicyResponse, AWSError>;
  230. /**
  231. * Gets information about a specified Resolver on the Outpost, such as its instance count and type, name, and the current status of the Resolver.
  232. */
  233. getOutpostResolver(params: Route53Resolver.Types.GetOutpostResolverRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetOutpostResolverResponse) => void): Request<Route53Resolver.Types.GetOutpostResolverResponse, AWSError>;
  234. /**
  235. * Gets information about a specified Resolver on the Outpost, such as its instance count and type, name, and the current status of the Resolver.
  236. */
  237. getOutpostResolver(callback?: (err: AWSError, data: Route53Resolver.Types.GetOutpostResolverResponse) => void): Request<Route53Resolver.Types.GetOutpostResolverResponse, AWSError>;
  238. /**
  239. * Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.
  240. */
  241. getResolverConfig(params: Route53Resolver.Types.GetResolverConfigRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverConfigResponse) => void): Request<Route53Resolver.Types.GetResolverConfigResponse, AWSError>;
  242. /**
  243. * Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.
  244. */
  245. getResolverConfig(callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverConfigResponse) => void): Request<Route53Resolver.Types.GetResolverConfigResponse, AWSError>;
  246. /**
  247. * Gets DNSSEC validation information for a specified resource.
  248. */
  249. getResolverDnssecConfig(params: Route53Resolver.Types.GetResolverDnssecConfigRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverDnssecConfigResponse) => void): Request<Route53Resolver.Types.GetResolverDnssecConfigResponse, AWSError>;
  250. /**
  251. * Gets DNSSEC validation information for a specified resource.
  252. */
  253. getResolverDnssecConfig(callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverDnssecConfigResponse) => void): Request<Route53Resolver.Types.GetResolverDnssecConfigResponse, AWSError>;
  254. /**
  255. * 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.
  256. */
  257. getResolverEndpoint(params: Route53Resolver.Types.GetResolverEndpointRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverEndpointResponse) => void): Request<Route53Resolver.Types.GetResolverEndpointResponse, AWSError>;
  258. /**
  259. * 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.
  260. */
  261. getResolverEndpoint(callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverEndpointResponse) => void): Request<Route53Resolver.Types.GetResolverEndpointResponse, AWSError>;
  262. /**
  263. * Gets information about a specified Resolver query logging configuration, such as the number of VPCs that the configuration is logging queries for and the location that logs are sent to.
  264. */
  265. getResolverQueryLogConfig(params: Route53Resolver.Types.GetResolverQueryLogConfigRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverQueryLogConfigResponse) => void): Request<Route53Resolver.Types.GetResolverQueryLogConfigResponse, AWSError>;
  266. /**
  267. * Gets information about a specified Resolver query logging configuration, such as the number of VPCs that the configuration is logging queries for and the location that logs are sent to.
  268. */
  269. getResolverQueryLogConfig(callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverQueryLogConfigResponse) => void): Request<Route53Resolver.Types.GetResolverQueryLogConfigResponse, AWSError>;
  270. /**
  271. * Gets information about a specified association between a Resolver query logging configuration and an Amazon VPC. When you associate a VPC with a query logging configuration, Resolver logs DNS queries that originate in that VPC.
  272. */
  273. getResolverQueryLogConfigAssociation(params: Route53Resolver.Types.GetResolverQueryLogConfigAssociationRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverQueryLogConfigAssociationResponse) => void): Request<Route53Resolver.Types.GetResolverQueryLogConfigAssociationResponse, AWSError>;
  274. /**
  275. * Gets information about a specified association between a Resolver query logging configuration and an Amazon VPC. When you associate a VPC with a query logging configuration, Resolver logs DNS queries that originate in that VPC.
  276. */
  277. getResolverQueryLogConfigAssociation(callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverQueryLogConfigAssociationResponse) => void): Request<Route53Resolver.Types.GetResolverQueryLogConfigAssociationResponse, AWSError>;
  278. /**
  279. * Gets information about a query logging policy. A query logging policy specifies the Resolver query logging operations and resources that you want to allow another Amazon Web Services account to be able to use.
  280. */
  281. getResolverQueryLogConfigPolicy(params: Route53Resolver.Types.GetResolverQueryLogConfigPolicyRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverQueryLogConfigPolicyResponse) => void): Request<Route53Resolver.Types.GetResolverQueryLogConfigPolicyResponse, AWSError>;
  282. /**
  283. * Gets information about a query logging policy. A query logging policy specifies the Resolver query logging operations and resources that you want to allow another Amazon Web Services account to be able to use.
  284. */
  285. getResolverQueryLogConfigPolicy(callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverQueryLogConfigPolicyResponse) => void): Request<Route53Resolver.Types.GetResolverQueryLogConfigPolicyResponse, AWSError>;
  286. /**
  287. * 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.
  288. */
  289. getResolverRule(params: Route53Resolver.Types.GetResolverRuleRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverRuleResponse) => void): Request<Route53Resolver.Types.GetResolverRuleResponse, AWSError>;
  290. /**
  291. * 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.
  292. */
  293. getResolverRule(callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverRuleResponse) => void): Request<Route53Resolver.Types.GetResolverRuleResponse, AWSError>;
  294. /**
  295. * Gets information about an association between a specified Resolver rule and a VPC. You associate a Resolver rule and a VPC using AssociateResolverRule.
  296. */
  297. getResolverRuleAssociation(params: Route53Resolver.Types.GetResolverRuleAssociationRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverRuleAssociationResponse) => void): Request<Route53Resolver.Types.GetResolverRuleAssociationResponse, AWSError>;
  298. /**
  299. * Gets information about an association between a specified Resolver rule and a VPC. You associate a Resolver rule and a VPC using AssociateResolverRule.
  300. */
  301. getResolverRuleAssociation(callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverRuleAssociationResponse) => void): Request<Route53Resolver.Types.GetResolverRuleAssociationResponse, AWSError>;
  302. /**
  303. * Gets information about the Resolver rule policy for a specified rule. A Resolver rule policy includes the rule that you want to share with another account, the account that you want to share the rule with, and the Resolver operations that you want to allow the account to use.
  304. */
  305. getResolverRulePolicy(params: Route53Resolver.Types.GetResolverRulePolicyRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverRulePolicyResponse) => void): Request<Route53Resolver.Types.GetResolverRulePolicyResponse, AWSError>;
  306. /**
  307. * Gets information about the Resolver rule policy for a specified rule. A Resolver rule policy includes the rule that you want to share with another account, the account that you want to share the rule with, and the Resolver operations that you want to allow the account to use.
  308. */
  309. getResolverRulePolicy(callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverRulePolicyResponse) => void): Request<Route53Resolver.Types.GetResolverRulePolicyResponse, AWSError>;
  310. /**
  311. * Imports domain names from a file into a domain list, for use in a DNS firewall rule group. Each domain specification in your domain list must satisfy the following requirements: It can optionally start with * (asterisk). With the exception of the optional starting asterisk, it must only contain the following characters: A-Z, a-z, 0-9, - (hyphen). It must be from 1-255 characters in length.
  312. */
  313. importFirewallDomains(params: Route53Resolver.Types.ImportFirewallDomainsRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ImportFirewallDomainsResponse) => void): Request<Route53Resolver.Types.ImportFirewallDomainsResponse, AWSError>;
  314. /**
  315. * Imports domain names from a file into a domain list, for use in a DNS firewall rule group. Each domain specification in your domain list must satisfy the following requirements: It can optionally start with * (asterisk). With the exception of the optional starting asterisk, it must only contain the following characters: A-Z, a-z, 0-9, - (hyphen). It must be from 1-255 characters in length.
  316. */
  317. importFirewallDomains(callback?: (err: AWSError, data: Route53Resolver.Types.ImportFirewallDomainsResponse) => void): Request<Route53Resolver.Types.ImportFirewallDomainsResponse, AWSError>;
  318. /**
  319. * Retrieves the firewall configurations that you have defined. DNS Firewall uses the configurations to manage firewall behavior for your VPCs. A single call might return only a partial list of the configurations. For information, see MaxResults.
  320. */
  321. listFirewallConfigs(params: Route53Resolver.Types.ListFirewallConfigsRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListFirewallConfigsResponse) => void): Request<Route53Resolver.Types.ListFirewallConfigsResponse, AWSError>;
  322. /**
  323. * Retrieves the firewall configurations that you have defined. DNS Firewall uses the configurations to manage firewall behavior for your VPCs. A single call might return only a partial list of the configurations. For information, see MaxResults.
  324. */
  325. listFirewallConfigs(callback?: (err: AWSError, data: Route53Resolver.Types.ListFirewallConfigsResponse) => void): Request<Route53Resolver.Types.ListFirewallConfigsResponse, AWSError>;
  326. /**
  327. * Retrieves the firewall domain lists that you have defined. For each firewall domain list, you can retrieve the domains that are defined for a list by calling ListFirewallDomains. A single call to this list operation might return only a partial list of the domain lists. For information, see MaxResults.
  328. */
  329. listFirewallDomainLists(params: Route53Resolver.Types.ListFirewallDomainListsRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListFirewallDomainListsResponse) => void): Request<Route53Resolver.Types.ListFirewallDomainListsResponse, AWSError>;
  330. /**
  331. * Retrieves the firewall domain lists that you have defined. For each firewall domain list, you can retrieve the domains that are defined for a list by calling ListFirewallDomains. A single call to this list operation might return only a partial list of the domain lists. For information, see MaxResults.
  332. */
  333. listFirewallDomainLists(callback?: (err: AWSError, data: Route53Resolver.Types.ListFirewallDomainListsResponse) => void): Request<Route53Resolver.Types.ListFirewallDomainListsResponse, AWSError>;
  334. /**
  335. * Retrieves the domains that you have defined for the specified firewall domain list. A single call might return only a partial list of the domains. For information, see MaxResults.
  336. */
  337. listFirewallDomains(params: Route53Resolver.Types.ListFirewallDomainsRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListFirewallDomainsResponse) => void): Request<Route53Resolver.Types.ListFirewallDomainsResponse, AWSError>;
  338. /**
  339. * Retrieves the domains that you have defined for the specified firewall domain list. A single call might return only a partial list of the domains. For information, see MaxResults.
  340. */
  341. listFirewallDomains(callback?: (err: AWSError, data: Route53Resolver.Types.ListFirewallDomainsResponse) => void): Request<Route53Resolver.Types.ListFirewallDomainsResponse, AWSError>;
  342. /**
  343. * Retrieves the firewall rule group associations that you have defined. Each association enables DNS filtering for a VPC with one rule group. A single call might return only a partial list of the associations. For information, see MaxResults.
  344. */
  345. listFirewallRuleGroupAssociations(params: Route53Resolver.Types.ListFirewallRuleGroupAssociationsRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListFirewallRuleGroupAssociationsResponse) => void): Request<Route53Resolver.Types.ListFirewallRuleGroupAssociationsResponse, AWSError>;
  346. /**
  347. * Retrieves the firewall rule group associations that you have defined. Each association enables DNS filtering for a VPC with one rule group. A single call might return only a partial list of the associations. For information, see MaxResults.
  348. */
  349. listFirewallRuleGroupAssociations(callback?: (err: AWSError, data: Route53Resolver.Types.ListFirewallRuleGroupAssociationsResponse) => void): Request<Route53Resolver.Types.ListFirewallRuleGroupAssociationsResponse, AWSError>;
  350. /**
  351. * Retrieves the minimal high-level information for the rule groups that you have defined. A single call might return only a partial list of the rule groups. For information, see MaxResults.
  352. */
  353. listFirewallRuleGroups(params: Route53Resolver.Types.ListFirewallRuleGroupsRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListFirewallRuleGroupsResponse) => void): Request<Route53Resolver.Types.ListFirewallRuleGroupsResponse, AWSError>;
  354. /**
  355. * Retrieves the minimal high-level information for the rule groups that you have defined. A single call might return only a partial list of the rule groups. For information, see MaxResults.
  356. */
  357. listFirewallRuleGroups(callback?: (err: AWSError, data: Route53Resolver.Types.ListFirewallRuleGroupsResponse) => void): Request<Route53Resolver.Types.ListFirewallRuleGroupsResponse, AWSError>;
  358. /**
  359. * 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. A single call might return only a partial list of the rules. For information, see MaxResults.
  360. */
  361. listFirewallRules(params: Route53Resolver.Types.ListFirewallRulesRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListFirewallRulesResponse) => void): Request<Route53Resolver.Types.ListFirewallRulesResponse, AWSError>;
  362. /**
  363. * 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. A single call might return only a partial list of the rules. For information, see MaxResults.
  364. */
  365. listFirewallRules(callback?: (err: AWSError, data: Route53Resolver.Types.ListFirewallRulesResponse) => void): Request<Route53Resolver.Types.ListFirewallRulesResponse, AWSError>;
  366. /**
  367. * Lists all the Resolvers on Outposts that were created using the current Amazon Web Services account.
  368. */
  369. listOutpostResolvers(params: Route53Resolver.Types.ListOutpostResolversRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListOutpostResolversResponse) => void): Request<Route53Resolver.Types.ListOutpostResolversResponse, AWSError>;
  370. /**
  371. * Lists all the Resolvers on Outposts that were created using the current Amazon Web Services account.
  372. */
  373. listOutpostResolvers(callback?: (err: AWSError, data: Route53Resolver.Types.ListOutpostResolversResponse) => void): Request<Route53Resolver.Types.ListOutpostResolversResponse, AWSError>;
  374. /**
  375. * Retrieves the Resolver configurations that you have defined. Route 53 Resolver uses the configurations to manage DNS resolution behavior for your VPCs.
  376. */
  377. listResolverConfigs(params: Route53Resolver.Types.ListResolverConfigsRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverConfigsResponse) => void): Request<Route53Resolver.Types.ListResolverConfigsResponse, AWSError>;
  378. /**
  379. * Retrieves the Resolver configurations that you have defined. Route 53 Resolver uses the configurations to manage DNS resolution behavior for your VPCs.
  380. */
  381. listResolverConfigs(callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverConfigsResponse) => void): Request<Route53Resolver.Types.ListResolverConfigsResponse, AWSError>;
  382. /**
  383. * Lists the configurations for DNSSEC validation that are associated with the current Amazon Web Services account.
  384. */
  385. listResolverDnssecConfigs(params: Route53Resolver.Types.ListResolverDnssecConfigsRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverDnssecConfigsResponse) => void): Request<Route53Resolver.Types.ListResolverDnssecConfigsResponse, AWSError>;
  386. /**
  387. * Lists the configurations for DNSSEC validation that are associated with the current Amazon Web Services account.
  388. */
  389. listResolverDnssecConfigs(callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverDnssecConfigsResponse) => void): Request<Route53Resolver.Types.ListResolverDnssecConfigsResponse, AWSError>;
  390. /**
  391. * Gets the IP addresses for a specified Resolver endpoint.
  392. */
  393. listResolverEndpointIpAddresses(params: Route53Resolver.Types.ListResolverEndpointIpAddressesRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverEndpointIpAddressesResponse) => void): Request<Route53Resolver.Types.ListResolverEndpointIpAddressesResponse, AWSError>;
  394. /**
  395. * Gets the IP addresses for a specified Resolver endpoint.
  396. */
  397. listResolverEndpointIpAddresses(callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverEndpointIpAddressesResponse) => void): Request<Route53Resolver.Types.ListResolverEndpointIpAddressesResponse, AWSError>;
  398. /**
  399. * Lists all the Resolver endpoints that were created using the current Amazon Web Services account.
  400. */
  401. listResolverEndpoints(params: Route53Resolver.Types.ListResolverEndpointsRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverEndpointsResponse) => void): Request<Route53Resolver.Types.ListResolverEndpointsResponse, AWSError>;
  402. /**
  403. * Lists all the Resolver endpoints that were created using the current Amazon Web Services account.
  404. */
  405. listResolverEndpoints(callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverEndpointsResponse) => void): Request<Route53Resolver.Types.ListResolverEndpointsResponse, AWSError>;
  406. /**
  407. * Lists information about associations between Amazon VPCs and query logging configurations.
  408. */
  409. listResolverQueryLogConfigAssociations(params: Route53Resolver.Types.ListResolverQueryLogConfigAssociationsRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverQueryLogConfigAssociationsResponse) => void): Request<Route53Resolver.Types.ListResolverQueryLogConfigAssociationsResponse, AWSError>;
  410. /**
  411. * Lists information about associations between Amazon VPCs and query logging configurations.
  412. */
  413. listResolverQueryLogConfigAssociations(callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverQueryLogConfigAssociationsResponse) => void): Request<Route53Resolver.Types.ListResolverQueryLogConfigAssociationsResponse, AWSError>;
  414. /**
  415. * Lists information about the specified query logging configurations. Each configuration defines where you want Resolver to save DNS query logs and specifies the VPCs that you want to log queries for.
  416. */
  417. listResolverQueryLogConfigs(params: Route53Resolver.Types.ListResolverQueryLogConfigsRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverQueryLogConfigsResponse) => void): Request<Route53Resolver.Types.ListResolverQueryLogConfigsResponse, AWSError>;
  418. /**
  419. * Lists information about the specified query logging configurations. Each configuration defines where you want Resolver to save DNS query logs and specifies the VPCs that you want to log queries for.
  420. */
  421. listResolverQueryLogConfigs(callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverQueryLogConfigsResponse) => void): Request<Route53Resolver.Types.ListResolverQueryLogConfigsResponse, AWSError>;
  422. /**
  423. * Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.
  424. */
  425. listResolverRuleAssociations(params: Route53Resolver.Types.ListResolverRuleAssociationsRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverRuleAssociationsResponse) => void): Request<Route53Resolver.Types.ListResolverRuleAssociationsResponse, AWSError>;
  426. /**
  427. * Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.
  428. */
  429. listResolverRuleAssociations(callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverRuleAssociationsResponse) => void): Request<Route53Resolver.Types.ListResolverRuleAssociationsResponse, AWSError>;
  430. /**
  431. * Lists the Resolver rules that were created using the current Amazon Web Services account.
  432. */
  433. listResolverRules(params: Route53Resolver.Types.ListResolverRulesRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverRulesResponse) => void): Request<Route53Resolver.Types.ListResolverRulesResponse, AWSError>;
  434. /**
  435. * Lists the Resolver rules that were created using the current Amazon Web Services account.
  436. */
  437. listResolverRules(callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverRulesResponse) => void): Request<Route53Resolver.Types.ListResolverRulesResponse, AWSError>;
  438. /**
  439. * Lists the tags that you associated with the specified resource.
  440. */
  441. listTagsForResource(params: Route53Resolver.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListTagsForResourceResponse) => void): Request<Route53Resolver.Types.ListTagsForResourceResponse, AWSError>;
  442. /**
  443. * Lists the tags that you associated with the specified resource.
  444. */
  445. listTagsForResource(callback?: (err: AWSError, data: Route53Resolver.Types.ListTagsForResourceResponse) => void): Request<Route53Resolver.Types.ListTagsForResourceResponse, AWSError>;
  446. /**
  447. * Attaches an Identity and Access Management (Amazon Web Services IAM) policy for sharing the rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).
  448. */
  449. putFirewallRuleGroupPolicy(params: Route53Resolver.Types.PutFirewallRuleGroupPolicyRequest, callback?: (err: AWSError, data: Route53Resolver.Types.PutFirewallRuleGroupPolicyResponse) => void): Request<Route53Resolver.Types.PutFirewallRuleGroupPolicyResponse, AWSError>;
  450. /**
  451. * Attaches an Identity and Access Management (Amazon Web Services IAM) policy for sharing the rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).
  452. */
  453. putFirewallRuleGroupPolicy(callback?: (err: AWSError, data: Route53Resolver.Types.PutFirewallRuleGroupPolicyResponse) => void): Request<Route53Resolver.Types.PutFirewallRuleGroupPolicyResponse, AWSError>;
  454. /**
  455. * Specifies an Amazon Web Services account that you want to share a query logging configuration with, the query logging configuration that you want to share, and the operations that you want the account to be able to perform on the configuration.
  456. */
  457. putResolverQueryLogConfigPolicy(params: Route53Resolver.Types.PutResolverQueryLogConfigPolicyRequest, callback?: (err: AWSError, data: Route53Resolver.Types.PutResolverQueryLogConfigPolicyResponse) => void): Request<Route53Resolver.Types.PutResolverQueryLogConfigPolicyResponse, AWSError>;
  458. /**
  459. * Specifies an Amazon Web Services account that you want to share a query logging configuration with, the query logging configuration that you want to share, and the operations that you want the account to be able to perform on the configuration.
  460. */
  461. putResolverQueryLogConfigPolicy(callback?: (err: AWSError, data: Route53Resolver.Types.PutResolverQueryLogConfigPolicyResponse) => void): Request<Route53Resolver.Types.PutResolverQueryLogConfigPolicyResponse, AWSError>;
  462. /**
  463. * Specifies an Amazon Web Services rule that you want to share with another account, the account that you want to share the rule with, and the operations that you want the account to be able to perform on the rule.
  464. */
  465. putResolverRulePolicy(params: Route53Resolver.Types.PutResolverRulePolicyRequest, callback?: (err: AWSError, data: Route53Resolver.Types.PutResolverRulePolicyResponse) => void): Request<Route53Resolver.Types.PutResolverRulePolicyResponse, AWSError>;
  466. /**
  467. * Specifies an Amazon Web Services rule that you want to share with another account, the account that you want to share the rule with, and the operations that you want the account to be able to perform on the rule.
  468. */
  469. putResolverRulePolicy(callback?: (err: AWSError, data: Route53Resolver.Types.PutResolverRulePolicyResponse) => void): Request<Route53Resolver.Types.PutResolverRulePolicyResponse, AWSError>;
  470. /**
  471. * Adds one or more tags to a specified resource.
  472. */
  473. tagResource(params: Route53Resolver.Types.TagResourceRequest, callback?: (err: AWSError, data: Route53Resolver.Types.TagResourceResponse) => void): Request<Route53Resolver.Types.TagResourceResponse, AWSError>;
  474. /**
  475. * Adds one or more tags to a specified resource.
  476. */
  477. tagResource(callback?: (err: AWSError, data: Route53Resolver.Types.TagResourceResponse) => void): Request<Route53Resolver.Types.TagResourceResponse, AWSError>;
  478. /**
  479. * Removes one or more tags from a specified resource.
  480. */
  481. untagResource(params: Route53Resolver.Types.UntagResourceRequest, callback?: (err: AWSError, data: Route53Resolver.Types.UntagResourceResponse) => void): Request<Route53Resolver.Types.UntagResourceResponse, AWSError>;
  482. /**
  483. * Removes one or more tags from a specified resource.
  484. */
  485. untagResource(callback?: (err: AWSError, data: Route53Resolver.Types.UntagResourceResponse) => void): Request<Route53Resolver.Types.UntagResourceResponse, AWSError>;
  486. /**
  487. * Updates the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).
  488. */
  489. updateFirewallConfig(params: Route53Resolver.Types.UpdateFirewallConfigRequest, callback?: (err: AWSError, data: Route53Resolver.Types.UpdateFirewallConfigResponse) => void): Request<Route53Resolver.Types.UpdateFirewallConfigResponse, AWSError>;
  490. /**
  491. * Updates the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).
  492. */
  493. updateFirewallConfig(callback?: (err: AWSError, data: Route53Resolver.Types.UpdateFirewallConfigResponse) => void): Request<Route53Resolver.Types.UpdateFirewallConfigResponse, AWSError>;
  494. /**
  495. * Updates the firewall domain list from an array of domain specifications.
  496. */
  497. updateFirewallDomains(params: Route53Resolver.Types.UpdateFirewallDomainsRequest, callback?: (err: AWSError, data: Route53Resolver.Types.UpdateFirewallDomainsResponse) => void): Request<Route53Resolver.Types.UpdateFirewallDomainsResponse, AWSError>;
  498. /**
  499. * Updates the firewall domain list from an array of domain specifications.
  500. */
  501. updateFirewallDomains(callback?: (err: AWSError, data: Route53Resolver.Types.UpdateFirewallDomainsResponse) => void): Request<Route53Resolver.Types.UpdateFirewallDomainsResponse, AWSError>;
  502. /**
  503. * Updates the specified firewall rule.
  504. */
  505. updateFirewallRule(params: Route53Resolver.Types.UpdateFirewallRuleRequest, callback?: (err: AWSError, data: Route53Resolver.Types.UpdateFirewallRuleResponse) => void): Request<Route53Resolver.Types.UpdateFirewallRuleResponse, AWSError>;
  506. /**
  507. * Updates the specified firewall rule.
  508. */
  509. updateFirewallRule(callback?: (err: AWSError, data: Route53Resolver.Types.UpdateFirewallRuleResponse) => void): Request<Route53Resolver.Types.UpdateFirewallRuleResponse, AWSError>;
  510. /**
  511. * Changes the association of a FirewallRuleGroup with a VPC. The association enables DNS filtering for the VPC.
  512. */
  513. updateFirewallRuleGroupAssociation(params: Route53Resolver.Types.UpdateFirewallRuleGroupAssociationRequest, callback?: (err: AWSError, data: Route53Resolver.Types.UpdateFirewallRuleGroupAssociationResponse) => void): Request<Route53Resolver.Types.UpdateFirewallRuleGroupAssociationResponse, AWSError>;
  514. /**
  515. * Changes the association of a FirewallRuleGroup with a VPC. The association enables DNS filtering for the VPC.
  516. */
  517. updateFirewallRuleGroupAssociation(callback?: (err: AWSError, data: Route53Resolver.Types.UpdateFirewallRuleGroupAssociationResponse) => void): Request<Route53Resolver.Types.UpdateFirewallRuleGroupAssociationResponse, AWSError>;
  518. /**
  519. * You can use UpdateOutpostResolver to update the instance count, type, or name of a Resolver on an Outpost.
  520. */
  521. updateOutpostResolver(params: Route53Resolver.Types.UpdateOutpostResolverRequest, callback?: (err: AWSError, data: Route53Resolver.Types.UpdateOutpostResolverResponse) => void): Request<Route53Resolver.Types.UpdateOutpostResolverResponse, AWSError>;
  522. /**
  523. * You can use UpdateOutpostResolver to update the instance count, type, or name of a Resolver on an Outpost.
  524. */
  525. updateOutpostResolver(callback?: (err: AWSError, data: Route53Resolver.Types.UpdateOutpostResolverResponse) => void): Request<Route53Resolver.Types.UpdateOutpostResolverResponse, AWSError>;
  526. /**
  527. * Updates the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.
  528. */
  529. updateResolverConfig(params: Route53Resolver.Types.UpdateResolverConfigRequest, callback?: (err: AWSError, data: Route53Resolver.Types.UpdateResolverConfigResponse) => void): Request<Route53Resolver.Types.UpdateResolverConfigResponse, AWSError>;
  530. /**
  531. * Updates the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.
  532. */
  533. updateResolverConfig(callback?: (err: AWSError, data: Route53Resolver.Types.UpdateResolverConfigResponse) => void): Request<Route53Resolver.Types.UpdateResolverConfigResponse, AWSError>;
  534. /**
  535. * Updates an existing DNSSEC validation configuration. If there is no existing DNSSEC validation configuration, one is created.
  536. */
  537. updateResolverDnssecConfig(params: Route53Resolver.Types.UpdateResolverDnssecConfigRequest, callback?: (err: AWSError, data: Route53Resolver.Types.UpdateResolverDnssecConfigResponse) => void): Request<Route53Resolver.Types.UpdateResolverDnssecConfigResponse, AWSError>;
  538. /**
  539. * Updates an existing DNSSEC validation configuration. If there is no existing DNSSEC validation configuration, one is created.
  540. */
  541. updateResolverDnssecConfig(callback?: (err: AWSError, data: Route53Resolver.Types.UpdateResolverDnssecConfigResponse) => void): Request<Route53Resolver.Types.UpdateResolverDnssecConfigResponse, AWSError>;
  542. /**
  543. * Updates the name, or endpoint type for an inbound or an outbound Resolver endpoint. You can only update between IPV4 and DUALSTACK, IPV6 endpoint type can't be updated to other type.
  544. */
  545. updateResolverEndpoint(params: Route53Resolver.Types.UpdateResolverEndpointRequest, callback?: (err: AWSError, data: Route53Resolver.Types.UpdateResolverEndpointResponse) => void): Request<Route53Resolver.Types.UpdateResolverEndpointResponse, AWSError>;
  546. /**
  547. * Updates the name, or endpoint type for an inbound or an outbound Resolver endpoint. You can only update between IPV4 and DUALSTACK, IPV6 endpoint type can't be updated to other type.
  548. */
  549. updateResolverEndpoint(callback?: (err: AWSError, data: Route53Resolver.Types.UpdateResolverEndpointResponse) => void): Request<Route53Resolver.Types.UpdateResolverEndpointResponse, AWSError>;
  550. /**
  551. * 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.
  552. */
  553. updateResolverRule(params: Route53Resolver.Types.UpdateResolverRuleRequest, callback?: (err: AWSError, data: Route53Resolver.Types.UpdateResolverRuleResponse) => void): Request<Route53Resolver.Types.UpdateResolverRuleResponse, AWSError>;
  554. /**
  555. * 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.
  556. */
  557. updateResolverRule(callback?: (err: AWSError, data: Route53Resolver.Types.UpdateResolverRuleResponse) => void): Request<Route53Resolver.Types.UpdateResolverRuleResponse, AWSError>;
  558. }
  559. declare namespace Route53Resolver {
  560. export type AccountId = string;
  561. export type Action = "ALLOW"|"BLOCK"|"ALERT"|string;
  562. export type Arn = string;
  563. export interface AssociateFirewallRuleGroupRequest {
  564. /**
  565. * A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.
  566. */
  567. CreatorRequestId: CreatorRequestId;
  568. /**
  569. * The unique identifier of the firewall rule group.
  570. */
  571. FirewallRuleGroupId: ResourceId;
  572. /**
  573. * The unique identifier of the VPC that you want to associate with the rule group.
  574. */
  575. VpcId: ResourceId;
  576. /**
  577. * The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting. You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 101, 200, and so on. You can change the priority setting for a rule group association after you create it. The allowed values for Priority are between 100 and 9900.
  578. */
  579. Priority: Priority;
  580. /**
  581. * A name that lets you identify the association, to manage and use it.
  582. */
  583. Name: Name;
  584. /**
  585. * If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. When you create the association, the default setting is DISABLED.
  586. */
  587. MutationProtection?: MutationProtectionStatus;
  588. /**
  589. * A list of the tag keys and values that you want to associate with the rule group association.
  590. */
  591. Tags?: TagList;
  592. }
  593. export interface AssociateFirewallRuleGroupResponse {
  594. /**
  595. * The association that you just created. The association has an ID that you can use to identify it in other requests, like update and delete.
  596. */
  597. FirewallRuleGroupAssociation?: FirewallRuleGroupAssociation;
  598. }
  599. export interface AssociateResolverEndpointIpAddressRequest {
  600. /**
  601. * The ID of the Resolver endpoint that you want to associate IP addresses with.
  602. */
  603. ResolverEndpointId: ResourceId;
  604. /**
  605. * Either the IPv4 address that you want to add to a Resolver endpoint or a subnet ID. If you specify a subnet ID, Resolver chooses an IP address for you from the available IPs in the specified subnet.
  606. */
  607. IpAddress: IpAddressUpdate;
  608. }
  609. export interface AssociateResolverEndpointIpAddressResponse {
  610. /**
  611. * The response to an AssociateResolverEndpointIpAddress request.
  612. */
  613. ResolverEndpoint?: ResolverEndpoint;
  614. }
  615. export interface AssociateResolverQueryLogConfigRequest {
  616. /**
  617. * The ID of the query logging configuration that you want to associate a VPC with.
  618. */
  619. ResolverQueryLogConfigId: ResourceId;
  620. /**
  621. * The ID of an Amazon VPC that you want this query logging configuration to log queries for. The VPCs and the query logging configuration must be in the same Region.
  622. */
  623. ResourceId: ResourceId;
  624. }
  625. export interface AssociateResolverQueryLogConfigResponse {
  626. /**
  627. * A complex type that contains settings for a specified association between an Amazon VPC and a query logging configuration.
  628. */
  629. ResolverQueryLogConfigAssociation?: ResolverQueryLogConfigAssociation;
  630. }
  631. export interface AssociateResolverRuleRequest {
  632. /**
  633. * The ID of the Resolver rule that you want to associate with the VPC. To list the existing Resolver rules, use ListResolverRules.
  634. */
  635. ResolverRuleId: ResourceId;
  636. /**
  637. * A name for the association that you're creating between a Resolver rule and a VPC.
  638. */
  639. Name?: Name;
  640. /**
  641. * The ID of the VPC that you want to associate the Resolver rule with.
  642. */
  643. VPCId: ResourceId;
  644. }
  645. export interface AssociateResolverRuleResponse {
  646. /**
  647. * Information about the AssociateResolverRule request, including the status of the request.
  648. */
  649. ResolverRuleAssociation?: ResolverRuleAssociation;
  650. }
  651. export type AutodefinedReverseFlag = "ENABLE"|"DISABLE"|"USE_LOCAL_RESOURCE_SETTING"|string;
  652. export type BlockOverrideDnsType = "CNAME"|string;
  653. export type BlockOverrideDomain = string;
  654. export type BlockOverrideTtl = number;
  655. export type BlockResponse = "NODATA"|"NXDOMAIN"|"OVERRIDE"|string;
  656. export type Boolean = boolean;
  657. export type Count = number;
  658. export interface CreateFirewallDomainListRequest {
  659. /**
  660. * A unique string that identifies the request and that allows you to retry failed requests without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.
  661. */
  662. CreatorRequestId: CreatorRequestId;
  663. /**
  664. * A name that lets you identify the domain list to manage and use it.
  665. */
  666. Name: Name;
  667. /**
  668. * A list of the tag keys and values that you want to associate with the domain list.
  669. */
  670. Tags?: TagList;
  671. }
  672. export interface CreateFirewallDomainListResponse {
  673. /**
  674. * The domain list that you just created.
  675. */
  676. FirewallDomainList?: FirewallDomainList;
  677. }
  678. export interface CreateFirewallRuleGroupRequest {
  679. /**
  680. * A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
  681. */
  682. CreatorRequestId: CreatorRequestId;
  683. /**
  684. * A name that lets you identify the rule group, to manage and use it.
  685. */
  686. Name: Name;
  687. /**
  688. * A list of the tag keys and values that you want to associate with the rule group.
  689. */
  690. Tags?: TagList;
  691. }
  692. export interface CreateFirewallRuleGroupResponse {
  693. /**
  694. * A collection of rules used to filter DNS network traffic.
  695. */
  696. FirewallRuleGroup?: FirewallRuleGroup;
  697. }
  698. export interface CreateFirewallRuleRequest {
  699. /**
  700. * A unique string that identifies the request and that allows you to retry failed requests without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.
  701. */
  702. CreatorRequestId: CreatorRequestId;
  703. /**
  704. * The unique identifier of the firewall rule group where you want to create the rule.
  705. */
  706. FirewallRuleGroupId: ResourceId;
  707. /**
  708. * The ID of the domain list that you want to use in the rule.
  709. */
  710. FirewallDomainListId: ResourceId;
  711. /**
  712. * The setting that determines the processing order of the rule in the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting. You must specify a unique priority for each rule in a rule group. To make it easier to insert rules later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for the rules in a rule group at any time.
  713. */
  714. Priority: Priority;
  715. /**
  716. * The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list: ALLOW - Permit the request to go through. ALERT - Permit the request and send metrics and logs to Cloud Watch. BLOCK - Disallow the request. This option requires additional details in the rule's BlockResponse.
  717. */
  718. Action: Action;
  719. /**
  720. * The way that you want DNS Firewall to block the request, used with the rule action setting BLOCK. NODATA - Respond indicating that the query was successful, but no response is available for it. NXDOMAIN - Respond indicating that the domain name that's in the query doesn't exist. OVERRIDE - Provide a custom override in the response. This option requires custom handling details in the rule's BlockOverride* settings. This setting is required if the rule action setting is BLOCK.
  721. */
  722. BlockResponse?: BlockResponse;
  723. /**
  724. * The custom DNS record to send back in response to the query. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE. This setting is required if the BlockResponse setting is OVERRIDE.
  725. */
  726. BlockOverrideDomain?: BlockOverrideDomain;
  727. /**
  728. * The DNS record's type. This determines the format of the record value that you provided in BlockOverrideDomain. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE. This setting is required if the BlockResponse setting is OVERRIDE.
  729. */
  730. BlockOverrideDnsType?: BlockOverrideDnsType;
  731. /**
  732. * The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE. This setting is required if the BlockResponse setting is OVERRIDE.
  733. */
  734. BlockOverrideTtl?: BlockOverrideTtl;
  735. /**
  736. * A name that lets you identify the rule in the rule group.
  737. */
  738. Name: Name;
  739. /**
  740. * How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. Inspect_Redirection_Domain (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. Trust_Redirection_Domain inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list.
  741. */
  742. FirewallDomainRedirectionAction?: FirewallDomainRedirectionAction;
  743. /**
  744. * The DNS query type you want the rule to evaluate. Allowed values are; A: Returns an IPv4 address. AAAA: Returns an Ipv6 address. CAA: Restricts CAs that can create SSL/TLS certifications for the domain. CNAME: Returns another domain name. DS: Record that identifies the DNSSEC signing key of a delegated zone. MX: Specifies mail servers. NAPTR: Regular-expression-based rewriting of domain names. NS: Authoritative name servers. PTR: Maps an IP address to a domain name. SOA: Start of authority record for the zone. SPF: Lists the servers authorized to send emails from a domain. SRV: Application specific values that identify servers. TXT: Verifies email senders and application-specific values. A query type you define by using the DNS type ID, for example 28 for AAAA. The values must be defined as TYPENUMBER, where the NUMBER can be 1-65334, for example, TYPE28. For more information, see List of DNS record types.
  745. */
  746. Qtype?: Qtype;
  747. }
  748. export interface CreateFirewallRuleResponse {
  749. /**
  750. * The firewall rule that you just created.
  751. */
  752. FirewallRule?: FirewallRule;
  753. }
  754. export interface CreateOutpostResolverRequest {
  755. /**
  756. * A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.
  757. */
  758. CreatorRequestId: CreatorRequestId;
  759. /**
  760. * A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
  761. */
  762. Name: OutpostResolverName;
  763. /**
  764. * Number of Amazon EC2 instances for the Resolver on Outpost. The default and minimal value is 4.
  765. */
  766. InstanceCount?: InstanceCount;
  767. /**
  768. * The Amazon EC2 instance type. If you specify this, you must also specify a value for the OutpostArn.
  769. */
  770. PreferredInstanceType: OutpostInstanceType;
  771. /**
  772. * The Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a value for the PreferredInstanceType.
  773. */
  774. OutpostArn: OutpostArn;
  775. /**
  776. * A string that helps identify the Route 53 Resolvers on Outpost.
  777. */
  778. Tags?: TagList;
  779. }
  780. export interface CreateOutpostResolverResponse {
  781. /**
  782. * Information about the CreateOutpostResolver request, including the status of the request.
  783. */
  784. OutpostResolver?: OutpostResolver;
  785. }
  786. export interface CreateResolverEndpointRequest {
  787. /**
  788. * A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.
  789. */
  790. CreatorRequestId: CreatorRequestId;
  791. /**
  792. * A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
  793. */
  794. Name?: Name;
  795. /**
  796. * The ID of one or more security groups that you want to use to control access to this VPC. The security group that you specify must include one or more inbound rules (for inbound Resolver endpoints) or outbound rules (for outbound Resolver endpoints). Inbound and outbound rules must allow TCP and UDP access. For inbound access, open port 53. For outbound access, open the port that you're using for DNS queries on your network. Some security group rules will cause your connection to be tracked. For outbound resolver endpoint, it can potentially impact the maximum queries per second from outbound endpoint to your target name server. For inbound resolver endpoint, it can bring down the overall maximum queries per second per IP address to as low as 1500. To avoid connection tracking caused by security group, see Untracked connections.
  797. */
  798. SecurityGroupIds: SecurityGroupIds;
  799. /**
  800. * Specify the applicable value: INBOUND: Resolver forwards DNS queries to the DNS service for a VPC from your network OUTBOUND: Resolver forwards DNS queries from the DNS service for a VPC to your network
  801. */
  802. Direction: ResolverEndpointDirection;
  803. /**
  804. * The subnets and IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). The subnet ID uniquely identifies a VPC. Even though the minimum is 1, Route 53 requires that you create at least two.
  805. */
  806. IpAddresses: IpAddressesRequest;
  807. /**
  808. * The Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a value for the PreferredInstanceType.
  809. */
  810. OutpostArn?: OutpostArn;
  811. /**
  812. * The instance type. If you specify this, you must also specify a value for the OutpostArn.
  813. */
  814. PreferredInstanceType?: OutpostInstanceType;
  815. /**
  816. * A list of the tag keys and values that you want to associate with the endpoint.
  817. */
  818. Tags?: TagList;
  819. /**
  820. * For the endpoint type you can choose either IPv4, IPv6, or dual-stack. A dual-stack endpoint means that it will resolve via both IPv4 and IPv6. This endpoint type is applied to all IP addresses.
  821. */
  822. ResolverEndpointType?: ResolverEndpointType;
  823. /**
  824. * The protocols you want to use for the endpoint. DoH-FIPS is applicable for inbound endpoints only. For an inbound endpoint you can apply the protocols as follows: Do53 and DoH in combination. Do53 and DoH-FIPS in combination. Do53 alone. DoH alone. DoH-FIPS alone. None, which is treated as Do53. For an outbound endpoint you can apply the protocols as follows: Do53 and DoH in combination. Do53 alone. DoH alone. None, which is treated as Do53.
  825. */
  826. Protocols?: ProtocolList;
  827. }
  828. export interface CreateResolverEndpointResponse {
  829. /**
  830. * Information about the CreateResolverEndpoint request, including the status of the request.
  831. */
  832. ResolverEndpoint?: ResolverEndpoint;
  833. }
  834. export interface CreateResolverQueryLogConfigRequest {
  835. /**
  836. * The name that you want to give the query logging configuration.
  837. */
  838. Name: ResolverQueryLogConfigName;
  839. /**
  840. * The ARN of the resource that you want Resolver to send query logs. You can send query logs to an S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream. Examples of valid values include the following: S3 bucket: arn:aws:s3:::examplebucket You can optionally append a file prefix to the end of the ARN. arn:aws:s3:::examplebucket/development/ CloudWatch Logs log group: arn:aws:logs:us-west-1:123456789012:log-group:/mystack-testgroup-12ABC1AB12A1:* Kinesis Data Firehose delivery stream: arn:aws:kinesis:us-east-2:0123456789:stream/my_stream_name
  841. */
  842. DestinationArn: DestinationArn;
  843. /**
  844. * A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.
  845. */
  846. CreatorRequestId: CreatorRequestId;
  847. /**
  848. * A list of the tag keys and values that you want to associate with the query logging configuration.
  849. */
  850. Tags?: TagList;
  851. }
  852. export interface CreateResolverQueryLogConfigResponse {
  853. /**
  854. * Information about the CreateResolverQueryLogConfig request, including the status of the request.
  855. */
  856. ResolverQueryLogConfig?: ResolverQueryLogConfig;
  857. }
  858. export interface CreateResolverRuleRequest {
  859. /**
  860. * A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.
  861. */
  862. CreatorRequestId: CreatorRequestId;
  863. /**
  864. * A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 53 console.
  865. */
  866. Name?: Name;
  867. /**
  868. * When you want to forward DNS queries for specified domain name to resolvers on your network, specify FORWARD. When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify SYSTEM. For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and specify FORWARD for RuleType. To then have Resolver process queries for apex.example.com, you create a rule and specify SYSTEM for RuleType. Currently, only Resolver can create rules that have a value of RECURSIVE for RuleType.
  869. */
  870. RuleType: RuleTypeOption;
  871. /**
  872. * DNS queries for this domain name are forwarded to the IP addresses that you specify in TargetIps. If a query matches multiple Resolver rules (example.com and www.example.com), outbound DNS queries are routed using the Resolver rule that contains the most specific domain name (www.example.com).
  873. */
  874. DomainName?: DomainName;
  875. /**
  876. * The IPs that you want Resolver to forward DNS queries to. You can specify either Ipv4 or Ipv6 addresses but not both in the same rule. Separate IP addresses with a space. TargetIps is available only when the value of Rule type is FORWARD.
  877. */
  878. TargetIps?: TargetList;
  879. /**
  880. * The ID of the outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify in TargetIps.
  881. */
  882. ResolverEndpointId?: ResourceId;
  883. /**
  884. * A list of the tag keys and values that you want to associate with the endpoint.
  885. */
  886. Tags?: TagList;
  887. }
  888. export interface CreateResolverRuleResponse {
  889. /**
  890. * Information about the CreateResolverRule request, including the status of the request.
  891. */
  892. ResolverRule?: ResolverRule;
  893. }
  894. export type CreatorRequestId = string;
  895. export interface DeleteFirewallDomainListRequest {
  896. /**
  897. * The ID of the domain list that you want to delete.
  898. */
  899. FirewallDomainListId: ResourceId;
  900. }
  901. export interface DeleteFirewallDomainListResponse {
  902. /**
  903. * The domain list that you just deleted.
  904. */
  905. FirewallDomainList?: FirewallDomainList;
  906. }
  907. export interface DeleteFirewallRuleGroupRequest {
  908. /**
  909. * The unique identifier of the firewall rule group that you want to delete.
  910. */
  911. FirewallRuleGroupId: ResourceId;
  912. }
  913. export interface DeleteFirewallRuleGroupResponse {
  914. /**
  915. * A collection of rules used to filter DNS network traffic.
  916. */
  917. FirewallRuleGroup?: FirewallRuleGroup;
  918. }
  919. export interface DeleteFirewallRuleRequest {
  920. /**
  921. * The unique identifier of the firewall rule group that you want to delete the rule from.
  922. */
  923. FirewallRuleGroupId: ResourceId;
  924. /**
  925. * The ID of the domain list that's used in the rule.
  926. */
  927. FirewallDomainListId: ResourceId;
  928. /**
  929. * The DNS query type that the rule you are deleting evaluates. Allowed values are; A: Returns an IPv4 address. AAAA: Returns an Ipv6 address. CAA: Restricts CAs that can create SSL/TLS certifications for the domain. CNAME: Returns another domain name. DS: Record that identifies the DNSSEC signing key of a delegated zone. MX: Specifies mail servers. NAPTR: Regular-expression-based rewriting of domain names. NS: Authoritative name servers. PTR: Maps an IP address to a domain name. SOA: Start of authority record for the zone. SPF: Lists the servers authorized to send emails from a domain. SRV: Application specific values that identify servers. TXT: Verifies email senders and application-specific values. A query type you define by using the DNS type ID, for example 28 for AAAA. The values must be defined as TYPENUMBER, where the NUMBER can be 1-65334, for example, TYPE28. For more information, see List of DNS record types.
  930. */
  931. Qtype?: Qtype;
  932. }
  933. export interface DeleteFirewallRuleResponse {
  934. /**
  935. * The specification for the firewall rule that you just deleted.
  936. */
  937. FirewallRule?: FirewallRule;
  938. }
  939. export interface DeleteOutpostResolverRequest {
  940. /**
  941. * A unique string that identifies the Resolver on the Outpost.
  942. */
  943. Id: ResourceId;
  944. }
  945. export interface DeleteOutpostResolverResponse {
  946. /**
  947. * Information about the DeleteOutpostResolver request, including the status of the request.
  948. */
  949. OutpostResolver?: OutpostResolver;
  950. }
  951. export interface DeleteResolverEndpointRequest {
  952. /**
  953. * The ID of the Resolver endpoint that you want to delete.
  954. */
  955. ResolverEndpointId: ResourceId;
  956. }
  957. export interface DeleteResolverEndpointResponse {
  958. /**
  959. * Information about the DeleteResolverEndpoint request, including the status of the request.
  960. */
  961. ResolverEndpoint?: ResolverEndpoint;
  962. }
  963. export interface DeleteResolverQueryLogConfigRequest {
  964. /**
  965. * The ID of the query logging configuration that you want to delete.
  966. */
  967. ResolverQueryLogConfigId: ResourceId;
  968. }
  969. export interface DeleteResolverQueryLogConfigResponse {
  970. /**
  971. * Information about the query logging configuration that you deleted, including the status of the request.
  972. */
  973. ResolverQueryLogConfig?: ResolverQueryLogConfig;
  974. }
  975. export interface DeleteResolverRuleRequest {
  976. /**
  977. * The ID of the Resolver rule that you want to delete.
  978. */
  979. ResolverRuleId: ResourceId;
  980. }
  981. export interface DeleteResolverRuleResponse {
  982. /**
  983. * Information about the DeleteResolverRule request, including the status of the request.
  984. */
  985. ResolverRule?: ResolverRule;
  986. }
  987. export type DestinationArn = string;
  988. export interface DisassociateFirewallRuleGroupRequest {
  989. /**
  990. * The identifier of the FirewallRuleGroupAssociation.
  991. */
  992. FirewallRuleGroupAssociationId: ResourceId;
  993. }
  994. export interface DisassociateFirewallRuleGroupResponse {
  995. /**
  996. * The firewall rule group association that you just removed.
  997. */
  998. FirewallRuleGroupAssociation?: FirewallRuleGroupAssociation;
  999. }
  1000. export interface DisassociateResolverEndpointIpAddressRequest {
  1001. /**
  1002. * The ID of the Resolver endpoint that you want to disassociate an IP address from.
  1003. */
  1004. ResolverEndpointId: ResourceId;
  1005. /**
  1006. * The IPv4 address that you want to remove from a Resolver endpoint.
  1007. */
  1008. IpAddress: IpAddressUpdate;
  1009. }
  1010. export interface DisassociateResolverEndpointIpAddressResponse {
  1011. /**
  1012. * The response to an DisassociateResolverEndpointIpAddress request.
  1013. */
  1014. ResolverEndpoint?: ResolverEndpoint;
  1015. }
  1016. export interface DisassociateResolverQueryLogConfigRequest {
  1017. /**
  1018. * The ID of the query logging configuration that you want to disassociate a specified VPC from.
  1019. */
  1020. ResolverQueryLogConfigId: ResourceId;
  1021. /**
  1022. * The ID of the Amazon VPC that you want to disassociate from a specified query logging configuration.
  1023. */
  1024. ResourceId: ResourceId;
  1025. }
  1026. export interface DisassociateResolverQueryLogConfigResponse {
  1027. /**
  1028. * A complex type that contains settings for the association that you deleted between an Amazon VPC and a query logging configuration.
  1029. */
  1030. ResolverQueryLogConfigAssociation?: ResolverQueryLogConfigAssociation;
  1031. }
  1032. export interface DisassociateResolverRuleRequest {
  1033. /**
  1034. * The ID of the VPC that you want to disassociate the Resolver rule from.
  1035. */
  1036. VPCId: ResourceId;
  1037. /**
  1038. * The ID of the Resolver rule that you want to disassociate from the specified VPC.
  1039. */
  1040. ResolverRuleId: ResourceId;
  1041. }
  1042. export interface DisassociateResolverRuleResponse {
  1043. /**
  1044. * Information about the DisassociateResolverRule request, including the status of the request.
  1045. */
  1046. ResolverRuleAssociation?: ResolverRuleAssociation;
  1047. }
  1048. export type DomainListFileUrl = string;
  1049. export type DomainName = string;
  1050. export interface Filter {
  1051. /**
  1052. * The name of the parameter that you want to use to filter objects. The valid values for Name depend on the action that you're including the filter in, ListResolverEndpoints, ListResolverRules, ListResolverRuleAssociations, ListResolverQueryLogConfigs, or ListResolverQueryLogConfigAssociations. In early versions of Resolver, values for Name were listed as uppercase, with underscore (_) delimiters. For example, CreatorRequestId was originally listed as CREATOR_REQUEST_ID. Uppercase values for Name are still supported. ListResolverEndpoints Valid values for Name include the following: CreatorRequestId: The value that you specified when you created the Resolver endpoint. Direction: Whether you want to return inbound or outbound Resolver endpoints. If you specify DIRECTION for Name, specify INBOUND or OUTBOUND for Values. HostVPCId: The ID of the VPC that inbound DNS queries pass through on the way from your network to your VPCs in a region, or the VPC that outbound queries pass through on the way from your VPCs to your network. In a CreateResolverEndpoint request, SubnetId indirectly identifies the VPC. In a GetResolverEndpoint request, the VPC ID for a Resolver endpoint is returned in the HostVPCId element. IpAddressCount: The number of IP addresses that you have associated with the Resolver endpoint. Name: The name of the Resolver endpoint. SecurityGroupIds: The IDs of the VPC security groups that you specified when you created the Resolver endpoint. Status: The status of the Resolver endpoint. If you specify Status for Name, specify one of the following status codes for Values: CREATING, OPERATIONAL, UPDATING, AUTO_RECOVERING, ACTION_NEEDED, or DELETING. For more information, see Status in ResolverEndpoint. ListResolverRules Valid values for Name include the following: CreatorRequestId: The value that you specified when you created the Resolver rule. DomainName: The domain name for which Resolver is forwarding DNS queries to your network. In the value that you specify for Values, include a trailing dot (.) after the domain name. For example, if the domain name is example.com, specify the following value. Note the "." after com: example.com. Name: The name of the Resolver rule. ResolverEndpointId: The ID of the Resolver endpoint that the Resolver rule is associated with. You can filter on the Resolver endpoint only for rules that have a value of FORWARD for RuleType. Status: The status of the Resolver rule. If you specify Status for Name, specify one of the following status codes for Values: COMPLETE, DELETING, UPDATING, or FAILED. Type: The type of the Resolver rule. If you specify TYPE for Name, specify FORWARD or SYSTEM for Values. ListResolverRuleAssociations Valid values for Name include the following: Name: The name of the Resolver rule association. ResolverRuleId: The ID of the Resolver rule that is associated with one or more VPCs. Status: The status of the Resolver rule association. If you specify Status for Name, specify one of the following status codes for Values: CREATING, COMPLETE, DELETING, or FAILED. VPCId: The ID of the VPC that the Resolver rule is associated with. ListResolverQueryLogConfigs Valid values for Name include the following: Arn: The ARN for the query logging configuration. AssociationCount: The number of VPCs that are associated with the query logging configuration. CreationTime: The date and time that the query logging configuration was created, in Unix time format and Coordinated Universal Time (UTC). CreatorRequestId: A unique string that identifies the request that created the query logging configuration. Destination: The Amazon Web Services service that you want to forward query logs to. Valid values include the following: S3 CloudWatchLogs KinesisFirehose DestinationArn: The ARN of the location that Resolver is sending query logs to. This value can be the ARN for an S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream. Id: The ID of the query logging configuration Name: The name of the query logging configuration OwnerId: The Amazon Web Services account ID for the account that created the query logging configuration. ShareStatus: An indication of whether the query logging configuration is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Valid values include: NOT_SHARED, SHARED_WITH_ME, or SHARED_BY_ME. Status: The status of the query logging configuration. If you specify Status for Name, specify the applicable status code for Values: CREATING, CREATED, DELETING, or FAILED. For more information, see Status. ListResolverQueryLogConfigAssociations Valid values for Name include the following: CreationTime: The date and time that the VPC was associated with the query logging configuration, in Unix time format and Coordinated Universal Time (UTC). Error: If the value of Status is FAILED, specify the cause: DESTINATION_NOT_FOUND or ACCESS_DENIED. Id: The ID of the query logging association. ResolverQueryLogConfigId: The ID of the query logging configuration that a VPC is associated with. ResourceId: The ID of the Amazon VPC that is associated with the query logging configuration. Status: The status of the query logging association. If you specify Status for Name, specify the applicable status code for Values: CREATING, CREATED, DELETING, or FAILED. For more information, see Status.
  1053. */
  1054. Name?: FilterName;
  1055. /**
  1056. * When you're using a List operation and you want the operation to return a subset of objects, such as Resolver endpoints or Resolver rules, the value of the parameter that you want to use to filter objects. For example, to list only inbound Resolver endpoints, specify Direction for Name and specify INBOUND for Values.
  1057. */
  1058. Values?: FilterValues;
  1059. }
  1060. export type FilterName = string;
  1061. export type FilterValue = string;
  1062. export type FilterValues = FilterValue[];
  1063. export type Filters = Filter[];
  1064. export interface FirewallConfig {
  1065. /**
  1066. * The ID of the firewall configuration.
  1067. */
  1068. Id?: ResourceId;
  1069. /**
  1070. * The ID of the VPC that this firewall configuration applies to.
  1071. */
  1072. ResourceId?: ResourceId;
  1073. /**
  1074. * The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
  1075. */
  1076. OwnerId?: AccountId;
  1077. /**
  1078. * Determines how DNS Firewall operates during failures, for example when all traffic that is sent to DNS Firewall fails to receive a reply. By default, fail open is disabled, which means the failure mode is closed. This approach favors security over availability. DNS Firewall returns a failure error when it is unable to properly evaluate a query. If you enable this option, the failure mode is open. This approach favors availability over security. DNS Firewall allows queries to proceed if it is unable to properly evaluate them. This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
  1079. */
  1080. FirewallFailOpen?: FirewallFailOpenStatus;
  1081. }
  1082. export type FirewallConfigList = FirewallConfig[];
  1083. export type FirewallDomainImportOperation = "REPLACE"|string;
  1084. export interface FirewallDomainList {
  1085. /**
  1086. * The ID of the domain list.
  1087. */
  1088. Id?: ResourceId;
  1089. /**
  1090. * The Amazon Resource Name (ARN) of the firewall domain list.
  1091. */
  1092. Arn?: Arn;
  1093. /**
  1094. * The name of the domain list.
  1095. */
  1096. Name?: Name;
  1097. /**
  1098. * The number of domain names that are specified in the domain list.
  1099. */
  1100. DomainCount?: Unsigned;
  1101. /**
  1102. * The status of the domain list.
  1103. */
  1104. Status?: FirewallDomainListStatus;
  1105. /**
  1106. * Additional information about the status of the list, if available.
  1107. */
  1108. StatusMessage?: StatusMessage;
  1109. /**
  1110. * The owner of the list, used only for lists that are not managed by you. For example, the managed domain list AWSManagedDomainsMalwareDomainList has the managed owner name Route 53 Resolver DNS Firewall.
  1111. */
  1112. ManagedOwnerName?: ServicePrinciple;
  1113. /**
  1114. * A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
  1115. */
  1116. CreatorRequestId?: CreatorRequestId;
  1117. /**
  1118. * The date and time that the domain list was created, in Unix time format and Coordinated Universal Time (UTC).
  1119. */
  1120. CreationTime?: Rfc3339TimeString;
  1121. /**
  1122. * The date and time that the domain list was last modified, in Unix time format and Coordinated Universal Time (UTC).
  1123. */
  1124. ModificationTime?: Rfc3339TimeString;
  1125. }
  1126. export interface FirewallDomainListMetadata {
  1127. /**
  1128. * The ID of the domain list.
  1129. */
  1130. Id?: ResourceId;
  1131. /**
  1132. * The Amazon Resource Name (ARN) of the firewall domain list metadata.
  1133. */
  1134. Arn?: Arn;
  1135. /**
  1136. * The name of the domain list.
  1137. */
  1138. Name?: Name;
  1139. /**
  1140. * A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
  1141. */
  1142. CreatorRequestId?: CreatorRequestId;
  1143. /**
  1144. * The owner of the list, used only for lists that are not managed by you. For example, the managed domain list AWSManagedDomainsMalwareDomainList has the managed owner name Route 53 Resolver DNS Firewall.
  1145. */
  1146. ManagedOwnerName?: ServicePrinciple;
  1147. }
  1148. export type FirewallDomainListMetadataList = FirewallDomainListMetadata[];
  1149. export type FirewallDomainListStatus = "COMPLETE"|"COMPLETE_IMPORT_FAILED"|"IMPORTING"|"DELETING"|"UPDATING"|string;
  1150. export type FirewallDomainName = string;
  1151. export type FirewallDomainRedirectionAction = "INSPECT_REDIRECTION_DOMAIN"|"TRUST_REDIRECTION_DOMAIN"|string;
  1152. export type FirewallDomainUpdateOperation = "ADD"|"REMOVE"|"REPLACE"|string;
  1153. export type FirewallDomains = FirewallDomainName[];
  1154. export type FirewallFailOpenStatus = "ENABLED"|"DISABLED"|"USE_LOCAL_RESOURCE_SETTING"|string;
  1155. export interface FirewallRule {
  1156. /**
  1157. * The unique identifier of the firewall rule group of the rule.
  1158. */
  1159. FirewallRuleGroupId?: ResourceId;
  1160. /**
  1161. * The ID of the domain list that's used in the rule.
  1162. */
  1163. FirewallDomainListId?: ResourceId;
  1164. /**
  1165. * The name of the rule.
  1166. */
  1167. Name?: Name;
  1168. /**
  1169. * The priority of the rule in the rule group. This value must be unique within the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.
  1170. */
  1171. Priority?: Priority;
  1172. /**
  1173. * The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list: ALLOW - Permit the request to go through. ALERT - Permit the request to go through but send an alert to the logs. BLOCK - Disallow the request. If this is specified, additional handling details are provided in the rule's BlockResponse setting.
  1174. */
  1175. Action?: Action;
  1176. /**
  1177. * The way that you want DNS Firewall to block the request. Used for the rule action setting BLOCK. NODATA - Respond indicating that the query was successful, but no response is available for it. NXDOMAIN - Respond indicating that the domain name that's in the query doesn't exist. OVERRIDE - Provide a custom override in the response. This option requires custom handling details in the rule's BlockOverride* settings.
  1178. */
  1179. BlockResponse?: BlockResponse;
  1180. /**
  1181. * The custom DNS record to send back in response to the query. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.
  1182. */
  1183. BlockOverrideDomain?: BlockOverrideDomain;
  1184. /**
  1185. * The DNS record's type. This determines the format of the record value that you provided in BlockOverrideDomain. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.
  1186. */
  1187. BlockOverrideDnsType?: BlockOverrideDnsType;
  1188. /**
  1189. * The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.
  1190. */
  1191. BlockOverrideTtl?: Unsigned;
  1192. /**
  1193. * A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of executing the operation twice. This can be any unique string, for example, a timestamp.
  1194. */
  1195. CreatorRequestId?: CreatorRequestId;
  1196. /**
  1197. * The date and time that the rule was created, in Unix time format and Coordinated Universal Time (UTC).
  1198. */
  1199. CreationTime?: Rfc3339TimeString;
  1200. /**
  1201. * The date and time that the rule was last modified, in Unix time format and Coordinated Universal Time (UTC).
  1202. */
  1203. ModificationTime?: Rfc3339TimeString;
  1204. /**
  1205. * How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. Inspect_Redirection_Domain (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. Trust_Redirection_Domain inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list.
  1206. */
  1207. FirewallDomainRedirectionAction?: FirewallDomainRedirectionAction;
  1208. /**
  1209. * The DNS query type you want the rule to evaluate. Allowed values are; A: Returns an IPv4 address. AAAA: Returns an Ipv6 address. CAA: Restricts CAs that can create SSL/TLS certifications for the domain. CNAME: Returns another domain name. DS: Record that identifies the DNSSEC signing key of a delegated zone. MX: Specifies mail servers. NAPTR: Regular-expression-based rewriting of domain names. NS: Authoritative name servers. PTR: Maps an IP address to a domain name. SOA: Start of authority record for the zone. SPF: Lists the servers authorized to send emails from a domain. SRV: Application specific values that identify servers. TXT: Verifies email senders and application-specific values. A query type you define by using the DNS type ID, for example 28 for AAAA. The values must be defined as TYPENUMBER, where the NUMBER can be 1-65334, for example, TYPE28. For more information, see List of DNS record types.
  1210. */
  1211. Qtype?: Qtype;
  1212. }
  1213. export interface FirewallRuleGroup {
  1214. /**
  1215. * The ID of the rule group.
  1216. */
  1217. Id?: ResourceId;
  1218. /**
  1219. * The ARN (Amazon Resource Name) of the rule group.
  1220. */
  1221. Arn?: Arn;
  1222. /**
  1223. * The name of the rule group.
  1224. */
  1225. Name?: Name;
  1226. /**
  1227. * The number of rules in the rule group.
  1228. */
  1229. RuleCount?: Unsigned;
  1230. /**
  1231. * The status of the domain list.
  1232. */
  1233. Status?: FirewallRuleGroupStatus;
  1234. /**
  1235. * Additional information about the status of the rule group, if available.
  1236. */
  1237. StatusMessage?: StatusMessage;
  1238. /**
  1239. * The Amazon Web Services account ID for the account that created the rule group. When a rule group is shared with your account, this is the account that has shared the rule group with you.
  1240. */
  1241. OwnerId?: AccountId;
  1242. /**
  1243. * A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
  1244. */
  1245. CreatorRequestId?: CreatorRequestId;
  1246. /**
  1247. * Whether the rule group is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM).
  1248. */
  1249. ShareStatus?: ShareStatus;
  1250. /**
  1251. * The date and time that the rule group was created, in Unix time format and Coordinated Universal Time (UTC).
  1252. */
  1253. CreationTime?: Rfc3339TimeString;
  1254. /**
  1255. * The date and time that the rule group was last modified, in Unix time format and Coordinated Universal Time (UTC).
  1256. */
  1257. ModificationTime?: Rfc3339TimeString;
  1258. }
  1259. export interface FirewallRuleGroupAssociation {
  1260. /**
  1261. * The identifier for the association.
  1262. */
  1263. Id?: ResourceId;
  1264. /**
  1265. * The Amazon Resource Name (ARN) of the firewall rule group association.
  1266. */
  1267. Arn?: Arn;
  1268. /**
  1269. * The unique identifier of the firewall rule group.
  1270. */
  1271. FirewallRuleGroupId?: ResourceId;
  1272. /**
  1273. * The unique identifier of the VPC that is associated with the rule group.
  1274. */
  1275. VpcId?: ResourceId;
  1276. /**
  1277. * The name of the association.
  1278. */
  1279. Name?: Name;
  1280. /**
  1281. * The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC. DNS Firewall filters VPC traffic starting from rule group with the lowest numeric priority setting.
  1282. */
  1283. Priority?: Priority;
  1284. /**
  1285. * If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.
  1286. */
  1287. MutationProtection?: MutationProtectionStatus;
  1288. /**
  1289. * The owner of the association, used only for associations that are not managed by you. If you use Firewall Manager to manage your DNS Firewalls, then this reports Firewall Manager as the managed owner.
  1290. */
  1291. ManagedOwnerName?: ServicePrinciple;
  1292. /**
  1293. * The current status of the association.
  1294. */
  1295. Status?: FirewallRuleGroupAssociationStatus;
  1296. /**
  1297. * Additional information about the status of the response, if available.
  1298. */
  1299. StatusMessage?: StatusMessage;
  1300. /**
  1301. * A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
  1302. */
  1303. CreatorRequestId?: CreatorRequestId;
  1304. /**
  1305. * The date and time that the association was created, in Unix time format and Coordinated Universal Time (UTC).
  1306. */
  1307. CreationTime?: Rfc3339TimeString;
  1308. /**
  1309. * The date and time that the association was last modified, in Unix time format and Coordinated Universal Time (UTC).
  1310. */
  1311. ModificationTime?: Rfc3339TimeString;
  1312. }
  1313. export type FirewallRuleGroupAssociationStatus = "COMPLETE"|"DELETING"|"UPDATING"|string;
  1314. export type FirewallRuleGroupAssociations = FirewallRuleGroupAssociation[];
  1315. export interface FirewallRuleGroupMetadata {
  1316. /**
  1317. * The ID of the rule group.
  1318. */
  1319. Id?: ResourceId;
  1320. /**
  1321. * The ARN (Amazon Resource Name) of the rule group.
  1322. */
  1323. Arn?: Arn;
  1324. /**
  1325. * The name of the rule group.
  1326. */
  1327. Name?: Name;
  1328. /**
  1329. * The Amazon Web Services account ID for the account that created the rule group. When a rule group is shared with your account, this is the account that has shared the rule group with you.
  1330. */
  1331. OwnerId?: AccountId;
  1332. /**
  1333. * A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
  1334. */
  1335. CreatorRequestId?: CreatorRequestId;
  1336. /**
  1337. * Whether the rule group is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM).
  1338. */
  1339. ShareStatus?: ShareStatus;
  1340. }
  1341. export type FirewallRuleGroupMetadataList = FirewallRuleGroupMetadata[];
  1342. export type FirewallRuleGroupPolicy = string;
  1343. export type FirewallRuleGroupStatus = "COMPLETE"|"DELETING"|"UPDATING"|string;
  1344. export type FirewallRules = FirewallRule[];
  1345. export interface GetFirewallConfigRequest {
  1346. /**
  1347. * The ID of the VPC from Amazon VPC that the configuration is for.
  1348. */
  1349. ResourceId: ResourceId;
  1350. }
  1351. export interface GetFirewallConfigResponse {
  1352. /**
  1353. * Configuration of the firewall behavior provided by DNS Firewall for a single VPC from AmazonVPC.
  1354. */
  1355. FirewallConfig?: FirewallConfig;
  1356. }
  1357. export interface GetFirewallDomainListRequest {
  1358. /**
  1359. * The ID of the domain list.
  1360. */
  1361. FirewallDomainListId: ResourceId;
  1362. }
  1363. export interface GetFirewallDomainListResponse {
  1364. /**
  1365. * The domain list that you requested.
  1366. */
  1367. FirewallDomainList?: FirewallDomainList;
  1368. }
  1369. export interface GetFirewallRuleGroupAssociationRequest {
  1370. /**
  1371. * The identifier of the FirewallRuleGroupAssociation.
  1372. */
  1373. FirewallRuleGroupAssociationId: ResourceId;
  1374. }
  1375. export interface GetFirewallRuleGroupAssociationResponse {
  1376. /**
  1377. * The association that you requested.
  1378. */
  1379. FirewallRuleGroupAssociation?: FirewallRuleGroupAssociation;
  1380. }
  1381. export interface GetFirewallRuleGroupPolicyRequest {
  1382. /**
  1383. * The ARN (Amazon Resource Name) for the rule group.
  1384. */
  1385. Arn: Arn;
  1386. }
  1387. export interface GetFirewallRuleGroupPolicyResponse {
  1388. /**
  1389. * The Identity and Access Management (Amazon Web Services IAM) policy for sharing the specified rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).
  1390. */
  1391. FirewallRuleGroupPolicy?: FirewallRuleGroupPolicy;
  1392. }
  1393. export interface GetFirewallRuleGroupRequest {
  1394. /**
  1395. * The unique identifier of the firewall rule group.
  1396. */
  1397. FirewallRuleGroupId: ResourceId;
  1398. }
  1399. export interface GetFirewallRuleGroupResponse {
  1400. /**
  1401. * A collection of rules used to filter DNS network traffic.
  1402. */
  1403. FirewallRuleGroup?: FirewallRuleGroup;
  1404. }
  1405. export interface GetOutpostResolverRequest {
  1406. /**
  1407. * The ID of the Resolver on the Outpost.
  1408. */
  1409. Id: ResourceId;
  1410. }
  1411. export interface GetOutpostResolverResponse {
  1412. /**
  1413. * Information about the GetOutpostResolver request, including the status of the request.
  1414. */
  1415. OutpostResolver?: OutpostResolver;
  1416. }
  1417. export interface GetResolverConfigRequest {
  1418. /**
  1419. * Resource ID of the Amazon VPC that you want to get information about.
  1420. */
  1421. ResourceId: ResourceId;
  1422. }
  1423. export interface GetResolverConfigResponse {
  1424. /**
  1425. * Information about the behavior configuration of Route 53 Resolver behavior for the VPC you specified in the GetResolverConfig request.
  1426. */
  1427. ResolverConfig?: ResolverConfig;
  1428. }
  1429. export interface GetResolverDnssecConfigRequest {
  1430. /**
  1431. * The ID of the virtual private cloud (VPC) for the DNSSEC validation status.
  1432. */
  1433. ResourceId: ResourceId;
  1434. }
  1435. export interface GetResolverDnssecConfigResponse {
  1436. /**
  1437. * The information about a configuration for DNSSEC validation.
  1438. */
  1439. ResolverDNSSECConfig?: ResolverDnssecConfig;
  1440. }
  1441. export interface GetResolverEndpointRequest {
  1442. /**
  1443. * The ID of the Resolver endpoint that you want to get information about.
  1444. */
  1445. ResolverEndpointId: ResourceId;
  1446. }
  1447. export interface GetResolverEndpointResponse {
  1448. /**
  1449. * Information about the Resolver endpoint that you specified in a GetResolverEndpoint request.
  1450. */
  1451. ResolverEndpoint?: ResolverEndpoint;
  1452. }
  1453. export interface GetResolverQueryLogConfigAssociationRequest {
  1454. /**
  1455. * The ID of the Resolver query logging configuration association that you want to get information about.
  1456. */
  1457. ResolverQueryLogConfigAssociationId: ResourceId;
  1458. }
  1459. export interface GetResolverQueryLogConfigAssociationResponse {
  1460. /**
  1461. * Information about the Resolver query logging configuration association that you specified in a GetQueryLogConfigAssociation request.
  1462. */
  1463. ResolverQueryLogConfigAssociation?: ResolverQueryLogConfigAssociation;
  1464. }
  1465. export interface GetResolverQueryLogConfigPolicyRequest {
  1466. /**
  1467. * The ARN of the query logging configuration that you want to get the query logging policy for.
  1468. */
  1469. Arn: Arn;
  1470. }
  1471. export interface GetResolverQueryLogConfigPolicyResponse {
  1472. /**
  1473. * Information about the query logging policy for the query logging configuration that you specified in a GetResolverQueryLogConfigPolicy request.
  1474. */
  1475. ResolverQueryLogConfigPolicy?: ResolverQueryLogConfigPolicy;
  1476. }
  1477. export interface GetResolverQueryLogConfigRequest {
  1478. /**
  1479. * The ID of the Resolver query logging configuration that you want to get information about.
  1480. */
  1481. ResolverQueryLogConfigId: ResourceId;
  1482. }
  1483. export interface GetResolverQueryLogConfigResponse {
  1484. /**
  1485. * Information about the Resolver query logging configuration that you specified in a GetQueryLogConfig request.
  1486. */
  1487. ResolverQueryLogConfig?: ResolverQueryLogConfig;
  1488. }
  1489. export interface GetResolverRuleAssociationRequest {
  1490. /**
  1491. * The ID of the Resolver rule association that you want to get information about.
  1492. */
  1493. ResolverRuleAssociationId: ResourceId;
  1494. }
  1495. export interface GetResolverRuleAssociationResponse {
  1496. /**
  1497. * Information about the Resolver rule association that you specified in a GetResolverRuleAssociation request.
  1498. */
  1499. ResolverRuleAssociation?: ResolverRuleAssociation;
  1500. }
  1501. export interface GetResolverRulePolicyRequest {
  1502. /**
  1503. * The ID of the Resolver rule that you want to get the Resolver rule policy for.
  1504. */
  1505. Arn: Arn;
  1506. }
  1507. export interface GetResolverRulePolicyResponse {
  1508. /**
  1509. * The Resolver rule policy for the rule that you specified in a GetResolverRulePolicy request.
  1510. */
  1511. ResolverRulePolicy?: ResolverRulePolicy;
  1512. }
  1513. export interface GetResolverRuleRequest {
  1514. /**
  1515. * The ID of the Resolver rule that you want to get information about.
  1516. */
  1517. ResolverRuleId: ResourceId;
  1518. }
  1519. export interface GetResolverRuleResponse {
  1520. /**
  1521. * Information about the Resolver rule that you specified in a GetResolverRule request.
  1522. */
  1523. ResolverRule?: ResolverRule;
  1524. }
  1525. export interface ImportFirewallDomainsRequest {
  1526. /**
  1527. * The ID of the domain list that you want to modify with the import operation.
  1528. */
  1529. FirewallDomainListId: ResourceId;
  1530. /**
  1531. * What you want DNS Firewall to do with the domains that are listed in the file. This must be set to REPLACE, which updates the domain list to exactly match the list in the file.
  1532. */
  1533. Operation: FirewallDomainImportOperation;
  1534. /**
  1535. * The fully qualified URL or URI of the file stored in Amazon Simple Storage Service (Amazon S3) that contains the list of domains to import. The file must be in an S3 bucket that's in the same Region as your DNS Firewall. The file must be a text file and must contain a single domain per line.
  1536. */
  1537. DomainFileUrl: DomainListFileUrl;
  1538. }
  1539. export interface ImportFirewallDomainsResponse {
  1540. /**
  1541. * The Id of the firewall domain list that DNS Firewall just updated.
  1542. */
  1543. Id?: ResourceId;
  1544. /**
  1545. * The name of the domain list.
  1546. */
  1547. Name?: Name;
  1548. /**
  1549. * Status of the import request.
  1550. */
  1551. Status?: FirewallDomainListStatus;
  1552. /**
  1553. * Additional information about the status of the list, if available.
  1554. */
  1555. StatusMessage?: StatusMessage;
  1556. }
  1557. export type InstanceCount = number;
  1558. export type Ip = string;
  1559. export type IpAddressCount = number;
  1560. export interface IpAddressRequest {
  1561. /**
  1562. * The ID of the subnet that contains the IP address.
  1563. */
  1564. SubnetId: SubnetId;
  1565. /**
  1566. * The IPv4 address that you want to use for DNS queries.
  1567. */
  1568. Ip?: Ip;
  1569. /**
  1570. * The IPv6 address that you want to use for DNS queries.
  1571. */
  1572. Ipv6?: Ipv6;
  1573. }
  1574. export interface IpAddressResponse {
  1575. /**
  1576. * The ID of one IP address.
  1577. */
  1578. IpId?: ResourceId;
  1579. /**
  1580. * The ID of one subnet.
  1581. */
  1582. SubnetId?: SubnetId;
  1583. /**
  1584. * One IPv4 address that the Resolver endpoint uses for DNS queries.
  1585. */
  1586. Ip?: Ip;
  1587. /**
  1588. * One IPv6 address that the Resolver endpoint uses for DNS queries.
  1589. */
  1590. Ipv6?: Ipv6;
  1591. /**
  1592. * A status code that gives the current status of the request.
  1593. */
  1594. Status?: IpAddressStatus;
  1595. /**
  1596. * A message that provides additional information about the status of the request.
  1597. */
  1598. StatusMessage?: StatusMessage;
  1599. /**
  1600. * The date and time that the IP address was created, in Unix time format and Coordinated Universal Time (UTC).
  1601. */
  1602. CreationTime?: Rfc3339TimeString;
  1603. /**
  1604. * The date and time that the IP address was last modified, in Unix time format and Coordinated Universal Time (UTC).
  1605. */
  1606. ModificationTime?: Rfc3339TimeString;
  1607. }
  1608. export type IpAddressStatus = "CREATING"|"FAILED_CREATION"|"ATTACHING"|"ATTACHED"|"REMAP_DETACHING"|"REMAP_ATTACHING"|"DETACHING"|"FAILED_RESOURCE_GONE"|"DELETING"|"DELETE_FAILED_FAS_EXPIRED"|"UPDATING"|"UPDATE_FAILED"|string;
  1609. export interface IpAddressUpdate {
  1610. /**
  1611. * Only when removing an IP address from a Resolver endpoint: The ID of the IP address that you want to remove. To get this ID, use GetResolverEndpoint.
  1612. */
  1613. IpId?: ResourceId;
  1614. /**
  1615. * The ID of the subnet that includes the IP address that you want to update. To get this ID, use GetResolverEndpoint.
  1616. */
  1617. SubnetId?: SubnetId;
  1618. /**
  1619. * The new IPv4 address.
  1620. */
  1621. Ip?: Ip;
  1622. /**
  1623. * The new IPv6 address.
  1624. */
  1625. Ipv6?: Ipv6;
  1626. }
  1627. export type IpAddressesRequest = IpAddressRequest[];
  1628. export type IpAddressesResponse = IpAddressResponse[];
  1629. export type Ipv6 = string;
  1630. export type ListDomainMaxResults = number;
  1631. export type ListFirewallConfigsMaxResult = number;
  1632. export interface ListFirewallConfigsRequest {
  1633. /**
  1634. * The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a NextToken value that you can use in a subsequent call to get the next batch of objects. If you don't specify a value for MaxResults, Resolver returns up to 100 objects.
  1635. */
  1636. MaxResults?: ListFirewallConfigsMaxResult;
  1637. /**
  1638. * For the first call to this list request, omit this value. When you request a list of objects, Resolver returns at most the number of objects specified in MaxResults. If more objects are available for retrieval, Resolver returns a NextToken value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.
  1639. */
  1640. NextToken?: NextToken;
  1641. }
  1642. export interface ListFirewallConfigsResponse {
  1643. /**
  1644. * If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
  1645. */
  1646. NextToken?: NextToken;
  1647. /**
  1648. * The configurations for the firewall behavior provided by DNS Firewall for VPCs from Amazon Virtual Private Cloud (Amazon VPC).
  1649. */
  1650. FirewallConfigs?: FirewallConfigList;
  1651. }
  1652. export interface ListFirewallDomainListsRequest {
  1653. /**
  1654. * The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a NextToken value that you can use in a subsequent call to get the next batch of objects. If you don't specify a value for MaxResults, Resolver returns up to 100 objects.
  1655. */
  1656. MaxResults?: MaxResults;
  1657. /**
  1658. * For the first call to this list request, omit this value. When you request a list of objects, Resolver returns at most the number of objects specified in MaxResults. If more objects are available for retrieval, Resolver returns a NextToken value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.
  1659. */
  1660. NextToken?: NextToken;
  1661. }
  1662. export interface ListFirewallDomainListsResponse {
  1663. /**
  1664. * If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
  1665. */
  1666. NextToken?: NextToken;
  1667. /**
  1668. * A list of the domain lists that you have defined. This might be a partial list of the domain lists that you've defined. For information, see MaxResults.
  1669. */
  1670. FirewallDomainLists?: FirewallDomainListMetadataList;
  1671. }
  1672. export interface ListFirewallDomainsRequest {
  1673. /**
  1674. * The ID of the domain list whose domains you want to retrieve.
  1675. */
  1676. FirewallDomainListId: ResourceId;
  1677. /**
  1678. * The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a NextToken value that you can use in a subsequent call to get the next batch of objects. If you don't specify a value for MaxResults, Resolver returns up to 100 objects.
  1679. */
  1680. MaxResults?: ListDomainMaxResults;
  1681. /**
  1682. * For the first call to this list request, omit this value. When you request a list of objects, Resolver returns at most the number of objects specified in MaxResults. If more objects are available for retrieval, Resolver returns a NextToken value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.
  1683. */
  1684. NextToken?: NextToken;
  1685. }
  1686. export interface ListFirewallDomainsResponse {
  1687. /**
  1688. * If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
  1689. */
  1690. NextToken?: NextToken;
  1691. /**
  1692. * A list of the domains in the firewall domain list. This might be a partial list of the domains that you've defined in the domain list. For information, see MaxResults.
  1693. */
  1694. Domains?: FirewallDomains;
  1695. }
  1696. export interface ListFirewallRuleGroupAssociationsRequest {
  1697. /**
  1698. * The unique identifier of the firewall rule group that you want to retrieve the associations for. Leave this blank to retrieve associations for any rule group.
  1699. */
  1700. FirewallRuleGroupId?: ResourceId;
  1701. /**
  1702. * The unique identifier of the VPC that you want to retrieve the associations for. Leave this blank to retrieve associations for any VPC.
  1703. */
  1704. VpcId?: ResourceId;
  1705. /**
  1706. * The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting.
  1707. */
  1708. Priority?: Priority;
  1709. /**
  1710. * The association Status setting that you want DNS Firewall to filter on for the list. If you don't specify this, then DNS Firewall returns all associations, regardless of status.
  1711. */
  1712. Status?: FirewallRuleGroupAssociationStatus;
  1713. /**
  1714. * The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a NextToken value that you can use in a subsequent call to get the next batch of objects. If you don't specify a value for MaxResults, Resolver returns up to 100 objects.
  1715. */
  1716. MaxResults?: MaxResults;
  1717. /**
  1718. * For the first call to this list request, omit this value. When you request a list of objects, Resolver returns at most the number of objects specified in MaxResults. If more objects are available for retrieval, Resolver returns a NextToken value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.
  1719. */
  1720. NextToken?: NextToken;
  1721. }
  1722. export interface ListFirewallRuleGroupAssociationsResponse {
  1723. /**
  1724. * If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
  1725. */
  1726. NextToken?: NextToken;
  1727. /**
  1728. * A list of your firewall rule group associations. This might be a partial list of the associations that you have defined. For information, see MaxResults.
  1729. */
  1730. FirewallRuleGroupAssociations?: FirewallRuleGroupAssociations;
  1731. }
  1732. export interface ListFirewallRuleGroupsRequest {
  1733. /**
  1734. * The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a NextToken value that you can use in a subsequent call to get the next batch of objects. If you don't specify a value for MaxResults, Resolver returns up to 100 objects.
  1735. */
  1736. MaxResults?: MaxResults;
  1737. /**
  1738. * For the first call to this list request, omit this value. When you request a list of objects, Resolver returns at most the number of objects specified in MaxResults. If more objects are available for retrieval, Resolver returns a NextToken value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.
  1739. */
  1740. NextToken?: NextToken;
  1741. }
  1742. export interface ListFirewallRuleGroupsResponse {
  1743. /**
  1744. * If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
  1745. */
  1746. NextToken?: NextToken;
  1747. /**
  1748. * A list of your firewall rule groups. This might be a partial list of the rule groups that you have defined. For information, see MaxResults.
  1749. */
  1750. FirewallRuleGroups?: FirewallRuleGroupMetadataList;
  1751. }
  1752. export interface ListFirewallRulesRequest {
  1753. /**
  1754. * The unique identifier of the firewall rule group that you want to retrieve the rules for.
  1755. */
  1756. FirewallRuleGroupId: ResourceId;
  1757. /**
  1758. * Optional additional filter for the rules to retrieve. The setting that determines the processing order of the rules in a rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.
  1759. */
  1760. Priority?: Priority;
  1761. /**
  1762. * Optional additional filter for the rules to retrieve. The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list: ALLOW - Permit the request to go through. ALERT - Permit the request to go through but send an alert to the logs. BLOCK - Disallow the request. If this is specified, additional handling details are provided in the rule's BlockResponse setting.
  1763. */
  1764. Action?: Action;
  1765. /**
  1766. * The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a NextToken value that you can use in a subsequent call to get the next batch of objects. If you don't specify a value for MaxResults, Resolver returns up to 100 objects.
  1767. */
  1768. MaxResults?: MaxResults;
  1769. /**
  1770. * For the first call to this list request, omit this value. When you request a list of objects, Resolver returns at most the number of objects specified in MaxResults. If more objects are available for retrieval, Resolver returns a NextToken value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.
  1771. */
  1772. NextToken?: NextToken;
  1773. }
  1774. export interface ListFirewallRulesResponse {
  1775. /**
  1776. * If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
  1777. */
  1778. NextToken?: NextToken;
  1779. /**
  1780. * A list of the rules that you have defined. This might be a partial list of the firewall rules that you've defined. For information, see MaxResults.
  1781. */
  1782. FirewallRules?: FirewallRules;
  1783. }
  1784. export interface ListOutpostResolversRequest {
  1785. /**
  1786. * The Amazon Resource Name (ARN) of the Outpost.
  1787. */
  1788. OutpostArn?: OutpostArn;
  1789. /**
  1790. * The maximum number of Resolvers on the Outpost that you want to return in the response to a ListOutpostResolver request. If you don't specify a value for MaxResults, the request returns up to 100 Resolvers.
  1791. */
  1792. MaxResults?: MaxResults;
  1793. /**
  1794. * For the first ListOutpostResolver request, omit this value.
  1795. */
  1796. NextToken?: NextToken;
  1797. }
  1798. export interface ListOutpostResolversResponse {
  1799. /**
  1800. * The Resolvers on Outposts that were created by using the current Amazon Web Services account, and that match the specified filters, if any.
  1801. */
  1802. OutpostResolvers?: OutpostResolverList;
  1803. /**
  1804. * If more than MaxResults Resolvers match the specified criteria, you can submit another ListOutpostResolver request to get the next group of results. In the next request, specify the value of NextToken from the previous response.
  1805. */
  1806. NextToken?: NextToken;
  1807. }
  1808. export type ListResolverConfigsMaxResult = number;
  1809. export interface ListResolverConfigsRequest {
  1810. /**
  1811. * The maximum number of Resolver configurations that you want to return in the response to a ListResolverConfigs request. If you don't specify a value for MaxResults, up to 100 Resolver configurations are returned.
  1812. */
  1813. MaxResults?: ListResolverConfigsMaxResult;
  1814. /**
  1815. * (Optional) If the current Amazon Web Services account has more than MaxResults Resolver configurations, use NextToken to get the second and subsequent pages of results. For the first ListResolverConfigs request, omit this value. For the second and subsequent requests, get the value of NextToken from the previous response and specify that value for NextToken in the request.
  1816. */
  1817. NextToken?: NextToken;
  1818. }
  1819. export interface ListResolverConfigsResponse {
  1820. /**
  1821. * If a response includes the last of the Resolver configurations that are associated with the current Amazon Web Services account, NextToken doesn't appear in the response. If a response doesn't include the last of the configurations, you can get more configurations by submitting another ListResolverConfigs request. Get the value of NextToken that Amazon Route 53 returned in the previous response and include it in NextToken in the next request.
  1822. */
  1823. NextToken?: NextToken;
  1824. /**
  1825. * An array that contains one ResolverConfigs element for each Resolver configuration that is associated with the current Amazon Web Services account.
  1826. */
  1827. ResolverConfigs?: ResolverConfigList;
  1828. }
  1829. export interface ListResolverDnssecConfigsRequest {
  1830. /**
  1831. * Optional: An integer that specifies the maximum number of DNSSEC configuration results that you want Amazon Route 53 to return. If you don't specify a value for MaxResults, Route 53 returns up to 100 configuration per page.
  1832. */
  1833. MaxResults?: MaxResults;
  1834. /**
  1835. * (Optional) If the current Amazon Web Services account has more than MaxResults DNSSEC configurations, use NextToken to get the second and subsequent pages of results. For the first ListResolverDnssecConfigs request, omit this value. For the second and subsequent requests, get the value of NextToken from the previous response and specify that value for NextToken in the request.
  1836. */
  1837. NextToken?: NextToken;
  1838. /**
  1839. * An optional specification to return a subset of objects.
  1840. */
  1841. Filters?: Filters;
  1842. }
  1843. export interface ListResolverDnssecConfigsResponse {
  1844. /**
  1845. * If a response includes the last of the DNSSEC configurations that are associated with the current Amazon Web Services account, NextToken doesn't appear in the response. If a response doesn't include the last of the configurations, you can get more configurations by submitting another ListResolverDnssecConfigs request. Get the value of NextToken that Amazon Route 53 returned in the previous response and include it in NextToken in the next request.
  1846. */
  1847. NextToken?: NextToken;
  1848. /**
  1849. * An array that contains one ResolverDnssecConfig element for each configuration for DNSSEC validation that is associated with the current Amazon Web Services account. It doesn't contain disabled DNSSEC configurations for the resource.
  1850. */
  1851. ResolverDnssecConfigs?: ResolverDnssecConfigList;
  1852. }
  1853. export interface ListResolverEndpointIpAddressesRequest {
  1854. /**
  1855. * The ID of the Resolver endpoint that you want to get IP addresses for.
  1856. */
  1857. ResolverEndpointId: ResourceId;
  1858. /**
  1859. * The maximum number of IP addresses that you want to return in the response to a ListResolverEndpointIpAddresses request. If you don't specify a value for MaxResults, Resolver returns up to 100 IP addresses.
  1860. */
  1861. MaxResults?: MaxResults;
  1862. /**
  1863. * For the first ListResolverEndpointIpAddresses request, omit this value. If the specified Resolver endpoint has more than MaxResults IP addresses, you can submit another ListResolverEndpointIpAddresses request to get the next group of IP addresses. In the next request, specify the value of NextToken from the previous response.
  1864. */
  1865. NextToken?: NextToken;
  1866. }
  1867. export interface ListResolverEndpointIpAddressesResponse {
  1868. /**
  1869. * If the specified endpoint has more than MaxResults IP addresses, you can submit another ListResolverEndpointIpAddresses request to get the next group of IP addresses. In the next request, specify the value of NextToken from the previous response.
  1870. */
  1871. NextToken?: NextToken;
  1872. /**
  1873. * The value that you specified for MaxResults in the request.
  1874. */
  1875. MaxResults?: MaxResults;
  1876. /**
  1877. * Information about the IP addresses in your VPC that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints).
  1878. */
  1879. IpAddresses?: IpAddressesResponse;
  1880. }
  1881. export interface ListResolverEndpointsRequest {
  1882. /**
  1883. * The maximum number of Resolver endpoints that you want to return in the response to a ListResolverEndpoints request. If you don't specify a value for MaxResults, Resolver returns up to 100 Resolver endpoints.
  1884. */
  1885. MaxResults?: MaxResults;
  1886. /**
  1887. * For the first ListResolverEndpoints request, omit this value. If you have more than MaxResults Resolver endpoints, you can submit another ListResolverEndpoints request to get the next group of Resolver endpoints. In the next request, specify the value of NextToken from the previous response.
  1888. */
  1889. NextToken?: NextToken;
  1890. /**
  1891. * An optional specification to return a subset of Resolver endpoints, such as all inbound Resolver endpoints. If you submit a second or subsequent ListResolverEndpoints request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request.
  1892. */
  1893. Filters?: Filters;
  1894. }
  1895. export interface ListResolverEndpointsResponse {
  1896. /**
  1897. * If more than MaxResults IP addresses match the specified criteria, you can submit another ListResolverEndpoint request to get the next group of results. In the next request, specify the value of NextToken from the previous response.
  1898. */
  1899. NextToken?: NextToken;
  1900. /**
  1901. * The value that you specified for MaxResults in the request.
  1902. */
  1903. MaxResults?: MaxResults;
  1904. /**
  1905. * The Resolver endpoints that were created by using the current Amazon Web Services account, and that match the specified filters, if any.
  1906. */
  1907. ResolverEndpoints?: ResolverEndpoints;
  1908. }
  1909. export interface ListResolverQueryLogConfigAssociationsRequest {
  1910. /**
  1911. * The maximum number of query logging associations that you want to return in the response to a ListResolverQueryLogConfigAssociations request. If you don't specify a value for MaxResults, Resolver returns up to 100 query logging associations.
  1912. */
  1913. MaxResults?: MaxResults;
  1914. /**
  1915. * For the first ListResolverQueryLogConfigAssociations request, omit this value. If there are more than MaxResults query logging associations that match the values that you specify for Filters, you can submit another ListResolverQueryLogConfigAssociations request to get the next group of associations. In the next request, specify the value of NextToken from the previous response.
  1916. */
  1917. NextToken?: NextToken;
  1918. /**
  1919. * An optional specification to return a subset of query logging associations. If you submit a second or subsequent ListResolverQueryLogConfigAssociations request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request.
  1920. */
  1921. Filters?: Filters;
  1922. /**
  1923. * The element that you want Resolver to sort query logging associations by. If you submit a second or subsequent ListResolverQueryLogConfigAssociations request and specify the NextToken parameter, you must use the same value for SortBy, if any, as in the previous request. Valid values include the following elements: CreationTime: The ID of the query logging association. Error: If the value of Status is FAILED, the value of Error indicates the cause: DESTINATION_NOT_FOUND: The specified destination (for example, an Amazon S3 bucket) was deleted. ACCESS_DENIED: Permissions don't allow sending logs to the destination. If Status is a value other than FAILED, ERROR is null. Id: The ID of the query logging association ResolverQueryLogConfigId: The ID of the query logging configuration ResourceId: The ID of the VPC that is associated with the query logging configuration Status: The current status of the configuration. Valid values include the following: CREATING: Resolver is creating an association between an Amazon VPC and a query logging configuration. CREATED: The association between an Amazon VPC and a query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. DELETING: Resolver is deleting this query logging association. FAILED: Resolver either couldn't create or couldn't delete the query logging association. Here are two common causes: The specified destination (for example, an Amazon S3 bucket) was deleted. Permissions don't allow sending logs to the destination.
  1924. */
  1925. SortBy?: SortByKey;
  1926. /**
  1927. * If you specified a value for SortBy, the order that you want query logging associations to be listed in, ASCENDING or DESCENDING. If you submit a second or subsequent ListResolverQueryLogConfigAssociations request and specify the NextToken parameter, you must use the same value for SortOrder, if any, as in the previous request.
  1928. */
  1929. SortOrder?: SortOrder;
  1930. }
  1931. export interface ListResolverQueryLogConfigAssociationsResponse {
  1932. /**
  1933. * If there are more than MaxResults query logging associations, you can submit another ListResolverQueryLogConfigAssociations request to get the next group of associations. In the next request, specify the value of NextToken from the previous response.
  1934. */
  1935. NextToken?: NextToken;
  1936. /**
  1937. * The total number of query logging associations that were created by the current account in the specified Region. This count can differ from the number of associations that are returned in a ListResolverQueryLogConfigAssociations response, depending on the values that you specify in the request.
  1938. */
  1939. TotalCount?: Count;
  1940. /**
  1941. * The total number of query logging associations that were created by the current account in the specified Region and that match the filters that were specified in the ListResolverQueryLogConfigAssociations request. For the total number of associations that were created by the current account in the specified Region, see TotalCount.
  1942. */
  1943. TotalFilteredCount?: Count;
  1944. /**
  1945. * A list that contains one ResolverQueryLogConfigAssociations element for each query logging association that matches the values that you specified for Filter.
  1946. */
  1947. ResolverQueryLogConfigAssociations?: ResolverQueryLogConfigAssociationList;
  1948. }
  1949. export interface ListResolverQueryLogConfigsRequest {
  1950. /**
  1951. * The maximum number of query logging configurations that you want to return in the response to a ListResolverQueryLogConfigs request. If you don't specify a value for MaxResults, Resolver returns up to 100 query logging configurations.
  1952. */
  1953. MaxResults?: MaxResults;
  1954. /**
  1955. * For the first ListResolverQueryLogConfigs request, omit this value. If there are more than MaxResults query logging configurations that match the values that you specify for Filters, you can submit another ListResolverQueryLogConfigs request to get the next group of configurations. In the next request, specify the value of NextToken from the previous response.
  1956. */
  1957. NextToken?: NextToken;
  1958. /**
  1959. * An optional specification to return a subset of query logging configurations. If you submit a second or subsequent ListResolverQueryLogConfigs request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request.
  1960. */
  1961. Filters?: Filters;
  1962. /**
  1963. * The element that you want Resolver to sort query logging configurations by. If you submit a second or subsequent ListResolverQueryLogConfigs request and specify the NextToken parameter, you must use the same value for SortBy, if any, as in the previous request. Valid values include the following elements: Arn: The ARN of the query logging configuration AssociationCount: The number of VPCs that are associated with the specified configuration CreationTime: The date and time that Resolver returned when the configuration was created CreatorRequestId: The value that was specified for CreatorRequestId when the configuration was created DestinationArn: The location that logs are sent to Id: The ID of the configuration Name: The name of the configuration OwnerId: The Amazon Web Services account number of the account that created the configuration ShareStatus: Whether the configuration is shared with other Amazon Web Services accounts or shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM). Status: The current status of the configuration. Valid values include the following: CREATING: Resolver is creating the query logging configuration. CREATED: The query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. DELETING: Resolver is deleting this query logging configuration. FAILED: Resolver either couldn't create or couldn't delete the query logging configuration. Here are two common causes: The specified destination (for example, an Amazon S3 bucket) was deleted. Permissions don't allow sending logs to the destination.
  1964. */
  1965. SortBy?: SortByKey;
  1966. /**
  1967. * If you specified a value for SortBy, the order that you want query logging configurations to be listed in, ASCENDING or DESCENDING. If you submit a second or subsequent ListResolverQueryLogConfigs request and specify the NextToken parameter, you must use the same value for SortOrder, if any, as in the previous request.
  1968. */
  1969. SortOrder?: SortOrder;
  1970. }
  1971. export interface ListResolverQueryLogConfigsResponse {
  1972. /**
  1973. * If there are more than MaxResults query logging configurations, you can submit another ListResolverQueryLogConfigs request to get the next group of configurations. In the next request, specify the value of NextToken from the previous response.
  1974. */
  1975. NextToken?: NextToken;
  1976. /**
  1977. * The total number of query logging configurations that were created by the current account in the specified Region. This count can differ from the number of query logging configurations that are returned in a ListResolverQueryLogConfigs response, depending on the values that you specify in the request.
  1978. */
  1979. TotalCount?: Count;
  1980. /**
  1981. * The total number of query logging configurations that were created by the current account in the specified Region and that match the filters that were specified in the ListResolverQueryLogConfigs request. For the total number of query logging configurations that were created by the current account in the specified Region, see TotalCount.
  1982. */
  1983. TotalFilteredCount?: Count;
  1984. /**
  1985. * A list that contains one ResolverQueryLogConfig element for each query logging configuration that matches the values that you specified for Filter.
  1986. */
  1987. ResolverQueryLogConfigs?: ResolverQueryLogConfigList;
  1988. }
  1989. export interface ListResolverRuleAssociationsRequest {
  1990. /**
  1991. * The maximum number of rule associations that you want to return in the response to a ListResolverRuleAssociations request. If you don't specify a value for MaxResults, Resolver returns up to 100 rule associations.
  1992. */
  1993. MaxResults?: MaxResults;
  1994. /**
  1995. * For the first ListResolverRuleAssociation request, omit this value. If you have more than MaxResults rule associations, you can submit another ListResolverRuleAssociation request to get the next group of rule associations. In the next request, specify the value of NextToken from the previous response.
  1996. */
  1997. NextToken?: NextToken;
  1998. /**
  1999. * An optional specification to return a subset of Resolver rules, such as Resolver rules that are associated with the same VPC ID. If you submit a second or subsequent ListResolverRuleAssociations request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request.
  2000. */
  2001. Filters?: Filters;
  2002. }
  2003. export interface ListResolverRuleAssociationsResponse {
  2004. /**
  2005. * If more than MaxResults rule associations match the specified criteria, you can submit another ListResolverRuleAssociation request to get the next group of results. In the next request, specify the value of NextToken from the previous response.
  2006. */
  2007. NextToken?: NextToken;
  2008. /**
  2009. * The value that you specified for MaxResults in the request.
  2010. */
  2011. MaxResults?: MaxResults;
  2012. /**
  2013. * The associations that were created between Resolver rules and VPCs using the current Amazon Web Services account, and that match the specified filters, if any.
  2014. */
  2015. ResolverRuleAssociations?: ResolverRuleAssociations;
  2016. }
  2017. export interface ListResolverRulesRequest {
  2018. /**
  2019. * The maximum number of Resolver rules that you want to return in the response to a ListResolverRules request. If you don't specify a value for MaxResults, Resolver returns up to 100 Resolver rules.
  2020. */
  2021. MaxResults?: MaxResults;
  2022. /**
  2023. * For the first ListResolverRules request, omit this value. If you have more than MaxResults Resolver rules, you can submit another ListResolverRules request to get the next group of Resolver rules. In the next request, specify the value of NextToken from the previous response.
  2024. */
  2025. NextToken?: NextToken;
  2026. /**
  2027. * An optional specification to return a subset of Resolver rules, such as all Resolver rules that are associated with the same Resolver endpoint. If you submit a second or subsequent ListResolverRules request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request.
  2028. */
  2029. Filters?: Filters;
  2030. }
  2031. export interface ListResolverRulesResponse {
  2032. /**
  2033. * If more than MaxResults Resolver rules match the specified criteria, you can submit another ListResolverRules request to get the next group of results. In the next request, specify the value of NextToken from the previous response.
  2034. */
  2035. NextToken?: NextToken;
  2036. /**
  2037. * The value that you specified for MaxResults in the request.
  2038. */
  2039. MaxResults?: MaxResults;
  2040. /**
  2041. * The Resolver rules that were created using the current Amazon Web Services account and that match the specified filters, if any.
  2042. */
  2043. ResolverRules?: ResolverRules;
  2044. }
  2045. export interface ListTagsForResourceRequest {
  2046. /**
  2047. * The Amazon Resource Name (ARN) for the resource that you want to list tags for.
  2048. */
  2049. ResourceArn: Arn;
  2050. /**
  2051. * The maximum number of tags that you want to return in the response to a ListTagsForResource request. If you don't specify a value for MaxResults, Resolver returns up to 100 tags.
  2052. */
  2053. MaxResults?: MaxResults;
  2054. /**
  2055. * For the first ListTagsForResource request, omit this value. If you have more than MaxResults tags, you can submit another ListTagsForResource request to get the next group of tags for the resource. In the next request, specify the value of NextToken from the previous response.
  2056. */
  2057. NextToken?: NextToken;
  2058. }
  2059. export interface ListTagsForResourceResponse {
  2060. /**
  2061. * The tags that are associated with the resource that you specified in the ListTagsForResource request.
  2062. */
  2063. Tags?: TagList;
  2064. /**
  2065. * If more than MaxResults tags match the specified criteria, you can submit another ListTagsForResource request to get the next group of results. In the next request, specify the value of NextToken from the previous response.
  2066. */
  2067. NextToken?: NextToken;
  2068. }
  2069. export type MaxResults = number;
  2070. export type MutationProtectionStatus = "ENABLED"|"DISABLED"|string;
  2071. export type Name = string;
  2072. export type NextToken = string;
  2073. export type OutpostArn = string;
  2074. export type OutpostInstanceType = string;
  2075. export interface OutpostResolver {
  2076. /**
  2077. * The ARN (Amazon Resource Name) for the Resolver on an Outpost.
  2078. */
  2079. Arn?: Arn;
  2080. /**
  2081. * The date and time that the Outpost Resolver was created, in Unix time format and Coordinated Universal Time (UTC).
  2082. */
  2083. CreationTime?: Rfc3339TimeString;
  2084. /**
  2085. * The date and time that the Outpost Resolver was modified, in Unix time format and Coordinated Universal Time (UTC).
  2086. */
  2087. ModificationTime?: Rfc3339TimeString;
  2088. /**
  2089. * A unique string that identifies the request that created the Resolver endpoint. The CreatorRequestId allows failed requests to be retried without the risk of running the operation twice.
  2090. */
  2091. CreatorRequestId?: CreatorRequestId;
  2092. /**
  2093. * The ID of the Resolver on Outpost.
  2094. */
  2095. Id?: ResourceId;
  2096. /**
  2097. * Amazon EC2 instance count for the Resolver on the Outpost.
  2098. */
  2099. InstanceCount?: InstanceCount;
  2100. /**
  2101. * The Amazon EC2 instance type.
  2102. */
  2103. PreferredInstanceType?: OutpostInstanceType;
  2104. /**
  2105. * Name of the Resolver.
  2106. */
  2107. Name?: OutpostResolverName;
  2108. /**
  2109. * Status of the Resolver.
  2110. */
  2111. Status?: OutpostResolverStatus;
  2112. /**
  2113. * A detailed description of the Resolver.
  2114. */
  2115. StatusMessage?: OutpostResolverStatusMessage;
  2116. /**
  2117. * The ARN (Amazon Resource Name) for the Outpost.
  2118. */
  2119. OutpostArn?: OutpostArn;
  2120. }
  2121. export type OutpostResolverList = OutpostResolver[];
  2122. export type OutpostResolverName = string;
  2123. export type OutpostResolverStatus = "CREATING"|"OPERATIONAL"|"UPDATING"|"DELETING"|"ACTION_NEEDED"|"FAILED_CREATION"|"FAILED_DELETION"|string;
  2124. export type OutpostResolverStatusMessage = string;
  2125. export type Port = number;
  2126. export type Priority = number;
  2127. export type Protocol = "DoH"|"Do53"|"DoH-FIPS"|string;
  2128. export type ProtocolList = Protocol[];
  2129. export interface PutFirewallRuleGroupPolicyRequest {
  2130. /**
  2131. * The ARN (Amazon Resource Name) for the rule group that you want to share.
  2132. */
  2133. Arn: Arn;
  2134. /**
  2135. * The Identity and Access Management (Amazon Web Services IAM) policy to attach to the rule group.
  2136. */
  2137. FirewallRuleGroupPolicy: FirewallRuleGroupPolicy;
  2138. }
  2139. export interface PutFirewallRuleGroupPolicyResponse {
  2140. /**
  2141. *
  2142. */
  2143. ReturnValue?: Boolean;
  2144. }
  2145. export interface PutResolverQueryLogConfigPolicyRequest {
  2146. /**
  2147. * The Amazon Resource Name (ARN) of the account that you want to share rules with.
  2148. */
  2149. Arn: Arn;
  2150. /**
  2151. * An Identity and Access Management policy statement that lists the query logging configurations that you want to share with another Amazon Web Services account and the operations that you want the account to be able to perform. You can specify the following operations in the Actions section of the statement: route53resolver:AssociateResolverQueryLogConfig route53resolver:DisassociateResolverQueryLogConfig route53resolver:ListResolverQueryLogConfigs In the Resource section of the statement, you specify the ARNs for the query logging configurations that you want to share with the account that you specified in Arn.
  2152. */
  2153. ResolverQueryLogConfigPolicy: ResolverQueryLogConfigPolicy;
  2154. }
  2155. export interface PutResolverQueryLogConfigPolicyResponse {
  2156. /**
  2157. * Whether the PutResolverQueryLogConfigPolicy request was successful.
  2158. */
  2159. ReturnValue?: Boolean;
  2160. }
  2161. export interface PutResolverRulePolicyRequest {
  2162. /**
  2163. * The Amazon Resource Name (ARN) of the rule that you want to share with another account.
  2164. */
  2165. Arn: Arn;
  2166. /**
  2167. * An Identity and Access Management policy statement that lists the rules that you want to share with another Amazon Web Services account and the operations that you want the account to be able to perform. You can specify the following operations in the Action section of the statement: route53resolver:GetResolverRule route53resolver:AssociateResolverRule route53resolver:DisassociateResolverRule route53resolver:ListResolverRules route53resolver:ListResolverRuleAssociations In the Resource section of the statement, specify the ARN for the rule that you want to share with another account. Specify the same ARN that you specified in Arn.
  2168. */
  2169. ResolverRulePolicy: ResolverRulePolicy;
  2170. }
  2171. export interface PutResolverRulePolicyResponse {
  2172. /**
  2173. * Whether the PutResolverRulePolicy request was successful.
  2174. */
  2175. ReturnValue?: Boolean;
  2176. }
  2177. export type Qtype = string;
  2178. export type ResolverAutodefinedReverseStatus = "ENABLING"|"ENABLED"|"DISABLING"|"DISABLED"|"UPDATING_TO_USE_LOCAL_RESOURCE_SETTING"|"USE_LOCAL_RESOURCE_SETTING"|string;
  2179. export interface ResolverConfig {
  2180. /**
  2181. * ID for the Resolver configuration.
  2182. */
  2183. Id?: ResourceId;
  2184. /**
  2185. * The ID of the Amazon Virtual Private Cloud VPC that you're configuring Resolver for.
  2186. */
  2187. ResourceId?: ResourceId;
  2188. /**
  2189. * The owner account ID of the Amazon Virtual Private Cloud VPC.
  2190. */
  2191. OwnerId?: AccountId;
  2192. /**
  2193. * The status of whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled by default. The status can be one of following: ENABLING: Autodefined rules for reverse DNS lookups are being enabled but are not complete. ENABLED: Autodefined rules for reverse DNS lookups are enabled. DISABLING: Autodefined rules for reverse DNS lookups are being disabled but are not complete. DISABLED: Autodefined rules for reverse DNS lookups are disabled.
  2194. */
  2195. AutodefinedReverse?: ResolverAutodefinedReverseStatus;
  2196. }
  2197. export type ResolverConfigList = ResolverConfig[];
  2198. export type ResolverDNSSECValidationStatus = "ENABLING"|"ENABLED"|"DISABLING"|"DISABLED"|"UPDATING_TO_USE_LOCAL_RESOURCE_SETTING"|"USE_LOCAL_RESOURCE_SETTING"|string;
  2199. export interface ResolverDnssecConfig {
  2200. /**
  2201. * The ID for a configuration for DNSSEC validation.
  2202. */
  2203. Id?: ResourceId;
  2204. /**
  2205. * The owner account ID of the virtual private cloud (VPC) for a configuration for DNSSEC validation.
  2206. */
  2207. OwnerId?: AccountId;
  2208. /**
  2209. * The ID of the virtual private cloud (VPC) that you're configuring the DNSSEC validation status for.
  2210. */
  2211. ResourceId?: ResourceId;
  2212. /**
  2213. * The validation status for a DNSSEC configuration. The status can be one of the following: ENABLING: DNSSEC validation is being enabled but is not complete. ENABLED: DNSSEC validation is enabled. DISABLING: DNSSEC validation is being disabled but is not complete. DISABLED DNSSEC validation is disabled.
  2214. */
  2215. ValidationStatus?: ResolverDNSSECValidationStatus;
  2216. }
  2217. export type ResolverDnssecConfigList = ResolverDnssecConfig[];
  2218. export interface ResolverEndpoint {
  2219. /**
  2220. * The ID of the Resolver endpoint.
  2221. */
  2222. Id?: ResourceId;
  2223. /**
  2224. * A unique string that identifies the request that created the Resolver endpoint. The CreatorRequestId allows failed requests to be retried without the risk of running the operation twice.
  2225. */
  2226. CreatorRequestId?: CreatorRequestId;
  2227. /**
  2228. * The ARN (Amazon Resource Name) for the Resolver endpoint.
  2229. */
  2230. Arn?: Arn;
  2231. /**
  2232. * The name that you assigned to the Resolver endpoint when you submitted a CreateResolverEndpoint request.
  2233. */
  2234. Name?: Name;
  2235. /**
  2236. * The ID of one or more security groups that control access to this VPC. The security group must include one or more inbound rules (for inbound endpoints) or outbound rules (for outbound endpoints). Inbound and outbound rules must allow TCP and UDP access. For inbound access, open port 53. For outbound access, open the port that you're using for DNS queries on your network.
  2237. */
  2238. SecurityGroupIds?: SecurityGroupIds;
  2239. /**
  2240. * Indicates whether the Resolver endpoint allows inbound or outbound DNS queries: INBOUND: allows DNS queries to your VPC from your network OUTBOUND: allows DNS queries from your VPC to your network
  2241. */
  2242. Direction?: ResolverEndpointDirection;
  2243. /**
  2244. * The number of IP addresses that the Resolver endpoint can use for DNS queries.
  2245. */
  2246. IpAddressCount?: IpAddressCount;
  2247. /**
  2248. * The ID of the VPC that you want to create the Resolver endpoint in.
  2249. */
  2250. HostVPCId?: ResourceId;
  2251. /**
  2252. * A code that specifies the current status of the Resolver endpoint. Valid values include the following: CREATING: Resolver is creating and configuring one or more Amazon VPC network interfaces for this endpoint. OPERATIONAL: The Amazon VPC network interfaces for this endpoint are correctly configured and able to pass inbound or outbound DNS queries between your network and Resolver. UPDATING: Resolver is associating or disassociating one or more network interfaces with this endpoint. AUTO_RECOVERING: Resolver is trying to recover one or more of the network interfaces that are associated with this endpoint. During the recovery process, the endpoint functions with limited capacity because of the limit on the number of DNS queries per IP address (per network interface). For the current limit, see Limits on Route 53 Resolver. ACTION_NEEDED: This endpoint is unhealthy, and Resolver can't automatically recover it. To resolve the problem, we recommend that you check each IP address that you associated with the endpoint. For each IP address that isn't available, add another IP address and then delete the IP address that isn't available. (An endpoint must always include at least two IP addresses.) A status of ACTION_NEEDED can have a variety of causes. Here are two common causes: One or more of the network interfaces that are associated with the endpoint were deleted using Amazon VPC. The network interface couldn't be created for some reason that's outside the control of Resolver. DELETING: Resolver is deleting this endpoint and the associated network interfaces.
  2253. */
  2254. Status?: ResolverEndpointStatus;
  2255. /**
  2256. * A detailed description of the status of the Resolver endpoint.
  2257. */
  2258. StatusMessage?: StatusMessage;
  2259. /**
  2260. * The date and time that the endpoint was created, in Unix time format and Coordinated Universal Time (UTC).
  2261. */
  2262. CreationTime?: Rfc3339TimeString;
  2263. /**
  2264. * The date and time that the endpoint was last modified, in Unix time format and Coordinated Universal Time (UTC).
  2265. */
  2266. ModificationTime?: Rfc3339TimeString;
  2267. /**
  2268. * The ARN (Amazon Resource Name) for the Outpost.
  2269. */
  2270. OutpostArn?: OutpostArn;
  2271. /**
  2272. * The Amazon EC2 instance type.
  2273. */
  2274. PreferredInstanceType?: OutpostInstanceType;
  2275. /**
  2276. * The Resolver endpoint IP address type.
  2277. */
  2278. ResolverEndpointType?: ResolverEndpointType;
  2279. /**
  2280. * Protocols used for the endpoint. DoH-FIPS is applicable for inbound endpoints only. For an inbound endpoint you can apply the protocols as follows: Do53 and DoH in combination. Do53 and DoH-FIPS in combination. Do53 alone. DoH alone. DoH-FIPS alone. None, which is treated as Do53. For an outbound endpoint you can apply the protocols as follows: Do53 and DoH in combination. Do53 alone. DoH alone. None, which is treated as Do53.
  2281. */
  2282. Protocols?: ProtocolList;
  2283. }
  2284. export type ResolverEndpointDirection = "INBOUND"|"OUTBOUND"|string;
  2285. export type ResolverEndpointStatus = "CREATING"|"OPERATIONAL"|"UPDATING"|"AUTO_RECOVERING"|"ACTION_NEEDED"|"DELETING"|string;
  2286. export type ResolverEndpointType = "IPV6"|"IPV4"|"DUALSTACK"|string;
  2287. export type ResolverEndpoints = ResolverEndpoint[];
  2288. export interface ResolverQueryLogConfig {
  2289. /**
  2290. * The ID for the query logging configuration.
  2291. */
  2292. Id?: ResourceId;
  2293. /**
  2294. * The Amazon Web Services account ID for the account that created the query logging configuration.
  2295. */
  2296. OwnerId?: AccountId;
  2297. /**
  2298. * The status of the specified query logging configuration. Valid values include the following: CREATING: Resolver is creating the query logging configuration. CREATED: The query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. DELETING: Resolver is deleting this query logging configuration. FAILED: Resolver can't deliver logs to the location that is specified in the query logging configuration. Here are two common causes: The specified destination (for example, an Amazon S3 bucket) was deleted. Permissions don't allow sending logs to the destination.
  2299. */
  2300. Status?: ResolverQueryLogConfigStatus;
  2301. /**
  2302. * An indication of whether the query logging configuration is shared with other Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (RAM).
  2303. */
  2304. ShareStatus?: ShareStatus;
  2305. /**
  2306. * The number of VPCs that are associated with the query logging configuration.
  2307. */
  2308. AssociationCount?: Count;
  2309. /**
  2310. * The ARN for the query logging configuration.
  2311. */
  2312. Arn?: Arn;
  2313. /**
  2314. * The name of the query logging configuration.
  2315. */
  2316. Name?: ResolverQueryLogConfigName;
  2317. /**
  2318. * The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream.
  2319. */
  2320. DestinationArn?: DestinationArn;
  2321. /**
  2322. * A unique string that identifies the request that created the query logging configuration. The CreatorRequestId allows failed requests to be retried without the risk of running the operation twice.
  2323. */
  2324. CreatorRequestId?: CreatorRequestId;
  2325. /**
  2326. * The date and time that the query logging configuration was created, in Unix time format and Coordinated Universal Time (UTC).
  2327. */
  2328. CreationTime?: Rfc3339TimeString;
  2329. }
  2330. export interface ResolverQueryLogConfigAssociation {
  2331. /**
  2332. * The ID of the query logging association.
  2333. */
  2334. Id?: ResourceId;
  2335. /**
  2336. * The ID of the query logging configuration that a VPC is associated with.
  2337. */
  2338. ResolverQueryLogConfigId?: ResourceId;
  2339. /**
  2340. * The ID of the Amazon VPC that is associated with the query logging configuration.
  2341. */
  2342. ResourceId?: ResourceId;
  2343. /**
  2344. * The status of the specified query logging association. Valid values include the following: CREATING: Resolver is creating an association between an Amazon VPC and a query logging configuration. CREATED: The association between an Amazon VPC and a query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. DELETING: Resolver is deleting this query logging association. FAILED: Resolver either couldn't create or couldn't delete the query logging association.
  2345. */
  2346. Status?: ResolverQueryLogConfigAssociationStatus;
  2347. /**
  2348. * If the value of Status is FAILED, the value of Error indicates the cause: DESTINATION_NOT_FOUND: The specified destination (for example, an Amazon S3 bucket) was deleted. ACCESS_DENIED: Permissions don't allow sending logs to the destination. If the value of Status is a value other than FAILED, Error is null.
  2349. */
  2350. Error?: ResolverQueryLogConfigAssociationError;
  2351. /**
  2352. * Contains additional information about the error. If the value or Error is null, the value of ErrorMessage also is null.
  2353. */
  2354. ErrorMessage?: ResolverQueryLogConfigAssociationErrorMessage;
  2355. /**
  2356. * The date and time that the VPC was associated with the query logging configuration, in Unix time format and Coordinated Universal Time (UTC).
  2357. */
  2358. CreationTime?: Rfc3339TimeString;
  2359. }
  2360. export type ResolverQueryLogConfigAssociationError = "NONE"|"DESTINATION_NOT_FOUND"|"ACCESS_DENIED"|"INTERNAL_SERVICE_ERROR"|string;
  2361. export type ResolverQueryLogConfigAssociationErrorMessage = string;
  2362. export type ResolverQueryLogConfigAssociationList = ResolverQueryLogConfigAssociation[];
  2363. export type ResolverQueryLogConfigAssociationStatus = "CREATING"|"ACTIVE"|"ACTION_NEEDED"|"DELETING"|"FAILED"|string;
  2364. export type ResolverQueryLogConfigList = ResolverQueryLogConfig[];
  2365. export type ResolverQueryLogConfigName = string;
  2366. export type ResolverQueryLogConfigPolicy = string;
  2367. export type ResolverQueryLogConfigStatus = "CREATING"|"CREATED"|"DELETING"|"FAILED"|string;
  2368. export interface ResolverRule {
  2369. /**
  2370. * The ID that Resolver assigned to the Resolver rule when you created it.
  2371. */
  2372. Id?: ResourceId;
  2373. /**
  2374. * A unique string that you specified when you created the Resolver rule. CreatorRequestId identifies the request and allows failed requests to be retried without the risk of running the operation twice.
  2375. */
  2376. CreatorRequestId?: CreatorRequestId;
  2377. /**
  2378. * The ARN (Amazon Resource Name) for the Resolver rule specified by Id.
  2379. */
  2380. Arn?: Arn;
  2381. /**
  2382. * DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps. If a query matches multiple Resolver rules (example.com and www.example.com), the query is routed using the Resolver rule that contains the most specific domain name (www.example.com).
  2383. */
  2384. DomainName?: DomainName;
  2385. /**
  2386. * A code that specifies the current status of the Resolver rule.
  2387. */
  2388. Status?: ResolverRuleStatus;
  2389. /**
  2390. * A detailed description of the status of a Resolver rule.
  2391. */
  2392. StatusMessage?: StatusMessage;
  2393. /**
  2394. * When you want to forward DNS queries for specified domain name to resolvers on your network, specify FORWARD. When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify SYSTEM. For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and specify FORWARD for RuleType. To then have Resolver process queries for apex.example.com, you create a rule and specify SYSTEM for RuleType. Currently, only Resolver can create rules that have a value of RECURSIVE for RuleType.
  2395. */
  2396. RuleType?: RuleTypeOption;
  2397. /**
  2398. * The name for the Resolver rule, which you specified when you created the Resolver rule.
  2399. */
  2400. Name?: Name;
  2401. /**
  2402. * An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers on your network.
  2403. */
  2404. TargetIps?: TargetList;
  2405. /**
  2406. * The ID of the endpoint that the rule is associated with.
  2407. */
  2408. ResolverEndpointId?: ResourceId;
  2409. /**
  2410. * When a rule is shared with another Amazon Web Services account, the account ID of the account that the rule is shared with.
  2411. */
  2412. OwnerId?: AccountId;
  2413. /**
  2414. * Whether the rule is shared and, if so, whether the current account is sharing the rule with another account, or another account is sharing the rule with the current account.
  2415. */
  2416. ShareStatus?: ShareStatus;
  2417. /**
  2418. * The date and time that the Resolver rule was created, in Unix time format and Coordinated Universal Time (UTC).
  2419. */
  2420. CreationTime?: Rfc3339TimeString;
  2421. /**
  2422. * The date and time that the Resolver rule was last updated, in Unix time format and Coordinated Universal Time (UTC).
  2423. */
  2424. ModificationTime?: Rfc3339TimeString;
  2425. }
  2426. export interface ResolverRuleAssociation {
  2427. /**
  2428. * The ID of the association between a Resolver rule and a VPC. Resolver assigns this value when you submit an AssociateResolverRule request.
  2429. */
  2430. Id?: ResourceId;
  2431. /**
  2432. * The ID of the Resolver rule that you associated with the VPC that is specified by VPCId.
  2433. */
  2434. ResolverRuleId?: ResourceId;
  2435. /**
  2436. * The name of an association between a Resolver rule and a VPC.
  2437. */
  2438. Name?: Name;
  2439. /**
  2440. * The ID of the VPC that you associated the Resolver rule with.
  2441. */
  2442. VPCId?: ResourceId;
  2443. /**
  2444. * A code that specifies the current status of the association between a Resolver rule and a VPC.
  2445. */
  2446. Status?: ResolverRuleAssociationStatus;
  2447. /**
  2448. * A detailed description of the status of the association between a Resolver rule and a VPC.
  2449. */
  2450. StatusMessage?: StatusMessage;
  2451. }
  2452. export type ResolverRuleAssociationStatus = "CREATING"|"COMPLETE"|"DELETING"|"FAILED"|"OVERRIDDEN"|string;
  2453. export type ResolverRuleAssociations = ResolverRuleAssociation[];
  2454. export interface ResolverRuleConfig {
  2455. /**
  2456. * The new name for the Resolver rule. The name that you specify appears in the Resolver dashboard in the Route 53 console.
  2457. */
  2458. Name?: Name;
  2459. /**
  2460. * For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.
  2461. */
  2462. TargetIps?: TargetList;
  2463. /**
  2464. * The ID of the new outbound Resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify in TargetIps.
  2465. */
  2466. ResolverEndpointId?: ResourceId;
  2467. }
  2468. export type ResolverRulePolicy = string;
  2469. export type ResolverRuleStatus = "COMPLETE"|"DELETING"|"UPDATING"|"FAILED"|string;
  2470. export type ResolverRules = ResolverRule[];
  2471. export type ResourceId = string;
  2472. export type Rfc3339TimeString = string;
  2473. export type RuleTypeOption = "FORWARD"|"SYSTEM"|"RECURSIVE"|string;
  2474. export type SecurityGroupIds = ResourceId[];
  2475. export type ServicePrinciple = string;
  2476. export type ShareStatus = "NOT_SHARED"|"SHARED_WITH_ME"|"SHARED_BY_ME"|string;
  2477. export type SortByKey = string;
  2478. export type SortOrder = "ASCENDING"|"DESCENDING"|string;
  2479. export type StatusMessage = string;
  2480. export type SubnetId = string;
  2481. export interface Tag {
  2482. /**
  2483. * The name for the tag. For example, if you want to associate Resolver resources with the account IDs of your customers for billing purposes, the value of Key might be account-id.
  2484. */
  2485. Key: TagKey;
  2486. /**
  2487. * The value for the tag. For example, if Key is account-id, then Value might be the ID of the customer account that you're creating the resource for.
  2488. */
  2489. Value: TagValue;
  2490. }
  2491. export type TagKey = string;
  2492. export type TagKeyList = TagKey[];
  2493. export type TagList = Tag[];
  2494. export interface TagResourceRequest {
  2495. /**
  2496. * The Amazon Resource Name (ARN) for the resource that you want to add tags to. To get the ARN for a resource, use the applicable Get or List command: GetResolverEndpoint GetResolverRule GetResolverRuleAssociation ListResolverEndpoints ListResolverRuleAssociations ListResolverRules
  2497. */
  2498. ResourceArn: Arn;
  2499. /**
  2500. * The tags that you want to add to the specified resource.
  2501. */
  2502. Tags: TagList;
  2503. }
  2504. export interface TagResourceResponse {
  2505. }
  2506. export type TagValue = string;
  2507. export interface TargetAddress {
  2508. /**
  2509. * One IPv4 address that you want to forward DNS queries to.
  2510. */
  2511. Ip?: Ip;
  2512. /**
  2513. * The port at Ip that you want to forward DNS queries to.
  2514. */
  2515. Port?: Port;
  2516. /**
  2517. * One IPv6 address that you want to forward DNS queries to.
  2518. */
  2519. Ipv6?: Ipv6;
  2520. /**
  2521. * The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only. For an inbound endpoint you can apply the protocols as follows: Do53 and DoH in combination. Do53 and DoH-FIPS in combination. Do53 alone. DoH alone. DoH-FIPS alone. None, which is treated as Do53. For an outbound endpoint you can apply the protocols as follows: Do53 and DoH in combination. Do53 alone. DoH alone. None, which is treated as Do53.
  2522. */
  2523. Protocol?: Protocol;
  2524. }
  2525. export type TargetList = TargetAddress[];
  2526. export type Unsigned = number;
  2527. export interface UntagResourceRequest {
  2528. /**
  2529. * The Amazon Resource Name (ARN) for the resource that you want to remove tags from. To get the ARN for a resource, use the applicable Get or List command: GetResolverEndpoint GetResolverRule GetResolverRuleAssociation ListResolverEndpoints ListResolverRuleAssociations ListResolverRules
  2530. */
  2531. ResourceArn: Arn;
  2532. /**
  2533. * The tags that you want to remove to the specified resource.
  2534. */
  2535. TagKeys: TagKeyList;
  2536. }
  2537. export interface UntagResourceResponse {
  2538. }
  2539. export interface UpdateFirewallConfigRequest {
  2540. /**
  2541. * The ID of the VPC that the configuration is for.
  2542. */
  2543. ResourceId: ResourceId;
  2544. /**
  2545. * Determines how Route 53 Resolver handles queries during failures, for example when all traffic that is sent to DNS Firewall fails to receive a reply. By default, fail open is disabled, which means the failure mode is closed. This approach favors security over availability. DNS Firewall blocks queries that it is unable to evaluate properly. If you enable this option, the failure mode is open. This approach favors availability over security. DNS Firewall allows queries to proceed if it is unable to properly evaluate them. This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
  2546. */
  2547. FirewallFailOpen: FirewallFailOpenStatus;
  2548. }
  2549. export interface UpdateFirewallConfigResponse {
  2550. /**
  2551. * Configuration of the firewall behavior provided by DNS Firewall for a single VPC.
  2552. */
  2553. FirewallConfig?: FirewallConfig;
  2554. }
  2555. export interface UpdateFirewallDomainsRequest {
  2556. /**
  2557. * The ID of the domain list whose domains you want to update.
  2558. */
  2559. FirewallDomainListId: ResourceId;
  2560. /**
  2561. * What you want DNS Firewall to do with the domains that you are providing: ADD - Add the domains to the ones that are already in the domain list. REMOVE - Search the domain list for the domains and remove them from the list. REPLACE - Update the domain list to exactly match the list that you are providing.
  2562. */
  2563. Operation: FirewallDomainUpdateOperation;
  2564. /**
  2565. * A list of domains to use in the update operation. There is a limit of 1000 domains per request. Each domain specification in your domain list must satisfy the following requirements: It can optionally start with * (asterisk). With the exception of the optional starting asterisk, it must only contain the following characters: A-Z, a-z, 0-9, - (hyphen). It must be from 1-255 characters in length.
  2566. */
  2567. Domains: FirewallDomains;
  2568. }
  2569. export interface UpdateFirewallDomainsResponse {
  2570. /**
  2571. * The ID of the firewall domain list that DNS Firewall just updated.
  2572. */
  2573. Id?: ResourceId;
  2574. /**
  2575. * The name of the domain list.
  2576. */
  2577. Name?: Name;
  2578. /**
  2579. * Status of the UpdateFirewallDomains request.
  2580. */
  2581. Status?: FirewallDomainListStatus;
  2582. /**
  2583. * Additional information about the status of the list, if available.
  2584. */
  2585. StatusMessage?: StatusMessage;
  2586. }
  2587. export interface UpdateFirewallRuleGroupAssociationRequest {
  2588. /**
  2589. * The identifier of the FirewallRuleGroupAssociation.
  2590. */
  2591. FirewallRuleGroupAssociationId: ResourceId;
  2592. /**
  2593. * The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting. You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for a rule group association after you create it.
  2594. */
  2595. Priority?: Priority;
  2596. /**
  2597. * If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.
  2598. */
  2599. MutationProtection?: MutationProtectionStatus;
  2600. /**
  2601. * The name of the rule group association.
  2602. */
  2603. Name?: Name;
  2604. }
  2605. export interface UpdateFirewallRuleGroupAssociationResponse {
  2606. /**
  2607. * The association that you just updated.
  2608. */
  2609. FirewallRuleGroupAssociation?: FirewallRuleGroupAssociation;
  2610. }
  2611. export interface UpdateFirewallRuleRequest {
  2612. /**
  2613. * The unique identifier of the firewall rule group for the rule.
  2614. */
  2615. FirewallRuleGroupId: ResourceId;
  2616. /**
  2617. * The ID of the domain list to use in the rule.
  2618. */
  2619. FirewallDomainListId: ResourceId;
  2620. /**
  2621. * The setting that determines the processing order of the rule in the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting. You must specify a unique priority for each rule in a rule group. To make it easier to insert rules later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for the rules in a rule group at any time.
  2622. */
  2623. Priority?: Priority;
  2624. /**
  2625. * The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list: ALLOW - Permit the request to go through. ALERT - Permit the request to go through but send an alert to the logs. BLOCK - Disallow the request. This option requires additional details in the rule's BlockResponse.
  2626. */
  2627. Action?: Action;
  2628. /**
  2629. * The way that you want DNS Firewall to block the request. Used for the rule action setting BLOCK. NODATA - Respond indicating that the query was successful, but no response is available for it. NXDOMAIN - Respond indicating that the domain name that's in the query doesn't exist. OVERRIDE - Provide a custom override in the response. This option requires custom handling details in the rule's BlockOverride* settings.
  2630. */
  2631. BlockResponse?: BlockResponse;
  2632. /**
  2633. * The custom DNS record to send back in response to the query. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.
  2634. */
  2635. BlockOverrideDomain?: BlockOverrideDomain;
  2636. /**
  2637. * The DNS record's type. This determines the format of the record value that you provided in BlockOverrideDomain. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.
  2638. */
  2639. BlockOverrideDnsType?: BlockOverrideDnsType;
  2640. /**
  2641. * The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.
  2642. */
  2643. BlockOverrideTtl?: BlockOverrideTtl;
  2644. /**
  2645. * The name of the rule.
  2646. */
  2647. Name?: Name;
  2648. /**
  2649. * How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. Inspect_Redirection_Domain (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. Trust_Redirection_Domain inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list.
  2650. */
  2651. FirewallDomainRedirectionAction?: FirewallDomainRedirectionAction;
  2652. /**
  2653. * The DNS query type you want the rule to evaluate. Allowed values are; A: Returns an IPv4 address. AAAA: Returns an Ipv6 address. CAA: Restricts CAs that can create SSL/TLS certifications for the domain. CNAME: Returns another domain name. DS: Record that identifies the DNSSEC signing key of a delegated zone. MX: Specifies mail servers. NAPTR: Regular-expression-based rewriting of domain names. NS: Authoritative name servers. PTR: Maps an IP address to a domain name. SOA: Start of authority record for the zone. SPF: Lists the servers authorized to send emails from a domain. SRV: Application specific values that identify servers. TXT: Verifies email senders and application-specific values. A query type you define by using the DNS type ID, for example 28 for AAAA. The values must be defined as TYPENUMBER, where the NUMBER can be 1-65334, for example, TYPE28. For more information, see List of DNS record types.
  2654. */
  2655. Qtype?: Qtype;
  2656. }
  2657. export interface UpdateFirewallRuleResponse {
  2658. /**
  2659. * The firewall rule that you just updated.
  2660. */
  2661. FirewallRule?: FirewallRule;
  2662. }
  2663. export interface UpdateIpAddress {
  2664. /**
  2665. * The ID of the IP address, specified by the ResolverEndpointId.
  2666. */
  2667. IpId: ResourceId;
  2668. /**
  2669. * The IPv6 address that you want to use for DNS queries.
  2670. */
  2671. Ipv6: Ipv6;
  2672. }
  2673. export type UpdateIpAddresses = UpdateIpAddress[];
  2674. export interface UpdateOutpostResolverRequest {
  2675. /**
  2676. * A unique string that identifies Resolver on an Outpost.
  2677. */
  2678. Id: ResourceId;
  2679. /**
  2680. * Name of the Resolver on the Outpost.
  2681. */
  2682. Name?: OutpostResolverName;
  2683. /**
  2684. * The Amazon EC2 instance count for a Resolver on the Outpost.
  2685. */
  2686. InstanceCount?: InstanceCount;
  2687. /**
  2688. * Amazon EC2 instance type.
  2689. */
  2690. PreferredInstanceType?: OutpostInstanceType;
  2691. }
  2692. export interface UpdateOutpostResolverResponse {
  2693. /**
  2694. * The response to an UpdateOutpostResolver request.
  2695. */
  2696. OutpostResolver?: OutpostResolver;
  2697. }
  2698. export interface UpdateResolverConfigRequest {
  2699. /**
  2700. * Resource ID of the Amazon VPC that you want to update the Resolver configuration for.
  2701. */
  2702. ResourceId: ResourceId;
  2703. /**
  2704. * Indicates whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled by default. Disabling this option will also affect EC2-Classic instances using ClassicLink. For more information, see ClassicLink in the Amazon EC2 guide. We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon EC2 guide and the blog EC2-Classic Networking is Retiring – Here’s How to Prepare. It can take some time for the status change to be completed.
  2705. */
  2706. AutodefinedReverseFlag: AutodefinedReverseFlag;
  2707. }
  2708. export interface UpdateResolverConfigResponse {
  2709. /**
  2710. * An array that contains settings for the specified Resolver configuration.
  2711. */
  2712. ResolverConfig?: ResolverConfig;
  2713. }
  2714. export interface UpdateResolverDnssecConfigRequest {
  2715. /**
  2716. * The ID of the virtual private cloud (VPC) that you're updating the DNSSEC validation status for.
  2717. */
  2718. ResourceId: ResourceId;
  2719. /**
  2720. * The new value that you are specifying for DNSSEC validation for the VPC. The value can be ENABLE or DISABLE. Be aware that it can take time for a validation status change to be completed.
  2721. */
  2722. Validation: Validation;
  2723. }
  2724. export interface UpdateResolverDnssecConfigResponse {
  2725. /**
  2726. * A complex type that contains settings for the specified DNSSEC configuration.
  2727. */
  2728. ResolverDNSSECConfig?: ResolverDnssecConfig;
  2729. }
  2730. export interface UpdateResolverEndpointRequest {
  2731. /**
  2732. * The ID of the Resolver endpoint that you want to update.
  2733. */
  2734. ResolverEndpointId: ResourceId;
  2735. /**
  2736. * The name of the Resolver endpoint that you want to update.
  2737. */
  2738. Name?: Name;
  2739. /**
  2740. * Specifies the endpoint type for what type of IP address the endpoint uses to forward DNS queries. Updating to IPV6 type isn't currently supported.
  2741. */
  2742. ResolverEndpointType?: ResolverEndpointType;
  2743. /**
  2744. * Specifies the IPv6 address when you update the Resolver endpoint from IPv4 to dual-stack. If you don't specify an IPv6 address, one will be automatically chosen from your subnet.
  2745. */
  2746. UpdateIpAddresses?: UpdateIpAddresses;
  2747. /**
  2748. * The protocols you want to use for the endpoint. DoH-FIPS is applicable for inbound endpoints only. For an inbound endpoint you can apply the protocols as follows: Do53 and DoH in combination. Do53 and DoH-FIPS in combination. Do53 alone. DoH alone. DoH-FIPS alone. None, which is treated as Do53. For an outbound endpoint you can apply the protocols as follows: Do53 and DoH in combination. Do53 alone. DoH alone. None, which is treated as Do53. You can't change the protocol of an inbound endpoint directly from only Do53 to only DoH, or DoH-FIPS. This is to prevent a sudden disruption to incoming traffic that relies on Do53. To change the protocol from Do53 to DoH, or DoH-FIPS, you must first enable both Do53 and DoH, or Do53 and DoH-FIPS, to make sure that all incoming traffic has transferred to using the DoH protocol, or DoH-FIPS, and then remove the Do53.
  2749. */
  2750. Protocols?: ProtocolList;
  2751. }
  2752. export interface UpdateResolverEndpointResponse {
  2753. /**
  2754. * The response to an UpdateResolverEndpoint request.
  2755. */
  2756. ResolverEndpoint?: ResolverEndpoint;
  2757. }
  2758. export interface UpdateResolverRuleRequest {
  2759. /**
  2760. * The ID of the Resolver rule that you want to update.
  2761. */
  2762. ResolverRuleId: ResourceId;
  2763. /**
  2764. * The new settings for the Resolver rule.
  2765. */
  2766. Config: ResolverRuleConfig;
  2767. }
  2768. export interface UpdateResolverRuleResponse {
  2769. /**
  2770. * The response to an UpdateResolverRule request.
  2771. */
  2772. ResolverRule?: ResolverRule;
  2773. }
  2774. export type Validation = "ENABLE"|"DISABLE"|"USE_LOCAL_RESOURCE_SETTING"|string;
  2775. /**
  2776. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  2777. */
  2778. export type apiVersion = "2018-04-01"|"latest"|string;
  2779. export interface ClientApiVersions {
  2780. /**
  2781. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  2782. */
  2783. apiVersion?: apiVersion;
  2784. }
  2785. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  2786. /**
  2787. * Contains interfaces for use with the Route53Resolver client.
  2788. */
  2789. export import Types = Route53Resolver;
  2790. }
  2791. export = Route53Resolver;