create_ota_task_configuration
async
¶
create_ota_task_configuration(
*,
config_overrides: Optional[AsyncIoTManagedIntegrationsClientConfig] = None,
description: Optional[OtaDescription] = None,
name: Optional[OtaTaskConfigurationName] = None,
push_config: Optional[PushConfig] = None,
client_token: Optional[ClientToken] = None,
) -> CreateOtaTaskConfigurationResponse
Create a configuraiton for the over-the-air (OTA) task.
Parameters:
-
description(Optional[OtaDescription], default:None) –A description of the over-the-air (OTA) task configuration.
-
name(Optional[OtaTaskConfigurationName], default:None) –The name of the over-the-air (OTA) task.
-
push_config(Optional[PushConfig], default:None) –Describes the type of configuration used for the over-the-air (OTA) task.
-
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.
-
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
5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 | |