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.UpdateProduct

Contents

Description

Updates an existing product.

Synopsis

Creating a Request

updateProduct Source #

Arguments

:: Text

upId

-> UpdateProduct 

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

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

  • upRemoveTags - Tags to remove from the existing list of tags associated with the product.
  • upOwner - The updated owner of the product.
  • upSupportURL - The updated support URL for the product.
  • upDistributor - The updated distributor of the product.
  • upName - The updated product name.
  • upAcceptLanguage - 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.
  • upAddTags - Tags to add to the existing list of tags associated with the product.
  • upSupportEmail - The updated support email for the product.
  • upDescription - The updated text description of the product.
  • upSupportDescription - The updated support description for the product.
  • upId - The identifier of the product for the update request.

data UpdateProduct Source #

See: updateProduct smart constructor.

Instances

Eq UpdateProduct Source # 
Data UpdateProduct Source # 

Methods

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

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

toConstr :: UpdateProduct -> Constr #

dataTypeOf :: UpdateProduct -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateProduct Source # 
Show UpdateProduct Source # 
Generic UpdateProduct Source # 

Associated Types

type Rep UpdateProduct :: * -> * #

Hashable UpdateProduct Source # 
ToJSON UpdateProduct Source # 
NFData UpdateProduct Source # 

Methods

rnf :: UpdateProduct -> () #

AWSRequest UpdateProduct Source # 
ToPath UpdateProduct Source # 
ToHeaders UpdateProduct Source # 
ToQuery UpdateProduct Source # 
type Rep UpdateProduct Source # 
type Rep UpdateProduct = D1 (MetaData "UpdateProduct" "Network.AWS.ServiceCatalog.UpdateProduct" "amazonka-servicecatalog-1.4.5-8bdJVEiVZ77jaeUaDycc5" False) (C1 (MetaCons "UpdateProduct'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_upRemoveTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_upOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_upSupportURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_upDistributor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_upName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_upAcceptLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_upAddTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag]))) (S1 (MetaSel (Just Symbol "_upSupportEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_upDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_upSupportDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_upId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))))
type Rs UpdateProduct Source # 

Request Lenses

upRemoveTags :: Lens' UpdateProduct [Text] Source #

Tags to remove from the existing list of tags associated with the product.

upOwner :: Lens' UpdateProduct (Maybe Text) Source #

The updated owner of the product.

upSupportURL :: Lens' UpdateProduct (Maybe Text) Source #

The updated support URL for the product.

upDistributor :: Lens' UpdateProduct (Maybe Text) Source #

The updated distributor of the product.

upName :: Lens' UpdateProduct (Maybe Text) Source #

The updated product name.

upAcceptLanguage :: Lens' UpdateProduct (Maybe Text) Source #

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.

upAddTags :: Lens' UpdateProduct [Tag] Source #

Tags to add to the existing list of tags associated with the product.

upSupportEmail :: Lens' UpdateProduct (Maybe Text) Source #

The updated support email for the product.

upDescription :: Lens' UpdateProduct (Maybe Text) Source #

The updated text description of the product.

upSupportDescription :: Lens' UpdateProduct (Maybe Text) Source #

The updated support description for the product.

upId :: Lens' UpdateProduct Text Source #

The identifier of the product for the update request.

Destructuring the Response

updateProductResponse Source #

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

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

data UpdateProductResponse Source #

See: updateProductResponse smart constructor.

Instances

Eq UpdateProductResponse Source # 
Data UpdateProductResponse Source # 

Methods

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

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

toConstr :: UpdateProductResponse -> Constr #

dataTypeOf :: UpdateProductResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateProductResponse Source # 
Show UpdateProductResponse Source # 
Generic UpdateProductResponse Source # 
NFData UpdateProductResponse Source # 

Methods

rnf :: UpdateProductResponse -> () #

type Rep UpdateProductResponse Source # 
type Rep UpdateProductResponse = D1 (MetaData "UpdateProductResponse" "Network.AWS.ServiceCatalog.UpdateProduct" "amazonka-servicecatalog-1.4.5-8bdJVEiVZ77jaeUaDycc5" False) (C1 (MetaCons "UpdateProductResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ursProductViewDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ProductViewDetail))) ((:*:) (S1 (MetaSel (Just Symbol "_ursTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag]))) (S1 (MetaSel (Just Symbol "_ursResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

ursProductViewDetail :: Lens' UpdateProductResponse (Maybe ProductViewDetail) Source #

The resulting detailed product view information.

ursTags :: Lens' UpdateProductResponse [Tag] Source #

Tags associated with the product.

ursResponseStatus :: Lens' UpdateProductResponse Int Source #

  • - | The response status code.