describe_tags
async
¶
describe_tags(
*,
config_overrides: Optional[AsyncApplicationDiscoveryServiceClientConfig] = None,
filters: Optional[TagFilters] = None,
max_results: Optional[Integer] = None,
next_token: Optional[NextToken] = None,
) -> DescribeTagsResponse
Retrieves a list of configuration items that have tags as specified by the key-value pairs, name and value, passed to the optional parameter filters.
There are three valid tag filter names:
-
tagKey
-
tagValue
-
configurationId
Also, all configuration items associated with your user that have tags can be listed if you call DescribeTags as is without passing any parameters.
Parameters:
-
filters(Optional[TagFilters], default:None) –You can filter the list using a key-value format. You can separate these items by using logical operators. Allowed filters include
tagKey,tagValue, andconfigurationId. -
max_results(Optional[Integer], default:None) –The total number of items to return in a single page of output. The maximum value is 100.
-
next_token(Optional[NextToken], default:None) –A token to start the list. Use this token to get the next set of results.
Raises:
-
AuthorizationErrorException–The user does not have permission to perform the action. Check the IAM policy associated with this user.
-
HomeRegionNotSetException–The home Region is not set. Set the home Region to continue.
-
InvalidParameterException–One or more parameters are not valid. Verify the parameters and try again.
-
InvalidParameterValueException–The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.
-
ResourceNotFoundException–The specified configuration ID was not located. Verify the configuration ID and try again.
-
ServerInternalErrorException–The server experienced an internal error. Try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_application_discovery_service/_services/async_application_discovery_service.py
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 | |