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 |
Lists the account IDs that have been authorized sharing of the specified portfolio.
- listPortfolioAccess :: Text -> ListPortfolioAccess
- data ListPortfolioAccess
- lAcceptLanguage :: Lens' ListPortfolioAccess (Maybe Text)
- lPortfolioId :: Lens' ListPortfolioAccess Text
- listPortfolioAccessResponse :: Int -> ListPortfolioAccessResponse
- data ListPortfolioAccessResponse
- lparsNextPageToken :: Lens' ListPortfolioAccessResponse (Maybe Text)
- lparsAccountIds :: Lens' ListPortfolioAccessResponse [Text]
- lparsResponseStatus :: Lens' ListPortfolioAccessResponse Int
Creating a Request
Creates a value of ListPortfolioAccess
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lAcceptLanguage
- The language code. *en
- English (default) *jp
- Japanese *zh
- ChineselPortfolioId
- The portfolio identifier.
data ListPortfolioAccess Source #
See: listPortfolioAccess
smart constructor.
Request Lenses
lAcceptLanguage :: Lens' ListPortfolioAccess (Maybe Text) Source #
The language code. * en
- English (default) * jp
- Japanese * zh
- Chinese
lPortfolioId :: Lens' ListPortfolioAccess Text Source #
The portfolio identifier.
Destructuring the Response
listPortfolioAccessResponse Source #
Creates a value of ListPortfolioAccessResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lparsNextPageToken
- The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.lparsAccountIds
- List of account IDs associated with access to the portfolio.lparsResponseStatus
- -- | The response status code.
data ListPortfolioAccessResponse Source #
See: listPortfolioAccessResponse
smart constructor.
Response Lenses
lparsNextPageToken :: Lens' ListPortfolioAccessResponse (Maybe Text) Source #
The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
lparsAccountIds :: Lens' ListPortfolioAccessResponse [Text] Source #
List of account IDs associated with access to the portfolio.
lparsResponseStatus :: Lens' ListPortfolioAccessResponse Int Source #
- - | The response status code.