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 |
Updates the specified portfolio's details. This operation does not work with a product that has been shared with you.
- updatePortfolio :: Text -> UpdatePortfolio
- data UpdatePortfolio
- uRemoveTags :: Lens' UpdatePortfolio [Text]
- uAcceptLanguage :: Lens' UpdatePortfolio (Maybe Text)
- uDisplayName :: Lens' UpdatePortfolio (Maybe Text)
- uAddTags :: Lens' UpdatePortfolio [Tag]
- uDescription :: Lens' UpdatePortfolio (Maybe Text)
- uProviderName :: Lens' UpdatePortfolio (Maybe Text)
- uId :: Lens' UpdatePortfolio Text
- updatePortfolioResponse :: Int -> UpdatePortfolioResponse
- data UpdatePortfolioResponse
- uprsPortfolioDetail :: Lens' UpdatePortfolioResponse (Maybe PortfolioDetail)
- uprsTags :: Lens' UpdatePortfolioResponse [Tag]
- uprsResponseStatus :: Lens' UpdatePortfolioResponse Int
Creating a Request
:: Text | |
-> UpdatePortfolio |
Creates a value of UpdatePortfolio
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uRemoveTags
- Tags to remove from the existing list of tags associated with the portfolio.uAcceptLanguage
- The language code. *en
- English (default) *jp
- Japanese *zh
- ChineseuDisplayName
- The name to use for display purposes.uAddTags
- Tags to add to the existing list of tags associated with the portfolio.uDescription
- The updated text description of the portfolio.uProviderName
- The updated name of the portfolio provider.uId
- The identifier of the portfolio for the update request.
data UpdatePortfolio Source #
See: updatePortfolio
smart constructor.
Request Lenses
uRemoveTags :: Lens' UpdatePortfolio [Text] Source #
Tags to remove from the existing list of tags associated with the portfolio.
uAcceptLanguage :: Lens' UpdatePortfolio (Maybe Text) Source #
The language code. * en
- English (default) * jp
- Japanese * zh
- Chinese
uDisplayName :: Lens' UpdatePortfolio (Maybe Text) Source #
The name to use for display purposes.
uAddTags :: Lens' UpdatePortfolio [Tag] Source #
Tags to add to the existing list of tags associated with the portfolio.
uDescription :: Lens' UpdatePortfolio (Maybe Text) Source #
The updated text description of the portfolio.
uProviderName :: Lens' UpdatePortfolio (Maybe Text) Source #
The updated name of the portfolio provider.
Destructuring the Response
updatePortfolioResponse Source #
Creates a value of UpdatePortfolioResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uprsPortfolioDetail
- The resulting detailed portfolio information.uprsTags
- Tags associated with the portfolio.uprsResponseStatus
- -- | The response status code.
data UpdatePortfolioResponse Source #
See: updatePortfolioResponse
smart constructor.
Response Lenses
uprsPortfolioDetail :: Lens' UpdatePortfolioResponse (Maybe PortfolioDetail) Source #
The resulting detailed portfolio information.
uprsResponseStatus :: Lens' UpdatePortfolioResponse Int Source #
- - | The response status code.