api.go 115 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593
  1. // THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
  2. // Package codedeploy provides a client for AWS CodeDeploy.
  3. package codedeploy
  4. import (
  5. "time"
  6. "github.com/aws/aws-sdk-go/aws/awsutil"
  7. "github.com/aws/aws-sdk-go/aws/request"
  8. )
  9. const opAddTagsToOnPremisesInstances = "AddTagsToOnPremisesInstances"
  10. // AddTagsToOnPremisesInstancesRequest generates a request for the AddTagsToOnPremisesInstances operation.
  11. func (c *CodeDeploy) AddTagsToOnPremisesInstancesRequest(input *AddTagsToOnPremisesInstancesInput) (req *request.Request, output *AddTagsToOnPremisesInstancesOutput) {
  12. op := &request.Operation{
  13. Name: opAddTagsToOnPremisesInstances,
  14. HTTPMethod: "POST",
  15. HTTPPath: "/",
  16. }
  17. if input == nil {
  18. input = &AddTagsToOnPremisesInstancesInput{}
  19. }
  20. req = c.newRequest(op, input, output)
  21. output = &AddTagsToOnPremisesInstancesOutput{}
  22. req.Data = output
  23. return
  24. }
  25. // Adds tags to on-premises instances.
  26. func (c *CodeDeploy) AddTagsToOnPremisesInstances(input *AddTagsToOnPremisesInstancesInput) (*AddTagsToOnPremisesInstancesOutput, error) {
  27. req, out := c.AddTagsToOnPremisesInstancesRequest(input)
  28. err := req.Send()
  29. return out, err
  30. }
  31. const opBatchGetApplications = "BatchGetApplications"
  32. // BatchGetApplicationsRequest generates a request for the BatchGetApplications operation.
  33. func (c *CodeDeploy) BatchGetApplicationsRequest(input *BatchGetApplicationsInput) (req *request.Request, output *BatchGetApplicationsOutput) {
  34. op := &request.Operation{
  35. Name: opBatchGetApplications,
  36. HTTPMethod: "POST",
  37. HTTPPath: "/",
  38. }
  39. if input == nil {
  40. input = &BatchGetApplicationsInput{}
  41. }
  42. req = c.newRequest(op, input, output)
  43. output = &BatchGetApplicationsOutput{}
  44. req.Data = output
  45. return
  46. }
  47. // Gets information about one or more applications.
  48. func (c *CodeDeploy) BatchGetApplications(input *BatchGetApplicationsInput) (*BatchGetApplicationsOutput, error) {
  49. req, out := c.BatchGetApplicationsRequest(input)
  50. err := req.Send()
  51. return out, err
  52. }
  53. const opBatchGetDeployments = "BatchGetDeployments"
  54. // BatchGetDeploymentsRequest generates a request for the BatchGetDeployments operation.
  55. func (c *CodeDeploy) BatchGetDeploymentsRequest(input *BatchGetDeploymentsInput) (req *request.Request, output *BatchGetDeploymentsOutput) {
  56. op := &request.Operation{
  57. Name: opBatchGetDeployments,
  58. HTTPMethod: "POST",
  59. HTTPPath: "/",
  60. }
  61. if input == nil {
  62. input = &BatchGetDeploymentsInput{}
  63. }
  64. req = c.newRequest(op, input, output)
  65. output = &BatchGetDeploymentsOutput{}
  66. req.Data = output
  67. return
  68. }
  69. // Gets information about one or more deployments.
  70. func (c *CodeDeploy) BatchGetDeployments(input *BatchGetDeploymentsInput) (*BatchGetDeploymentsOutput, error) {
  71. req, out := c.BatchGetDeploymentsRequest(input)
  72. err := req.Send()
  73. return out, err
  74. }
  75. const opBatchGetOnPremisesInstances = "BatchGetOnPremisesInstances"
  76. // BatchGetOnPremisesInstancesRequest generates a request for the BatchGetOnPremisesInstances operation.
  77. func (c *CodeDeploy) BatchGetOnPremisesInstancesRequest(input *BatchGetOnPremisesInstancesInput) (req *request.Request, output *BatchGetOnPremisesInstancesOutput) {
  78. op := &request.Operation{
  79. Name: opBatchGetOnPremisesInstances,
  80. HTTPMethod: "POST",
  81. HTTPPath: "/",
  82. }
  83. if input == nil {
  84. input = &BatchGetOnPremisesInstancesInput{}
  85. }
  86. req = c.newRequest(op, input, output)
  87. output = &BatchGetOnPremisesInstancesOutput{}
  88. req.Data = output
  89. return
  90. }
  91. // Gets information about one or more on-premises instances.
  92. func (c *CodeDeploy) BatchGetOnPremisesInstances(input *BatchGetOnPremisesInstancesInput) (*BatchGetOnPremisesInstancesOutput, error) {
  93. req, out := c.BatchGetOnPremisesInstancesRequest(input)
  94. err := req.Send()
  95. return out, err
  96. }
  97. const opCreateApplication = "CreateApplication"
  98. // CreateApplicationRequest generates a request for the CreateApplication operation.
  99. func (c *CodeDeploy) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput) {
  100. op := &request.Operation{
  101. Name: opCreateApplication,
  102. HTTPMethod: "POST",
  103. HTTPPath: "/",
  104. }
  105. if input == nil {
  106. input = &CreateApplicationInput{}
  107. }
  108. req = c.newRequest(op, input, output)
  109. output = &CreateApplicationOutput{}
  110. req.Data = output
  111. return
  112. }
  113. // Creates a new application.
  114. func (c *CodeDeploy) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error) {
  115. req, out := c.CreateApplicationRequest(input)
  116. err := req.Send()
  117. return out, err
  118. }
  119. const opCreateDeployment = "CreateDeployment"
  120. // CreateDeploymentRequest generates a request for the CreateDeployment operation.
  121. func (c *CodeDeploy) CreateDeploymentRequest(input *CreateDeploymentInput) (req *request.Request, output *CreateDeploymentOutput) {
  122. op := &request.Operation{
  123. Name: opCreateDeployment,
  124. HTTPMethod: "POST",
  125. HTTPPath: "/",
  126. }
  127. if input == nil {
  128. input = &CreateDeploymentInput{}
  129. }
  130. req = c.newRequest(op, input, output)
  131. output = &CreateDeploymentOutput{}
  132. req.Data = output
  133. return
  134. }
  135. // Deploys an application revision through the specified deployment group.
  136. func (c *CodeDeploy) CreateDeployment(input *CreateDeploymentInput) (*CreateDeploymentOutput, error) {
  137. req, out := c.CreateDeploymentRequest(input)
  138. err := req.Send()
  139. return out, err
  140. }
  141. const opCreateDeploymentConfig = "CreateDeploymentConfig"
  142. // CreateDeploymentConfigRequest generates a request for the CreateDeploymentConfig operation.
  143. func (c *CodeDeploy) CreateDeploymentConfigRequest(input *CreateDeploymentConfigInput) (req *request.Request, output *CreateDeploymentConfigOutput) {
  144. op := &request.Operation{
  145. Name: opCreateDeploymentConfig,
  146. HTTPMethod: "POST",
  147. HTTPPath: "/",
  148. }
  149. if input == nil {
  150. input = &CreateDeploymentConfigInput{}
  151. }
  152. req = c.newRequest(op, input, output)
  153. output = &CreateDeploymentConfigOutput{}
  154. req.Data = output
  155. return
  156. }
  157. // Creates a new deployment configuration.
  158. func (c *CodeDeploy) CreateDeploymentConfig(input *CreateDeploymentConfigInput) (*CreateDeploymentConfigOutput, error) {
  159. req, out := c.CreateDeploymentConfigRequest(input)
  160. err := req.Send()
  161. return out, err
  162. }
  163. const opCreateDeploymentGroup = "CreateDeploymentGroup"
  164. // CreateDeploymentGroupRequest generates a request for the CreateDeploymentGroup operation.
  165. func (c *CodeDeploy) CreateDeploymentGroupRequest(input *CreateDeploymentGroupInput) (req *request.Request, output *CreateDeploymentGroupOutput) {
  166. op := &request.Operation{
  167. Name: opCreateDeploymentGroup,
  168. HTTPMethod: "POST",
  169. HTTPPath: "/",
  170. }
  171. if input == nil {
  172. input = &CreateDeploymentGroupInput{}
  173. }
  174. req = c.newRequest(op, input, output)
  175. output = &CreateDeploymentGroupOutput{}
  176. req.Data = output
  177. return
  178. }
  179. // Creates a new deployment group for application revisions to be deployed to.
  180. func (c *CodeDeploy) CreateDeploymentGroup(input *CreateDeploymentGroupInput) (*CreateDeploymentGroupOutput, error) {
  181. req, out := c.CreateDeploymentGroupRequest(input)
  182. err := req.Send()
  183. return out, err
  184. }
  185. const opDeleteApplication = "DeleteApplication"
  186. // DeleteApplicationRequest generates a request for the DeleteApplication operation.
  187. func (c *CodeDeploy) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput) {
  188. op := &request.Operation{
  189. Name: opDeleteApplication,
  190. HTTPMethod: "POST",
  191. HTTPPath: "/",
  192. }
  193. if input == nil {
  194. input = &DeleteApplicationInput{}
  195. }
  196. req = c.newRequest(op, input, output)
  197. output = &DeleteApplicationOutput{}
  198. req.Data = output
  199. return
  200. }
  201. // Deletes an application.
  202. func (c *CodeDeploy) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error) {
  203. req, out := c.DeleteApplicationRequest(input)
  204. err := req.Send()
  205. return out, err
  206. }
  207. const opDeleteDeploymentConfig = "DeleteDeploymentConfig"
  208. // DeleteDeploymentConfigRequest generates a request for the DeleteDeploymentConfig operation.
  209. func (c *CodeDeploy) DeleteDeploymentConfigRequest(input *DeleteDeploymentConfigInput) (req *request.Request, output *DeleteDeploymentConfigOutput) {
  210. op := &request.Operation{
  211. Name: opDeleteDeploymentConfig,
  212. HTTPMethod: "POST",
  213. HTTPPath: "/",
  214. }
  215. if input == nil {
  216. input = &DeleteDeploymentConfigInput{}
  217. }
  218. req = c.newRequest(op, input, output)
  219. output = &DeleteDeploymentConfigOutput{}
  220. req.Data = output
  221. return
  222. }
  223. // Deletes a deployment configuration.
  224. //
  225. // A deployment configuration cannot be deleted if it is currently in use.
  226. // Also, predefined configurations cannot be deleted.
  227. func (c *CodeDeploy) DeleteDeploymentConfig(input *DeleteDeploymentConfigInput) (*DeleteDeploymentConfigOutput, error) {
  228. req, out := c.DeleteDeploymentConfigRequest(input)
  229. err := req.Send()
  230. return out, err
  231. }
  232. const opDeleteDeploymentGroup = "DeleteDeploymentGroup"
  233. // DeleteDeploymentGroupRequest generates a request for the DeleteDeploymentGroup operation.
  234. func (c *CodeDeploy) DeleteDeploymentGroupRequest(input *DeleteDeploymentGroupInput) (req *request.Request, output *DeleteDeploymentGroupOutput) {
  235. op := &request.Operation{
  236. Name: opDeleteDeploymentGroup,
  237. HTTPMethod: "POST",
  238. HTTPPath: "/",
  239. }
  240. if input == nil {
  241. input = &DeleteDeploymentGroupInput{}
  242. }
  243. req = c.newRequest(op, input, output)
  244. output = &DeleteDeploymentGroupOutput{}
  245. req.Data = output
  246. return
  247. }
  248. // Deletes a deployment group.
  249. func (c *CodeDeploy) DeleteDeploymentGroup(input *DeleteDeploymentGroupInput) (*DeleteDeploymentGroupOutput, error) {
  250. req, out := c.DeleteDeploymentGroupRequest(input)
  251. err := req.Send()
  252. return out, err
  253. }
  254. const opDeregisterOnPremisesInstance = "DeregisterOnPremisesInstance"
  255. // DeregisterOnPremisesInstanceRequest generates a request for the DeregisterOnPremisesInstance operation.
  256. func (c *CodeDeploy) DeregisterOnPremisesInstanceRequest(input *DeregisterOnPremisesInstanceInput) (req *request.Request, output *DeregisterOnPremisesInstanceOutput) {
  257. op := &request.Operation{
  258. Name: opDeregisterOnPremisesInstance,
  259. HTTPMethod: "POST",
  260. HTTPPath: "/",
  261. }
  262. if input == nil {
  263. input = &DeregisterOnPremisesInstanceInput{}
  264. }
  265. req = c.newRequest(op, input, output)
  266. output = &DeregisterOnPremisesInstanceOutput{}
  267. req.Data = output
  268. return
  269. }
  270. // Deregisters an on-premises instance.
  271. func (c *CodeDeploy) DeregisterOnPremisesInstance(input *DeregisterOnPremisesInstanceInput) (*DeregisterOnPremisesInstanceOutput, error) {
  272. req, out := c.DeregisterOnPremisesInstanceRequest(input)
  273. err := req.Send()
  274. return out, err
  275. }
  276. const opGetApplication = "GetApplication"
  277. // GetApplicationRequest generates a request for the GetApplication operation.
  278. func (c *CodeDeploy) GetApplicationRequest(input *GetApplicationInput) (req *request.Request, output *GetApplicationOutput) {
  279. op := &request.Operation{
  280. Name: opGetApplication,
  281. HTTPMethod: "POST",
  282. HTTPPath: "/",
  283. }
  284. if input == nil {
  285. input = &GetApplicationInput{}
  286. }
  287. req = c.newRequest(op, input, output)
  288. output = &GetApplicationOutput{}
  289. req.Data = output
  290. return
  291. }
  292. // Gets information about an application.
  293. func (c *CodeDeploy) GetApplication(input *GetApplicationInput) (*GetApplicationOutput, error) {
  294. req, out := c.GetApplicationRequest(input)
  295. err := req.Send()
  296. return out, err
  297. }
  298. const opGetApplicationRevision = "GetApplicationRevision"
  299. // GetApplicationRevisionRequest generates a request for the GetApplicationRevision operation.
  300. func (c *CodeDeploy) GetApplicationRevisionRequest(input *GetApplicationRevisionInput) (req *request.Request, output *GetApplicationRevisionOutput) {
  301. op := &request.Operation{
  302. Name: opGetApplicationRevision,
  303. HTTPMethod: "POST",
  304. HTTPPath: "/",
  305. }
  306. if input == nil {
  307. input = &GetApplicationRevisionInput{}
  308. }
  309. req = c.newRequest(op, input, output)
  310. output = &GetApplicationRevisionOutput{}
  311. req.Data = output
  312. return
  313. }
  314. // Gets information about an application revision.
  315. func (c *CodeDeploy) GetApplicationRevision(input *GetApplicationRevisionInput) (*GetApplicationRevisionOutput, error) {
  316. req, out := c.GetApplicationRevisionRequest(input)
  317. err := req.Send()
  318. return out, err
  319. }
  320. const opGetDeployment = "GetDeployment"
  321. // GetDeploymentRequest generates a request for the GetDeployment operation.
  322. func (c *CodeDeploy) GetDeploymentRequest(input *GetDeploymentInput) (req *request.Request, output *GetDeploymentOutput) {
  323. op := &request.Operation{
  324. Name: opGetDeployment,
  325. HTTPMethod: "POST",
  326. HTTPPath: "/",
  327. }
  328. if input == nil {
  329. input = &GetDeploymentInput{}
  330. }
  331. req = c.newRequest(op, input, output)
  332. output = &GetDeploymentOutput{}
  333. req.Data = output
  334. return
  335. }
  336. // Gets information about a deployment.
  337. func (c *CodeDeploy) GetDeployment(input *GetDeploymentInput) (*GetDeploymentOutput, error) {
  338. req, out := c.GetDeploymentRequest(input)
  339. err := req.Send()
  340. return out, err
  341. }
  342. const opGetDeploymentConfig = "GetDeploymentConfig"
  343. // GetDeploymentConfigRequest generates a request for the GetDeploymentConfig operation.
  344. func (c *CodeDeploy) GetDeploymentConfigRequest(input *GetDeploymentConfigInput) (req *request.Request, output *GetDeploymentConfigOutput) {
  345. op := &request.Operation{
  346. Name: opGetDeploymentConfig,
  347. HTTPMethod: "POST",
  348. HTTPPath: "/",
  349. }
  350. if input == nil {
  351. input = &GetDeploymentConfigInput{}
  352. }
  353. req = c.newRequest(op, input, output)
  354. output = &GetDeploymentConfigOutput{}
  355. req.Data = output
  356. return
  357. }
  358. // Gets information about a deployment configuration.
  359. func (c *CodeDeploy) GetDeploymentConfig(input *GetDeploymentConfigInput) (*GetDeploymentConfigOutput, error) {
  360. req, out := c.GetDeploymentConfigRequest(input)
  361. err := req.Send()
  362. return out, err
  363. }
  364. const opGetDeploymentGroup = "GetDeploymentGroup"
  365. // GetDeploymentGroupRequest generates a request for the GetDeploymentGroup operation.
  366. func (c *CodeDeploy) GetDeploymentGroupRequest(input *GetDeploymentGroupInput) (req *request.Request, output *GetDeploymentGroupOutput) {
  367. op := &request.Operation{
  368. Name: opGetDeploymentGroup,
  369. HTTPMethod: "POST",
  370. HTTPPath: "/",
  371. }
  372. if input == nil {
  373. input = &GetDeploymentGroupInput{}
  374. }
  375. req = c.newRequest(op, input, output)
  376. output = &GetDeploymentGroupOutput{}
  377. req.Data = output
  378. return
  379. }
  380. // Gets information about a deployment group.
  381. func (c *CodeDeploy) GetDeploymentGroup(input *GetDeploymentGroupInput) (*GetDeploymentGroupOutput, error) {
  382. req, out := c.GetDeploymentGroupRequest(input)
  383. err := req.Send()
  384. return out, err
  385. }
  386. const opGetDeploymentInstance = "GetDeploymentInstance"
  387. // GetDeploymentInstanceRequest generates a request for the GetDeploymentInstance operation.
  388. func (c *CodeDeploy) GetDeploymentInstanceRequest(input *GetDeploymentInstanceInput) (req *request.Request, output *GetDeploymentInstanceOutput) {
  389. op := &request.Operation{
  390. Name: opGetDeploymentInstance,
  391. HTTPMethod: "POST",
  392. HTTPPath: "/",
  393. }
  394. if input == nil {
  395. input = &GetDeploymentInstanceInput{}
  396. }
  397. req = c.newRequest(op, input, output)
  398. output = &GetDeploymentInstanceOutput{}
  399. req.Data = output
  400. return
  401. }
  402. // Gets information about an instance as part of a deployment.
  403. func (c *CodeDeploy) GetDeploymentInstance(input *GetDeploymentInstanceInput) (*GetDeploymentInstanceOutput, error) {
  404. req, out := c.GetDeploymentInstanceRequest(input)
  405. err := req.Send()
  406. return out, err
  407. }
  408. const opGetOnPremisesInstance = "GetOnPremisesInstance"
  409. // GetOnPremisesInstanceRequest generates a request for the GetOnPremisesInstance operation.
  410. func (c *CodeDeploy) GetOnPremisesInstanceRequest(input *GetOnPremisesInstanceInput) (req *request.Request, output *GetOnPremisesInstanceOutput) {
  411. op := &request.Operation{
  412. Name: opGetOnPremisesInstance,
  413. HTTPMethod: "POST",
  414. HTTPPath: "/",
  415. }
  416. if input == nil {
  417. input = &GetOnPremisesInstanceInput{}
  418. }
  419. req = c.newRequest(op, input, output)
  420. output = &GetOnPremisesInstanceOutput{}
  421. req.Data = output
  422. return
  423. }
  424. // Gets information about an on-premises instance.
  425. func (c *CodeDeploy) GetOnPremisesInstance(input *GetOnPremisesInstanceInput) (*GetOnPremisesInstanceOutput, error) {
  426. req, out := c.GetOnPremisesInstanceRequest(input)
  427. err := req.Send()
  428. return out, err
  429. }
  430. const opListApplicationRevisions = "ListApplicationRevisions"
  431. // ListApplicationRevisionsRequest generates a request for the ListApplicationRevisions operation.
  432. func (c *CodeDeploy) ListApplicationRevisionsRequest(input *ListApplicationRevisionsInput) (req *request.Request, output *ListApplicationRevisionsOutput) {
  433. op := &request.Operation{
  434. Name: opListApplicationRevisions,
  435. HTTPMethod: "POST",
  436. HTTPPath: "/",
  437. Paginator: &request.Paginator{
  438. InputTokens: []string{"nextToken"},
  439. OutputTokens: []string{"nextToken"},
  440. LimitToken: "",
  441. TruncationToken: "",
  442. },
  443. }
  444. if input == nil {
  445. input = &ListApplicationRevisionsInput{}
  446. }
  447. req = c.newRequest(op, input, output)
  448. output = &ListApplicationRevisionsOutput{}
  449. req.Data = output
  450. return
  451. }
  452. // Lists information about revisions for an application.
  453. func (c *CodeDeploy) ListApplicationRevisions(input *ListApplicationRevisionsInput) (*ListApplicationRevisionsOutput, error) {
  454. req, out := c.ListApplicationRevisionsRequest(input)
  455. err := req.Send()
  456. return out, err
  457. }
  458. func (c *CodeDeploy) ListApplicationRevisionsPages(input *ListApplicationRevisionsInput, fn func(p *ListApplicationRevisionsOutput, lastPage bool) (shouldContinue bool)) error {
  459. page, _ := c.ListApplicationRevisionsRequest(input)
  460. return page.EachPage(func(p interface{}, lastPage bool) bool {
  461. return fn(p.(*ListApplicationRevisionsOutput), lastPage)
  462. })
  463. }
  464. const opListApplications = "ListApplications"
  465. // ListApplicationsRequest generates a request for the ListApplications operation.
  466. func (c *CodeDeploy) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput) {
  467. op := &request.Operation{
  468. Name: opListApplications,
  469. HTTPMethod: "POST",
  470. HTTPPath: "/",
  471. Paginator: &request.Paginator{
  472. InputTokens: []string{"nextToken"},
  473. OutputTokens: []string{"nextToken"},
  474. LimitToken: "",
  475. TruncationToken: "",
  476. },
  477. }
  478. if input == nil {
  479. input = &ListApplicationsInput{}
  480. }
  481. req = c.newRequest(op, input, output)
  482. output = &ListApplicationsOutput{}
  483. req.Data = output
  484. return
  485. }
  486. // Lists the applications registered with the applicable IAM user or AWS account.
  487. func (c *CodeDeploy) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error) {
  488. req, out := c.ListApplicationsRequest(input)
  489. err := req.Send()
  490. return out, err
  491. }
  492. func (c *CodeDeploy) ListApplicationsPages(input *ListApplicationsInput, fn func(p *ListApplicationsOutput, lastPage bool) (shouldContinue bool)) error {
  493. page, _ := c.ListApplicationsRequest(input)
  494. return page.EachPage(func(p interface{}, lastPage bool) bool {
  495. return fn(p.(*ListApplicationsOutput), lastPage)
  496. })
  497. }
  498. const opListDeploymentConfigs = "ListDeploymentConfigs"
  499. // ListDeploymentConfigsRequest generates a request for the ListDeploymentConfigs operation.
  500. func (c *CodeDeploy) ListDeploymentConfigsRequest(input *ListDeploymentConfigsInput) (req *request.Request, output *ListDeploymentConfigsOutput) {
  501. op := &request.Operation{
  502. Name: opListDeploymentConfigs,
  503. HTTPMethod: "POST",
  504. HTTPPath: "/",
  505. Paginator: &request.Paginator{
  506. InputTokens: []string{"nextToken"},
  507. OutputTokens: []string{"nextToken"},
  508. LimitToken: "",
  509. TruncationToken: "",
  510. },
  511. }
  512. if input == nil {
  513. input = &ListDeploymentConfigsInput{}
  514. }
  515. req = c.newRequest(op, input, output)
  516. output = &ListDeploymentConfigsOutput{}
  517. req.Data = output
  518. return
  519. }
  520. // Lists the deployment configurations with the applicable IAM user or AWS account.
  521. func (c *CodeDeploy) ListDeploymentConfigs(input *ListDeploymentConfigsInput) (*ListDeploymentConfigsOutput, error) {
  522. req, out := c.ListDeploymentConfigsRequest(input)
  523. err := req.Send()
  524. return out, err
  525. }
  526. func (c *CodeDeploy) ListDeploymentConfigsPages(input *ListDeploymentConfigsInput, fn func(p *ListDeploymentConfigsOutput, lastPage bool) (shouldContinue bool)) error {
  527. page, _ := c.ListDeploymentConfigsRequest(input)
  528. return page.EachPage(func(p interface{}, lastPage bool) bool {
  529. return fn(p.(*ListDeploymentConfigsOutput), lastPage)
  530. })
  531. }
  532. const opListDeploymentGroups = "ListDeploymentGroups"
  533. // ListDeploymentGroupsRequest generates a request for the ListDeploymentGroups operation.
  534. func (c *CodeDeploy) ListDeploymentGroupsRequest(input *ListDeploymentGroupsInput) (req *request.Request, output *ListDeploymentGroupsOutput) {
  535. op := &request.Operation{
  536. Name: opListDeploymentGroups,
  537. HTTPMethod: "POST",
  538. HTTPPath: "/",
  539. Paginator: &request.Paginator{
  540. InputTokens: []string{"nextToken"},
  541. OutputTokens: []string{"nextToken"},
  542. LimitToken: "",
  543. TruncationToken: "",
  544. },
  545. }
  546. if input == nil {
  547. input = &ListDeploymentGroupsInput{}
  548. }
  549. req = c.newRequest(op, input, output)
  550. output = &ListDeploymentGroupsOutput{}
  551. req.Data = output
  552. return
  553. }
  554. // Lists the deployment groups for an application registered with the applicable
  555. // IAM user or AWS account.
  556. func (c *CodeDeploy) ListDeploymentGroups(input *ListDeploymentGroupsInput) (*ListDeploymentGroupsOutput, error) {
  557. req, out := c.ListDeploymentGroupsRequest(input)
  558. err := req.Send()
  559. return out, err
  560. }
  561. func (c *CodeDeploy) ListDeploymentGroupsPages(input *ListDeploymentGroupsInput, fn func(p *ListDeploymentGroupsOutput, lastPage bool) (shouldContinue bool)) error {
  562. page, _ := c.ListDeploymentGroupsRequest(input)
  563. return page.EachPage(func(p interface{}, lastPage bool) bool {
  564. return fn(p.(*ListDeploymentGroupsOutput), lastPage)
  565. })
  566. }
  567. const opListDeploymentInstances = "ListDeploymentInstances"
  568. // ListDeploymentInstancesRequest generates a request for the ListDeploymentInstances operation.
  569. func (c *CodeDeploy) ListDeploymentInstancesRequest(input *ListDeploymentInstancesInput) (req *request.Request, output *ListDeploymentInstancesOutput) {
  570. op := &request.Operation{
  571. Name: opListDeploymentInstances,
  572. HTTPMethod: "POST",
  573. HTTPPath: "/",
  574. Paginator: &request.Paginator{
  575. InputTokens: []string{"nextToken"},
  576. OutputTokens: []string{"nextToken"},
  577. LimitToken: "",
  578. TruncationToken: "",
  579. },
  580. }
  581. if input == nil {
  582. input = &ListDeploymentInstancesInput{}
  583. }
  584. req = c.newRequest(op, input, output)
  585. output = &ListDeploymentInstancesOutput{}
  586. req.Data = output
  587. return
  588. }
  589. // Lists the instances for a deployment associated with the applicable IAM user
  590. // or AWS account.
  591. func (c *CodeDeploy) ListDeploymentInstances(input *ListDeploymentInstancesInput) (*ListDeploymentInstancesOutput, error) {
  592. req, out := c.ListDeploymentInstancesRequest(input)
  593. err := req.Send()
  594. return out, err
  595. }
  596. func (c *CodeDeploy) ListDeploymentInstancesPages(input *ListDeploymentInstancesInput, fn func(p *ListDeploymentInstancesOutput, lastPage bool) (shouldContinue bool)) error {
  597. page, _ := c.ListDeploymentInstancesRequest(input)
  598. return page.EachPage(func(p interface{}, lastPage bool) bool {
  599. return fn(p.(*ListDeploymentInstancesOutput), lastPage)
  600. })
  601. }
  602. const opListDeployments = "ListDeployments"
  603. // ListDeploymentsRequest generates a request for the ListDeployments operation.
  604. func (c *CodeDeploy) ListDeploymentsRequest(input *ListDeploymentsInput) (req *request.Request, output *ListDeploymentsOutput) {
  605. op := &request.Operation{
  606. Name: opListDeployments,
  607. HTTPMethod: "POST",
  608. HTTPPath: "/",
  609. Paginator: &request.Paginator{
  610. InputTokens: []string{"nextToken"},
  611. OutputTokens: []string{"nextToken"},
  612. LimitToken: "",
  613. TruncationToken: "",
  614. },
  615. }
  616. if input == nil {
  617. input = &ListDeploymentsInput{}
  618. }
  619. req = c.newRequest(op, input, output)
  620. output = &ListDeploymentsOutput{}
  621. req.Data = output
  622. return
  623. }
  624. // Lists the deployments within a deployment group for an application registered
  625. // with the applicable IAM user or AWS account.
  626. func (c *CodeDeploy) ListDeployments(input *ListDeploymentsInput) (*ListDeploymentsOutput, error) {
  627. req, out := c.ListDeploymentsRequest(input)
  628. err := req.Send()
  629. return out, err
  630. }
  631. func (c *CodeDeploy) ListDeploymentsPages(input *ListDeploymentsInput, fn func(p *ListDeploymentsOutput, lastPage bool) (shouldContinue bool)) error {
  632. page, _ := c.ListDeploymentsRequest(input)
  633. return page.EachPage(func(p interface{}, lastPage bool) bool {
  634. return fn(p.(*ListDeploymentsOutput), lastPage)
  635. })
  636. }
  637. const opListOnPremisesInstances = "ListOnPremisesInstances"
  638. // ListOnPremisesInstancesRequest generates a request for the ListOnPremisesInstances operation.
  639. func (c *CodeDeploy) ListOnPremisesInstancesRequest(input *ListOnPremisesInstancesInput) (req *request.Request, output *ListOnPremisesInstancesOutput) {
  640. op := &request.Operation{
  641. Name: opListOnPremisesInstances,
  642. HTTPMethod: "POST",
  643. HTTPPath: "/",
  644. }
  645. if input == nil {
  646. input = &ListOnPremisesInstancesInput{}
  647. }
  648. req = c.newRequest(op, input, output)
  649. output = &ListOnPremisesInstancesOutput{}
  650. req.Data = output
  651. return
  652. }
  653. // Gets a list of one or more on-premises instance names.
  654. //
  655. // Unless otherwise specified, both registered and deregistered on-premises
  656. // instance names will be listed. To list only registered or deregistered on-premises
  657. // instance names, use the registration status parameter.
  658. func (c *CodeDeploy) ListOnPremisesInstances(input *ListOnPremisesInstancesInput) (*ListOnPremisesInstancesOutput, error) {
  659. req, out := c.ListOnPremisesInstancesRequest(input)
  660. err := req.Send()
  661. return out, err
  662. }
  663. const opRegisterApplicationRevision = "RegisterApplicationRevision"
  664. // RegisterApplicationRevisionRequest generates a request for the RegisterApplicationRevision operation.
  665. func (c *CodeDeploy) RegisterApplicationRevisionRequest(input *RegisterApplicationRevisionInput) (req *request.Request, output *RegisterApplicationRevisionOutput) {
  666. op := &request.Operation{
  667. Name: opRegisterApplicationRevision,
  668. HTTPMethod: "POST",
  669. HTTPPath: "/",
  670. }
  671. if input == nil {
  672. input = &RegisterApplicationRevisionInput{}
  673. }
  674. req = c.newRequest(op, input, output)
  675. output = &RegisterApplicationRevisionOutput{}
  676. req.Data = output
  677. return
  678. }
  679. // Registers with AWS CodeDeploy a revision for the specified application.
  680. func (c *CodeDeploy) RegisterApplicationRevision(input *RegisterApplicationRevisionInput) (*RegisterApplicationRevisionOutput, error) {
  681. req, out := c.RegisterApplicationRevisionRequest(input)
  682. err := req.Send()
  683. return out, err
  684. }
  685. const opRegisterOnPremisesInstance = "RegisterOnPremisesInstance"
  686. // RegisterOnPremisesInstanceRequest generates a request for the RegisterOnPremisesInstance operation.
  687. func (c *CodeDeploy) RegisterOnPremisesInstanceRequest(input *RegisterOnPremisesInstanceInput) (req *request.Request, output *RegisterOnPremisesInstanceOutput) {
  688. op := &request.Operation{
  689. Name: opRegisterOnPremisesInstance,
  690. HTTPMethod: "POST",
  691. HTTPPath: "/",
  692. }
  693. if input == nil {
  694. input = &RegisterOnPremisesInstanceInput{}
  695. }
  696. req = c.newRequest(op, input, output)
  697. output = &RegisterOnPremisesInstanceOutput{}
  698. req.Data = output
  699. return
  700. }
  701. // Registers an on-premises instance.
  702. func (c *CodeDeploy) RegisterOnPremisesInstance(input *RegisterOnPremisesInstanceInput) (*RegisterOnPremisesInstanceOutput, error) {
  703. req, out := c.RegisterOnPremisesInstanceRequest(input)
  704. err := req.Send()
  705. return out, err
  706. }
  707. const opRemoveTagsFromOnPremisesInstances = "RemoveTagsFromOnPremisesInstances"
  708. // RemoveTagsFromOnPremisesInstancesRequest generates a request for the RemoveTagsFromOnPremisesInstances operation.
  709. func (c *CodeDeploy) RemoveTagsFromOnPremisesInstancesRequest(input *RemoveTagsFromOnPremisesInstancesInput) (req *request.Request, output *RemoveTagsFromOnPremisesInstancesOutput) {
  710. op := &request.Operation{
  711. Name: opRemoveTagsFromOnPremisesInstances,
  712. HTTPMethod: "POST",
  713. HTTPPath: "/",
  714. }
  715. if input == nil {
  716. input = &RemoveTagsFromOnPremisesInstancesInput{}
  717. }
  718. req = c.newRequest(op, input, output)
  719. output = &RemoveTagsFromOnPremisesInstancesOutput{}
  720. req.Data = output
  721. return
  722. }
  723. // Removes one or more tags from one or more on-premises instances.
  724. func (c *CodeDeploy) RemoveTagsFromOnPremisesInstances(input *RemoveTagsFromOnPremisesInstancesInput) (*RemoveTagsFromOnPremisesInstancesOutput, error) {
  725. req, out := c.RemoveTagsFromOnPremisesInstancesRequest(input)
  726. err := req.Send()
  727. return out, err
  728. }
  729. const opStopDeployment = "StopDeployment"
  730. // StopDeploymentRequest generates a request for the StopDeployment operation.
  731. func (c *CodeDeploy) StopDeploymentRequest(input *StopDeploymentInput) (req *request.Request, output *StopDeploymentOutput) {
  732. op := &request.Operation{
  733. Name: opStopDeployment,
  734. HTTPMethod: "POST",
  735. HTTPPath: "/",
  736. }
  737. if input == nil {
  738. input = &StopDeploymentInput{}
  739. }
  740. req = c.newRequest(op, input, output)
  741. output = &StopDeploymentOutput{}
  742. req.Data = output
  743. return
  744. }
  745. // Attempts to stop an ongoing deployment.
  746. func (c *CodeDeploy) StopDeployment(input *StopDeploymentInput) (*StopDeploymentOutput, error) {
  747. req, out := c.StopDeploymentRequest(input)
  748. err := req.Send()
  749. return out, err
  750. }
  751. const opUpdateApplication = "UpdateApplication"
  752. // UpdateApplicationRequest generates a request for the UpdateApplication operation.
  753. func (c *CodeDeploy) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput) {
  754. op := &request.Operation{
  755. Name: opUpdateApplication,
  756. HTTPMethod: "POST",
  757. HTTPPath: "/",
  758. }
  759. if input == nil {
  760. input = &UpdateApplicationInput{}
  761. }
  762. req = c.newRequest(op, input, output)
  763. output = &UpdateApplicationOutput{}
  764. req.Data = output
  765. return
  766. }
  767. // Changes an existing application's name.
  768. func (c *CodeDeploy) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error) {
  769. req, out := c.UpdateApplicationRequest(input)
  770. err := req.Send()
  771. return out, err
  772. }
  773. const opUpdateDeploymentGroup = "UpdateDeploymentGroup"
  774. // UpdateDeploymentGroupRequest generates a request for the UpdateDeploymentGroup operation.
  775. func (c *CodeDeploy) UpdateDeploymentGroupRequest(input *UpdateDeploymentGroupInput) (req *request.Request, output *UpdateDeploymentGroupOutput) {
  776. op := &request.Operation{
  777. Name: opUpdateDeploymentGroup,
  778. HTTPMethod: "POST",
  779. HTTPPath: "/",
  780. }
  781. if input == nil {
  782. input = &UpdateDeploymentGroupInput{}
  783. }
  784. req = c.newRequest(op, input, output)
  785. output = &UpdateDeploymentGroupOutput{}
  786. req.Data = output
  787. return
  788. }
  789. // Changes information about an existing deployment group.
  790. func (c *CodeDeploy) UpdateDeploymentGroup(input *UpdateDeploymentGroupInput) (*UpdateDeploymentGroupOutput, error) {
  791. req, out := c.UpdateDeploymentGroupRequest(input)
  792. err := req.Send()
  793. return out, err
  794. }
  795. // Represents the input of an adds tags to on-premises instance operation.
  796. type AddTagsToOnPremisesInstancesInput struct {
  797. // The names of the on-premises instances to add tags to.
  798. InstanceNames []*string `locationName:"instanceNames" type:"list" required:"true"`
  799. // The tag key-value pairs to add to the on-premises instances.
  800. //
  801. // Keys and values are both required. Keys cannot be nulls or empty strings.
  802. // Value-only tags are not allowed.
  803. Tags []*Tag `locationName:"tags" type:"list" required:"true"`
  804. metadataAddTagsToOnPremisesInstancesInput `json:"-" xml:"-"`
  805. }
  806. type metadataAddTagsToOnPremisesInstancesInput struct {
  807. SDKShapeTraits bool `type:"structure"`
  808. }
  809. // String returns the string representation
  810. func (s AddTagsToOnPremisesInstancesInput) String() string {
  811. return awsutil.Prettify(s)
  812. }
  813. // GoString returns the string representation
  814. func (s AddTagsToOnPremisesInstancesInput) GoString() string {
  815. return s.String()
  816. }
  817. type AddTagsToOnPremisesInstancesOutput struct {
  818. metadataAddTagsToOnPremisesInstancesOutput `json:"-" xml:"-"`
  819. }
  820. type metadataAddTagsToOnPremisesInstancesOutput struct {
  821. SDKShapeTraits bool `type:"structure"`
  822. }
  823. // String returns the string representation
  824. func (s AddTagsToOnPremisesInstancesOutput) String() string {
  825. return awsutil.Prettify(s)
  826. }
  827. // GoString returns the string representation
  828. func (s AddTagsToOnPremisesInstancesOutput) GoString() string {
  829. return s.String()
  830. }
  831. // Information about an application.
  832. type ApplicationInfo struct {
  833. // The application ID.
  834. ApplicationId *string `locationName:"applicationId" type:"string"`
  835. // The application name.
  836. ApplicationName *string `locationName:"applicationName" type:"string"`
  837. // The time that the application was created.
  838. CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"unix"`
  839. // True if the user has authenticated with GitHub for the specified application;
  840. // otherwise, false.
  841. LinkedToGitHub *bool `locationName:"linkedToGitHub" type:"boolean"`
  842. metadataApplicationInfo `json:"-" xml:"-"`
  843. }
  844. type metadataApplicationInfo struct {
  845. SDKShapeTraits bool `type:"structure"`
  846. }
  847. // String returns the string representation
  848. func (s ApplicationInfo) String() string {
  849. return awsutil.Prettify(s)
  850. }
  851. // GoString returns the string representation
  852. func (s ApplicationInfo) GoString() string {
  853. return s.String()
  854. }
  855. // Information about an Auto Scaling group.
  856. type AutoScalingGroup struct {
  857. // An Auto Scaling lifecycle event hook name.
  858. Hook *string `locationName:"hook" type:"string"`
  859. // The Auto Scaling group name.
  860. Name *string `locationName:"name" type:"string"`
  861. metadataAutoScalingGroup `json:"-" xml:"-"`
  862. }
  863. type metadataAutoScalingGroup struct {
  864. SDKShapeTraits bool `type:"structure"`
  865. }
  866. // String returns the string representation
  867. func (s AutoScalingGroup) String() string {
  868. return awsutil.Prettify(s)
  869. }
  870. // GoString returns the string representation
  871. func (s AutoScalingGroup) GoString() string {
  872. return s.String()
  873. }
  874. // Represents the input of a batch get applications operation.
  875. type BatchGetApplicationsInput struct {
  876. // A list of application names, with multiple application names separated by
  877. // spaces.
  878. ApplicationNames []*string `locationName:"applicationNames" type:"list"`
  879. metadataBatchGetApplicationsInput `json:"-" xml:"-"`
  880. }
  881. type metadataBatchGetApplicationsInput struct {
  882. SDKShapeTraits bool `type:"structure"`
  883. }
  884. // String returns the string representation
  885. func (s BatchGetApplicationsInput) String() string {
  886. return awsutil.Prettify(s)
  887. }
  888. // GoString returns the string representation
  889. func (s BatchGetApplicationsInput) GoString() string {
  890. return s.String()
  891. }
  892. // Represents the output of a batch get applications operation.
  893. type BatchGetApplicationsOutput struct {
  894. // Information about the applications.
  895. ApplicationsInfo []*ApplicationInfo `locationName:"applicationsInfo" type:"list"`
  896. metadataBatchGetApplicationsOutput `json:"-" xml:"-"`
  897. }
  898. type metadataBatchGetApplicationsOutput struct {
  899. SDKShapeTraits bool `type:"structure"`
  900. }
  901. // String returns the string representation
  902. func (s BatchGetApplicationsOutput) String() string {
  903. return awsutil.Prettify(s)
  904. }
  905. // GoString returns the string representation
  906. func (s BatchGetApplicationsOutput) GoString() string {
  907. return s.String()
  908. }
  909. // Represents the input of a batch get deployments operation.
  910. type BatchGetDeploymentsInput struct {
  911. // A list of deployment IDs, with multiple deployment IDs separated by spaces.
  912. DeploymentIds []*string `locationName:"deploymentIds" type:"list"`
  913. metadataBatchGetDeploymentsInput `json:"-" xml:"-"`
  914. }
  915. type metadataBatchGetDeploymentsInput struct {
  916. SDKShapeTraits bool `type:"structure"`
  917. }
  918. // String returns the string representation
  919. func (s BatchGetDeploymentsInput) String() string {
  920. return awsutil.Prettify(s)
  921. }
  922. // GoString returns the string representation
  923. func (s BatchGetDeploymentsInput) GoString() string {
  924. return s.String()
  925. }
  926. // Represents the output of a batch get deployments operation.
  927. type BatchGetDeploymentsOutput struct {
  928. // Information about the deployments.
  929. DeploymentsInfo []*DeploymentInfo `locationName:"deploymentsInfo" type:"list"`
  930. metadataBatchGetDeploymentsOutput `json:"-" xml:"-"`
  931. }
  932. type metadataBatchGetDeploymentsOutput struct {
  933. SDKShapeTraits bool `type:"structure"`
  934. }
  935. // String returns the string representation
  936. func (s BatchGetDeploymentsOutput) String() string {
  937. return awsutil.Prettify(s)
  938. }
  939. // GoString returns the string representation
  940. func (s BatchGetDeploymentsOutput) GoString() string {
  941. return s.String()
  942. }
  943. // Represents the input of a batch get on-premises instances operation.
  944. type BatchGetOnPremisesInstancesInput struct {
  945. // The names of the on-premises instances to get information about.
  946. InstanceNames []*string `locationName:"instanceNames" type:"list"`
  947. metadataBatchGetOnPremisesInstancesInput `json:"-" xml:"-"`
  948. }
  949. type metadataBatchGetOnPremisesInstancesInput struct {
  950. SDKShapeTraits bool `type:"structure"`
  951. }
  952. // String returns the string representation
  953. func (s BatchGetOnPremisesInstancesInput) String() string {
  954. return awsutil.Prettify(s)
  955. }
  956. // GoString returns the string representation
  957. func (s BatchGetOnPremisesInstancesInput) GoString() string {
  958. return s.String()
  959. }
  960. // Represents the output of a batch get on-premises instances operation.
  961. type BatchGetOnPremisesInstancesOutput struct {
  962. // Information about the on-premises instances.
  963. InstanceInfos []*InstanceInfo `locationName:"instanceInfos" type:"list"`
  964. metadataBatchGetOnPremisesInstancesOutput `json:"-" xml:"-"`
  965. }
  966. type metadataBatchGetOnPremisesInstancesOutput struct {
  967. SDKShapeTraits bool `type:"structure"`
  968. }
  969. // String returns the string representation
  970. func (s BatchGetOnPremisesInstancesOutput) String() string {
  971. return awsutil.Prettify(s)
  972. }
  973. // GoString returns the string representation
  974. func (s BatchGetOnPremisesInstancesOutput) GoString() string {
  975. return s.String()
  976. }
  977. // Represents the input of a create application operation.
  978. type CreateApplicationInput struct {
  979. // The name of the application. This name must be unique with the applicable
  980. // IAM user or AWS account.
  981. ApplicationName *string `locationName:"applicationName" type:"string" required:"true"`
  982. metadataCreateApplicationInput `json:"-" xml:"-"`
  983. }
  984. type metadataCreateApplicationInput struct {
  985. SDKShapeTraits bool `type:"structure"`
  986. }
  987. // String returns the string representation
  988. func (s CreateApplicationInput) String() string {
  989. return awsutil.Prettify(s)
  990. }
  991. // GoString returns the string representation
  992. func (s CreateApplicationInput) GoString() string {
  993. return s.String()
  994. }
  995. // Represents the output of a create application operation.
  996. type CreateApplicationOutput struct {
  997. // A unique application ID.
  998. ApplicationId *string `locationName:"applicationId" type:"string"`
  999. metadataCreateApplicationOutput `json:"-" xml:"-"`
  1000. }
  1001. type metadataCreateApplicationOutput struct {
  1002. SDKShapeTraits bool `type:"structure"`
  1003. }
  1004. // String returns the string representation
  1005. func (s CreateApplicationOutput) String() string {
  1006. return awsutil.Prettify(s)
  1007. }
  1008. // GoString returns the string representation
  1009. func (s CreateApplicationOutput) GoString() string {
  1010. return s.String()
  1011. }
  1012. // Represents the input of a create deployment configuration operation.
  1013. type CreateDeploymentConfigInput struct {
  1014. // The name of the deployment configuration to create.
  1015. DeploymentConfigName *string `locationName:"deploymentConfigName" type:"string" required:"true"`
  1016. // The minimum number of healthy instances that should be available at any time
  1017. // during the deployment. There are two parameters expected in the input: type
  1018. // and value.
  1019. //
  1020. // The type parameter takes either of the following values:
  1021. //
  1022. // HOST_COUNT: The value parameter represents the minimum number of healthy
  1023. // instances, as an absolute value. FLEET_PERCENT: The value parameter represents
  1024. // the minimum number of healthy instances, as a percentage of the total number
  1025. // of instances in the deployment. If you specify FLEET_PERCENT, then at the
  1026. // start of the deployment AWS CodeDeploy converts the percentage to the equivalent
  1027. // number of instances and rounds fractional instances up. The value parameter
  1028. // takes an integer.
  1029. //
  1030. // For example, to set a minimum of 95% healthy instances, specify a type of
  1031. // FLEET_PERCENT and a value of 95.
  1032. MinimumHealthyHosts *MinimumHealthyHosts `locationName:"minimumHealthyHosts" type:"structure"`
  1033. metadataCreateDeploymentConfigInput `json:"-" xml:"-"`
  1034. }
  1035. type metadataCreateDeploymentConfigInput struct {
  1036. SDKShapeTraits bool `type:"structure"`
  1037. }
  1038. // String returns the string representation
  1039. func (s CreateDeploymentConfigInput) String() string {
  1040. return awsutil.Prettify(s)
  1041. }
  1042. // GoString returns the string representation
  1043. func (s CreateDeploymentConfigInput) GoString() string {
  1044. return s.String()
  1045. }
  1046. // Represents the output of a create deployment configuration operation.
  1047. type CreateDeploymentConfigOutput struct {
  1048. // A unique deployment configuration ID.
  1049. DeploymentConfigId *string `locationName:"deploymentConfigId" type:"string"`
  1050. metadataCreateDeploymentConfigOutput `json:"-" xml:"-"`
  1051. }
  1052. type metadataCreateDeploymentConfigOutput struct {
  1053. SDKShapeTraits bool `type:"structure"`
  1054. }
  1055. // String returns the string representation
  1056. func (s CreateDeploymentConfigOutput) String() string {
  1057. return awsutil.Prettify(s)
  1058. }
  1059. // GoString returns the string representation
  1060. func (s CreateDeploymentConfigOutput) GoString() string {
  1061. return s.String()
  1062. }
  1063. // Represents the input of a create deployment group operation.
  1064. type CreateDeploymentGroupInput struct {
  1065. // The name of an existing AWS CodeDeploy application associated with the applicable
  1066. // IAM user or AWS account.
  1067. ApplicationName *string `locationName:"applicationName" type:"string" required:"true"`
  1068. // A list of associated Auto Scaling groups.
  1069. AutoScalingGroups []*string `locationName:"autoScalingGroups" type:"list"`
  1070. // If specified, the deployment configuration name must be one of the predefined
  1071. // values, or it can be a custom deployment configuration:
  1072. //
  1073. // CodeDeployDefault.AllAtOnce deploys an application revision to up to all
  1074. // of the instances at once. The overall deployment succeeds if the application
  1075. // revision deploys to at least one of the instances. The overall deployment
  1076. // fails after the application revision fails to deploy to all of the instances.
  1077. // For example, for 9 instances, deploy to up to all 9 instances at once. The
  1078. // overall deployment succeeds if any of the 9 instances is successfully deployed
  1079. // to, and it fails if all 9 instances fail to be deployed to. CodeDeployDefault.HalfAtATime
  1080. // deploys to up to half of the instances at a time (with fractions rounded
  1081. // down). The overall deployment succeeds if the application revision deploys
  1082. // to at least half of the instances (with fractions rounded up); otherwise,
  1083. // the deployment fails. For example, for 9 instances, deploy to up to 4 instances
  1084. // at a time. The overall deployment succeeds if 5 or more instances are successfully
  1085. // deployed to; otherwise, the deployment fails. Note that the deployment may
  1086. // successfully deploy to some instances, even if the overall deployment fails.
  1087. // CodeDeployDefault.OneAtATime deploys the application revision to only one
  1088. // of the instances at a time. The overall deployment succeeds if the application
  1089. // revision deploys to all of the instances. The overall deployment fails after
  1090. // the application revision first fails to deploy to any one instances. For
  1091. // example, for 9 instances, deploy to one instance at a time. The overall deployment
  1092. // succeeds if all 9 instances are successfully deployed to, and it fails if
  1093. // any of one of the 9 instances fail to be deployed to. Note that the deployment
  1094. // may successfully deploy to some instances, even if the overall deployment
  1095. // fails. This is the default deployment configuration if a configuration isn't
  1096. // specified for either the deployment or the deployment group. To create a
  1097. // custom deployment configuration, call the create deployment configuration
  1098. // operation.
  1099. DeploymentConfigName *string `locationName:"deploymentConfigName" type:"string"`
  1100. // The name of an existing deployment group for the specified application.
  1101. DeploymentGroupName *string `locationName:"deploymentGroupName" type:"string" required:"true"`
  1102. // The Amazon EC2 tags to filter on.
  1103. Ec2TagFilters []*EC2TagFilter `locationName:"ec2TagFilters" type:"list"`
  1104. // The on-premises instance tags to filter on.
  1105. OnPremisesInstanceTagFilters []*TagFilter `locationName:"onPremisesInstanceTagFilters" type:"list"`
  1106. // A service role ARN that allows AWS CodeDeploy to act on the user's behalf
  1107. // when interacting with AWS services.
  1108. ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string" required:"true"`
  1109. metadataCreateDeploymentGroupInput `json:"-" xml:"-"`
  1110. }
  1111. type metadataCreateDeploymentGroupInput struct {
  1112. SDKShapeTraits bool `type:"structure"`
  1113. }
  1114. // String returns the string representation
  1115. func (s CreateDeploymentGroupInput) String() string {
  1116. return awsutil.Prettify(s)
  1117. }
  1118. // GoString returns the string representation
  1119. func (s CreateDeploymentGroupInput) GoString() string {
  1120. return s.String()
  1121. }
  1122. // Represents the output of a create deployment group operation.
  1123. type CreateDeploymentGroupOutput struct {
  1124. // A unique deployment group ID.
  1125. DeploymentGroupId *string `locationName:"deploymentGroupId" type:"string"`
  1126. metadataCreateDeploymentGroupOutput `json:"-" xml:"-"`
  1127. }
  1128. type metadataCreateDeploymentGroupOutput struct {
  1129. SDKShapeTraits bool `type:"structure"`
  1130. }
  1131. // String returns the string representation
  1132. func (s CreateDeploymentGroupOutput) String() string {
  1133. return awsutil.Prettify(s)
  1134. }
  1135. // GoString returns the string representation
  1136. func (s CreateDeploymentGroupOutput) GoString() string {
  1137. return s.String()
  1138. }
  1139. // Represents the input of a create deployment operation.
  1140. type CreateDeploymentInput struct {
  1141. // The name of an existing AWS CodeDeploy application associated with the applicable
  1142. // IAM user or AWS account.
  1143. ApplicationName *string `locationName:"applicationName" type:"string" required:"true"`
  1144. // The name of an existing deployment configuration associated with the applicable
  1145. // IAM user or AWS account.
  1146. //
  1147. // If not specified, the value configured in the deployment group will be used
  1148. // as the default. If the deployment group does not have a deployment configuration
  1149. // associated with it, then CodeDeployDefault.OneAtATime will be used by default.
  1150. DeploymentConfigName *string `locationName:"deploymentConfigName" type:"string"`
  1151. // The deployment group's name.
  1152. DeploymentGroupName *string `locationName:"deploymentGroupName" type:"string"`
  1153. // A comment about the deployment.
  1154. Description *string `locationName:"description" type:"string"`
  1155. // If set to true, then if the deployment causes the ApplicationStop deployment
  1156. // lifecycle event to fail to a specific instance, the deployment will not be
  1157. // considered to have failed to that instance at that point and will continue
  1158. // on to the BeforeInstall deployment lifecycle event.
  1159. //
  1160. // If set to false or not specified, then if the deployment causes the ApplicationStop
  1161. // deployment lifecycle event to fail to a specific instance, the deployment
  1162. // will stop to that instance, and the deployment to that instance will be considered
  1163. // to have failed.
  1164. IgnoreApplicationStopFailures *bool `locationName:"ignoreApplicationStopFailures" type:"boolean"`
  1165. // The type of revision to deploy, along with information about the revision's
  1166. // location.
  1167. Revision *RevisionLocation `locationName:"revision" type:"structure"`
  1168. metadataCreateDeploymentInput `json:"-" xml:"-"`
  1169. }
  1170. type metadataCreateDeploymentInput struct {
  1171. SDKShapeTraits bool `type:"structure"`
  1172. }
  1173. // String returns the string representation
  1174. func (s CreateDeploymentInput) String() string {
  1175. return awsutil.Prettify(s)
  1176. }
  1177. // GoString returns the string representation
  1178. func (s CreateDeploymentInput) GoString() string {
  1179. return s.String()
  1180. }
  1181. // Represents the output of a create deployment operation.
  1182. type CreateDeploymentOutput struct {
  1183. // A unique deployment ID.
  1184. DeploymentId *string `locationName:"deploymentId" type:"string"`
  1185. metadataCreateDeploymentOutput `json:"-" xml:"-"`
  1186. }
  1187. type metadataCreateDeploymentOutput struct {
  1188. SDKShapeTraits bool `type:"structure"`
  1189. }
  1190. // String returns the string representation
  1191. func (s CreateDeploymentOutput) String() string {
  1192. return awsutil.Prettify(s)
  1193. }
  1194. // GoString returns the string representation
  1195. func (s CreateDeploymentOutput) GoString() string {
  1196. return s.String()
  1197. }
  1198. // Represents the input of a delete application operation.
  1199. type DeleteApplicationInput struct {
  1200. // The name of an existing AWS CodeDeploy application associated with the applicable
  1201. // IAM user or AWS account.
  1202. ApplicationName *string `locationName:"applicationName" type:"string" required:"true"`
  1203. metadataDeleteApplicationInput `json:"-" xml:"-"`
  1204. }
  1205. type metadataDeleteApplicationInput struct {
  1206. SDKShapeTraits bool `type:"structure"`
  1207. }
  1208. // String returns the string representation
  1209. func (s DeleteApplicationInput) String() string {
  1210. return awsutil.Prettify(s)
  1211. }
  1212. // GoString returns the string representation
  1213. func (s DeleteApplicationInput) GoString() string {
  1214. return s.String()
  1215. }
  1216. type DeleteApplicationOutput struct {
  1217. metadataDeleteApplicationOutput `json:"-" xml:"-"`
  1218. }
  1219. type metadataDeleteApplicationOutput struct {
  1220. SDKShapeTraits bool `type:"structure"`
  1221. }
  1222. // String returns the string representation
  1223. func (s DeleteApplicationOutput) String() string {
  1224. return awsutil.Prettify(s)
  1225. }
  1226. // GoString returns the string representation
  1227. func (s DeleteApplicationOutput) GoString() string {
  1228. return s.String()
  1229. }
  1230. // Represents the input of a delete deployment configuration operation.
  1231. type DeleteDeploymentConfigInput struct {
  1232. // The name of an existing deployment configuration associated with the applicable
  1233. // IAM user or AWS account.
  1234. DeploymentConfigName *string `locationName:"deploymentConfigName" type:"string" required:"true"`
  1235. metadataDeleteDeploymentConfigInput `json:"-" xml:"-"`
  1236. }
  1237. type metadataDeleteDeploymentConfigInput struct {
  1238. SDKShapeTraits bool `type:"structure"`
  1239. }
  1240. // String returns the string representation
  1241. func (s DeleteDeploymentConfigInput) String() string {
  1242. return awsutil.Prettify(s)
  1243. }
  1244. // GoString returns the string representation
  1245. func (s DeleteDeploymentConfigInput) GoString() string {
  1246. return s.String()
  1247. }
  1248. type DeleteDeploymentConfigOutput struct {
  1249. metadataDeleteDeploymentConfigOutput `json:"-" xml:"-"`
  1250. }
  1251. type metadataDeleteDeploymentConfigOutput struct {
  1252. SDKShapeTraits bool `type:"structure"`
  1253. }
  1254. // String returns the string representation
  1255. func (s DeleteDeploymentConfigOutput) String() string {
  1256. return awsutil.Prettify(s)
  1257. }
  1258. // GoString returns the string representation
  1259. func (s DeleteDeploymentConfigOutput) GoString() string {
  1260. return s.String()
  1261. }
  1262. // Represents the input of a delete deployment group operation.
  1263. type DeleteDeploymentGroupInput struct {
  1264. // The name of an existing AWS CodeDeploy application associated with the applicable
  1265. // IAM user or AWS account.
  1266. ApplicationName *string `locationName:"applicationName" type:"string" required:"true"`
  1267. // The name of an existing deployment group for the specified application.
  1268. DeploymentGroupName *string `locationName:"deploymentGroupName" type:"string" required:"true"`
  1269. metadataDeleteDeploymentGroupInput `json:"-" xml:"-"`
  1270. }
  1271. type metadataDeleteDeploymentGroupInput struct {
  1272. SDKShapeTraits bool `type:"structure"`
  1273. }
  1274. // String returns the string representation
  1275. func (s DeleteDeploymentGroupInput) String() string {
  1276. return awsutil.Prettify(s)
  1277. }
  1278. // GoString returns the string representation
  1279. func (s DeleteDeploymentGroupInput) GoString() string {
  1280. return s.String()
  1281. }
  1282. // Represents the output of a delete deployment group operation.
  1283. type DeleteDeploymentGroupOutput struct {
  1284. // If the output contains no data, and the corresponding deployment group contained
  1285. // at least one Auto Scaling group, AWS CodeDeploy successfully removed all
  1286. // corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 instances
  1287. // in the Auto Scaling. If the output does contain data, AWS CodeDeploy could
  1288. // not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 instances
  1289. // in the Auto Scaling group.
  1290. HooksNotCleanedUp []*AutoScalingGroup `locationName:"hooksNotCleanedUp" type:"list"`
  1291. metadataDeleteDeploymentGroupOutput `json:"-" xml:"-"`
  1292. }
  1293. type metadataDeleteDeploymentGroupOutput struct {
  1294. SDKShapeTraits bool `type:"structure"`
  1295. }
  1296. // String returns the string representation
  1297. func (s DeleteDeploymentGroupOutput) String() string {
  1298. return awsutil.Prettify(s)
  1299. }
  1300. // GoString returns the string representation
  1301. func (s DeleteDeploymentGroupOutput) GoString() string {
  1302. return s.String()
  1303. }
  1304. // Information about a deployment configuration.
  1305. type DeploymentConfigInfo struct {
  1306. // The time that the deployment configuration was created.
  1307. CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"unix"`
  1308. // The deployment configuration ID.
  1309. DeploymentConfigId *string `locationName:"deploymentConfigId" type:"string"`
  1310. // The deployment configuration name.
  1311. DeploymentConfigName *string `locationName:"deploymentConfigName" type:"string"`
  1312. // Information about the number or percentage of minimum healthy instances.
  1313. MinimumHealthyHosts *MinimumHealthyHosts `locationName:"minimumHealthyHosts" type:"structure"`
  1314. metadataDeploymentConfigInfo `json:"-" xml:"-"`
  1315. }
  1316. type metadataDeploymentConfigInfo struct {
  1317. SDKShapeTraits bool `type:"structure"`
  1318. }
  1319. // String returns the string representation
  1320. func (s DeploymentConfigInfo) String() string {
  1321. return awsutil.Prettify(s)
  1322. }
  1323. // GoString returns the string representation
  1324. func (s DeploymentConfigInfo) GoString() string {
  1325. return s.String()
  1326. }
  1327. // Information about a deployment group.
  1328. type DeploymentGroupInfo struct {
  1329. // The application name.
  1330. ApplicationName *string `locationName:"applicationName" type:"string"`
  1331. // A list of associated Auto Scaling groups.
  1332. AutoScalingGroups []*AutoScalingGroup `locationName:"autoScalingGroups" type:"list"`
  1333. // The deployment configuration name.
  1334. DeploymentConfigName *string `locationName:"deploymentConfigName" type:"string"`
  1335. // The deployment group ID.
  1336. DeploymentGroupId *string `locationName:"deploymentGroupId" type:"string"`
  1337. // The deployment group name.
  1338. DeploymentGroupName *string `locationName:"deploymentGroupName" type:"string"`
  1339. // The Amazon EC2 tags to filter on.
  1340. Ec2TagFilters []*EC2TagFilter `locationName:"ec2TagFilters" type:"list"`
  1341. // The on-premises instance tags to filter on.
  1342. OnPremisesInstanceTagFilters []*TagFilter `locationName:"onPremisesInstanceTagFilters" type:"list"`
  1343. // A service role ARN.
  1344. ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"`
  1345. // Information about the deployment group's target revision, including the revision's
  1346. // type and its location.
  1347. TargetRevision *RevisionLocation `locationName:"targetRevision" type:"structure"`
  1348. metadataDeploymentGroupInfo `json:"-" xml:"-"`
  1349. }
  1350. type metadataDeploymentGroupInfo struct {
  1351. SDKShapeTraits bool `type:"structure"`
  1352. }
  1353. // String returns the string representation
  1354. func (s DeploymentGroupInfo) String() string {
  1355. return awsutil.Prettify(s)
  1356. }
  1357. // GoString returns the string representation
  1358. func (s DeploymentGroupInfo) GoString() string {
  1359. return s.String()
  1360. }
  1361. // Information about a deployment.
  1362. type DeploymentInfo struct {
  1363. // The application name.
  1364. ApplicationName *string `locationName:"applicationName" type:"string"`
  1365. // A timestamp indicating when the deployment was completed.
  1366. CompleteTime *time.Time `locationName:"completeTime" type:"timestamp" timestampFormat:"unix"`
  1367. // A timestamp indicating when the deployment was created.
  1368. CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"unix"`
  1369. // How the deployment was created:
  1370. //
  1371. // user: A user created the deployment. autoscaling: Auto Scaling created
  1372. // the deployment.
  1373. Creator *string `locationName:"creator" type:"string" enum:"DeploymentCreator"`
  1374. // The deployment configuration name.
  1375. DeploymentConfigName *string `locationName:"deploymentConfigName" type:"string"`
  1376. // The deployment group name.
  1377. DeploymentGroupName *string `locationName:"deploymentGroupName" type:"string"`
  1378. // The deployment ID.
  1379. DeploymentId *string `locationName:"deploymentId" type:"string"`
  1380. // A summary of the deployment status of the instances in the deployment.
  1381. DeploymentOverview *DeploymentOverview `locationName:"deploymentOverview" type:"structure"`
  1382. // A comment about the deployment.
  1383. Description *string `locationName:"description" type:"string"`
  1384. // Information about any error associated with this deployment.
  1385. ErrorInformation *ErrorInformation `locationName:"errorInformation" type:"structure"`
  1386. // If true, then if the deployment causes the ApplicationStop deployment lifecycle
  1387. // event to fail to a specific instance, the deployment will not be considered
  1388. // to have failed to that instance at that point and will continue on to the
  1389. // BeforeInstall deployment lifecycle event.
  1390. //
  1391. // If false or not specified, then if the deployment causes the ApplicationStop
  1392. // deployment lifecycle event to fail to a specific instance, the deployment
  1393. // will stop to that instance, and the deployment to that instance will be considered
  1394. // to have failed.
  1395. IgnoreApplicationStopFailures *bool `locationName:"ignoreApplicationStopFailures" type:"boolean"`
  1396. // Information about the location of application artifacts that are stored and
  1397. // the service to retrieve them from.
  1398. Revision *RevisionLocation `locationName:"revision" type:"structure"`
  1399. // A timestamp indicating when the deployment began deploying to the deployment
  1400. // group.
  1401. //
  1402. // Note that in some cases, the reported value of the start time may be later
  1403. // than the complete time. This is due to differences in the clock settings
  1404. // of various back-end servers that participate in the overall deployment process.
  1405. StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix"`
  1406. // The current state of the deployment as a whole.
  1407. Status *string `locationName:"status" type:"string" enum:"DeploymentStatus"`
  1408. metadataDeploymentInfo `json:"-" xml:"-"`
  1409. }
  1410. type metadataDeploymentInfo struct {
  1411. SDKShapeTraits bool `type:"structure"`
  1412. }
  1413. // String returns the string representation
  1414. func (s DeploymentInfo) String() string {
  1415. return awsutil.Prettify(s)
  1416. }
  1417. // GoString returns the string representation
  1418. func (s DeploymentInfo) GoString() string {
  1419. return s.String()
  1420. }
  1421. // Information about the deployment status of the instances in the deployment.
  1422. type DeploymentOverview struct {
  1423. // The number of instances that have failed in the deployment.
  1424. Failed *int64 `type:"long"`
  1425. // The number of instances that are in progress in the deployment.
  1426. InProgress *int64 `type:"long"`
  1427. // The number of instances that are pending in the deployment.
  1428. Pending *int64 `type:"long"`
  1429. // The number of instances that have been skipped in the deployment.
  1430. Skipped *int64 `type:"long"`
  1431. // The number of instances that have succeeded in the deployment.
  1432. Succeeded *int64 `type:"long"`
  1433. metadataDeploymentOverview `json:"-" xml:"-"`
  1434. }
  1435. type metadataDeploymentOverview struct {
  1436. SDKShapeTraits bool `type:"structure"`
  1437. }
  1438. // String returns the string representation
  1439. func (s DeploymentOverview) String() string {
  1440. return awsutil.Prettify(s)
  1441. }
  1442. // GoString returns the string representation
  1443. func (s DeploymentOverview) GoString() string {
  1444. return s.String()
  1445. }
  1446. // Represents the input of a deregister on-premises instance operation.
  1447. type DeregisterOnPremisesInstanceInput struct {
  1448. // The name of the on-premises instance to deregister.
  1449. InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
  1450. metadataDeregisterOnPremisesInstanceInput `json:"-" xml:"-"`
  1451. }
  1452. type metadataDeregisterOnPremisesInstanceInput struct {
  1453. SDKShapeTraits bool `type:"structure"`
  1454. }
  1455. // String returns the string representation
  1456. func (s DeregisterOnPremisesInstanceInput) String() string {
  1457. return awsutil.Prettify(s)
  1458. }
  1459. // GoString returns the string representation
  1460. func (s DeregisterOnPremisesInstanceInput) GoString() string {
  1461. return s.String()
  1462. }
  1463. type DeregisterOnPremisesInstanceOutput struct {
  1464. metadataDeregisterOnPremisesInstanceOutput `json:"-" xml:"-"`
  1465. }
  1466. type metadataDeregisterOnPremisesInstanceOutput struct {
  1467. SDKShapeTraits bool `type:"structure"`
  1468. }
  1469. // String returns the string representation
  1470. func (s DeregisterOnPremisesInstanceOutput) String() string {
  1471. return awsutil.Prettify(s)
  1472. }
  1473. // GoString returns the string representation
  1474. func (s DeregisterOnPremisesInstanceOutput) GoString() string {
  1475. return s.String()
  1476. }
  1477. // Diagnostic information about executable scripts that are part of a deployment.
  1478. type Diagnostics struct {
  1479. // The associated error code:
  1480. //
  1481. // Success: The specified script ran. ScriptMissing: The specified script
  1482. // was not found in the specified location. ScriptNotExecutable: The specified
  1483. // script is not a recognized executable file type. ScriptTimedOut: The specified
  1484. // script did not finish running in the specified time period. ScriptFailed:
  1485. // The specified script failed to run as expected. UnknownError: The specified
  1486. // script did not run for an unknown reason.
  1487. ErrorCode *string `locationName:"errorCode" type:"string" enum:"LifecycleErrorCode"`
  1488. // The last portion of the associated diagnostic log.
  1489. LogTail *string `locationName:"logTail" type:"string"`
  1490. // The message associated with the error.
  1491. Message *string `locationName:"message" type:"string"`
  1492. // The name of the script.
  1493. ScriptName *string `locationName:"scriptName" type:"string"`
  1494. metadataDiagnostics `json:"-" xml:"-"`
  1495. }
  1496. type metadataDiagnostics struct {
  1497. SDKShapeTraits bool `type:"structure"`
  1498. }
  1499. // String returns the string representation
  1500. func (s Diagnostics) String() string {
  1501. return awsutil.Prettify(s)
  1502. }
  1503. // GoString returns the string representation
  1504. func (s Diagnostics) GoString() string {
  1505. return s.String()
  1506. }
  1507. // Information about a tag filter.
  1508. type EC2TagFilter struct {
  1509. // The tag filter key.
  1510. Key *string `type:"string"`
  1511. // The tag filter type:
  1512. //
  1513. // KEY_ONLY: Key only. VALUE_ONLY: Value only. KEY_AND_VALUE: Key and value.
  1514. Type *string `type:"string" enum:"EC2TagFilterType"`
  1515. // The tag filter value.
  1516. Value *string `type:"string"`
  1517. metadataEC2TagFilter `json:"-" xml:"-"`
  1518. }
  1519. type metadataEC2TagFilter struct {
  1520. SDKShapeTraits bool `type:"structure"`
  1521. }
  1522. // String returns the string representation
  1523. func (s EC2TagFilter) String() string {
  1524. return awsutil.Prettify(s)
  1525. }
  1526. // GoString returns the string representation
  1527. func (s EC2TagFilter) GoString() string {
  1528. return s.String()
  1529. }
  1530. // Information about a deployment error.
  1531. type ErrorInformation struct {
  1532. // The error code:
  1533. //
  1534. // APPLICATION_MISSING: The application was missing. Note that this error
  1535. // code will most likely be raised if the application is deleted after the deployment
  1536. // is created but before it starts. DEPLOYMENT_GROUP_MISSING: The deployment
  1537. // group was missing. Note that this error code will most likely be raised if
  1538. // the deployment group is deleted after the deployment is created but before
  1539. // it starts. HEALTH_CONSTRAINTS: The deployment failed on too many instances
  1540. // to be able to successfully deploy within the specified instance health constraints.
  1541. // HEALTH_CONSTRAINTS_INVALID: The revision can never successfully deploy within
  1542. // the instance health constraints as specified. IAM_ROLE_MISSING: The service
  1543. // role cannot be accessed. IAM_ROLE_PERMISSIONS: The service role does not
  1544. // have the correct permissions. INTERNAL_ERROR: There was an internal error.
  1545. // NO_EC2_SUBSCRIPTION: The calling account is not subscribed to the Amazon
  1546. // EC2 service. NO_INSTANCES: No instances were specified, or no instances can
  1547. // be found. OVER_MAX_INSTANCES: The maximum number of instances was exceeded.
  1548. // THROTTLED: The operation was throttled because the calling account exceeded
  1549. // the throttling limits of one or more AWS services. TIMEOUT: The deployment
  1550. // has timed out. REVISION_MISSING: The revision ID was missing. Note that this
  1551. // error code will most likely be raised if the revision is deleted after the
  1552. // deployment is created but before it starts.
  1553. Code *string `locationName:"code" type:"string" enum:"ErrorCode"`
  1554. // An accompanying error message.
  1555. Message *string `locationName:"message" type:"string"`
  1556. metadataErrorInformation `json:"-" xml:"-"`
  1557. }
  1558. type metadataErrorInformation struct {
  1559. SDKShapeTraits bool `type:"structure"`
  1560. }
  1561. // String returns the string representation
  1562. func (s ErrorInformation) String() string {
  1563. return awsutil.Prettify(s)
  1564. }
  1565. // GoString returns the string representation
  1566. func (s ErrorInformation) GoString() string {
  1567. return s.String()
  1568. }
  1569. // Information about an application revision.
  1570. type GenericRevisionInfo struct {
  1571. // A list of deployment groups that use this revision.
  1572. DeploymentGroups []*string `locationName:"deploymentGroups" type:"list"`
  1573. // A comment about the revision.
  1574. Description *string `locationName:"description" type:"string"`
  1575. // When the revision was first used by AWS CodeDeploy.
  1576. FirstUsedTime *time.Time `locationName:"firstUsedTime" type:"timestamp" timestampFormat:"unix"`
  1577. // When the revision was last used by AWS CodeDeploy.
  1578. LastUsedTime *time.Time `locationName:"lastUsedTime" type:"timestamp" timestampFormat:"unix"`
  1579. // When the revision was registered with AWS CodeDeploy.
  1580. RegisterTime *time.Time `locationName:"registerTime" type:"timestamp" timestampFormat:"unix"`
  1581. metadataGenericRevisionInfo `json:"-" xml:"-"`
  1582. }
  1583. type metadataGenericRevisionInfo struct {
  1584. SDKShapeTraits bool `type:"structure"`
  1585. }
  1586. // String returns the string representation
  1587. func (s GenericRevisionInfo) String() string {
  1588. return awsutil.Prettify(s)
  1589. }
  1590. // GoString returns the string representation
  1591. func (s GenericRevisionInfo) GoString() string {
  1592. return s.String()
  1593. }
  1594. // Represents the input of a get application operation.
  1595. type GetApplicationInput struct {
  1596. // The name of an existing AWS CodeDeploy application associated with the applicable
  1597. // IAM user or AWS account.
  1598. ApplicationName *string `locationName:"applicationName" type:"string" required:"true"`
  1599. metadataGetApplicationInput `json:"-" xml:"-"`
  1600. }
  1601. type metadataGetApplicationInput struct {
  1602. SDKShapeTraits bool `type:"structure"`
  1603. }
  1604. // String returns the string representation
  1605. func (s GetApplicationInput) String() string {
  1606. return awsutil.Prettify(s)
  1607. }
  1608. // GoString returns the string representation
  1609. func (s GetApplicationInput) GoString() string {
  1610. return s.String()
  1611. }
  1612. // Represents the output of a get application operation.
  1613. type GetApplicationOutput struct {
  1614. // Information about the application.
  1615. Application *ApplicationInfo `locationName:"application" type:"structure"`
  1616. metadataGetApplicationOutput `json:"-" xml:"-"`
  1617. }
  1618. type metadataGetApplicationOutput struct {
  1619. SDKShapeTraits bool `type:"structure"`
  1620. }
  1621. // String returns the string representation
  1622. func (s GetApplicationOutput) String() string {
  1623. return awsutil.Prettify(s)
  1624. }
  1625. // GoString returns the string representation
  1626. func (s GetApplicationOutput) GoString() string {
  1627. return s.String()
  1628. }
  1629. // Represents the input of a get application revision operation.
  1630. type GetApplicationRevisionInput struct {
  1631. // The name of the application that corresponds to the revision.
  1632. ApplicationName *string `locationName:"applicationName" type:"string" required:"true"`
  1633. // Information about the application revision to get, including the revision's
  1634. // type and its location.
  1635. Revision *RevisionLocation `locationName:"revision" type:"structure" required:"true"`
  1636. metadataGetApplicationRevisionInput `json:"-" xml:"-"`
  1637. }
  1638. type metadataGetApplicationRevisionInput struct {
  1639. SDKShapeTraits bool `type:"structure"`
  1640. }
  1641. // String returns the string representation
  1642. func (s GetApplicationRevisionInput) String() string {
  1643. return awsutil.Prettify(s)
  1644. }
  1645. // GoString returns the string representation
  1646. func (s GetApplicationRevisionInput) GoString() string {
  1647. return s.String()
  1648. }
  1649. // Represents the output of a get application revision operation.
  1650. type GetApplicationRevisionOutput struct {
  1651. // The name of the application that corresponds to the revision.
  1652. ApplicationName *string `locationName:"applicationName" type:"string"`
  1653. // Additional information about the revision, including the revision's type
  1654. // and its location.
  1655. Revision *RevisionLocation `locationName:"revision" type:"structure"`
  1656. // General information about the revision.
  1657. RevisionInfo *GenericRevisionInfo `locationName:"revisionInfo" type:"structure"`
  1658. metadataGetApplicationRevisionOutput `json:"-" xml:"-"`
  1659. }
  1660. type metadataGetApplicationRevisionOutput struct {
  1661. SDKShapeTraits bool `type:"structure"`
  1662. }
  1663. // String returns the string representation
  1664. func (s GetApplicationRevisionOutput) String() string {
  1665. return awsutil.Prettify(s)
  1666. }
  1667. // GoString returns the string representation
  1668. func (s GetApplicationRevisionOutput) GoString() string {
  1669. return s.String()
  1670. }
  1671. // Represents the input of a get deployment configuration operation.
  1672. type GetDeploymentConfigInput struct {
  1673. // The name of an existing deployment configuration associated with the applicable
  1674. // IAM user or AWS account.
  1675. DeploymentConfigName *string `locationName:"deploymentConfigName" type:"string" required:"true"`
  1676. metadataGetDeploymentConfigInput `json:"-" xml:"-"`
  1677. }
  1678. type metadataGetDeploymentConfigInput struct {
  1679. SDKShapeTraits bool `type:"structure"`
  1680. }
  1681. // String returns the string representation
  1682. func (s GetDeploymentConfigInput) String() string {
  1683. return awsutil.Prettify(s)
  1684. }
  1685. // GoString returns the string representation
  1686. func (s GetDeploymentConfigInput) GoString() string {
  1687. return s.String()
  1688. }
  1689. // Represents the output of a get deployment configuration operation.
  1690. type GetDeploymentConfigOutput struct {
  1691. // Information about the deployment configuration.
  1692. DeploymentConfigInfo *DeploymentConfigInfo `locationName:"deploymentConfigInfo" type:"structure"`
  1693. metadataGetDeploymentConfigOutput `json:"-" xml:"-"`
  1694. }
  1695. type metadataGetDeploymentConfigOutput struct {
  1696. SDKShapeTraits bool `type:"structure"`
  1697. }
  1698. // String returns the string representation
  1699. func (s GetDeploymentConfigOutput) String() string {
  1700. return awsutil.Prettify(s)
  1701. }
  1702. // GoString returns the string representation
  1703. func (s GetDeploymentConfigOutput) GoString() string {
  1704. return s.String()
  1705. }
  1706. // Represents the input of a get deployment group operation.
  1707. type GetDeploymentGroupInput struct {
  1708. // The name of an existing AWS CodeDeploy application associated with the applicable
  1709. // IAM user or AWS account.
  1710. ApplicationName *string `locationName:"applicationName" type:"string" required:"true"`
  1711. // The name of an existing deployment group for the specified application.
  1712. DeploymentGroupName *string `locationName:"deploymentGroupName" type:"string" required:"true"`
  1713. metadataGetDeploymentGroupInput `json:"-" xml:"-"`
  1714. }
  1715. type metadataGetDeploymentGroupInput struct {
  1716. SDKShapeTraits bool `type:"structure"`
  1717. }
  1718. // String returns the string representation
  1719. func (s GetDeploymentGroupInput) String() string {
  1720. return awsutil.Prettify(s)
  1721. }
  1722. // GoString returns the string representation
  1723. func (s GetDeploymentGroupInput) GoString() string {
  1724. return s.String()
  1725. }
  1726. // Represents the output of a get deployment group operation.
  1727. type GetDeploymentGroupOutput struct {
  1728. // Information about the deployment group.
  1729. DeploymentGroupInfo *DeploymentGroupInfo `locationName:"deploymentGroupInfo" type:"structure"`
  1730. metadataGetDeploymentGroupOutput `json:"-" xml:"-"`
  1731. }
  1732. type metadataGetDeploymentGroupOutput struct {
  1733. SDKShapeTraits bool `type:"structure"`
  1734. }
  1735. // String returns the string representation
  1736. func (s GetDeploymentGroupOutput) String() string {
  1737. return awsutil.Prettify(s)
  1738. }
  1739. // GoString returns the string representation
  1740. func (s GetDeploymentGroupOutput) GoString() string {
  1741. return s.String()
  1742. }
  1743. // Represents the input of a get deployment operation.
  1744. type GetDeploymentInput struct {
  1745. // An existing deployment ID associated with the applicable IAM user or AWS
  1746. // account.
  1747. DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"`
  1748. metadataGetDeploymentInput `json:"-" xml:"-"`
  1749. }
  1750. type metadataGetDeploymentInput struct {
  1751. SDKShapeTraits bool `type:"structure"`
  1752. }
  1753. // String returns the string representation
  1754. func (s GetDeploymentInput) String() string {
  1755. return awsutil.Prettify(s)
  1756. }
  1757. // GoString returns the string representation
  1758. func (s GetDeploymentInput) GoString() string {
  1759. return s.String()
  1760. }
  1761. // Represents the input of a get deployment instance operation.
  1762. type GetDeploymentInstanceInput struct {
  1763. // The unique ID of a deployment.
  1764. DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"`
  1765. // The unique ID of an instance in the deployment's deployment group.
  1766. InstanceId *string `locationName:"instanceId" type:"string" required:"true"`
  1767. metadataGetDeploymentInstanceInput `json:"-" xml:"-"`
  1768. }
  1769. type metadataGetDeploymentInstanceInput struct {
  1770. SDKShapeTraits bool `type:"structure"`
  1771. }
  1772. // String returns the string representation
  1773. func (s GetDeploymentInstanceInput) String() string {
  1774. return awsutil.Prettify(s)
  1775. }
  1776. // GoString returns the string representation
  1777. func (s GetDeploymentInstanceInput) GoString() string {
  1778. return s.String()
  1779. }
  1780. // Represents the output of a get deployment instance operation.
  1781. type GetDeploymentInstanceOutput struct {
  1782. // Information about the instance.
  1783. InstanceSummary *InstanceSummary `locationName:"instanceSummary" type:"structure"`
  1784. metadataGetDeploymentInstanceOutput `json:"-" xml:"-"`
  1785. }
  1786. type metadataGetDeploymentInstanceOutput struct {
  1787. SDKShapeTraits bool `type:"structure"`
  1788. }
  1789. // String returns the string representation
  1790. func (s GetDeploymentInstanceOutput) String() string {
  1791. return awsutil.Prettify(s)
  1792. }
  1793. // GoString returns the string representation
  1794. func (s GetDeploymentInstanceOutput) GoString() string {
  1795. return s.String()
  1796. }
  1797. // Represents the output of a get deployment operation.
  1798. type GetDeploymentOutput struct {
  1799. // Information about the deployment.
  1800. DeploymentInfo *DeploymentInfo `locationName:"deploymentInfo" type:"structure"`
  1801. metadataGetDeploymentOutput `json:"-" xml:"-"`
  1802. }
  1803. type metadataGetDeploymentOutput struct {
  1804. SDKShapeTraits bool `type:"structure"`
  1805. }
  1806. // String returns the string representation
  1807. func (s GetDeploymentOutput) String() string {
  1808. return awsutil.Prettify(s)
  1809. }
  1810. // GoString returns the string representation
  1811. func (s GetDeploymentOutput) GoString() string {
  1812. return s.String()
  1813. }
  1814. // Represents the input of a get on-premises instance operation.
  1815. type GetOnPremisesInstanceInput struct {
  1816. // The name of the on-premises instance to get information about
  1817. InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
  1818. metadataGetOnPremisesInstanceInput `json:"-" xml:"-"`
  1819. }
  1820. type metadataGetOnPremisesInstanceInput struct {
  1821. SDKShapeTraits bool `type:"structure"`
  1822. }
  1823. // String returns the string representation
  1824. func (s GetOnPremisesInstanceInput) String() string {
  1825. return awsutil.Prettify(s)
  1826. }
  1827. // GoString returns the string representation
  1828. func (s GetOnPremisesInstanceInput) GoString() string {
  1829. return s.String()
  1830. }
  1831. // Represents the output of a get on-premises instance operation.
  1832. type GetOnPremisesInstanceOutput struct {
  1833. // Information about the on-premises instance.
  1834. InstanceInfo *InstanceInfo `locationName:"instanceInfo" type:"structure"`
  1835. metadataGetOnPremisesInstanceOutput `json:"-" xml:"-"`
  1836. }
  1837. type metadataGetOnPremisesInstanceOutput struct {
  1838. SDKShapeTraits bool `type:"structure"`
  1839. }
  1840. // String returns the string representation
  1841. func (s GetOnPremisesInstanceOutput) String() string {
  1842. return awsutil.Prettify(s)
  1843. }
  1844. // GoString returns the string representation
  1845. func (s GetOnPremisesInstanceOutput) GoString() string {
  1846. return s.String()
  1847. }
  1848. // Information about the location of application artifacts that are stored in
  1849. // GitHub.
  1850. type GitHubLocation struct {
  1851. // The SHA1 commit ID of the GitHub commit that references the that represents
  1852. // the bundled artifacts for the application revision.
  1853. CommitId *string `locationName:"commitId" type:"string"`
  1854. // The GitHub account and repository pair that stores a reference to the commit
  1855. // that represents the bundled artifacts for the application revision.
  1856. //
  1857. // Specified as account/repository.
  1858. Repository *string `locationName:"repository" type:"string"`
  1859. metadataGitHubLocation `json:"-" xml:"-"`
  1860. }
  1861. type metadataGitHubLocation struct {
  1862. SDKShapeTraits bool `type:"structure"`
  1863. }
  1864. // String returns the string representation
  1865. func (s GitHubLocation) String() string {
  1866. return awsutil.Prettify(s)
  1867. }
  1868. // GoString returns the string representation
  1869. func (s GitHubLocation) GoString() string {
  1870. return s.String()
  1871. }
  1872. // Information about an on-premises instance.
  1873. type InstanceInfo struct {
  1874. // If the on-premises instance was deregistered, the time that the on-premises
  1875. // instance was deregistered.
  1876. DeregisterTime *time.Time `locationName:"deregisterTime" type:"timestamp" timestampFormat:"unix"`
  1877. // The IAM user ARN associated with the on-premises instance.
  1878. IamUserArn *string `locationName:"iamUserArn" type:"string"`
  1879. // The ARN of the on-premises instance.
  1880. InstanceArn *string `locationName:"instanceArn" type:"string"`
  1881. // The name of the on-premises instance.
  1882. InstanceName *string `locationName:"instanceName" type:"string"`
  1883. // The time that the on-premises instance was registered.
  1884. RegisterTime *time.Time `locationName:"registerTime" type:"timestamp" timestampFormat:"unix"`
  1885. // The tags that are currently associated with the on-premises instance.
  1886. Tags []*Tag `locationName:"tags" type:"list"`
  1887. metadataInstanceInfo `json:"-" xml:"-"`
  1888. }
  1889. type metadataInstanceInfo struct {
  1890. SDKShapeTraits bool `type:"structure"`
  1891. }
  1892. // String returns the string representation
  1893. func (s InstanceInfo) String() string {
  1894. return awsutil.Prettify(s)
  1895. }
  1896. // GoString returns the string representation
  1897. func (s InstanceInfo) GoString() string {
  1898. return s.String()
  1899. }
  1900. // Information about an instance in a deployment.
  1901. type InstanceSummary struct {
  1902. // The deployment ID.
  1903. DeploymentId *string `locationName:"deploymentId" type:"string"`
  1904. // The instance ID.
  1905. InstanceId *string `locationName:"instanceId" type:"string"`
  1906. // A timestamp indicating when the instance information was last updated.
  1907. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"unix"`
  1908. // A list of lifecycle events for this instance.
  1909. LifecycleEvents []*LifecycleEvent `locationName:"lifecycleEvents" type:"list"`
  1910. // The deployment status for this instance:
  1911. //
  1912. // Pending: The deployment is pending for this instance. In Progress: The
  1913. // deployment is in progress for this instance. Succeeded: The deployment has
  1914. // succeeded for this instance. Failed: The deployment has failed for this instance.
  1915. // Skipped: The deployment has been skipped for this instance. Unknown: The
  1916. // deployment status is unknown for this instance.
  1917. Status *string `locationName:"status" type:"string" enum:"InstanceStatus"`
  1918. metadataInstanceSummary `json:"-" xml:"-"`
  1919. }
  1920. type metadataInstanceSummary struct {
  1921. SDKShapeTraits bool `type:"structure"`
  1922. }
  1923. // String returns the string representation
  1924. func (s InstanceSummary) String() string {
  1925. return awsutil.Prettify(s)
  1926. }
  1927. // GoString returns the string representation
  1928. func (s InstanceSummary) GoString() string {
  1929. return s.String()
  1930. }
  1931. // Information about a deployment lifecycle event.
  1932. type LifecycleEvent struct {
  1933. // Diagnostic information about the deployment lifecycle event.
  1934. Diagnostics *Diagnostics `locationName:"diagnostics" type:"structure"`
  1935. // A timestamp indicating when the deployment lifecycle event ended.
  1936. EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"unix"`
  1937. // The deployment lifecycle event name, such as ApplicationStop, BeforeInstall,
  1938. // AfterInstall, ApplicationStart, or ValidateService.
  1939. LifecycleEventName *string `locationName:"lifecycleEventName" type:"string"`
  1940. // A timestamp indicating when the deployment lifecycle event started.
  1941. StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix"`
  1942. // The deployment lifecycle event status:
  1943. //
  1944. // Pending: The deployment lifecycle event is pending. InProgress: The deployment
  1945. // lifecycle event is in progress. Succeeded: The deployment lifecycle event
  1946. // has succeeded. Failed: The deployment lifecycle event has failed. Skipped:
  1947. // The deployment lifecycle event has been skipped. Unknown: The deployment
  1948. // lifecycle event is unknown.
  1949. Status *string `locationName:"status" type:"string" enum:"LifecycleEventStatus"`
  1950. metadataLifecycleEvent `json:"-" xml:"-"`
  1951. }
  1952. type metadataLifecycleEvent struct {
  1953. SDKShapeTraits bool `type:"structure"`
  1954. }
  1955. // String returns the string representation
  1956. func (s LifecycleEvent) String() string {
  1957. return awsutil.Prettify(s)
  1958. }
  1959. // GoString returns the string representation
  1960. func (s LifecycleEvent) GoString() string {
  1961. return s.String()
  1962. }
  1963. // Represents the input of a list application revisions operation.
  1964. type ListApplicationRevisionsInput struct {
  1965. // The name of an existing AWS CodeDeploy application associated with the applicable
  1966. // IAM user or AWS account.
  1967. ApplicationName *string `locationName:"applicationName" type:"string" required:"true"`
  1968. // Whether to list revisions based on whether the revision is the target revision
  1969. // of an deployment group:
  1970. //
  1971. // include: List revisions that are target revisions of a deployment group.
  1972. // exclude: Do not list revisions that are target revisions of a deployment
  1973. // group. ignore: List all revisions, regardless of whether they are target
  1974. // revisions of a deployment group.
  1975. Deployed *string `locationName:"deployed" type:"string" enum:"ListStateFilterAction"`
  1976. // An identifier that was returned from the previous list application revisions
  1977. // call, which can be used to return the next set of applications in the list.
  1978. NextToken *string `locationName:"nextToken" type:"string"`
  1979. // A specific Amazon S3 bucket name to limit the search for revisions.
  1980. //
  1981. // If set to null, then all of the user's buckets will be searched.
  1982. S3Bucket *string `locationName:"s3Bucket" type:"string"`
  1983. // A specific key prefix for the set of Amazon S3 objects to limit the search
  1984. // for revisions.
  1985. S3KeyPrefix *string `locationName:"s3KeyPrefix" type:"string"`
  1986. // The column name to sort the list results by:
  1987. //
  1988. // registerTime: Sort the list results by when the revisions were registered
  1989. // with AWS CodeDeploy. firstUsedTime: Sort the list results by when the revisions
  1990. // were first used by in a deployment. lastUsedTime: Sort the list results by
  1991. // when the revisions were last used in a deployment. If not specified or set
  1992. // to null, the results will be returned in an arbitrary order.
  1993. SortBy *string `locationName:"sortBy" type:"string" enum:"ApplicationRevisionSortBy"`
  1994. // The order to sort the list results by:
  1995. //
  1996. // ascending: Sort the list of results in ascending order. descending: Sort
  1997. // the list of results in descending order. If not specified, the results will
  1998. // be sorted in ascending order.
  1999. //
  2000. // If set to null, the results will be sorted in an arbitrary order.
  2001. SortOrder *string `locationName:"sortOrder" type:"string" enum:"SortOrder"`
  2002. metadataListApplicationRevisionsInput `json:"-" xml:"-"`
  2003. }
  2004. type metadataListApplicationRevisionsInput struct {
  2005. SDKShapeTraits bool `type:"structure"`
  2006. }
  2007. // String returns the string representation
  2008. func (s ListApplicationRevisionsInput) String() string {
  2009. return awsutil.Prettify(s)
  2010. }
  2011. // GoString returns the string representation
  2012. func (s ListApplicationRevisionsInput) GoString() string {
  2013. return s.String()
  2014. }
  2015. // Represents the output of a list application revisions operation.
  2016. type ListApplicationRevisionsOutput struct {
  2017. // If the amount of information that is returned is significantly large, an
  2018. // identifier will also be returned, which can be used in a subsequent list
  2019. // application revisions call to return the next set of application revisions
  2020. // in the list.
  2021. NextToken *string `locationName:"nextToken" type:"string"`
  2022. // A list of revision locations that contain the matching revisions.
  2023. Revisions []*RevisionLocation `locationName:"revisions" type:"list"`
  2024. metadataListApplicationRevisionsOutput `json:"-" xml:"-"`
  2025. }
  2026. type metadataListApplicationRevisionsOutput struct {
  2027. SDKShapeTraits bool `type:"structure"`
  2028. }
  2029. // String returns the string representation
  2030. func (s ListApplicationRevisionsOutput) String() string {
  2031. return awsutil.Prettify(s)
  2032. }
  2033. // GoString returns the string representation
  2034. func (s ListApplicationRevisionsOutput) GoString() string {
  2035. return s.String()
  2036. }
  2037. // Represents the input of a list applications operation.
  2038. type ListApplicationsInput struct {
  2039. // An identifier that was returned from the previous list applications call,
  2040. // which can be used to return the next set of applications in the list.
  2041. NextToken *string `locationName:"nextToken" type:"string"`
  2042. metadataListApplicationsInput `json:"-" xml:"-"`
  2043. }
  2044. type metadataListApplicationsInput struct {
  2045. SDKShapeTraits bool `type:"structure"`
  2046. }
  2047. // String returns the string representation
  2048. func (s ListApplicationsInput) String() string {
  2049. return awsutil.Prettify(s)
  2050. }
  2051. // GoString returns the string representation
  2052. func (s ListApplicationsInput) GoString() string {
  2053. return s.String()
  2054. }
  2055. // Represents the output of a list applications operation.
  2056. type ListApplicationsOutput struct {
  2057. // A list of application names.
  2058. Applications []*string `locationName:"applications" type:"list"`
  2059. // If the amount of information that is returned is significantly large, an
  2060. // identifier will also be returned, which can be used in a subsequent list
  2061. // applications call to return the next set of applications in the list.
  2062. NextToken *string `locationName:"nextToken" type:"string"`
  2063. metadataListApplicationsOutput `json:"-" xml:"-"`
  2064. }
  2065. type metadataListApplicationsOutput struct {
  2066. SDKShapeTraits bool `type:"structure"`
  2067. }
  2068. // String returns the string representation
  2069. func (s ListApplicationsOutput) String() string {
  2070. return awsutil.Prettify(s)
  2071. }
  2072. // GoString returns the string representation
  2073. func (s ListApplicationsOutput) GoString() string {
  2074. return s.String()
  2075. }
  2076. // Represents the input of a list deployment configurations operation.
  2077. type ListDeploymentConfigsInput struct {
  2078. // An identifier that was returned from the previous list deployment configurations
  2079. // call, which can be used to return the next set of deployment configurations
  2080. // in the list.
  2081. NextToken *string `locationName:"nextToken" type:"string"`
  2082. metadataListDeploymentConfigsInput `json:"-" xml:"-"`
  2083. }
  2084. type metadataListDeploymentConfigsInput struct {
  2085. SDKShapeTraits bool `type:"structure"`
  2086. }
  2087. // String returns the string representation
  2088. func (s ListDeploymentConfigsInput) String() string {
  2089. return awsutil.Prettify(s)
  2090. }
  2091. // GoString returns the string representation
  2092. func (s ListDeploymentConfigsInput) GoString() string {
  2093. return s.String()
  2094. }
  2095. // Represents the output of a list deployment configurations operation.
  2096. type ListDeploymentConfigsOutput struct {
  2097. // A list of deployment configurations, including the built-in configurations
  2098. // such as CodeDeployDefault.OneAtATime.
  2099. DeploymentConfigsList []*string `locationName:"deploymentConfigsList" type:"list"`
  2100. // If the amount of information that is returned is significantly large, an
  2101. // identifier will also be returned, which can be used in a subsequent list
  2102. // deployment configurations call to return the next set of deployment configurations
  2103. // in the list.
  2104. NextToken *string `locationName:"nextToken" type:"string"`
  2105. metadataListDeploymentConfigsOutput `json:"-" xml:"-"`
  2106. }
  2107. type metadataListDeploymentConfigsOutput struct {
  2108. SDKShapeTraits bool `type:"structure"`
  2109. }
  2110. // String returns the string representation
  2111. func (s ListDeploymentConfigsOutput) String() string {
  2112. return awsutil.Prettify(s)
  2113. }
  2114. // GoString returns the string representation
  2115. func (s ListDeploymentConfigsOutput) GoString() string {
  2116. return s.String()
  2117. }
  2118. // Represents the input of a list deployment groups operation.
  2119. type ListDeploymentGroupsInput struct {
  2120. // The name of an existing AWS CodeDeploy application associated with the applicable
  2121. // IAM user or AWS account.
  2122. ApplicationName *string `locationName:"applicationName" type:"string" required:"true"`
  2123. // An identifier that was returned from the previous list deployment groups
  2124. // call, which can be used to return the next set of deployment groups in the
  2125. // list.
  2126. NextToken *string `locationName:"nextToken" type:"string"`
  2127. metadataListDeploymentGroupsInput `json:"-" xml:"-"`
  2128. }
  2129. type metadataListDeploymentGroupsInput struct {
  2130. SDKShapeTraits bool `type:"structure"`
  2131. }
  2132. // String returns the string representation
  2133. func (s ListDeploymentGroupsInput) String() string {
  2134. return awsutil.Prettify(s)
  2135. }
  2136. // GoString returns the string representation
  2137. func (s ListDeploymentGroupsInput) GoString() string {
  2138. return s.String()
  2139. }
  2140. // Represents the output of a list deployment groups operation.
  2141. type ListDeploymentGroupsOutput struct {
  2142. // The application name.
  2143. ApplicationName *string `locationName:"applicationName" type:"string"`
  2144. // A list of corresponding deployment group names.
  2145. DeploymentGroups []*string `locationName:"deploymentGroups" type:"list"`
  2146. // If the amount of information that is returned is significantly large, an
  2147. // identifier will also be returned, which can be used in a subsequent list
  2148. // deployment groups call to return the next set of deployment groups in the
  2149. // list.
  2150. NextToken *string `locationName:"nextToken" type:"string"`
  2151. metadataListDeploymentGroupsOutput `json:"-" xml:"-"`
  2152. }
  2153. type metadataListDeploymentGroupsOutput struct {
  2154. SDKShapeTraits bool `type:"structure"`
  2155. }
  2156. // String returns the string representation
  2157. func (s ListDeploymentGroupsOutput) String() string {
  2158. return awsutil.Prettify(s)
  2159. }
  2160. // GoString returns the string representation
  2161. func (s ListDeploymentGroupsOutput) GoString() string {
  2162. return s.String()
  2163. }
  2164. // Represents the input of a list deployment instances operation.
  2165. type ListDeploymentInstancesInput struct {
  2166. // The unique ID of a deployment.
  2167. DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"`
  2168. // A subset of instances to list, by status:
  2169. //
  2170. // Pending: Include in the resulting list those instances with pending deployments.
  2171. // InProgress: Include in the resulting list those instances with in-progress
  2172. // deployments. Succeeded: Include in the resulting list those instances with
  2173. // succeeded deployments. Failed: Include in the resulting list those instances
  2174. // with failed deployments. Skipped: Include in the resulting list those instances
  2175. // with skipped deployments. Unknown: Include in the resulting list those instances
  2176. // with deployments in an unknown state.
  2177. InstanceStatusFilter []*string `locationName:"instanceStatusFilter" type:"list"`
  2178. // An identifier that was returned from the previous list deployment instances
  2179. // call, which can be used to return the next set of deployment instances in
  2180. // the list.
  2181. NextToken *string `locationName:"nextToken" type:"string"`
  2182. metadataListDeploymentInstancesInput `json:"-" xml:"-"`
  2183. }
  2184. type metadataListDeploymentInstancesInput struct {
  2185. SDKShapeTraits bool `type:"structure"`
  2186. }
  2187. // String returns the string representation
  2188. func (s ListDeploymentInstancesInput) String() string {
  2189. return awsutil.Prettify(s)
  2190. }
  2191. // GoString returns the string representation
  2192. func (s ListDeploymentInstancesInput) GoString() string {
  2193. return s.String()
  2194. }
  2195. // Represents the output of a list deployment instances operation.
  2196. type ListDeploymentInstancesOutput struct {
  2197. // A list of instances IDs.
  2198. InstancesList []*string `locationName:"instancesList" type:"list"`
  2199. // If the amount of information that is returned is significantly large, an
  2200. // identifier will also be returned, which can be used in a subsequent list
  2201. // deployment instances call to return the next set of deployment instances
  2202. // in the list.
  2203. NextToken *string `locationName:"nextToken" type:"string"`
  2204. metadataListDeploymentInstancesOutput `json:"-" xml:"-"`
  2205. }
  2206. type metadataListDeploymentInstancesOutput struct {
  2207. SDKShapeTraits bool `type:"structure"`
  2208. }
  2209. // String returns the string representation
  2210. func (s ListDeploymentInstancesOutput) String() string {
  2211. return awsutil.Prettify(s)
  2212. }
  2213. // GoString returns the string representation
  2214. func (s ListDeploymentInstancesOutput) GoString() string {
  2215. return s.String()
  2216. }
  2217. // Represents the input of a list deployments operation.
  2218. type ListDeploymentsInput struct {
  2219. // The name of an existing AWS CodeDeploy application associated with the applicable
  2220. // IAM user or AWS account.
  2221. ApplicationName *string `locationName:"applicationName" type:"string"`
  2222. // A deployment creation start- and end-time range for returning a subset of
  2223. // the list of deployments.
  2224. CreateTimeRange *TimeRange `locationName:"createTimeRange" type:"structure"`
  2225. // The name of an existing deployment group for the specified application.
  2226. DeploymentGroupName *string `locationName:"deploymentGroupName" type:"string"`
  2227. // A subset of deployments to list, by status:
  2228. //
  2229. // Created: Include in the resulting list created deployments. Queued: Include
  2230. // in the resulting list queued deployments. In Progress: Include in the resulting
  2231. // list in-progress deployments. Succeeded: Include in the resulting list succeeded
  2232. // deployments. Failed: Include in the resulting list failed deployments. Aborted:
  2233. // Include in the resulting list aborted deployments.
  2234. IncludeOnlyStatuses []*string `locationName:"includeOnlyStatuses" type:"list"`
  2235. // An identifier that was returned from the previous list deployments call,
  2236. // which can be used to return the next set of deployments in the list.
  2237. NextToken *string `locationName:"nextToken" type:"string"`
  2238. metadataListDeploymentsInput `json:"-" xml:"-"`
  2239. }
  2240. type metadataListDeploymentsInput struct {
  2241. SDKShapeTraits bool `type:"structure"`
  2242. }
  2243. // String returns the string representation
  2244. func (s ListDeploymentsInput) String() string {
  2245. return awsutil.Prettify(s)
  2246. }
  2247. // GoString returns the string representation
  2248. func (s ListDeploymentsInput) GoString() string {
  2249. return s.String()
  2250. }
  2251. // Represents the output of a list deployments operation.
  2252. type ListDeploymentsOutput struct {
  2253. // A list of deployment IDs.
  2254. Deployments []*string `locationName:"deployments" type:"list"`
  2255. // If the amount of information that is returned is significantly large, an
  2256. // identifier will also be returned, which can be used in a subsequent list
  2257. // deployments call to return the next set of deployments in the list.
  2258. NextToken *string `locationName:"nextToken" type:"string"`
  2259. metadataListDeploymentsOutput `json:"-" xml:"-"`
  2260. }
  2261. type metadataListDeploymentsOutput struct {
  2262. SDKShapeTraits bool `type:"structure"`
  2263. }
  2264. // String returns the string representation
  2265. func (s ListDeploymentsOutput) String() string {
  2266. return awsutil.Prettify(s)
  2267. }
  2268. // GoString returns the string representation
  2269. func (s ListDeploymentsOutput) GoString() string {
  2270. return s.String()
  2271. }
  2272. // Represents the input of a list on-premises instances operation.
  2273. //
  2274. // .
  2275. type ListOnPremisesInstancesInput struct {
  2276. // An identifier that was returned from the previous list on-premises instances
  2277. // call, which can be used to return the next set of on-premises instances in
  2278. // the list.
  2279. NextToken *string `locationName:"nextToken" type:"string"`
  2280. // The on-premises instances registration status:
  2281. //
  2282. // Deregistered: Include in the resulting list deregistered on-premises instances.
  2283. // Registered: Include in the resulting list registered on-premises instances.
  2284. RegistrationStatus *string `locationName:"registrationStatus" type:"string" enum:"RegistrationStatus"`
  2285. // The on-premises instance tags that will be used to restrict the corresponding
  2286. // on-premises instance names that are returned.
  2287. TagFilters []*TagFilter `locationName:"tagFilters" type:"list"`
  2288. metadataListOnPremisesInstancesInput `json:"-" xml:"-"`
  2289. }
  2290. type metadataListOnPremisesInstancesInput struct {
  2291. SDKShapeTraits bool `type:"structure"`
  2292. }
  2293. // String returns the string representation
  2294. func (s ListOnPremisesInstancesInput) String() string {
  2295. return awsutil.Prettify(s)
  2296. }
  2297. // GoString returns the string representation
  2298. func (s ListOnPremisesInstancesInput) GoString() string {
  2299. return s.String()
  2300. }
  2301. // Represents the output of list on-premises instances operation.
  2302. type ListOnPremisesInstancesOutput struct {
  2303. // The list of matching on-premises instance names.
  2304. InstanceNames []*string `locationName:"instanceNames" type:"list"`
  2305. // If the amount of information that is returned is significantly large, an
  2306. // identifier will also be returned, which can be used in a subsequent list
  2307. // on-premises instances call to return the next set of on-premises instances
  2308. // in the list.
  2309. NextToken *string `locationName:"nextToken" type:"string"`
  2310. metadataListOnPremisesInstancesOutput `json:"-" xml:"-"`
  2311. }
  2312. type metadataListOnPremisesInstancesOutput struct {
  2313. SDKShapeTraits bool `type:"structure"`
  2314. }
  2315. // String returns the string representation
  2316. func (s ListOnPremisesInstancesOutput) String() string {
  2317. return awsutil.Prettify(s)
  2318. }
  2319. // GoString returns the string representation
  2320. func (s ListOnPremisesInstancesOutput) GoString() string {
  2321. return s.String()
  2322. }
  2323. // Information about minimum healthy instances.
  2324. type MinimumHealthyHosts struct {
  2325. // The minimum healthy instances type:
  2326. //
  2327. // HOST_COUNT: The minimum number of healthy instances, as an absolute value.
  2328. // FLEET_PERCENT: The minimum number of healthy instances, as a percentage of
  2329. // the total number of instances in the deployment. For example, for 9 instances,
  2330. // if a HOST_COUNT of 6 is specified, deploy to up to 3 instances at a time.
  2331. // The deployment succeeds if 6 or more instances are successfully deployed
  2332. // to; otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified,
  2333. // deploy to up to 5 instances at a time. The deployment succeeds if 4 or more
  2334. // instances are successfully deployed to; otherwise, the deployment fails.
  2335. //
  2336. // In a call to the get deployment configuration operation, CodeDeployDefault.OneAtATime
  2337. // will return a minimum healthy instances type of MOST_CONCURRENCY and a value
  2338. // of 1. This means a deployment to only one instances at a time. (You cannot
  2339. // set the type to MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.)
  2340. Type *string `locationName:"type" type:"string" enum:"MinimumHealthyHostsType"`
  2341. // The minimum healthy instances value.
  2342. Value *int64 `locationName:"value" type:"integer"`
  2343. metadataMinimumHealthyHosts `json:"-" xml:"-"`
  2344. }
  2345. type metadataMinimumHealthyHosts struct {
  2346. SDKShapeTraits bool `type:"structure"`
  2347. }
  2348. // String returns the string representation
  2349. func (s MinimumHealthyHosts) String() string {
  2350. return awsutil.Prettify(s)
  2351. }
  2352. // GoString returns the string representation
  2353. func (s MinimumHealthyHosts) GoString() string {
  2354. return s.String()
  2355. }
  2356. // Represents the input of a register application revision operation.
  2357. type RegisterApplicationRevisionInput struct {
  2358. // The name of an existing AWS CodeDeploy application associated with the applicable
  2359. // IAM user or AWS account.
  2360. ApplicationName *string `locationName:"applicationName" type:"string" required:"true"`
  2361. // A comment about the revision.
  2362. Description *string `locationName:"description" type:"string"`
  2363. // Information about the application revision to register, including the revision's
  2364. // type and its location.
  2365. Revision *RevisionLocation `locationName:"revision" type:"structure" required:"true"`
  2366. metadataRegisterApplicationRevisionInput `json:"-" xml:"-"`
  2367. }
  2368. type metadataRegisterApplicationRevisionInput struct {
  2369. SDKShapeTraits bool `type:"structure"`
  2370. }
  2371. // String returns the string representation
  2372. func (s RegisterApplicationRevisionInput) String() string {
  2373. return awsutil.Prettify(s)
  2374. }
  2375. // GoString returns the string representation
  2376. func (s RegisterApplicationRevisionInput) GoString() string {
  2377. return s.String()
  2378. }
  2379. type RegisterApplicationRevisionOutput struct {
  2380. metadataRegisterApplicationRevisionOutput `json:"-" xml:"-"`
  2381. }
  2382. type metadataRegisterApplicationRevisionOutput struct {
  2383. SDKShapeTraits bool `type:"structure"`
  2384. }
  2385. // String returns the string representation
  2386. func (s RegisterApplicationRevisionOutput) String() string {
  2387. return awsutil.Prettify(s)
  2388. }
  2389. // GoString returns the string representation
  2390. func (s RegisterApplicationRevisionOutput) GoString() string {
  2391. return s.String()
  2392. }
  2393. // Represents the input of register on-premises instance operation.
  2394. type RegisterOnPremisesInstanceInput struct {
  2395. // The ARN of the IAM user to associate with the on-premises instance.
  2396. IamUserArn *string `locationName:"iamUserArn" type:"string" required:"true"`
  2397. // The name of the on-premises instance to register.
  2398. InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
  2399. metadataRegisterOnPremisesInstanceInput `json:"-" xml:"-"`
  2400. }
  2401. type metadataRegisterOnPremisesInstanceInput struct {
  2402. SDKShapeTraits bool `type:"structure"`
  2403. }
  2404. // String returns the string representation
  2405. func (s RegisterOnPremisesInstanceInput) String() string {
  2406. return awsutil.Prettify(s)
  2407. }
  2408. // GoString returns the string representation
  2409. func (s RegisterOnPremisesInstanceInput) GoString() string {
  2410. return s.String()
  2411. }
  2412. type RegisterOnPremisesInstanceOutput struct {
  2413. metadataRegisterOnPremisesInstanceOutput `json:"-" xml:"-"`
  2414. }
  2415. type metadataRegisterOnPremisesInstanceOutput struct {
  2416. SDKShapeTraits bool `type:"structure"`
  2417. }
  2418. // String returns the string representation
  2419. func (s RegisterOnPremisesInstanceOutput) String() string {
  2420. return awsutil.Prettify(s)
  2421. }
  2422. // GoString returns the string representation
  2423. func (s RegisterOnPremisesInstanceOutput) GoString() string {
  2424. return s.String()
  2425. }
  2426. // Represents the input of a remove tags from on-premises instances operation.
  2427. type RemoveTagsFromOnPremisesInstancesInput struct {
  2428. // The names of the on-premises instances to remove tags from.
  2429. InstanceNames []*string `locationName:"instanceNames" type:"list" required:"true"`
  2430. // The tag key-value pairs to remove from the on-premises instances.
  2431. Tags []*Tag `locationName:"tags" type:"list" required:"true"`
  2432. metadataRemoveTagsFromOnPremisesInstancesInput `json:"-" xml:"-"`
  2433. }
  2434. type metadataRemoveTagsFromOnPremisesInstancesInput struct {
  2435. SDKShapeTraits bool `type:"structure"`
  2436. }
  2437. // String returns the string representation
  2438. func (s RemoveTagsFromOnPremisesInstancesInput) String() string {
  2439. return awsutil.Prettify(s)
  2440. }
  2441. // GoString returns the string representation
  2442. func (s RemoveTagsFromOnPremisesInstancesInput) GoString() string {
  2443. return s.String()
  2444. }
  2445. type RemoveTagsFromOnPremisesInstancesOutput struct {
  2446. metadataRemoveTagsFromOnPremisesInstancesOutput `json:"-" xml:"-"`
  2447. }
  2448. type metadataRemoveTagsFromOnPremisesInstancesOutput struct {
  2449. SDKShapeTraits bool `type:"structure"`
  2450. }
  2451. // String returns the string representation
  2452. func (s RemoveTagsFromOnPremisesInstancesOutput) String() string {
  2453. return awsutil.Prettify(s)
  2454. }
  2455. // GoString returns the string representation
  2456. func (s RemoveTagsFromOnPremisesInstancesOutput) GoString() string {
  2457. return s.String()
  2458. }
  2459. // Information about an application revision's location.
  2460. type RevisionLocation struct {
  2461. // Information about the location of application artifacts that are stored in
  2462. // GitHub.
  2463. GitHubLocation *GitHubLocation `locationName:"gitHubLocation" type:"structure"`
  2464. // The application revision's type:
  2465. //
  2466. // S3: An application revision stored in Amazon S3. GitHub: An application
  2467. // revision stored in GitHub.
  2468. RevisionType *string `locationName:"revisionType" type:"string" enum:"RevisionLocationType"`
  2469. // Information about the location of application artifacts that are stored in
  2470. // Amazon S3.
  2471. S3Location *S3Location `locationName:"s3Location" type:"structure"`
  2472. metadataRevisionLocation `json:"-" xml:"-"`
  2473. }
  2474. type metadataRevisionLocation struct {
  2475. SDKShapeTraits bool `type:"structure"`
  2476. }
  2477. // String returns the string representation
  2478. func (s RevisionLocation) String() string {
  2479. return awsutil.Prettify(s)
  2480. }
  2481. // GoString returns the string representation
  2482. func (s RevisionLocation) GoString() string {
  2483. return s.String()
  2484. }
  2485. // Information about the location of application artifacts that are stored in
  2486. // Amazon S3.
  2487. type S3Location struct {
  2488. // The name of the Amazon S3 bucket where the application revision is stored.
  2489. Bucket *string `locationName:"bucket" type:"string"`
  2490. // The file type of the application revision. Must be one of the following:
  2491. //
  2492. // tar: A tar archive file. tgz: A compressed tar archive file. zip: A zip
  2493. // archive file.
  2494. BundleType *string `locationName:"bundleType" type:"string" enum:"BundleType"`
  2495. // The ETag of the Amazon S3 object that represents the bundled artifacts for
  2496. // the application revision.
  2497. //
  2498. // If the ETag is not specified as an input parameter, ETag validation of the
  2499. // object will be skipped.
  2500. ETag *string `locationName:"eTag" type:"string"`
  2501. // The name of the Amazon S3 object that represents the bundled artifacts for
  2502. // the application revision.
  2503. Key *string `locationName:"key" type:"string"`
  2504. // A specific version of the Amazon S3 object that represents the bundled artifacts
  2505. // for the application revision.
  2506. //
  2507. // If the version is not specified, the system will use the most recent version
  2508. // by default.
  2509. Version *string `locationName:"version" type:"string"`
  2510. metadataS3Location `json:"-" xml:"-"`
  2511. }
  2512. type metadataS3Location struct {
  2513. SDKShapeTraits bool `type:"structure"`
  2514. }
  2515. // String returns the string representation
  2516. func (s S3Location) String() string {
  2517. return awsutil.Prettify(s)
  2518. }
  2519. // GoString returns the string representation
  2520. func (s S3Location) GoString() string {
  2521. return s.String()
  2522. }
  2523. // Represents the input of a stop deployment operation.
  2524. type StopDeploymentInput struct {
  2525. // The unique ID of a deployment.
  2526. DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"`
  2527. metadataStopDeploymentInput `json:"-" xml:"-"`
  2528. }
  2529. type metadataStopDeploymentInput struct {
  2530. SDKShapeTraits bool `type:"structure"`
  2531. }
  2532. // String returns the string representation
  2533. func (s StopDeploymentInput) String() string {
  2534. return awsutil.Prettify(s)
  2535. }
  2536. // GoString returns the string representation
  2537. func (s StopDeploymentInput) GoString() string {
  2538. return s.String()
  2539. }
  2540. // Represents the output of a stop deployment operation.
  2541. type StopDeploymentOutput struct {
  2542. // The status of the stop deployment operation:
  2543. //
  2544. // Pending: The stop operation is pending. Succeeded: The stop operation succeeded.
  2545. Status *string `locationName:"status" type:"string" enum:"StopStatus"`
  2546. // An accompanying status message.
  2547. StatusMessage *string `locationName:"statusMessage" type:"string"`
  2548. metadataStopDeploymentOutput `json:"-" xml:"-"`
  2549. }
  2550. type metadataStopDeploymentOutput struct {
  2551. SDKShapeTraits bool `type:"structure"`
  2552. }
  2553. // String returns the string representation
  2554. func (s StopDeploymentOutput) String() string {
  2555. return awsutil.Prettify(s)
  2556. }
  2557. // GoString returns the string representation
  2558. func (s StopDeploymentOutput) GoString() string {
  2559. return s.String()
  2560. }
  2561. // Information about a tag.
  2562. type Tag struct {
  2563. // The tag's key.
  2564. Key *string `type:"string"`
  2565. // The tag's value.
  2566. Value *string `type:"string"`
  2567. metadataTag `json:"-" xml:"-"`
  2568. }
  2569. type metadataTag struct {
  2570. SDKShapeTraits bool `type:"structure"`
  2571. }
  2572. // String returns the string representation
  2573. func (s Tag) String() string {
  2574. return awsutil.Prettify(s)
  2575. }
  2576. // GoString returns the string representation
  2577. func (s Tag) GoString() string {
  2578. return s.String()
  2579. }
  2580. // Information about an on-premises instance tag filter.
  2581. type TagFilter struct {
  2582. // The on-premises instance tag filter key.
  2583. Key *string `type:"string"`
  2584. // The on-premises instance tag filter type:
  2585. //
  2586. // KEY_ONLY: Key only. VALUE_ONLY: Value only. KEY_AND_VALUE: Key and value.
  2587. Type *string `type:"string" enum:"TagFilterType"`
  2588. // The on-premises instance tag filter value.
  2589. Value *string `type:"string"`
  2590. metadataTagFilter `json:"-" xml:"-"`
  2591. }
  2592. type metadataTagFilter struct {
  2593. SDKShapeTraits bool `type:"structure"`
  2594. }
  2595. // String returns the string representation
  2596. func (s TagFilter) String() string {
  2597. return awsutil.Prettify(s)
  2598. }
  2599. // GoString returns the string representation
  2600. func (s TagFilter) GoString() string {
  2601. return s.String()
  2602. }
  2603. // Information about a time range.
  2604. type TimeRange struct {
  2605. // The time range's end time.
  2606. //
  2607. // Specify null to leave the time range's end time open-ended.
  2608. End *time.Time `locationName:"end" type:"timestamp" timestampFormat:"unix"`
  2609. // The time range's start time.
  2610. //
  2611. // Specify null to leave the time range's start time open-ended.
  2612. Start *time.Time `locationName:"start" type:"timestamp" timestampFormat:"unix"`
  2613. metadataTimeRange `json:"-" xml:"-"`
  2614. }
  2615. type metadataTimeRange struct {
  2616. SDKShapeTraits bool `type:"structure"`
  2617. }
  2618. // String returns the string representation
  2619. func (s TimeRange) String() string {
  2620. return awsutil.Prettify(s)
  2621. }
  2622. // GoString returns the string representation
  2623. func (s TimeRange) GoString() string {
  2624. return s.String()
  2625. }
  2626. // Represents the input of an update application operation.
  2627. type UpdateApplicationInput struct {
  2628. // The current name of the application that you want to change.
  2629. ApplicationName *string `locationName:"applicationName" type:"string"`
  2630. // The new name that you want to change the application to.
  2631. NewApplicationName *string `locationName:"newApplicationName" type:"string"`
  2632. metadataUpdateApplicationInput `json:"-" xml:"-"`
  2633. }
  2634. type metadataUpdateApplicationInput struct {
  2635. SDKShapeTraits bool `type:"structure"`
  2636. }
  2637. // String returns the string representation
  2638. func (s UpdateApplicationInput) String() string {
  2639. return awsutil.Prettify(s)
  2640. }
  2641. // GoString returns the string representation
  2642. func (s UpdateApplicationInput) GoString() string {
  2643. return s.String()
  2644. }
  2645. type UpdateApplicationOutput struct {
  2646. metadataUpdateApplicationOutput `json:"-" xml:"-"`
  2647. }
  2648. type metadataUpdateApplicationOutput struct {
  2649. SDKShapeTraits bool `type:"structure"`
  2650. }
  2651. // String returns the string representation
  2652. func (s UpdateApplicationOutput) String() string {
  2653. return awsutil.Prettify(s)
  2654. }
  2655. // GoString returns the string representation
  2656. func (s UpdateApplicationOutput) GoString() string {
  2657. return s.String()
  2658. }
  2659. // Represents the input of an update deployment group operation.
  2660. type UpdateDeploymentGroupInput struct {
  2661. // The application name corresponding to the deployment group to update.
  2662. ApplicationName *string `locationName:"applicationName" type:"string" required:"true"`
  2663. // The replacement list of Auto Scaling groups to be included in the deployment
  2664. // group, if you want to change them.
  2665. AutoScalingGroups []*string `locationName:"autoScalingGroups" type:"list"`
  2666. // The current name of the existing deployment group.
  2667. CurrentDeploymentGroupName *string `locationName:"currentDeploymentGroupName" type:"string" required:"true"`
  2668. // The replacement deployment configuration name to use, if you want to change
  2669. // it.
  2670. DeploymentConfigName *string `locationName:"deploymentConfigName" type:"string"`
  2671. // The replacement set of Amazon EC2 tags to filter on, if you want to change
  2672. // them.
  2673. Ec2TagFilters []*EC2TagFilter `locationName:"ec2TagFilters" type:"list"`
  2674. // The new name of the deployment group, if you want to change it.
  2675. NewDeploymentGroupName *string `locationName:"newDeploymentGroupName" type:"string"`
  2676. // The replacement set of on-premises instance tags for filter on, if you want
  2677. // to change them.
  2678. OnPremisesInstanceTagFilters []*TagFilter `locationName:"onPremisesInstanceTagFilters" type:"list"`
  2679. // A replacement service role's ARN, if you want to change it.
  2680. ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string"`
  2681. metadataUpdateDeploymentGroupInput `json:"-" xml:"-"`
  2682. }
  2683. type metadataUpdateDeploymentGroupInput struct {
  2684. SDKShapeTraits bool `type:"structure"`
  2685. }
  2686. // String returns the string representation
  2687. func (s UpdateDeploymentGroupInput) String() string {
  2688. return awsutil.Prettify(s)
  2689. }
  2690. // GoString returns the string representation
  2691. func (s UpdateDeploymentGroupInput) GoString() string {
  2692. return s.String()
  2693. }
  2694. // Represents the output of an update deployment group operation.
  2695. type UpdateDeploymentGroupOutput struct {
  2696. // If the output contains no data, and the corresponding deployment group contained
  2697. // at least one Auto Scaling group, AWS CodeDeploy successfully removed all
  2698. // corresponding Auto Scaling lifecycle event hooks from the AWS account. If
  2699. // the output does contain data, AWS CodeDeploy could not remove some Auto Scaling
  2700. // lifecycle event hooks from the AWS account.
  2701. HooksNotCleanedUp []*AutoScalingGroup `locationName:"hooksNotCleanedUp" type:"list"`
  2702. metadataUpdateDeploymentGroupOutput `json:"-" xml:"-"`
  2703. }
  2704. type metadataUpdateDeploymentGroupOutput struct {
  2705. SDKShapeTraits bool `type:"structure"`
  2706. }
  2707. // String returns the string representation
  2708. func (s UpdateDeploymentGroupOutput) String() string {
  2709. return awsutil.Prettify(s)
  2710. }
  2711. // GoString returns the string representation
  2712. func (s UpdateDeploymentGroupOutput) GoString() string {
  2713. return s.String()
  2714. }
  2715. const (
  2716. // @enum ApplicationRevisionSortBy
  2717. ApplicationRevisionSortByRegisterTime = "registerTime"
  2718. // @enum ApplicationRevisionSortBy
  2719. ApplicationRevisionSortByFirstUsedTime = "firstUsedTime"
  2720. // @enum ApplicationRevisionSortBy
  2721. ApplicationRevisionSortByLastUsedTime = "lastUsedTime"
  2722. )
  2723. const (
  2724. // @enum BundleType
  2725. BundleTypeTar = "tar"
  2726. // @enum BundleType
  2727. BundleTypeTgz = "tgz"
  2728. // @enum BundleType
  2729. BundleTypeZip = "zip"
  2730. )
  2731. const (
  2732. // @enum DeploymentCreator
  2733. DeploymentCreatorUser = "user"
  2734. // @enum DeploymentCreator
  2735. DeploymentCreatorAutoscaling = "autoscaling"
  2736. )
  2737. const (
  2738. // @enum DeploymentStatus
  2739. DeploymentStatusCreated = "Created"
  2740. // @enum DeploymentStatus
  2741. DeploymentStatusQueued = "Queued"
  2742. // @enum DeploymentStatus
  2743. DeploymentStatusInProgress = "InProgress"
  2744. // @enum DeploymentStatus
  2745. DeploymentStatusSucceeded = "Succeeded"
  2746. // @enum DeploymentStatus
  2747. DeploymentStatusFailed = "Failed"
  2748. // @enum DeploymentStatus
  2749. DeploymentStatusStopped = "Stopped"
  2750. )
  2751. const (
  2752. // @enum EC2TagFilterType
  2753. EC2TagFilterTypeKeyOnly = "KEY_ONLY"
  2754. // @enum EC2TagFilterType
  2755. EC2TagFilterTypeValueOnly = "VALUE_ONLY"
  2756. // @enum EC2TagFilterType
  2757. EC2TagFilterTypeKeyAndValue = "KEY_AND_VALUE"
  2758. )
  2759. const (
  2760. // @enum ErrorCode
  2761. ErrorCodeDeploymentGroupMissing = "DEPLOYMENT_GROUP_MISSING"
  2762. // @enum ErrorCode
  2763. ErrorCodeApplicationMissing = "APPLICATION_MISSING"
  2764. // @enum ErrorCode
  2765. ErrorCodeRevisionMissing = "REVISION_MISSING"
  2766. // @enum ErrorCode
  2767. ErrorCodeIamRoleMissing = "IAM_ROLE_MISSING"
  2768. // @enum ErrorCode
  2769. ErrorCodeIamRolePermissions = "IAM_ROLE_PERMISSIONS"
  2770. // @enum ErrorCode
  2771. ErrorCodeNoEc2Subscription = "NO_EC2_SUBSCRIPTION"
  2772. // @enum ErrorCode
  2773. ErrorCodeOverMaxInstances = "OVER_MAX_INSTANCES"
  2774. // @enum ErrorCode
  2775. ErrorCodeNoInstances = "NO_INSTANCES"
  2776. // @enum ErrorCode
  2777. ErrorCodeTimeout = "TIMEOUT"
  2778. // @enum ErrorCode
  2779. ErrorCodeHealthConstraintsInvalid = "HEALTH_CONSTRAINTS_INVALID"
  2780. // @enum ErrorCode
  2781. ErrorCodeHealthConstraints = "HEALTH_CONSTRAINTS"
  2782. // @enum ErrorCode
  2783. ErrorCodeInternalError = "INTERNAL_ERROR"
  2784. // @enum ErrorCode
  2785. ErrorCodeThrottled = "THROTTLED"
  2786. )
  2787. const (
  2788. // @enum InstanceStatus
  2789. InstanceStatusPending = "Pending"
  2790. // @enum InstanceStatus
  2791. InstanceStatusInProgress = "InProgress"
  2792. // @enum InstanceStatus
  2793. InstanceStatusSucceeded = "Succeeded"
  2794. // @enum InstanceStatus
  2795. InstanceStatusFailed = "Failed"
  2796. // @enum InstanceStatus
  2797. InstanceStatusSkipped = "Skipped"
  2798. // @enum InstanceStatus
  2799. InstanceStatusUnknown = "Unknown"
  2800. )
  2801. const (
  2802. // @enum LifecycleErrorCode
  2803. LifecycleErrorCodeSuccess = "Success"
  2804. // @enum LifecycleErrorCode
  2805. LifecycleErrorCodeScriptMissing = "ScriptMissing"
  2806. // @enum LifecycleErrorCode
  2807. LifecycleErrorCodeScriptNotExecutable = "ScriptNotExecutable"
  2808. // @enum LifecycleErrorCode
  2809. LifecycleErrorCodeScriptTimedOut = "ScriptTimedOut"
  2810. // @enum LifecycleErrorCode
  2811. LifecycleErrorCodeScriptFailed = "ScriptFailed"
  2812. // @enum LifecycleErrorCode
  2813. LifecycleErrorCodeUnknownError = "UnknownError"
  2814. )
  2815. const (
  2816. // @enum LifecycleEventStatus
  2817. LifecycleEventStatusPending = "Pending"
  2818. // @enum LifecycleEventStatus
  2819. LifecycleEventStatusInProgress = "InProgress"
  2820. // @enum LifecycleEventStatus
  2821. LifecycleEventStatusSucceeded = "Succeeded"
  2822. // @enum LifecycleEventStatus
  2823. LifecycleEventStatusFailed = "Failed"
  2824. // @enum LifecycleEventStatus
  2825. LifecycleEventStatusSkipped = "Skipped"
  2826. // @enum LifecycleEventStatus
  2827. LifecycleEventStatusUnknown = "Unknown"
  2828. )
  2829. const (
  2830. // @enum ListStateFilterAction
  2831. ListStateFilterActionInclude = "include"
  2832. // @enum ListStateFilterAction
  2833. ListStateFilterActionExclude = "exclude"
  2834. // @enum ListStateFilterAction
  2835. ListStateFilterActionIgnore = "ignore"
  2836. )
  2837. const (
  2838. // @enum MinimumHealthyHostsType
  2839. MinimumHealthyHostsTypeHostCount = "HOST_COUNT"
  2840. // @enum MinimumHealthyHostsType
  2841. MinimumHealthyHostsTypeFleetPercent = "FLEET_PERCENT"
  2842. )
  2843. const (
  2844. // @enum RegistrationStatus
  2845. RegistrationStatusRegistered = "Registered"
  2846. // @enum RegistrationStatus
  2847. RegistrationStatusDeregistered = "Deregistered"
  2848. )
  2849. const (
  2850. // @enum RevisionLocationType
  2851. RevisionLocationTypeS3 = "S3"
  2852. // @enum RevisionLocationType
  2853. RevisionLocationTypeGitHub = "GitHub"
  2854. )
  2855. const (
  2856. // @enum SortOrder
  2857. SortOrderAscending = "ascending"
  2858. // @enum SortOrder
  2859. SortOrderDescending = "descending"
  2860. )
  2861. const (
  2862. // @enum StopStatus
  2863. StopStatusPending = "Pending"
  2864. // @enum StopStatus
  2865. StopStatusSucceeded = "Succeeded"
  2866. )
  2867. const (
  2868. // @enum TagFilterType
  2869. TagFilterTypeKeyOnly = "KEY_ONLY"
  2870. // @enum TagFilterType
  2871. TagFilterTypeValueOnly = "VALUE_ONLY"
  2872. // @enum TagFilterType
  2873. TagFilterTypeKeyAndValue = "KEY_AND_VALUE"
  2874. )