| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930 |
- // THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
- // Package servicecatalog provides a client for AWS Service Catalog.
- package servicecatalog
- import (
- "fmt"
- "time"
- "github.com/aws/aws-sdk-go/aws/awsutil"
- "github.com/aws/aws-sdk-go/aws/request"
- )
- const opDescribeProduct = "DescribeProduct"
- // DescribeProductRequest generates a "aws/request.Request" representing the
- // client's request for the DescribeProduct operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the DescribeProduct method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the DescribeProductRequest method.
- // req, resp := client.DescribeProductRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *ServiceCatalog) DescribeProductRequest(input *DescribeProductInput) (req *request.Request, output *DescribeProductOutput) {
- op := &request.Operation{
- Name: opDescribeProduct,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &DescribeProductInput{}
- }
- req = c.newRequest(op, input, output)
- output = &DescribeProductOutput{}
- req.Data = output
- return
- }
- // Retrieves information about a specified product.
- //
- // This operation is functionally identical to DescribeProductView except that
- // it takes as input ProductId instead of ProductViewId.
- func (c *ServiceCatalog) DescribeProduct(input *DescribeProductInput) (*DescribeProductOutput, error) {
- req, out := c.DescribeProductRequest(input)
- err := req.Send()
- return out, err
- }
- const opDescribeProductView = "DescribeProductView"
- // DescribeProductViewRequest generates a "aws/request.Request" representing the
- // client's request for the DescribeProductView operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the DescribeProductView method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the DescribeProductViewRequest method.
- // req, resp := client.DescribeProductViewRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *ServiceCatalog) DescribeProductViewRequest(input *DescribeProductViewInput) (req *request.Request, output *DescribeProductViewOutput) {
- op := &request.Operation{
- Name: opDescribeProductView,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &DescribeProductViewInput{}
- }
- req = c.newRequest(op, input, output)
- output = &DescribeProductViewOutput{}
- req.Data = output
- return
- }
- // Retrieves information about a specified product.
- //
- // This operation is functionally identical to DescribeProduct except that
- // it takes as input ProductViewId instead of ProductId.
- func (c *ServiceCatalog) DescribeProductView(input *DescribeProductViewInput) (*DescribeProductViewOutput, error) {
- req, out := c.DescribeProductViewRequest(input)
- err := req.Send()
- return out, err
- }
- const opDescribeProvisioningParameters = "DescribeProvisioningParameters"
- // DescribeProvisioningParametersRequest generates a "aws/request.Request" representing the
- // client's request for the DescribeProvisioningParameters operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the DescribeProvisioningParameters method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the DescribeProvisioningParametersRequest method.
- // req, resp := client.DescribeProvisioningParametersRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *ServiceCatalog) DescribeProvisioningParametersRequest(input *DescribeProvisioningParametersInput) (req *request.Request, output *DescribeProvisioningParametersOutput) {
- op := &request.Operation{
- Name: opDescribeProvisioningParameters,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &DescribeProvisioningParametersInput{}
- }
- req = c.newRequest(op, input, output)
- output = &DescribeProvisioningParametersOutput{}
- req.Data = output
- return
- }
- // Provides information about parameters required to provision a specified product
- // in a specified manner. Use this operation to obtain the list of ProvisioningArtifactParameters
- // parameters available to call the ProvisionProduct operation for the specified
- // product.
- func (c *ServiceCatalog) DescribeProvisioningParameters(input *DescribeProvisioningParametersInput) (*DescribeProvisioningParametersOutput, error) {
- req, out := c.DescribeProvisioningParametersRequest(input)
- err := req.Send()
- return out, err
- }
- const opDescribeRecord = "DescribeRecord"
- // DescribeRecordRequest generates a "aws/request.Request" representing the
- // client's request for the DescribeRecord operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the DescribeRecord method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the DescribeRecordRequest method.
- // req, resp := client.DescribeRecordRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *ServiceCatalog) DescribeRecordRequest(input *DescribeRecordInput) (req *request.Request, output *DescribeRecordOutput) {
- op := &request.Operation{
- Name: opDescribeRecord,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &DescribeRecordInput{}
- }
- req = c.newRequest(op, input, output)
- output = &DescribeRecordOutput{}
- req.Data = output
- return
- }
- // Retrieves a paginated list of the full details of a specific request. Use
- // this operation after calling a request operation (ProvisionProduct, TerminateProvisionedProduct,
- // or UpdateProvisionedProduct).
- func (c *ServiceCatalog) DescribeRecord(input *DescribeRecordInput) (*DescribeRecordOutput, error) {
- req, out := c.DescribeRecordRequest(input)
- err := req.Send()
- return out, err
- }
- const opListLaunchPaths = "ListLaunchPaths"
- // ListLaunchPathsRequest generates a "aws/request.Request" representing the
- // client's request for the ListLaunchPaths operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the ListLaunchPaths method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the ListLaunchPathsRequest method.
- // req, resp := client.ListLaunchPathsRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *ServiceCatalog) ListLaunchPathsRequest(input *ListLaunchPathsInput) (req *request.Request, output *ListLaunchPathsOutput) {
- op := &request.Operation{
- Name: opListLaunchPaths,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &ListLaunchPathsInput{}
- }
- req = c.newRequest(op, input, output)
- output = &ListLaunchPathsOutput{}
- req.Data = output
- return
- }
- // Returns a paginated list of all paths to a specified product. A path is how
- // the user has access to a specified product, and is necessary when provisioning
- // a product. A path also determines the constraints put on the product.
- func (c *ServiceCatalog) ListLaunchPaths(input *ListLaunchPathsInput) (*ListLaunchPathsOutput, error) {
- req, out := c.ListLaunchPathsRequest(input)
- err := req.Send()
- return out, err
- }
- const opListRecordHistory = "ListRecordHistory"
- // ListRecordHistoryRequest generates a "aws/request.Request" representing the
- // client's request for the ListRecordHistory operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the ListRecordHistory method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the ListRecordHistoryRequest method.
- // req, resp := client.ListRecordHistoryRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *ServiceCatalog) ListRecordHistoryRequest(input *ListRecordHistoryInput) (req *request.Request, output *ListRecordHistoryOutput) {
- op := &request.Operation{
- Name: opListRecordHistory,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &ListRecordHistoryInput{}
- }
- req = c.newRequest(op, input, output)
- output = &ListRecordHistoryOutput{}
- req.Data = output
- return
- }
- // Returns a paginated list of all performed requests, in the form of RecordDetails
- // objects that are filtered as specified.
- func (c *ServiceCatalog) ListRecordHistory(input *ListRecordHistoryInput) (*ListRecordHistoryOutput, error) {
- req, out := c.ListRecordHistoryRequest(input)
- err := req.Send()
- return out, err
- }
- const opProvisionProduct = "ProvisionProduct"
- // ProvisionProductRequest generates a "aws/request.Request" representing the
- // client's request for the ProvisionProduct operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the ProvisionProduct method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the ProvisionProductRequest method.
- // req, resp := client.ProvisionProductRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *ServiceCatalog) ProvisionProductRequest(input *ProvisionProductInput) (req *request.Request, output *ProvisionProductOutput) {
- op := &request.Operation{
- Name: opProvisionProduct,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &ProvisionProductInput{}
- }
- req = c.newRequest(op, input, output)
- output = &ProvisionProductOutput{}
- req.Data = output
- return
- }
- // Requests a Provision of a specified product. A ProvisionedProduct is a resourced
- // instance for a product. For example, provisioning a CloudFormation-template-backed
- // product results in launching a CloudFormation stack and all the underlying
- // resources that come with it.
- //
- // You can check the status of this request using the DescribeRecord operation.
- func (c *ServiceCatalog) ProvisionProduct(input *ProvisionProductInput) (*ProvisionProductOutput, error) {
- req, out := c.ProvisionProductRequest(input)
- err := req.Send()
- return out, err
- }
- const opScanProvisionedProducts = "ScanProvisionedProducts"
- // ScanProvisionedProductsRequest generates a "aws/request.Request" representing the
- // client's request for the ScanProvisionedProducts operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the ScanProvisionedProducts method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the ScanProvisionedProductsRequest method.
- // req, resp := client.ScanProvisionedProductsRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *ServiceCatalog) ScanProvisionedProductsRequest(input *ScanProvisionedProductsInput) (req *request.Request, output *ScanProvisionedProductsOutput) {
- op := &request.Operation{
- Name: opScanProvisionedProducts,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &ScanProvisionedProductsInput{}
- }
- req = c.newRequest(op, input, output)
- output = &ScanProvisionedProductsOutput{}
- req.Data = output
- return
- }
- // Returns a paginated list of all the ProvisionedProduct objects that are currently
- // available (not terminated).
- func (c *ServiceCatalog) ScanProvisionedProducts(input *ScanProvisionedProductsInput) (*ScanProvisionedProductsOutput, error) {
- req, out := c.ScanProvisionedProductsRequest(input)
- err := req.Send()
- return out, err
- }
- const opSearchProducts = "SearchProducts"
- // SearchProductsRequest generates a "aws/request.Request" representing the
- // client's request for the SearchProducts operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the SearchProducts method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the SearchProductsRequest method.
- // req, resp := client.SearchProductsRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *ServiceCatalog) SearchProductsRequest(input *SearchProductsInput) (req *request.Request, output *SearchProductsOutput) {
- op := &request.Operation{
- Name: opSearchProducts,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &SearchProductsInput{}
- }
- req = c.newRequest(op, input, output)
- output = &SearchProductsOutput{}
- req.Data = output
- return
- }
- // Returns a paginated list all of the Products objects to which the caller
- // has access.
- //
- // The output of this operation can be used as input for other operations,
- // such as DescribeProductView.
- func (c *ServiceCatalog) SearchProducts(input *SearchProductsInput) (*SearchProductsOutput, error) {
- req, out := c.SearchProductsRequest(input)
- err := req.Send()
- return out, err
- }
- const opTerminateProvisionedProduct = "TerminateProvisionedProduct"
- // TerminateProvisionedProductRequest generates a "aws/request.Request" representing the
- // client's request for the TerminateProvisionedProduct operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the TerminateProvisionedProduct method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the TerminateProvisionedProductRequest method.
- // req, resp := client.TerminateProvisionedProductRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *ServiceCatalog) TerminateProvisionedProductRequest(input *TerminateProvisionedProductInput) (req *request.Request, output *TerminateProvisionedProductOutput) {
- op := &request.Operation{
- Name: opTerminateProvisionedProduct,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &TerminateProvisionedProductInput{}
- }
- req = c.newRequest(op, input, output)
- output = &TerminateProvisionedProductOutput{}
- req.Data = output
- return
- }
- // Requests termination of an existing ProvisionedProduct object. If there are
- // Tags associated with the object, they are terminated when the ProvisionedProduct
- // object is terminated.
- //
- // This operation does not delete any records associated with the ProvisionedProduct
- // object.
- //
- // You can check the status of this request using the DescribeRecord operation.
- func (c *ServiceCatalog) TerminateProvisionedProduct(input *TerminateProvisionedProductInput) (*TerminateProvisionedProductOutput, error) {
- req, out := c.TerminateProvisionedProductRequest(input)
- err := req.Send()
- return out, err
- }
- const opUpdateProvisionedProduct = "UpdateProvisionedProduct"
- // UpdateProvisionedProductRequest generates a "aws/request.Request" representing the
- // client's request for the UpdateProvisionedProduct operation. The "output" return
- // value can be used to capture response data after the request's "Send" method
- // is called.
- //
- // Creating a request object using this method should be used when you want to inject
- // custom logic into the request's lifecycle using a custom handler, or if you want to
- // access properties on the request object before or after sending the request. If
- // you just want the service response, call the UpdateProvisionedProduct method directly
- // instead.
- //
- // Note: You must call the "Send" method on the returned request object in order
- // to execute the request.
- //
- // // Example sending a request using the UpdateProvisionedProductRequest method.
- // req, resp := client.UpdateProvisionedProductRequest(params)
- //
- // err := req.Send()
- // if err == nil { // resp is now filled
- // fmt.Println(resp)
- // }
- //
- func (c *ServiceCatalog) UpdateProvisionedProductRequest(input *UpdateProvisionedProductInput) (req *request.Request, output *UpdateProvisionedProductOutput) {
- op := &request.Operation{
- Name: opUpdateProvisionedProduct,
- HTTPMethod: "POST",
- HTTPPath: "/",
- }
- if input == nil {
- input = &UpdateProvisionedProductInput{}
- }
- req = c.newRequest(op, input, output)
- output = &UpdateProvisionedProductOutput{}
- req.Data = output
- return
- }
- // Requests updates to the configuration of an existing ProvisionedProduct object.
- // If there are tags associated with the object, they cannot be updated or added
- // with this operation. Depending on the specific updates requested, this operation
- // may update with no interruption, with some interruption, or replace the ProvisionedProduct
- // object entirely.
- //
- // You can check the status of this request using the DescribeRecord operation.
- func (c *ServiceCatalog) UpdateProvisionedProduct(input *UpdateProvisionedProductInput) (*UpdateProvisionedProductOutput, error) {
- req, out := c.UpdateProvisionedProductRequest(input)
- err := req.Send()
- return out, err
- }
- // An administrator-specified constraint to apply when provisioning a product.
- type ConstraintSummary struct {
- _ struct{} `type:"structure"`
- // The text description of the constraint.
- Description *string `type:"string"`
- // The type of the constraint.
- Type *string `type:"string"`
- }
- // String returns the string representation
- func (s ConstraintSummary) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ConstraintSummary) GoString() string {
- return s.String()
- }
- type DescribeProductInput struct {
- _ struct{} `type:"structure"`
- // Optional language code. Supported language codes are as follows:
- //
- // "en" (English)
- //
- // "jp" (Japanese)
- //
- // "zh" (Chinese)
- //
- // If no code is specified, "en" is used as the default.
- AcceptLanguage *string `type:"string"`
- // The ProductId of the product to describe.
- Id *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s DescribeProductInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeProductInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DescribeProductInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeProductInput"}
- if s.Id == nil {
- invalidParams.Add(request.NewErrParamRequired("Id"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- type DescribeProductOutput struct {
- _ struct{} `type:"structure"`
- // The summary metadata about the specified product.
- ProductViewSummary *ProductViewSummary `type:"structure"`
- // A list of provisioning artifact objects for the specified product. The ProvisioningArtifacts
- // parameter represent the ways the specified product can be provisioned.
- ProvisioningArtifacts []*ProvisioningArtifact `type:"list"`
- }
- // String returns the string representation
- func (s DescribeProductOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeProductOutput) GoString() string {
- return s.String()
- }
- type DescribeProductViewInput struct {
- _ struct{} `type:"structure"`
- // Optional language code. Supported language codes are as follows:
- //
- // "en" (English)
- //
- // "jp" (Japanese)
- //
- // "zh" (Chinese)
- //
- // If no code is specified, "en" is used as the default.
- AcceptLanguage *string `type:"string"`
- // The ProductViewId of the product to describe.
- Id *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s DescribeProductViewInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeProductViewInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DescribeProductViewInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeProductViewInput"}
- if s.Id == nil {
- invalidParams.Add(request.NewErrParamRequired("Id"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- type DescribeProductViewOutput struct {
- _ struct{} `type:"structure"`
- // The summary metadata about the specified product.
- ProductViewSummary *ProductViewSummary `type:"structure"`
- // A list of provisioning artifact objects for the specified product. The ProvisioningArtifacts
- // represent the ways in which the specified product can be provisioned.
- ProvisioningArtifacts []*ProvisioningArtifact `type:"list"`
- }
- // String returns the string representation
- func (s DescribeProductViewOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeProductViewOutput) GoString() string {
- return s.String()
- }
- type DescribeProvisioningParametersInput struct {
- _ struct{} `type:"structure"`
- // Optional language code. Supported language codes are as follows:
- //
- // "en" (English)
- //
- // "jp" (Japanese)
- //
- // "zh" (Chinese)
- //
- // If no code is specified, "en" is used as the default.
- AcceptLanguage *string `type:"string"`
- // The identifier of the path for this product's provisioning. This value is
- // optional if the product has a default path, and is required if there is more
- // than one path for the specified product.
- PathId *string `type:"string"`
- // The identifier of the product.
- ProductId *string `type:"string" required:"true"`
- // The provisioning artifact identifier for this product.
- ProvisioningArtifactId *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s DescribeProvisioningParametersInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeProvisioningParametersInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DescribeProvisioningParametersInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeProvisioningParametersInput"}
- if s.ProductId == nil {
- invalidParams.Add(request.NewErrParamRequired("ProductId"))
- }
- if s.ProvisioningArtifactId == nil {
- invalidParams.Add(request.NewErrParamRequired("ProvisioningArtifactId"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- type DescribeProvisioningParametersOutput struct {
- _ struct{} `type:"structure"`
- // The list of constraint summaries that apply to provisioning this product.
- ConstraintSummaries []*ConstraintSummary `type:"list"`
- // The list of parameters used to successfully provision the product. Each parameter
- // includes a list of allowable values and additional metadata about each parameter.
- ProvisioningArtifactParameters []*ProvisioningArtifactParameter `type:"list"`
- // Any additional metadata specifically related to the provisioning of the product.
- // For example, see the Version field of the CloudFormation template.
- UsageInstructions []*UsageInstruction `type:"list"`
- }
- // String returns the string representation
- func (s DescribeProvisioningParametersOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeProvisioningParametersOutput) GoString() string {
- return s.String()
- }
- type DescribeRecordInput struct {
- _ struct{} `type:"structure"`
- // Optional language code. Supported language codes are as follows:
- //
- // "en" (English)
- //
- // "jp" (Japanese)
- //
- // "zh" (Chinese)
- //
- // If no code is specified, "en" is used as the default.
- AcceptLanguage *string `type:"string"`
- // The record identifier of the ProvisionedProduct object for which to retrieve
- // output information. This is the RecordDetail.RecordId obtained from the request
- // operation's response.
- Id *string `type:"string" required:"true"`
- // The maximum number of items to return in the results. If more results exist
- // than fit in the specified PageSize, the value of NextPageToken in the response
- // is non-null.
- PageSize *int64 `type:"integer"`
- // The page token of the first page retrieve. If null, this retrieves the first
- // page of size PageSize.
- PageToken *string `type:"string"`
- }
- // String returns the string representation
- func (s DescribeRecordInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeRecordInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *DescribeRecordInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeRecordInput"}
- if s.Id == nil {
- invalidParams.Add(request.NewErrParamRequired("Id"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- type DescribeRecordOutput struct {
- _ struct{} `type:"structure"`
- // The page token to use to retrieve the next page of results for this operation.
- // If there are no more pages, this value is null.
- NextPageToken *string `type:"string"`
- // Detailed record information for the specified product.
- RecordDetail *RecordDetail `type:"structure"`
- // A list of outputs for the specified Product object created as the result
- // of a request. For example, a CloudFormation-backed product that creates an
- // S3 bucket would have an output for the S3 bucket URL.
- RecordOutputs []*RecordOutput `type:"list"`
- }
- // String returns the string representation
- func (s DescribeRecordOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s DescribeRecordOutput) GoString() string {
- return s.String()
- }
- // Summary information about a path for a user to have access to a specified
- // product.
- type LaunchPathSummary struct {
- _ struct{} `type:"structure"`
- // List of constraints on the portfolio-product relationship.
- ConstraintSummaries []*ConstraintSummary `type:"list"`
- // The unique identifier of the product path.
- Id *string `type:"string"`
- // Corresponds to the name of the portfolio to which the user was assigned.
- Name *string `type:"string"`
- // List of tags used by this launch path.
- Tags []*Tag `type:"list"`
- }
- // String returns the string representation
- func (s LaunchPathSummary) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s LaunchPathSummary) GoString() string {
- return s.String()
- }
- type ListLaunchPathsInput struct {
- _ struct{} `type:"structure"`
- // Optional language code. Supported language codes are as follows:
- //
- // "en" (English)
- //
- // "jp" (Japanese)
- //
- // "zh" (Chinese)
- //
- // If no code is specified, "en" is used as the default.
- AcceptLanguage *string `type:"string"`
- // The maximum number of items to return in the results. If more results exist
- // than fit in the specified PageSize, the value of NextPageToken in the response
- // is non-null.
- PageSize *int64 `type:"integer"`
- // The page token of the first page retrieve. If null, this retrieves the first
- // page of size PageSize.
- PageToken *string `type:"string"`
- // Identifies the product for which to retrieve LaunchPathSummaries information.
- ProductId *string `type:"string" required:"true"`
- }
- // String returns the string representation
- func (s ListLaunchPathsInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListLaunchPathsInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *ListLaunchPathsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListLaunchPathsInput"}
- if s.ProductId == nil {
- invalidParams.Add(request.NewErrParamRequired("ProductId"))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- type ListLaunchPathsOutput struct {
- _ struct{} `type:"structure"`
- // List of launch path information summaries for the specified PageToken.
- LaunchPathSummaries []*LaunchPathSummary `type:"list"`
- // The page token to use to retrieve the next page of results for this operation.
- // If there are no more pages, this value is null.
- NextPageToken *string `type:"string"`
- }
- // String returns the string representation
- func (s ListLaunchPathsOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListLaunchPathsOutput) GoString() string {
- return s.String()
- }
- type ListRecordHistoryInput struct {
- _ struct{} `type:"structure"`
- // Optional language code. Supported language codes are as follows:
- //
- // "en" (English)
- //
- // "jp" (Japanese)
- //
- // "zh" (Chinese)
- //
- // If no code is specified, "en" is used as the default.
- AcceptLanguage *string `type:"string"`
- // The maximum number of items to return in the results. If more results exist
- // than fit in the specified PageSize, the value of NextPageToken in the response
- // is non-null.
- PageSize *int64 `type:"integer"`
- // The page token of the first page retrieve. If null, this retrieves the first
- // page of size PageSize.
- PageToken *string `type:"string"`
- // (Optional) The filter to limit search results.
- SearchFilter *ListRecordHistorySearchFilter `type:"structure"`
- }
- // String returns the string representation
- func (s ListRecordHistoryInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListRecordHistoryInput) GoString() string {
- return s.String()
- }
- type ListRecordHistoryOutput struct {
- _ struct{} `type:"structure"`
- // The page token to use to retrieve the next page of results for this operation.
- // If there are no more pages, this value is null.
- NextPageToken *string `type:"string"`
- // A list of record detail objects, listed in reverse chronological order.
- RecordDetails []*RecordDetail `type:"list"`
- }
- // String returns the string representation
- func (s ListRecordHistoryOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListRecordHistoryOutput) GoString() string {
- return s.String()
- }
- // The search filter to limit results when listing request history records.
- type ListRecordHistorySearchFilter struct {
- _ struct{} `type:"structure"`
- // The filter key.
- Key *string `type:"string"`
- // The filter value for Key.
- Value *string `type:"string"`
- }
- // String returns the string representation
- func (s ListRecordHistorySearchFilter) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ListRecordHistorySearchFilter) GoString() string {
- return s.String()
- }
- // The constraints that the administrator has put on the parameter.
- type ParameterConstraints struct {
- _ struct{} `type:"structure"`
- // The values that the administrator has allowed for the parameter.
- AllowedValues []*string `type:"list"`
- }
- // String returns the string representation
- func (s ParameterConstraints) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ParameterConstraints) GoString() string {
- return s.String()
- }
- // A single product view aggregation value/count pair, containing metadata about
- // each product to which the calling user has access.
- type ProductViewAggregationValue struct {
- _ struct{} `type:"structure"`
- // An approximate count of the products that match the value.
- ApproximateCount *int64 `type:"integer"`
- // The value of the product view aggregation.
- Value *string `type:"string"`
- }
- // String returns the string representation
- func (s ProductViewAggregationValue) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ProductViewAggregationValue) GoString() string {
- return s.String()
- }
- // The summary metadata about the specified product.
- type ProductViewSummary struct {
- _ struct{} `type:"structure"`
- // The distributor of the product. Contact the product administrator for the
- // significance of this value.
- Distributor *string `type:"string"`
- // A value of false indicates that the product does not have a default path,
- // while a value of true indicates that it does. If it's false, call ListLaunchPaths
- // to disambiguate between paths. If true, ListLaunchPaths is not required,
- // and the output of the ProductViewSummary operation can be used directly with
- // DescribeProvisioningParameters.
- HasDefaultPath *bool `type:"boolean"`
- // The product view identifier.
- Id *string `type:"string"`
- // The name of the product.
- Name *string `type:"string"`
- // The owner of the product. Contact the product administrator for the significance
- // of this value.
- Owner *string `type:"string"`
- // The product identifier.
- ProductId *string `type:"string"`
- // Short description of the product.
- ShortDescription *string `type:"string"`
- // The description of the support for this Product.
- SupportDescription *string `type:"string"`
- // The email contact information to obtain support for this Product.
- SupportEmail *string `type:"string"`
- // The URL information to obtain support for this Product.
- SupportUrl *string `type:"string"`
- // The product type. Contact the product administrator for the significance
- // of this value.
- Type *string `type:"string"`
- }
- // String returns the string representation
- func (s ProductViewSummary) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ProductViewSummary) GoString() string {
- return s.String()
- }
- type ProvisionProductInput struct {
- _ struct{} `type:"structure"`
- // Optional language code. Supported language codes are as follows:
- //
- // "en" (English)
- //
- // "jp" (Japanese)
- //
- // "zh" (Chinese)
- //
- // If no code is specified, "en" is used as the default.
- AcceptLanguage *string `type:"string"`
- // Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related
- // events.
- NotificationArns []*string `type:"list"`
- // The identifier of the path for this product's provisioning. This value is
- // optional if the product has a default path, and is required if there is more
- // than one path for the specified product.
- PathId *string `type:"string"`
- // The identifier of the product.
- ProductId *string `type:"string" required:"true"`
- // An idempotency token that uniquely identifies the provisioning request.
- ProvisionToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"`
- // A user-friendly name to identify the ProvisionedProduct object. This value
- // must be unique for the AWS account and cannot be updated after the product
- // is provisioned.
- ProvisionedProductName *string `type:"string" required:"true"`
- // The provisioning artifact identifier for this product.
- ProvisioningArtifactId *string `type:"string" required:"true"`
- // Parameters specified by the administrator that are required for provisioning
- // the product.
- ProvisioningParameters []*ProvisioningParameter `type:"list"`
- // (Optional) A list of tags to use as provisioning options.
- Tags []*Tag `type:"list"`
- }
- // String returns the string representation
- func (s ProvisionProductInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ProvisionProductInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *ProvisionProductInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ProvisionProductInput"}
- if s.ProductId == nil {
- invalidParams.Add(request.NewErrParamRequired("ProductId"))
- }
- if s.ProvisionToken == nil {
- invalidParams.Add(request.NewErrParamRequired("ProvisionToken"))
- }
- if s.ProvisionToken != nil && len(*s.ProvisionToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ProvisionToken", 1))
- }
- if s.ProvisionedProductName == nil {
- invalidParams.Add(request.NewErrParamRequired("ProvisionedProductName"))
- }
- if s.ProvisioningArtifactId == nil {
- invalidParams.Add(request.NewErrParamRequired("ProvisioningArtifactId"))
- }
- if s.Tags != nil {
- for i, v := range s.Tags {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- type ProvisionProductOutput struct {
- _ struct{} `type:"structure"`
- // The detailed result of the ProvisionProduct request, containing the inputs
- // made to that request, the current state of the request, a pointer to the
- // ProvisionedProduct object of the request, and a list of any errors that the
- // request encountered.
- RecordDetail *RecordDetail `type:"structure"`
- }
- // String returns the string representation
- func (s ProvisionProductOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ProvisionProductOutput) GoString() string {
- return s.String()
- }
- // Detailed information about a ProvisionedProduct object.
- type ProvisionedProductDetail struct {
- _ struct{} `type:"structure"`
- // The ARN associated with the ProvisionedProduct object.
- Arn *string `min:"1" type:"string"`
- // The time the ProvisionedProduct was created.
- CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`
- // The identifier of the ProvisionedProduct object.
- Id *string `type:"string"`
- // An idempotency token that uniquely identifies this ProvisionedProduct.
- IdempotencyToken *string `min:"1" type:"string"`
- // The record identifier of the last request performed on this ProvisionedProduct
- // object.
- LastRecordId *string `type:"string"`
- // The user-friendly name of the ProvisionedProduct object.
- Name *string `min:"1" type:"string"`
- // The current status of the ProvisionedProduct.
- Status *string `type:"string" enum:"RecordStatus"`
- // The current status message of the ProvisionedProduct.
- StatusMessage *string `type:"string"`
- // The type of the ProvisionedProduct object.
- Type *string `type:"string"`
- }
- // String returns the string representation
- func (s ProvisionedProductDetail) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ProvisionedProductDetail) GoString() string {
- return s.String()
- }
- // Contains information indicating the ways in which a product can be provisioned.
- type ProvisioningArtifact struct {
- _ struct{} `type:"structure"`
- // The time that the artifact was created by the Administrator.
- CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`
- // The text description of the artifact.
- Description *string `type:"string"`
- // The identifier for the artifact.
- Id *string `type:"string"`
- // The name of the artifact.
- Name *string `type:"string"`
- }
- // String returns the string representation
- func (s ProvisioningArtifact) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ProvisioningArtifact) GoString() string {
- return s.String()
- }
- // A parameter used to successfully provision the product. This value includes
- // a list of allowable values and additional metadata.
- type ProvisioningArtifactParameter struct {
- _ struct{} `type:"structure"`
- // The default value for this parameter.
- DefaultValue *string `type:"string"`
- // The text description of the parameter.
- Description *string `type:"string"`
- // If this value is true, the value for this parameter is obfuscated from view
- // when the parameter is retrieved. This parameter is used to hide sensitive
- // information.
- IsNoEcho *bool `type:"boolean"`
- // The list of constraints that the administrator has put on the parameter.
- ParameterConstraints *ParameterConstraints `type:"structure"`
- // The parameter key.
- ParameterKey *string `type:"string"`
- // The parameter type.
- ParameterType *string `type:"string"`
- }
- // String returns the string representation
- func (s ProvisioningArtifactParameter) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ProvisioningArtifactParameter) GoString() string {
- return s.String()
- }
- // The arameter key/value pairs used to provision a product.
- type ProvisioningParameter struct {
- _ struct{} `type:"structure"`
- // The ProvisioningArtifactParameter.ParameterKey parameter from DescribeProvisioningParameters.
- Key *string `type:"string"`
- // The value to use for provisioning. Any constraints on this value can be found
- // in ProvisioningArtifactParameter for Key.
- Value *string `type:"string"`
- }
- // String returns the string representation
- func (s ProvisioningParameter) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ProvisioningParameter) GoString() string {
- return s.String()
- }
- // The full details of a specific ProvisionedProduct object.
- type RecordDetail struct {
- _ struct{} `type:"structure"`
- // The time when the record for the ProvisionedProduct object was created.
- CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`
- // The identifier of the path for this product's provisioning.
- PathId *string `type:"string"`
- // The identifier of the product.
- ProductId *string `type:"string"`
- // The identifier of the ProvisionedProduct object.
- ProvisionedProductId *string `type:"string"`
- // The user-friendly name of the ProvisionedProduct object.
- ProvisionedProductName *string `type:"string"`
- // The type of the ProvisionedProduct object.
- ProvisionedProductType *string `type:"string"`
- // The provisioning artifact identifier for this product.
- ProvisioningArtifactId *string `type:"string"`
- // A list of errors that occurred while processing the request.
- RecordErrors []*RecordError `type:"list"`
- // The identifier of the ProvisionedProduct object record.
- RecordId *string `type:"string"`
- // List of tags associated with this record.
- RecordTags []*RecordTag `type:"list"`
- // The record type for this record.
- RecordType *string `type:"string"`
- // The status of the ProvisionedProduct object.
- Status *string `type:"string" enum:"RecordStatus"`
- // The time when the record for the ProvisionedProduct object was last updated.
- UpdatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`
- }
- // String returns the string representation
- func (s RecordDetail) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s RecordDetail) GoString() string {
- return s.String()
- }
- // The error code and description resulting from an operation.
- type RecordError struct {
- _ struct{} `type:"structure"`
- // The numeric value of the error.
- Code *string `type:"string"`
- // The text description of the error.
- Description *string `type:"string"`
- }
- // String returns the string representation
- func (s RecordError) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s RecordError) GoString() string {
- return s.String()
- }
- // An output for the specified Product object created as the result of a request.
- // For example, a CloudFormation-backed product that creates an S3 bucket would
- // have an output for the S3 bucket URL.
- type RecordOutput struct {
- _ struct{} `type:"structure"`
- // The text description of the output.
- Description *string `type:"string"`
- // The output key.
- OutputKey *string `type:"string"`
- // The output value.
- OutputValue *string `type:"string"`
- }
- // String returns the string representation
- func (s RecordOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s RecordOutput) GoString() string {
- return s.String()
- }
- // A tag associated with the record, stored as a key-value pair.
- type RecordTag struct {
- _ struct{} `type:"structure"`
- // The key for this tag.
- Key *string `min:"1" type:"string"`
- // The value for this tag.
- Value *string `min:"1" type:"string"`
- }
- // String returns the string representation
- func (s RecordTag) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s RecordTag) GoString() string {
- return s.String()
- }
- type ScanProvisionedProductsInput struct {
- _ struct{} `type:"structure"`
- // Optional language code. Supported language codes are as follows:
- //
- // "en" (English)
- //
- // "jp" (Japanese)
- //
- // "zh" (Chinese)
- //
- // If no code is specified, "en" is used as the default.
- AcceptLanguage *string `type:"string"`
- // The maximum number of items to return in the results. If more results exist
- // than fit in the specified PageSize, the value of NextPageToken in the response
- // is non-null.
- PageSize *int64 `type:"integer"`
- // The page token of the first page retrieve. If null, this retrieves the first
- // page of size PageSize.
- PageToken *string `type:"string"`
- }
- // String returns the string representation
- func (s ScanProvisionedProductsInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ScanProvisionedProductsInput) GoString() string {
- return s.String()
- }
- type ScanProvisionedProductsOutput struct {
- _ struct{} `type:"structure"`
- // The page token to use to retrieve the next page of results for this operation.
- // If there are no more pages, this value is null.
- NextPageToken *string `type:"string"`
- // A list of ProvisionedProduct detail objects.
- ProvisionedProducts []*ProvisionedProductDetail `type:"list"`
- }
- // String returns the string representation
- func (s ScanProvisionedProductsOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s ScanProvisionedProductsOutput) GoString() string {
- return s.String()
- }
- type SearchProductsInput struct {
- _ struct{} `type:"structure"`
- // Optional language code. Supported language codes are as follows:
- //
- // "en" (English)
- //
- // "jp" (Japanese)
- //
- // "zh" (Chinese)
- //
- // If no code is specified, "en" is used as the default.
- AcceptLanguage *string `type:"string"`
- // (Optional) The list of filters with which to limit search results. If no
- // search filters are specified, the output is all the products to which the
- // calling user has access.
- Filters map[string][]*string `type:"map"`
- // The maximum number of items to return in the results. If more results exist
- // than fit in the specified PageSize, the value of NextPageToken in the response
- // is non-null.
- PageSize *int64 `type:"integer"`
- // The page token of the first page retrieve. If null, this retrieves the first
- // page of size PageSize.
- PageToken *string `type:"string"`
- // (Optional) The sort field specifier. If no value is specified, results are
- // not sorted.
- SortBy *string `type:"string" enum:"ProductViewSortBy"`
- // (Optional) The sort order specifier. If no value is specified, results are
- // not sorted.
- SortOrder *string `type:"string" enum:"SortOrder"`
- }
- // String returns the string representation
- func (s SearchProductsInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s SearchProductsInput) GoString() string {
- return s.String()
- }
- type SearchProductsOutput struct {
- _ struct{} `type:"structure"`
- // The page token to use to retrieve the next page of results for this operation.
- // If there are no more pages, this value is null.
- NextPageToken *string `type:"string"`
- // A list of the product view aggregation value objects.
- ProductViewAggregations map[string][]*ProductViewAggregationValue `type:"map"`
- // A list of the product view summary objects.
- ProductViewSummaries []*ProductViewSummary `type:"list"`
- }
- // String returns the string representation
- func (s SearchProductsOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s SearchProductsOutput) GoString() string {
- return s.String()
- }
- // Optional key/value pairs to associate with this provisioning. These tags
- // are propagated to the resources created in the provisioning.
- type Tag struct {
- _ struct{} `type:"structure"`
- // The ProvisioningArtifactParameter.TagKey parameter from DescribeProvisioningParameters.
- Key *string `min:"1" type:"string"`
- // The esired value for this key.
- Value *string `min:"1" type:"string"`
- }
- // String returns the string representation
- func (s Tag) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s Tag) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *Tag) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "Tag"}
- if s.Key != nil && len(*s.Key) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Key", 1))
- }
- if s.Value != nil && len(*s.Value) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Value", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- type TerminateProvisionedProductInput struct {
- _ struct{} `type:"structure"`
- // Optional language code. Supported language codes are as follows:
- //
- // "en" (English)
- //
- // "jp" (Japanese)
- //
- // "zh" (Chinese)
- //
- // If no code is specified, "en" is used as the default.
- AcceptLanguage *string `type:"string"`
- // Optional Boolean parameter. If set to true, AWS Service Catalog stops managing
- // the specified ProvisionedProduct object even if it cannot delete the underlying
- // resources.
- IgnoreErrors *bool `type:"boolean"`
- // The identifier of the ProvisionedProduct object to terminate. You must specify
- // either ProvisionedProductName or ProvisionedProductId, but not both.
- ProvisionedProductId *string `type:"string"`
- // The name of the ProvisionedProduct object to terminate. You must specify
- // either ProvisionedProductName or ProvisionedProductId, but not both.
- ProvisionedProductName *string `min:"1" type:"string"`
- // An idempotency token that uniquely identifies the termination request. This
- // token is only valid during the termination process. After the ProvisionedProduct
- // object is terminated, further requests to terminate the same ProvisionedProduct
- // object always return ResourceNotFound regardless of the value of TerminateToken.
- TerminateToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"`
- }
- // String returns the string representation
- func (s TerminateProvisionedProductInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s TerminateProvisionedProductInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *TerminateProvisionedProductInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "TerminateProvisionedProductInput"}
- if s.ProvisionedProductName != nil && len(*s.ProvisionedProductName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ProvisionedProductName", 1))
- }
- if s.TerminateToken == nil {
- invalidParams.Add(request.NewErrParamRequired("TerminateToken"))
- }
- if s.TerminateToken != nil && len(*s.TerminateToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("TerminateToken", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- type TerminateProvisionedProductOutput struct {
- _ struct{} `type:"structure"`
- // The detailed result of the TerminateProvisionedProduct request, containing
- // the inputs made to that request, the current state of the request, a pointer
- // to the ProvisionedProduct object that the request is modifying, and a list
- // of any errors that the request encountered.
- RecordDetail *RecordDetail `type:"structure"`
- }
- // String returns the string representation
- func (s TerminateProvisionedProductOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s TerminateProvisionedProductOutput) GoString() string {
- return s.String()
- }
- type UpdateProvisionedProductInput struct {
- _ struct{} `type:"structure"`
- // Optional language code. Supported language codes are as follows:
- //
- // "en" (English)
- //
- // "jp" (Japanese)
- //
- // "zh" (Chinese)
- //
- // If no code is specified, "en" is used as the default.
- AcceptLanguage *string `type:"string"`
- // The identifier of the path to use in the updated ProvisionedProduct object.
- // This value is optional if the product has a default path, and is required
- // if there is more than one path for the specified product.
- PathId *string `type:"string"`
- // The identifier of the ProvisionedProduct object.
- ProductId *string `type:"string"`
- // The identifier of the ProvisionedProduct object to update. You must specify
- // either ProvisionedProductName or ProvisionedProductId, but not both.
- ProvisionedProductId *string `type:"string"`
- // The updated name of the ProvisionedProduct object . You must specify either
- // ProvisionedProductName or ProvisionedProductId, but not both.
- ProvisionedProductName *string `min:"1" type:"string"`
- // The provisioning artifact identifier for this product.
- ProvisioningArtifactId *string `type:"string"`
- // A list of ProvisioningParameter objects used to update the ProvisionedProduct
- // object.
- ProvisioningParameters []*UpdateProvisioningParameter `type:"list"`
- // The idempotency token that uniquely identifies the provisioning update request.
- UpdateToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"`
- }
- // String returns the string representation
- func (s UpdateProvisionedProductInput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s UpdateProvisionedProductInput) GoString() string {
- return s.String()
- }
- // Validate inspects the fields of the type to determine if they are valid.
- func (s *UpdateProvisionedProductInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "UpdateProvisionedProductInput"}
- if s.ProvisionedProductName != nil && len(*s.ProvisionedProductName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ProvisionedProductName", 1))
- }
- if s.UpdateToken == nil {
- invalidParams.Add(request.NewErrParamRequired("UpdateToken"))
- }
- if s.UpdateToken != nil && len(*s.UpdateToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("UpdateToken", 1))
- }
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
- }
- type UpdateProvisionedProductOutput struct {
- _ struct{} `type:"structure"`
- // The detailed result of the UpdateProvisionedProduct request, containing the
- // inputs made to that request, the current state of the request, a pointer
- // to the ProvisionedProduct object that the request is modifying, and a list
- // of any errors that the request encountered.
- RecordDetail *RecordDetail `type:"structure"`
- }
- // String returns the string representation
- func (s UpdateProvisionedProductOutput) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s UpdateProvisionedProductOutput) GoString() string {
- return s.String()
- }
- // The parameter key/value pair used to update a ProvisionedProduct object.
- // If UsePreviousValue is set to true, Value is ignored and the value for Key
- // is kept as previously set (current value).
- type UpdateProvisioningParameter struct {
- _ struct{} `type:"structure"`
- // The ProvisioningArtifactParameter.ParameterKey parameter from DescribeProvisioningParameters.
- Key *string `type:"string"`
- // If true, uses the currently set value for Key, ignoring UpdateProvisioningParameter.Value.
- UsePreviousValue *bool `type:"boolean"`
- // The value to use for updating the product provisioning. Any constraints on
- // this value can be found in the ProvisioningArtifactParameter parameter for
- // Key.
- Value *string `type:"string"`
- }
- // String returns the string representation
- func (s UpdateProvisioningParameter) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s UpdateProvisioningParameter) GoString() string {
- return s.String()
- }
- // Additional information provided by the administrator.
- type UsageInstruction struct {
- _ struct{} `type:"structure"`
- // The usage instruction type for the value.
- Type *string `type:"string"`
- // The usage instruction value for this type.
- Value *string `type:"string"`
- }
- // String returns the string representation
- func (s UsageInstruction) String() string {
- return awsutil.Prettify(s)
- }
- // GoString returns the string representation
- func (s UsageInstruction) GoString() string {
- return s.String()
- }
- const (
- // @enum ProductViewFilterBy
- ProductViewFilterByFullTextSearch = "FullTextSearch"
- // @enum ProductViewFilterBy
- ProductViewFilterByOwner = "Owner"
- // @enum ProductViewFilterBy
- ProductViewFilterByProductType = "ProductType"
- )
- const (
- // @enum ProductViewSortBy
- ProductViewSortByTitle = "Title"
- // @enum ProductViewSortBy
- ProductViewSortByVersionCount = "VersionCount"
- // @enum ProductViewSortBy
- ProductViewSortByCreationDate = "CreationDate"
- )
- const (
- // @enum RecordStatus
- RecordStatusInProgress = "IN_PROGRESS"
- // @enum RecordStatus
- RecordStatusSucceeded = "SUCCEEDED"
- // @enum RecordStatus
- RecordStatusError = "ERROR"
- )
- const (
- // @enum SortOrder
- SortOrderAscending = "ASCENDING"
- // @enum SortOrder
- SortOrderDescending = "DESCENDING"
- )
|