Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Gets information about the specified product. This operation is run with administrator access.
Synopsis
- data DescribeProductAsAdmin = DescribeProductAsAdmin' {}
- newDescribeProductAsAdmin :: DescribeProductAsAdmin
- describeProductAsAdmin_acceptLanguage :: Lens' DescribeProductAsAdmin (Maybe Text)
- describeProductAsAdmin_id :: Lens' DescribeProductAsAdmin (Maybe Text)
- describeProductAsAdmin_name :: Lens' DescribeProductAsAdmin (Maybe Text)
- describeProductAsAdmin_sourcePortfolioId :: Lens' DescribeProductAsAdmin (Maybe Text)
- data DescribeProductAsAdminResponse = DescribeProductAsAdminResponse' {}
- newDescribeProductAsAdminResponse :: Int -> DescribeProductAsAdminResponse
- describeProductAsAdminResponse_budgets :: Lens' DescribeProductAsAdminResponse (Maybe [BudgetDetail])
- describeProductAsAdminResponse_productViewDetail :: Lens' DescribeProductAsAdminResponse (Maybe ProductViewDetail)
- describeProductAsAdminResponse_provisioningArtifactSummaries :: Lens' DescribeProductAsAdminResponse (Maybe [ProvisioningArtifactSummary])
- describeProductAsAdminResponse_tagOptions :: Lens' DescribeProductAsAdminResponse (Maybe [TagOptionDetail])
- 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:acceptLanguage:DescribeProductAsAdmin'
, describeProductAsAdmin_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
DescribeProductAsAdmin
, describeProductAsAdmin_id
- The product identifier.
DescribeProductAsAdmin
, describeProductAsAdmin_name
- The product name.
$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.
Request Lenses
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.
describeProductAsAdmin_name :: Lens' DescribeProductAsAdmin (Maybe Text) Source #
The product name.
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.
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:budgets:DescribeProductAsAdminResponse'
, describeProductAsAdminResponse_budgets
- Information about the associated budgets.
$sel:productViewDetail:DescribeProductAsAdminResponse'
, describeProductAsAdminResponse_productViewDetail
- Information about the product view.
$sel:provisioningArtifactSummaries:DescribeProductAsAdminResponse'
, describeProductAsAdminResponse_provisioningArtifactSummaries
- Information about the provisioning artifacts (also known as versions)
for the specified product.
$sel:tagOptions:DescribeProductAsAdminResponse'
, describeProductAsAdminResponse_tagOptions
- Information about the TagOptions associated with the product.
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_budgets :: Lens' DescribeProductAsAdminResponse (Maybe [BudgetDetail]) Source #
Information about the associated budgets.
describeProductAsAdminResponse_productViewDetail :: Lens' DescribeProductAsAdminResponse (Maybe ProductViewDetail) Source #
Information about the product view.
describeProductAsAdminResponse_provisioningArtifactSummaries :: Lens' DescribeProductAsAdminResponse (Maybe [ProvisioningArtifactSummary]) Source #
Information about the provisioning artifacts (also known as versions) for the specified product.
describeProductAsAdminResponse_tagOptions :: Lens' DescribeProductAsAdminResponse (Maybe [TagOptionDetail]) Source #
Information about the TagOptions associated with the product.
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.