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. This operation is run with administrator access.
Synopsis
- data DescribeProductAsAdmin = DescribeProductAsAdmin' {}
- newDescribeProductAsAdmin :: DescribeProductAsAdmin
- describeProductAsAdmin_sourcePortfolioId :: Lens' DescribeProductAsAdmin (Maybe Text)
- describeProductAsAdmin_name :: Lens' DescribeProductAsAdmin (Maybe Text)
- describeProductAsAdmin_acceptLanguage :: Lens' DescribeProductAsAdmin (Maybe Text)
- describeProductAsAdmin_id :: Lens' DescribeProductAsAdmin (Maybe Text)
- data DescribeProductAsAdminResponse = DescribeProductAsAdminResponse' {}
- newDescribeProductAsAdminResponse :: Int -> DescribeProductAsAdminResponse
- describeProductAsAdminResponse_productViewDetail :: Lens' DescribeProductAsAdminResponse (Maybe ProductViewDetail)
- describeProductAsAdminResponse_tagOptions :: Lens' DescribeProductAsAdminResponse (Maybe [TagOptionDetail])
- describeProductAsAdminResponse_provisioningArtifactSummaries :: Lens' DescribeProductAsAdminResponse (Maybe [ProvisioningArtifactSummary])
- describeProductAsAdminResponse_budgets :: Lens' DescribeProductAsAdminResponse (Maybe [BudgetDetail])
- describeProductAsAdminResponse_tags :: Lens' DescribeProductAsAdminResponse (Maybe [Tag])
- describeProductAsAdminResponse_httpStatus :: Lens' DescribeProductAsAdminResponse Int
Creating a Request
data DescribeProductAsAdmin Source #
See: newDescribeProductAsAdmin
smart constructor.
DescribeProductAsAdmin' | |
|
Instances
newDescribeProductAsAdmin :: DescribeProductAsAdmin Source #
Create a value of DescribeProductAsAdmin
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:sourcePortfolioId:DescribeProductAsAdmin'
, describeProductAsAdmin_sourcePortfolioId
- The unique identifier of the shared portfolio that the specified product
is associated with.
You can provide this parameter to retrieve the shared TagOptions associated with the product. If this parameter is provided and if TagOptions sharing is enabled in the portfolio share, the API returns both local and shared TagOptions associated with the product. Otherwise only local TagOptions will be returned.
$sel:name:DescribeProductAsAdmin'
, describeProductAsAdmin_name
- The product name.
$sel:acceptLanguage:DescribeProductAsAdmin'
, describeProductAsAdmin_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:id:DescribeProductAsAdmin'
, describeProductAsAdmin_id
- The product identifier.
Request Lenses
describeProductAsAdmin_sourcePortfolioId :: Lens' DescribeProductAsAdmin (Maybe Text) Source #
The unique identifier of the shared portfolio that the specified product is associated with.
You can provide this parameter to retrieve the shared TagOptions associated with the product. If this parameter is provided and if TagOptions sharing is enabled in the portfolio share, the API returns both local and shared TagOptions associated with the product. Otherwise only local TagOptions will be returned.
describeProductAsAdmin_name :: Lens' DescribeProductAsAdmin (Maybe Text) Source #
The product name.
describeProductAsAdmin_acceptLanguage :: Lens' DescribeProductAsAdmin (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
describeProductAsAdmin_id :: Lens' DescribeProductAsAdmin (Maybe Text) Source #
The product identifier.
Destructuring the Response
data DescribeProductAsAdminResponse Source #
See: newDescribeProductAsAdminResponse
smart constructor.
DescribeProductAsAdminResponse' | |
|
Instances
newDescribeProductAsAdminResponse Source #
Create a value of DescribeProductAsAdminResponse
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:productViewDetail:DescribeProductAsAdminResponse'
, describeProductAsAdminResponse_productViewDetail
- Information about the product view.
$sel:tagOptions:DescribeProductAsAdminResponse'
, describeProductAsAdminResponse_tagOptions
- Information about the TagOptions associated with the product.
$sel:provisioningArtifactSummaries:DescribeProductAsAdminResponse'
, describeProductAsAdminResponse_provisioningArtifactSummaries
- Information about the provisioning artifacts (also known as versions)
for the specified product.
$sel:budgets:DescribeProductAsAdminResponse'
, describeProductAsAdminResponse_budgets
- Information about the associated budgets.
$sel:tags:DescribeProductAsAdminResponse'
, describeProductAsAdminResponse_tags
- Information about the tags associated with the product.
$sel:httpStatus:DescribeProductAsAdminResponse'
, describeProductAsAdminResponse_httpStatus
- The response's http status code.
Response Lenses
describeProductAsAdminResponse_productViewDetail :: Lens' DescribeProductAsAdminResponse (Maybe ProductViewDetail) Source #
Information about the product view.
describeProductAsAdminResponse_tagOptions :: Lens' DescribeProductAsAdminResponse (Maybe [TagOptionDetail]) Source #
Information about the TagOptions associated with the product.
describeProductAsAdminResponse_provisioningArtifactSummaries :: Lens' DescribeProductAsAdminResponse (Maybe [ProvisioningArtifactSummary]) Source #
Information about the provisioning artifacts (also known as versions) for the specified product.
describeProductAsAdminResponse_budgets :: Lens' DescribeProductAsAdminResponse (Maybe [BudgetDetail]) Source #
Information about the associated budgets.
describeProductAsAdminResponse_tags :: Lens' DescribeProductAsAdminResponse (Maybe [Tag]) Source #
Information about the tags associated with the product.
describeProductAsAdminResponse_httpStatus :: Lens' DescribeProductAsAdminResponse Int Source #
The response's http status code.