OperationNotPermittedException
¶
OperationNotPermittedException(
data: OperationNotPermittedException_,
message: str | None = None,
*,
response: Response,
)
Bases: ServiceError
Modeled error for Smithy shape com.amazonaws.cloudtrail#OperationNotPermittedException.
Raised by
-
AsyncCloudTrailClient Operations-
add_tags -
cancel_query -
create_channel -
create_event_data_store -
create_trail -
delete_channel -
delete_event_data_store -
delete_resource_policy -
delete_trail -
deregister_organization_delegated_admin -
describe_query -
describe_trails -
disable_federation -
enable_federation -
generate_query -
get_channel -
get_event_configuration -
get_event_data_store -
get_event_selectors -
get_import -
get_insight_selectors -
get_query_results -
get_resource_policy -
get_trail -
get_trail_status -
list_channels -
list_event_data_stores -
list_import_failures -
list_imports -
list_insights_data -
list_insights_metric_data -
list_public_keys -
list_queries -
list_tags -
list_trails -
lookup_events -
put_event_configuration -
put_event_selectors -
put_insight_selectors -
put_resource_policy -
register_organization_delegated_admin -
remove_tags -
restore_event_data_store -
search_sample_queries -
start_event_data_store_ingestion -
start_import -
start_logging -
start_query -
stop_event_data_store_ingestion -
stop_import -
stop_logging -
update_channel -
update_event_data_store -
update_trail
-
-
CloudTrailClient Operations-
add_tags -
cancel_query -
create_channel -
create_event_data_store -
create_trail -
delete_channel -
delete_event_data_store -
delete_resource_policy -
delete_trail -
deregister_organization_delegated_admin -
describe_query -
describe_trails -
disable_federation -
enable_federation -
generate_query -
get_channel -
get_event_configuration -
get_event_data_store -
get_event_selectors -
get_import -
get_insight_selectors -
get_query_results -
get_resource_policy -
get_trail -
get_trail_status -
list_channels -
list_event_data_stores -
list_import_failures -
list_imports -
list_insights_data -
list_insights_metric_data -
list_public_keys -
list_queries -
list_tags -
list_trails -
lookup_events -
put_event_configuration -
put_event_selectors -
put_insight_selectors -
put_resource_policy -
register_organization_delegated_admin -
remove_tags -
restore_event_data_store -
search_sample_queries -
start_event_data_store_ingestion -
start_import -
start_logging -
start_query -
stop_event_data_store_ingestion -
stop_import -
stop_logging -
update_channel -
update_event_data_store -
update_trail
-
from_aws_json_1_1
classmethod
¶
from_aws_json_1_1(
data: dict, message: str | None = None, *, response: Response
) -> OperationNotPermittedException