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 |
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:
dpvAcceptLanguage
- The language code. *en
- English (default) *jp
- Japanese *zh
- ChinesedpvId
- TheProductViewId
of the product to describe.
data DescribeProductView Source #
See: describeProductView
smart constructor.
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
- The summary metadata about the specified product.dpvrsProvisioningArtifacts
- A list of provisioning artifact objects for the specified product. TheProvisioningArtifacts
represent the ways in which the specified product can be provisioned.dpvrsResponseStatus
- -- | The response status code.
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.