| 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 |
Amazonka.ServiceCatalog.DescribePortfolio
Description
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' {
- budgets :: Maybe [BudgetDetail]
- portfolioDetail :: Maybe PortfolioDetail
- tagOptions :: Maybe [TagOptionDetail]
- tags :: Maybe [Tag]
- httpStatus :: Int
- newDescribePortfolioResponse :: Int -> DescribePortfolioResponse
- describePortfolioResponse_budgets :: Lens' DescribePortfolioResponse (Maybe [BudgetDetail])
- describePortfolioResponse_portfolioDetail :: Lens' DescribePortfolioResponse (Maybe PortfolioDetail)
- describePortfolioResponse_tagOptions :: Lens' DescribePortfolioResponse (Maybe [TagOptionDetail])
- describePortfolioResponse_tags :: Lens' DescribePortfolioResponse (Maybe [Tag])
- describePortfolioResponse_httpStatus :: Lens' DescribePortfolioResponse Int
Creating a Request
data DescribePortfolio Source #
See: newDescribePortfolio smart constructor.
Constructors
| DescribePortfolio' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribePortfolio |
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
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.
Constructors
| DescribePortfolioResponse' | |
Fields
| |
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:budgets:DescribePortfolioResponse', describePortfolioResponse_budgets - Information about the associated budgets.
$sel:portfolioDetail:DescribePortfolioResponse', describePortfolioResponse_portfolioDetail - Information about the portfolio.
$sel:tagOptions:DescribePortfolioResponse', describePortfolioResponse_tagOptions - Information about the TagOptions associated with the portfolio.
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_budgets :: Lens' DescribePortfolioResponse (Maybe [BudgetDetail]) Source #
Information about the associated budgets.
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_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.