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 |
Gets information about the specified product.
Synopsis
- 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:
dpvAcceptLanguage
- The language code. *en
- English (default) *jp
- Japanese *zh
- ChinesedpvId
- The product view identifier.
data DescribeProductView Source #
See: describeProductView
smart constructor.
Instances
Request Lenses
dpvAcceptLanguage :: Lens' DescribeProductView (Maybe Text) Source #
The language code. * en
- English (default) * jp
- Japanese * zh
- Chinese
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:
dpvrsProductViewSummary
- Summary information about the product.dpvrsProvisioningArtifacts
- Information about the provisioning artifacts for the product.dpvrsResponseStatus
- -- | The response status code.
data DescribeProductViewResponse Source #
See: describeProductViewResponse
smart constructor.
Instances
Response Lenses
dpvrsProductViewSummary :: Lens' DescribeProductViewResponse (Maybe ProductViewSummary) Source #
Summary information about the product.
dpvrsProvisioningArtifacts :: Lens' DescribeProductViewResponse [ProvisioningArtifact] Source #
Information about the provisioning artifacts for the product.
dpvrsResponseStatus :: Lens' DescribeProductViewResponse Int Source #
- - | The response status code.