Copyright | (c) 2013-2021 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 |
Updates the specified portfolio.
You cannot update a product that was shared with you.
Synopsis
- data UpdatePortfolio = UpdatePortfolio' {
- removeTags :: Maybe [Text]
- acceptLanguage :: Maybe Text
- displayName :: Maybe Text
- addTags :: Maybe [Tag]
- description :: Maybe Text
- providerName :: Maybe Text
- id :: Text
- newUpdatePortfolio :: Text -> UpdatePortfolio
- updatePortfolio_removeTags :: Lens' UpdatePortfolio (Maybe [Text])
- updatePortfolio_acceptLanguage :: Lens' UpdatePortfolio (Maybe Text)
- updatePortfolio_displayName :: Lens' UpdatePortfolio (Maybe Text)
- updatePortfolio_addTags :: Lens' UpdatePortfolio (Maybe [Tag])
- updatePortfolio_description :: Lens' UpdatePortfolio (Maybe Text)
- updatePortfolio_providerName :: Lens' UpdatePortfolio (Maybe Text)
- updatePortfolio_id :: Lens' UpdatePortfolio Text
- data UpdatePortfolioResponse = UpdatePortfolioResponse' {
- portfolioDetail :: Maybe PortfolioDetail
- tags :: Maybe [Tag]
- httpStatus :: Int
- newUpdatePortfolioResponse :: Int -> UpdatePortfolioResponse
- updatePortfolioResponse_portfolioDetail :: Lens' UpdatePortfolioResponse (Maybe PortfolioDetail)
- updatePortfolioResponse_tags :: Lens' UpdatePortfolioResponse (Maybe [Tag])
- updatePortfolioResponse_httpStatus :: Lens' UpdatePortfolioResponse Int
Creating a Request
data UpdatePortfolio Source #
See: newUpdatePortfolio
smart constructor.
UpdatePortfolio' | |
|
Instances
Create a value of UpdatePortfolio
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:removeTags:UpdatePortfolio'
, updatePortfolio_removeTags
- The tags to remove.
$sel:acceptLanguage:UpdatePortfolio'
, updatePortfolio_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:displayName:UpdatePortfolio'
, updatePortfolio_displayName
- The name to use for display purposes.
$sel:addTags:UpdatePortfolio'
, updatePortfolio_addTags
- The tags to add.
$sel:description:UpdatePortfolio'
, updatePortfolio_description
- The updated description of the portfolio.
$sel:providerName:UpdatePortfolio'
, updatePortfolio_providerName
- The updated name of the portfolio provider.
$sel:id:UpdatePortfolio'
, updatePortfolio_id
- The portfolio identifier.
Request Lenses
updatePortfolio_removeTags :: Lens' UpdatePortfolio (Maybe [Text]) Source #
The tags to remove.
updatePortfolio_acceptLanguage :: Lens' UpdatePortfolio (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
updatePortfolio_displayName :: Lens' UpdatePortfolio (Maybe Text) Source #
The name to use for display purposes.
updatePortfolio_addTags :: Lens' UpdatePortfolio (Maybe [Tag]) Source #
The tags to add.
updatePortfolio_description :: Lens' UpdatePortfolio (Maybe Text) Source #
The updated description of the portfolio.
updatePortfolio_providerName :: Lens' UpdatePortfolio (Maybe Text) Source #
The updated name of the portfolio provider.
updatePortfolio_id :: Lens' UpdatePortfolio Text Source #
The portfolio identifier.
Destructuring the Response
data UpdatePortfolioResponse Source #
See: newUpdatePortfolioResponse
smart constructor.
UpdatePortfolioResponse' | |
|
Instances
newUpdatePortfolioResponse Source #
Create a value of UpdatePortfolioResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:portfolioDetail:UpdatePortfolioResponse'
, updatePortfolioResponse_portfolioDetail
- Information about the portfolio.
$sel:tags:UpdatePortfolioResponse'
, updatePortfolioResponse_tags
- Information about the tags associated with the portfolio.
$sel:httpStatus:UpdatePortfolioResponse'
, updatePortfolioResponse_httpStatus
- The response's http status code.
Response Lenses
updatePortfolioResponse_portfolioDetail :: Lens' UpdatePortfolioResponse (Maybe PortfolioDetail) Source #
Information about the portfolio.
updatePortfolioResponse_tags :: Lens' UpdatePortfolioResponse (Maybe [Tag]) Source #
Information about the tags associated with the portfolio.
updatePortfolioResponse_httpStatus :: Lens' UpdatePortfolioResponse Int Source #
The response's http status code.