describe_addon_versions
async
¶
describe_addon_versions(
*,
config_overrides: Optional[AsyncEKSClientConfig] = None,
kubernetes_version: Optional[String] = None,
max_results: Optional[DescribeAddonVersionsRequestMaxResults] = None,
next_token: Optional[String] = None,
addon_name: Optional[String] = None,
types: Optional[StringList] = None,
publishers: Optional[StringList] = None,
owners: Optional[StringList] = None,
) -> DescribeAddonVersionsResponse
Describes the versions for an add-on.
Information such as the Kubernetes versions that you can use the add-on with, the owner, publisher, and the type of the add-on are returned.
Parameters:
-
kubernetes_version(Optional[String], default:None) –The Kubernetes versions that you can use the add-on with.
-
max_results(Optional[DescribeAddonVersionsRequestMaxResults], default:None) –The maximum number of results, returned in paginated output. You receive
maxResultsin a single page, along with anextTokenresponse element. You can see the remaining results of the initial request by sending another request with the returnednextTokenvalue. This value can be between 1 and 100. If you don't use this parameter, 100 results and anextTokenvalue, if applicable, are returned. -
next_token(Optional[String], default:None) –The
nextTokenvalue returned from a previous paginated request, wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value is null when there are no more results to return.This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
-
addon_name(Optional[String], default:None) –The name of the add-on. The name must match one of the names returned by
ListAddons. -
types(Optional[StringList], default:None) –The type of the add-on. For valid
types, don't specify a value for this property. -
publishers(Optional[StringList], default:None) –The publisher of the add-on. For valid
publishers, don't specify a value for this property. -
owners(Optional[StringList], default:None) –The owner of the add-on. For valid
owners, don't specify a value for this property.
Raises:
-
InvalidParameterException–The specified parameter is invalid. Review the available parameters for the API request.
-
ResourceNotFoundException–The specified resource could not be found. You can view your available clusters with
ListClusters. You can view your available managed node groups withListNodegroups. Amazon EKS clusters and node groups are Amazon Web Services Region specific. -
ServerException–These errors are usually caused by a server-side issue.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_eks/_services/async_eks.py
2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 | |