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 portfolio.
A delegated admin is authorized to invoke this command.
Synopsis
- data DescribePortfolio = DescribePortfolio' {
- acceptLanguage :: Maybe Text
- id :: Text
- newDescribePortfolio :: Text -> DescribePortfolio
- describePortfolio_acceptLanguage :: Lens' DescribePortfolio (Maybe Text)
- describePortfolio_id :: Lens' DescribePortfolio Text
- data DescribePortfolioResponse = DescribePortfolioResponse' {
- portfolioDetail :: Maybe PortfolioDetail
- tagOptions :: Maybe [TagOptionDetail]
- budgets :: Maybe [BudgetDetail]
- tags :: Maybe [Tag]
- httpStatus :: Int
- newDescribePortfolioResponse :: Int -> DescribePortfolioResponse
- describePortfolioResponse_portfolioDetail :: Lens' DescribePortfolioResponse (Maybe PortfolioDetail)
- describePortfolioResponse_tagOptions :: Lens' DescribePortfolioResponse (Maybe [TagOptionDetail])
- describePortfolioResponse_budgets :: Lens' DescribePortfolioResponse (Maybe [BudgetDetail])
- describePortfolioResponse_tags :: Lens' DescribePortfolioResponse (Maybe [Tag])
- describePortfolioResponse_httpStatus :: Lens' DescribePortfolioResponse Int
Creating a Request
data DescribePortfolio Source #
See: newDescribePortfolio
smart constructor.
DescribePortfolio' | |
|
Instances
Create a value of DescribePortfolio
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:DescribePortfolio'
, describePortfolio_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:id:DescribePortfolio'
, describePortfolio_id
- The portfolio identifier.
Request Lenses
describePortfolio_acceptLanguage :: Lens' DescribePortfolio (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
describePortfolio_id :: Lens' DescribePortfolio Text Source #
The portfolio identifier.
Destructuring the Response
data DescribePortfolioResponse Source #
See: newDescribePortfolioResponse
smart constructor.
DescribePortfolioResponse' | |
|
Instances
newDescribePortfolioResponse Source #
Create a value of DescribePortfolioResponse
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:portfolioDetail:DescribePortfolioResponse'
, describePortfolioResponse_portfolioDetail
- Information about the portfolio.
$sel:tagOptions:DescribePortfolioResponse'
, describePortfolioResponse_tagOptions
- Information about the TagOptions associated with the portfolio.
$sel:budgets:DescribePortfolioResponse'
, describePortfolioResponse_budgets
- Information about the associated budgets.
$sel:tags:DescribePortfolioResponse'
, describePortfolioResponse_tags
- Information about the tags associated with the portfolio.
$sel:httpStatus:DescribePortfolioResponse'
, describePortfolioResponse_httpStatus
- The response's http status code.
Response Lenses
describePortfolioResponse_portfolioDetail :: Lens' DescribePortfolioResponse (Maybe PortfolioDetail) Source #
Information about the portfolio.
describePortfolioResponse_tagOptions :: Lens' DescribePortfolioResponse (Maybe [TagOptionDetail]) Source #
Information about the TagOptions associated with the portfolio.
describePortfolioResponse_budgets :: Lens' DescribePortfolioResponse (Maybe [BudgetDetail]) Source #
Information about the associated budgets.
describePortfolioResponse_tags :: Lens' DescribePortfolioResponse (Maybe [Tag]) Source #
Information about the tags associated with the portfolio.
describePortfolioResponse_httpStatus :: Lens' DescribePortfolioResponse Int Source #
The response's http status code.