Copyright | (c) 2013-2017 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 |
Deletes the specified product. This operation does not work with a product that has been shared with you or is associated with a portfolio.
Creating a Request
:: Text | |
-> DeleteProduct |
Creates a value of DeleteProduct
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
delAcceptLanguage
- The language code. *en
- English (default) *jp
- Japanese *zh
- ChinesedelId
- The identifier of the product for the delete request.
data DeleteProduct Source #
See: deleteProduct
smart constructor.
Request Lenses
delAcceptLanguage :: Lens' DeleteProduct (Maybe Text) Source #
The language code. * en
- English (default) * jp
- Japanese * zh
- Chinese
Destructuring the Response
deleteProductResponse Source #
Creates a value of DeleteProductResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
delersResponseStatus
- -- | The response status code.
data DeleteProductResponse Source #
See: deleteProductResponse
smart constructor.
Response Lenses
delersResponseStatus :: Lens' DeleteProductResponse Int Source #
- - | The response status code.