describe_tags
¶
describe_tags(
*,
config_overrides: Optional[ApplicationDiscoveryServiceClientConfig] = 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/application_discovery_service.py
1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 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 | |