Copyright | (c) 2013-2021 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 |
Gets information about the specified product.
Synopsis
- data DescribeProductView = DescribeProductView' {
- acceptLanguage :: Maybe Text
- id :: Text
- newDescribeProductView :: Text -> DescribeProductView
- describeProductView_acceptLanguage :: Lens' DescribeProductView (Maybe Text)
- describeProductView_id :: Lens' DescribeProductView Text
- data DescribeProductViewResponse = DescribeProductViewResponse' {}
- newDescribeProductViewResponse :: Int -> DescribeProductViewResponse
- describeProductViewResponse_productViewSummary :: Lens' DescribeProductViewResponse (Maybe ProductViewSummary)
- describeProductViewResponse_provisioningArtifacts :: Lens' DescribeProductViewResponse (Maybe [ProvisioningArtifact])
- describeProductViewResponse_httpStatus :: Lens' DescribeProductViewResponse Int
Creating a Request
data DescribeProductView Source #
See: newDescribeProductView
smart constructor.
DescribeProductView' | |
|
Instances
newDescribeProductView Source #
Create a value of DescribeProductView
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:acceptLanguage:DescribeProductView'
, describeProductView_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:id:DescribeProductView'
, describeProductView_id
- The product view identifier.
Request Lenses
describeProductView_acceptLanguage :: Lens' DescribeProductView (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
describeProductView_id :: Lens' DescribeProductView Text Source #
The product view identifier.
Destructuring the Response
data DescribeProductViewResponse Source #
See: newDescribeProductViewResponse
smart constructor.
DescribeProductViewResponse' | |
|
Instances
newDescribeProductViewResponse Source #
Create a value of DescribeProductViewResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:productViewSummary:DescribeProductViewResponse'
, describeProductViewResponse_productViewSummary
- Summary information about the product.
$sel:provisioningArtifacts:DescribeProductViewResponse'
, describeProductViewResponse_provisioningArtifacts
- Information about the provisioning artifacts for the product.
$sel:httpStatus:DescribeProductViewResponse'
, describeProductViewResponse_httpStatus
- The response's http status code.
Response Lenses
describeProductViewResponse_productViewSummary :: Lens' DescribeProductViewResponse (Maybe ProductViewSummary) Source #
Summary information about the product.
describeProductViewResponse_provisioningArtifacts :: Lens' DescribeProductViewResponse (Maybe [ProvisioningArtifact]) Source #
Information about the provisioning artifacts for the product.
describeProductViewResponse_httpStatus :: Lens' DescribeProductViewResponse Int Source #
The response's http status code.