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
- ddrsProductViewSummary :: Lens' DescribeProductResponse (Maybe ProductViewSummary)
- ddrsProvisioningArtifacts :: Lens' DescribeProductResponse [ProvisioningArtifact]
- ddrsResponseStatus :: 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:
dpAcceptLanguage
- The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.dpId
- TheProductId
of the product to describe.
data DescribeProduct Source #
See: describeProduct
smart constructor.
Request Lenses
dpAcceptLanguage :: Lens' DescribeProduct (Maybe Text) Source #
The language code to use for this operation. 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:
ddrsProductViewSummary
- The summary metadata about the specified product.ddrsProvisioningArtifacts
- A list of provisioning artifact objects for the specified product. TheProvisioningArtifacts
parameter represent the ways the specified product can be provisioned.ddrsResponseStatus
- -- | The response status code.
data DescribeProductResponse Source #
See: describeProductResponse
smart constructor.
Response Lenses
ddrsProductViewSummary :: Lens' DescribeProductResponse (Maybe ProductViewSummary) Source #
The summary metadata about the specified product.
ddrsProvisioningArtifacts :: 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.
ddrsResponseStatus :: Lens' DescribeProductResponse Int Source #
- - | The response status code.