| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ServiceCatalog.UpdatePortfolio
Description
Updates the specified portfolio.
You cannot update a product that was shared with you.
Synopsis
- data UpdatePortfolio = UpdatePortfolio' {
- acceptLanguage :: Maybe Text
- addTags :: Maybe [Tag]
- description :: Maybe Text
- displayName :: Maybe Text
- providerName :: Maybe Text
- removeTags :: Maybe [Text]
- id :: Text
- newUpdatePortfolio :: Text -> UpdatePortfolio
- updatePortfolio_acceptLanguage :: Lens' UpdatePortfolio (Maybe Text)
- updatePortfolio_addTags :: Lens' UpdatePortfolio (Maybe [Tag])
- updatePortfolio_description :: Lens' UpdatePortfolio (Maybe Text)
- updatePortfolio_displayName :: Lens' UpdatePortfolio (Maybe Text)
- updatePortfolio_providerName :: Lens' UpdatePortfolio (Maybe Text)
- updatePortfolio_removeTags :: 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.
Constructors
| UpdatePortfolio' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdatePortfolio |
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:acceptLanguage:UpdatePortfolio', updatePortfolio_acceptLanguage - The language code.
en- English (default)jp- Japanesezh- Chinese
$sel:addTags:UpdatePortfolio', updatePortfolio_addTags - The tags to add.
UpdatePortfolio, updatePortfolio_description - The updated description of the portfolio.
UpdatePortfolio, updatePortfolio_displayName - The name to use for display purposes.
UpdatePortfolio, updatePortfolio_providerName - The updated name of the portfolio provider.
$sel:removeTags:UpdatePortfolio', updatePortfolio_removeTags - The tags to remove.
UpdatePortfolio, updatePortfolio_id - The portfolio identifier.
Request Lenses
updatePortfolio_acceptLanguage :: Lens' UpdatePortfolio (Maybe Text) Source #
The language code.
en- English (default)jp- Japanesezh- Chinese
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_displayName :: Lens' UpdatePortfolio (Maybe Text) Source #
The name to use for display purposes.
updatePortfolio_providerName :: Lens' UpdatePortfolio (Maybe Text) Source #
The updated name of the portfolio provider.
updatePortfolio_removeTags :: Lens' UpdatePortfolio (Maybe [Text]) Source #
The tags to remove.
updatePortfolio_id :: Lens' UpdatePortfolio Text Source #
The portfolio identifier.
Destructuring the Response
data UpdatePortfolioResponse Source #
See: newUpdatePortfolioResponse smart constructor.
Constructors
| UpdatePortfolioResponse' | |
Fields
| |
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.
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.