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 provisioned product.
Synopsis
- data DescribeProvisionedProduct = DescribeProvisionedProduct' {}
- newDescribeProvisionedProduct :: DescribeProvisionedProduct
- describeProvisionedProduct_name :: Lens' DescribeProvisionedProduct (Maybe Text)
- describeProvisionedProduct_acceptLanguage :: Lens' DescribeProvisionedProduct (Maybe Text)
- describeProvisionedProduct_id :: Lens' DescribeProvisionedProduct (Maybe Text)
- data DescribeProvisionedProductResponse = DescribeProvisionedProductResponse' {}
- newDescribeProvisionedProductResponse :: Int -> DescribeProvisionedProductResponse
- describeProvisionedProductResponse_provisionedProductDetail :: Lens' DescribeProvisionedProductResponse (Maybe ProvisionedProductDetail)
- describeProvisionedProductResponse_cloudWatchDashboards :: Lens' DescribeProvisionedProductResponse (Maybe [CloudWatchDashboard])
- describeProvisionedProductResponse_httpStatus :: Lens' DescribeProvisionedProductResponse Int
Creating a Request
data DescribeProvisionedProduct Source #
DescribeProvisionedProductAPI input structure. AcceptLanguage - [Optional] The language code for localization. Id - [Optional] The provisioned product identifier. Name - [Optional] Another provisioned product identifier. Customers must provide either Id or Name.
See: newDescribeProvisionedProduct
smart constructor.
DescribeProvisionedProduct' | |
|
Instances
newDescribeProvisionedProduct :: DescribeProvisionedProduct Source #
Create a value of DescribeProvisionedProduct
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:DescribeProvisionedProduct'
, describeProvisionedProduct_name
- The name of the provisioned product. You must provide the name or ID,
but not both.
If you do not provide a name or ID, or you provide both name and ID, an
InvalidParametersException
will occur.
$sel:acceptLanguage:DescribeProvisionedProduct'
, describeProvisionedProduct_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:id:DescribeProvisionedProduct'
, describeProvisionedProduct_id
- The provisioned product identifier. You must provide the name or ID, but
not both.
If you do not provide a name or ID, or you provide both name and ID, an
InvalidParametersException
will occur.
Request Lenses
describeProvisionedProduct_name :: Lens' DescribeProvisionedProduct (Maybe Text) Source #
The name of the provisioned product. You must provide the name or ID, but not both.
If you do not provide a name or ID, or you provide both name and ID, an
InvalidParametersException
will occur.
describeProvisionedProduct_acceptLanguage :: Lens' DescribeProvisionedProduct (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
describeProvisionedProduct_id :: Lens' DescribeProvisionedProduct (Maybe Text) Source #
The provisioned product identifier. You must provide the name or ID, but not both.
If you do not provide a name or ID, or you provide both name and ID, an
InvalidParametersException
will occur.
Destructuring the Response
data DescribeProvisionedProductResponse Source #
See: newDescribeProvisionedProductResponse
smart constructor.
DescribeProvisionedProductResponse' | |
|
Instances
newDescribeProvisionedProductResponse Source #
Create a value of DescribeProvisionedProductResponse
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:provisionedProductDetail:DescribeProvisionedProductResponse'
, describeProvisionedProductResponse_provisionedProductDetail
- Information about the provisioned product.
$sel:cloudWatchDashboards:DescribeProvisionedProductResponse'
, describeProvisionedProductResponse_cloudWatchDashboards
- Any CloudWatch dashboards that were created when provisioning the
product.
$sel:httpStatus:DescribeProvisionedProductResponse'
, describeProvisionedProductResponse_httpStatus
- The response's http status code.
Response Lenses
describeProvisionedProductResponse_provisionedProductDetail :: Lens' DescribeProvisionedProductResponse (Maybe ProvisionedProductDetail) Source #
Information about the provisioned product.
describeProvisionedProductResponse_cloudWatchDashboards :: Lens' DescribeProvisionedProductResponse (Maybe [CloudWatchDashboard]) Source #
Any CloudWatch dashboards that were created when provisioning the product.
describeProvisionedProductResponse_httpStatus :: Lens' DescribeProvisionedProductResponse Int Source #
The response's http status code.