create_event_log_configuration
async
¶
create_event_log_configuration(
resource_type: SmartHomeResourceType,
event_log_level: LogLevel,
*,
config_overrides: Optional[AsyncIoTManagedIntegrationsClientConfig] = None,
resource_id: Optional[SmartHomeResourceId] = None,
client_token: Optional[ClientToken] = None,
) -> CreateEventLogConfigurationResponse
Set the event log configuration for the account, resource type, or specific resource.
Parameters:
-
resource_type(SmartHomeResourceType) –The type of resource for the event log configuration.
-
resource_id(Optional[SmartHomeResourceId], default:None) –The identifier of the resource for the event log configuration.
-
event_log_level(LogLevel) –The logging level for the event log configuration.
-
client_token(Optional[ClientToken], default:None) –An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.
Raises:
-
AccessDeniedException–User is not authorized.
-
ConflictException–There is a conflict with the request.
-
InternalServerException–Internal error from the service that indicates an unexpected error or that the service is unavailable.
-
ServiceQuotaExceededException–The service quota has been exceeded for this request.
-
ThrottlingException–The rate exceeds the limit.
-
ValidationException–A validation error occurred when performing the API request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot_managed_integrations/_services/async_io_t_managed_integrations.py
3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 | |