create_event_log_configuration
¶
create_event_log_configuration(
resource_type: SmartHomeResourceType,
event_log_level: LogLevel,
*,
config_overrides: Optional[IoTManagedIntegrationsClientConfig] = 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/io_t_managed_integrations.py
3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 | |