list_configuration_profiles
¶
list_configuration_profiles(
application_id: Name,
*,
config_overrides: Optional[AppConfigClientConfig] = 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/app_config.py
2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 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 | |