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 |
Shares the specified portfolio with the specified account.
- 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. *en
- English (default) *jp
- Japanese *zh
- ChinesecpsPortfolioId
- The portfolio identifier.cpsAccountId
- The AWS account ID.
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 AWS account ID.
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.