update_service_template_version
¶
update_service_template_version(
template_name: ResourceName,
major_version: TemplateVersionPart,
minor_version: TemplateVersionPart,
*,
config_overrides: Optional[ProtonClientConfig] = None,
description: Optional[Description] = None,
status: Optional[TemplateVersionStatus] = None,
compatible_environment_templates: Optional[
CompatibleEnvironmentTemplateInputList
] = None,
supported_component_sources: Optional[
ServiceTemplateSupportedComponentSourceInputList
] = None,
) -> UpdateServiceTemplateVersionOutput
Update a major or minor version of a service template.
Parameters:
-
template_name(ResourceName) –The name of the service template.
-
major_version(TemplateVersionPart) –To update a major version of a service template, include
major Version. -
minor_version(TemplateVersionPart) –To update a minor version of a service template, include
minorVersion. -
description(Optional[Description], default:None) –A description of a service template version to update.
-
status(Optional[TemplateVersionStatus], default:None) –The status of the service template minor version to update.
-
compatible_environment_templates(Optional[CompatibleEnvironmentTemplateInputList], default:None) –An array of environment template objects that are compatible with this service template version. A service instance based on this service template version can run in environments based on compatible templates.
-
supported_component_sources(Optional[ServiceTemplateSupportedComponentSourceInputList], default:None) –An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.
A change to
supportedComponentSourcesdoesn't impact existing component attachments to instances based on this template version. A change only affects later associations.For more information about components, see Proton components in the Proton User Guide.
Raises:
-
AccessDeniedException–There isn't sufficient access for performing this action.
-
ConflictException–The request couldn't be made due to a conflicting operation or resource.
-
InternalServerException–The request failed to register with the service.
-
ResourceNotFoundException–The requested resource wasn't found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input is invalid or an out-of-range value was supplied for the input parameter.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_proton/_services/proton.py
6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 | |