list_configuration_profiles
async
¶
list_configuration_profiles(
application_id: Name,
*,
config_overrides: Optional[AsyncAppConfigClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
type: Optional[ConfigurationProfileType] = None,
) -> ConfigurationProfiles
Lists the configuration profiles for an application.
Parameters:
-
application_id(Name) –The application ID.
-
max_results(Optional[MaxResults], default:None) –The maximum number of items to return for this call. 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.
-
type(Optional[ConfigurationProfileType], default:None) –A filter based on the type of configurations that the configuration profile contains. A configuration can be a feature flag or a freeform configuration.
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 configuration profiles The following list-configuration-profiles example lists the available configuration profiles for the specified application.
Source code in docs_src/capo_appconfig/_services/async_app_config.py
2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 | |