list_service_template_versions
¶
list_service_template_versions(
template_name: ResourceName,
*,
config_overrides: Optional[ProtonClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxPageResults] = None,
major_version: Optional[TemplateVersionPart] = None,
) -> ListServiceTemplateVersionsOutput
List major or minor versions of a service template with detail data.
Parameters:
-
next_token(Optional[NextToken], default:None) –A token that indicates the location of the next major or minor version in the array of major or minor versions of a service template, after the list of major or minor versions that was previously requested.
-
max_results(Optional[MaxPageResults], default:None) –The maximum number of major or minor versions of a service template to list.
-
template_name(ResourceName) –The name of the service template.
-
major_version(Optional[TemplateVersionPart], default:None) –To view a list of minor of versions under a major version of a service template, include
major Version.To view a list of major versions of a service template, exclude
major Version.
Raises:
-
AccessDeniedException–There isn't sufficient access for performing this action.
-
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
6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 | |