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 DescribeProduct except that it takes as input ProductViewId
instead of ProductId
.
- describeProductView :: Text -> DescribeProductView
- data DescribeProductView
- dpvAcceptLanguage :: Lens' DescribeProductView (Maybe Text)
- dpvId :: Lens' DescribeProductView Text
- describeProductViewResponse :: Int -> DescribeProductViewResponse
- data DescribeProductViewResponse
- dpvrsProductViewSummary :: Lens' DescribeProductViewResponse (Maybe ProductViewSummary)
- dpvrsProvisioningArtifacts :: Lens' DescribeProductViewResponse [ProvisioningArtifact]
- dpvrsResponseStatus :: Lens' DescribeProductViewResponse Int
Creating a Request
Creates a value of DescribeProductView
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeProductView Source #
See: describeProductView
smart constructor.
Request Lenses
dpvAcceptLanguage :: Lens' DescribeProductView (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
describeProductViewResponse Source #
Creates a value of DescribeProductViewResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeProductViewResponse Source #
See: describeProductViewResponse
smart constructor.
Response Lenses
dpvrsProductViewSummary :: Lens' DescribeProductViewResponse (Maybe ProductViewSummary) Source #
The summary metadata about the specified product.
dpvrsProvisioningArtifacts :: Lens' DescribeProductViewResponse [ProvisioningArtifact] Source #
A list of provisioning artifact objects for the specified product. The ProvisioningArtifacts
represent the ways in which the specified product can be provisioned.
dpvrsResponseStatus :: Lens' DescribeProductViewResponse Int Source #
The response status code.