update_destination
async
¶
update_destination(
name: DestinationName,
*,
config_overrides: Optional[AsyncIoTManagedIntegrationsClientConfig] = None,
delivery_destination_arn: Optional[DeliveryDestinationArn] = None,
delivery_destination_type: Optional[DeliveryDestinationType] = None,
role_arn: Optional[DeliveryDestinationRoleArn] = None,
description: Optional[DestinationDescription] = None,
) -> None
Update a destination specified by name.
Parameters:
-
name(DestinationName) –The name of the customer-managed destination.
-
delivery_destination_arn(Optional[DeliveryDestinationArn], default:None) –The Amazon Resource Name (ARN) of the customer-managed destination.
-
delivery_destination_type(Optional[DeliveryDestinationType], default:None) –The destination type for the customer-managed destination.
-
role_arn(Optional[DeliveryDestinationRoleArn], default:None) –The Amazon Resource Name (ARN) of the delivery destination role.
-
description(Optional[DestinationDescription], default:None) –The description of the customer-managed destination.
Raises:
-
AccessDeniedException–User is not authorized.
-
InternalServerException–Internal error from the service that indicates an unexpected error or that the service is unavailable.
-
ResourceNotFoundException–The specified resource does not exist.
-
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
2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 | |