amazonka-servicecatalog-1.4.5: Amazon Service Catalog SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ServiceCatalog.UpdateProvisionedProduct

Contents

Description

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.

Synopsis

Creating a Request

updateProvisionedProduct #

Creates a value of UpdateProvisionedProduct with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • uppProvisionedProductName - The updated name of the ProvisionedProduct object . You must specify either ProvisionedProductName or ProvisionedProductId , but not both.
  • uppProvisioningArtifactId - The provisioning artifact identifier for this product.
  • uppAcceptLanguage - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.
  • uppPathId - 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.
  • uppProvisioningParameters - A list of ProvisioningParameter objects used to update the ProvisionedProduct object.
  • uppProvisionedProductId - The identifier of the ProvisionedProduct object to update. You must specify either ProvisionedProductName or ProvisionedProductId , but not both.
  • uppProductId - The identifier of the ProvisionedProduct object.
  • uppUpdateToken - The idempotency token that uniquely identifies the provisioning update request.

data UpdateProvisionedProduct #

See: updateProvisionedProduct smart constructor.

Instances

Eq UpdateProvisionedProduct # 
Data UpdateProvisionedProduct # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateProvisionedProduct -> c UpdateProvisionedProduct #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateProvisionedProduct #

toConstr :: UpdateProvisionedProduct -> Constr #

dataTypeOf :: UpdateProvisionedProduct -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateProvisionedProduct) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateProvisionedProduct) #

gmapT :: (forall b. Data b => b -> b) -> UpdateProvisionedProduct -> UpdateProvisionedProduct #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateProvisionedProduct -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateProvisionedProduct -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateProvisionedProduct -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateProvisionedProduct -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateProvisionedProduct -> m UpdateProvisionedProduct #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateProvisionedProduct -> m UpdateProvisionedProduct #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateProvisionedProduct -> m UpdateProvisionedProduct #

Read UpdateProvisionedProduct # 
Show UpdateProvisionedProduct # 
Generic UpdateProvisionedProduct # 
Hashable UpdateProvisionedProduct # 
ToJSON UpdateProvisionedProduct # 
NFData UpdateProvisionedProduct # 
AWSRequest UpdateProvisionedProduct # 
ToQuery UpdateProvisionedProduct # 
ToPath UpdateProvisionedProduct # 
ToHeaders UpdateProvisionedProduct # 
type Rep UpdateProvisionedProduct # 
type Rep UpdateProvisionedProduct = D1 (MetaData "UpdateProvisionedProduct" "Network.AWS.ServiceCatalog.UpdateProvisionedProduct" "amazonka-servicecatalog-1.4.5-E18s202pm17KzFGbCQM02M" False) (C1 (MetaCons "UpdateProvisionedProduct'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_uppProvisionedProductName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_uppProvisioningArtifactId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_uppAcceptLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_uppPathId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_uppProvisioningParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [UpdateProvisioningParameter]))) (S1 (MetaSel (Just Symbol "_uppProvisionedProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_uppProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_uppUpdateToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs UpdateProvisionedProduct # 

Request Lenses

uppProvisionedProductName :: Lens' UpdateProvisionedProduct (Maybe Text) #

The updated name of the ProvisionedProduct object . You must specify either ProvisionedProductName or ProvisionedProductId , but not both.

uppProvisioningArtifactId :: Lens' UpdateProvisionedProduct (Maybe Text) #

The provisioning artifact identifier for this product.

uppAcceptLanguage :: Lens' UpdateProvisionedProduct (Maybe Text) #

The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.

uppPathId :: Lens' UpdateProvisionedProduct (Maybe Text) #

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.

uppProvisioningParameters :: Lens' UpdateProvisionedProduct [UpdateProvisioningParameter] #

A list of ProvisioningParameter objects used to update the ProvisionedProduct object.

uppProvisionedProductId :: Lens' UpdateProvisionedProduct (Maybe Text) #

The identifier of the ProvisionedProduct object to update. You must specify either ProvisionedProductName or ProvisionedProductId , but not both.

uppProductId :: Lens' UpdateProvisionedProduct (Maybe Text) #

The identifier of the ProvisionedProduct object.

uppUpdateToken :: Lens' UpdateProvisionedProduct Text #

The idempotency token that uniquely identifies the provisioning update request.

Destructuring the Response

updateProvisionedProductResponse #

Creates a value of UpdateProvisionedProductResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • upprsRecordDetail - 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.
  • upprsResponseStatus - -- | The response status code.

data UpdateProvisionedProductResponse #

See: updateProvisionedProductResponse smart constructor.

Instances

Eq UpdateProvisionedProductResponse # 
Data UpdateProvisionedProductResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateProvisionedProductResponse -> c UpdateProvisionedProductResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateProvisionedProductResponse #

toConstr :: UpdateProvisionedProductResponse -> Constr #

dataTypeOf :: UpdateProvisionedProductResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateProvisionedProductResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateProvisionedProductResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateProvisionedProductResponse -> UpdateProvisionedProductResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateProvisionedProductResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateProvisionedProductResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateProvisionedProductResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateProvisionedProductResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateProvisionedProductResponse -> m UpdateProvisionedProductResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateProvisionedProductResponse -> m UpdateProvisionedProductResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateProvisionedProductResponse -> m UpdateProvisionedProductResponse #

Read UpdateProvisionedProductResponse # 
Show UpdateProvisionedProductResponse # 
Generic UpdateProvisionedProductResponse # 
NFData UpdateProvisionedProductResponse # 
type Rep UpdateProvisionedProductResponse # 
type Rep UpdateProvisionedProductResponse = D1 (MetaData "UpdateProvisionedProductResponse" "Network.AWS.ServiceCatalog.UpdateProvisionedProduct" "amazonka-servicecatalog-1.4.5-E18s202pm17KzFGbCQM02M" False) (C1 (MetaCons "UpdateProvisionedProductResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_upprsRecordDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RecordDetail))) (S1 (MetaSel (Just Symbol "_upprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

upprsRecordDetail :: Lens' UpdateProvisionedProductResponse (Maybe RecordDetail) #

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.