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 |
Creates a new portfolio share.
- createPortfolioShare :: Text -> Text -> CreatePortfolioShare
- data CreatePortfolioShare
- cpsAcceptLanguage :: Lens' CreatePortfolioShare (Maybe Text)
- cpsPortfolioId :: Lens' CreatePortfolioShare Text
- cpsAccountId :: Lens' CreatePortfolioShare Text
- createPortfolioShareResponse :: Int -> CreatePortfolioShareResponse
- data CreatePortfolioShareResponse
- cpsrsResponseStatus :: Lens' CreatePortfolioShareResponse Int
Creating a Request
Creates a value of CreatePortfolioShare
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpsAcceptLanguage
- 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.cpsPortfolioId
- The portfolio identifier.cpsAccountId
- The account ID with which to share the portfolio.
Request Lenses
cpsAcceptLanguage :: Lens' CreatePortfolioShare (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.
cpsPortfolioId :: Lens' CreatePortfolioShare Text Source #
The portfolio identifier.
cpsAccountId :: Lens' CreatePortfolioShare Text Source #
The account ID with which to share the portfolio.
Destructuring the Response
createPortfolioShareResponse Source #
Creates a value of CreatePortfolioShareResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpsrsResponseStatus
- -- | The response status code.
Response Lenses
cpsrsResponseStatus :: Lens' CreatePortfolioShareResponse Int Source #
- - | The response status code.