| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ServiceCatalog.UpdateProduct
Description
Updates the specified product.
- updateProduct :: Text -> UpdateProduct
- data UpdateProduct
- upRemoveTags :: Lens' UpdateProduct [Text]
- upOwner :: Lens' UpdateProduct (Maybe Text)
- upSupportURL :: Lens' UpdateProduct (Maybe Text)
- upDistributor :: Lens' UpdateProduct (Maybe Text)
- upName :: Lens' UpdateProduct (Maybe Text)
- upAcceptLanguage :: Lens' UpdateProduct (Maybe Text)
- upAddTags :: Lens' UpdateProduct [Tag]
- upSupportEmail :: Lens' UpdateProduct (Maybe Text)
- upDescription :: Lens' UpdateProduct (Maybe Text)
- upSupportDescription :: Lens' UpdateProduct (Maybe Text)
- upId :: Lens' UpdateProduct Text
- updateProductResponse :: Int -> UpdateProductResponse
- data UpdateProductResponse
- ursProductViewDetail :: Lens' UpdateProductResponse (Maybe ProductViewDetail)
- ursTags :: Lens' UpdateProductResponse [Tag]
- ursResponseStatus :: Lens' UpdateProductResponse Int
Creating a Request
Arguments
| :: Text | |
| -> 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- The tags to remove from 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. *en- English (default) *jp- Japanese *zh- ChineseupAddTags- The tags to add to the product.upSupportEmail- The updated support email for the product.upDescription- The updated description of the product.upSupportDescription- The updated support description for the product.upId- The product identifier.
data UpdateProduct Source #
See: updateProduct smart constructor.
Instances
Request Lenses
upRemoveTags :: Lens' UpdateProduct [Text] Source #
The tags to remove from 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.
upAcceptLanguage :: Lens' UpdateProduct (Maybe Text) Source #
The language code. * en - English (default) * jp - Japanese * zh - Chinese
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.
Destructuring the Response
updateProductResponse Source #
Arguments
| :: Int | |
| -> UpdateProductResponse |
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:
ursProductViewDetail- Information about the product view.ursTags- Information about the tags associated with the product.ursResponseStatus- -- | The response status code.
data UpdateProductResponse Source #
See: updateProductResponse smart constructor.
Response Lenses
ursProductViewDetail :: Lens' UpdateProductResponse (Maybe ProductViewDetail) Source #
Information about the product view.
ursTags :: Lens' UpdateProductResponse [Tag] Source #
Information about the tags associated with the product.
ursResponseStatus :: Lens' UpdateProductResponse Int Source #
- - | The response status code.