| Copyright | (c) 2013-2017 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 |
Network.AWS.ServiceCatalog.CreatePortfolioShare
Description
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
Arguments
| :: Text | |
| -> Text | |
| -> CreatePortfolioShare |
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. *en- English (default) *jp- Japanese *zh- ChinesecpsPortfolioId- The portfolio identifier.cpsAccountId- The account ID with which to share the portfolio.
Request Lenses
cpsAcceptLanguage :: Lens' CreatePortfolioShare (Maybe Text) Source #
The language code. * en - English (default) * jp - Japanese * zh - Chinese
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 #
Arguments
| :: Int | |
| -> CreatePortfolioShareResponse |
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.