api.go 132 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138
  1. // THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
  2. // Package elasticbeanstalk provides a client for AWS Elastic Beanstalk.
  3. package elasticbeanstalk
  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 opAbortEnvironmentUpdate = "AbortEnvironmentUpdate"
  10. // AbortEnvironmentUpdateRequest generates a request for the AbortEnvironmentUpdate operation.
  11. func (c *ElasticBeanstalk) AbortEnvironmentUpdateRequest(input *AbortEnvironmentUpdateInput) (req *request.Request, output *AbortEnvironmentUpdateOutput) {
  12. op := &request.Operation{
  13. Name: opAbortEnvironmentUpdate,
  14. HTTPMethod: "POST",
  15. HTTPPath: "/",
  16. }
  17. if input == nil {
  18. input = &AbortEnvironmentUpdateInput{}
  19. }
  20. req = c.newRequest(op, input, output)
  21. output = &AbortEnvironmentUpdateOutput{}
  22. req.Data = output
  23. return
  24. }
  25. // Cancels in-progress environment configuration update or application version
  26. // deployment.
  27. func (c *ElasticBeanstalk) AbortEnvironmentUpdate(input *AbortEnvironmentUpdateInput) (*AbortEnvironmentUpdateOutput, error) {
  28. req, out := c.AbortEnvironmentUpdateRequest(input)
  29. err := req.Send()
  30. return out, err
  31. }
  32. const opCheckDNSAvailability = "CheckDNSAvailability"
  33. // CheckDNSAvailabilityRequest generates a request for the CheckDNSAvailability operation.
  34. func (c *ElasticBeanstalk) CheckDNSAvailabilityRequest(input *CheckDNSAvailabilityInput) (req *request.Request, output *CheckDNSAvailabilityOutput) {
  35. op := &request.Operation{
  36. Name: opCheckDNSAvailability,
  37. HTTPMethod: "POST",
  38. HTTPPath: "/",
  39. }
  40. if input == nil {
  41. input = &CheckDNSAvailabilityInput{}
  42. }
  43. req = c.newRequest(op, input, output)
  44. output = &CheckDNSAvailabilityOutput{}
  45. req.Data = output
  46. return
  47. }
  48. // Checks if the specified CNAME is available.
  49. func (c *ElasticBeanstalk) CheckDNSAvailability(input *CheckDNSAvailabilityInput) (*CheckDNSAvailabilityOutput, error) {
  50. req, out := c.CheckDNSAvailabilityRequest(input)
  51. err := req.Send()
  52. return out, err
  53. }
  54. const opCreateApplication = "CreateApplication"
  55. // CreateApplicationRequest generates a request for the CreateApplication operation.
  56. func (c *ElasticBeanstalk) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *ApplicationDescriptionMessage) {
  57. op := &request.Operation{
  58. Name: opCreateApplication,
  59. HTTPMethod: "POST",
  60. HTTPPath: "/",
  61. }
  62. if input == nil {
  63. input = &CreateApplicationInput{}
  64. }
  65. req = c.newRequest(op, input, output)
  66. output = &ApplicationDescriptionMessage{}
  67. req.Data = output
  68. return
  69. }
  70. // Creates an application that has one configuration template named default
  71. // and no application versions.
  72. func (c *ElasticBeanstalk) CreateApplication(input *CreateApplicationInput) (*ApplicationDescriptionMessage, error) {
  73. req, out := c.CreateApplicationRequest(input)
  74. err := req.Send()
  75. return out, err
  76. }
  77. const opCreateApplicationVersion = "CreateApplicationVersion"
  78. // CreateApplicationVersionRequest generates a request for the CreateApplicationVersion operation.
  79. func (c *ElasticBeanstalk) CreateApplicationVersionRequest(input *CreateApplicationVersionInput) (req *request.Request, output *ApplicationVersionDescriptionMessage) {
  80. op := &request.Operation{
  81. Name: opCreateApplicationVersion,
  82. HTTPMethod: "POST",
  83. HTTPPath: "/",
  84. }
  85. if input == nil {
  86. input = &CreateApplicationVersionInput{}
  87. }
  88. req = c.newRequest(op, input, output)
  89. output = &ApplicationVersionDescriptionMessage{}
  90. req.Data = output
  91. return
  92. }
  93. // Creates an application version for the specified application.
  94. //
  95. // Once you create an application version with a specified Amazon S3 bucket
  96. // and key location, you cannot change that Amazon S3 location. If you change
  97. // the Amazon S3 location, you receive an exception when you attempt to launch
  98. // an environment from the application version.
  99. func (c *ElasticBeanstalk) CreateApplicationVersion(input *CreateApplicationVersionInput) (*ApplicationVersionDescriptionMessage, error) {
  100. req, out := c.CreateApplicationVersionRequest(input)
  101. err := req.Send()
  102. return out, err
  103. }
  104. const opCreateConfigurationTemplate = "CreateConfigurationTemplate"
  105. // CreateConfigurationTemplateRequest generates a request for the CreateConfigurationTemplate operation.
  106. func (c *ElasticBeanstalk) CreateConfigurationTemplateRequest(input *CreateConfigurationTemplateInput) (req *request.Request, output *ConfigurationSettingsDescription) {
  107. op := &request.Operation{
  108. Name: opCreateConfigurationTemplate,
  109. HTTPMethod: "POST",
  110. HTTPPath: "/",
  111. }
  112. if input == nil {
  113. input = &CreateConfigurationTemplateInput{}
  114. }
  115. req = c.newRequest(op, input, output)
  116. output = &ConfigurationSettingsDescription{}
  117. req.Data = output
  118. return
  119. }
  120. // Creates a configuration template. Templates are associated with a specific
  121. // application and are used to deploy different versions of the application
  122. // with the same configuration settings.
  123. //
  124. // Related Topics
  125. //
  126. // DescribeConfigurationOptions DescribeConfigurationSettings ListAvailableSolutionStacks
  127. func (c *ElasticBeanstalk) CreateConfigurationTemplate(input *CreateConfigurationTemplateInput) (*ConfigurationSettingsDescription, error) {
  128. req, out := c.CreateConfigurationTemplateRequest(input)
  129. err := req.Send()
  130. return out, err
  131. }
  132. const opCreateEnvironment = "CreateEnvironment"
  133. // CreateEnvironmentRequest generates a request for the CreateEnvironment operation.
  134. func (c *ElasticBeanstalk) CreateEnvironmentRequest(input *CreateEnvironmentInput) (req *request.Request, output *EnvironmentDescription) {
  135. op := &request.Operation{
  136. Name: opCreateEnvironment,
  137. HTTPMethod: "POST",
  138. HTTPPath: "/",
  139. }
  140. if input == nil {
  141. input = &CreateEnvironmentInput{}
  142. }
  143. req = c.newRequest(op, input, output)
  144. output = &EnvironmentDescription{}
  145. req.Data = output
  146. return
  147. }
  148. // Launches an environment for the specified application using the specified
  149. // configuration.
  150. func (c *ElasticBeanstalk) CreateEnvironment(input *CreateEnvironmentInput) (*EnvironmentDescription, error) {
  151. req, out := c.CreateEnvironmentRequest(input)
  152. err := req.Send()
  153. return out, err
  154. }
  155. const opCreateStorageLocation = "CreateStorageLocation"
  156. // CreateStorageLocationRequest generates a request for the CreateStorageLocation operation.
  157. func (c *ElasticBeanstalk) CreateStorageLocationRequest(input *CreateStorageLocationInput) (req *request.Request, output *CreateStorageLocationOutput) {
  158. op := &request.Operation{
  159. Name: opCreateStorageLocation,
  160. HTTPMethod: "POST",
  161. HTTPPath: "/",
  162. }
  163. if input == nil {
  164. input = &CreateStorageLocationInput{}
  165. }
  166. req = c.newRequest(op, input, output)
  167. output = &CreateStorageLocationOutput{}
  168. req.Data = output
  169. return
  170. }
  171. // Creates the Amazon S3 storage location for the account.
  172. //
  173. // This location is used to store user log files.
  174. func (c *ElasticBeanstalk) CreateStorageLocation(input *CreateStorageLocationInput) (*CreateStorageLocationOutput, error) {
  175. req, out := c.CreateStorageLocationRequest(input)
  176. err := req.Send()
  177. return out, err
  178. }
  179. const opDeleteApplication = "DeleteApplication"
  180. // DeleteApplicationRequest generates a request for the DeleteApplication operation.
  181. func (c *ElasticBeanstalk) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput) {
  182. op := &request.Operation{
  183. Name: opDeleteApplication,
  184. HTTPMethod: "POST",
  185. HTTPPath: "/",
  186. }
  187. if input == nil {
  188. input = &DeleteApplicationInput{}
  189. }
  190. req = c.newRequest(op, input, output)
  191. output = &DeleteApplicationOutput{}
  192. req.Data = output
  193. return
  194. }
  195. // Deletes the specified application along with all associated versions and
  196. // configurations. The application versions will not be deleted from your Amazon
  197. // S3 bucket.
  198. //
  199. // You cannot delete an application that has a running environment.
  200. func (c *ElasticBeanstalk) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error) {
  201. req, out := c.DeleteApplicationRequest(input)
  202. err := req.Send()
  203. return out, err
  204. }
  205. const opDeleteApplicationVersion = "DeleteApplicationVersion"
  206. // DeleteApplicationVersionRequest generates a request for the DeleteApplicationVersion operation.
  207. func (c *ElasticBeanstalk) DeleteApplicationVersionRequest(input *DeleteApplicationVersionInput) (req *request.Request, output *DeleteApplicationVersionOutput) {
  208. op := &request.Operation{
  209. Name: opDeleteApplicationVersion,
  210. HTTPMethod: "POST",
  211. HTTPPath: "/",
  212. }
  213. if input == nil {
  214. input = &DeleteApplicationVersionInput{}
  215. }
  216. req = c.newRequest(op, input, output)
  217. output = &DeleteApplicationVersionOutput{}
  218. req.Data = output
  219. return
  220. }
  221. // Deletes the specified version from the specified application.
  222. //
  223. // You cannot delete an application version that is associated with a running
  224. // environment.
  225. func (c *ElasticBeanstalk) DeleteApplicationVersion(input *DeleteApplicationVersionInput) (*DeleteApplicationVersionOutput, error) {
  226. req, out := c.DeleteApplicationVersionRequest(input)
  227. err := req.Send()
  228. return out, err
  229. }
  230. const opDeleteConfigurationTemplate = "DeleteConfigurationTemplate"
  231. // DeleteConfigurationTemplateRequest generates a request for the DeleteConfigurationTemplate operation.
  232. func (c *ElasticBeanstalk) DeleteConfigurationTemplateRequest(input *DeleteConfigurationTemplateInput) (req *request.Request, output *DeleteConfigurationTemplateOutput) {
  233. op := &request.Operation{
  234. Name: opDeleteConfigurationTemplate,
  235. HTTPMethod: "POST",
  236. HTTPPath: "/",
  237. }
  238. if input == nil {
  239. input = &DeleteConfigurationTemplateInput{}
  240. }
  241. req = c.newRequest(op, input, output)
  242. output = &DeleteConfigurationTemplateOutput{}
  243. req.Data = output
  244. return
  245. }
  246. // Deletes the specified configuration template.
  247. //
  248. // When you launch an environment using a configuration template, the environment
  249. // gets a copy of the template. You can delete or modify the environment's copy
  250. // of the template without affecting the running environment.
  251. func (c *ElasticBeanstalk) DeleteConfigurationTemplate(input *DeleteConfigurationTemplateInput) (*DeleteConfigurationTemplateOutput, error) {
  252. req, out := c.DeleteConfigurationTemplateRequest(input)
  253. err := req.Send()
  254. return out, err
  255. }
  256. const opDeleteEnvironmentConfiguration = "DeleteEnvironmentConfiguration"
  257. // DeleteEnvironmentConfigurationRequest generates a request for the DeleteEnvironmentConfiguration operation.
  258. func (c *ElasticBeanstalk) DeleteEnvironmentConfigurationRequest(input *DeleteEnvironmentConfigurationInput) (req *request.Request, output *DeleteEnvironmentConfigurationOutput) {
  259. op := &request.Operation{
  260. Name: opDeleteEnvironmentConfiguration,
  261. HTTPMethod: "POST",
  262. HTTPPath: "/",
  263. }
  264. if input == nil {
  265. input = &DeleteEnvironmentConfigurationInput{}
  266. }
  267. req = c.newRequest(op, input, output)
  268. output = &DeleteEnvironmentConfigurationOutput{}
  269. req.Data = output
  270. return
  271. }
  272. // Deletes the draft configuration associated with the running environment.
  273. //
  274. // Updating a running environment with any configuration changes creates a
  275. // draft configuration set. You can get the draft configuration using DescribeConfigurationSettings
  276. // while the update is in progress or if the update fails. The DeploymentStatus
  277. // for the draft configuration indicates whether the deployment is in process
  278. // or has failed. The draft configuration remains in existence until it is deleted
  279. // with this action.
  280. func (c *ElasticBeanstalk) DeleteEnvironmentConfiguration(input *DeleteEnvironmentConfigurationInput) (*DeleteEnvironmentConfigurationOutput, error) {
  281. req, out := c.DeleteEnvironmentConfigurationRequest(input)
  282. err := req.Send()
  283. return out, err
  284. }
  285. const opDescribeApplicationVersions = "DescribeApplicationVersions"
  286. // DescribeApplicationVersionsRequest generates a request for the DescribeApplicationVersions operation.
  287. func (c *ElasticBeanstalk) DescribeApplicationVersionsRequest(input *DescribeApplicationVersionsInput) (req *request.Request, output *DescribeApplicationVersionsOutput) {
  288. op := &request.Operation{
  289. Name: opDescribeApplicationVersions,
  290. HTTPMethod: "POST",
  291. HTTPPath: "/",
  292. }
  293. if input == nil {
  294. input = &DescribeApplicationVersionsInput{}
  295. }
  296. req = c.newRequest(op, input, output)
  297. output = &DescribeApplicationVersionsOutput{}
  298. req.Data = output
  299. return
  300. }
  301. // Returns descriptions for existing application versions.
  302. func (c *ElasticBeanstalk) DescribeApplicationVersions(input *DescribeApplicationVersionsInput) (*DescribeApplicationVersionsOutput, error) {
  303. req, out := c.DescribeApplicationVersionsRequest(input)
  304. err := req.Send()
  305. return out, err
  306. }
  307. const opDescribeApplications = "DescribeApplications"
  308. // DescribeApplicationsRequest generates a request for the DescribeApplications operation.
  309. func (c *ElasticBeanstalk) DescribeApplicationsRequest(input *DescribeApplicationsInput) (req *request.Request, output *DescribeApplicationsOutput) {
  310. op := &request.Operation{
  311. Name: opDescribeApplications,
  312. HTTPMethod: "POST",
  313. HTTPPath: "/",
  314. }
  315. if input == nil {
  316. input = &DescribeApplicationsInput{}
  317. }
  318. req = c.newRequest(op, input, output)
  319. output = &DescribeApplicationsOutput{}
  320. req.Data = output
  321. return
  322. }
  323. // Returns the descriptions of existing applications.
  324. func (c *ElasticBeanstalk) DescribeApplications(input *DescribeApplicationsInput) (*DescribeApplicationsOutput, error) {
  325. req, out := c.DescribeApplicationsRequest(input)
  326. err := req.Send()
  327. return out, err
  328. }
  329. const opDescribeConfigurationOptions = "DescribeConfigurationOptions"
  330. // DescribeConfigurationOptionsRequest generates a request for the DescribeConfigurationOptions operation.
  331. func (c *ElasticBeanstalk) DescribeConfigurationOptionsRequest(input *DescribeConfigurationOptionsInput) (req *request.Request, output *DescribeConfigurationOptionsOutput) {
  332. op := &request.Operation{
  333. Name: opDescribeConfigurationOptions,
  334. HTTPMethod: "POST",
  335. HTTPPath: "/",
  336. }
  337. if input == nil {
  338. input = &DescribeConfigurationOptionsInput{}
  339. }
  340. req = c.newRequest(op, input, output)
  341. output = &DescribeConfigurationOptionsOutput{}
  342. req.Data = output
  343. return
  344. }
  345. // Describes the configuration options that are used in a particular configuration
  346. // template or environment, or that a specified solution stack defines. The
  347. // description includes the values the options, their default values, and an
  348. // indication of the required action on a running environment if an option value
  349. // is changed.
  350. func (c *ElasticBeanstalk) DescribeConfigurationOptions(input *DescribeConfigurationOptionsInput) (*DescribeConfigurationOptionsOutput, error) {
  351. req, out := c.DescribeConfigurationOptionsRequest(input)
  352. err := req.Send()
  353. return out, err
  354. }
  355. const opDescribeConfigurationSettings = "DescribeConfigurationSettings"
  356. // DescribeConfigurationSettingsRequest generates a request for the DescribeConfigurationSettings operation.
  357. func (c *ElasticBeanstalk) DescribeConfigurationSettingsRequest(input *DescribeConfigurationSettingsInput) (req *request.Request, output *DescribeConfigurationSettingsOutput) {
  358. op := &request.Operation{
  359. Name: opDescribeConfigurationSettings,
  360. HTTPMethod: "POST",
  361. HTTPPath: "/",
  362. }
  363. if input == nil {
  364. input = &DescribeConfigurationSettingsInput{}
  365. }
  366. req = c.newRequest(op, input, output)
  367. output = &DescribeConfigurationSettingsOutput{}
  368. req.Data = output
  369. return
  370. }
  371. // Returns a description of the settings for the specified configuration set,
  372. // that is, either a configuration template or the configuration set associated
  373. // with a running environment.
  374. //
  375. // When describing the settings for the configuration set associated with
  376. // a running environment, it is possible to receive two sets of setting descriptions.
  377. // One is the deployed configuration set, and the other is a draft configuration
  378. // of an environment that is either in the process of deployment or that failed
  379. // to deploy.
  380. //
  381. // Related Topics
  382. //
  383. // DeleteEnvironmentConfiguration
  384. func (c *ElasticBeanstalk) DescribeConfigurationSettings(input *DescribeConfigurationSettingsInput) (*DescribeConfigurationSettingsOutput, error) {
  385. req, out := c.DescribeConfigurationSettingsRequest(input)
  386. err := req.Send()
  387. return out, err
  388. }
  389. const opDescribeEnvironmentHealth = "DescribeEnvironmentHealth"
  390. // DescribeEnvironmentHealthRequest generates a request for the DescribeEnvironmentHealth operation.
  391. func (c *ElasticBeanstalk) DescribeEnvironmentHealthRequest(input *DescribeEnvironmentHealthInput) (req *request.Request, output *DescribeEnvironmentHealthOutput) {
  392. op := &request.Operation{
  393. Name: opDescribeEnvironmentHealth,
  394. HTTPMethod: "POST",
  395. HTTPPath: "/",
  396. }
  397. if input == nil {
  398. input = &DescribeEnvironmentHealthInput{}
  399. }
  400. req = c.newRequest(op, input, output)
  401. output = &DescribeEnvironmentHealthOutput{}
  402. req.Data = output
  403. return
  404. }
  405. // Returns information about the overall health of the specified environment.
  406. // The DescribeEnvironmentHealth operation is only available with AWS Elastic
  407. // Beanstalk Enhanced Health.
  408. func (c *ElasticBeanstalk) DescribeEnvironmentHealth(input *DescribeEnvironmentHealthInput) (*DescribeEnvironmentHealthOutput, error) {
  409. req, out := c.DescribeEnvironmentHealthRequest(input)
  410. err := req.Send()
  411. return out, err
  412. }
  413. const opDescribeEnvironmentResources = "DescribeEnvironmentResources"
  414. // DescribeEnvironmentResourcesRequest generates a request for the DescribeEnvironmentResources operation.
  415. func (c *ElasticBeanstalk) DescribeEnvironmentResourcesRequest(input *DescribeEnvironmentResourcesInput) (req *request.Request, output *DescribeEnvironmentResourcesOutput) {
  416. op := &request.Operation{
  417. Name: opDescribeEnvironmentResources,
  418. HTTPMethod: "POST",
  419. HTTPPath: "/",
  420. }
  421. if input == nil {
  422. input = &DescribeEnvironmentResourcesInput{}
  423. }
  424. req = c.newRequest(op, input, output)
  425. output = &DescribeEnvironmentResourcesOutput{}
  426. req.Data = output
  427. return
  428. }
  429. // Returns AWS resources for this environment.
  430. func (c *ElasticBeanstalk) DescribeEnvironmentResources(input *DescribeEnvironmentResourcesInput) (*DescribeEnvironmentResourcesOutput, error) {
  431. req, out := c.DescribeEnvironmentResourcesRequest(input)
  432. err := req.Send()
  433. return out, err
  434. }
  435. const opDescribeEnvironments = "DescribeEnvironments"
  436. // DescribeEnvironmentsRequest generates a request for the DescribeEnvironments operation.
  437. func (c *ElasticBeanstalk) DescribeEnvironmentsRequest(input *DescribeEnvironmentsInput) (req *request.Request, output *DescribeEnvironmentsOutput) {
  438. op := &request.Operation{
  439. Name: opDescribeEnvironments,
  440. HTTPMethod: "POST",
  441. HTTPPath: "/",
  442. }
  443. if input == nil {
  444. input = &DescribeEnvironmentsInput{}
  445. }
  446. req = c.newRequest(op, input, output)
  447. output = &DescribeEnvironmentsOutput{}
  448. req.Data = output
  449. return
  450. }
  451. // Returns descriptions for existing environments.
  452. func (c *ElasticBeanstalk) DescribeEnvironments(input *DescribeEnvironmentsInput) (*DescribeEnvironmentsOutput, error) {
  453. req, out := c.DescribeEnvironmentsRequest(input)
  454. err := req.Send()
  455. return out, err
  456. }
  457. const opDescribeEvents = "DescribeEvents"
  458. // DescribeEventsRequest generates a request for the DescribeEvents operation.
  459. func (c *ElasticBeanstalk) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) {
  460. op := &request.Operation{
  461. Name: opDescribeEvents,
  462. HTTPMethod: "POST",
  463. HTTPPath: "/",
  464. Paginator: &request.Paginator{
  465. InputTokens: []string{"NextToken"},
  466. OutputTokens: []string{"NextToken"},
  467. LimitToken: "MaxRecords",
  468. TruncationToken: "",
  469. },
  470. }
  471. if input == nil {
  472. input = &DescribeEventsInput{}
  473. }
  474. req = c.newRequest(op, input, output)
  475. output = &DescribeEventsOutput{}
  476. req.Data = output
  477. return
  478. }
  479. // Returns list of event descriptions matching criteria up to the last 6 weeks.
  480. //
  481. // This action returns the most recent 1,000 events from the specified NextToken.
  482. func (c *ElasticBeanstalk) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error) {
  483. req, out := c.DescribeEventsRequest(input)
  484. err := req.Send()
  485. return out, err
  486. }
  487. func (c *ElasticBeanstalk) DescribeEventsPages(input *DescribeEventsInput, fn func(p *DescribeEventsOutput, lastPage bool) (shouldContinue bool)) error {
  488. page, _ := c.DescribeEventsRequest(input)
  489. return page.EachPage(func(p interface{}, lastPage bool) bool {
  490. return fn(p.(*DescribeEventsOutput), lastPage)
  491. })
  492. }
  493. const opDescribeInstancesHealth = "DescribeInstancesHealth"
  494. // DescribeInstancesHealthRequest generates a request for the DescribeInstancesHealth operation.
  495. func (c *ElasticBeanstalk) DescribeInstancesHealthRequest(input *DescribeInstancesHealthInput) (req *request.Request, output *DescribeInstancesHealthOutput) {
  496. op := &request.Operation{
  497. Name: opDescribeInstancesHealth,
  498. HTTPMethod: "POST",
  499. HTTPPath: "/",
  500. }
  501. if input == nil {
  502. input = &DescribeInstancesHealthInput{}
  503. }
  504. req = c.newRequest(op, input, output)
  505. output = &DescribeInstancesHealthOutput{}
  506. req.Data = output
  507. return
  508. }
  509. // Returns more detailed information about the health of the specified instances
  510. // (for example, CPU utilization, load average, and causes). The DescribeInstancesHealth
  511. // operation is only available with AWS Elastic Beanstalk Enhanced Health.
  512. func (c *ElasticBeanstalk) DescribeInstancesHealth(input *DescribeInstancesHealthInput) (*DescribeInstancesHealthOutput, error) {
  513. req, out := c.DescribeInstancesHealthRequest(input)
  514. err := req.Send()
  515. return out, err
  516. }
  517. const opListAvailableSolutionStacks = "ListAvailableSolutionStacks"
  518. // ListAvailableSolutionStacksRequest generates a request for the ListAvailableSolutionStacks operation.
  519. func (c *ElasticBeanstalk) ListAvailableSolutionStacksRequest(input *ListAvailableSolutionStacksInput) (req *request.Request, output *ListAvailableSolutionStacksOutput) {
  520. op := &request.Operation{
  521. Name: opListAvailableSolutionStacks,
  522. HTTPMethod: "POST",
  523. HTTPPath: "/",
  524. }
  525. if input == nil {
  526. input = &ListAvailableSolutionStacksInput{}
  527. }
  528. req = c.newRequest(op, input, output)
  529. output = &ListAvailableSolutionStacksOutput{}
  530. req.Data = output
  531. return
  532. }
  533. // Returns a list of the available solution stack names.
  534. func (c *ElasticBeanstalk) ListAvailableSolutionStacks(input *ListAvailableSolutionStacksInput) (*ListAvailableSolutionStacksOutput, error) {
  535. req, out := c.ListAvailableSolutionStacksRequest(input)
  536. err := req.Send()
  537. return out, err
  538. }
  539. const opRebuildEnvironment = "RebuildEnvironment"
  540. // RebuildEnvironmentRequest generates a request for the RebuildEnvironment operation.
  541. func (c *ElasticBeanstalk) RebuildEnvironmentRequest(input *RebuildEnvironmentInput) (req *request.Request, output *RebuildEnvironmentOutput) {
  542. op := &request.Operation{
  543. Name: opRebuildEnvironment,
  544. HTTPMethod: "POST",
  545. HTTPPath: "/",
  546. }
  547. if input == nil {
  548. input = &RebuildEnvironmentInput{}
  549. }
  550. req = c.newRequest(op, input, output)
  551. output = &RebuildEnvironmentOutput{}
  552. req.Data = output
  553. return
  554. }
  555. // Deletes and recreates all of the AWS resources (for example: the Auto Scaling
  556. // group, load balancer, etc.) for a specified environment and forces a restart.
  557. func (c *ElasticBeanstalk) RebuildEnvironment(input *RebuildEnvironmentInput) (*RebuildEnvironmentOutput, error) {
  558. req, out := c.RebuildEnvironmentRequest(input)
  559. err := req.Send()
  560. return out, err
  561. }
  562. const opRequestEnvironmentInfo = "RequestEnvironmentInfo"
  563. // RequestEnvironmentInfoRequest generates a request for the RequestEnvironmentInfo operation.
  564. func (c *ElasticBeanstalk) RequestEnvironmentInfoRequest(input *RequestEnvironmentInfoInput) (req *request.Request, output *RequestEnvironmentInfoOutput) {
  565. op := &request.Operation{
  566. Name: opRequestEnvironmentInfo,
  567. HTTPMethod: "POST",
  568. HTTPPath: "/",
  569. }
  570. if input == nil {
  571. input = &RequestEnvironmentInfoInput{}
  572. }
  573. req = c.newRequest(op, input, output)
  574. output = &RequestEnvironmentInfoOutput{}
  575. req.Data = output
  576. return
  577. }
  578. // Initiates a request to compile the specified type of information of the deployed
  579. // environment.
  580. //
  581. // Setting the InfoType to tail compiles the last lines from the application
  582. // server log files of every Amazon EC2 instance in your environment.
  583. //
  584. // Setting the InfoType to bundle compresses the application server log files
  585. // for every Amazon EC2 instance into a .zip file. Legacy and .NET containers
  586. // do not support bundle logs.
  587. //
  588. // Use RetrieveEnvironmentInfo to obtain the set of logs.
  589. //
  590. // Related Topics
  591. //
  592. // RetrieveEnvironmentInfo
  593. func (c *ElasticBeanstalk) RequestEnvironmentInfo(input *RequestEnvironmentInfoInput) (*RequestEnvironmentInfoOutput, error) {
  594. req, out := c.RequestEnvironmentInfoRequest(input)
  595. err := req.Send()
  596. return out, err
  597. }
  598. const opRestartAppServer = "RestartAppServer"
  599. // RestartAppServerRequest generates a request for the RestartAppServer operation.
  600. func (c *ElasticBeanstalk) RestartAppServerRequest(input *RestartAppServerInput) (req *request.Request, output *RestartAppServerOutput) {
  601. op := &request.Operation{
  602. Name: opRestartAppServer,
  603. HTTPMethod: "POST",
  604. HTTPPath: "/",
  605. }
  606. if input == nil {
  607. input = &RestartAppServerInput{}
  608. }
  609. req = c.newRequest(op, input, output)
  610. output = &RestartAppServerOutput{}
  611. req.Data = output
  612. return
  613. }
  614. // Causes the environment to restart the application container server running
  615. // on each Amazon EC2 instance.
  616. func (c *ElasticBeanstalk) RestartAppServer(input *RestartAppServerInput) (*RestartAppServerOutput, error) {
  617. req, out := c.RestartAppServerRequest(input)
  618. err := req.Send()
  619. return out, err
  620. }
  621. const opRetrieveEnvironmentInfo = "RetrieveEnvironmentInfo"
  622. // RetrieveEnvironmentInfoRequest generates a request for the RetrieveEnvironmentInfo operation.
  623. func (c *ElasticBeanstalk) RetrieveEnvironmentInfoRequest(input *RetrieveEnvironmentInfoInput) (req *request.Request, output *RetrieveEnvironmentInfoOutput) {
  624. op := &request.Operation{
  625. Name: opRetrieveEnvironmentInfo,
  626. HTTPMethod: "POST",
  627. HTTPPath: "/",
  628. }
  629. if input == nil {
  630. input = &RetrieveEnvironmentInfoInput{}
  631. }
  632. req = c.newRequest(op, input, output)
  633. output = &RetrieveEnvironmentInfoOutput{}
  634. req.Data = output
  635. return
  636. }
  637. // Retrieves the compiled information from a RequestEnvironmentInfo request.
  638. //
  639. // Related Topics
  640. //
  641. // RequestEnvironmentInfo
  642. func (c *ElasticBeanstalk) RetrieveEnvironmentInfo(input *RetrieveEnvironmentInfoInput) (*RetrieveEnvironmentInfoOutput, error) {
  643. req, out := c.RetrieveEnvironmentInfoRequest(input)
  644. err := req.Send()
  645. return out, err
  646. }
  647. const opSwapEnvironmentCNAMEs = "SwapEnvironmentCNAMEs"
  648. // SwapEnvironmentCNAMEsRequest generates a request for the SwapEnvironmentCNAMEs operation.
  649. func (c *ElasticBeanstalk) SwapEnvironmentCNAMEsRequest(input *SwapEnvironmentCNAMEsInput) (req *request.Request, output *SwapEnvironmentCNAMEsOutput) {
  650. op := &request.Operation{
  651. Name: opSwapEnvironmentCNAMEs,
  652. HTTPMethod: "POST",
  653. HTTPPath: "/",
  654. }
  655. if input == nil {
  656. input = &SwapEnvironmentCNAMEsInput{}
  657. }
  658. req = c.newRequest(op, input, output)
  659. output = &SwapEnvironmentCNAMEsOutput{}
  660. req.Data = output
  661. return
  662. }
  663. // Swaps the CNAMEs of two environments.
  664. func (c *ElasticBeanstalk) SwapEnvironmentCNAMEs(input *SwapEnvironmentCNAMEsInput) (*SwapEnvironmentCNAMEsOutput, error) {
  665. req, out := c.SwapEnvironmentCNAMEsRequest(input)
  666. err := req.Send()
  667. return out, err
  668. }
  669. const opTerminateEnvironment = "TerminateEnvironment"
  670. // TerminateEnvironmentRequest generates a request for the TerminateEnvironment operation.
  671. func (c *ElasticBeanstalk) TerminateEnvironmentRequest(input *TerminateEnvironmentInput) (req *request.Request, output *EnvironmentDescription) {
  672. op := &request.Operation{
  673. Name: opTerminateEnvironment,
  674. HTTPMethod: "POST",
  675. HTTPPath: "/",
  676. }
  677. if input == nil {
  678. input = &TerminateEnvironmentInput{}
  679. }
  680. req = c.newRequest(op, input, output)
  681. output = &EnvironmentDescription{}
  682. req.Data = output
  683. return
  684. }
  685. // Terminates the specified environment.
  686. func (c *ElasticBeanstalk) TerminateEnvironment(input *TerminateEnvironmentInput) (*EnvironmentDescription, error) {
  687. req, out := c.TerminateEnvironmentRequest(input)
  688. err := req.Send()
  689. return out, err
  690. }
  691. const opUpdateApplication = "UpdateApplication"
  692. // UpdateApplicationRequest generates a request for the UpdateApplication operation.
  693. func (c *ElasticBeanstalk) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *ApplicationDescriptionMessage) {
  694. op := &request.Operation{
  695. Name: opUpdateApplication,
  696. HTTPMethod: "POST",
  697. HTTPPath: "/",
  698. }
  699. if input == nil {
  700. input = &UpdateApplicationInput{}
  701. }
  702. req = c.newRequest(op, input, output)
  703. output = &ApplicationDescriptionMessage{}
  704. req.Data = output
  705. return
  706. }
  707. // Updates the specified application to have the specified properties.
  708. //
  709. // If a property (for example, description) is not provided, the value remains
  710. // unchanged. To clear these properties, specify an empty string.
  711. func (c *ElasticBeanstalk) UpdateApplication(input *UpdateApplicationInput) (*ApplicationDescriptionMessage, error) {
  712. req, out := c.UpdateApplicationRequest(input)
  713. err := req.Send()
  714. return out, err
  715. }
  716. const opUpdateApplicationVersion = "UpdateApplicationVersion"
  717. // UpdateApplicationVersionRequest generates a request for the UpdateApplicationVersion operation.
  718. func (c *ElasticBeanstalk) UpdateApplicationVersionRequest(input *UpdateApplicationVersionInput) (req *request.Request, output *ApplicationVersionDescriptionMessage) {
  719. op := &request.Operation{
  720. Name: opUpdateApplicationVersion,
  721. HTTPMethod: "POST",
  722. HTTPPath: "/",
  723. }
  724. if input == nil {
  725. input = &UpdateApplicationVersionInput{}
  726. }
  727. req = c.newRequest(op, input, output)
  728. output = &ApplicationVersionDescriptionMessage{}
  729. req.Data = output
  730. return
  731. }
  732. // Updates the specified application version to have the specified properties.
  733. //
  734. // If a property (for example, description) is not provided, the value remains
  735. // unchanged. To clear properties, specify an empty string.
  736. func (c *ElasticBeanstalk) UpdateApplicationVersion(input *UpdateApplicationVersionInput) (*ApplicationVersionDescriptionMessage, error) {
  737. req, out := c.UpdateApplicationVersionRequest(input)
  738. err := req.Send()
  739. return out, err
  740. }
  741. const opUpdateConfigurationTemplate = "UpdateConfigurationTemplate"
  742. // UpdateConfigurationTemplateRequest generates a request for the UpdateConfigurationTemplate operation.
  743. func (c *ElasticBeanstalk) UpdateConfigurationTemplateRequest(input *UpdateConfigurationTemplateInput) (req *request.Request, output *ConfigurationSettingsDescription) {
  744. op := &request.Operation{
  745. Name: opUpdateConfigurationTemplate,
  746. HTTPMethod: "POST",
  747. HTTPPath: "/",
  748. }
  749. if input == nil {
  750. input = &UpdateConfigurationTemplateInput{}
  751. }
  752. req = c.newRequest(op, input, output)
  753. output = &ConfigurationSettingsDescription{}
  754. req.Data = output
  755. return
  756. }
  757. // Updates the specified configuration template to have the specified properties
  758. // or configuration option values.
  759. //
  760. // If a property (for example, ApplicationName) is not provided, its value
  761. // remains unchanged. To clear such properties, specify an empty string. Related
  762. // Topics
  763. //
  764. // DescribeConfigurationOptions
  765. func (c *ElasticBeanstalk) UpdateConfigurationTemplate(input *UpdateConfigurationTemplateInput) (*ConfigurationSettingsDescription, error) {
  766. req, out := c.UpdateConfigurationTemplateRequest(input)
  767. err := req.Send()
  768. return out, err
  769. }
  770. const opUpdateEnvironment = "UpdateEnvironment"
  771. // UpdateEnvironmentRequest generates a request for the UpdateEnvironment operation.
  772. func (c *ElasticBeanstalk) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) (req *request.Request, output *EnvironmentDescription) {
  773. op := &request.Operation{
  774. Name: opUpdateEnvironment,
  775. HTTPMethod: "POST",
  776. HTTPPath: "/",
  777. }
  778. if input == nil {
  779. input = &UpdateEnvironmentInput{}
  780. }
  781. req = c.newRequest(op, input, output)
  782. output = &EnvironmentDescription{}
  783. req.Data = output
  784. return
  785. }
  786. // Updates the environment description, deploys a new application version, updates
  787. // the configuration settings to an entirely new configuration template, or
  788. // updates select configuration option values in the running environment.
  789. //
  790. // Attempting to update both the release and configuration is not allowed
  791. // and AWS Elastic Beanstalk returns an InvalidParameterCombination error.
  792. //
  793. // When updating the configuration settings to a new template or individual
  794. // settings, a draft configuration is created and DescribeConfigurationSettings
  795. // for this environment returns two setting descriptions with different DeploymentStatus
  796. // values.
  797. func (c *ElasticBeanstalk) UpdateEnvironment(input *UpdateEnvironmentInput) (*EnvironmentDescription, error) {
  798. req, out := c.UpdateEnvironmentRequest(input)
  799. err := req.Send()
  800. return out, err
  801. }
  802. const opValidateConfigurationSettings = "ValidateConfigurationSettings"
  803. // ValidateConfigurationSettingsRequest generates a request for the ValidateConfigurationSettings operation.
  804. func (c *ElasticBeanstalk) ValidateConfigurationSettingsRequest(input *ValidateConfigurationSettingsInput) (req *request.Request, output *ValidateConfigurationSettingsOutput) {
  805. op := &request.Operation{
  806. Name: opValidateConfigurationSettings,
  807. HTTPMethod: "POST",
  808. HTTPPath: "/",
  809. }
  810. if input == nil {
  811. input = &ValidateConfigurationSettingsInput{}
  812. }
  813. req = c.newRequest(op, input, output)
  814. output = &ValidateConfigurationSettingsOutput{}
  815. req.Data = output
  816. return
  817. }
  818. // Takes a set of configuration settings and either a configuration template
  819. // or environment, and determines whether those values are valid.
  820. //
  821. // This action returns a list of messages indicating any errors or warnings
  822. // associated with the selection of option values.
  823. func (c *ElasticBeanstalk) ValidateConfigurationSettings(input *ValidateConfigurationSettingsInput) (*ValidateConfigurationSettingsOutput, error) {
  824. req, out := c.ValidateConfigurationSettingsRequest(input)
  825. err := req.Send()
  826. return out, err
  827. }
  828. type AbortEnvironmentUpdateInput struct {
  829. // This specifies the ID of the environment with the in-progress update that
  830. // you want to cancel.
  831. EnvironmentId *string `type:"string"`
  832. // This specifies the name of the environment with the in-progress update that
  833. // you want to cancel.
  834. EnvironmentName *string `type:"string"`
  835. metadataAbortEnvironmentUpdateInput `json:"-" xml:"-"`
  836. }
  837. type metadataAbortEnvironmentUpdateInput struct {
  838. SDKShapeTraits bool `type:"structure"`
  839. }
  840. // String returns the string representation
  841. func (s AbortEnvironmentUpdateInput) String() string {
  842. return awsutil.Prettify(s)
  843. }
  844. // GoString returns the string representation
  845. func (s AbortEnvironmentUpdateInput) GoString() string {
  846. return s.String()
  847. }
  848. type AbortEnvironmentUpdateOutput struct {
  849. metadataAbortEnvironmentUpdateOutput `json:"-" xml:"-"`
  850. }
  851. type metadataAbortEnvironmentUpdateOutput struct {
  852. SDKShapeTraits bool `type:"structure"`
  853. }
  854. // String returns the string representation
  855. func (s AbortEnvironmentUpdateOutput) String() string {
  856. return awsutil.Prettify(s)
  857. }
  858. // GoString returns the string representation
  859. func (s AbortEnvironmentUpdateOutput) GoString() string {
  860. return s.String()
  861. }
  862. // Describes the properties of an application.
  863. type ApplicationDescription struct {
  864. // The name of the application.
  865. ApplicationName *string `type:"string"`
  866. // The names of the configuration templates associated with this application.
  867. ConfigurationTemplates []*string `type:"list"`
  868. // The date when the application was created.
  869. DateCreated *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  870. // The date when the application was last modified.
  871. DateUpdated *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  872. // User-defined description of the application.
  873. Description *string `type:"string"`
  874. // The names of the versions for this application.
  875. Versions []*string `type:"list"`
  876. metadataApplicationDescription `json:"-" xml:"-"`
  877. }
  878. type metadataApplicationDescription struct {
  879. SDKShapeTraits bool `type:"structure"`
  880. }
  881. // String returns the string representation
  882. func (s ApplicationDescription) String() string {
  883. return awsutil.Prettify(s)
  884. }
  885. // GoString returns the string representation
  886. func (s ApplicationDescription) GoString() string {
  887. return s.String()
  888. }
  889. // Result message containing a single description of an application.
  890. type ApplicationDescriptionMessage struct {
  891. // The ApplicationDescription of the application.
  892. Application *ApplicationDescription `type:"structure"`
  893. metadataApplicationDescriptionMessage `json:"-" xml:"-"`
  894. }
  895. type metadataApplicationDescriptionMessage struct {
  896. SDKShapeTraits bool `type:"structure"`
  897. }
  898. // String returns the string representation
  899. func (s ApplicationDescriptionMessage) String() string {
  900. return awsutil.Prettify(s)
  901. }
  902. // GoString returns the string representation
  903. func (s ApplicationDescriptionMessage) GoString() string {
  904. return s.String()
  905. }
  906. // Represents the application metrics for a specified environment.
  907. type ApplicationMetrics struct {
  908. // The amount of time that the metrics cover (usually 10 seconds). For example,
  909. // you might have 5 requests (request_count) within the most recent time slice
  910. // of 10 seconds (duration).
  911. Duration *int64 `type:"integer"`
  912. // Represents the average latency for the slowest X percent of requests over
  913. // the last 10 seconds. Latencies are in seconds with one milisecond resolution.
  914. Latency *Latency `type:"structure"`
  915. // Average number of requests handled by the web server per second over the
  916. // last 10 seconds.
  917. RequestCount *int64 `type:"integer"`
  918. // Represents the percentage of requests over the last 10 seconds that resulted
  919. // in each type of status code response.
  920. StatusCodes *StatusCodes `type:"structure"`
  921. metadataApplicationMetrics `json:"-" xml:"-"`
  922. }
  923. type metadataApplicationMetrics struct {
  924. SDKShapeTraits bool `type:"structure"`
  925. }
  926. // String returns the string representation
  927. func (s ApplicationMetrics) String() string {
  928. return awsutil.Prettify(s)
  929. }
  930. // GoString returns the string representation
  931. func (s ApplicationMetrics) GoString() string {
  932. return s.String()
  933. }
  934. // Describes the properties of an application version.
  935. type ApplicationVersionDescription struct {
  936. // The name of the application associated with this release.
  937. ApplicationName *string `type:"string"`
  938. // The creation date of the application version.
  939. DateCreated *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  940. // The last modified date of the application version.
  941. DateUpdated *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  942. // The description of this application version.
  943. Description *string `type:"string"`
  944. // The location where the source bundle is located for this version.
  945. SourceBundle *S3Location `type:"structure"`
  946. // A label uniquely identifying the version for the associated application.
  947. VersionLabel *string `type:"string"`
  948. metadataApplicationVersionDescription `json:"-" xml:"-"`
  949. }
  950. type metadataApplicationVersionDescription struct {
  951. SDKShapeTraits bool `type:"structure"`
  952. }
  953. // String returns the string representation
  954. func (s ApplicationVersionDescription) String() string {
  955. return awsutil.Prettify(s)
  956. }
  957. // GoString returns the string representation
  958. func (s ApplicationVersionDescription) GoString() string {
  959. return s.String()
  960. }
  961. // Result message wrapping a single description of an application version.
  962. type ApplicationVersionDescriptionMessage struct {
  963. // The ApplicationVersionDescription of the application version.
  964. ApplicationVersion *ApplicationVersionDescription `type:"structure"`
  965. metadataApplicationVersionDescriptionMessage `json:"-" xml:"-"`
  966. }
  967. type metadataApplicationVersionDescriptionMessage struct {
  968. SDKShapeTraits bool `type:"structure"`
  969. }
  970. // String returns the string representation
  971. func (s ApplicationVersionDescriptionMessage) String() string {
  972. return awsutil.Prettify(s)
  973. }
  974. // GoString returns the string representation
  975. func (s ApplicationVersionDescriptionMessage) GoString() string {
  976. return s.String()
  977. }
  978. // Describes an Auto Scaling launch configuration.
  979. type AutoScalingGroup struct {
  980. // The name of the AutoScalingGroup .
  981. Name *string `type:"string"`
  982. metadataAutoScalingGroup `json:"-" xml:"-"`
  983. }
  984. type metadataAutoScalingGroup struct {
  985. SDKShapeTraits bool `type:"structure"`
  986. }
  987. // String returns the string representation
  988. func (s AutoScalingGroup) String() string {
  989. return awsutil.Prettify(s)
  990. }
  991. // GoString returns the string representation
  992. func (s AutoScalingGroup) GoString() string {
  993. return s.String()
  994. }
  995. // Represents CPU utilization information from the specified instance that belongs
  996. // to the AWS Elastic Beanstalk environment. Use the instanceId property to
  997. // specify the application instance for which you'd like to return data.
  998. type CPUUtilization struct {
  999. // Percentage of time that the CPU has spent in the I/O Wait state over the
  1000. // last 10 seconds.
  1001. IOWait *float64 `type:"double"`
  1002. // Percentage of time that the CPU has spent in the IRQ state over the last
  1003. // 10 seconds.
  1004. IRQ *float64 `type:"double"`
  1005. // Percentage of time that the CPU has spent in the Idle state over the last
  1006. // 10 seconds.
  1007. Idle *float64 `type:"double"`
  1008. // Percentage of time that the CPU has spent in the Nice state over the last
  1009. // 10 seconds.
  1010. Nice *float64 `type:"double"`
  1011. // Percentage of time that the CPU has spent in the SoftIRQ state over the last
  1012. // 10 seconds.
  1013. SoftIRQ *float64 `type:"double"`
  1014. // Percentage of time that the CPU has spent in the System state over the last
  1015. // 10 seconds.
  1016. System *float64 `type:"double"`
  1017. // Percentage of time that the CPU has spent in the User state over the last
  1018. // 10 seconds.
  1019. User *float64 `type:"double"`
  1020. metadataCPUUtilization `json:"-" xml:"-"`
  1021. }
  1022. type metadataCPUUtilization struct {
  1023. SDKShapeTraits bool `type:"structure"`
  1024. }
  1025. // String returns the string representation
  1026. func (s CPUUtilization) String() string {
  1027. return awsutil.Prettify(s)
  1028. }
  1029. // GoString returns the string representation
  1030. func (s CPUUtilization) GoString() string {
  1031. return s.String()
  1032. }
  1033. // Results message indicating whether a CNAME is available.
  1034. type CheckDNSAvailabilityInput struct {
  1035. // The prefix used when this CNAME is reserved.
  1036. CNAMEPrefix *string `type:"string" required:"true"`
  1037. metadataCheckDNSAvailabilityInput `json:"-" xml:"-"`
  1038. }
  1039. type metadataCheckDNSAvailabilityInput struct {
  1040. SDKShapeTraits bool `type:"structure"`
  1041. }
  1042. // String returns the string representation
  1043. func (s CheckDNSAvailabilityInput) String() string {
  1044. return awsutil.Prettify(s)
  1045. }
  1046. // GoString returns the string representation
  1047. func (s CheckDNSAvailabilityInput) GoString() string {
  1048. return s.String()
  1049. }
  1050. // Indicates if the specified CNAME is available.
  1051. type CheckDNSAvailabilityOutput struct {
  1052. // Indicates if the specified CNAME is available:
  1053. //
  1054. // true : The CNAME is available.
  1055. //
  1056. // true : The CNAME is not available.
  1057. //
  1058. // true : The CNAME is available. false : The CNAME is not available.
  1059. Available *bool `type:"boolean"`
  1060. // The fully qualified CNAME to reserve when CreateEnvironment is called with
  1061. // the provided prefix.
  1062. FullyQualifiedCNAME *string `type:"string"`
  1063. metadataCheckDNSAvailabilityOutput `json:"-" xml:"-"`
  1064. }
  1065. type metadataCheckDNSAvailabilityOutput struct {
  1066. SDKShapeTraits bool `type:"structure"`
  1067. }
  1068. // String returns the string representation
  1069. func (s CheckDNSAvailabilityOutput) String() string {
  1070. return awsutil.Prettify(s)
  1071. }
  1072. // GoString returns the string representation
  1073. func (s CheckDNSAvailabilityOutput) GoString() string {
  1074. return s.String()
  1075. }
  1076. // Describes the possible values for a configuration option.
  1077. type ConfigurationOptionDescription struct {
  1078. // An indication of which action is required if the value for this configuration
  1079. // option changes:
  1080. //
  1081. // NoInterruption - There is no interruption to the environment or application
  1082. // availability.
  1083. //
  1084. // RestartEnvironment - The environment is restarted, all AWS resources
  1085. // are deleted and recreated, and the environment is unavailable during the
  1086. // process.
  1087. //
  1088. // RestartApplicationServer - The environment is available the entire time.
  1089. // However, a short application outage occurs when the application servers on
  1090. // the running Amazon EC2 instances are restarted.
  1091. //
  1092. // NoInterruption : There is no interruption to the environment or application
  1093. // availability. RestartEnvironment : The environment is entirely restarted,
  1094. // all AWS resources are deleted and recreated, and the environment is unavailable
  1095. // during the process. RestartApplicationServer : The environment is available
  1096. // the entire time. However, a short application outage occurs when the application
  1097. // servers on the running Amazon EC2 instances are restarted.
  1098. ChangeSeverity *string `type:"string"`
  1099. // The default value for this configuration option.
  1100. DefaultValue *string `type:"string"`
  1101. // If specified, the configuration option must be a string value no longer than
  1102. // this value.
  1103. MaxLength *int64 `type:"integer"`
  1104. // If specified, the configuration option must be a numeric value less than
  1105. // this value.
  1106. MaxValue *int64 `type:"integer"`
  1107. // If specified, the configuration option must be a numeric value greater than
  1108. // this value.
  1109. MinValue *int64 `type:"integer"`
  1110. // The name of the configuration option.
  1111. Name *string `type:"string"`
  1112. // A unique namespace identifying the option's associated AWS resource.
  1113. Namespace *string `type:"string"`
  1114. // If specified, the configuration option must be a string value that satisfies
  1115. // this regular expression.
  1116. Regex *OptionRestrictionRegex `type:"structure"`
  1117. // An indication of whether the user defined this configuration option:
  1118. //
  1119. // true : This configuration option was defined by the user. It is a valid
  1120. // choice for specifying this as an Option to Remove when updating configuration
  1121. // settings.
  1122. //
  1123. // false : This configuration was not defined by the user.
  1124. //
  1125. // true : This configuration option was defined by the user. It is a valid
  1126. // choice for specifying if this as an Option to Remove when updating configuration
  1127. // settings.
  1128. //
  1129. // false : This configuration was not defined by the user. Constraint:
  1130. // You can remove only UserDefined options from a configuration.
  1131. //
  1132. // Valid Values: true | false
  1133. UserDefined *bool `type:"boolean"`
  1134. // If specified, values for the configuration option are selected from this
  1135. // list.
  1136. ValueOptions []*string `type:"list"`
  1137. // An indication of which type of values this option has and whether it is allowable
  1138. // to select one or more than one of the possible values:
  1139. //
  1140. // Scalar : Values for this option are a single selection from the possible
  1141. // values, or a unformatted string or numeric value governed by the MIN/MAX/Regex
  1142. // constraints:
  1143. //
  1144. // List : Values for this option are multiple selections of the possible
  1145. // values.
  1146. //
  1147. // Boolean : Values for this option are either true or false .
  1148. //
  1149. // Json : Values for this option are a JSON representation of a ConfigDocument.
  1150. //
  1151. // Scalar : Values for this option are a single selection from the possible
  1152. // values, or an unformatted string, or numeric value governed by the MIN/MAX/Regex
  1153. // constraints. List : Values for this option are multiple selections from
  1154. // the possible values. Boolean : Values for this option are either true or
  1155. // false . Json : Values for this option are a JSON representation of a ConfigDocument.
  1156. ValueType *string `type:"string" enum:"ConfigurationOptionValueType"`
  1157. metadataConfigurationOptionDescription `json:"-" xml:"-"`
  1158. }
  1159. type metadataConfigurationOptionDescription struct {
  1160. SDKShapeTraits bool `type:"structure"`
  1161. }
  1162. // String returns the string representation
  1163. func (s ConfigurationOptionDescription) String() string {
  1164. return awsutil.Prettify(s)
  1165. }
  1166. // GoString returns the string representation
  1167. func (s ConfigurationOptionDescription) GoString() string {
  1168. return s.String()
  1169. }
  1170. // A specification identifying an individual configuration option along with
  1171. // its current value. For a list of possible option values, go to Option Values
  1172. // (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html)
  1173. // in the AWS Elastic Beanstalk Developer Guide.
  1174. type ConfigurationOptionSetting struct {
  1175. // A unique namespace identifying the option's associated AWS resource.
  1176. Namespace *string `type:"string"`
  1177. // The name of the configuration option.
  1178. OptionName *string `type:"string"`
  1179. // A unique resource name for a time-based scaling configuration option.
  1180. ResourceName *string `type:"string"`
  1181. // The current value for the configuration option.
  1182. Value *string `type:"string"`
  1183. metadataConfigurationOptionSetting `json:"-" xml:"-"`
  1184. }
  1185. type metadataConfigurationOptionSetting struct {
  1186. SDKShapeTraits bool `type:"structure"`
  1187. }
  1188. // String returns the string representation
  1189. func (s ConfigurationOptionSetting) String() string {
  1190. return awsutil.Prettify(s)
  1191. }
  1192. // GoString returns the string representation
  1193. func (s ConfigurationOptionSetting) GoString() string {
  1194. return s.String()
  1195. }
  1196. // Describes the settings for a configuration set.
  1197. type ConfigurationSettingsDescription struct {
  1198. // The name of the application associated with this configuration set.
  1199. ApplicationName *string `type:"string"`
  1200. // The date (in UTC time) when this configuration set was created.
  1201. DateCreated *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  1202. // The date (in UTC time) when this configuration set was last modified.
  1203. DateUpdated *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  1204. // If this configuration set is associated with an environment, the DeploymentStatus
  1205. // parameter indicates the deployment status of this configuration set:
  1206. //
  1207. // null: This configuration is not associated with a running environment.
  1208. //
  1209. // pending: This is a draft configuration that is not deployed to the associated
  1210. // environment but is in the process of deploying.
  1211. //
  1212. // deployed: This is the configuration that is currently deployed to the
  1213. // associated running environment.
  1214. //
  1215. // failed: This is a draft configuration, that failed to successfully deploy.
  1216. //
  1217. // null: This configuration is not associated with a running environment.
  1218. // pending: This is a draft configuration that is not deployed to the associated
  1219. // environment but is in the process of deploying. deployed: This is the configuration
  1220. // that is currently deployed to the associated running environment. failed:
  1221. // This is a draft configuration that failed to successfully deploy.
  1222. DeploymentStatus *string `type:"string" enum:"ConfigurationDeploymentStatus"`
  1223. // Describes this configuration set.
  1224. Description *string `type:"string"`
  1225. // If not null, the name of the environment for this configuration set.
  1226. EnvironmentName *string `type:"string"`
  1227. // A list of the configuration options and their values in this configuration
  1228. // set.
  1229. OptionSettings []*ConfigurationOptionSetting `type:"list"`
  1230. // The name of the solution stack this configuration set uses.
  1231. SolutionStackName *string `type:"string"`
  1232. // If not null, the name of the configuration template for this configuration
  1233. // set.
  1234. TemplateName *string `type:"string"`
  1235. metadataConfigurationSettingsDescription `json:"-" xml:"-"`
  1236. }
  1237. type metadataConfigurationSettingsDescription struct {
  1238. SDKShapeTraits bool `type:"structure"`
  1239. }
  1240. // String returns the string representation
  1241. func (s ConfigurationSettingsDescription) String() string {
  1242. return awsutil.Prettify(s)
  1243. }
  1244. // GoString returns the string representation
  1245. func (s ConfigurationSettingsDescription) GoString() string {
  1246. return s.String()
  1247. }
  1248. // This documentation target is not reported in the API reference.
  1249. type CreateApplicationInput struct {
  1250. // The name of the application.
  1251. //
  1252. // Constraint: This name must be unique within your account. If the specified
  1253. // name already exists, the action returns an InvalidParameterValue error.
  1254. ApplicationName *string `type:"string" required:"true"`
  1255. // Describes the application.
  1256. Description *string `type:"string"`
  1257. metadataCreateApplicationInput `json:"-" xml:"-"`
  1258. }
  1259. type metadataCreateApplicationInput struct {
  1260. SDKShapeTraits bool `type:"structure"`
  1261. }
  1262. // String returns the string representation
  1263. func (s CreateApplicationInput) String() string {
  1264. return awsutil.Prettify(s)
  1265. }
  1266. // GoString returns the string representation
  1267. func (s CreateApplicationInput) GoString() string {
  1268. return s.String()
  1269. }
  1270. type CreateApplicationVersionInput struct {
  1271. // The name of the application. If no application is found with this name, and
  1272. // AutoCreateApplication is false, returns an InvalidParameterValue error.
  1273. ApplicationName *string `type:"string" required:"true"`
  1274. // Determines how the system behaves if the specified application for this version
  1275. // does not already exist:
  1276. //
  1277. // true: Automatically creates the specified application for this version
  1278. // if it does not already exist.
  1279. //
  1280. // false: Returns an InvalidParameterValue if the specified application
  1281. // for this version does not already exist.
  1282. //
  1283. // true : Automatically creates the specified application for this release
  1284. // if it does not already exist. false : Throws an InvalidParameterValue if
  1285. // the specified application for this release does not already exist. Default:
  1286. // false
  1287. //
  1288. // Valid Values: true | false
  1289. AutoCreateApplication *bool `type:"boolean"`
  1290. // Describes this version.
  1291. Description *string `type:"string"`
  1292. // The Amazon S3 bucket and key that identify the location of the source bundle
  1293. // for this version.
  1294. //
  1295. // If data found at the Amazon S3 location exceeds the maximum allowed source
  1296. // bundle size, AWS Elastic Beanstalk returns an InvalidParameterValue error.
  1297. // The maximum size allowed is 512 MB.
  1298. //
  1299. // Default: If not specified, AWS Elastic Beanstalk uses a sample application.
  1300. // If only partially specified (for example, a bucket is provided but not the
  1301. // key) or if no data is found at the Amazon S3 location, AWS Elastic Beanstalk
  1302. // returns an InvalidParameterCombination error.
  1303. SourceBundle *S3Location `type:"structure"`
  1304. // A label identifying this version.
  1305. //
  1306. // Constraint: Must be unique per application. If an application version already
  1307. // exists with this label for the specified application, AWS Elastic Beanstalk
  1308. // returns an InvalidParameterValue error.
  1309. VersionLabel *string `type:"string" required:"true"`
  1310. metadataCreateApplicationVersionInput `json:"-" xml:"-"`
  1311. }
  1312. type metadataCreateApplicationVersionInput struct {
  1313. SDKShapeTraits bool `type:"structure"`
  1314. }
  1315. // String returns the string representation
  1316. func (s CreateApplicationVersionInput) String() string {
  1317. return awsutil.Prettify(s)
  1318. }
  1319. // GoString returns the string representation
  1320. func (s CreateApplicationVersionInput) GoString() string {
  1321. return s.String()
  1322. }
  1323. // This documentation target is not reported in the API reference.
  1324. type CreateConfigurationTemplateInput struct {
  1325. // The name of the application to associate with this configuration template.
  1326. // If no application is found with this name, AWS Elastic Beanstalk returns
  1327. // an InvalidParameterValue error.
  1328. ApplicationName *string `type:"string" required:"true"`
  1329. // Describes this configuration.
  1330. Description *string `type:"string"`
  1331. // The ID of the environment used with this configuration template.
  1332. EnvironmentId *string `type:"string"`
  1333. // If specified, AWS Elastic Beanstalk sets the specified configuration option
  1334. // to the requested value. The new value overrides the value obtained from the
  1335. // solution stack or the source configuration template.
  1336. OptionSettings []*ConfigurationOptionSetting `type:"list"`
  1337. // The name of the solution stack used by this configuration. The solution stack
  1338. // specifies the operating system, architecture, and application server for
  1339. // a configuration template. It determines the set of configuration options
  1340. // as well as the possible and default values.
  1341. //
  1342. // Use ListAvailableSolutionStacks to obtain a list of available solution
  1343. // stacks.
  1344. //
  1345. // A solution stack name or a source configuration parameter must be specified,
  1346. // otherwise AWS Elastic Beanstalk returns an InvalidParameterValue error.
  1347. //
  1348. // If a solution stack name is not specified and the source configuration
  1349. // parameter is specified, AWS Elastic Beanstalk uses the same solution stack
  1350. // as the source configuration template.
  1351. SolutionStackName *string `type:"string"`
  1352. // If specified, AWS Elastic Beanstalk uses the configuration values from the
  1353. // specified configuration template to create a new configuration.
  1354. //
  1355. // Values specified in the OptionSettings parameter of this call overrides
  1356. // any values obtained from the SourceConfiguration.
  1357. //
  1358. // If no configuration template is found, returns an InvalidParameterValue
  1359. // error.
  1360. //
  1361. // Constraint: If both the solution stack name parameter and the source configuration
  1362. // parameters are specified, the solution stack of the source configuration
  1363. // template must match the specified solution stack name or else AWS Elastic
  1364. // Beanstalk returns an InvalidParameterCombination error.
  1365. SourceConfiguration *SourceConfiguration `type:"structure"`
  1366. // The name of the configuration template.
  1367. //
  1368. // Constraint: This name must be unique per application.
  1369. //
  1370. // Default: If a configuration template already exists with this name, AWS
  1371. // Elastic Beanstalk returns an InvalidParameterValue error.
  1372. TemplateName *string `type:"string" required:"true"`
  1373. metadataCreateConfigurationTemplateInput `json:"-" xml:"-"`
  1374. }
  1375. type metadataCreateConfigurationTemplateInput struct {
  1376. SDKShapeTraits bool `type:"structure"`
  1377. }
  1378. // String returns the string representation
  1379. func (s CreateConfigurationTemplateInput) String() string {
  1380. return awsutil.Prettify(s)
  1381. }
  1382. // GoString returns the string representation
  1383. func (s CreateConfigurationTemplateInput) GoString() string {
  1384. return s.String()
  1385. }
  1386. type CreateEnvironmentInput struct {
  1387. // The name of the application that contains the version to be deployed.
  1388. //
  1389. // If no application is found with this name, CreateEnvironment returns an
  1390. // InvalidParameterValue error.
  1391. ApplicationName *string `type:"string" required:"true"`
  1392. // If specified, the environment attempts to use this value as the prefix for
  1393. // the CNAME. If not specified, the CNAME is generated automatically by appending
  1394. // a random alphanumeric string to the environment name.
  1395. CNAMEPrefix *string `type:"string"`
  1396. // Describes this environment.
  1397. Description *string `type:"string"`
  1398. // A unique name for the deployment environment. Used in the application URL.
  1399. //
  1400. // Constraint: Must be from 4 to 23 characters in length. The name can contain
  1401. // only letters, numbers, and hyphens. It cannot start or end with a hyphen.
  1402. // This name must be unique in your account. If the specified name already exists,
  1403. // AWS Elastic Beanstalk returns an InvalidParameterValue error.
  1404. //
  1405. // Default: If the CNAME parameter is not specified, the environment name becomes
  1406. // part of the CNAME, and therefore part of the visible URL for your application.
  1407. EnvironmentName *string `type:"string" required:"true"`
  1408. // If specified, AWS Elastic Beanstalk sets the specified configuration options
  1409. // to the requested value in the configuration set for the new environment.
  1410. // These override the values obtained from the solution stack or the configuration
  1411. // template.
  1412. OptionSettings []*ConfigurationOptionSetting `type:"list"`
  1413. // A list of custom user-defined configuration options to remove from the configuration
  1414. // set for this new environment.
  1415. OptionsToRemove []*OptionSpecification `type:"list"`
  1416. // This is an alternative to specifying a configuration name. If specified,
  1417. // AWS Elastic Beanstalk sets the configuration values to the default values
  1418. // associated with the specified solution stack.
  1419. //
  1420. // Condition: You must specify either this or a TemplateName, but not both.
  1421. // If you specify both, AWS Elastic Beanstalk returns an InvalidParameterCombination
  1422. // error. If you do not specify either, AWS Elastic Beanstalk returns a MissingRequiredParameter
  1423. // error.
  1424. SolutionStackName *string `type:"string"`
  1425. // This specifies the tags applied to resources in the environment.
  1426. Tags []*Tag `type:"list"`
  1427. // The name of the configuration template to use in deployment. If no configuration
  1428. // template is found with this name, AWS Elastic Beanstalk returns an InvalidParameterValue
  1429. // error.
  1430. //
  1431. // Condition: You must specify either this parameter or a SolutionStackName,
  1432. // but not both. If you specify both, AWS Elastic Beanstalk returns an InvalidParameterCombination
  1433. // error. If you do not specify either, AWS Elastic Beanstalk returns a MissingRequiredParameter
  1434. // error.
  1435. TemplateName *string `type:"string"`
  1436. // This specifies the tier to use for creating this environment.
  1437. Tier *EnvironmentTier `type:"structure"`
  1438. // The name of the application version to deploy.
  1439. //
  1440. // If the specified application has no associated application versions, AWS
  1441. // Elastic Beanstalk UpdateEnvironment returns an InvalidParameterValue error.
  1442. //
  1443. // Default: If not specified, AWS Elastic Beanstalk attempts to launch the
  1444. // sample application in the container.
  1445. VersionLabel *string `type:"string"`
  1446. metadataCreateEnvironmentInput `json:"-" xml:"-"`
  1447. }
  1448. type metadataCreateEnvironmentInput struct {
  1449. SDKShapeTraits bool `type:"structure"`
  1450. }
  1451. // String returns the string representation
  1452. func (s CreateEnvironmentInput) String() string {
  1453. return awsutil.Prettify(s)
  1454. }
  1455. // GoString returns the string representation
  1456. func (s CreateEnvironmentInput) GoString() string {
  1457. return s.String()
  1458. }
  1459. type CreateStorageLocationInput struct {
  1460. metadataCreateStorageLocationInput `json:"-" xml:"-"`
  1461. }
  1462. type metadataCreateStorageLocationInput struct {
  1463. SDKShapeTraits bool `type:"structure"`
  1464. }
  1465. // String returns the string representation
  1466. func (s CreateStorageLocationInput) String() string {
  1467. return awsutil.Prettify(s)
  1468. }
  1469. // GoString returns the string representation
  1470. func (s CreateStorageLocationInput) GoString() string {
  1471. return s.String()
  1472. }
  1473. // Results of a CreateStorageLocationResult call.
  1474. type CreateStorageLocationOutput struct {
  1475. // The name of the Amazon S3 bucket created.
  1476. S3Bucket *string `type:"string"`
  1477. metadataCreateStorageLocationOutput `json:"-" xml:"-"`
  1478. }
  1479. type metadataCreateStorageLocationOutput struct {
  1480. SDKShapeTraits bool `type:"structure"`
  1481. }
  1482. // String returns the string representation
  1483. func (s CreateStorageLocationOutput) String() string {
  1484. return awsutil.Prettify(s)
  1485. }
  1486. // GoString returns the string representation
  1487. func (s CreateStorageLocationOutput) GoString() string {
  1488. return s.String()
  1489. }
  1490. // This documentation target is not reported in the API reference.
  1491. type DeleteApplicationInput struct {
  1492. // The name of the application to delete.
  1493. ApplicationName *string `type:"string" required:"true"`
  1494. // When set to true, running environments will be terminated before deleting
  1495. // the application.
  1496. TerminateEnvByForce *bool `type:"boolean"`
  1497. metadataDeleteApplicationInput `json:"-" xml:"-"`
  1498. }
  1499. type metadataDeleteApplicationInput struct {
  1500. SDKShapeTraits bool `type:"structure"`
  1501. }
  1502. // String returns the string representation
  1503. func (s DeleteApplicationInput) String() string {
  1504. return awsutil.Prettify(s)
  1505. }
  1506. // GoString returns the string representation
  1507. func (s DeleteApplicationInput) GoString() string {
  1508. return s.String()
  1509. }
  1510. type DeleteApplicationOutput struct {
  1511. metadataDeleteApplicationOutput `json:"-" xml:"-"`
  1512. }
  1513. type metadataDeleteApplicationOutput struct {
  1514. SDKShapeTraits bool `type:"structure"`
  1515. }
  1516. // String returns the string representation
  1517. func (s DeleteApplicationOutput) String() string {
  1518. return awsutil.Prettify(s)
  1519. }
  1520. // GoString returns the string representation
  1521. func (s DeleteApplicationOutput) GoString() string {
  1522. return s.String()
  1523. }
  1524. // This documentation target is not reported in the API reference.
  1525. type DeleteApplicationVersionInput struct {
  1526. // The name of the application to delete releases from.
  1527. ApplicationName *string `type:"string" required:"true"`
  1528. // Indicates whether to delete the associated source bundle from Amazon S3:
  1529. //
  1530. // true: An attempt is made to delete the associated Amazon S3 source bundle
  1531. // specified at time of creation. false: No action is taken on the Amazon
  1532. // S3 source bundle specified at time of creation. Valid Values: true | false
  1533. DeleteSourceBundle *bool `type:"boolean"`
  1534. // The label of the version to delete.
  1535. VersionLabel *string `type:"string" required:"true"`
  1536. metadataDeleteApplicationVersionInput `json:"-" xml:"-"`
  1537. }
  1538. type metadataDeleteApplicationVersionInput struct {
  1539. SDKShapeTraits bool `type:"structure"`
  1540. }
  1541. // String returns the string representation
  1542. func (s DeleteApplicationVersionInput) String() string {
  1543. return awsutil.Prettify(s)
  1544. }
  1545. // GoString returns the string representation
  1546. func (s DeleteApplicationVersionInput) GoString() string {
  1547. return s.String()
  1548. }
  1549. type DeleteApplicationVersionOutput struct {
  1550. metadataDeleteApplicationVersionOutput `json:"-" xml:"-"`
  1551. }
  1552. type metadataDeleteApplicationVersionOutput struct {
  1553. SDKShapeTraits bool `type:"structure"`
  1554. }
  1555. // String returns the string representation
  1556. func (s DeleteApplicationVersionOutput) String() string {
  1557. return awsutil.Prettify(s)
  1558. }
  1559. // GoString returns the string representation
  1560. func (s DeleteApplicationVersionOutput) GoString() string {
  1561. return s.String()
  1562. }
  1563. // This documentation target is not reported in the API reference.
  1564. type DeleteConfigurationTemplateInput struct {
  1565. // The name of the application to delete the configuration template from.
  1566. ApplicationName *string `type:"string" required:"true"`
  1567. // The name of the configuration template to delete.
  1568. TemplateName *string `type:"string" required:"true"`
  1569. metadataDeleteConfigurationTemplateInput `json:"-" xml:"-"`
  1570. }
  1571. type metadataDeleteConfigurationTemplateInput struct {
  1572. SDKShapeTraits bool `type:"structure"`
  1573. }
  1574. // String returns the string representation
  1575. func (s DeleteConfigurationTemplateInput) String() string {
  1576. return awsutil.Prettify(s)
  1577. }
  1578. // GoString returns the string representation
  1579. func (s DeleteConfigurationTemplateInput) GoString() string {
  1580. return s.String()
  1581. }
  1582. type DeleteConfigurationTemplateOutput struct {
  1583. metadataDeleteConfigurationTemplateOutput `json:"-" xml:"-"`
  1584. }
  1585. type metadataDeleteConfigurationTemplateOutput struct {
  1586. SDKShapeTraits bool `type:"structure"`
  1587. }
  1588. // String returns the string representation
  1589. func (s DeleteConfigurationTemplateOutput) String() string {
  1590. return awsutil.Prettify(s)
  1591. }
  1592. // GoString returns the string representation
  1593. func (s DeleteConfigurationTemplateOutput) GoString() string {
  1594. return s.String()
  1595. }
  1596. // This documentation target is not reported in the API reference.
  1597. type DeleteEnvironmentConfigurationInput struct {
  1598. // The name of the application the environment is associated with.
  1599. ApplicationName *string `type:"string" required:"true"`
  1600. // The name of the environment to delete the draft configuration from.
  1601. EnvironmentName *string `type:"string" required:"true"`
  1602. metadataDeleteEnvironmentConfigurationInput `json:"-" xml:"-"`
  1603. }
  1604. type metadataDeleteEnvironmentConfigurationInput struct {
  1605. SDKShapeTraits bool `type:"structure"`
  1606. }
  1607. // String returns the string representation
  1608. func (s DeleteEnvironmentConfigurationInput) String() string {
  1609. return awsutil.Prettify(s)
  1610. }
  1611. // GoString returns the string representation
  1612. func (s DeleteEnvironmentConfigurationInput) GoString() string {
  1613. return s.String()
  1614. }
  1615. type DeleteEnvironmentConfigurationOutput struct {
  1616. metadataDeleteEnvironmentConfigurationOutput `json:"-" xml:"-"`
  1617. }
  1618. type metadataDeleteEnvironmentConfigurationOutput struct {
  1619. SDKShapeTraits bool `type:"structure"`
  1620. }
  1621. // String returns the string representation
  1622. func (s DeleteEnvironmentConfigurationOutput) String() string {
  1623. return awsutil.Prettify(s)
  1624. }
  1625. // GoString returns the string representation
  1626. func (s DeleteEnvironmentConfigurationOutput) GoString() string {
  1627. return s.String()
  1628. }
  1629. // Result message containing a list of configuration descriptions.
  1630. type DescribeApplicationVersionsInput struct {
  1631. // If specified, AWS Elastic Beanstalk restricts the returned descriptions to
  1632. // only include ones that are associated with the specified application.
  1633. ApplicationName *string `type:"string"`
  1634. // If specified, restricts the returned descriptions to only include ones that
  1635. // have the specified version labels.
  1636. VersionLabels []*string `type:"list"`
  1637. metadataDescribeApplicationVersionsInput `json:"-" xml:"-"`
  1638. }
  1639. type metadataDescribeApplicationVersionsInput struct {
  1640. SDKShapeTraits bool `type:"structure"`
  1641. }
  1642. // String returns the string representation
  1643. func (s DescribeApplicationVersionsInput) String() string {
  1644. return awsutil.Prettify(s)
  1645. }
  1646. // GoString returns the string representation
  1647. func (s DescribeApplicationVersionsInput) GoString() string {
  1648. return s.String()
  1649. }
  1650. // Result message wrapping a list of application version descriptions.
  1651. type DescribeApplicationVersionsOutput struct {
  1652. // A list of ApplicationVersionDescription .
  1653. ApplicationVersions []*ApplicationVersionDescription `type:"list"`
  1654. metadataDescribeApplicationVersionsOutput `json:"-" xml:"-"`
  1655. }
  1656. type metadataDescribeApplicationVersionsOutput struct {
  1657. SDKShapeTraits bool `type:"structure"`
  1658. }
  1659. // String returns the string representation
  1660. func (s DescribeApplicationVersionsOutput) String() string {
  1661. return awsutil.Prettify(s)
  1662. }
  1663. // GoString returns the string representation
  1664. func (s DescribeApplicationVersionsOutput) GoString() string {
  1665. return s.String()
  1666. }
  1667. // This documentation target is not reported in the API reference.
  1668. type DescribeApplicationsInput struct {
  1669. // If specified, AWS Elastic Beanstalk restricts the returned descriptions to
  1670. // only include those with the specified names.
  1671. ApplicationNames []*string `type:"list"`
  1672. metadataDescribeApplicationsInput `json:"-" xml:"-"`
  1673. }
  1674. type metadataDescribeApplicationsInput struct {
  1675. SDKShapeTraits bool `type:"structure"`
  1676. }
  1677. // String returns the string representation
  1678. func (s DescribeApplicationsInput) String() string {
  1679. return awsutil.Prettify(s)
  1680. }
  1681. // GoString returns the string representation
  1682. func (s DescribeApplicationsInput) GoString() string {
  1683. return s.String()
  1684. }
  1685. // Result message containing a list of application descriptions.
  1686. type DescribeApplicationsOutput struct {
  1687. // This parameter contains a list of ApplicationDescription.
  1688. Applications []*ApplicationDescription `type:"list"`
  1689. metadataDescribeApplicationsOutput `json:"-" xml:"-"`
  1690. }
  1691. type metadataDescribeApplicationsOutput struct {
  1692. SDKShapeTraits bool `type:"structure"`
  1693. }
  1694. // String returns the string representation
  1695. func (s DescribeApplicationsOutput) String() string {
  1696. return awsutil.Prettify(s)
  1697. }
  1698. // GoString returns the string representation
  1699. func (s DescribeApplicationsOutput) GoString() string {
  1700. return s.String()
  1701. }
  1702. // Result message containig a list of application version descriptions.
  1703. type DescribeConfigurationOptionsInput struct {
  1704. // The name of the application associated with the configuration template or
  1705. // environment. Only needed if you want to describe the configuration options
  1706. // associated with either the configuration template or environment.
  1707. ApplicationName *string `type:"string"`
  1708. // The name of the environment whose configuration options you want to describe.
  1709. EnvironmentName *string `type:"string"`
  1710. // If specified, restricts the descriptions to only the specified options.
  1711. Options []*OptionSpecification `type:"list"`
  1712. // The name of the solution stack whose configuration options you want to describe.
  1713. SolutionStackName *string `type:"string"`
  1714. // The name of the configuration template whose configuration options you want
  1715. // to describe.
  1716. TemplateName *string `type:"string"`
  1717. metadataDescribeConfigurationOptionsInput `json:"-" xml:"-"`
  1718. }
  1719. type metadataDescribeConfigurationOptionsInput struct {
  1720. SDKShapeTraits bool `type:"structure"`
  1721. }
  1722. // String returns the string representation
  1723. func (s DescribeConfigurationOptionsInput) String() string {
  1724. return awsutil.Prettify(s)
  1725. }
  1726. // GoString returns the string representation
  1727. func (s DescribeConfigurationOptionsInput) GoString() string {
  1728. return s.String()
  1729. }
  1730. // Describes the settings for a specified configuration set.
  1731. type DescribeConfigurationOptionsOutput struct {
  1732. // A list of ConfigurationOptionDescription.
  1733. Options []*ConfigurationOptionDescription `type:"list"`
  1734. // The name of the solution stack these configuration options belong to.
  1735. SolutionStackName *string `type:"string"`
  1736. metadataDescribeConfigurationOptionsOutput `json:"-" xml:"-"`
  1737. }
  1738. type metadataDescribeConfigurationOptionsOutput struct {
  1739. SDKShapeTraits bool `type:"structure"`
  1740. }
  1741. // String returns the string representation
  1742. func (s DescribeConfigurationOptionsOutput) String() string {
  1743. return awsutil.Prettify(s)
  1744. }
  1745. // GoString returns the string representation
  1746. func (s DescribeConfigurationOptionsOutput) GoString() string {
  1747. return s.String()
  1748. }
  1749. // Result message containing all of the configuration settings for a specified
  1750. // solution stack or configuration template.
  1751. type DescribeConfigurationSettingsInput struct {
  1752. // The application for the environment or configuration template.
  1753. ApplicationName *string `type:"string" required:"true"`
  1754. // The name of the environment to describe.
  1755. //
  1756. // Condition: You must specify either this or a TemplateName, but not both.
  1757. // If you specify both, AWS Elastic Beanstalk returns an InvalidParameterCombination
  1758. // error. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
  1759. // error.
  1760. EnvironmentName *string `type:"string"`
  1761. // The name of the configuration template to describe.
  1762. //
  1763. // Conditional: You must specify either this parameter or an EnvironmentName,
  1764. // but not both. If you specify both, AWS Elastic Beanstalk returns an InvalidParameterCombination
  1765. // error. If you do not specify either, AWS Elastic Beanstalk returns a MissingRequiredParameter
  1766. // error.
  1767. TemplateName *string `type:"string"`
  1768. metadataDescribeConfigurationSettingsInput `json:"-" xml:"-"`
  1769. }
  1770. type metadataDescribeConfigurationSettingsInput struct {
  1771. SDKShapeTraits bool `type:"structure"`
  1772. }
  1773. // String returns the string representation
  1774. func (s DescribeConfigurationSettingsInput) String() string {
  1775. return awsutil.Prettify(s)
  1776. }
  1777. // GoString returns the string representation
  1778. func (s DescribeConfigurationSettingsInput) GoString() string {
  1779. return s.String()
  1780. }
  1781. // The results from a request to change the configuration settings of an environment.
  1782. type DescribeConfigurationSettingsOutput struct {
  1783. // A list of ConfigurationSettingsDescription.
  1784. ConfigurationSettings []*ConfigurationSettingsDescription `type:"list"`
  1785. metadataDescribeConfigurationSettingsOutput `json:"-" xml:"-"`
  1786. }
  1787. type metadataDescribeConfigurationSettingsOutput struct {
  1788. SDKShapeTraits bool `type:"structure"`
  1789. }
  1790. // String returns the string representation
  1791. func (s DescribeConfigurationSettingsOutput) String() string {
  1792. return awsutil.Prettify(s)
  1793. }
  1794. // GoString returns the string representation
  1795. func (s DescribeConfigurationSettingsOutput) GoString() string {
  1796. return s.String()
  1797. }
  1798. // See the example below to learn how to create a request body.
  1799. type DescribeEnvironmentHealthInput struct {
  1800. // Specifies the response elements you wish to receive. If no attribute names
  1801. // are specified, AWS Elastic Beanstalk returns all response elements.
  1802. AttributeNames []*string `type:"list"`
  1803. // Specifies the AWS Elastic Beanstalk environment ID.
  1804. EnvironmentId *string `type:"string"`
  1805. // Specifies the AWS Elastic Beanstalk environment name.
  1806. EnvironmentName *string `type:"string"`
  1807. metadataDescribeEnvironmentHealthInput `json:"-" xml:"-"`
  1808. }
  1809. type metadataDescribeEnvironmentHealthInput struct {
  1810. SDKShapeTraits bool `type:"structure"`
  1811. }
  1812. // String returns the string representation
  1813. func (s DescribeEnvironmentHealthInput) String() string {
  1814. return awsutil.Prettify(s)
  1815. }
  1816. // GoString returns the string representation
  1817. func (s DescribeEnvironmentHealthInput) GoString() string {
  1818. return s.String()
  1819. }
  1820. // See the example below for a sample response.
  1821. type DescribeEnvironmentHealthOutput struct {
  1822. // Represents the application metrics for a specified environment.
  1823. ApplicationMetrics *ApplicationMetrics `type:"structure"`
  1824. // Returns potential causes for the reported status.
  1825. Causes []*string `type:"list"`
  1826. // Returns the color indicator that tells you information about the health of
  1827. // the environment. For more information, see Health Colors and Statuses (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html).
  1828. Color *string `type:"string"`
  1829. // The AWS Elastic Beanstalk environment name.
  1830. EnvironmentName *string `type:"string"`
  1831. // Contains the response body with information about the health of the environment.
  1832. HealthStatus *string `type:"string"`
  1833. // Represents summary information about the health of an instance. For more
  1834. // information, see Health Colors and Statuses (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html).
  1835. InstancesHealth *InstanceHealthSummary `type:"structure"`
  1836. // The date and time the information was last refreshed.
  1837. RefreshedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  1838. // Returns the health status value of the environment. For more information,
  1839. // see Health Colors and Statuses (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html).
  1840. Status *string `type:"string" enum:"EnvironmentHealth"`
  1841. metadataDescribeEnvironmentHealthOutput `json:"-" xml:"-"`
  1842. }
  1843. type metadataDescribeEnvironmentHealthOutput struct {
  1844. SDKShapeTraits bool `type:"structure"`
  1845. }
  1846. // String returns the string representation
  1847. func (s DescribeEnvironmentHealthOutput) String() string {
  1848. return awsutil.Prettify(s)
  1849. }
  1850. // GoString returns the string representation
  1851. func (s DescribeEnvironmentHealthOutput) GoString() string {
  1852. return s.String()
  1853. }
  1854. // This documentation target is not reported in the API reference.
  1855. type DescribeEnvironmentResourcesInput struct {
  1856. // The ID of the environment to retrieve AWS resource usage data.
  1857. //
  1858. // Condition: You must specify either this or an EnvironmentName, or both.
  1859. // If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
  1860. // error.
  1861. EnvironmentId *string `type:"string"`
  1862. // The name of the environment to retrieve AWS resource usage data.
  1863. //
  1864. // Condition: You must specify either this or an EnvironmentId, or both. If
  1865. // you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
  1866. // error.
  1867. EnvironmentName *string `type:"string"`
  1868. metadataDescribeEnvironmentResourcesInput `json:"-" xml:"-"`
  1869. }
  1870. type metadataDescribeEnvironmentResourcesInput struct {
  1871. SDKShapeTraits bool `type:"structure"`
  1872. }
  1873. // String returns the string representation
  1874. func (s DescribeEnvironmentResourcesInput) String() string {
  1875. return awsutil.Prettify(s)
  1876. }
  1877. // GoString returns the string representation
  1878. func (s DescribeEnvironmentResourcesInput) GoString() string {
  1879. return s.String()
  1880. }
  1881. // Result message containing a list of environment resource descriptions.
  1882. type DescribeEnvironmentResourcesOutput struct {
  1883. // A list of EnvironmentResourceDescription.
  1884. EnvironmentResources *EnvironmentResourceDescription `type:"structure"`
  1885. metadataDescribeEnvironmentResourcesOutput `json:"-" xml:"-"`
  1886. }
  1887. type metadataDescribeEnvironmentResourcesOutput struct {
  1888. SDKShapeTraits bool `type:"structure"`
  1889. }
  1890. // String returns the string representation
  1891. func (s DescribeEnvironmentResourcesOutput) String() string {
  1892. return awsutil.Prettify(s)
  1893. }
  1894. // GoString returns the string representation
  1895. func (s DescribeEnvironmentResourcesOutput) GoString() string {
  1896. return s.String()
  1897. }
  1898. // This documentation target is not reported in the API reference.
  1899. type DescribeEnvironmentsInput struct {
  1900. // If specified, AWS Elastic Beanstalk restricts the returned descriptions to
  1901. // include only those that are associated with this application.
  1902. ApplicationName *string `type:"string"`
  1903. // If specified, AWS Elastic Beanstalk restricts the returned descriptions to
  1904. // include only those that have the specified IDs.
  1905. EnvironmentIds []*string `type:"list"`
  1906. // If specified, AWS Elastic Beanstalk restricts the returned descriptions to
  1907. // include only those that have the specified names.
  1908. EnvironmentNames []*string `type:"list"`
  1909. // Indicates whether to include deleted environments:
  1910. //
  1911. // true: Environments that have been deleted after IncludedDeletedBackTo are
  1912. // displayed.
  1913. //
  1914. // false: Do not include deleted environments.
  1915. IncludeDeleted *bool `type:"boolean"`
  1916. // If specified when IncludeDeleted is set to true, then environments deleted
  1917. // after this date are displayed.
  1918. IncludedDeletedBackTo *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  1919. // If specified, AWS Elastic Beanstalk restricts the returned descriptions to
  1920. // include only those that are associated with this application version.
  1921. VersionLabel *string `type:"string"`
  1922. metadataDescribeEnvironmentsInput `json:"-" xml:"-"`
  1923. }
  1924. type metadataDescribeEnvironmentsInput struct {
  1925. SDKShapeTraits bool `type:"structure"`
  1926. }
  1927. // String returns the string representation
  1928. func (s DescribeEnvironmentsInput) String() string {
  1929. return awsutil.Prettify(s)
  1930. }
  1931. // GoString returns the string representation
  1932. func (s DescribeEnvironmentsInput) GoString() string {
  1933. return s.String()
  1934. }
  1935. // Result message containing a list of environment descriptions.
  1936. type DescribeEnvironmentsOutput struct {
  1937. // Returns an EnvironmentDescription list.
  1938. Environments []*EnvironmentDescription `type:"list"`
  1939. metadataDescribeEnvironmentsOutput `json:"-" xml:"-"`
  1940. }
  1941. type metadataDescribeEnvironmentsOutput struct {
  1942. SDKShapeTraits bool `type:"structure"`
  1943. }
  1944. // String returns the string representation
  1945. func (s DescribeEnvironmentsOutput) String() string {
  1946. return awsutil.Prettify(s)
  1947. }
  1948. // GoString returns the string representation
  1949. func (s DescribeEnvironmentsOutput) GoString() string {
  1950. return s.String()
  1951. }
  1952. // This documentation target is not reported in the API reference.
  1953. type DescribeEventsInput struct {
  1954. // If specified, AWS Elastic Beanstalk restricts the returned descriptions to
  1955. // include only those associated with this application.
  1956. ApplicationName *string `type:"string"`
  1957. // If specified, AWS Elastic Beanstalk restricts the returned descriptions to
  1958. // those that occur up to, but not including, the EndTime.
  1959. EndTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  1960. // If specified, AWS Elastic Beanstalk restricts the returned descriptions to
  1961. // those associated with this environment.
  1962. EnvironmentId *string `type:"string"`
  1963. // If specified, AWS Elastic Beanstalk restricts the returned descriptions to
  1964. // those associated with this environment.
  1965. EnvironmentName *string `type:"string"`
  1966. // Specifies the maximum number of events that can be returned, beginning with
  1967. // the most recent event.
  1968. MaxRecords *int64 `type:"integer"`
  1969. // Pagination token. If specified, the events return the next batch of results.
  1970. NextToken *string `type:"string"`
  1971. // If specified, AWS Elastic Beanstalk restricts the described events to include
  1972. // only those associated with this request ID.
  1973. RequestId *string `type:"string"`
  1974. // If specified, limits the events returned from this call to include only those
  1975. // with the specified severity or higher.
  1976. Severity *string `type:"string" enum:"EventSeverity"`
  1977. // If specified, AWS Elastic Beanstalk restricts the returned descriptions to
  1978. // those that occur on or after this time.
  1979. StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  1980. // If specified, AWS Elastic Beanstalk restricts the returned descriptions to
  1981. // those that are associated with this environment configuration.
  1982. TemplateName *string `type:"string"`
  1983. // If specified, AWS Elastic Beanstalk restricts the returned descriptions to
  1984. // those associated with this application version.
  1985. VersionLabel *string `type:"string"`
  1986. metadataDescribeEventsInput `json:"-" xml:"-"`
  1987. }
  1988. type metadataDescribeEventsInput struct {
  1989. SDKShapeTraits bool `type:"structure"`
  1990. }
  1991. // String returns the string representation
  1992. func (s DescribeEventsInput) String() string {
  1993. return awsutil.Prettify(s)
  1994. }
  1995. // GoString returns the string representation
  1996. func (s DescribeEventsInput) GoString() string {
  1997. return s.String()
  1998. }
  1999. // Result message wrapping a list of event descriptions.
  2000. type DescribeEventsOutput struct {
  2001. // A list of EventDescription.
  2002. Events []*EventDescription `type:"list"`
  2003. // If returned, this indicates that there are more results to obtain. Use this
  2004. // token in the next DescribeEvents call to get the next batch of events.
  2005. NextToken *string `type:"string"`
  2006. metadataDescribeEventsOutput `json:"-" xml:"-"`
  2007. }
  2008. type metadataDescribeEventsOutput struct {
  2009. SDKShapeTraits bool `type:"structure"`
  2010. }
  2011. // String returns the string representation
  2012. func (s DescribeEventsOutput) String() string {
  2013. return awsutil.Prettify(s)
  2014. }
  2015. // GoString returns the string representation
  2016. func (s DescribeEventsOutput) GoString() string {
  2017. return s.String()
  2018. }
  2019. // See the example below to learn how to create a request body.
  2020. type DescribeInstancesHealthInput struct {
  2021. // Specifies the response elements you wish to receive. If no attribute names
  2022. // are specified, AWS Elastic Beanstalk returns all response elements.
  2023. AttributeNames []*string `type:"list"`
  2024. // Specifies the AWS Elastic Beanstalk environment ID.
  2025. EnvironmentId *string `type:"string"`
  2026. // Specifies the AWS Elastic Beanstalk environment name.
  2027. EnvironmentName *string `type:"string"`
  2028. // Specifies the next token of the request.
  2029. NextToken *string `type:"string"`
  2030. metadataDescribeInstancesHealthInput `json:"-" xml:"-"`
  2031. }
  2032. type metadataDescribeInstancesHealthInput struct {
  2033. SDKShapeTraits bool `type:"structure"`
  2034. }
  2035. // String returns the string representation
  2036. func (s DescribeInstancesHealthInput) String() string {
  2037. return awsutil.Prettify(s)
  2038. }
  2039. // GoString returns the string representation
  2040. func (s DescribeInstancesHealthInput) GoString() string {
  2041. return s.String()
  2042. }
  2043. // See the example below for a sample response.
  2044. type DescribeInstancesHealthOutput struct {
  2045. // Contains the response body with information about the health of the instance.
  2046. InstanceHealthList []*SingleInstanceHealth `type:"list"`
  2047. // The next token.
  2048. NextToken *string `type:"string"`
  2049. // The date and time the information was last refreshed.
  2050. RefreshedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  2051. metadataDescribeInstancesHealthOutput `json:"-" xml:"-"`
  2052. }
  2053. type metadataDescribeInstancesHealthOutput struct {
  2054. SDKShapeTraits bool `type:"structure"`
  2055. }
  2056. // String returns the string representation
  2057. func (s DescribeInstancesHealthOutput) String() string {
  2058. return awsutil.Prettify(s)
  2059. }
  2060. // GoString returns the string representation
  2061. func (s DescribeInstancesHealthOutput) GoString() string {
  2062. return s.String()
  2063. }
  2064. // Describes the properties of an environment.
  2065. type EnvironmentDescription struct {
  2066. // Indicates if there is an in-progress environment configuration update or
  2067. // application version deployment that you can cancel.
  2068. //
  2069. // true: There is an update in progress.
  2070. //
  2071. // false: There are no updates currently in progress.
  2072. AbortableOperationInProgress *bool `type:"boolean"`
  2073. // The name of the application associated with this environment.
  2074. ApplicationName *string `type:"string"`
  2075. // The URL to the CNAME for this environment.
  2076. CNAME *string `type:"string"`
  2077. // The creation date for this environment.
  2078. DateCreated *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  2079. // The last modified date for this environment.
  2080. DateUpdated *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  2081. // Describes this environment.
  2082. Description *string `type:"string"`
  2083. // For load-balanced, autoscaling environments, the URL to the LoadBalancer.
  2084. // For single-instance environments, the IP address of the instance.
  2085. EndpointURL *string `type:"string"`
  2086. // The ID of this environment.
  2087. EnvironmentId *string `type:"string"`
  2088. // The name of this environment.
  2089. EnvironmentName *string `type:"string"`
  2090. // Describes the health status of the environment. AWS Elastic Beanstalk indicates
  2091. // the failure levels for a running environment:
  2092. //
  2093. // Red : Indicates the environment is not working.
  2094. //
  2095. // Yellow: Indicates that something is wrong, the application might not
  2096. // be available, but the instances appear running.
  2097. //
  2098. // Green: Indicates the environment is healthy and fully functional.
  2099. //
  2100. // Red: Indicates the environment is not responsive. Occurs when three
  2101. // or more consecutive failures occur for an environment. Yellow: Indicates
  2102. // that something is wrong. Occurs when two consecutive failures occur for an
  2103. // environment. Green: Indicates the environment is healthy and fully functional.
  2104. // Grey: Default health for a new environment. The environment is not fully
  2105. // launched and health checks have not started or health checks are suspended
  2106. // during an UpdateEnvironment or RestartEnvironement request. Default: Grey
  2107. Health *string `type:"string" enum:"EnvironmentHealth"`
  2108. // Returns the health status of the application running in your environment.
  2109. // For more information, see Health Colors and Statuses (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html).
  2110. HealthStatus *string `type:"string" enum:"EnvironmentHealthStatus"`
  2111. // The description of the AWS resources used by this environment.
  2112. Resources *EnvironmentResourcesDescription `type:"structure"`
  2113. // The name of the SolutionStack deployed with this environment.
  2114. SolutionStackName *string `type:"string"`
  2115. // The current operational status of the environment:
  2116. //
  2117. // Launching: Environment is in the process of initial deployment. Updating:
  2118. // Environment is in the process of updating its configuration settings or application
  2119. // version. Ready: Environment is available to have an action performed on
  2120. // it, such as update or terminate. Terminating: Environment is in the shut-down
  2121. // process. Terminated: Environment is not running.
  2122. Status *string `type:"string" enum:"EnvironmentStatus"`
  2123. // The name of the configuration template used to originally launch this environment.
  2124. TemplateName *string `type:"string"`
  2125. // Describes the current tier of this environment.
  2126. Tier *EnvironmentTier `type:"structure"`
  2127. // The application version deployed in this environment.
  2128. VersionLabel *string `type:"string"`
  2129. metadataEnvironmentDescription `json:"-" xml:"-"`
  2130. }
  2131. type metadataEnvironmentDescription struct {
  2132. SDKShapeTraits bool `type:"structure"`
  2133. }
  2134. // String returns the string representation
  2135. func (s EnvironmentDescription) String() string {
  2136. return awsutil.Prettify(s)
  2137. }
  2138. // GoString returns the string representation
  2139. func (s EnvironmentDescription) GoString() string {
  2140. return s.String()
  2141. }
  2142. // The information retrieved from the Amazon EC2 instances.
  2143. type EnvironmentInfoDescription struct {
  2144. // The Amazon EC2 Instance ID for this information.
  2145. Ec2InstanceId *string `type:"string"`
  2146. // The type of information retrieved.
  2147. InfoType *string `type:"string" enum:"EnvironmentInfoType"`
  2148. // The retrieved information.
  2149. Message *string `type:"string"`
  2150. // The time stamp when this information was retrieved.
  2151. SampleTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  2152. metadataEnvironmentInfoDescription `json:"-" xml:"-"`
  2153. }
  2154. type metadataEnvironmentInfoDescription struct {
  2155. SDKShapeTraits bool `type:"structure"`
  2156. }
  2157. // String returns the string representation
  2158. func (s EnvironmentInfoDescription) String() string {
  2159. return awsutil.Prettify(s)
  2160. }
  2161. // GoString returns the string representation
  2162. func (s EnvironmentInfoDescription) GoString() string {
  2163. return s.String()
  2164. }
  2165. // Describes the AWS resources in use by this environment. This data is live.
  2166. type EnvironmentResourceDescription struct {
  2167. // The AutoScalingGroups used by this environment.
  2168. AutoScalingGroups []*AutoScalingGroup `type:"list"`
  2169. // The name of the environment.
  2170. EnvironmentName *string `type:"string"`
  2171. // The Amazon EC2 instances used by this environment.
  2172. Instances []*Instance `type:"list"`
  2173. // The Auto Scaling launch configurations in use by this environment.
  2174. LaunchConfigurations []*LaunchConfiguration `type:"list"`
  2175. // The LoadBalancers in use by this environment.
  2176. LoadBalancers []*LoadBalancer `type:"list"`
  2177. // The queues used by this environment.
  2178. Queues []*Queue `type:"list"`
  2179. // The AutoScaling triggers in use by this environment.
  2180. Triggers []*Trigger `type:"list"`
  2181. metadataEnvironmentResourceDescription `json:"-" xml:"-"`
  2182. }
  2183. type metadataEnvironmentResourceDescription struct {
  2184. SDKShapeTraits bool `type:"structure"`
  2185. }
  2186. // String returns the string representation
  2187. func (s EnvironmentResourceDescription) String() string {
  2188. return awsutil.Prettify(s)
  2189. }
  2190. // GoString returns the string representation
  2191. func (s EnvironmentResourceDescription) GoString() string {
  2192. return s.String()
  2193. }
  2194. // Describes the AWS resources in use by this environment. This data is not
  2195. // live data.
  2196. type EnvironmentResourcesDescription struct {
  2197. // Describes the LoadBalancer.
  2198. LoadBalancer *LoadBalancerDescription `type:"structure"`
  2199. metadataEnvironmentResourcesDescription `json:"-" xml:"-"`
  2200. }
  2201. type metadataEnvironmentResourcesDescription struct {
  2202. SDKShapeTraits bool `type:"structure"`
  2203. }
  2204. // String returns the string representation
  2205. func (s EnvironmentResourcesDescription) String() string {
  2206. return awsutil.Prettify(s)
  2207. }
  2208. // GoString returns the string representation
  2209. func (s EnvironmentResourcesDescription) GoString() string {
  2210. return s.String()
  2211. }
  2212. // Describes the properties of an environment tier
  2213. type EnvironmentTier struct {
  2214. // The name of this environment tier.
  2215. Name *string `type:"string"`
  2216. // The type of this environment tier.
  2217. Type *string `type:"string"`
  2218. // The version of this environment tier.
  2219. Version *string `type:"string"`
  2220. metadataEnvironmentTier `json:"-" xml:"-"`
  2221. }
  2222. type metadataEnvironmentTier struct {
  2223. SDKShapeTraits bool `type:"structure"`
  2224. }
  2225. // String returns the string representation
  2226. func (s EnvironmentTier) String() string {
  2227. return awsutil.Prettify(s)
  2228. }
  2229. // GoString returns the string representation
  2230. func (s EnvironmentTier) GoString() string {
  2231. return s.String()
  2232. }
  2233. // Describes an event.
  2234. type EventDescription struct {
  2235. // The application associated with the event.
  2236. ApplicationName *string `type:"string"`
  2237. // The name of the environment associated with this event.
  2238. EnvironmentName *string `type:"string"`
  2239. // The date when the event occurred.
  2240. EventDate *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  2241. // The event message.
  2242. Message *string `type:"string"`
  2243. // The web service request ID for the activity of this event.
  2244. RequestId *string `type:"string"`
  2245. // The severity level of this event.
  2246. Severity *string `type:"string" enum:"EventSeverity"`
  2247. // The name of the configuration associated with this event.
  2248. TemplateName *string `type:"string"`
  2249. // The release label for the application version associated with this event.
  2250. VersionLabel *string `type:"string"`
  2251. metadataEventDescription `json:"-" xml:"-"`
  2252. }
  2253. type metadataEventDescription struct {
  2254. SDKShapeTraits bool `type:"structure"`
  2255. }
  2256. // String returns the string representation
  2257. func (s EventDescription) String() string {
  2258. return awsutil.Prettify(s)
  2259. }
  2260. // GoString returns the string representation
  2261. func (s EventDescription) GoString() string {
  2262. return s.String()
  2263. }
  2264. // The description of an Amazon EC2 instance.
  2265. type Instance struct {
  2266. // The ID of the Amazon EC2 instance.
  2267. Id *string `type:"string"`
  2268. metadataInstance `json:"-" xml:"-"`
  2269. }
  2270. type metadataInstance struct {
  2271. SDKShapeTraits bool `type:"structure"`
  2272. }
  2273. // String returns the string representation
  2274. func (s Instance) String() string {
  2275. return awsutil.Prettify(s)
  2276. }
  2277. // GoString returns the string representation
  2278. func (s Instance) GoString() string {
  2279. return s.String()
  2280. }
  2281. // Represents summary information about the health of an instance. For more
  2282. // information, see Health Colors and Statuses (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html).
  2283. type InstanceHealthSummary struct {
  2284. // Red. The health agent is reporting a high number of request failures or other
  2285. // issues for an instance or environment.
  2286. Degraded *int64 `type:"integer"`
  2287. // Green. An operation is in progress on an instance.
  2288. Info *int64 `type:"integer"`
  2289. // Grey. AWS Elastic Beanstalk and the health agent are reporting no data on
  2290. // an instance.
  2291. NoData *int64 `type:"integer"`
  2292. // Green. An instance is passing health checks and the health agent is not reporting
  2293. // any problems.
  2294. Ok *int64 `type:"integer"`
  2295. // Grey. An operation is in progress on an instance within the command timeout.
  2296. Pending *int64 `type:"integer"`
  2297. // Red. The health agent is reporting a very high number of request failures
  2298. // or other issues for an instance or environment.
  2299. Severe *int64 `type:"integer"`
  2300. // Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient
  2301. // amount of data on an instance.
  2302. Unknown *int64 `type:"integer"`
  2303. // Yellow. The health agent is reporting a moderate number of request failures
  2304. // or other issues for an instance or environment.
  2305. Warning *int64 `type:"integer"`
  2306. metadataInstanceHealthSummary `json:"-" xml:"-"`
  2307. }
  2308. type metadataInstanceHealthSummary struct {
  2309. SDKShapeTraits bool `type:"structure"`
  2310. }
  2311. // String returns the string representation
  2312. func (s InstanceHealthSummary) String() string {
  2313. return awsutil.Prettify(s)
  2314. }
  2315. // GoString returns the string representation
  2316. func (s InstanceHealthSummary) GoString() string {
  2317. return s.String()
  2318. }
  2319. // Represents the average latency for the slowest X percent of requests over
  2320. // the last 10 seconds.
  2321. type Latency struct {
  2322. // The average latency for the slowest 90 percent of requests over the last
  2323. // 10 seconds.
  2324. P10 *float64 `type:"double"`
  2325. // The average latency for the slowest 50 percent of requests over the last
  2326. // 10 seconds.
  2327. P50 *float64 `type:"double"`
  2328. // The average latency for the slowest 25 percent of requests over the last
  2329. // 10 seconds.
  2330. P75 *float64 `type:"double"`
  2331. // The average latency for the slowest 15 percent of requests over the last
  2332. // 10 seconds.
  2333. P85 *float64 `type:"double"`
  2334. // The average latency for the slowest 10 percent of requests over the last
  2335. // 10 seconds.
  2336. P90 *float64 `type:"double"`
  2337. // The average latency for the slowest 5 percent of requests over the last 10
  2338. // seconds.
  2339. P95 *float64 `type:"double"`
  2340. // The average latency for the slowest 1 percent of requests over the last 10
  2341. // seconds.
  2342. P99 *float64 `type:"double"`
  2343. // The average latency for the slowest 0.1 percent of requests over the last
  2344. // 10 seconds.
  2345. P999 *float64 `type:"double"`
  2346. metadataLatency `json:"-" xml:"-"`
  2347. }
  2348. type metadataLatency struct {
  2349. SDKShapeTraits bool `type:"structure"`
  2350. }
  2351. // String returns the string representation
  2352. func (s Latency) String() string {
  2353. return awsutil.Prettify(s)
  2354. }
  2355. // GoString returns the string representation
  2356. func (s Latency) GoString() string {
  2357. return s.String()
  2358. }
  2359. // Describes an Auto Scaling launch configuration.
  2360. type LaunchConfiguration struct {
  2361. // The name of the launch configuration.
  2362. Name *string `type:"string"`
  2363. metadataLaunchConfiguration `json:"-" xml:"-"`
  2364. }
  2365. type metadataLaunchConfiguration struct {
  2366. SDKShapeTraits bool `type:"structure"`
  2367. }
  2368. // String returns the string representation
  2369. func (s LaunchConfiguration) String() string {
  2370. return awsutil.Prettify(s)
  2371. }
  2372. // GoString returns the string representation
  2373. func (s LaunchConfiguration) GoString() string {
  2374. return s.String()
  2375. }
  2376. type ListAvailableSolutionStacksInput struct {
  2377. metadataListAvailableSolutionStacksInput `json:"-" xml:"-"`
  2378. }
  2379. type metadataListAvailableSolutionStacksInput struct {
  2380. SDKShapeTraits bool `type:"structure"`
  2381. }
  2382. // String returns the string representation
  2383. func (s ListAvailableSolutionStacksInput) String() string {
  2384. return awsutil.Prettify(s)
  2385. }
  2386. // GoString returns the string representation
  2387. func (s ListAvailableSolutionStacksInput) GoString() string {
  2388. return s.String()
  2389. }
  2390. // A list of available AWS Elastic Beanstalk solution stacks.
  2391. type ListAvailableSolutionStacksOutput struct {
  2392. // A list of available solution stacks and their SolutionStackDescription.
  2393. SolutionStackDetails []*SolutionStackDescription `type:"list"`
  2394. // A list of available solution stacks.
  2395. SolutionStacks []*string `type:"list"`
  2396. metadataListAvailableSolutionStacksOutput `json:"-" xml:"-"`
  2397. }
  2398. type metadataListAvailableSolutionStacksOutput struct {
  2399. SDKShapeTraits bool `type:"structure"`
  2400. }
  2401. // String returns the string representation
  2402. func (s ListAvailableSolutionStacksOutput) String() string {
  2403. return awsutil.Prettify(s)
  2404. }
  2405. // GoString returns the string representation
  2406. func (s ListAvailableSolutionStacksOutput) GoString() string {
  2407. return s.String()
  2408. }
  2409. // Describes the properties of a Listener for the LoadBalancer.
  2410. type Listener struct {
  2411. // The port that is used by the Listener.
  2412. Port *int64 `type:"integer"`
  2413. // The protocol that is used by the Listener.
  2414. Protocol *string `type:"string"`
  2415. metadataListener `json:"-" xml:"-"`
  2416. }
  2417. type metadataListener struct {
  2418. SDKShapeTraits bool `type:"structure"`
  2419. }
  2420. // String returns the string representation
  2421. func (s Listener) String() string {
  2422. return awsutil.Prettify(s)
  2423. }
  2424. // GoString returns the string representation
  2425. func (s Listener) GoString() string {
  2426. return s.String()
  2427. }
  2428. // Describes a LoadBalancer.
  2429. type LoadBalancer struct {
  2430. // The name of the LoadBalancer.
  2431. Name *string `type:"string"`
  2432. metadataLoadBalancer `json:"-" xml:"-"`
  2433. }
  2434. type metadataLoadBalancer struct {
  2435. SDKShapeTraits bool `type:"structure"`
  2436. }
  2437. // String returns the string representation
  2438. func (s LoadBalancer) String() string {
  2439. return awsutil.Prettify(s)
  2440. }
  2441. // GoString returns the string representation
  2442. func (s LoadBalancer) GoString() string {
  2443. return s.String()
  2444. }
  2445. // Describes the details of a LoadBalancer.
  2446. type LoadBalancerDescription struct {
  2447. // The domain name of the LoadBalancer.
  2448. Domain *string `type:"string"`
  2449. // A list of Listeners used by the LoadBalancer.
  2450. Listeners []*Listener `type:"list"`
  2451. // The name of the LoadBalancer.
  2452. LoadBalancerName *string `type:"string"`
  2453. metadataLoadBalancerDescription `json:"-" xml:"-"`
  2454. }
  2455. type metadataLoadBalancerDescription struct {
  2456. SDKShapeTraits bool `type:"structure"`
  2457. }
  2458. // String returns the string representation
  2459. func (s LoadBalancerDescription) String() string {
  2460. return awsutil.Prettify(s)
  2461. }
  2462. // GoString returns the string representation
  2463. func (s LoadBalancerDescription) GoString() string {
  2464. return s.String()
  2465. }
  2466. // A regular expression representing a restriction on a string configuration
  2467. // option value.
  2468. type OptionRestrictionRegex struct {
  2469. // A unique name representing this regular expression.
  2470. Label *string `type:"string"`
  2471. // The regular expression pattern that a string configuration option value with
  2472. // this restriction must match.
  2473. Pattern *string `type:"string"`
  2474. metadataOptionRestrictionRegex `json:"-" xml:"-"`
  2475. }
  2476. type metadataOptionRestrictionRegex struct {
  2477. SDKShapeTraits bool `type:"structure"`
  2478. }
  2479. // String returns the string representation
  2480. func (s OptionRestrictionRegex) String() string {
  2481. return awsutil.Prettify(s)
  2482. }
  2483. // GoString returns the string representation
  2484. func (s OptionRestrictionRegex) GoString() string {
  2485. return s.String()
  2486. }
  2487. // A specification identifying an individual configuration option.
  2488. type OptionSpecification struct {
  2489. // A unique namespace identifying the option's associated AWS resource.
  2490. Namespace *string `type:"string"`
  2491. // The name of the configuration option.
  2492. OptionName *string `type:"string"`
  2493. // A unique resource name for a time-based scaling configuration option.
  2494. ResourceName *string `type:"string"`
  2495. metadataOptionSpecification `json:"-" xml:"-"`
  2496. }
  2497. type metadataOptionSpecification struct {
  2498. SDKShapeTraits bool `type:"structure"`
  2499. }
  2500. // String returns the string representation
  2501. func (s OptionSpecification) String() string {
  2502. return awsutil.Prettify(s)
  2503. }
  2504. // GoString returns the string representation
  2505. func (s OptionSpecification) GoString() string {
  2506. return s.String()
  2507. }
  2508. // Describes a queue.
  2509. type Queue struct {
  2510. // The name of the queue.
  2511. Name *string `type:"string"`
  2512. // The URL of the queue.
  2513. URL *string `type:"string"`
  2514. metadataQueue `json:"-" xml:"-"`
  2515. }
  2516. type metadataQueue struct {
  2517. SDKShapeTraits bool `type:"structure"`
  2518. }
  2519. // String returns the string representation
  2520. func (s Queue) String() string {
  2521. return awsutil.Prettify(s)
  2522. }
  2523. // GoString returns the string representation
  2524. func (s Queue) GoString() string {
  2525. return s.String()
  2526. }
  2527. type RebuildEnvironmentInput struct {
  2528. // The ID of the environment to rebuild.
  2529. //
  2530. // Condition: You must specify either this or an EnvironmentName, or both.
  2531. // If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
  2532. // error.
  2533. EnvironmentId *string `type:"string"`
  2534. // The name of the environment to rebuild.
  2535. //
  2536. // Condition: You must specify either this or an EnvironmentId, or both. If
  2537. // you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
  2538. // error.
  2539. EnvironmentName *string `type:"string"`
  2540. metadataRebuildEnvironmentInput `json:"-" xml:"-"`
  2541. }
  2542. type metadataRebuildEnvironmentInput struct {
  2543. SDKShapeTraits bool `type:"structure"`
  2544. }
  2545. // String returns the string representation
  2546. func (s RebuildEnvironmentInput) String() string {
  2547. return awsutil.Prettify(s)
  2548. }
  2549. // GoString returns the string representation
  2550. func (s RebuildEnvironmentInput) GoString() string {
  2551. return s.String()
  2552. }
  2553. type RebuildEnvironmentOutput struct {
  2554. metadataRebuildEnvironmentOutput `json:"-" xml:"-"`
  2555. }
  2556. type metadataRebuildEnvironmentOutput struct {
  2557. SDKShapeTraits bool `type:"structure"`
  2558. }
  2559. // String returns the string representation
  2560. func (s RebuildEnvironmentOutput) String() string {
  2561. return awsutil.Prettify(s)
  2562. }
  2563. // GoString returns the string representation
  2564. func (s RebuildEnvironmentOutput) GoString() string {
  2565. return s.String()
  2566. }
  2567. // This documentation target is not reported in the API reference.
  2568. type RequestEnvironmentInfoInput struct {
  2569. // The ID of the environment of the requested data.
  2570. //
  2571. // If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue
  2572. // error.
  2573. //
  2574. // Condition: You must specify either this or an EnvironmentName, or both.
  2575. // If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
  2576. // error.
  2577. EnvironmentId *string `type:"string"`
  2578. // The name of the environment of the requested data.
  2579. //
  2580. // If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue
  2581. // error.
  2582. //
  2583. // Condition: You must specify either this or an EnvironmentId, or both. If
  2584. // you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
  2585. // error.
  2586. EnvironmentName *string `type:"string"`
  2587. // The type of information to request.
  2588. InfoType *string `type:"string" required:"true" enum:"EnvironmentInfoType"`
  2589. metadataRequestEnvironmentInfoInput `json:"-" xml:"-"`
  2590. }
  2591. type metadataRequestEnvironmentInfoInput struct {
  2592. SDKShapeTraits bool `type:"structure"`
  2593. }
  2594. // String returns the string representation
  2595. func (s RequestEnvironmentInfoInput) String() string {
  2596. return awsutil.Prettify(s)
  2597. }
  2598. // GoString returns the string representation
  2599. func (s RequestEnvironmentInfoInput) GoString() string {
  2600. return s.String()
  2601. }
  2602. type RequestEnvironmentInfoOutput struct {
  2603. metadataRequestEnvironmentInfoOutput `json:"-" xml:"-"`
  2604. }
  2605. type metadataRequestEnvironmentInfoOutput struct {
  2606. SDKShapeTraits bool `type:"structure"`
  2607. }
  2608. // String returns the string representation
  2609. func (s RequestEnvironmentInfoOutput) String() string {
  2610. return awsutil.Prettify(s)
  2611. }
  2612. // GoString returns the string representation
  2613. func (s RequestEnvironmentInfoOutput) GoString() string {
  2614. return s.String()
  2615. }
  2616. type RestartAppServerInput struct {
  2617. // The ID of the environment to restart the server for.
  2618. //
  2619. // Condition: You must specify either this or an EnvironmentName, or both.
  2620. // If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
  2621. // error.
  2622. EnvironmentId *string `type:"string"`
  2623. // The name of the environment to restart the server for.
  2624. //
  2625. // Condition: You must specify either this or an EnvironmentId, or both. If
  2626. // you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
  2627. // error.
  2628. EnvironmentName *string `type:"string"`
  2629. metadataRestartAppServerInput `json:"-" xml:"-"`
  2630. }
  2631. type metadataRestartAppServerInput struct {
  2632. SDKShapeTraits bool `type:"structure"`
  2633. }
  2634. // String returns the string representation
  2635. func (s RestartAppServerInput) String() string {
  2636. return awsutil.Prettify(s)
  2637. }
  2638. // GoString returns the string representation
  2639. func (s RestartAppServerInput) GoString() string {
  2640. return s.String()
  2641. }
  2642. type RestartAppServerOutput struct {
  2643. metadataRestartAppServerOutput `json:"-" xml:"-"`
  2644. }
  2645. type metadataRestartAppServerOutput struct {
  2646. SDKShapeTraits bool `type:"structure"`
  2647. }
  2648. // String returns the string representation
  2649. func (s RestartAppServerOutput) String() string {
  2650. return awsutil.Prettify(s)
  2651. }
  2652. // GoString returns the string representation
  2653. func (s RestartAppServerOutput) GoString() string {
  2654. return s.String()
  2655. }
  2656. // This documentation target is not reported in the API reference.
  2657. type RetrieveEnvironmentInfoInput struct {
  2658. // The ID of the data's environment.
  2659. //
  2660. // If no such environment is found, returns an InvalidParameterValue error.
  2661. //
  2662. // Condition: You must specify either this or an EnvironmentName, or both.
  2663. // If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
  2664. // error.
  2665. EnvironmentId *string `type:"string"`
  2666. // The name of the data's environment.
  2667. //
  2668. // If no such environment is found, returns an InvalidParameterValue error.
  2669. //
  2670. // Condition: You must specify either this or an EnvironmentId, or both. If
  2671. // you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
  2672. // error.
  2673. EnvironmentName *string `type:"string"`
  2674. // The type of information to retrieve.
  2675. InfoType *string `type:"string" required:"true" enum:"EnvironmentInfoType"`
  2676. metadataRetrieveEnvironmentInfoInput `json:"-" xml:"-"`
  2677. }
  2678. type metadataRetrieveEnvironmentInfoInput struct {
  2679. SDKShapeTraits bool `type:"structure"`
  2680. }
  2681. // String returns the string representation
  2682. func (s RetrieveEnvironmentInfoInput) String() string {
  2683. return awsutil.Prettify(s)
  2684. }
  2685. // GoString returns the string representation
  2686. func (s RetrieveEnvironmentInfoInput) GoString() string {
  2687. return s.String()
  2688. }
  2689. // Result message containing a description of the requested environment info.
  2690. type RetrieveEnvironmentInfoOutput struct {
  2691. // The EnvironmentInfoDescription of the environment.
  2692. EnvironmentInfo []*EnvironmentInfoDescription `type:"list"`
  2693. metadataRetrieveEnvironmentInfoOutput `json:"-" xml:"-"`
  2694. }
  2695. type metadataRetrieveEnvironmentInfoOutput struct {
  2696. SDKShapeTraits bool `type:"structure"`
  2697. }
  2698. // String returns the string representation
  2699. func (s RetrieveEnvironmentInfoOutput) String() string {
  2700. return awsutil.Prettify(s)
  2701. }
  2702. // GoString returns the string representation
  2703. func (s RetrieveEnvironmentInfoOutput) GoString() string {
  2704. return s.String()
  2705. }
  2706. // A specification of a location in Amazon S3.
  2707. type S3Location struct {
  2708. // The Amazon S3 bucket where the data is located.
  2709. S3Bucket *string `type:"string"`
  2710. // The Amazon S3 key where the data is located.
  2711. S3Key *string `type:"string"`
  2712. metadataS3Location `json:"-" xml:"-"`
  2713. }
  2714. type metadataS3Location struct {
  2715. SDKShapeTraits bool `type:"structure"`
  2716. }
  2717. // String returns the string representation
  2718. func (s S3Location) String() string {
  2719. return awsutil.Prettify(s)
  2720. }
  2721. // GoString returns the string representation
  2722. func (s S3Location) GoString() string {
  2723. return s.String()
  2724. }
  2725. // Represents health information from the specified instance that belongs to
  2726. // the AWS Elastic Beanstalk environment. Use the InstanceId property to specify
  2727. // the application instance for which you'd like to return data.
  2728. type SingleInstanceHealth struct {
  2729. // Represents the application metrics for a specified environment.
  2730. ApplicationMetrics *ApplicationMetrics `type:"structure"`
  2731. // Represents the causes, which provide more information about the current health
  2732. // status.
  2733. Causes []*string `type:"list"`
  2734. // Represents the color indicator that gives you information about the health
  2735. // of the EC2 instance. For more information, see Health Colors and Statuses
  2736. // (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html).
  2737. Color *string `type:"string"`
  2738. // Returns the health status of the specified instance. For more information,
  2739. // see .
  2740. HealthStatus *string `type:"string"`
  2741. // The ID of the Amazon EC2 instance.
  2742. InstanceId *string `type:"string"`
  2743. // The time at which the EC2 instance was launched.
  2744. LaunchedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`
  2745. // Represents CPU utilization and load average information for applications
  2746. // running in the specified environment.
  2747. System *SystemStatus `type:"structure"`
  2748. metadataSingleInstanceHealth `json:"-" xml:"-"`
  2749. }
  2750. type metadataSingleInstanceHealth struct {
  2751. SDKShapeTraits bool `type:"structure"`
  2752. }
  2753. // String returns the string representation
  2754. func (s SingleInstanceHealth) String() string {
  2755. return awsutil.Prettify(s)
  2756. }
  2757. // GoString returns the string representation
  2758. func (s SingleInstanceHealth) GoString() string {
  2759. return s.String()
  2760. }
  2761. // Describes the solution stack.
  2762. type SolutionStackDescription struct {
  2763. // The permitted file types allowed for a solution stack.
  2764. PermittedFileTypes []*string `type:"list"`
  2765. // The name of the solution stack.
  2766. SolutionStackName *string `type:"string"`
  2767. metadataSolutionStackDescription `json:"-" xml:"-"`
  2768. }
  2769. type metadataSolutionStackDescription struct {
  2770. SDKShapeTraits bool `type:"structure"`
  2771. }
  2772. // String returns the string representation
  2773. func (s SolutionStackDescription) String() string {
  2774. return awsutil.Prettify(s)
  2775. }
  2776. // GoString returns the string representation
  2777. func (s SolutionStackDescription) GoString() string {
  2778. return s.String()
  2779. }
  2780. // A specification for an environment configuration
  2781. type SourceConfiguration struct {
  2782. // The name of the application associated with the configuration.
  2783. ApplicationName *string `type:"string"`
  2784. // The name of the configuration template.
  2785. TemplateName *string `type:"string"`
  2786. metadataSourceConfiguration `json:"-" xml:"-"`
  2787. }
  2788. type metadataSourceConfiguration struct {
  2789. SDKShapeTraits bool `type:"structure"`
  2790. }
  2791. // String returns the string representation
  2792. func (s SourceConfiguration) String() string {
  2793. return awsutil.Prettify(s)
  2794. }
  2795. // GoString returns the string representation
  2796. func (s SourceConfiguration) GoString() string {
  2797. return s.String()
  2798. }
  2799. // Represents the percentage of requests over the last 10 seconds that resulted
  2800. // in each type of status code response. For more information, see Status Code
  2801. // Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).
  2802. type StatusCodes struct {
  2803. // The percentage of requests over the last 10 seconds that resulted in a 2xx
  2804. // (200, 201, etc.) status code.
  2805. Status2xx *int64 `type:"integer"`
  2806. // The percentage of requests over the last 10 seconds that resulted in a 3xx
  2807. // (300, 301, etc.) status code.
  2808. Status3xx *int64 `type:"integer"`
  2809. // The percentage of requests over the last 10 seconds that resulted in a 4xx
  2810. // (400, 401, etc.) status code.
  2811. Status4xx *int64 `type:"integer"`
  2812. // The percentage of requests over the last 10 seconds that resulted in a 5xx
  2813. // (500, 501, etc.) status code.
  2814. Status5xx *int64 `type:"integer"`
  2815. metadataStatusCodes `json:"-" xml:"-"`
  2816. }
  2817. type metadataStatusCodes struct {
  2818. SDKShapeTraits bool `type:"structure"`
  2819. }
  2820. // String returns the string representation
  2821. func (s StatusCodes) String() string {
  2822. return awsutil.Prettify(s)
  2823. }
  2824. // GoString returns the string representation
  2825. func (s StatusCodes) GoString() string {
  2826. return s.String()
  2827. }
  2828. // Swaps the CNAMEs of two environments.
  2829. type SwapEnvironmentCNAMEsInput struct {
  2830. // The ID of the destination environment.
  2831. //
  2832. // Condition: You must specify at least the DestinationEnvironmentID or the
  2833. // DestinationEnvironmentName. You may also specify both. You must specify the
  2834. // SourceEnvironmentId with the DestinationEnvironmentId.
  2835. DestinationEnvironmentId *string `type:"string"`
  2836. // The name of the destination environment.
  2837. //
  2838. // Condition: You must specify at least the DestinationEnvironmentID or the
  2839. // DestinationEnvironmentName. You may also specify both. You must specify the
  2840. // SourceEnvironmentName with the DestinationEnvironmentName.
  2841. DestinationEnvironmentName *string `type:"string"`
  2842. // The ID of the source environment.
  2843. //
  2844. // Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName.
  2845. // You may also specify both. If you specify the SourceEnvironmentId, you must
  2846. // specify the DestinationEnvironmentId.
  2847. SourceEnvironmentId *string `type:"string"`
  2848. // The name of the source environment.
  2849. //
  2850. // Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName.
  2851. // You may also specify both. If you specify the SourceEnvironmentName, you
  2852. // must specify the DestinationEnvironmentName.
  2853. SourceEnvironmentName *string `type:"string"`
  2854. metadataSwapEnvironmentCNAMEsInput `json:"-" xml:"-"`
  2855. }
  2856. type metadataSwapEnvironmentCNAMEsInput struct {
  2857. SDKShapeTraits bool `type:"structure"`
  2858. }
  2859. // String returns the string representation
  2860. func (s SwapEnvironmentCNAMEsInput) String() string {
  2861. return awsutil.Prettify(s)
  2862. }
  2863. // GoString returns the string representation
  2864. func (s SwapEnvironmentCNAMEsInput) GoString() string {
  2865. return s.String()
  2866. }
  2867. type SwapEnvironmentCNAMEsOutput struct {
  2868. metadataSwapEnvironmentCNAMEsOutput `json:"-" xml:"-"`
  2869. }
  2870. type metadataSwapEnvironmentCNAMEsOutput struct {
  2871. SDKShapeTraits bool `type:"structure"`
  2872. }
  2873. // String returns the string representation
  2874. func (s SwapEnvironmentCNAMEsOutput) String() string {
  2875. return awsutil.Prettify(s)
  2876. }
  2877. // GoString returns the string representation
  2878. func (s SwapEnvironmentCNAMEsOutput) GoString() string {
  2879. return s.String()
  2880. }
  2881. // Represents CPU utilization and load average information for applications
  2882. // running in the specified environment.
  2883. type SystemStatus struct {
  2884. // Represents CPU utilization information from the specified instance that belongs
  2885. // to the AWS Elastic Beanstalk environment. Use the instanceId property to
  2886. // specify the application instance for which you'd like to return data.
  2887. CPUUtilization *CPUUtilization `type:"structure"`
  2888. // Load average in the last 1-minute and 5-minute periods. For more information,
  2889. // see Operating System Metrics (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-metrics.html#health-enhanced-metrics-os).
  2890. LoadAverage []*float64 `type:"list"`
  2891. metadataSystemStatus `json:"-" xml:"-"`
  2892. }
  2893. type metadataSystemStatus struct {
  2894. SDKShapeTraits bool `type:"structure"`
  2895. }
  2896. // String returns the string representation
  2897. func (s SystemStatus) String() string {
  2898. return awsutil.Prettify(s)
  2899. }
  2900. // GoString returns the string representation
  2901. func (s SystemStatus) GoString() string {
  2902. return s.String()
  2903. }
  2904. // Describes a tag applied to a resource in an environment.
  2905. type Tag struct {
  2906. // The key of the tag.
  2907. Key *string `type:"string"`
  2908. // The value of the tag.
  2909. Value *string `type:"string"`
  2910. metadataTag `json:"-" xml:"-"`
  2911. }
  2912. type metadataTag struct {
  2913. SDKShapeTraits bool `type:"structure"`
  2914. }
  2915. // String returns the string representation
  2916. func (s Tag) String() string {
  2917. return awsutil.Prettify(s)
  2918. }
  2919. // GoString returns the string representation
  2920. func (s Tag) GoString() string {
  2921. return s.String()
  2922. }
  2923. // This documentation target is not reported in the API reference.
  2924. type TerminateEnvironmentInput struct {
  2925. // The ID of the environment to terminate.
  2926. //
  2927. // Condition: You must specify either this or an EnvironmentName, or both.
  2928. // If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
  2929. // error.
  2930. EnvironmentId *string `type:"string"`
  2931. // The name of the environment to terminate.
  2932. //
  2933. // Condition: You must specify either this or an EnvironmentId, or both. If
  2934. // you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
  2935. // error.
  2936. EnvironmentName *string `type:"string"`
  2937. // Indicates whether the associated AWS resources should shut down when the
  2938. // environment is terminated:
  2939. //
  2940. // true: (default) The user AWS resources (for example, the Auto Scaling
  2941. // group, LoadBalancer, etc.) are terminated along with the environment.
  2942. //
  2943. // false: The environment is removed from the AWS Elastic Beanstalk but
  2944. // the AWS resources continue to operate.
  2945. //
  2946. // true: The specified environment as well as the associated AWS resources,
  2947. // such as Auto Scaling group and LoadBalancer, are terminated. false: AWS
  2948. // Elastic Beanstalk resource management is removed from the environment, but
  2949. // the AWS resources continue to operate. For more information, see the
  2950. // AWS Elastic Beanstalk User Guide. (http://docs.aws.amazon.com/elasticbeanstalk/latest/ug/)
  2951. //
  2952. // Default: true
  2953. //
  2954. // Valid Values: true | false
  2955. TerminateResources *bool `type:"boolean"`
  2956. metadataTerminateEnvironmentInput `json:"-" xml:"-"`
  2957. }
  2958. type metadataTerminateEnvironmentInput struct {
  2959. SDKShapeTraits bool `type:"structure"`
  2960. }
  2961. // String returns the string representation
  2962. func (s TerminateEnvironmentInput) String() string {
  2963. return awsutil.Prettify(s)
  2964. }
  2965. // GoString returns the string representation
  2966. func (s TerminateEnvironmentInput) GoString() string {
  2967. return s.String()
  2968. }
  2969. // Describes a trigger.
  2970. type Trigger struct {
  2971. // The name of the trigger.
  2972. Name *string `type:"string"`
  2973. metadataTrigger `json:"-" xml:"-"`
  2974. }
  2975. type metadataTrigger struct {
  2976. SDKShapeTraits bool `type:"structure"`
  2977. }
  2978. // String returns the string representation
  2979. func (s Trigger) String() string {
  2980. return awsutil.Prettify(s)
  2981. }
  2982. // GoString returns the string representation
  2983. func (s Trigger) GoString() string {
  2984. return s.String()
  2985. }
  2986. // This documentation target is not reported in the API reference.
  2987. type UpdateApplicationInput struct {
  2988. // The name of the application to update. If no such application is found, UpdateApplication
  2989. // returns an InvalidParameterValue error.
  2990. ApplicationName *string `type:"string" required:"true"`
  2991. // A new description for the application.
  2992. //
  2993. // Default: If not specified, AWS Elastic Beanstalk does not update the description.
  2994. Description *string `type:"string"`
  2995. metadataUpdateApplicationInput `json:"-" xml:"-"`
  2996. }
  2997. type metadataUpdateApplicationInput struct {
  2998. SDKShapeTraits bool `type:"structure"`
  2999. }
  3000. // String returns the string representation
  3001. func (s UpdateApplicationInput) String() string {
  3002. return awsutil.Prettify(s)
  3003. }
  3004. // GoString returns the string representation
  3005. func (s UpdateApplicationInput) GoString() string {
  3006. return s.String()
  3007. }
  3008. type UpdateApplicationVersionInput struct {
  3009. // The name of the application associated with this version.
  3010. //
  3011. // If no application is found with this name, UpdateApplication returns an
  3012. // InvalidParameterValue error.
  3013. ApplicationName *string `type:"string" required:"true"`
  3014. // A new description for this release.
  3015. Description *string `type:"string"`
  3016. // The name of the version to update.
  3017. //
  3018. // If no application version is found with this label, UpdateApplication returns
  3019. // an InvalidParameterValue error.
  3020. VersionLabel *string `type:"string" required:"true"`
  3021. metadataUpdateApplicationVersionInput `json:"-" xml:"-"`
  3022. }
  3023. type metadataUpdateApplicationVersionInput struct {
  3024. SDKShapeTraits bool `type:"structure"`
  3025. }
  3026. // String returns the string representation
  3027. func (s UpdateApplicationVersionInput) String() string {
  3028. return awsutil.Prettify(s)
  3029. }
  3030. // GoString returns the string representation
  3031. func (s UpdateApplicationVersionInput) GoString() string {
  3032. return s.String()
  3033. }
  3034. // The result message containing the options for the specified solution stack.
  3035. type UpdateConfigurationTemplateInput struct {
  3036. // The name of the application associated with the configuration template to
  3037. // update.
  3038. //
  3039. // If no application is found with this name, UpdateConfigurationTemplate
  3040. // returns an InvalidParameterValue error.
  3041. ApplicationName *string `type:"string" required:"true"`
  3042. // A new description for the configuration.
  3043. Description *string `type:"string"`
  3044. // A list of configuration option settings to update with the new specified
  3045. // option value.
  3046. OptionSettings []*ConfigurationOptionSetting `type:"list"`
  3047. // A list of configuration options to remove from the configuration set.
  3048. //
  3049. // Constraint: You can remove only UserDefined configuration options.
  3050. OptionsToRemove []*OptionSpecification `type:"list"`
  3051. // The name of the configuration template to update.
  3052. //
  3053. // If no configuration template is found with this name, UpdateConfigurationTemplate
  3054. // returns an InvalidParameterValue error.
  3055. TemplateName *string `type:"string" required:"true"`
  3056. metadataUpdateConfigurationTemplateInput `json:"-" xml:"-"`
  3057. }
  3058. type metadataUpdateConfigurationTemplateInput struct {
  3059. SDKShapeTraits bool `type:"structure"`
  3060. }
  3061. // String returns the string representation
  3062. func (s UpdateConfigurationTemplateInput) String() string {
  3063. return awsutil.Prettify(s)
  3064. }
  3065. // GoString returns the string representation
  3066. func (s UpdateConfigurationTemplateInput) GoString() string {
  3067. return s.String()
  3068. }
  3069. // This documentation target is not reported in the API reference.
  3070. type UpdateEnvironmentInput struct {
  3071. // If this parameter is specified, AWS Elastic Beanstalk updates the description
  3072. // of this environment.
  3073. Description *string `type:"string"`
  3074. // The ID of the environment to update.
  3075. //
  3076. // If no environment with this ID exists, AWS Elastic Beanstalk returns an
  3077. // InvalidParameterValue error.
  3078. //
  3079. // Condition: You must specify either this or an EnvironmentName, or both.
  3080. // If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
  3081. // error.
  3082. EnvironmentId *string `type:"string"`
  3083. // The name of the environment to update. If no environment with this name exists,
  3084. // AWS Elastic Beanstalk returns an InvalidParameterValue error.
  3085. //
  3086. // Condition: You must specify either this or an EnvironmentId, or both. If
  3087. // you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
  3088. // error.
  3089. EnvironmentName *string `type:"string"`
  3090. // If specified, AWS Elastic Beanstalk updates the configuration set associated
  3091. // with the running environment and sets the specified configuration options
  3092. // to the requested value.
  3093. OptionSettings []*ConfigurationOptionSetting `type:"list"`
  3094. // A list of custom user-defined configuration options to remove from the configuration
  3095. // set for this environment.
  3096. OptionsToRemove []*OptionSpecification `type:"list"`
  3097. // This specifies the platform version that the environment will run after the
  3098. // environment is updated.
  3099. SolutionStackName *string `type:"string"`
  3100. // If this parameter is specified, AWS Elastic Beanstalk deploys this configuration
  3101. // template to the environment. If no such configuration template is found,
  3102. // AWS Elastic Beanstalk returns an InvalidParameterValue error.
  3103. TemplateName *string `type:"string"`
  3104. // This specifies the tier to use to update the environment.
  3105. //
  3106. // Condition: At this time, if you change the tier version, name, or type,
  3107. // AWS Elastic Beanstalk returns InvalidParameterValue error.
  3108. Tier *EnvironmentTier `type:"structure"`
  3109. // If this parameter is specified, AWS Elastic Beanstalk deploys the named application
  3110. // version to the environment. If no such application version is found, returns
  3111. // an InvalidParameterValue error.
  3112. VersionLabel *string `type:"string"`
  3113. metadataUpdateEnvironmentInput `json:"-" xml:"-"`
  3114. }
  3115. type metadataUpdateEnvironmentInput struct {
  3116. SDKShapeTraits bool `type:"structure"`
  3117. }
  3118. // String returns the string representation
  3119. func (s UpdateEnvironmentInput) String() string {
  3120. return awsutil.Prettify(s)
  3121. }
  3122. // GoString returns the string representation
  3123. func (s UpdateEnvironmentInput) GoString() string {
  3124. return s.String()
  3125. }
  3126. // A list of validation messages for a specified configuration template.
  3127. type ValidateConfigurationSettingsInput struct {
  3128. // The name of the application that the configuration template or environment
  3129. // belongs to.
  3130. ApplicationName *string `type:"string" required:"true"`
  3131. // The name of the environment to validate the settings against.
  3132. //
  3133. // Condition: You cannot specify both this and a configuration template name.
  3134. EnvironmentName *string `type:"string"`
  3135. // A list of the options and desired values to evaluate.
  3136. OptionSettings []*ConfigurationOptionSetting `type:"list" required:"true"`
  3137. // The name of the configuration template to validate the settings against.
  3138. //
  3139. // Condition: You cannot specify both this and an environment name.
  3140. TemplateName *string `type:"string"`
  3141. metadataValidateConfigurationSettingsInput `json:"-" xml:"-"`
  3142. }
  3143. type metadataValidateConfigurationSettingsInput struct {
  3144. SDKShapeTraits bool `type:"structure"`
  3145. }
  3146. // String returns the string representation
  3147. func (s ValidateConfigurationSettingsInput) String() string {
  3148. return awsutil.Prettify(s)
  3149. }
  3150. // GoString returns the string representation
  3151. func (s ValidateConfigurationSettingsInput) GoString() string {
  3152. return s.String()
  3153. }
  3154. // Provides a list of validation messages.
  3155. type ValidateConfigurationSettingsOutput struct {
  3156. // A list of ValidationMessage.
  3157. Messages []*ValidationMessage `type:"list"`
  3158. metadataValidateConfigurationSettingsOutput `json:"-" xml:"-"`
  3159. }
  3160. type metadataValidateConfigurationSettingsOutput struct {
  3161. SDKShapeTraits bool `type:"structure"`
  3162. }
  3163. // String returns the string representation
  3164. func (s ValidateConfigurationSettingsOutput) String() string {
  3165. return awsutil.Prettify(s)
  3166. }
  3167. // GoString returns the string representation
  3168. func (s ValidateConfigurationSettingsOutput) GoString() string {
  3169. return s.String()
  3170. }
  3171. // An error or warning for a desired configuration option value.
  3172. type ValidationMessage struct {
  3173. // A message describing the error or warning.
  3174. Message *string `type:"string"`
  3175. Namespace *string `type:"string"`
  3176. OptionName *string `type:"string"`
  3177. // An indication of the severity of this message:
  3178. //
  3179. // error: This message indicates that this is not a valid setting for an
  3180. // option.
  3181. //
  3182. // warning: This message is providing information you should take into account.
  3183. //
  3184. // error: This message indicates that this is not a valid setting for an
  3185. // option. warning: This message is providing information you should take
  3186. // into account.
  3187. Severity *string `type:"string" enum:"ValidationSeverity"`
  3188. metadataValidationMessage `json:"-" xml:"-"`
  3189. }
  3190. type metadataValidationMessage struct {
  3191. SDKShapeTraits bool `type:"structure"`
  3192. }
  3193. // String returns the string representation
  3194. func (s ValidationMessage) String() string {
  3195. return awsutil.Prettify(s)
  3196. }
  3197. // GoString returns the string representation
  3198. func (s ValidationMessage) GoString() string {
  3199. return s.String()
  3200. }
  3201. const (
  3202. // @enum ConfigurationDeploymentStatus
  3203. ConfigurationDeploymentStatusDeployed = "deployed"
  3204. // @enum ConfigurationDeploymentStatus
  3205. ConfigurationDeploymentStatusPending = "pending"
  3206. // @enum ConfigurationDeploymentStatus
  3207. ConfigurationDeploymentStatusFailed = "failed"
  3208. )
  3209. const (
  3210. // @enum ConfigurationOptionValueType
  3211. ConfigurationOptionValueTypeScalar = "Scalar"
  3212. // @enum ConfigurationOptionValueType
  3213. ConfigurationOptionValueTypeList = "List"
  3214. )
  3215. const (
  3216. // @enum EnvironmentHealth
  3217. EnvironmentHealthGreen = "Green"
  3218. // @enum EnvironmentHealth
  3219. EnvironmentHealthYellow = "Yellow"
  3220. // @enum EnvironmentHealth
  3221. EnvironmentHealthRed = "Red"
  3222. // @enum EnvironmentHealth
  3223. EnvironmentHealthGrey = "Grey"
  3224. )
  3225. const (
  3226. // @enum EnvironmentHealthAttribute
  3227. EnvironmentHealthAttributeStatus = "Status"
  3228. // @enum EnvironmentHealthAttribute
  3229. EnvironmentHealthAttributeColor = "Color"
  3230. // @enum EnvironmentHealthAttribute
  3231. EnvironmentHealthAttributeCauses = "Causes"
  3232. // @enum EnvironmentHealthAttribute
  3233. EnvironmentHealthAttributeApplicationMetrics = "ApplicationMetrics"
  3234. // @enum EnvironmentHealthAttribute
  3235. EnvironmentHealthAttributeInstancesHealth = "InstancesHealth"
  3236. // @enum EnvironmentHealthAttribute
  3237. EnvironmentHealthAttributeAll = "All"
  3238. // @enum EnvironmentHealthAttribute
  3239. EnvironmentHealthAttributeHealthStatus = "HealthStatus"
  3240. // @enum EnvironmentHealthAttribute
  3241. EnvironmentHealthAttributeRefreshedAt = "RefreshedAt"
  3242. )
  3243. const (
  3244. // @enum EnvironmentHealthStatus
  3245. EnvironmentHealthStatusNoData = "NoData"
  3246. // @enum EnvironmentHealthStatus
  3247. EnvironmentHealthStatusUnknown = "Unknown"
  3248. // @enum EnvironmentHealthStatus
  3249. EnvironmentHealthStatusPending = "Pending"
  3250. // @enum EnvironmentHealthStatus
  3251. EnvironmentHealthStatusOk = "Ok"
  3252. // @enum EnvironmentHealthStatus
  3253. EnvironmentHealthStatusInfo = "Info"
  3254. // @enum EnvironmentHealthStatus
  3255. EnvironmentHealthStatusWarning = "Warning"
  3256. // @enum EnvironmentHealthStatus
  3257. EnvironmentHealthStatusDegraded = "Degraded"
  3258. // @enum EnvironmentHealthStatus
  3259. EnvironmentHealthStatusSevere = "Severe"
  3260. )
  3261. const (
  3262. // @enum EnvironmentInfoType
  3263. EnvironmentInfoTypeTail = "tail"
  3264. // @enum EnvironmentInfoType
  3265. EnvironmentInfoTypeBundle = "bundle"
  3266. )
  3267. const (
  3268. // @enum EnvironmentStatus
  3269. EnvironmentStatusLaunching = "Launching"
  3270. // @enum EnvironmentStatus
  3271. EnvironmentStatusUpdating = "Updating"
  3272. // @enum EnvironmentStatus
  3273. EnvironmentStatusReady = "Ready"
  3274. // @enum EnvironmentStatus
  3275. EnvironmentStatusTerminating = "Terminating"
  3276. // @enum EnvironmentStatus
  3277. EnvironmentStatusTerminated = "Terminated"
  3278. )
  3279. const (
  3280. // @enum EventSeverity
  3281. EventSeverityTrace = "TRACE"
  3282. // @enum EventSeverity
  3283. EventSeverityDebug = "DEBUG"
  3284. // @enum EventSeverity
  3285. EventSeverityInfo = "INFO"
  3286. // @enum EventSeverity
  3287. EventSeverityWarn = "WARN"
  3288. // @enum EventSeverity
  3289. EventSeverityError = "ERROR"
  3290. // @enum EventSeverity
  3291. EventSeverityFatal = "FATAL"
  3292. )
  3293. const (
  3294. // @enum InstancesHealthAttribute
  3295. InstancesHealthAttributeHealthStatus = "HealthStatus"
  3296. // @enum InstancesHealthAttribute
  3297. InstancesHealthAttributeColor = "Color"
  3298. // @enum InstancesHealthAttribute
  3299. InstancesHealthAttributeCauses = "Causes"
  3300. // @enum InstancesHealthAttribute
  3301. InstancesHealthAttributeApplicationMetrics = "ApplicationMetrics"
  3302. // @enum InstancesHealthAttribute
  3303. InstancesHealthAttributeRefreshedAt = "RefreshedAt"
  3304. // @enum InstancesHealthAttribute
  3305. InstancesHealthAttributeLaunchedAt = "LaunchedAt"
  3306. // @enum InstancesHealthAttribute
  3307. InstancesHealthAttributeSystem = "System"
  3308. // @enum InstancesHealthAttribute
  3309. InstancesHealthAttributeAll = "All"
  3310. )
  3311. const (
  3312. // @enum ValidationSeverity
  3313. ValidationSeverityError = "error"
  3314. // @enum ValidationSeverity
  3315. ValidationSeverityWarning = "warning"
  3316. )