api.go 140 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376
  1. // THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
  2. // Package databasemigrationservice provides a client for AWS Database Migration Service.
  3. package databasemigrationservice
  4. import (
  5. "fmt"
  6. "time"
  7. "github.com/aws/aws-sdk-go/aws/awsutil"
  8. "github.com/aws/aws-sdk-go/aws/request"
  9. )
  10. const opAddTagsToResource = "AddTagsToResource"
  11. // AddTagsToResourceRequest generates a "aws/request.Request" representing the
  12. // client's request for the AddTagsToResource operation. The "output" return
  13. // value can be used to capture response data after the request's "Send" method
  14. // is called.
  15. //
  16. // Creating a request object using this method should be used when you want to inject
  17. // custom logic into the request's lifecycle using a custom handler, or if you want to
  18. // access properties on the request object before or after sending the request. If
  19. // you just want the service response, call the AddTagsToResource method directly
  20. // instead.
  21. //
  22. // Note: You must call the "Send" method on the returned request object in order
  23. // to execute the request.
  24. //
  25. // // Example sending a request using the AddTagsToResourceRequest method.
  26. // req, resp := client.AddTagsToResourceRequest(params)
  27. //
  28. // err := req.Send()
  29. // if err == nil { // resp is now filled
  30. // fmt.Println(resp)
  31. // }
  32. //
  33. func (c *DatabaseMigrationService) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput) {
  34. op := &request.Operation{
  35. Name: opAddTagsToResource,
  36. HTTPMethod: "POST",
  37. HTTPPath: "/",
  38. }
  39. if input == nil {
  40. input = &AddTagsToResourceInput{}
  41. }
  42. req = c.newRequest(op, input, output)
  43. output = &AddTagsToResourceOutput{}
  44. req.Data = output
  45. return
  46. }
  47. // Adds metadata tags to a DMS resource, including replication instance, endpoint,
  48. // security group, and migration task. These tags can also be used with cost
  49. // allocation reporting to track cost associated with DMS resources, or used
  50. // in a Condition statement in an IAM policy for DMS.
  51. func (c *DatabaseMigrationService) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error) {
  52. req, out := c.AddTagsToResourceRequest(input)
  53. err := req.Send()
  54. return out, err
  55. }
  56. const opCreateEndpoint = "CreateEndpoint"
  57. // CreateEndpointRequest generates a "aws/request.Request" representing the
  58. // client's request for the CreateEndpoint operation. The "output" return
  59. // value can be used to capture response data after the request's "Send" method
  60. // is called.
  61. //
  62. // Creating a request object using this method should be used when you want to inject
  63. // custom logic into the request's lifecycle using a custom handler, or if you want to
  64. // access properties on the request object before or after sending the request. If
  65. // you just want the service response, call the CreateEndpoint method directly
  66. // instead.
  67. //
  68. // Note: You must call the "Send" method on the returned request object in order
  69. // to execute the request.
  70. //
  71. // // Example sending a request using the CreateEndpointRequest method.
  72. // req, resp := client.CreateEndpointRequest(params)
  73. //
  74. // err := req.Send()
  75. // if err == nil { // resp is now filled
  76. // fmt.Println(resp)
  77. // }
  78. //
  79. func (c *DatabaseMigrationService) CreateEndpointRequest(input *CreateEndpointInput) (req *request.Request, output *CreateEndpointOutput) {
  80. op := &request.Operation{
  81. Name: opCreateEndpoint,
  82. HTTPMethod: "POST",
  83. HTTPPath: "/",
  84. }
  85. if input == nil {
  86. input = &CreateEndpointInput{}
  87. }
  88. req = c.newRequest(op, input, output)
  89. output = &CreateEndpointOutput{}
  90. req.Data = output
  91. return
  92. }
  93. // Creates an endpoint using the provided settings.
  94. func (c *DatabaseMigrationService) CreateEndpoint(input *CreateEndpointInput) (*CreateEndpointOutput, error) {
  95. req, out := c.CreateEndpointRequest(input)
  96. err := req.Send()
  97. return out, err
  98. }
  99. const opCreateReplicationInstance = "CreateReplicationInstance"
  100. // CreateReplicationInstanceRequest generates a "aws/request.Request" representing the
  101. // client's request for the CreateReplicationInstance operation. The "output" return
  102. // value can be used to capture response data after the request's "Send" method
  103. // is called.
  104. //
  105. // Creating a request object using this method should be used when you want to inject
  106. // custom logic into the request's lifecycle using a custom handler, or if you want to
  107. // access properties on the request object before or after sending the request. If
  108. // you just want the service response, call the CreateReplicationInstance method directly
  109. // instead.
  110. //
  111. // Note: You must call the "Send" method on the returned request object in order
  112. // to execute the request.
  113. //
  114. // // Example sending a request using the CreateReplicationInstanceRequest method.
  115. // req, resp := client.CreateReplicationInstanceRequest(params)
  116. //
  117. // err := req.Send()
  118. // if err == nil { // resp is now filled
  119. // fmt.Println(resp)
  120. // }
  121. //
  122. func (c *DatabaseMigrationService) CreateReplicationInstanceRequest(input *CreateReplicationInstanceInput) (req *request.Request, output *CreateReplicationInstanceOutput) {
  123. op := &request.Operation{
  124. Name: opCreateReplicationInstance,
  125. HTTPMethod: "POST",
  126. HTTPPath: "/",
  127. }
  128. if input == nil {
  129. input = &CreateReplicationInstanceInput{}
  130. }
  131. req = c.newRequest(op, input, output)
  132. output = &CreateReplicationInstanceOutput{}
  133. req.Data = output
  134. return
  135. }
  136. // Creates the replication instance using the specified parameters.
  137. func (c *DatabaseMigrationService) CreateReplicationInstance(input *CreateReplicationInstanceInput) (*CreateReplicationInstanceOutput, error) {
  138. req, out := c.CreateReplicationInstanceRequest(input)
  139. err := req.Send()
  140. return out, err
  141. }
  142. const opCreateReplicationSubnetGroup = "CreateReplicationSubnetGroup"
  143. // CreateReplicationSubnetGroupRequest generates a "aws/request.Request" representing the
  144. // client's request for the CreateReplicationSubnetGroup operation. The "output" return
  145. // value can be used to capture response data after the request's "Send" method
  146. // is called.
  147. //
  148. // Creating a request object using this method should be used when you want to inject
  149. // custom logic into the request's lifecycle using a custom handler, or if you want to
  150. // access properties on the request object before or after sending the request. If
  151. // you just want the service response, call the CreateReplicationSubnetGroup method directly
  152. // instead.
  153. //
  154. // Note: You must call the "Send" method on the returned request object in order
  155. // to execute the request.
  156. //
  157. // // Example sending a request using the CreateReplicationSubnetGroupRequest method.
  158. // req, resp := client.CreateReplicationSubnetGroupRequest(params)
  159. //
  160. // err := req.Send()
  161. // if err == nil { // resp is now filled
  162. // fmt.Println(resp)
  163. // }
  164. //
  165. func (c *DatabaseMigrationService) CreateReplicationSubnetGroupRequest(input *CreateReplicationSubnetGroupInput) (req *request.Request, output *CreateReplicationSubnetGroupOutput) {
  166. op := &request.Operation{
  167. Name: opCreateReplicationSubnetGroup,
  168. HTTPMethod: "POST",
  169. HTTPPath: "/",
  170. }
  171. if input == nil {
  172. input = &CreateReplicationSubnetGroupInput{}
  173. }
  174. req = c.newRequest(op, input, output)
  175. output = &CreateReplicationSubnetGroupOutput{}
  176. req.Data = output
  177. return
  178. }
  179. // Creates a replication subnet group given a list of the subnet IDs in a VPC.
  180. func (c *DatabaseMigrationService) CreateReplicationSubnetGroup(input *CreateReplicationSubnetGroupInput) (*CreateReplicationSubnetGroupOutput, error) {
  181. req, out := c.CreateReplicationSubnetGroupRequest(input)
  182. err := req.Send()
  183. return out, err
  184. }
  185. const opCreateReplicationTask = "CreateReplicationTask"
  186. // CreateReplicationTaskRequest generates a "aws/request.Request" representing the
  187. // client's request for the CreateReplicationTask operation. The "output" return
  188. // value can be used to capture response data after the request's "Send" method
  189. // is called.
  190. //
  191. // Creating a request object using this method should be used when you want to inject
  192. // custom logic into the request's lifecycle using a custom handler, or if you want to
  193. // access properties on the request object before or after sending the request. If
  194. // you just want the service response, call the CreateReplicationTask method directly
  195. // instead.
  196. //
  197. // Note: You must call the "Send" method on the returned request object in order
  198. // to execute the request.
  199. //
  200. // // Example sending a request using the CreateReplicationTaskRequest method.
  201. // req, resp := client.CreateReplicationTaskRequest(params)
  202. //
  203. // err := req.Send()
  204. // if err == nil { // resp is now filled
  205. // fmt.Println(resp)
  206. // }
  207. //
  208. func (c *DatabaseMigrationService) CreateReplicationTaskRequest(input *CreateReplicationTaskInput) (req *request.Request, output *CreateReplicationTaskOutput) {
  209. op := &request.Operation{
  210. Name: opCreateReplicationTask,
  211. HTTPMethod: "POST",
  212. HTTPPath: "/",
  213. }
  214. if input == nil {
  215. input = &CreateReplicationTaskInput{}
  216. }
  217. req = c.newRequest(op, input, output)
  218. output = &CreateReplicationTaskOutput{}
  219. req.Data = output
  220. return
  221. }
  222. // Creates a replication task using the specified parameters.
  223. func (c *DatabaseMigrationService) CreateReplicationTask(input *CreateReplicationTaskInput) (*CreateReplicationTaskOutput, error) {
  224. req, out := c.CreateReplicationTaskRequest(input)
  225. err := req.Send()
  226. return out, err
  227. }
  228. const opDeleteCertificate = "DeleteCertificate"
  229. // DeleteCertificateRequest generates a "aws/request.Request" representing the
  230. // client's request for the DeleteCertificate operation. The "output" return
  231. // value can be used to capture response data after the request's "Send" method
  232. // is called.
  233. //
  234. // Creating a request object using this method should be used when you want to inject
  235. // custom logic into the request's lifecycle using a custom handler, or if you want to
  236. // access properties on the request object before or after sending the request. If
  237. // you just want the service response, call the DeleteCertificate method directly
  238. // instead.
  239. //
  240. // Note: You must call the "Send" method on the returned request object in order
  241. // to execute the request.
  242. //
  243. // // Example sending a request using the DeleteCertificateRequest method.
  244. // req, resp := client.DeleteCertificateRequest(params)
  245. //
  246. // err := req.Send()
  247. // if err == nil { // resp is now filled
  248. // fmt.Println(resp)
  249. // }
  250. //
  251. func (c *DatabaseMigrationService) DeleteCertificateRequest(input *DeleteCertificateInput) (req *request.Request, output *DeleteCertificateOutput) {
  252. op := &request.Operation{
  253. Name: opDeleteCertificate,
  254. HTTPMethod: "POST",
  255. HTTPPath: "/",
  256. }
  257. if input == nil {
  258. input = &DeleteCertificateInput{}
  259. }
  260. req = c.newRequest(op, input, output)
  261. output = &DeleteCertificateOutput{}
  262. req.Data = output
  263. return
  264. }
  265. // Deletes the specified certificate.
  266. func (c *DatabaseMigrationService) DeleteCertificate(input *DeleteCertificateInput) (*DeleteCertificateOutput, error) {
  267. req, out := c.DeleteCertificateRequest(input)
  268. err := req.Send()
  269. return out, err
  270. }
  271. const opDeleteEndpoint = "DeleteEndpoint"
  272. // DeleteEndpointRequest generates a "aws/request.Request" representing the
  273. // client's request for the DeleteEndpoint operation. The "output" return
  274. // value can be used to capture response data after the request's "Send" method
  275. // is called.
  276. //
  277. // Creating a request object using this method should be used when you want to inject
  278. // custom logic into the request's lifecycle using a custom handler, or if you want to
  279. // access properties on the request object before or after sending the request. If
  280. // you just want the service response, call the DeleteEndpoint method directly
  281. // instead.
  282. //
  283. // Note: You must call the "Send" method on the returned request object in order
  284. // to execute the request.
  285. //
  286. // // Example sending a request using the DeleteEndpointRequest method.
  287. // req, resp := client.DeleteEndpointRequest(params)
  288. //
  289. // err := req.Send()
  290. // if err == nil { // resp is now filled
  291. // fmt.Println(resp)
  292. // }
  293. //
  294. func (c *DatabaseMigrationService) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput) {
  295. op := &request.Operation{
  296. Name: opDeleteEndpoint,
  297. HTTPMethod: "POST",
  298. HTTPPath: "/",
  299. }
  300. if input == nil {
  301. input = &DeleteEndpointInput{}
  302. }
  303. req = c.newRequest(op, input, output)
  304. output = &DeleteEndpointOutput{}
  305. req.Data = output
  306. return
  307. }
  308. // Deletes the specified endpoint.
  309. //
  310. // All tasks associated with the endpoint must be deleted before you can delete
  311. // the endpoint.
  312. func (c *DatabaseMigrationService) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error) {
  313. req, out := c.DeleteEndpointRequest(input)
  314. err := req.Send()
  315. return out, err
  316. }
  317. const opDeleteReplicationInstance = "DeleteReplicationInstance"
  318. // DeleteReplicationInstanceRequest generates a "aws/request.Request" representing the
  319. // client's request for the DeleteReplicationInstance operation. The "output" return
  320. // value can be used to capture response data after the request's "Send" method
  321. // is called.
  322. //
  323. // Creating a request object using this method should be used when you want to inject
  324. // custom logic into the request's lifecycle using a custom handler, or if you want to
  325. // access properties on the request object before or after sending the request. If
  326. // you just want the service response, call the DeleteReplicationInstance method directly
  327. // instead.
  328. //
  329. // Note: You must call the "Send" method on the returned request object in order
  330. // to execute the request.
  331. //
  332. // // Example sending a request using the DeleteReplicationInstanceRequest method.
  333. // req, resp := client.DeleteReplicationInstanceRequest(params)
  334. //
  335. // err := req.Send()
  336. // if err == nil { // resp is now filled
  337. // fmt.Println(resp)
  338. // }
  339. //
  340. func (c *DatabaseMigrationService) DeleteReplicationInstanceRequest(input *DeleteReplicationInstanceInput) (req *request.Request, output *DeleteReplicationInstanceOutput) {
  341. op := &request.Operation{
  342. Name: opDeleteReplicationInstance,
  343. HTTPMethod: "POST",
  344. HTTPPath: "/",
  345. }
  346. if input == nil {
  347. input = &DeleteReplicationInstanceInput{}
  348. }
  349. req = c.newRequest(op, input, output)
  350. output = &DeleteReplicationInstanceOutput{}
  351. req.Data = output
  352. return
  353. }
  354. // Deletes the specified replication instance.
  355. //
  356. // You must delete any migration tasks that are associated with the replication
  357. // instance before you can delete it.
  358. func (c *DatabaseMigrationService) DeleteReplicationInstance(input *DeleteReplicationInstanceInput) (*DeleteReplicationInstanceOutput, error) {
  359. req, out := c.DeleteReplicationInstanceRequest(input)
  360. err := req.Send()
  361. return out, err
  362. }
  363. const opDeleteReplicationSubnetGroup = "DeleteReplicationSubnetGroup"
  364. // DeleteReplicationSubnetGroupRequest generates a "aws/request.Request" representing the
  365. // client's request for the DeleteReplicationSubnetGroup operation. The "output" return
  366. // value can be used to capture response data after the request's "Send" method
  367. // is called.
  368. //
  369. // Creating a request object using this method should be used when you want to inject
  370. // custom logic into the request's lifecycle using a custom handler, or if you want to
  371. // access properties on the request object before or after sending the request. If
  372. // you just want the service response, call the DeleteReplicationSubnetGroup method directly
  373. // instead.
  374. //
  375. // Note: You must call the "Send" method on the returned request object in order
  376. // to execute the request.
  377. //
  378. // // Example sending a request using the DeleteReplicationSubnetGroupRequest method.
  379. // req, resp := client.DeleteReplicationSubnetGroupRequest(params)
  380. //
  381. // err := req.Send()
  382. // if err == nil { // resp is now filled
  383. // fmt.Println(resp)
  384. // }
  385. //
  386. func (c *DatabaseMigrationService) DeleteReplicationSubnetGroupRequest(input *DeleteReplicationSubnetGroupInput) (req *request.Request, output *DeleteReplicationSubnetGroupOutput) {
  387. op := &request.Operation{
  388. Name: opDeleteReplicationSubnetGroup,
  389. HTTPMethod: "POST",
  390. HTTPPath: "/",
  391. }
  392. if input == nil {
  393. input = &DeleteReplicationSubnetGroupInput{}
  394. }
  395. req = c.newRequest(op, input, output)
  396. output = &DeleteReplicationSubnetGroupOutput{}
  397. req.Data = output
  398. return
  399. }
  400. // Deletes a subnet group.
  401. func (c *DatabaseMigrationService) DeleteReplicationSubnetGroup(input *DeleteReplicationSubnetGroupInput) (*DeleteReplicationSubnetGroupOutput, error) {
  402. req, out := c.DeleteReplicationSubnetGroupRequest(input)
  403. err := req.Send()
  404. return out, err
  405. }
  406. const opDeleteReplicationTask = "DeleteReplicationTask"
  407. // DeleteReplicationTaskRequest generates a "aws/request.Request" representing the
  408. // client's request for the DeleteReplicationTask operation. The "output" return
  409. // value can be used to capture response data after the request's "Send" method
  410. // is called.
  411. //
  412. // Creating a request object using this method should be used when you want to inject
  413. // custom logic into the request's lifecycle using a custom handler, or if you want to
  414. // access properties on the request object before or after sending the request. If
  415. // you just want the service response, call the DeleteReplicationTask method directly
  416. // instead.
  417. //
  418. // Note: You must call the "Send" method on the returned request object in order
  419. // to execute the request.
  420. //
  421. // // Example sending a request using the DeleteReplicationTaskRequest method.
  422. // req, resp := client.DeleteReplicationTaskRequest(params)
  423. //
  424. // err := req.Send()
  425. // if err == nil { // resp is now filled
  426. // fmt.Println(resp)
  427. // }
  428. //
  429. func (c *DatabaseMigrationService) DeleteReplicationTaskRequest(input *DeleteReplicationTaskInput) (req *request.Request, output *DeleteReplicationTaskOutput) {
  430. op := &request.Operation{
  431. Name: opDeleteReplicationTask,
  432. HTTPMethod: "POST",
  433. HTTPPath: "/",
  434. }
  435. if input == nil {
  436. input = &DeleteReplicationTaskInput{}
  437. }
  438. req = c.newRequest(op, input, output)
  439. output = &DeleteReplicationTaskOutput{}
  440. req.Data = output
  441. return
  442. }
  443. // Deletes the specified replication task.
  444. func (c *DatabaseMigrationService) DeleteReplicationTask(input *DeleteReplicationTaskInput) (*DeleteReplicationTaskOutput, error) {
  445. req, out := c.DeleteReplicationTaskRequest(input)
  446. err := req.Send()
  447. return out, err
  448. }
  449. const opDescribeAccountAttributes = "DescribeAccountAttributes"
  450. // DescribeAccountAttributesRequest generates a "aws/request.Request" representing the
  451. // client's request for the DescribeAccountAttributes operation. The "output" return
  452. // value can be used to capture response data after the request's "Send" method
  453. // is called.
  454. //
  455. // Creating a request object using this method should be used when you want to inject
  456. // custom logic into the request's lifecycle using a custom handler, or if you want to
  457. // access properties on the request object before or after sending the request. If
  458. // you just want the service response, call the DescribeAccountAttributes method directly
  459. // instead.
  460. //
  461. // Note: You must call the "Send" method on the returned request object in order
  462. // to execute the request.
  463. //
  464. // // Example sending a request using the DescribeAccountAttributesRequest method.
  465. // req, resp := client.DescribeAccountAttributesRequest(params)
  466. //
  467. // err := req.Send()
  468. // if err == nil { // resp is now filled
  469. // fmt.Println(resp)
  470. // }
  471. //
  472. func (c *DatabaseMigrationService) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput) {
  473. op := &request.Operation{
  474. Name: opDescribeAccountAttributes,
  475. HTTPMethod: "POST",
  476. HTTPPath: "/",
  477. }
  478. if input == nil {
  479. input = &DescribeAccountAttributesInput{}
  480. }
  481. req = c.newRequest(op, input, output)
  482. output = &DescribeAccountAttributesOutput{}
  483. req.Data = output
  484. return
  485. }
  486. // Lists all of the AWS DMS attributes for a customer account. The attributes
  487. // include AWS DMS quotas for the account, such as the number of replication
  488. // instances allowed. The description for a quota includes the quota name, current
  489. // usage toward that quota, and the quota's maximum value.
  490. //
  491. // This command does not take any parameters.
  492. func (c *DatabaseMigrationService) DescribeAccountAttributes(input *DescribeAccountAttributesInput) (*DescribeAccountAttributesOutput, error) {
  493. req, out := c.DescribeAccountAttributesRequest(input)
  494. err := req.Send()
  495. return out, err
  496. }
  497. const opDescribeCertificates = "DescribeCertificates"
  498. // DescribeCertificatesRequest generates a "aws/request.Request" representing the
  499. // client's request for the DescribeCertificates operation. The "output" return
  500. // value can be used to capture response data after the request's "Send" method
  501. // is called.
  502. //
  503. // Creating a request object using this method should be used when you want to inject
  504. // custom logic into the request's lifecycle using a custom handler, or if you want to
  505. // access properties on the request object before or after sending the request. If
  506. // you just want the service response, call the DescribeCertificates method directly
  507. // instead.
  508. //
  509. // Note: You must call the "Send" method on the returned request object in order
  510. // to execute the request.
  511. //
  512. // // Example sending a request using the DescribeCertificatesRequest method.
  513. // req, resp := client.DescribeCertificatesRequest(params)
  514. //
  515. // err := req.Send()
  516. // if err == nil { // resp is now filled
  517. // fmt.Println(resp)
  518. // }
  519. //
  520. func (c *DatabaseMigrationService) DescribeCertificatesRequest(input *DescribeCertificatesInput) (req *request.Request, output *DescribeCertificatesOutput) {
  521. op := &request.Operation{
  522. Name: opDescribeCertificates,
  523. HTTPMethod: "POST",
  524. HTTPPath: "/",
  525. }
  526. if input == nil {
  527. input = &DescribeCertificatesInput{}
  528. }
  529. req = c.newRequest(op, input, output)
  530. output = &DescribeCertificatesOutput{}
  531. req.Data = output
  532. return
  533. }
  534. // Provides a description of the certificate.
  535. func (c *DatabaseMigrationService) DescribeCertificates(input *DescribeCertificatesInput) (*DescribeCertificatesOutput, error) {
  536. req, out := c.DescribeCertificatesRequest(input)
  537. err := req.Send()
  538. return out, err
  539. }
  540. const opDescribeConnections = "DescribeConnections"
  541. // DescribeConnectionsRequest generates a "aws/request.Request" representing the
  542. // client's request for the DescribeConnections operation. The "output" return
  543. // value can be used to capture response data after the request's "Send" method
  544. // is called.
  545. //
  546. // Creating a request object using this method should be used when you want to inject
  547. // custom logic into the request's lifecycle using a custom handler, or if you want to
  548. // access properties on the request object before or after sending the request. If
  549. // you just want the service response, call the DescribeConnections method directly
  550. // instead.
  551. //
  552. // Note: You must call the "Send" method on the returned request object in order
  553. // to execute the request.
  554. //
  555. // // Example sending a request using the DescribeConnectionsRequest method.
  556. // req, resp := client.DescribeConnectionsRequest(params)
  557. //
  558. // err := req.Send()
  559. // if err == nil { // resp is now filled
  560. // fmt.Println(resp)
  561. // }
  562. //
  563. func (c *DatabaseMigrationService) DescribeConnectionsRequest(input *DescribeConnectionsInput) (req *request.Request, output *DescribeConnectionsOutput) {
  564. op := &request.Operation{
  565. Name: opDescribeConnections,
  566. HTTPMethod: "POST",
  567. HTTPPath: "/",
  568. }
  569. if input == nil {
  570. input = &DescribeConnectionsInput{}
  571. }
  572. req = c.newRequest(op, input, output)
  573. output = &DescribeConnectionsOutput{}
  574. req.Data = output
  575. return
  576. }
  577. // Describes the status of the connections that have been made between the replication
  578. // instance and an endpoint. Connections are created when you test an endpoint.
  579. func (c *DatabaseMigrationService) DescribeConnections(input *DescribeConnectionsInput) (*DescribeConnectionsOutput, error) {
  580. req, out := c.DescribeConnectionsRequest(input)
  581. err := req.Send()
  582. return out, err
  583. }
  584. const opDescribeEndpointTypes = "DescribeEndpointTypes"
  585. // DescribeEndpointTypesRequest generates a "aws/request.Request" representing the
  586. // client's request for the DescribeEndpointTypes operation. The "output" return
  587. // value can be used to capture response data after the request's "Send" method
  588. // is called.
  589. //
  590. // Creating a request object using this method should be used when you want to inject
  591. // custom logic into the request's lifecycle using a custom handler, or if you want to
  592. // access properties on the request object before or after sending the request. If
  593. // you just want the service response, call the DescribeEndpointTypes method directly
  594. // instead.
  595. //
  596. // Note: You must call the "Send" method on the returned request object in order
  597. // to execute the request.
  598. //
  599. // // Example sending a request using the DescribeEndpointTypesRequest method.
  600. // req, resp := client.DescribeEndpointTypesRequest(params)
  601. //
  602. // err := req.Send()
  603. // if err == nil { // resp is now filled
  604. // fmt.Println(resp)
  605. // }
  606. //
  607. func (c *DatabaseMigrationService) DescribeEndpointTypesRequest(input *DescribeEndpointTypesInput) (req *request.Request, output *DescribeEndpointTypesOutput) {
  608. op := &request.Operation{
  609. Name: opDescribeEndpointTypes,
  610. HTTPMethod: "POST",
  611. HTTPPath: "/",
  612. }
  613. if input == nil {
  614. input = &DescribeEndpointTypesInput{}
  615. }
  616. req = c.newRequest(op, input, output)
  617. output = &DescribeEndpointTypesOutput{}
  618. req.Data = output
  619. return
  620. }
  621. // Returns information about the type of endpoints available.
  622. func (c *DatabaseMigrationService) DescribeEndpointTypes(input *DescribeEndpointTypesInput) (*DescribeEndpointTypesOutput, error) {
  623. req, out := c.DescribeEndpointTypesRequest(input)
  624. err := req.Send()
  625. return out, err
  626. }
  627. const opDescribeEndpoints = "DescribeEndpoints"
  628. // DescribeEndpointsRequest generates a "aws/request.Request" representing the
  629. // client's request for the DescribeEndpoints operation. The "output" return
  630. // value can be used to capture response data after the request's "Send" method
  631. // is called.
  632. //
  633. // Creating a request object using this method should be used when you want to inject
  634. // custom logic into the request's lifecycle using a custom handler, or if you want to
  635. // access properties on the request object before or after sending the request. If
  636. // you just want the service response, call the DescribeEndpoints method directly
  637. // instead.
  638. //
  639. // Note: You must call the "Send" method on the returned request object in order
  640. // to execute the request.
  641. //
  642. // // Example sending a request using the DescribeEndpointsRequest method.
  643. // req, resp := client.DescribeEndpointsRequest(params)
  644. //
  645. // err := req.Send()
  646. // if err == nil { // resp is now filled
  647. // fmt.Println(resp)
  648. // }
  649. //
  650. func (c *DatabaseMigrationService) DescribeEndpointsRequest(input *DescribeEndpointsInput) (req *request.Request, output *DescribeEndpointsOutput) {
  651. op := &request.Operation{
  652. Name: opDescribeEndpoints,
  653. HTTPMethod: "POST",
  654. HTTPPath: "/",
  655. }
  656. if input == nil {
  657. input = &DescribeEndpointsInput{}
  658. }
  659. req = c.newRequest(op, input, output)
  660. output = &DescribeEndpointsOutput{}
  661. req.Data = output
  662. return
  663. }
  664. // Returns information about the endpoints for your account in the current region.
  665. func (c *DatabaseMigrationService) DescribeEndpoints(input *DescribeEndpointsInput) (*DescribeEndpointsOutput, error) {
  666. req, out := c.DescribeEndpointsRequest(input)
  667. err := req.Send()
  668. return out, err
  669. }
  670. const opDescribeOrderableReplicationInstances = "DescribeOrderableReplicationInstances"
  671. // DescribeOrderableReplicationInstancesRequest generates a "aws/request.Request" representing the
  672. // client's request for the DescribeOrderableReplicationInstances operation. The "output" return
  673. // value can be used to capture response data after the request's "Send" method
  674. // is called.
  675. //
  676. // Creating a request object using this method should be used when you want to inject
  677. // custom logic into the request's lifecycle using a custom handler, or if you want to
  678. // access properties on the request object before or after sending the request. If
  679. // you just want the service response, call the DescribeOrderableReplicationInstances method directly
  680. // instead.
  681. //
  682. // Note: You must call the "Send" method on the returned request object in order
  683. // to execute the request.
  684. //
  685. // // Example sending a request using the DescribeOrderableReplicationInstancesRequest method.
  686. // req, resp := client.DescribeOrderableReplicationInstancesRequest(params)
  687. //
  688. // err := req.Send()
  689. // if err == nil { // resp is now filled
  690. // fmt.Println(resp)
  691. // }
  692. //
  693. func (c *DatabaseMigrationService) DescribeOrderableReplicationInstancesRequest(input *DescribeOrderableReplicationInstancesInput) (req *request.Request, output *DescribeOrderableReplicationInstancesOutput) {
  694. op := &request.Operation{
  695. Name: opDescribeOrderableReplicationInstances,
  696. HTTPMethod: "POST",
  697. HTTPPath: "/",
  698. }
  699. if input == nil {
  700. input = &DescribeOrderableReplicationInstancesInput{}
  701. }
  702. req = c.newRequest(op, input, output)
  703. output = &DescribeOrderableReplicationInstancesOutput{}
  704. req.Data = output
  705. return
  706. }
  707. // Returns information about the replication instance types that can be created
  708. // in the specified region.
  709. func (c *DatabaseMigrationService) DescribeOrderableReplicationInstances(input *DescribeOrderableReplicationInstancesInput) (*DescribeOrderableReplicationInstancesOutput, error) {
  710. req, out := c.DescribeOrderableReplicationInstancesRequest(input)
  711. err := req.Send()
  712. return out, err
  713. }
  714. const opDescribeRefreshSchemasStatus = "DescribeRefreshSchemasStatus"
  715. // DescribeRefreshSchemasStatusRequest generates a "aws/request.Request" representing the
  716. // client's request for the DescribeRefreshSchemasStatus operation. The "output" return
  717. // value can be used to capture response data after the request's "Send" method
  718. // is called.
  719. //
  720. // Creating a request object using this method should be used when you want to inject
  721. // custom logic into the request's lifecycle using a custom handler, or if you want to
  722. // access properties on the request object before or after sending the request. If
  723. // you just want the service response, call the DescribeRefreshSchemasStatus method directly
  724. // instead.
  725. //
  726. // Note: You must call the "Send" method on the returned request object in order
  727. // to execute the request.
  728. //
  729. // // Example sending a request using the DescribeRefreshSchemasStatusRequest method.
  730. // req, resp := client.DescribeRefreshSchemasStatusRequest(params)
  731. //
  732. // err := req.Send()
  733. // if err == nil { // resp is now filled
  734. // fmt.Println(resp)
  735. // }
  736. //
  737. func (c *DatabaseMigrationService) DescribeRefreshSchemasStatusRequest(input *DescribeRefreshSchemasStatusInput) (req *request.Request, output *DescribeRefreshSchemasStatusOutput) {
  738. op := &request.Operation{
  739. Name: opDescribeRefreshSchemasStatus,
  740. HTTPMethod: "POST",
  741. HTTPPath: "/",
  742. }
  743. if input == nil {
  744. input = &DescribeRefreshSchemasStatusInput{}
  745. }
  746. req = c.newRequest(op, input, output)
  747. output = &DescribeRefreshSchemasStatusOutput{}
  748. req.Data = output
  749. return
  750. }
  751. // Returns the status of the RefreshSchemas operation.
  752. func (c *DatabaseMigrationService) DescribeRefreshSchemasStatus(input *DescribeRefreshSchemasStatusInput) (*DescribeRefreshSchemasStatusOutput, error) {
  753. req, out := c.DescribeRefreshSchemasStatusRequest(input)
  754. err := req.Send()
  755. return out, err
  756. }
  757. const opDescribeReplicationInstances = "DescribeReplicationInstances"
  758. // DescribeReplicationInstancesRequest generates a "aws/request.Request" representing the
  759. // client's request for the DescribeReplicationInstances operation. The "output" return
  760. // value can be used to capture response data after the request's "Send" method
  761. // is called.
  762. //
  763. // Creating a request object using this method should be used when you want to inject
  764. // custom logic into the request's lifecycle using a custom handler, or if you want to
  765. // access properties on the request object before or after sending the request. If
  766. // you just want the service response, call the DescribeReplicationInstances method directly
  767. // instead.
  768. //
  769. // Note: You must call the "Send" method on the returned request object in order
  770. // to execute the request.
  771. //
  772. // // Example sending a request using the DescribeReplicationInstancesRequest method.
  773. // req, resp := client.DescribeReplicationInstancesRequest(params)
  774. //
  775. // err := req.Send()
  776. // if err == nil { // resp is now filled
  777. // fmt.Println(resp)
  778. // }
  779. //
  780. func (c *DatabaseMigrationService) DescribeReplicationInstancesRequest(input *DescribeReplicationInstancesInput) (req *request.Request, output *DescribeReplicationInstancesOutput) {
  781. op := &request.Operation{
  782. Name: opDescribeReplicationInstances,
  783. HTTPMethod: "POST",
  784. HTTPPath: "/",
  785. }
  786. if input == nil {
  787. input = &DescribeReplicationInstancesInput{}
  788. }
  789. req = c.newRequest(op, input, output)
  790. output = &DescribeReplicationInstancesOutput{}
  791. req.Data = output
  792. return
  793. }
  794. // Returns information about replication instances for your account in the current
  795. // region.
  796. func (c *DatabaseMigrationService) DescribeReplicationInstances(input *DescribeReplicationInstancesInput) (*DescribeReplicationInstancesOutput, error) {
  797. req, out := c.DescribeReplicationInstancesRequest(input)
  798. err := req.Send()
  799. return out, err
  800. }
  801. const opDescribeReplicationSubnetGroups = "DescribeReplicationSubnetGroups"
  802. // DescribeReplicationSubnetGroupsRequest generates a "aws/request.Request" representing the
  803. // client's request for the DescribeReplicationSubnetGroups operation. The "output" return
  804. // value can be used to capture response data after the request's "Send" method
  805. // is called.
  806. //
  807. // Creating a request object using this method should be used when you want to inject
  808. // custom logic into the request's lifecycle using a custom handler, or if you want to
  809. // access properties on the request object before or after sending the request. If
  810. // you just want the service response, call the DescribeReplicationSubnetGroups method directly
  811. // instead.
  812. //
  813. // Note: You must call the "Send" method on the returned request object in order
  814. // to execute the request.
  815. //
  816. // // Example sending a request using the DescribeReplicationSubnetGroupsRequest method.
  817. // req, resp := client.DescribeReplicationSubnetGroupsRequest(params)
  818. //
  819. // err := req.Send()
  820. // if err == nil { // resp is now filled
  821. // fmt.Println(resp)
  822. // }
  823. //
  824. func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsRequest(input *DescribeReplicationSubnetGroupsInput) (req *request.Request, output *DescribeReplicationSubnetGroupsOutput) {
  825. op := &request.Operation{
  826. Name: opDescribeReplicationSubnetGroups,
  827. HTTPMethod: "POST",
  828. HTTPPath: "/",
  829. }
  830. if input == nil {
  831. input = &DescribeReplicationSubnetGroupsInput{}
  832. }
  833. req = c.newRequest(op, input, output)
  834. output = &DescribeReplicationSubnetGroupsOutput{}
  835. req.Data = output
  836. return
  837. }
  838. // Returns information about the replication subnet groups.
  839. func (c *DatabaseMigrationService) DescribeReplicationSubnetGroups(input *DescribeReplicationSubnetGroupsInput) (*DescribeReplicationSubnetGroupsOutput, error) {
  840. req, out := c.DescribeReplicationSubnetGroupsRequest(input)
  841. err := req.Send()
  842. return out, err
  843. }
  844. const opDescribeReplicationTasks = "DescribeReplicationTasks"
  845. // DescribeReplicationTasksRequest generates a "aws/request.Request" representing the
  846. // client's request for the DescribeReplicationTasks operation. The "output" return
  847. // value can be used to capture response data after the request's "Send" method
  848. // is called.
  849. //
  850. // Creating a request object using this method should be used when you want to inject
  851. // custom logic into the request's lifecycle using a custom handler, or if you want to
  852. // access properties on the request object before or after sending the request. If
  853. // you just want the service response, call the DescribeReplicationTasks method directly
  854. // instead.
  855. //
  856. // Note: You must call the "Send" method on the returned request object in order
  857. // to execute the request.
  858. //
  859. // // Example sending a request using the DescribeReplicationTasksRequest method.
  860. // req, resp := client.DescribeReplicationTasksRequest(params)
  861. //
  862. // err := req.Send()
  863. // if err == nil { // resp is now filled
  864. // fmt.Println(resp)
  865. // }
  866. //
  867. func (c *DatabaseMigrationService) DescribeReplicationTasksRequest(input *DescribeReplicationTasksInput) (req *request.Request, output *DescribeReplicationTasksOutput) {
  868. op := &request.Operation{
  869. Name: opDescribeReplicationTasks,
  870. HTTPMethod: "POST",
  871. HTTPPath: "/",
  872. }
  873. if input == nil {
  874. input = &DescribeReplicationTasksInput{}
  875. }
  876. req = c.newRequest(op, input, output)
  877. output = &DescribeReplicationTasksOutput{}
  878. req.Data = output
  879. return
  880. }
  881. // Returns information about replication tasks for your account in the current
  882. // region.
  883. func (c *DatabaseMigrationService) DescribeReplicationTasks(input *DescribeReplicationTasksInput) (*DescribeReplicationTasksOutput, error) {
  884. req, out := c.DescribeReplicationTasksRequest(input)
  885. err := req.Send()
  886. return out, err
  887. }
  888. const opDescribeSchemas = "DescribeSchemas"
  889. // DescribeSchemasRequest generates a "aws/request.Request" representing the
  890. // client's request for the DescribeSchemas operation. The "output" return
  891. // value can be used to capture response data after the request's "Send" method
  892. // is called.
  893. //
  894. // Creating a request object using this method should be used when you want to inject
  895. // custom logic into the request's lifecycle using a custom handler, or if you want to
  896. // access properties on the request object before or after sending the request. If
  897. // you just want the service response, call the DescribeSchemas method directly
  898. // instead.
  899. //
  900. // Note: You must call the "Send" method on the returned request object in order
  901. // to execute the request.
  902. //
  903. // // Example sending a request using the DescribeSchemasRequest method.
  904. // req, resp := client.DescribeSchemasRequest(params)
  905. //
  906. // err := req.Send()
  907. // if err == nil { // resp is now filled
  908. // fmt.Println(resp)
  909. // }
  910. //
  911. func (c *DatabaseMigrationService) DescribeSchemasRequest(input *DescribeSchemasInput) (req *request.Request, output *DescribeSchemasOutput) {
  912. op := &request.Operation{
  913. Name: opDescribeSchemas,
  914. HTTPMethod: "POST",
  915. HTTPPath: "/",
  916. }
  917. if input == nil {
  918. input = &DescribeSchemasInput{}
  919. }
  920. req = c.newRequest(op, input, output)
  921. output = &DescribeSchemasOutput{}
  922. req.Data = output
  923. return
  924. }
  925. // Returns information about the schema for the specified endpoint.
  926. func (c *DatabaseMigrationService) DescribeSchemas(input *DescribeSchemasInput) (*DescribeSchemasOutput, error) {
  927. req, out := c.DescribeSchemasRequest(input)
  928. err := req.Send()
  929. return out, err
  930. }
  931. const opDescribeTableStatistics = "DescribeTableStatistics"
  932. // DescribeTableStatisticsRequest generates a "aws/request.Request" representing the
  933. // client's request for the DescribeTableStatistics operation. The "output" return
  934. // value can be used to capture response data after the request's "Send" method
  935. // is called.
  936. //
  937. // Creating a request object using this method should be used when you want to inject
  938. // custom logic into the request's lifecycle using a custom handler, or if you want to
  939. // access properties on the request object before or after sending the request. If
  940. // you just want the service response, call the DescribeTableStatistics method directly
  941. // instead.
  942. //
  943. // Note: You must call the "Send" method on the returned request object in order
  944. // to execute the request.
  945. //
  946. // // Example sending a request using the DescribeTableStatisticsRequest method.
  947. // req, resp := client.DescribeTableStatisticsRequest(params)
  948. //
  949. // err := req.Send()
  950. // if err == nil { // resp is now filled
  951. // fmt.Println(resp)
  952. // }
  953. //
  954. func (c *DatabaseMigrationService) DescribeTableStatisticsRequest(input *DescribeTableStatisticsInput) (req *request.Request, output *DescribeTableStatisticsOutput) {
  955. op := &request.Operation{
  956. Name: opDescribeTableStatistics,
  957. HTTPMethod: "POST",
  958. HTTPPath: "/",
  959. }
  960. if input == nil {
  961. input = &DescribeTableStatisticsInput{}
  962. }
  963. req = c.newRequest(op, input, output)
  964. output = &DescribeTableStatisticsOutput{}
  965. req.Data = output
  966. return
  967. }
  968. // Returns table statistics on the database migration task, including table
  969. // name, rows inserted, rows updated, and rows deleted.
  970. func (c *DatabaseMigrationService) DescribeTableStatistics(input *DescribeTableStatisticsInput) (*DescribeTableStatisticsOutput, error) {
  971. req, out := c.DescribeTableStatisticsRequest(input)
  972. err := req.Send()
  973. return out, err
  974. }
  975. const opImportCertificate = "ImportCertificate"
  976. // ImportCertificateRequest generates a "aws/request.Request" representing the
  977. // client's request for the ImportCertificate operation. The "output" return
  978. // value can be used to capture response data after the request's "Send" method
  979. // is called.
  980. //
  981. // Creating a request object using this method should be used when you want to inject
  982. // custom logic into the request's lifecycle using a custom handler, or if you want to
  983. // access properties on the request object before or after sending the request. If
  984. // you just want the service response, call the ImportCertificate method directly
  985. // instead.
  986. //
  987. // Note: You must call the "Send" method on the returned request object in order
  988. // to execute the request.
  989. //
  990. // // Example sending a request using the ImportCertificateRequest method.
  991. // req, resp := client.ImportCertificateRequest(params)
  992. //
  993. // err := req.Send()
  994. // if err == nil { // resp is now filled
  995. // fmt.Println(resp)
  996. // }
  997. //
  998. func (c *DatabaseMigrationService) ImportCertificateRequest(input *ImportCertificateInput) (req *request.Request, output *ImportCertificateOutput) {
  999. op := &request.Operation{
  1000. Name: opImportCertificate,
  1001. HTTPMethod: "POST",
  1002. HTTPPath: "/",
  1003. }
  1004. if input == nil {
  1005. input = &ImportCertificateInput{}
  1006. }
  1007. req = c.newRequest(op, input, output)
  1008. output = &ImportCertificateOutput{}
  1009. req.Data = output
  1010. return
  1011. }
  1012. // Uploads the specified certificate.
  1013. func (c *DatabaseMigrationService) ImportCertificate(input *ImportCertificateInput) (*ImportCertificateOutput, error) {
  1014. req, out := c.ImportCertificateRequest(input)
  1015. err := req.Send()
  1016. return out, err
  1017. }
  1018. const opListTagsForResource = "ListTagsForResource"
  1019. // ListTagsForResourceRequest generates a "aws/request.Request" representing the
  1020. // client's request for the ListTagsForResource operation. The "output" return
  1021. // value can be used to capture response data after the request's "Send" method
  1022. // is called.
  1023. //
  1024. // Creating a request object using this method should be used when you want to inject
  1025. // custom logic into the request's lifecycle using a custom handler, or if you want to
  1026. // access properties on the request object before or after sending the request. If
  1027. // you just want the service response, call the ListTagsForResource method directly
  1028. // instead.
  1029. //
  1030. // Note: You must call the "Send" method on the returned request object in order
  1031. // to execute the request.
  1032. //
  1033. // // Example sending a request using the ListTagsForResourceRequest method.
  1034. // req, resp := client.ListTagsForResourceRequest(params)
  1035. //
  1036. // err := req.Send()
  1037. // if err == nil { // resp is now filled
  1038. // fmt.Println(resp)
  1039. // }
  1040. //
  1041. func (c *DatabaseMigrationService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
  1042. op := &request.Operation{
  1043. Name: opListTagsForResource,
  1044. HTTPMethod: "POST",
  1045. HTTPPath: "/",
  1046. }
  1047. if input == nil {
  1048. input = &ListTagsForResourceInput{}
  1049. }
  1050. req = c.newRequest(op, input, output)
  1051. output = &ListTagsForResourceOutput{}
  1052. req.Data = output
  1053. return
  1054. }
  1055. // Lists all tags for an AWS DMS resource.
  1056. func (c *DatabaseMigrationService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
  1057. req, out := c.ListTagsForResourceRequest(input)
  1058. err := req.Send()
  1059. return out, err
  1060. }
  1061. const opModifyEndpoint = "ModifyEndpoint"
  1062. // ModifyEndpointRequest generates a "aws/request.Request" representing the
  1063. // client's request for the ModifyEndpoint operation. The "output" return
  1064. // value can be used to capture response data after the request's "Send" method
  1065. // is called.
  1066. //
  1067. // Creating a request object using this method should be used when you want to inject
  1068. // custom logic into the request's lifecycle using a custom handler, or if you want to
  1069. // access properties on the request object before or after sending the request. If
  1070. // you just want the service response, call the ModifyEndpoint method directly
  1071. // instead.
  1072. //
  1073. // Note: You must call the "Send" method on the returned request object in order
  1074. // to execute the request.
  1075. //
  1076. // // Example sending a request using the ModifyEndpointRequest method.
  1077. // req, resp := client.ModifyEndpointRequest(params)
  1078. //
  1079. // err := req.Send()
  1080. // if err == nil { // resp is now filled
  1081. // fmt.Println(resp)
  1082. // }
  1083. //
  1084. func (c *DatabaseMigrationService) ModifyEndpointRequest(input *ModifyEndpointInput) (req *request.Request, output *ModifyEndpointOutput) {
  1085. op := &request.Operation{
  1086. Name: opModifyEndpoint,
  1087. HTTPMethod: "POST",
  1088. HTTPPath: "/",
  1089. }
  1090. if input == nil {
  1091. input = &ModifyEndpointInput{}
  1092. }
  1093. req = c.newRequest(op, input, output)
  1094. output = &ModifyEndpointOutput{}
  1095. req.Data = output
  1096. return
  1097. }
  1098. // Modifies the specified endpoint.
  1099. func (c *DatabaseMigrationService) ModifyEndpoint(input *ModifyEndpointInput) (*ModifyEndpointOutput, error) {
  1100. req, out := c.ModifyEndpointRequest(input)
  1101. err := req.Send()
  1102. return out, err
  1103. }
  1104. const opModifyReplicationInstance = "ModifyReplicationInstance"
  1105. // ModifyReplicationInstanceRequest generates a "aws/request.Request" representing the
  1106. // client's request for the ModifyReplicationInstance operation. The "output" return
  1107. // value can be used to capture response data after the request's "Send" method
  1108. // is called.
  1109. //
  1110. // Creating a request object using this method should be used when you want to inject
  1111. // custom logic into the request's lifecycle using a custom handler, or if you want to
  1112. // access properties on the request object before or after sending the request. If
  1113. // you just want the service response, call the ModifyReplicationInstance method directly
  1114. // instead.
  1115. //
  1116. // Note: You must call the "Send" method on the returned request object in order
  1117. // to execute the request.
  1118. //
  1119. // // Example sending a request using the ModifyReplicationInstanceRequest method.
  1120. // req, resp := client.ModifyReplicationInstanceRequest(params)
  1121. //
  1122. // err := req.Send()
  1123. // if err == nil { // resp is now filled
  1124. // fmt.Println(resp)
  1125. // }
  1126. //
  1127. func (c *DatabaseMigrationService) ModifyReplicationInstanceRequest(input *ModifyReplicationInstanceInput) (req *request.Request, output *ModifyReplicationInstanceOutput) {
  1128. op := &request.Operation{
  1129. Name: opModifyReplicationInstance,
  1130. HTTPMethod: "POST",
  1131. HTTPPath: "/",
  1132. }
  1133. if input == nil {
  1134. input = &ModifyReplicationInstanceInput{}
  1135. }
  1136. req = c.newRequest(op, input, output)
  1137. output = &ModifyReplicationInstanceOutput{}
  1138. req.Data = output
  1139. return
  1140. }
  1141. // Modifies the replication instance to apply new settings. You can change one
  1142. // or more parameters by specifying these parameters and the new values in the
  1143. // request.
  1144. //
  1145. // Some settings are applied during the maintenance window.
  1146. func (c *DatabaseMigrationService) ModifyReplicationInstance(input *ModifyReplicationInstanceInput) (*ModifyReplicationInstanceOutput, error) {
  1147. req, out := c.ModifyReplicationInstanceRequest(input)
  1148. err := req.Send()
  1149. return out, err
  1150. }
  1151. const opModifyReplicationSubnetGroup = "ModifyReplicationSubnetGroup"
  1152. // ModifyReplicationSubnetGroupRequest generates a "aws/request.Request" representing the
  1153. // client's request for the ModifyReplicationSubnetGroup operation. The "output" return
  1154. // value can be used to capture response data after the request's "Send" method
  1155. // is called.
  1156. //
  1157. // Creating a request object using this method should be used when you want to inject
  1158. // custom logic into the request's lifecycle using a custom handler, or if you want to
  1159. // access properties on the request object before or after sending the request. If
  1160. // you just want the service response, call the ModifyReplicationSubnetGroup method directly
  1161. // instead.
  1162. //
  1163. // Note: You must call the "Send" method on the returned request object in order
  1164. // to execute the request.
  1165. //
  1166. // // Example sending a request using the ModifyReplicationSubnetGroupRequest method.
  1167. // req, resp := client.ModifyReplicationSubnetGroupRequest(params)
  1168. //
  1169. // err := req.Send()
  1170. // if err == nil { // resp is now filled
  1171. // fmt.Println(resp)
  1172. // }
  1173. //
  1174. func (c *DatabaseMigrationService) ModifyReplicationSubnetGroupRequest(input *ModifyReplicationSubnetGroupInput) (req *request.Request, output *ModifyReplicationSubnetGroupOutput) {
  1175. op := &request.Operation{
  1176. Name: opModifyReplicationSubnetGroup,
  1177. HTTPMethod: "POST",
  1178. HTTPPath: "/",
  1179. }
  1180. if input == nil {
  1181. input = &ModifyReplicationSubnetGroupInput{}
  1182. }
  1183. req = c.newRequest(op, input, output)
  1184. output = &ModifyReplicationSubnetGroupOutput{}
  1185. req.Data = output
  1186. return
  1187. }
  1188. // Modifies the settings for the specified replication subnet group.
  1189. func (c *DatabaseMigrationService) ModifyReplicationSubnetGroup(input *ModifyReplicationSubnetGroupInput) (*ModifyReplicationSubnetGroupOutput, error) {
  1190. req, out := c.ModifyReplicationSubnetGroupRequest(input)
  1191. err := req.Send()
  1192. return out, err
  1193. }
  1194. const opRefreshSchemas = "RefreshSchemas"
  1195. // RefreshSchemasRequest generates a "aws/request.Request" representing the
  1196. // client's request for the RefreshSchemas operation. The "output" return
  1197. // value can be used to capture response data after the request's "Send" method
  1198. // is called.
  1199. //
  1200. // Creating a request object using this method should be used when you want to inject
  1201. // custom logic into the request's lifecycle using a custom handler, or if you want to
  1202. // access properties on the request object before or after sending the request. If
  1203. // you just want the service response, call the RefreshSchemas method directly
  1204. // instead.
  1205. //
  1206. // Note: You must call the "Send" method on the returned request object in order
  1207. // to execute the request.
  1208. //
  1209. // // Example sending a request using the RefreshSchemasRequest method.
  1210. // req, resp := client.RefreshSchemasRequest(params)
  1211. //
  1212. // err := req.Send()
  1213. // if err == nil { // resp is now filled
  1214. // fmt.Println(resp)
  1215. // }
  1216. //
  1217. func (c *DatabaseMigrationService) RefreshSchemasRequest(input *RefreshSchemasInput) (req *request.Request, output *RefreshSchemasOutput) {
  1218. op := &request.Operation{
  1219. Name: opRefreshSchemas,
  1220. HTTPMethod: "POST",
  1221. HTTPPath: "/",
  1222. }
  1223. if input == nil {
  1224. input = &RefreshSchemasInput{}
  1225. }
  1226. req = c.newRequest(op, input, output)
  1227. output = &RefreshSchemasOutput{}
  1228. req.Data = output
  1229. return
  1230. }
  1231. // Populates the schema for the specified endpoint. This is an asynchronous
  1232. // operation and can take several minutes. You can check the status of this
  1233. // operation by calling the DescribeRefreshSchemasStatus operation.
  1234. func (c *DatabaseMigrationService) RefreshSchemas(input *RefreshSchemasInput) (*RefreshSchemasOutput, error) {
  1235. req, out := c.RefreshSchemasRequest(input)
  1236. err := req.Send()
  1237. return out, err
  1238. }
  1239. const opRemoveTagsFromResource = "RemoveTagsFromResource"
  1240. // RemoveTagsFromResourceRequest generates a "aws/request.Request" representing the
  1241. // client's request for the RemoveTagsFromResource operation. The "output" return
  1242. // value can be used to capture response data after the request's "Send" method
  1243. // is called.
  1244. //
  1245. // Creating a request object using this method should be used when you want to inject
  1246. // custom logic into the request's lifecycle using a custom handler, or if you want to
  1247. // access properties on the request object before or after sending the request. If
  1248. // you just want the service response, call the RemoveTagsFromResource method directly
  1249. // instead.
  1250. //
  1251. // Note: You must call the "Send" method on the returned request object in order
  1252. // to execute the request.
  1253. //
  1254. // // Example sending a request using the RemoveTagsFromResourceRequest method.
  1255. // req, resp := client.RemoveTagsFromResourceRequest(params)
  1256. //
  1257. // err := req.Send()
  1258. // if err == nil { // resp is now filled
  1259. // fmt.Println(resp)
  1260. // }
  1261. //
  1262. func (c *DatabaseMigrationService) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput) {
  1263. op := &request.Operation{
  1264. Name: opRemoveTagsFromResource,
  1265. HTTPMethod: "POST",
  1266. HTTPPath: "/",
  1267. }
  1268. if input == nil {
  1269. input = &RemoveTagsFromResourceInput{}
  1270. }
  1271. req = c.newRequest(op, input, output)
  1272. output = &RemoveTagsFromResourceOutput{}
  1273. req.Data = output
  1274. return
  1275. }
  1276. // Removes metadata tags from a DMS resource.
  1277. func (c *DatabaseMigrationService) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error) {
  1278. req, out := c.RemoveTagsFromResourceRequest(input)
  1279. err := req.Send()
  1280. return out, err
  1281. }
  1282. const opStartReplicationTask = "StartReplicationTask"
  1283. // StartReplicationTaskRequest generates a "aws/request.Request" representing the
  1284. // client's request for the StartReplicationTask operation. The "output" return
  1285. // value can be used to capture response data after the request's "Send" method
  1286. // is called.
  1287. //
  1288. // Creating a request object using this method should be used when you want to inject
  1289. // custom logic into the request's lifecycle using a custom handler, or if you want to
  1290. // access properties on the request object before or after sending the request. If
  1291. // you just want the service response, call the StartReplicationTask method directly
  1292. // instead.
  1293. //
  1294. // Note: You must call the "Send" method on the returned request object in order
  1295. // to execute the request.
  1296. //
  1297. // // Example sending a request using the StartReplicationTaskRequest method.
  1298. // req, resp := client.StartReplicationTaskRequest(params)
  1299. //
  1300. // err := req.Send()
  1301. // if err == nil { // resp is now filled
  1302. // fmt.Println(resp)
  1303. // }
  1304. //
  1305. func (c *DatabaseMigrationService) StartReplicationTaskRequest(input *StartReplicationTaskInput) (req *request.Request, output *StartReplicationTaskOutput) {
  1306. op := &request.Operation{
  1307. Name: opStartReplicationTask,
  1308. HTTPMethod: "POST",
  1309. HTTPPath: "/",
  1310. }
  1311. if input == nil {
  1312. input = &StartReplicationTaskInput{}
  1313. }
  1314. req = c.newRequest(op, input, output)
  1315. output = &StartReplicationTaskOutput{}
  1316. req.Data = output
  1317. return
  1318. }
  1319. // Starts the replication task.
  1320. func (c *DatabaseMigrationService) StartReplicationTask(input *StartReplicationTaskInput) (*StartReplicationTaskOutput, error) {
  1321. req, out := c.StartReplicationTaskRequest(input)
  1322. err := req.Send()
  1323. return out, err
  1324. }
  1325. const opStopReplicationTask = "StopReplicationTask"
  1326. // StopReplicationTaskRequest generates a "aws/request.Request" representing the
  1327. // client's request for the StopReplicationTask operation. The "output" return
  1328. // value can be used to capture response data after the request's "Send" method
  1329. // is called.
  1330. //
  1331. // Creating a request object using this method should be used when you want to inject
  1332. // custom logic into the request's lifecycle using a custom handler, or if you want to
  1333. // access properties on the request object before or after sending the request. If
  1334. // you just want the service response, call the StopReplicationTask method directly
  1335. // instead.
  1336. //
  1337. // Note: You must call the "Send" method on the returned request object in order
  1338. // to execute the request.
  1339. //
  1340. // // Example sending a request using the StopReplicationTaskRequest method.
  1341. // req, resp := client.StopReplicationTaskRequest(params)
  1342. //
  1343. // err := req.Send()
  1344. // if err == nil { // resp is now filled
  1345. // fmt.Println(resp)
  1346. // }
  1347. //
  1348. func (c *DatabaseMigrationService) StopReplicationTaskRequest(input *StopReplicationTaskInput) (req *request.Request, output *StopReplicationTaskOutput) {
  1349. op := &request.Operation{
  1350. Name: opStopReplicationTask,
  1351. HTTPMethod: "POST",
  1352. HTTPPath: "/",
  1353. }
  1354. if input == nil {
  1355. input = &StopReplicationTaskInput{}
  1356. }
  1357. req = c.newRequest(op, input, output)
  1358. output = &StopReplicationTaskOutput{}
  1359. req.Data = output
  1360. return
  1361. }
  1362. // Stops the replication task.
  1363. func (c *DatabaseMigrationService) StopReplicationTask(input *StopReplicationTaskInput) (*StopReplicationTaskOutput, error) {
  1364. req, out := c.StopReplicationTaskRequest(input)
  1365. err := req.Send()
  1366. return out, err
  1367. }
  1368. const opTestConnection = "TestConnection"
  1369. // TestConnectionRequest generates a "aws/request.Request" representing the
  1370. // client's request for the TestConnection operation. The "output" return
  1371. // value can be used to capture response data after the request's "Send" method
  1372. // is called.
  1373. //
  1374. // Creating a request object using this method should be used when you want to inject
  1375. // custom logic into the request's lifecycle using a custom handler, or if you want to
  1376. // access properties on the request object before or after sending the request. If
  1377. // you just want the service response, call the TestConnection method directly
  1378. // instead.
  1379. //
  1380. // Note: You must call the "Send" method on the returned request object in order
  1381. // to execute the request.
  1382. //
  1383. // // Example sending a request using the TestConnectionRequest method.
  1384. // req, resp := client.TestConnectionRequest(params)
  1385. //
  1386. // err := req.Send()
  1387. // if err == nil { // resp is now filled
  1388. // fmt.Println(resp)
  1389. // }
  1390. //
  1391. func (c *DatabaseMigrationService) TestConnectionRequest(input *TestConnectionInput) (req *request.Request, output *TestConnectionOutput) {
  1392. op := &request.Operation{
  1393. Name: opTestConnection,
  1394. HTTPMethod: "POST",
  1395. HTTPPath: "/",
  1396. }
  1397. if input == nil {
  1398. input = &TestConnectionInput{}
  1399. }
  1400. req = c.newRequest(op, input, output)
  1401. output = &TestConnectionOutput{}
  1402. req.Data = output
  1403. return
  1404. }
  1405. // Tests the connection between the replication instance and the endpoint.
  1406. func (c *DatabaseMigrationService) TestConnection(input *TestConnectionInput) (*TestConnectionOutput, error) {
  1407. req, out := c.TestConnectionRequest(input)
  1408. err := req.Send()
  1409. return out, err
  1410. }
  1411. // Describes a quota for an AWS account, for example, the number of replication
  1412. // instances allowed.
  1413. type AccountQuota struct {
  1414. _ struct{} `type:"structure"`
  1415. // The name of the AWS DMS quota for this AWS account.
  1416. AccountQuotaName *string `type:"string"`
  1417. // The maximum allowed value for the quota.
  1418. Max *int64 `type:"long"`
  1419. // The amount currently used toward the quota maximum.
  1420. Used *int64 `type:"long"`
  1421. }
  1422. // String returns the string representation
  1423. func (s AccountQuota) String() string {
  1424. return awsutil.Prettify(s)
  1425. }
  1426. // GoString returns the string representation
  1427. func (s AccountQuota) GoString() string {
  1428. return s.String()
  1429. }
  1430. type AddTagsToResourceInput struct {
  1431. _ struct{} `type:"structure"`
  1432. // The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to be added
  1433. // to. AWS DMS resources include a replication instance, endpoint, and a replication
  1434. // task.
  1435. ResourceArn *string `type:"string" required:"true"`
  1436. // The tag to be assigned to the DMS resource.
  1437. Tags []*Tag `locationNameList:"Tag" type:"list" required:"true"`
  1438. }
  1439. // String returns the string representation
  1440. func (s AddTagsToResourceInput) String() string {
  1441. return awsutil.Prettify(s)
  1442. }
  1443. // GoString returns the string representation
  1444. func (s AddTagsToResourceInput) GoString() string {
  1445. return s.String()
  1446. }
  1447. // Validate inspects the fields of the type to determine if they are valid.
  1448. func (s *AddTagsToResourceInput) Validate() error {
  1449. invalidParams := request.ErrInvalidParams{Context: "AddTagsToResourceInput"}
  1450. if s.ResourceArn == nil {
  1451. invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
  1452. }
  1453. if s.Tags == nil {
  1454. invalidParams.Add(request.NewErrParamRequired("Tags"))
  1455. }
  1456. if invalidParams.Len() > 0 {
  1457. return invalidParams
  1458. }
  1459. return nil
  1460. }
  1461. type AddTagsToResourceOutput struct {
  1462. _ struct{} `type:"structure"`
  1463. }
  1464. // String returns the string representation
  1465. func (s AddTagsToResourceOutput) String() string {
  1466. return awsutil.Prettify(s)
  1467. }
  1468. // GoString returns the string representation
  1469. func (s AddTagsToResourceOutput) GoString() string {
  1470. return s.String()
  1471. }
  1472. type AvailabilityZone struct {
  1473. _ struct{} `type:"structure"`
  1474. // The name of the availability zone.
  1475. Name *string `type:"string"`
  1476. }
  1477. // String returns the string representation
  1478. func (s AvailabilityZone) String() string {
  1479. return awsutil.Prettify(s)
  1480. }
  1481. // GoString returns the string representation
  1482. func (s AvailabilityZone) GoString() string {
  1483. return s.String()
  1484. }
  1485. // The SSL certificate that can be used to encrypt connections between the endpoints
  1486. // and the replication instance.
  1487. type Certificate struct {
  1488. _ struct{} `type:"structure"`
  1489. // The Amazon Resource Name (ARN) for the certificate.
  1490. CertificateArn *string `type:"string"`
  1491. // the date the certificate was created.
  1492. CertificateCreationDate *time.Time `type:"timestamp" timestampFormat:"unix"`
  1493. // The customer-assigned name of the certificate. Valid characters are [A-z_0-9].
  1494. CertificateIdentifier *string `type:"string"`
  1495. // The owner of the certificate.
  1496. CertificateOwner *string `type:"string"`
  1497. // The contents of the .pem X.509 certificate file.
  1498. CertificatePem *string `type:"string"`
  1499. // The key length of the cryptographic algorithm being used.
  1500. KeyLength *int64 `type:"integer"`
  1501. // The signing algorithm for the certificate.
  1502. SigningAlgorithm *string `type:"string"`
  1503. // The beginning date the certificate is valid.
  1504. ValidFromDate *time.Time `type:"timestamp" timestampFormat:"unix"`
  1505. // the final date the certificate is valid.
  1506. ValidToDate *time.Time `type:"timestamp" timestampFormat:"unix"`
  1507. }
  1508. // String returns the string representation
  1509. func (s Certificate) String() string {
  1510. return awsutil.Prettify(s)
  1511. }
  1512. // GoString returns the string representation
  1513. func (s Certificate) GoString() string {
  1514. return s.String()
  1515. }
  1516. type Connection struct {
  1517. _ struct{} `type:"structure"`
  1518. // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
  1519. EndpointArn *string `type:"string"`
  1520. // The identifier of the endpoint. Identifiers must begin with a letter; must
  1521. // contain only ASCII letters, digits, and hyphens; and must not end with a
  1522. // hyphen or contain two consecutive hyphens.
  1523. EndpointIdentifier *string `type:"string"`
  1524. // The error message when the connection last failed.
  1525. LastFailureMessage *string `type:"string"`
  1526. // The Amazon Resource Name (ARN) of the replication instance.
  1527. ReplicationInstanceArn *string `type:"string"`
  1528. // The replication instance identifier. This parameter is stored as a lowercase
  1529. // string.
  1530. ReplicationInstanceIdentifier *string `type:"string"`
  1531. // The connection status.
  1532. Status *string `type:"string"`
  1533. }
  1534. // String returns the string representation
  1535. func (s Connection) String() string {
  1536. return awsutil.Prettify(s)
  1537. }
  1538. // GoString returns the string representation
  1539. func (s Connection) GoString() string {
  1540. return s.String()
  1541. }
  1542. type CreateEndpointInput struct {
  1543. _ struct{} `type:"structure"`
  1544. // The Amazon Resource Number (ARN) for the certificate.
  1545. CertificateArn *string `type:"string"`
  1546. // The name of the endpoint database.
  1547. DatabaseName *string `type:"string"`
  1548. // The database endpoint identifier. Identifiers must begin with a letter; must
  1549. // contain only ASCII letters, digits, and hyphens; and must not end with a
  1550. // hyphen or contain two consecutive hyphens.
  1551. EndpointIdentifier *string `type:"string" required:"true"`
  1552. // The type of endpoint.
  1553. EndpointType *string `type:"string" required:"true" enum:"ReplicationEndpointTypeValue"`
  1554. // The type of engine for the endpoint. Valid values include MYSQL, ORACLE,
  1555. // POSTGRES, MARIADB, AURORA, REDSHIFT, and SQLSERVER.
  1556. EngineName *string `type:"string" required:"true"`
  1557. // Additional attributes associated with the connection.
  1558. ExtraConnectionAttributes *string `type:"string"`
  1559. // The KMS key identifier that will be used to encrypt the connection parameters.
  1560. // If you do not specify a value for the KmsKeyId parameter, then AWS DMS will
  1561. // use your default encryption key. AWS KMS creates the default encryption key
  1562. // for your AWS account. Your AWS account has a different default encryption
  1563. // key for each AWS region.
  1564. KmsKeyId *string `type:"string"`
  1565. // The password to be used to login to the endpoint database.
  1566. Password *string `type:"string" required:"true"`
  1567. // The port used by the endpoint database.
  1568. Port *int64 `type:"integer" required:"true"`
  1569. // The name of the server where the endpoint database resides.
  1570. ServerName *string `type:"string" required:"true"`
  1571. // The SSL mode to use for the SSL connection.
  1572. //
  1573. // SSL mode can be one of four values: none, require, verify-ca, verify-full.
  1574. //
  1575. // The default value is none.
  1576. SslMode *string `type:"string" enum:"DmsSslModeValue"`
  1577. // Tags to be added to the endpoint.
  1578. Tags []*Tag `locationNameList:"Tag" type:"list"`
  1579. // The user name to be used to login to the endpoint database.
  1580. Username *string `type:"string" required:"true"`
  1581. }
  1582. // String returns the string representation
  1583. func (s CreateEndpointInput) String() string {
  1584. return awsutil.Prettify(s)
  1585. }
  1586. // GoString returns the string representation
  1587. func (s CreateEndpointInput) GoString() string {
  1588. return s.String()
  1589. }
  1590. // Validate inspects the fields of the type to determine if they are valid.
  1591. func (s *CreateEndpointInput) Validate() error {
  1592. invalidParams := request.ErrInvalidParams{Context: "CreateEndpointInput"}
  1593. if s.EndpointIdentifier == nil {
  1594. invalidParams.Add(request.NewErrParamRequired("EndpointIdentifier"))
  1595. }
  1596. if s.EndpointType == nil {
  1597. invalidParams.Add(request.NewErrParamRequired("EndpointType"))
  1598. }
  1599. if s.EngineName == nil {
  1600. invalidParams.Add(request.NewErrParamRequired("EngineName"))
  1601. }
  1602. if s.Password == nil {
  1603. invalidParams.Add(request.NewErrParamRequired("Password"))
  1604. }
  1605. if s.Port == nil {
  1606. invalidParams.Add(request.NewErrParamRequired("Port"))
  1607. }
  1608. if s.ServerName == nil {
  1609. invalidParams.Add(request.NewErrParamRequired("ServerName"))
  1610. }
  1611. if s.Username == nil {
  1612. invalidParams.Add(request.NewErrParamRequired("Username"))
  1613. }
  1614. if invalidParams.Len() > 0 {
  1615. return invalidParams
  1616. }
  1617. return nil
  1618. }
  1619. type CreateEndpointOutput struct {
  1620. _ struct{} `type:"structure"`
  1621. // The endpoint that was created.
  1622. Endpoint *Endpoint `type:"structure"`
  1623. }
  1624. // String returns the string representation
  1625. func (s CreateEndpointOutput) String() string {
  1626. return awsutil.Prettify(s)
  1627. }
  1628. // GoString returns the string representation
  1629. func (s CreateEndpointOutput) GoString() string {
  1630. return s.String()
  1631. }
  1632. type CreateReplicationInstanceInput struct {
  1633. _ struct{} `type:"structure"`
  1634. // The amount of storage (in gigabytes) to be initially allocated for the replication
  1635. // instance.
  1636. AllocatedStorage *int64 `type:"integer"`
  1637. // Indicates that minor engine upgrades will be applied automatically to the
  1638. // replication instance during the maintenance window.
  1639. //
  1640. // Default: true
  1641. AutoMinorVersionUpgrade *bool `type:"boolean"`
  1642. // The EC2 Availability Zone that the replication instance will be created in.
  1643. //
  1644. // Default: A random, system-chosen Availability Zone in the endpoint's region.
  1645. //
  1646. // Example: us-east-1d
  1647. AvailabilityZone *string `type:"string"`
  1648. // The engine version number of the replication instance.
  1649. EngineVersion *string `type:"string"`
  1650. // The KMS key identifier that will be used to encrypt the content on the replication
  1651. // instance. If you do not specify a value for the KmsKeyId parameter, then
  1652. // AWS DMS will use your default encryption key. AWS KMS creates the default
  1653. // encryption key for your AWS account. Your AWS account has a different default
  1654. // encryption key for each AWS region.
  1655. KmsKeyId *string `type:"string"`
  1656. // Specifies if the replication instance is a Multi-AZ deployment. You cannot
  1657. // set the AvailabilityZone parameter if the Multi-AZ parameter is set to true.
  1658. MultiAZ *bool `type:"boolean"`
  1659. // The weekly time range during which system maintenance can occur, in Universal
  1660. // Coordinated Time (UTC).
  1661. //
  1662. // Format: ddd:hh24:mi-ddd:hh24:mi
  1663. //
  1664. // Default: A 30-minute window selected at random from an 8-hour block of time
  1665. // per region, occurring on a random day of the week.
  1666. //
  1667. // Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
  1668. //
  1669. // Constraints: Minimum 30-minute window.
  1670. PreferredMaintenanceWindow *string `type:"string"`
  1671. // Specifies the accessibility options for the replication instance. A value
  1672. // of true represents an instance with a public IP address. A value of false
  1673. // represents an instance with a private IP address. The default value is true.
  1674. PubliclyAccessible *bool `type:"boolean"`
  1675. // The compute and memory capacity of the replication instance as specified
  1676. // by the replication instance class.
  1677. //
  1678. // Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large
  1679. // | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
  1680. ReplicationInstanceClass *string `type:"string" required:"true"`
  1681. // The replication instance identifier. This parameter is stored as a lowercase
  1682. // string.
  1683. //
  1684. // Constraints:
  1685. //
  1686. // Must contain from 1 to 63 alphanumeric characters or hyphens.
  1687. //
  1688. // First character must be a letter.
  1689. //
  1690. // Cannot end with a hyphen or contain two consecutive hyphens.
  1691. //
  1692. // Example: myrepinstance
  1693. ReplicationInstanceIdentifier *string `type:"string" required:"true"`
  1694. // A subnet group to associate with the replication instance.
  1695. ReplicationSubnetGroupIdentifier *string `type:"string"`
  1696. // Tags to be associated with the replication instance.
  1697. Tags []*Tag `locationNameList:"Tag" type:"list"`
  1698. // Specifies the VPC security group to be used with the replication instance.
  1699. // The VPC security group must work with the VPC containing the replication
  1700. // instance.
  1701. VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"`
  1702. }
  1703. // String returns the string representation
  1704. func (s CreateReplicationInstanceInput) String() string {
  1705. return awsutil.Prettify(s)
  1706. }
  1707. // GoString returns the string representation
  1708. func (s CreateReplicationInstanceInput) GoString() string {
  1709. return s.String()
  1710. }
  1711. // Validate inspects the fields of the type to determine if they are valid.
  1712. func (s *CreateReplicationInstanceInput) Validate() error {
  1713. invalidParams := request.ErrInvalidParams{Context: "CreateReplicationInstanceInput"}
  1714. if s.ReplicationInstanceClass == nil {
  1715. invalidParams.Add(request.NewErrParamRequired("ReplicationInstanceClass"))
  1716. }
  1717. if s.ReplicationInstanceIdentifier == nil {
  1718. invalidParams.Add(request.NewErrParamRequired("ReplicationInstanceIdentifier"))
  1719. }
  1720. if invalidParams.Len() > 0 {
  1721. return invalidParams
  1722. }
  1723. return nil
  1724. }
  1725. type CreateReplicationInstanceOutput struct {
  1726. _ struct{} `type:"structure"`
  1727. // The replication instance that was created.
  1728. ReplicationInstance *ReplicationInstance `type:"structure"`
  1729. }
  1730. // String returns the string representation
  1731. func (s CreateReplicationInstanceOutput) String() string {
  1732. return awsutil.Prettify(s)
  1733. }
  1734. // GoString returns the string representation
  1735. func (s CreateReplicationInstanceOutput) GoString() string {
  1736. return s.String()
  1737. }
  1738. type CreateReplicationSubnetGroupInput struct {
  1739. _ struct{} `type:"structure"`
  1740. // The description for the subnet group.
  1741. ReplicationSubnetGroupDescription *string `type:"string" required:"true"`
  1742. // The name for the replication subnet group. This value is stored as a lowercase
  1743. // string.
  1744. //
  1745. // Constraints: Must contain no more than 255 alphanumeric characters, periods,
  1746. // spaces, underscores, or hyphens. Must not be "default".
  1747. //
  1748. // Example: mySubnetgroup
  1749. ReplicationSubnetGroupIdentifier *string `type:"string" required:"true"`
  1750. // The EC2 subnet IDs for the subnet group.
  1751. SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"`
  1752. // The tag to be assigned to the subnet group.
  1753. Tags []*Tag `locationNameList:"Tag" type:"list"`
  1754. }
  1755. // String returns the string representation
  1756. func (s CreateReplicationSubnetGroupInput) String() string {
  1757. return awsutil.Prettify(s)
  1758. }
  1759. // GoString returns the string representation
  1760. func (s CreateReplicationSubnetGroupInput) GoString() string {
  1761. return s.String()
  1762. }
  1763. // Validate inspects the fields of the type to determine if they are valid.
  1764. func (s *CreateReplicationSubnetGroupInput) Validate() error {
  1765. invalidParams := request.ErrInvalidParams{Context: "CreateReplicationSubnetGroupInput"}
  1766. if s.ReplicationSubnetGroupDescription == nil {
  1767. invalidParams.Add(request.NewErrParamRequired("ReplicationSubnetGroupDescription"))
  1768. }
  1769. if s.ReplicationSubnetGroupIdentifier == nil {
  1770. invalidParams.Add(request.NewErrParamRequired("ReplicationSubnetGroupIdentifier"))
  1771. }
  1772. if s.SubnetIds == nil {
  1773. invalidParams.Add(request.NewErrParamRequired("SubnetIds"))
  1774. }
  1775. if invalidParams.Len() > 0 {
  1776. return invalidParams
  1777. }
  1778. return nil
  1779. }
  1780. type CreateReplicationSubnetGroupOutput struct {
  1781. _ struct{} `type:"structure"`
  1782. // The replication subnet group that was created.
  1783. ReplicationSubnetGroup *ReplicationSubnetGroup `type:"structure"`
  1784. }
  1785. // String returns the string representation
  1786. func (s CreateReplicationSubnetGroupOutput) String() string {
  1787. return awsutil.Prettify(s)
  1788. }
  1789. // GoString returns the string representation
  1790. func (s CreateReplicationSubnetGroupOutput) GoString() string {
  1791. return s.String()
  1792. }
  1793. type CreateReplicationTaskInput struct {
  1794. _ struct{} `type:"structure"`
  1795. // The start time for the Change Data Capture (CDC) operation.
  1796. CdcStartTime *time.Time `type:"timestamp" timestampFormat:"unix"`
  1797. // The migration type.
  1798. MigrationType *string `type:"string" required:"true" enum:"MigrationTypeValue"`
  1799. // The Amazon Resource Name (ARN) of the replication instance.
  1800. ReplicationInstanceArn *string `type:"string" required:"true"`
  1801. // The replication task identifier.
  1802. //
  1803. // Constraints:
  1804. //
  1805. // Must contain from 1 to 63 alphanumeric characters or hyphens.
  1806. //
  1807. // First character must be a letter.
  1808. //
  1809. // Cannot end with a hyphen or contain two consecutive hyphens.
  1810. ReplicationTaskIdentifier *string `type:"string" required:"true"`
  1811. // Settings for the task, such as target metadata settings.
  1812. ReplicationTaskSettings *string `type:"string"`
  1813. // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
  1814. SourceEndpointArn *string `type:"string" required:"true"`
  1815. // The path of the JSON file that contains the table mappings. Preceed the path
  1816. // with "file://".
  1817. //
  1818. // For example, --table-mappings file://mappingfile.json
  1819. TableMappings *string `type:"string" required:"true"`
  1820. // Tags to be added to the replication instance.
  1821. Tags []*Tag `locationNameList:"Tag" type:"list"`
  1822. // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
  1823. TargetEndpointArn *string `type:"string" required:"true"`
  1824. }
  1825. // String returns the string representation
  1826. func (s CreateReplicationTaskInput) String() string {
  1827. return awsutil.Prettify(s)
  1828. }
  1829. // GoString returns the string representation
  1830. func (s CreateReplicationTaskInput) GoString() string {
  1831. return s.String()
  1832. }
  1833. // Validate inspects the fields of the type to determine if they are valid.
  1834. func (s *CreateReplicationTaskInput) Validate() error {
  1835. invalidParams := request.ErrInvalidParams{Context: "CreateReplicationTaskInput"}
  1836. if s.MigrationType == nil {
  1837. invalidParams.Add(request.NewErrParamRequired("MigrationType"))
  1838. }
  1839. if s.ReplicationInstanceArn == nil {
  1840. invalidParams.Add(request.NewErrParamRequired("ReplicationInstanceArn"))
  1841. }
  1842. if s.ReplicationTaskIdentifier == nil {
  1843. invalidParams.Add(request.NewErrParamRequired("ReplicationTaskIdentifier"))
  1844. }
  1845. if s.SourceEndpointArn == nil {
  1846. invalidParams.Add(request.NewErrParamRequired("SourceEndpointArn"))
  1847. }
  1848. if s.TableMappings == nil {
  1849. invalidParams.Add(request.NewErrParamRequired("TableMappings"))
  1850. }
  1851. if s.TargetEndpointArn == nil {
  1852. invalidParams.Add(request.NewErrParamRequired("TargetEndpointArn"))
  1853. }
  1854. if invalidParams.Len() > 0 {
  1855. return invalidParams
  1856. }
  1857. return nil
  1858. }
  1859. type CreateReplicationTaskOutput struct {
  1860. _ struct{} `type:"structure"`
  1861. // The replication task that was created.
  1862. ReplicationTask *ReplicationTask `type:"structure"`
  1863. }
  1864. // String returns the string representation
  1865. func (s CreateReplicationTaskOutput) String() string {
  1866. return awsutil.Prettify(s)
  1867. }
  1868. // GoString returns the string representation
  1869. func (s CreateReplicationTaskOutput) GoString() string {
  1870. return s.String()
  1871. }
  1872. type DeleteCertificateInput struct {
  1873. _ struct{} `type:"structure"`
  1874. // the Amazon Resource Name (ARN) of the deleted certificate.
  1875. CertificateArn *string `type:"string" required:"true"`
  1876. }
  1877. // String returns the string representation
  1878. func (s DeleteCertificateInput) String() string {
  1879. return awsutil.Prettify(s)
  1880. }
  1881. // GoString returns the string representation
  1882. func (s DeleteCertificateInput) GoString() string {
  1883. return s.String()
  1884. }
  1885. // Validate inspects the fields of the type to determine if they are valid.
  1886. func (s *DeleteCertificateInput) Validate() error {
  1887. invalidParams := request.ErrInvalidParams{Context: "DeleteCertificateInput"}
  1888. if s.CertificateArn == nil {
  1889. invalidParams.Add(request.NewErrParamRequired("CertificateArn"))
  1890. }
  1891. if invalidParams.Len() > 0 {
  1892. return invalidParams
  1893. }
  1894. return nil
  1895. }
  1896. type DeleteCertificateOutput struct {
  1897. _ struct{} `type:"structure"`
  1898. // The SSL certificate.
  1899. Certificate *Certificate `type:"structure"`
  1900. }
  1901. // String returns the string representation
  1902. func (s DeleteCertificateOutput) String() string {
  1903. return awsutil.Prettify(s)
  1904. }
  1905. // GoString returns the string representation
  1906. func (s DeleteCertificateOutput) GoString() string {
  1907. return s.String()
  1908. }
  1909. type DeleteEndpointInput struct {
  1910. _ struct{} `type:"structure"`
  1911. // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
  1912. EndpointArn *string `type:"string" required:"true"`
  1913. }
  1914. // String returns the string representation
  1915. func (s DeleteEndpointInput) String() string {
  1916. return awsutil.Prettify(s)
  1917. }
  1918. // GoString returns the string representation
  1919. func (s DeleteEndpointInput) GoString() string {
  1920. return s.String()
  1921. }
  1922. // Validate inspects the fields of the type to determine if they are valid.
  1923. func (s *DeleteEndpointInput) Validate() error {
  1924. invalidParams := request.ErrInvalidParams{Context: "DeleteEndpointInput"}
  1925. if s.EndpointArn == nil {
  1926. invalidParams.Add(request.NewErrParamRequired("EndpointArn"))
  1927. }
  1928. if invalidParams.Len() > 0 {
  1929. return invalidParams
  1930. }
  1931. return nil
  1932. }
  1933. type DeleteEndpointOutput struct {
  1934. _ struct{} `type:"structure"`
  1935. // The endpoint that was deleted.
  1936. Endpoint *Endpoint `type:"structure"`
  1937. }
  1938. // String returns the string representation
  1939. func (s DeleteEndpointOutput) String() string {
  1940. return awsutil.Prettify(s)
  1941. }
  1942. // GoString returns the string representation
  1943. func (s DeleteEndpointOutput) GoString() string {
  1944. return s.String()
  1945. }
  1946. type DeleteReplicationInstanceInput struct {
  1947. _ struct{} `type:"structure"`
  1948. // The Amazon Resource Name (ARN) of the replication instance to be deleted.
  1949. ReplicationInstanceArn *string `type:"string" required:"true"`
  1950. }
  1951. // String returns the string representation
  1952. func (s DeleteReplicationInstanceInput) String() string {
  1953. return awsutil.Prettify(s)
  1954. }
  1955. // GoString returns the string representation
  1956. func (s DeleteReplicationInstanceInput) GoString() string {
  1957. return s.String()
  1958. }
  1959. // Validate inspects the fields of the type to determine if they are valid.
  1960. func (s *DeleteReplicationInstanceInput) Validate() error {
  1961. invalidParams := request.ErrInvalidParams{Context: "DeleteReplicationInstanceInput"}
  1962. if s.ReplicationInstanceArn == nil {
  1963. invalidParams.Add(request.NewErrParamRequired("ReplicationInstanceArn"))
  1964. }
  1965. if invalidParams.Len() > 0 {
  1966. return invalidParams
  1967. }
  1968. return nil
  1969. }
  1970. type DeleteReplicationInstanceOutput struct {
  1971. _ struct{} `type:"structure"`
  1972. // The replication instance that was deleted.
  1973. ReplicationInstance *ReplicationInstance `type:"structure"`
  1974. }
  1975. // String returns the string representation
  1976. func (s DeleteReplicationInstanceOutput) String() string {
  1977. return awsutil.Prettify(s)
  1978. }
  1979. // GoString returns the string representation
  1980. func (s DeleteReplicationInstanceOutput) GoString() string {
  1981. return s.String()
  1982. }
  1983. type DeleteReplicationSubnetGroupInput struct {
  1984. _ struct{} `type:"structure"`
  1985. // The subnet group name of the replication instance.
  1986. ReplicationSubnetGroupIdentifier *string `type:"string" required:"true"`
  1987. }
  1988. // String returns the string representation
  1989. func (s DeleteReplicationSubnetGroupInput) String() string {
  1990. return awsutil.Prettify(s)
  1991. }
  1992. // GoString returns the string representation
  1993. func (s DeleteReplicationSubnetGroupInput) GoString() string {
  1994. return s.String()
  1995. }
  1996. // Validate inspects the fields of the type to determine if they are valid.
  1997. func (s *DeleteReplicationSubnetGroupInput) Validate() error {
  1998. invalidParams := request.ErrInvalidParams{Context: "DeleteReplicationSubnetGroupInput"}
  1999. if s.ReplicationSubnetGroupIdentifier == nil {
  2000. invalidParams.Add(request.NewErrParamRequired("ReplicationSubnetGroupIdentifier"))
  2001. }
  2002. if invalidParams.Len() > 0 {
  2003. return invalidParams
  2004. }
  2005. return nil
  2006. }
  2007. type DeleteReplicationSubnetGroupOutput struct {
  2008. _ struct{} `type:"structure"`
  2009. }
  2010. // String returns the string representation
  2011. func (s DeleteReplicationSubnetGroupOutput) String() string {
  2012. return awsutil.Prettify(s)
  2013. }
  2014. // GoString returns the string representation
  2015. func (s DeleteReplicationSubnetGroupOutput) GoString() string {
  2016. return s.String()
  2017. }
  2018. type DeleteReplicationTaskInput struct {
  2019. _ struct{} `type:"structure"`
  2020. // The Amazon Resource Name (ARN) of the replication task to be deleted.
  2021. ReplicationTaskArn *string `type:"string" required:"true"`
  2022. }
  2023. // String returns the string representation
  2024. func (s DeleteReplicationTaskInput) String() string {
  2025. return awsutil.Prettify(s)
  2026. }
  2027. // GoString returns the string representation
  2028. func (s DeleteReplicationTaskInput) GoString() string {
  2029. return s.String()
  2030. }
  2031. // Validate inspects the fields of the type to determine if they are valid.
  2032. func (s *DeleteReplicationTaskInput) Validate() error {
  2033. invalidParams := request.ErrInvalidParams{Context: "DeleteReplicationTaskInput"}
  2034. if s.ReplicationTaskArn == nil {
  2035. invalidParams.Add(request.NewErrParamRequired("ReplicationTaskArn"))
  2036. }
  2037. if invalidParams.Len() > 0 {
  2038. return invalidParams
  2039. }
  2040. return nil
  2041. }
  2042. type DeleteReplicationTaskOutput struct {
  2043. _ struct{} `type:"structure"`
  2044. // The deleted replication task.
  2045. ReplicationTask *ReplicationTask `type:"structure"`
  2046. }
  2047. // String returns the string representation
  2048. func (s DeleteReplicationTaskOutput) String() string {
  2049. return awsutil.Prettify(s)
  2050. }
  2051. // GoString returns the string representation
  2052. func (s DeleteReplicationTaskOutput) GoString() string {
  2053. return s.String()
  2054. }
  2055. type DescribeAccountAttributesInput struct {
  2056. _ struct{} `type:"structure"`
  2057. }
  2058. // String returns the string representation
  2059. func (s DescribeAccountAttributesInput) String() string {
  2060. return awsutil.Prettify(s)
  2061. }
  2062. // GoString returns the string representation
  2063. func (s DescribeAccountAttributesInput) GoString() string {
  2064. return s.String()
  2065. }
  2066. type DescribeAccountAttributesOutput struct {
  2067. _ struct{} `type:"structure"`
  2068. // Account quota information.
  2069. AccountQuotas []*AccountQuota `locationNameList:"AccountQuota" type:"list"`
  2070. }
  2071. // String returns the string representation
  2072. func (s DescribeAccountAttributesOutput) String() string {
  2073. return awsutil.Prettify(s)
  2074. }
  2075. // GoString returns the string representation
  2076. func (s DescribeAccountAttributesOutput) GoString() string {
  2077. return s.String()
  2078. }
  2079. type DescribeCertificatesInput struct {
  2080. _ struct{} `type:"structure"`
  2081. // Filters applied to the certificate described in the form of key-value pairs.
  2082. Filters []*Filter `locationNameList:"Filter" type:"list"`
  2083. // An optional pagination token provided by a previous request. If this parameter
  2084. // is specified, the response includes only records beyond the marker, up to
  2085. // the value specified by MaxRecords.
  2086. Marker *string `type:"string"`
  2087. // The maximum number of records to include in the response. If more records
  2088. // exist than the specified MaxRecords value, a pagination token called a marker
  2089. // is included in the response so that the remaining results can be retrieved.
  2090. //
  2091. // Default: 10
  2092. MaxRecords *int64 `type:"integer"`
  2093. }
  2094. // String returns the string representation
  2095. func (s DescribeCertificatesInput) String() string {
  2096. return awsutil.Prettify(s)
  2097. }
  2098. // GoString returns the string representation
  2099. func (s DescribeCertificatesInput) GoString() string {
  2100. return s.String()
  2101. }
  2102. // Validate inspects the fields of the type to determine if they are valid.
  2103. func (s *DescribeCertificatesInput) Validate() error {
  2104. invalidParams := request.ErrInvalidParams{Context: "DescribeCertificatesInput"}
  2105. if s.Filters != nil {
  2106. for i, v := range s.Filters {
  2107. if v == nil {
  2108. continue
  2109. }
  2110. if err := v.Validate(); err != nil {
  2111. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
  2112. }
  2113. }
  2114. }
  2115. if invalidParams.Len() > 0 {
  2116. return invalidParams
  2117. }
  2118. return nil
  2119. }
  2120. type DescribeCertificatesOutput struct {
  2121. _ struct{} `type:"structure"`
  2122. // The SSL certificates associated with the replication instance.
  2123. Certificates []*Certificate `locationNameList:"Certificate" type:"list"`
  2124. // The pagination token.
  2125. Marker *string `type:"string"`
  2126. }
  2127. // String returns the string representation
  2128. func (s DescribeCertificatesOutput) String() string {
  2129. return awsutil.Prettify(s)
  2130. }
  2131. // GoString returns the string representation
  2132. func (s DescribeCertificatesOutput) GoString() string {
  2133. return s.String()
  2134. }
  2135. type DescribeConnectionsInput struct {
  2136. _ struct{} `type:"structure"`
  2137. // The filters applied to the connection.
  2138. //
  2139. // Valid filter names: endpoint-arn | replication-instance-arn
  2140. Filters []*Filter `locationNameList:"Filter" type:"list"`
  2141. // An optional pagination token provided by a previous request. If this parameter
  2142. // is specified, the response includes only records beyond the marker, up to
  2143. // the value specified by MaxRecords.
  2144. Marker *string `type:"string"`
  2145. // The maximum number of records to include in the response. If more records
  2146. // exist than the specified MaxRecords value, a pagination token called a marker
  2147. // is included in the response so that the remaining results can be retrieved.
  2148. //
  2149. // Default: 100
  2150. //
  2151. // Constraints: Minimum 20, maximum 100.
  2152. MaxRecords *int64 `type:"integer"`
  2153. }
  2154. // String returns the string representation
  2155. func (s DescribeConnectionsInput) String() string {
  2156. return awsutil.Prettify(s)
  2157. }
  2158. // GoString returns the string representation
  2159. func (s DescribeConnectionsInput) GoString() string {
  2160. return s.String()
  2161. }
  2162. // Validate inspects the fields of the type to determine if they are valid.
  2163. func (s *DescribeConnectionsInput) Validate() error {
  2164. invalidParams := request.ErrInvalidParams{Context: "DescribeConnectionsInput"}
  2165. if s.Filters != nil {
  2166. for i, v := range s.Filters {
  2167. if v == nil {
  2168. continue
  2169. }
  2170. if err := v.Validate(); err != nil {
  2171. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
  2172. }
  2173. }
  2174. }
  2175. if invalidParams.Len() > 0 {
  2176. return invalidParams
  2177. }
  2178. return nil
  2179. }
  2180. type DescribeConnectionsOutput struct {
  2181. _ struct{} `type:"structure"`
  2182. // A description of the connections.
  2183. Connections []*Connection `locationNameList:"Connection" type:"list"`
  2184. // An optional pagination token provided by a previous request. If this parameter
  2185. // is specified, the response includes only records beyond the marker, up to
  2186. // the value specified by MaxRecords.
  2187. Marker *string `type:"string"`
  2188. }
  2189. // String returns the string representation
  2190. func (s DescribeConnectionsOutput) String() string {
  2191. return awsutil.Prettify(s)
  2192. }
  2193. // GoString returns the string representation
  2194. func (s DescribeConnectionsOutput) GoString() string {
  2195. return s.String()
  2196. }
  2197. type DescribeEndpointTypesInput struct {
  2198. _ struct{} `type:"structure"`
  2199. // Filters applied to the describe action.
  2200. //
  2201. // Valid filter names: engine-name | endpoint-type
  2202. Filters []*Filter `locationNameList:"Filter" type:"list"`
  2203. // An optional pagination token provided by a previous request. If this parameter
  2204. // is specified, the response includes only records beyond the marker, up to
  2205. // the value specified by MaxRecords.
  2206. Marker *string `type:"string"`
  2207. // The maximum number of records to include in the response. If more records
  2208. // exist than the specified MaxRecords value, a pagination token called a marker
  2209. // is included in the response so that the remaining results can be retrieved.
  2210. //
  2211. // Default: 100
  2212. //
  2213. // Constraints: Minimum 20, maximum 100.
  2214. MaxRecords *int64 `type:"integer"`
  2215. }
  2216. // String returns the string representation
  2217. func (s DescribeEndpointTypesInput) String() string {
  2218. return awsutil.Prettify(s)
  2219. }
  2220. // GoString returns the string representation
  2221. func (s DescribeEndpointTypesInput) GoString() string {
  2222. return s.String()
  2223. }
  2224. // Validate inspects the fields of the type to determine if they are valid.
  2225. func (s *DescribeEndpointTypesInput) Validate() error {
  2226. invalidParams := request.ErrInvalidParams{Context: "DescribeEndpointTypesInput"}
  2227. if s.Filters != nil {
  2228. for i, v := range s.Filters {
  2229. if v == nil {
  2230. continue
  2231. }
  2232. if err := v.Validate(); err != nil {
  2233. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
  2234. }
  2235. }
  2236. }
  2237. if invalidParams.Len() > 0 {
  2238. return invalidParams
  2239. }
  2240. return nil
  2241. }
  2242. type DescribeEndpointTypesOutput struct {
  2243. _ struct{} `type:"structure"`
  2244. // An optional pagination token provided by a previous request. If this parameter
  2245. // is specified, the response includes only records beyond the marker, up to
  2246. // the value specified by MaxRecords.
  2247. Marker *string `type:"string"`
  2248. // The type of endpoints that are supported.
  2249. SupportedEndpointTypes []*SupportedEndpointType `locationNameList:"SupportedEndpointType" type:"list"`
  2250. }
  2251. // String returns the string representation
  2252. func (s DescribeEndpointTypesOutput) String() string {
  2253. return awsutil.Prettify(s)
  2254. }
  2255. // GoString returns the string representation
  2256. func (s DescribeEndpointTypesOutput) GoString() string {
  2257. return s.String()
  2258. }
  2259. type DescribeEndpointsInput struct {
  2260. _ struct{} `type:"structure"`
  2261. // Filters applied to the describe action.
  2262. //
  2263. // Valid filter names: endpoint-arn | endpoint-type | endpoint-id | engine-name
  2264. Filters []*Filter `locationNameList:"Filter" type:"list"`
  2265. // An optional pagination token provided by a previous request. If this parameter
  2266. // is specified, the response includes only records beyond the marker, up to
  2267. // the value specified by MaxRecords.
  2268. Marker *string `type:"string"`
  2269. // The maximum number of records to include in the response. If more records
  2270. // exist than the specified MaxRecords value, a pagination token called a marker
  2271. // is included in the response so that the remaining results can be retrieved.
  2272. //
  2273. // Default: 100
  2274. //
  2275. // Constraints: Minimum 20, maximum 100.
  2276. MaxRecords *int64 `type:"integer"`
  2277. }
  2278. // String returns the string representation
  2279. func (s DescribeEndpointsInput) String() string {
  2280. return awsutil.Prettify(s)
  2281. }
  2282. // GoString returns the string representation
  2283. func (s DescribeEndpointsInput) GoString() string {
  2284. return s.String()
  2285. }
  2286. // Validate inspects the fields of the type to determine if they are valid.
  2287. func (s *DescribeEndpointsInput) Validate() error {
  2288. invalidParams := request.ErrInvalidParams{Context: "DescribeEndpointsInput"}
  2289. if s.Filters != nil {
  2290. for i, v := range s.Filters {
  2291. if v == nil {
  2292. continue
  2293. }
  2294. if err := v.Validate(); err != nil {
  2295. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
  2296. }
  2297. }
  2298. }
  2299. if invalidParams.Len() > 0 {
  2300. return invalidParams
  2301. }
  2302. return nil
  2303. }
  2304. type DescribeEndpointsOutput struct {
  2305. _ struct{} `type:"structure"`
  2306. // Endpoint description.
  2307. Endpoints []*Endpoint `locationNameList:"Endpoint" type:"list"`
  2308. // An optional pagination token provided by a previous request. If this parameter
  2309. // is specified, the response includes only records beyond the marker, up to
  2310. // the value specified by MaxRecords.
  2311. Marker *string `type:"string"`
  2312. }
  2313. // String returns the string representation
  2314. func (s DescribeEndpointsOutput) String() string {
  2315. return awsutil.Prettify(s)
  2316. }
  2317. // GoString returns the string representation
  2318. func (s DescribeEndpointsOutput) GoString() string {
  2319. return s.String()
  2320. }
  2321. type DescribeOrderableReplicationInstancesInput struct {
  2322. _ struct{} `type:"structure"`
  2323. // An optional pagination token provided by a previous request. If this parameter
  2324. // is specified, the response includes only records beyond the marker, up to
  2325. // the value specified by MaxRecords.
  2326. Marker *string `type:"string"`
  2327. // The maximum number of records to include in the response. If more records
  2328. // exist than the specified MaxRecords value, a pagination token called a marker
  2329. // is included in the response so that the remaining results can be retrieved.
  2330. //
  2331. // Default: 100
  2332. //
  2333. // Constraints: Minimum 20, maximum 100.
  2334. MaxRecords *int64 `type:"integer"`
  2335. }
  2336. // String returns the string representation
  2337. func (s DescribeOrderableReplicationInstancesInput) String() string {
  2338. return awsutil.Prettify(s)
  2339. }
  2340. // GoString returns the string representation
  2341. func (s DescribeOrderableReplicationInstancesInput) GoString() string {
  2342. return s.String()
  2343. }
  2344. type DescribeOrderableReplicationInstancesOutput struct {
  2345. _ struct{} `type:"structure"`
  2346. // An optional pagination token provided by a previous request. If this parameter
  2347. // is specified, the response includes only records beyond the marker, up to
  2348. // the value specified by MaxRecords.
  2349. Marker *string `type:"string"`
  2350. // The order-able replication instances available.
  2351. OrderableReplicationInstances []*OrderableReplicationInstance `locationNameList:"OrderableReplicationInstance" type:"list"`
  2352. }
  2353. // String returns the string representation
  2354. func (s DescribeOrderableReplicationInstancesOutput) String() string {
  2355. return awsutil.Prettify(s)
  2356. }
  2357. // GoString returns the string representation
  2358. func (s DescribeOrderableReplicationInstancesOutput) GoString() string {
  2359. return s.String()
  2360. }
  2361. type DescribeRefreshSchemasStatusInput struct {
  2362. _ struct{} `type:"structure"`
  2363. // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
  2364. EndpointArn *string `type:"string" required:"true"`
  2365. }
  2366. // String returns the string representation
  2367. func (s DescribeRefreshSchemasStatusInput) String() string {
  2368. return awsutil.Prettify(s)
  2369. }
  2370. // GoString returns the string representation
  2371. func (s DescribeRefreshSchemasStatusInput) GoString() string {
  2372. return s.String()
  2373. }
  2374. // Validate inspects the fields of the type to determine if they are valid.
  2375. func (s *DescribeRefreshSchemasStatusInput) Validate() error {
  2376. invalidParams := request.ErrInvalidParams{Context: "DescribeRefreshSchemasStatusInput"}
  2377. if s.EndpointArn == nil {
  2378. invalidParams.Add(request.NewErrParamRequired("EndpointArn"))
  2379. }
  2380. if invalidParams.Len() > 0 {
  2381. return invalidParams
  2382. }
  2383. return nil
  2384. }
  2385. type DescribeRefreshSchemasStatusOutput struct {
  2386. _ struct{} `type:"structure"`
  2387. // The status of the schema.
  2388. RefreshSchemasStatus *RefreshSchemasStatus `type:"structure"`
  2389. }
  2390. // String returns the string representation
  2391. func (s DescribeRefreshSchemasStatusOutput) String() string {
  2392. return awsutil.Prettify(s)
  2393. }
  2394. // GoString returns the string representation
  2395. func (s DescribeRefreshSchemasStatusOutput) GoString() string {
  2396. return s.String()
  2397. }
  2398. type DescribeReplicationInstancesInput struct {
  2399. _ struct{} `type:"structure"`
  2400. // Filters applied to the describe action.
  2401. //
  2402. // Valid filter names: replication-instance-arn | replication-instance-id |
  2403. // replication-instance-class | engine-version
  2404. Filters []*Filter `locationNameList:"Filter" type:"list"`
  2405. // An optional pagination token provided by a previous request. If this parameter
  2406. // is specified, the response includes only records beyond the marker, up to
  2407. // the value specified by MaxRecords.
  2408. Marker *string `type:"string"`
  2409. // The maximum number of records to include in the response. If more records
  2410. // exist than the specified MaxRecords value, a pagination token called a marker
  2411. // is included in the response so that the remaining results can be retrieved.
  2412. //
  2413. // Default: 100
  2414. //
  2415. // Constraints: Minimum 20, maximum 100.
  2416. MaxRecords *int64 `type:"integer"`
  2417. }
  2418. // String returns the string representation
  2419. func (s DescribeReplicationInstancesInput) String() string {
  2420. return awsutil.Prettify(s)
  2421. }
  2422. // GoString returns the string representation
  2423. func (s DescribeReplicationInstancesInput) GoString() string {
  2424. return s.String()
  2425. }
  2426. // Validate inspects the fields of the type to determine if they are valid.
  2427. func (s *DescribeReplicationInstancesInput) Validate() error {
  2428. invalidParams := request.ErrInvalidParams{Context: "DescribeReplicationInstancesInput"}
  2429. if s.Filters != nil {
  2430. for i, v := range s.Filters {
  2431. if v == nil {
  2432. continue
  2433. }
  2434. if err := v.Validate(); err != nil {
  2435. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
  2436. }
  2437. }
  2438. }
  2439. if invalidParams.Len() > 0 {
  2440. return invalidParams
  2441. }
  2442. return nil
  2443. }
  2444. type DescribeReplicationInstancesOutput struct {
  2445. _ struct{} `type:"structure"`
  2446. // An optional pagination token provided by a previous request. If this parameter
  2447. // is specified, the response includes only records beyond the marker, up to
  2448. // the value specified by MaxRecords.
  2449. Marker *string `type:"string"`
  2450. // The replication instances described.
  2451. ReplicationInstances []*ReplicationInstance `locationNameList:"ReplicationInstance" type:"list"`
  2452. }
  2453. // String returns the string representation
  2454. func (s DescribeReplicationInstancesOutput) String() string {
  2455. return awsutil.Prettify(s)
  2456. }
  2457. // GoString returns the string representation
  2458. func (s DescribeReplicationInstancesOutput) GoString() string {
  2459. return s.String()
  2460. }
  2461. type DescribeReplicationSubnetGroupsInput struct {
  2462. _ struct{} `type:"structure"`
  2463. // Filters applied to the describe action.
  2464. Filters []*Filter `locationNameList:"Filter" type:"list"`
  2465. // An optional pagination token provided by a previous request. If this parameter
  2466. // is specified, the response includes only records beyond the marker, up to
  2467. // the value specified by MaxRecords.
  2468. Marker *string `type:"string"`
  2469. // The maximum number of records to include in the response. If more records
  2470. // exist than the specified MaxRecords value, a pagination token called a marker
  2471. // is included in the response so that the remaining results can be retrieved.
  2472. //
  2473. // Default: 100
  2474. //
  2475. // Constraints: Minimum 20, maximum 100.
  2476. MaxRecords *int64 `type:"integer"`
  2477. }
  2478. // String returns the string representation
  2479. func (s DescribeReplicationSubnetGroupsInput) String() string {
  2480. return awsutil.Prettify(s)
  2481. }
  2482. // GoString returns the string representation
  2483. func (s DescribeReplicationSubnetGroupsInput) GoString() string {
  2484. return s.String()
  2485. }
  2486. // Validate inspects the fields of the type to determine if they are valid.
  2487. func (s *DescribeReplicationSubnetGroupsInput) Validate() error {
  2488. invalidParams := request.ErrInvalidParams{Context: "DescribeReplicationSubnetGroupsInput"}
  2489. if s.Filters != nil {
  2490. for i, v := range s.Filters {
  2491. if v == nil {
  2492. continue
  2493. }
  2494. if err := v.Validate(); err != nil {
  2495. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
  2496. }
  2497. }
  2498. }
  2499. if invalidParams.Len() > 0 {
  2500. return invalidParams
  2501. }
  2502. return nil
  2503. }
  2504. type DescribeReplicationSubnetGroupsOutput struct {
  2505. _ struct{} `type:"structure"`
  2506. // An optional pagination token provided by a previous request. If this parameter
  2507. // is specified, the response includes only records beyond the marker, up to
  2508. // the value specified by MaxRecords.
  2509. Marker *string `type:"string"`
  2510. // A description of the replication subnet groups.
  2511. ReplicationSubnetGroups []*ReplicationSubnetGroup `locationNameList:"ReplicationSubnetGroup" type:"list"`
  2512. }
  2513. // String returns the string representation
  2514. func (s DescribeReplicationSubnetGroupsOutput) String() string {
  2515. return awsutil.Prettify(s)
  2516. }
  2517. // GoString returns the string representation
  2518. func (s DescribeReplicationSubnetGroupsOutput) GoString() string {
  2519. return s.String()
  2520. }
  2521. type DescribeReplicationTasksInput struct {
  2522. _ struct{} `type:"structure"`
  2523. // Filters applied to the describe action.
  2524. //
  2525. // Valid filter names: replication-task-arn | replication-task-id | migration-type
  2526. // | endpoint-arn | replication-instance-arn
  2527. Filters []*Filter `locationNameList:"Filter" type:"list"`
  2528. // An optional pagination token provided by a previous request. If this parameter
  2529. // is specified, the response includes only records beyond the marker, up to
  2530. // the value specified by MaxRecords.
  2531. Marker *string `type:"string"`
  2532. // The maximum number of records to include in the response. If more records
  2533. // exist than the specified MaxRecords value, a pagination token called a marker
  2534. // is included in the response so that the remaining results can be retrieved.
  2535. //
  2536. // Default: 100
  2537. //
  2538. // Constraints: Minimum 20, maximum 100.
  2539. MaxRecords *int64 `type:"integer"`
  2540. }
  2541. // String returns the string representation
  2542. func (s DescribeReplicationTasksInput) String() string {
  2543. return awsutil.Prettify(s)
  2544. }
  2545. // GoString returns the string representation
  2546. func (s DescribeReplicationTasksInput) GoString() string {
  2547. return s.String()
  2548. }
  2549. // Validate inspects the fields of the type to determine if they are valid.
  2550. func (s *DescribeReplicationTasksInput) Validate() error {
  2551. invalidParams := request.ErrInvalidParams{Context: "DescribeReplicationTasksInput"}
  2552. if s.Filters != nil {
  2553. for i, v := range s.Filters {
  2554. if v == nil {
  2555. continue
  2556. }
  2557. if err := v.Validate(); err != nil {
  2558. invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
  2559. }
  2560. }
  2561. }
  2562. if invalidParams.Len() > 0 {
  2563. return invalidParams
  2564. }
  2565. return nil
  2566. }
  2567. type DescribeReplicationTasksOutput struct {
  2568. _ struct{} `type:"structure"`
  2569. // An optional pagination token provided by a previous request. If this parameter
  2570. // is specified, the response includes only records beyond the marker, up to
  2571. // the value specified by MaxRecords.
  2572. Marker *string `type:"string"`
  2573. // A description of the replication tasks.
  2574. ReplicationTasks []*ReplicationTask `locationNameList:"ReplicationTask" type:"list"`
  2575. }
  2576. // String returns the string representation
  2577. func (s DescribeReplicationTasksOutput) String() string {
  2578. return awsutil.Prettify(s)
  2579. }
  2580. // GoString returns the string representation
  2581. func (s DescribeReplicationTasksOutput) GoString() string {
  2582. return s.String()
  2583. }
  2584. type DescribeSchemasInput struct {
  2585. _ struct{} `type:"structure"`
  2586. // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
  2587. EndpointArn *string `type:"string" required:"true"`
  2588. // An optional pagination token provided by a previous request. If this parameter
  2589. // is specified, the response includes only records beyond the marker, up to
  2590. // the value specified by MaxRecords.
  2591. Marker *string `type:"string"`
  2592. // The maximum number of records to include in the response. If more records
  2593. // exist than the specified MaxRecords value, a pagination token called a marker
  2594. // is included in the response so that the remaining results can be retrieved.
  2595. //
  2596. // Default: 100
  2597. //
  2598. // Constraints: Minimum 20, maximum 100.
  2599. MaxRecords *int64 `type:"integer"`
  2600. }
  2601. // String returns the string representation
  2602. func (s DescribeSchemasInput) String() string {
  2603. return awsutil.Prettify(s)
  2604. }
  2605. // GoString returns the string representation
  2606. func (s DescribeSchemasInput) GoString() string {
  2607. return s.String()
  2608. }
  2609. // Validate inspects the fields of the type to determine if they are valid.
  2610. func (s *DescribeSchemasInput) Validate() error {
  2611. invalidParams := request.ErrInvalidParams{Context: "DescribeSchemasInput"}
  2612. if s.EndpointArn == nil {
  2613. invalidParams.Add(request.NewErrParamRequired("EndpointArn"))
  2614. }
  2615. if invalidParams.Len() > 0 {
  2616. return invalidParams
  2617. }
  2618. return nil
  2619. }
  2620. type DescribeSchemasOutput struct {
  2621. _ struct{} `type:"structure"`
  2622. // An optional pagination token provided by a previous request. If this parameter
  2623. // is specified, the response includes only records beyond the marker, up to
  2624. // the value specified by MaxRecords.
  2625. Marker *string `type:"string"`
  2626. // The described schema.
  2627. Schemas []*string `type:"list"`
  2628. }
  2629. // String returns the string representation
  2630. func (s DescribeSchemasOutput) String() string {
  2631. return awsutil.Prettify(s)
  2632. }
  2633. // GoString returns the string representation
  2634. func (s DescribeSchemasOutput) GoString() string {
  2635. return s.String()
  2636. }
  2637. type DescribeTableStatisticsInput struct {
  2638. _ struct{} `type:"structure"`
  2639. // An optional pagination token provided by a previous request. If this parameter
  2640. // is specified, the response includes only records beyond the marker, up to
  2641. // the value specified by MaxRecords.
  2642. Marker *string `type:"string"`
  2643. // The maximum number of records to include in the response. If more records
  2644. // exist than the specified MaxRecords value, a pagination token called a marker
  2645. // is included in the response so that the remaining results can be retrieved.
  2646. //
  2647. // Default: 100
  2648. //
  2649. // Constraints: Minimum 20, maximum 100.
  2650. MaxRecords *int64 `type:"integer"`
  2651. // The Amazon Resource Name (ARN) of the replication task.
  2652. ReplicationTaskArn *string `type:"string" required:"true"`
  2653. }
  2654. // String returns the string representation
  2655. func (s DescribeTableStatisticsInput) String() string {
  2656. return awsutil.Prettify(s)
  2657. }
  2658. // GoString returns the string representation
  2659. func (s DescribeTableStatisticsInput) GoString() string {
  2660. return s.String()
  2661. }
  2662. // Validate inspects the fields of the type to determine if they are valid.
  2663. func (s *DescribeTableStatisticsInput) Validate() error {
  2664. invalidParams := request.ErrInvalidParams{Context: "DescribeTableStatisticsInput"}
  2665. if s.ReplicationTaskArn == nil {
  2666. invalidParams.Add(request.NewErrParamRequired("ReplicationTaskArn"))
  2667. }
  2668. if invalidParams.Len() > 0 {
  2669. return invalidParams
  2670. }
  2671. return nil
  2672. }
  2673. type DescribeTableStatisticsOutput struct {
  2674. _ struct{} `type:"structure"`
  2675. // An optional pagination token provided by a previous request. If this parameter
  2676. // is specified, the response includes only records beyond the marker, up to
  2677. // the value specified by MaxRecords.
  2678. Marker *string `type:"string"`
  2679. // The Amazon Resource Name (ARN) of the replication task.
  2680. ReplicationTaskArn *string `type:"string"`
  2681. // The table statistics.
  2682. TableStatistics []*TableStatistics `type:"list"`
  2683. }
  2684. // String returns the string representation
  2685. func (s DescribeTableStatisticsOutput) String() string {
  2686. return awsutil.Prettify(s)
  2687. }
  2688. // GoString returns the string representation
  2689. func (s DescribeTableStatisticsOutput) GoString() string {
  2690. return s.String()
  2691. }
  2692. type Endpoint struct {
  2693. _ struct{} `type:"structure"`
  2694. // The Amazon Resource Name (ARN) used for SSL connection to the endpoint.
  2695. CertificateArn *string `type:"string"`
  2696. // The name of the database at the endpoint.
  2697. DatabaseName *string `type:"string"`
  2698. // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
  2699. EndpointArn *string `type:"string"`
  2700. // The database endpoint identifier. Identifiers must begin with a letter; must
  2701. // contain only ASCII letters, digits, and hyphens; and must not end with a
  2702. // hyphen or contain two consecutive hyphens.
  2703. EndpointIdentifier *string `type:"string"`
  2704. // The type of endpoint.
  2705. EndpointType *string `type:"string" enum:"ReplicationEndpointTypeValue"`
  2706. // The database engine name.
  2707. EngineName *string `type:"string"`
  2708. // Additional connection attributes used to connect to the endpoint.
  2709. ExtraConnectionAttributes *string `type:"string"`
  2710. // The KMS key identifier that will be used to encrypt the connection parameters.
  2711. // If you do not specify a value for the KmsKeyId parameter, then AWS DMS will
  2712. // use your default encryption key. AWS KMS creates the default encryption key
  2713. // for your AWS account. Your AWS account has a different default encryption
  2714. // key for each AWS region.
  2715. KmsKeyId *string `type:"string"`
  2716. // The port value used to access the endpoint.
  2717. Port *int64 `type:"integer"`
  2718. // The name of the server at the endpoint.
  2719. ServerName *string `type:"string"`
  2720. // The SSL mode used to connect to the endpoint.
  2721. //
  2722. // SSL mode can be one of four values: none, require, verify-ca, verify-full.
  2723. //
  2724. // The default value is none.
  2725. SslMode *string `type:"string" enum:"DmsSslModeValue"`
  2726. // The status of the endpoint.
  2727. Status *string `type:"string"`
  2728. // The user name used to connect to the endpoint.
  2729. Username *string `type:"string"`
  2730. }
  2731. // String returns the string representation
  2732. func (s Endpoint) String() string {
  2733. return awsutil.Prettify(s)
  2734. }
  2735. // GoString returns the string representation
  2736. func (s Endpoint) GoString() string {
  2737. return s.String()
  2738. }
  2739. type Filter struct {
  2740. _ struct{} `type:"structure"`
  2741. // The name of the filter.
  2742. Name *string `type:"string" required:"true"`
  2743. // The filter value.
  2744. Values []*string `locationNameList:"Value" type:"list" required:"true"`
  2745. }
  2746. // String returns the string representation
  2747. func (s Filter) String() string {
  2748. return awsutil.Prettify(s)
  2749. }
  2750. // GoString returns the string representation
  2751. func (s Filter) GoString() string {
  2752. return s.String()
  2753. }
  2754. // Validate inspects the fields of the type to determine if they are valid.
  2755. func (s *Filter) Validate() error {
  2756. invalidParams := request.ErrInvalidParams{Context: "Filter"}
  2757. if s.Name == nil {
  2758. invalidParams.Add(request.NewErrParamRequired("Name"))
  2759. }
  2760. if s.Values == nil {
  2761. invalidParams.Add(request.NewErrParamRequired("Values"))
  2762. }
  2763. if invalidParams.Len() > 0 {
  2764. return invalidParams
  2765. }
  2766. return nil
  2767. }
  2768. type ImportCertificateInput struct {
  2769. _ struct{} `type:"structure"`
  2770. // The customer-assigned name of the certificate. Valid characters are [A-z_0-9].
  2771. CertificateIdentifier *string `type:"string" required:"true"`
  2772. // The contents of the .pem X.509 certificate file.
  2773. CertificatePem *string `type:"string"`
  2774. }
  2775. // String returns the string representation
  2776. func (s ImportCertificateInput) String() string {
  2777. return awsutil.Prettify(s)
  2778. }
  2779. // GoString returns the string representation
  2780. func (s ImportCertificateInput) GoString() string {
  2781. return s.String()
  2782. }
  2783. // Validate inspects the fields of the type to determine if they are valid.
  2784. func (s *ImportCertificateInput) Validate() error {
  2785. invalidParams := request.ErrInvalidParams{Context: "ImportCertificateInput"}
  2786. if s.CertificateIdentifier == nil {
  2787. invalidParams.Add(request.NewErrParamRequired("CertificateIdentifier"))
  2788. }
  2789. if invalidParams.Len() > 0 {
  2790. return invalidParams
  2791. }
  2792. return nil
  2793. }
  2794. type ImportCertificateOutput struct {
  2795. _ struct{} `type:"structure"`
  2796. // The certificate to be uploaded.
  2797. Certificate *Certificate `type:"structure"`
  2798. }
  2799. // String returns the string representation
  2800. func (s ImportCertificateOutput) String() string {
  2801. return awsutil.Prettify(s)
  2802. }
  2803. // GoString returns the string representation
  2804. func (s ImportCertificateOutput) GoString() string {
  2805. return s.String()
  2806. }
  2807. type ListTagsForResourceInput struct {
  2808. _ struct{} `type:"structure"`
  2809. // The Amazon Resource Name (ARN) string that uniquely identifies the AWS DMS
  2810. // resource.
  2811. ResourceArn *string `type:"string" required:"true"`
  2812. }
  2813. // String returns the string representation
  2814. func (s ListTagsForResourceInput) String() string {
  2815. return awsutil.Prettify(s)
  2816. }
  2817. // GoString returns the string representation
  2818. func (s ListTagsForResourceInput) GoString() string {
  2819. return s.String()
  2820. }
  2821. // Validate inspects the fields of the type to determine if they are valid.
  2822. func (s *ListTagsForResourceInput) Validate() error {
  2823. invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
  2824. if s.ResourceArn == nil {
  2825. invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
  2826. }
  2827. if invalidParams.Len() > 0 {
  2828. return invalidParams
  2829. }
  2830. return nil
  2831. }
  2832. type ListTagsForResourceOutput struct {
  2833. _ struct{} `type:"structure"`
  2834. // A list of tags for the resource.
  2835. TagList []*Tag `locationNameList:"Tag" type:"list"`
  2836. }
  2837. // String returns the string representation
  2838. func (s ListTagsForResourceOutput) String() string {
  2839. return awsutil.Prettify(s)
  2840. }
  2841. // GoString returns the string representation
  2842. func (s ListTagsForResourceOutput) GoString() string {
  2843. return s.String()
  2844. }
  2845. type ModifyEndpointInput struct {
  2846. _ struct{} `type:"structure"`
  2847. // The Amazon Resource Name (ARN) of the certificate used for SSL connection.
  2848. CertificateArn *string `type:"string"`
  2849. // The name of the endpoint database.
  2850. DatabaseName *string `type:"string"`
  2851. // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
  2852. EndpointArn *string `type:"string" required:"true"`
  2853. // The database endpoint identifier. Identifiers must begin with a letter; must
  2854. // contain only ASCII letters, digits, and hyphens; and must not end with a
  2855. // hyphen or contain two consecutive hyphens.
  2856. EndpointIdentifier *string `type:"string"`
  2857. // The type of endpoint.
  2858. EndpointType *string `type:"string" enum:"ReplicationEndpointTypeValue"`
  2859. // The type of engine for the endpoint. Valid values include MYSQL, ORACLE,
  2860. // POSTGRES, MARIADB, AURORA, REDSHIFT, and SQLSERVER.
  2861. EngineName *string `type:"string"`
  2862. // Additional attributes associated with the connection.
  2863. ExtraConnectionAttributes *string `type:"string"`
  2864. // The password to be used to login to the endpoint database.
  2865. Password *string `type:"string"`
  2866. // The port used by the endpoint database.
  2867. Port *int64 `type:"integer"`
  2868. // The name of the server where the endpoint database resides.
  2869. ServerName *string `type:"string"`
  2870. // The SSL mode to be used.
  2871. //
  2872. // SSL mode can be one of four values: none, require, verify-ca, verify-full.
  2873. //
  2874. // The default value is none.
  2875. SslMode *string `type:"string" enum:"DmsSslModeValue"`
  2876. // The user name to be used to login to the endpoint database.
  2877. Username *string `type:"string"`
  2878. }
  2879. // String returns the string representation
  2880. func (s ModifyEndpointInput) String() string {
  2881. return awsutil.Prettify(s)
  2882. }
  2883. // GoString returns the string representation
  2884. func (s ModifyEndpointInput) GoString() string {
  2885. return s.String()
  2886. }
  2887. // Validate inspects the fields of the type to determine if they are valid.
  2888. func (s *ModifyEndpointInput) Validate() error {
  2889. invalidParams := request.ErrInvalidParams{Context: "ModifyEndpointInput"}
  2890. if s.EndpointArn == nil {
  2891. invalidParams.Add(request.NewErrParamRequired("EndpointArn"))
  2892. }
  2893. if invalidParams.Len() > 0 {
  2894. return invalidParams
  2895. }
  2896. return nil
  2897. }
  2898. type ModifyEndpointOutput struct {
  2899. _ struct{} `type:"structure"`
  2900. // The modified endpoint.
  2901. Endpoint *Endpoint `type:"structure"`
  2902. }
  2903. // String returns the string representation
  2904. func (s ModifyEndpointOutput) String() string {
  2905. return awsutil.Prettify(s)
  2906. }
  2907. // GoString returns the string representation
  2908. func (s ModifyEndpointOutput) GoString() string {
  2909. return s.String()
  2910. }
  2911. type ModifyReplicationInstanceInput struct {
  2912. _ struct{} `type:"structure"`
  2913. // The amount of storage (in gigabytes) to be allocated for the replication
  2914. // instance.
  2915. AllocatedStorage *int64 `type:"integer"`
  2916. // Indicates that major version upgrades are allowed. Changing this parameter
  2917. // does not result in an outage and the change is asynchronously applied as
  2918. // soon as possible.
  2919. //
  2920. // Constraints: This parameter must be set to true when specifying a value
  2921. // for the EngineVersion parameter that is a different major version than the
  2922. // replication instance's current version.
  2923. AllowMajorVersionUpgrade *bool `type:"boolean"`
  2924. // Indicates whether the changes should be applied immediately or during the
  2925. // next maintenance window.
  2926. ApplyImmediately *bool `type:"boolean"`
  2927. // Indicates that minor version upgrades will be applied automatically to the
  2928. // replication instance during the maintenance window. Changing this parameter
  2929. // does not result in an outage except in the following case and the change
  2930. // is asynchronously applied as soon as possible. An outage will result if this
  2931. // parameter is set to true during the maintenance window, and a newer minor
  2932. // version is available, and AWS DMS has enabled auto patching for that engine
  2933. // version.
  2934. AutoMinorVersionUpgrade *bool `type:"boolean"`
  2935. // The engine version number of the replication instance.
  2936. EngineVersion *string `type:"string"`
  2937. // Specifies if the replication instance is a Multi-AZ deployment. You cannot
  2938. // set the AvailabilityZone parameter if the Multi-AZ parameter is set to true.
  2939. MultiAZ *bool `type:"boolean"`
  2940. // The weekly time range (in UTC) during which system maintenance can occur,
  2941. // which might result in an outage. Changing this parameter does not result
  2942. // in an outage, except in the following situation, and the change is asynchronously
  2943. // applied as soon as possible. If moving this window to the current time, there
  2944. // must be at least 30 minutes between the current time and end of the window
  2945. // to ensure pending changes are applied.
  2946. //
  2947. // Default: Uses existing setting
  2948. //
  2949. // Format: ddd:hh24:mi-ddd:hh24:mi
  2950. //
  2951. // Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
  2952. //
  2953. // Constraints: Must be at least 30 minutes
  2954. PreferredMaintenanceWindow *string `type:"string"`
  2955. // The Amazon Resource Name (ARN) of the replication instance.
  2956. ReplicationInstanceArn *string `type:"string" required:"true"`
  2957. // The compute and memory capacity of the replication instance.
  2958. //
  2959. // Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large
  2960. // | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
  2961. ReplicationInstanceClass *string `type:"string"`
  2962. // The replication instance identifier. This parameter is stored as a lowercase
  2963. // string.
  2964. ReplicationInstanceIdentifier *string `type:"string"`
  2965. // Specifies the VPC security group to be used with the replication instance.
  2966. // The VPC security group must work with the VPC containing the replication
  2967. // instance.
  2968. VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"`
  2969. }
  2970. // String returns the string representation
  2971. func (s ModifyReplicationInstanceInput) String() string {
  2972. return awsutil.Prettify(s)
  2973. }
  2974. // GoString returns the string representation
  2975. func (s ModifyReplicationInstanceInput) GoString() string {
  2976. return s.String()
  2977. }
  2978. // Validate inspects the fields of the type to determine if they are valid.
  2979. func (s *ModifyReplicationInstanceInput) Validate() error {
  2980. invalidParams := request.ErrInvalidParams{Context: "ModifyReplicationInstanceInput"}
  2981. if s.ReplicationInstanceArn == nil {
  2982. invalidParams.Add(request.NewErrParamRequired("ReplicationInstanceArn"))
  2983. }
  2984. if invalidParams.Len() > 0 {
  2985. return invalidParams
  2986. }
  2987. return nil
  2988. }
  2989. type ModifyReplicationInstanceOutput struct {
  2990. _ struct{} `type:"structure"`
  2991. // The modified replication instance.
  2992. ReplicationInstance *ReplicationInstance `type:"structure"`
  2993. }
  2994. // String returns the string representation
  2995. func (s ModifyReplicationInstanceOutput) String() string {
  2996. return awsutil.Prettify(s)
  2997. }
  2998. // GoString returns the string representation
  2999. func (s ModifyReplicationInstanceOutput) GoString() string {
  3000. return s.String()
  3001. }
  3002. type ModifyReplicationSubnetGroupInput struct {
  3003. _ struct{} `type:"structure"`
  3004. // The description of the replication instance subnet group.
  3005. ReplicationSubnetGroupDescription *string `type:"string"`
  3006. // The name of the replication instance subnet group.
  3007. ReplicationSubnetGroupIdentifier *string `type:"string" required:"true"`
  3008. // A list of subnet IDs.
  3009. SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"`
  3010. }
  3011. // String returns the string representation
  3012. func (s ModifyReplicationSubnetGroupInput) String() string {
  3013. return awsutil.Prettify(s)
  3014. }
  3015. // GoString returns the string representation
  3016. func (s ModifyReplicationSubnetGroupInput) GoString() string {
  3017. return s.String()
  3018. }
  3019. // Validate inspects the fields of the type to determine if they are valid.
  3020. func (s *ModifyReplicationSubnetGroupInput) Validate() error {
  3021. invalidParams := request.ErrInvalidParams{Context: "ModifyReplicationSubnetGroupInput"}
  3022. if s.ReplicationSubnetGroupIdentifier == nil {
  3023. invalidParams.Add(request.NewErrParamRequired("ReplicationSubnetGroupIdentifier"))
  3024. }
  3025. if s.SubnetIds == nil {
  3026. invalidParams.Add(request.NewErrParamRequired("SubnetIds"))
  3027. }
  3028. if invalidParams.Len() > 0 {
  3029. return invalidParams
  3030. }
  3031. return nil
  3032. }
  3033. type ModifyReplicationSubnetGroupOutput struct {
  3034. _ struct{} `type:"structure"`
  3035. // The modified replication subnet group.
  3036. ReplicationSubnetGroup *ReplicationSubnetGroup `type:"structure"`
  3037. }
  3038. // String returns the string representation
  3039. func (s ModifyReplicationSubnetGroupOutput) String() string {
  3040. return awsutil.Prettify(s)
  3041. }
  3042. // GoString returns the string representation
  3043. func (s ModifyReplicationSubnetGroupOutput) GoString() string {
  3044. return s.String()
  3045. }
  3046. type OrderableReplicationInstance struct {
  3047. _ struct{} `type:"structure"`
  3048. // The default amount of storage (in gigabytes) that is allocated for the replication
  3049. // instance.
  3050. DefaultAllocatedStorage *int64 `type:"integer"`
  3051. // The version of the replication engine.
  3052. EngineVersion *string `type:"string"`
  3053. // The amount of storage (in gigabytes) that is allocated for the replication
  3054. // instance.
  3055. IncludedAllocatedStorage *int64 `type:"integer"`
  3056. // The minimum amount of storage (in gigabytes) that can be allocated for the
  3057. // replication instance.
  3058. MaxAllocatedStorage *int64 `type:"integer"`
  3059. // The minimum amount of storage (in gigabytes) that can be allocated for the
  3060. // replication instance.
  3061. MinAllocatedStorage *int64 `type:"integer"`
  3062. // The compute and memory capacity of the replication instance.
  3063. //
  3064. // Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large
  3065. // | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
  3066. ReplicationInstanceClass *string `type:"string"`
  3067. // The type of storage used by the replication instance.
  3068. StorageType *string `type:"string"`
  3069. }
  3070. // String returns the string representation
  3071. func (s OrderableReplicationInstance) String() string {
  3072. return awsutil.Prettify(s)
  3073. }
  3074. // GoString returns the string representation
  3075. func (s OrderableReplicationInstance) GoString() string {
  3076. return s.String()
  3077. }
  3078. type RefreshSchemasInput struct {
  3079. _ struct{} `type:"structure"`
  3080. // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
  3081. EndpointArn *string `type:"string" required:"true"`
  3082. // The Amazon Resource Name (ARN) of the replication instance.
  3083. ReplicationInstanceArn *string `type:"string" required:"true"`
  3084. }
  3085. // String returns the string representation
  3086. func (s RefreshSchemasInput) String() string {
  3087. return awsutil.Prettify(s)
  3088. }
  3089. // GoString returns the string representation
  3090. func (s RefreshSchemasInput) GoString() string {
  3091. return s.String()
  3092. }
  3093. // Validate inspects the fields of the type to determine if they are valid.
  3094. func (s *RefreshSchemasInput) Validate() error {
  3095. invalidParams := request.ErrInvalidParams{Context: "RefreshSchemasInput"}
  3096. if s.EndpointArn == nil {
  3097. invalidParams.Add(request.NewErrParamRequired("EndpointArn"))
  3098. }
  3099. if s.ReplicationInstanceArn == nil {
  3100. invalidParams.Add(request.NewErrParamRequired("ReplicationInstanceArn"))
  3101. }
  3102. if invalidParams.Len() > 0 {
  3103. return invalidParams
  3104. }
  3105. return nil
  3106. }
  3107. type RefreshSchemasOutput struct {
  3108. _ struct{} `type:"structure"`
  3109. // The status of the refreshed schema.
  3110. RefreshSchemasStatus *RefreshSchemasStatus `type:"structure"`
  3111. }
  3112. // String returns the string representation
  3113. func (s RefreshSchemasOutput) String() string {
  3114. return awsutil.Prettify(s)
  3115. }
  3116. // GoString returns the string representation
  3117. func (s RefreshSchemasOutput) GoString() string {
  3118. return s.String()
  3119. }
  3120. type RefreshSchemasStatus struct {
  3121. _ struct{} `type:"structure"`
  3122. // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
  3123. EndpointArn *string `type:"string"`
  3124. // The last failure message for the schema.
  3125. LastFailureMessage *string `type:"string"`
  3126. // The date the schema was last refreshed.
  3127. LastRefreshDate *time.Time `type:"timestamp" timestampFormat:"unix"`
  3128. // The Amazon Resource Name (ARN) of the replication instance.
  3129. ReplicationInstanceArn *string `type:"string"`
  3130. // The status of the schema.
  3131. Status *string `type:"string" enum:"RefreshSchemasStatusTypeValue"`
  3132. }
  3133. // String returns the string representation
  3134. func (s RefreshSchemasStatus) String() string {
  3135. return awsutil.Prettify(s)
  3136. }
  3137. // GoString returns the string representation
  3138. func (s RefreshSchemasStatus) GoString() string {
  3139. return s.String()
  3140. }
  3141. type RemoveTagsFromResourceInput struct {
  3142. _ struct{} `type:"structure"`
  3143. // >The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to be
  3144. // removed from.
  3145. ResourceArn *string `type:"string" required:"true"`
  3146. // The tag key (name) of the tag to be removed.
  3147. TagKeys []*string `type:"list" required:"true"`
  3148. }
  3149. // String returns the string representation
  3150. func (s RemoveTagsFromResourceInput) String() string {
  3151. return awsutil.Prettify(s)
  3152. }
  3153. // GoString returns the string representation
  3154. func (s RemoveTagsFromResourceInput) GoString() string {
  3155. return s.String()
  3156. }
  3157. // Validate inspects the fields of the type to determine if they are valid.
  3158. func (s *RemoveTagsFromResourceInput) Validate() error {
  3159. invalidParams := request.ErrInvalidParams{Context: "RemoveTagsFromResourceInput"}
  3160. if s.ResourceArn == nil {
  3161. invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
  3162. }
  3163. if s.TagKeys == nil {
  3164. invalidParams.Add(request.NewErrParamRequired("TagKeys"))
  3165. }
  3166. if invalidParams.Len() > 0 {
  3167. return invalidParams
  3168. }
  3169. return nil
  3170. }
  3171. type RemoveTagsFromResourceOutput struct {
  3172. _ struct{} `type:"structure"`
  3173. }
  3174. // String returns the string representation
  3175. func (s RemoveTagsFromResourceOutput) String() string {
  3176. return awsutil.Prettify(s)
  3177. }
  3178. // GoString returns the string representation
  3179. func (s RemoveTagsFromResourceOutput) GoString() string {
  3180. return s.String()
  3181. }
  3182. type ReplicationInstance struct {
  3183. _ struct{} `type:"structure"`
  3184. // The amount of storage (in gigabytes) that is allocated for the replication
  3185. // instance.
  3186. AllocatedStorage *int64 `type:"integer"`
  3187. // Boolean value indicating if minor version upgrades will be automatically
  3188. // applied to the instance.
  3189. AutoMinorVersionUpgrade *bool `type:"boolean"`
  3190. // The Availability Zone for the instance.
  3191. AvailabilityZone *string `type:"string"`
  3192. // The engine version number of the replication instance.
  3193. EngineVersion *string `type:"string"`
  3194. // The time the replication instance was created.
  3195. InstanceCreateTime *time.Time `type:"timestamp" timestampFormat:"unix"`
  3196. // The KMS key identifier that is used to encrypt the content on the replication
  3197. // instance. If you do not specify a value for the KmsKeyId parameter, then
  3198. // AWS DMS will use your default encryption key. AWS KMS creates the default
  3199. // encryption key for your AWS account. Your AWS account has a different default
  3200. // encryption key for each AWS region.
  3201. KmsKeyId *string `type:"string"`
  3202. // Specifies if the replication instance is a Multi-AZ deployment. You cannot
  3203. // set the AvailabilityZone parameter if the Multi-AZ parameter is set to true.
  3204. MultiAZ *bool `type:"boolean"`
  3205. // The pending modification values.
  3206. PendingModifiedValues *ReplicationPendingModifiedValues `type:"structure"`
  3207. // The maintenance window times for the replication instance.
  3208. PreferredMaintenanceWindow *string `type:"string"`
  3209. // Specifies the accessibility options for the replication instance. A value
  3210. // of true represents an instance with a public IP address. A value of false
  3211. // represents an instance with a private IP address. The default value is true.
  3212. PubliclyAccessible *bool `type:"boolean"`
  3213. // The Amazon Resource Name (ARN) of the replication instance.
  3214. ReplicationInstanceArn *string `type:"string"`
  3215. // The compute and memory capacity of the replication instance.
  3216. //
  3217. // Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large
  3218. // | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
  3219. ReplicationInstanceClass *string `type:"string"`
  3220. // The replication instance identifier. This parameter is stored as a lowercase
  3221. // string.
  3222. //
  3223. // Constraints:
  3224. //
  3225. // Must contain from 1 to 63 alphanumeric characters or hyphens.
  3226. //
  3227. // First character must be a letter.
  3228. //
  3229. // Cannot end with a hyphen or contain two consecutive hyphens.
  3230. //
  3231. // Example: myrepinstance
  3232. ReplicationInstanceIdentifier *string `type:"string"`
  3233. // The private IP address of the replication instance.
  3234. ReplicationInstancePrivateIpAddress *string `deprecated:"true" type:"string"`
  3235. // The private IP address of the replication instance.
  3236. ReplicationInstancePrivateIpAddresses []*string `type:"list"`
  3237. // The public IP address of the replication instance.
  3238. ReplicationInstancePublicIpAddress *string `deprecated:"true" type:"string"`
  3239. // The public IP address of the replication instance.
  3240. ReplicationInstancePublicIpAddresses []*string `type:"list"`
  3241. // The status of the replication instance.
  3242. ReplicationInstanceStatus *string `type:"string"`
  3243. // The subnet group for the replication instance.
  3244. ReplicationSubnetGroup *ReplicationSubnetGroup `type:"structure"`
  3245. // The VPC security group for the instance.
  3246. VpcSecurityGroups []*VpcSecurityGroupMembership `locationNameList:"VpcSecurityGroupMembership" type:"list"`
  3247. }
  3248. // String returns the string representation
  3249. func (s ReplicationInstance) String() string {
  3250. return awsutil.Prettify(s)
  3251. }
  3252. // GoString returns the string representation
  3253. func (s ReplicationInstance) GoString() string {
  3254. return s.String()
  3255. }
  3256. type ReplicationPendingModifiedValues struct {
  3257. _ struct{} `type:"structure"`
  3258. // The amount of storage (in gigabytes) that is allocated for the replication
  3259. // instance.
  3260. AllocatedStorage *int64 `type:"integer"`
  3261. // The engine version number of the replication instance.
  3262. EngineVersion *string `type:"string"`
  3263. // Specifies if the replication instance is a Multi-AZ deployment. You cannot
  3264. // set the AvailabilityZone parameter if the Multi-AZ parameter is set to true.
  3265. MultiAZ *bool `type:"boolean"`
  3266. // The compute and memory capacity of the replication instance.
  3267. //
  3268. // Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large
  3269. // | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge
  3270. ReplicationInstanceClass *string `type:"string"`
  3271. }
  3272. // String returns the string representation
  3273. func (s ReplicationPendingModifiedValues) String() string {
  3274. return awsutil.Prettify(s)
  3275. }
  3276. // GoString returns the string representation
  3277. func (s ReplicationPendingModifiedValues) GoString() string {
  3278. return s.String()
  3279. }
  3280. type ReplicationSubnetGroup struct {
  3281. _ struct{} `type:"structure"`
  3282. // The description of the replication subnet group.
  3283. ReplicationSubnetGroupDescription *string `type:"string"`
  3284. // The identifier of the replication instance subnet group.
  3285. ReplicationSubnetGroupIdentifier *string `type:"string"`
  3286. // The status of the subnet group.
  3287. SubnetGroupStatus *string `type:"string"`
  3288. // The subnets that are in the subnet group.
  3289. Subnets []*Subnet `locationNameList:"Subnet" type:"list"`
  3290. // The ID of the VPC.
  3291. VpcId *string `type:"string"`
  3292. }
  3293. // String returns the string representation
  3294. func (s ReplicationSubnetGroup) String() string {
  3295. return awsutil.Prettify(s)
  3296. }
  3297. // GoString returns the string representation
  3298. func (s ReplicationSubnetGroup) GoString() string {
  3299. return s.String()
  3300. }
  3301. type ReplicationTask struct {
  3302. _ struct{} `type:"structure"`
  3303. // The last error (failure) message generated for the replication instance.
  3304. LastFailureMessage *string `type:"string"`
  3305. // The type of migration.
  3306. MigrationType *string `type:"string" enum:"MigrationTypeValue"`
  3307. // The Amazon Resource Name (ARN) of the replication instance.
  3308. ReplicationInstanceArn *string `type:"string"`
  3309. // The Amazon Resource Name (ARN) of the replication task.
  3310. ReplicationTaskArn *string `type:"string"`
  3311. // The date the replication task was created.
  3312. ReplicationTaskCreationDate *time.Time `type:"timestamp" timestampFormat:"unix"`
  3313. // The replication task identifier.
  3314. //
  3315. // Constraints:
  3316. //
  3317. // Must contain from 1 to 63 alphanumeric characters or hyphens.
  3318. //
  3319. // First character must be a letter.
  3320. //
  3321. // Cannot end with a hyphen or contain two consecutive hyphens.
  3322. ReplicationTaskIdentifier *string `type:"string"`
  3323. // The settings for the replication task.
  3324. ReplicationTaskSettings *string `type:"string"`
  3325. // The date the replication task is scheduled to start.
  3326. ReplicationTaskStartDate *time.Time `type:"timestamp" timestampFormat:"unix"`
  3327. // The statistics for the task, including elapsed time, tables loaded, and table
  3328. // errors.
  3329. ReplicationTaskStats *ReplicationTaskStats `type:"structure"`
  3330. // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
  3331. SourceEndpointArn *string `type:"string"`
  3332. // The status of the replication task.
  3333. Status *string `type:"string"`
  3334. // Table mappings specified in the task.
  3335. TableMappings *string `type:"string"`
  3336. // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
  3337. TargetEndpointArn *string `type:"string"`
  3338. }
  3339. // String returns the string representation
  3340. func (s ReplicationTask) String() string {
  3341. return awsutil.Prettify(s)
  3342. }
  3343. // GoString returns the string representation
  3344. func (s ReplicationTask) GoString() string {
  3345. return s.String()
  3346. }
  3347. type ReplicationTaskStats struct {
  3348. _ struct{} `type:"structure"`
  3349. // The elapsed time of the task, in milliseconds.
  3350. ElapsedTimeMillis *int64 `type:"long"`
  3351. // The percent complete for the full load migration task.
  3352. FullLoadProgressPercent *int64 `type:"integer"`
  3353. // The number of errors that have occurred during this task.
  3354. TablesErrored *int64 `type:"integer"`
  3355. // The number of tables loaded for this task.
  3356. TablesLoaded *int64 `type:"integer"`
  3357. // The number of tables currently loading for this task.
  3358. TablesLoading *int64 `type:"integer"`
  3359. // The number of tables queued for this task.
  3360. TablesQueued *int64 `type:"integer"`
  3361. }
  3362. // String returns the string representation
  3363. func (s ReplicationTaskStats) String() string {
  3364. return awsutil.Prettify(s)
  3365. }
  3366. // GoString returns the string representation
  3367. func (s ReplicationTaskStats) GoString() string {
  3368. return s.String()
  3369. }
  3370. type StartReplicationTaskInput struct {
  3371. _ struct{} `type:"structure"`
  3372. // The start time for the Change Data Capture (CDC) operation.
  3373. CdcStartTime *time.Time `type:"timestamp" timestampFormat:"unix"`
  3374. // The Amazon Resource Number (ARN) of the replication task to be started.
  3375. ReplicationTaskArn *string `type:"string" required:"true"`
  3376. // The type of replication task.
  3377. StartReplicationTaskType *string `type:"string" required:"true" enum:"StartReplicationTaskTypeValue"`
  3378. }
  3379. // String returns the string representation
  3380. func (s StartReplicationTaskInput) String() string {
  3381. return awsutil.Prettify(s)
  3382. }
  3383. // GoString returns the string representation
  3384. func (s StartReplicationTaskInput) GoString() string {
  3385. return s.String()
  3386. }
  3387. // Validate inspects the fields of the type to determine if they are valid.
  3388. func (s *StartReplicationTaskInput) Validate() error {
  3389. invalidParams := request.ErrInvalidParams{Context: "StartReplicationTaskInput"}
  3390. if s.ReplicationTaskArn == nil {
  3391. invalidParams.Add(request.NewErrParamRequired("ReplicationTaskArn"))
  3392. }
  3393. if s.StartReplicationTaskType == nil {
  3394. invalidParams.Add(request.NewErrParamRequired("StartReplicationTaskType"))
  3395. }
  3396. if invalidParams.Len() > 0 {
  3397. return invalidParams
  3398. }
  3399. return nil
  3400. }
  3401. type StartReplicationTaskOutput struct {
  3402. _ struct{} `type:"structure"`
  3403. // The replication task started.
  3404. ReplicationTask *ReplicationTask `type:"structure"`
  3405. }
  3406. // String returns the string representation
  3407. func (s StartReplicationTaskOutput) String() string {
  3408. return awsutil.Prettify(s)
  3409. }
  3410. // GoString returns the string representation
  3411. func (s StartReplicationTaskOutput) GoString() string {
  3412. return s.String()
  3413. }
  3414. type StopReplicationTaskInput struct {
  3415. _ struct{} `type:"structure"`
  3416. // The Amazon Resource Number(ARN) of the replication task to be stopped.
  3417. ReplicationTaskArn *string `type:"string" required:"true"`
  3418. }
  3419. // String returns the string representation
  3420. func (s StopReplicationTaskInput) String() string {
  3421. return awsutil.Prettify(s)
  3422. }
  3423. // GoString returns the string representation
  3424. func (s StopReplicationTaskInput) GoString() string {
  3425. return s.String()
  3426. }
  3427. // Validate inspects the fields of the type to determine if they are valid.
  3428. func (s *StopReplicationTaskInput) Validate() error {
  3429. invalidParams := request.ErrInvalidParams{Context: "StopReplicationTaskInput"}
  3430. if s.ReplicationTaskArn == nil {
  3431. invalidParams.Add(request.NewErrParamRequired("ReplicationTaskArn"))
  3432. }
  3433. if invalidParams.Len() > 0 {
  3434. return invalidParams
  3435. }
  3436. return nil
  3437. }
  3438. type StopReplicationTaskOutput struct {
  3439. _ struct{} `type:"structure"`
  3440. // The replication task stopped.
  3441. ReplicationTask *ReplicationTask `type:"structure"`
  3442. }
  3443. // String returns the string representation
  3444. func (s StopReplicationTaskOutput) String() string {
  3445. return awsutil.Prettify(s)
  3446. }
  3447. // GoString returns the string representation
  3448. func (s StopReplicationTaskOutput) GoString() string {
  3449. return s.String()
  3450. }
  3451. type Subnet struct {
  3452. _ struct{} `type:"structure"`
  3453. // The Availability Zone of the subnet.
  3454. SubnetAvailabilityZone *AvailabilityZone `type:"structure"`
  3455. // The subnet identifier.
  3456. SubnetIdentifier *string `type:"string"`
  3457. // The status of the subnet.
  3458. SubnetStatus *string `type:"string"`
  3459. }
  3460. // String returns the string representation
  3461. func (s Subnet) String() string {
  3462. return awsutil.Prettify(s)
  3463. }
  3464. // GoString returns the string representation
  3465. func (s Subnet) GoString() string {
  3466. return s.String()
  3467. }
  3468. type SupportedEndpointType struct {
  3469. _ struct{} `type:"structure"`
  3470. // The type of endpoint.
  3471. EndpointType *string `type:"string" enum:"ReplicationEndpointTypeValue"`
  3472. // The database engine name.
  3473. EngineName *string `type:"string"`
  3474. // Indicates if Change Data Capture (CDC) is supported.
  3475. SupportsCDC *bool `type:"boolean"`
  3476. }
  3477. // String returns the string representation
  3478. func (s SupportedEndpointType) String() string {
  3479. return awsutil.Prettify(s)
  3480. }
  3481. // GoString returns the string representation
  3482. func (s SupportedEndpointType) GoString() string {
  3483. return s.String()
  3484. }
  3485. type TableStatistics struct {
  3486. _ struct{} `type:"structure"`
  3487. // The Data Definition Language (DDL) used to build and modify the structure
  3488. // of your tables.
  3489. Ddls *int64 `type:"long"`
  3490. // The number of delete actions performed on a table.
  3491. Deletes *int64 `type:"long"`
  3492. // The number of rows added during the Full Load operation.
  3493. FullLoadRows *int64 `type:"long"`
  3494. // The number of insert actions performed on a table.
  3495. Inserts *int64 `type:"long"`
  3496. // The last time the table was updated.
  3497. LastUpdateTime *time.Time `type:"timestamp" timestampFormat:"unix"`
  3498. // The schema name.
  3499. SchemaName *string `type:"string"`
  3500. // The name of the table.
  3501. TableName *string `type:"string"`
  3502. // The state of the table.
  3503. TableState *string `type:"string"`
  3504. // The number of update actions performed on a table.
  3505. Updates *int64 `type:"long"`
  3506. }
  3507. // String returns the string representation
  3508. func (s TableStatistics) String() string {
  3509. return awsutil.Prettify(s)
  3510. }
  3511. // GoString returns the string representation
  3512. func (s TableStatistics) GoString() string {
  3513. return s.String()
  3514. }
  3515. type Tag struct {
  3516. _ struct{} `type:"structure"`
  3517. // A key is the required name of the tag. The string value can be from 1 to
  3518. // 128 Unicode characters in length and cannot be prefixed with "aws:" or "dms:".
  3519. // The string can only contain only the set of Unicode letters, digits, white-space,
  3520. // '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
  3521. Key *string `type:"string"`
  3522. // A value is the optional value of the tag. The string value can be from 1
  3523. // to 256 Unicode characters in length and cannot be prefixed with "aws:" or
  3524. // "dms:". The string can only contain only the set of Unicode letters, digits,
  3525. // white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
  3526. Value *string `type:"string"`
  3527. }
  3528. // String returns the string representation
  3529. func (s Tag) String() string {
  3530. return awsutil.Prettify(s)
  3531. }
  3532. // GoString returns the string representation
  3533. func (s Tag) GoString() string {
  3534. return s.String()
  3535. }
  3536. type TestConnectionInput struct {
  3537. _ struct{} `type:"structure"`
  3538. // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
  3539. EndpointArn *string `type:"string" required:"true"`
  3540. // The Amazon Resource Name (ARN) of the replication instance.
  3541. ReplicationInstanceArn *string `type:"string" required:"true"`
  3542. }
  3543. // String returns the string representation
  3544. func (s TestConnectionInput) String() string {
  3545. return awsutil.Prettify(s)
  3546. }
  3547. // GoString returns the string representation
  3548. func (s TestConnectionInput) GoString() string {
  3549. return s.String()
  3550. }
  3551. // Validate inspects the fields of the type to determine if they are valid.
  3552. func (s *TestConnectionInput) Validate() error {
  3553. invalidParams := request.ErrInvalidParams{Context: "TestConnectionInput"}
  3554. if s.EndpointArn == nil {
  3555. invalidParams.Add(request.NewErrParamRequired("EndpointArn"))
  3556. }
  3557. if s.ReplicationInstanceArn == nil {
  3558. invalidParams.Add(request.NewErrParamRequired("ReplicationInstanceArn"))
  3559. }
  3560. if invalidParams.Len() > 0 {
  3561. return invalidParams
  3562. }
  3563. return nil
  3564. }
  3565. type TestConnectionOutput struct {
  3566. _ struct{} `type:"structure"`
  3567. // The connection tested.
  3568. Connection *Connection `type:"structure"`
  3569. }
  3570. // String returns the string representation
  3571. func (s TestConnectionOutput) String() string {
  3572. return awsutil.Prettify(s)
  3573. }
  3574. // GoString returns the string representation
  3575. func (s TestConnectionOutput) GoString() string {
  3576. return s.String()
  3577. }
  3578. type VpcSecurityGroupMembership struct {
  3579. _ struct{} `type:"structure"`
  3580. // The status of the VPC security group.
  3581. Status *string `type:"string"`
  3582. // The VPC security group Id.
  3583. VpcSecurityGroupId *string `type:"string"`
  3584. }
  3585. // String returns the string representation
  3586. func (s VpcSecurityGroupMembership) String() string {
  3587. return awsutil.Prettify(s)
  3588. }
  3589. // GoString returns the string representation
  3590. func (s VpcSecurityGroupMembership) GoString() string {
  3591. return s.String()
  3592. }
  3593. const (
  3594. // @enum DmsSslModeValue
  3595. DmsSslModeValueNone = "none"
  3596. // @enum DmsSslModeValue
  3597. DmsSslModeValueRequire = "require"
  3598. // @enum DmsSslModeValue
  3599. DmsSslModeValueVerifyCa = "verify-ca"
  3600. // @enum DmsSslModeValue
  3601. DmsSslModeValueVerifyFull = "verify-full"
  3602. )
  3603. const (
  3604. // @enum MigrationTypeValue
  3605. MigrationTypeValueFullLoad = "full-load"
  3606. // @enum MigrationTypeValue
  3607. MigrationTypeValueCdc = "cdc"
  3608. // @enum MigrationTypeValue
  3609. MigrationTypeValueFullLoadAndCdc = "full-load-and-cdc"
  3610. )
  3611. const (
  3612. // @enum RefreshSchemasStatusTypeValue
  3613. RefreshSchemasStatusTypeValueSuccessful = "successful"
  3614. // @enum RefreshSchemasStatusTypeValue
  3615. RefreshSchemasStatusTypeValueFailed = "failed"
  3616. // @enum RefreshSchemasStatusTypeValue
  3617. RefreshSchemasStatusTypeValueRefreshing = "refreshing"
  3618. )
  3619. const (
  3620. // @enum ReplicationEndpointTypeValue
  3621. ReplicationEndpointTypeValueSource = "source"
  3622. // @enum ReplicationEndpointTypeValue
  3623. ReplicationEndpointTypeValueTarget = "target"
  3624. )
  3625. const (
  3626. // @enum StartReplicationTaskTypeValue
  3627. StartReplicationTaskTypeValueStartReplication = "start-replication"
  3628. // @enum StartReplicationTaskTypeValue
  3629. StartReplicationTaskTypeValueResumeProcessing = "resume-processing"
  3630. // @enum StartReplicationTaskTypeValue
  3631. StartReplicationTaskTypeValueReloadTarget = "reload-target"
  3632. )