Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves information about a specified product.
This operation is functionally identical to DescribeProductView except that it takes as input ProductId
instead of ProductViewId
.
- describeProduct :: Text -> DescribeProduct
- data DescribeProduct
- dpAcceptLanguage :: Lens' DescribeProduct (Maybe Text)
- dpId :: Lens' DescribeProduct Text
- describeProductResponse :: Int -> DescribeProductResponse
- data DescribeProductResponse
- dprsProductViewSummary :: Lens' DescribeProductResponse (Maybe ProductViewSummary)
- dprsProvisioningArtifacts :: Lens' DescribeProductResponse [ProvisioningArtifact]
- dprsResponseStatus :: Lens' DescribeProductResponse Int
Creating a Request
:: Text | |
-> DescribeProduct |
Creates a value of DescribeProduct
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeProduct Source #
See: describeProduct
smart constructor.
Request Lenses
dpAcceptLanguage :: Lens' DescribeProduct (Maybe Text) Source #
Optional language code. Supported language codes are as follows:
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
Destructuring the Response
describeProductResponse Source #
Creates a value of DescribeProductResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeProductResponse Source #
See: describeProductResponse
smart constructor.
Response Lenses
dprsProductViewSummary :: Lens' DescribeProductResponse (Maybe ProductViewSummary) Source #
The summary metadata about the specified product.
dprsProvisioningArtifacts :: Lens' DescribeProductResponse [ProvisioningArtifact] Source #
A list of provisioning artifact objects for the specified product. The ProvisioningArtifacts
parameter represent the ways the specified product can be provisioned.
dprsResponseStatus :: Lens' DescribeProductResponse Int Source #
The response status code.