list_hosted_configuration_versions
async
¶
list_hosted_configuration_versions(
application_id: Name,
configuration_profile_id: LongName,
*,
config_overrides: Optional[AsyncAppConfigClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
version_label: Optional[QueryName] = None,
) -> HostedConfigurationVersions
Lists configurations stored in the AppConfig hosted configuration store by version.
Parameters:
-
application_id(Name) –The application ID.
-
configuration_profile_id(LongName) –The configuration profile ID.
-
max_results(Optional[MaxResults], default:None) –The maximum number of items to return for this call. If
MaxResultsis not provided in the call, AppConfig returns the maximum of 50. The call also returns a token that you can specify in a subsequent call to get the next set of results. -
next_token(Optional[NextToken], default:None) –A token to start the list. Use this token to get the next set of results.
-
version_label(Optional[QueryName], default:None) –An optional filter that can be used to specify the version label of an AppConfig hosted configuration version. This parameter supports filtering by prefix using a wildcard, for example "v2*". If you don't specify an asterisk at the end of the value, only an exact match is returned.
Raises:
-
BadRequestException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
InternalServerException–There was an internal failure in the AppConfig service.
-
ResourceNotFoundException–The requested resource could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To list the available hosted configuration versions The following list-hosted-configuration-versions example lists the configurations versions hosted in the AWS AppConfig hosted configuration store for the specified application and configuration profile.
>>> await client.list_hosted_configuration_versions(application_id='339ohji', configuration_profile_id='ur8hx2f')
Source code in docs_src/capo_appconfig/_services/async_app_config.py
2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 | |