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 DescribeProduct = DescribeProduct' {}
- newDescribeProduct :: DescribeProduct
- describeProduct_name :: Lens' DescribeProduct (Maybe Text)
- describeProduct_acceptLanguage :: Lens' DescribeProduct (Maybe Text)
- describeProduct_id :: Lens' DescribeProduct (Maybe Text)
- data DescribeProductResponse = DescribeProductResponse' {}
- newDescribeProductResponse :: Int -> DescribeProductResponse
- describeProductResponse_productViewSummary :: Lens' DescribeProductResponse (Maybe ProductViewSummary)
- describeProductResponse_provisioningArtifacts :: Lens' DescribeProductResponse (Maybe [ProvisioningArtifact])
- describeProductResponse_launchPaths :: Lens' DescribeProductResponse (Maybe [LaunchPath])
- describeProductResponse_budgets :: Lens' DescribeProductResponse (Maybe [BudgetDetail])
- describeProductResponse_httpStatus :: Lens' DescribeProductResponse Int
Creating a Request
data DescribeProduct Source #
See: newDescribeProduct
smart constructor.
Instances
newDescribeProduct :: DescribeProduct Source #
Create a value of DescribeProduct
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:name:DescribeProduct'
, describeProduct_name
- The product name.
$sel:acceptLanguage:DescribeProduct'
, describeProduct_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:id:DescribeProduct'
, describeProduct_id
- The product identifier.
Request Lenses
describeProduct_name :: Lens' DescribeProduct (Maybe Text) Source #
The product name.
describeProduct_acceptLanguage :: Lens' DescribeProduct (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
describeProduct_id :: Lens' DescribeProduct (Maybe Text) Source #
The product identifier.
Destructuring the Response
data DescribeProductResponse Source #
See: newDescribeProductResponse
smart constructor.
DescribeProductResponse' | |
|
Instances
newDescribeProductResponse Source #
Create a value of DescribeProductResponse
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:DescribeProductResponse'
, describeProductResponse_productViewSummary
- Summary information about the product view.
$sel:provisioningArtifacts:DescribeProductResponse'
, describeProductResponse_provisioningArtifacts
- Information about the provisioning artifacts for the specified product.
$sel:launchPaths:DescribeProductResponse'
, describeProductResponse_launchPaths
- Information about the associated launch paths.
$sel:budgets:DescribeProductResponse'
, describeProductResponse_budgets
- Information about the associated budgets.
$sel:httpStatus:DescribeProductResponse'
, describeProductResponse_httpStatus
- The response's http status code.
Response Lenses
describeProductResponse_productViewSummary :: Lens' DescribeProductResponse (Maybe ProductViewSummary) Source #
Summary information about the product view.
describeProductResponse_provisioningArtifacts :: Lens' DescribeProductResponse (Maybe [ProvisioningArtifact]) Source #
Information about the provisioning artifacts for the specified product.
describeProductResponse_launchPaths :: Lens' DescribeProductResponse (Maybe [LaunchPath]) Source #
Information about the associated launch paths.
describeProductResponse_budgets :: Lens' DescribeProductResponse (Maybe [BudgetDetail]) Source #
Information about the associated budgets.
describeProductResponse_httpStatus :: Lens' DescribeProductResponse Int Source #
The response's http status code.