Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Gets information about the specified portfolio.
- describePortfolio :: Text -> DescribePortfolio
- data DescribePortfolio
- desAcceptLanguage :: Lens' DescribePortfolio (Maybe Text)
- desId :: Lens' DescribePortfolio Text
- describePortfolioResponse :: Int -> DescribePortfolioResponse
- data DescribePortfolioResponse
- dprsPortfolioDetail :: Lens' DescribePortfolioResponse (Maybe PortfolioDetail)
- dprsTagOptions :: Lens' DescribePortfolioResponse [TagOptionDetail]
- dprsTags :: Lens' DescribePortfolioResponse [Tag]
- dprsResponseStatus :: Lens' DescribePortfolioResponse Int
Creating a Request
Creates a value of DescribePortfolio
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
desAcceptLanguage
- The language code. *en
- English (default) *jp
- Japanese *zh
- ChinesedesId
- The portfolio identifier.
data DescribePortfolio Source #
See: describePortfolio
smart constructor.
Request Lenses
desAcceptLanguage :: Lens' DescribePortfolio (Maybe Text) Source #
The language code. * en
- English (default) * jp
- Japanese * zh
- Chinese
Destructuring the Response
describePortfolioResponse Source #
Creates a value of DescribePortfolioResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dprsPortfolioDetail
- Information about the portfolio.dprsTagOptions
- Information about the TagOptions associated with the portfolio.dprsTags
- Information about the tags associated with the portfolio.dprsResponseStatus
- -- | The response status code.
data DescribePortfolioResponse Source #
See: describePortfolioResponse
smart constructor.
Response Lenses
dprsPortfolioDetail :: Lens' DescribePortfolioResponse (Maybe PortfolioDetail) Source #
Information about the portfolio.
dprsTagOptions :: Lens' DescribePortfolioResponse [TagOptionDetail] Source #
Information about the TagOptions associated with the portfolio.
dprsTags :: Lens' DescribePortfolioResponse [Tag] Source #
Information about the tags associated with the portfolio.
dprsResponseStatus :: Lens' DescribePortfolioResponse Int Source #
- - | The response status code.