amazonka-servicecatalog-1.6.1: Amazon Service Catalog SDK.

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

Network.AWS.ServiceCatalog.UpdateProduct

Contents

Description

Updates the specified 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:

data UpdateProduct Source #

See: updateProduct smart constructor.

Instances
Eq UpdateProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

Data UpdateProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

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 # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

Show UpdateProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

Generic UpdateProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

Associated Types

type Rep UpdateProduct :: Type -> Type #

Hashable UpdateProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

ToJSON UpdateProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

AWSRequest UpdateProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

Associated Types

type Rs UpdateProduct :: Type #

ToHeaders UpdateProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

ToPath UpdateProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

ToQuery UpdateProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

NFData UpdateProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

Methods

rnf :: UpdateProduct -> () #

type Rep UpdateProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

type Rs UpdateProduct Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

Request Lenses

upRemoveTags :: Lens' UpdateProduct [Text] Source #

The tags to remove from 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. * en - English (default) * jp - Japanese * zh - Chinese

upAddTags :: Lens' UpdateProduct [Tag] Source #

The tags to add to the product.

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

The updated support email for the product.

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

The updated description of the product.

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

The updated support description for the product.

upId :: Lens' UpdateProduct Text Source #

The product identifier.

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 # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

Data UpdateProductResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

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 # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

Show UpdateProductResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

Generic UpdateProductResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

Associated Types

type Rep UpdateProductResponse :: Type -> Type #

NFData UpdateProductResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

Methods

rnf :: UpdateProductResponse -> () #

type Rep UpdateProductResponse Source # 
Instance details

Defined in Network.AWS.ServiceCatalog.UpdateProduct

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

Response Lenses

ursTags :: Lens' UpdateProductResponse [Tag] Source #

Information about the tags associated with the product.

ursResponseStatus :: Lens' UpdateProductResponse Int Source #

  • - | The response status code.