list_environment_template_versions
async
¶
list_environment_template_versions(
template_name: ResourceName,
*,
config_overrides: Optional[AsyncProtonClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxPageResults] = None,
major_version: Optional[TemplateVersionPart] = None,
) -> ListEnvironmentTemplateVersionsOutput
List major or minor versions of an environment 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 an environment 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 an environment template to list.
-
template_name(ResourceName) –The name of the environment template.
-
major_version(Optional[TemplateVersionPart], default:None) –To view a list of minor of versions under a major version of an environment template, include
major Version.To view a list of major versions of an environment 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/async_proton.py
4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 | |