Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves detailed information and any tags associated with 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)
- 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 to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.desId
- The identifier of the portfolio for which to retrieve information.
data DescribePortfolio Source #
See: describePortfolio
smart constructor.
Request Lenses
desAcceptLanguage :: Lens' DescribePortfolio (Maybe Text) Source #
The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.
desId :: Lens' DescribePortfolio Text Source #
The identifier of the portfolio for which to retrieve information.
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
- Detailed portfolio information.dprsTags
- 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 #
Detailed portfolio information.
dprsResponseStatus :: Lens' DescribePortfolioResponse Int Source #
- - | The response status code.