update_product
¶
update_product(
id: Id,
*,
config_overrides: Optional[ServiceCatalogClientConfig] = None,
accept_language: Optional[AcceptLanguage] = None,
name: Optional[ProductViewName] = None,
owner: Optional[ProductViewOwner] = None,
description: Optional[ProductViewShortDescription] = None,
distributor: Optional[ProductViewOwner] = None,
support_description: Optional[SupportDescription] = None,
support_email: Optional[SupportEmail] = None,
support_url: Optional[SupportUrl] = None,
add_tags: Optional[AddTags] = None,
remove_tags: Optional[TagKeys] = None,
source_connection: Optional[SourceConnection] = None,
) -> UpdateProductOutput
Updates the specified product.
Parameters:
-
accept_language(Optional[AcceptLanguage], default:None) –The language code.
-
jp- Japanese -
zh- Chinese
-
-
id(Id) –The product identifier.
-
name(Optional[ProductViewName], default:None) –The updated product name.
-
owner(Optional[ProductViewOwner], default:None) –The updated owner of the product.
-
description(Optional[ProductViewShortDescription], default:None) –The updated description of the product.
-
distributor(Optional[ProductViewOwner], default:None) –The updated distributor of the product.
-
support_description(Optional[SupportDescription], default:None) –The updated support description for the product.
-
support_email(Optional[SupportEmail], default:None) –The updated support email for the product.
-
support_url(Optional[SupportUrl], default:None) –The updated support URL for the product.
-
add_tags(Optional[AddTags], default:None) –The tags to add to the product.
-
remove_tags(Optional[TagKeys], default:None) –The tags to remove from the product.
-
source_connection(Optional[SourceConnection], default:None) –Specifies connection details for the updated product and syncs the product to the connection source artifact. This automatically manages the product's artifacts based on changes to the source. The
SourceConnectionparameter consists of the following sub-fields.-
Type -
ConnectionParamters
-
Raises:
-
InvalidParametersException–One or more parameters provided to the operation are not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
TagOptionNotMigratedException–An operation requiring TagOptions failed because the TagOptions migration process has not been performed for this account. Use the Amazon Web Services Management Console to perform the migration process before retrying the operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_service_catalog/_services/service_catalog.py
6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 | |