create_destination
¶
create_destination(
delivery_destination_arn: DeliveryDestinationArn,
delivery_destination_type: DeliveryDestinationType,
name: DestinationName,
role_arn: DeliveryDestinationRoleArn,
*,
config_overrides: Optional[IoTManagedIntegrationsClientConfig] = None,
client_token: Optional[ClientToken] = None,
description: Optional[DestinationDescription] = None,
tags: Optional[TagsMap] = None,
) -> CreateDestinationResponse
Create a notification destination such as Kinesis Data Streams that receive events and notifications from Managed integrations. Managed integrations uses the destination to determine where to deliver notifications.
Parameters:
-
delivery_destination_arn(DeliveryDestinationArn) –The Amazon Resource Name (ARN) of the customer-managed destination.
-
delivery_destination_type(DeliveryDestinationType) –The destination type for the customer-managed destination.
-
name(DestinationName) –The name of the customer-managed destination.
-
role_arn(DeliveryDestinationRoleArn) –The Amazon Resource Name (ARN) of the delivery destination role.
-
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.
-
description(Optional[DestinationDescription], default:None) –The description of the customer-managed destination.
-
tags(Optional[TagsMap], default:None) –A set of key/value pairs that are used to manage the destination.
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/io_t_managed_integrations.py
2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 | |