list_enabled_baselines
async
¶
list_enabled_baselines(
*,
config_overrides: Optional[AsyncControlTowerClientConfig] = None,
filter: Optional[EnabledBaselineFilter] = None,
next_token: Optional[ListEnabledBaselinesNextToken] = None,
max_results: Optional[ListEnabledBaselinesMaxResults] = None,
include_children: Optional[bool] = None,
) -> ListEnabledBaselinesOutput
Returns a list of summaries describing EnabledBaseline resources. You can filter the list by the corresponding Baseline or Target of the EnabledBaseline resources. For usage examples, see the Amazon Web Services Control Tower User Guide .
Parameters:
-
filter(Optional[EnabledBaselineFilter], default:None) –A filter applied on the
ListEnabledBaselineoperation. Allowed filters arebaselineIdentifiersandtargetIdentifiers. The filter can be applied for either, or both. -
next_token(Optional[ListEnabledBaselinesNextToken], default:None) –A pagination token.
-
max_results(Optional[ListEnabledBaselinesMaxResults], default:None) –The maximum number of results to be shown.
-
include_children(Optional[bool], default:None) –A value that can be set to include the child enabled baselines in responses. The default value is false.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–An unexpected error occurred during processing of a request.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input does not satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.