update_monitor
async
¶
update_monitor(
monitor_name: ResourceName,
*,
config_overrides: Optional[AsyncNetworkFlowMonitorClientConfig] = None,
local_resources_to_add: Optional[MonitorLocalResources] = None,
local_resources_to_remove: Optional[MonitorLocalResources] = None,
remote_resources_to_add: Optional[MonitorRemoteResources] = None,
remote_resources_to_remove: Optional[MonitorRemoteResources] = None,
client_token: Optional[UuidString] = None,
) -> UpdateMonitorOutput
Update a monitor to add or remove local or remote resources.
Parameters:
-
monitor_name(ResourceName) –The name of the monitor.
-
local_resources_to_add(Optional[MonitorLocalResources], default:None) –Additional local resources to specify network flows for a monitor, as an array of resources with identifiers and types. A local resource in a workload is the location of hosts where the Network Flow Monitor agent is installed.
-
local_resources_to_remove(Optional[MonitorLocalResources], default:None) –The local resources to remove, as an array of resources with identifiers and types.
-
remote_resources_to_add(Optional[MonitorRemoteResources], default:None) –The remote resources to add, as an array of resources with identifiers and types.
A remote resource is the other endpoint in the flow of a workload, with a local resource. For example, Amazon Dynamo DB can be a remote resource.
-
remote_resources_to_remove(Optional[MonitorRemoteResources], default:None) –The remote resources to remove, as an array of resources with identifiers and types.
A remote resource is the other endpoint specified for the network flow of a workload, with a local resource. For example, Amazon Dynamo DB can be a remote resource.
-
client_token(Optional[UuidString], default:None) –A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. Don't reuse the same client token for other API requests.
Raises:
-
AccessDeniedException–You don't have sufficient permission to perform this action.
-
InternalServerException–An internal error occurred.
-
ResourceNotFoundException–The request specifies a resource that doesn't exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–Invalid request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_networkflowmonitor/_services/async_network_flow_monitor.py
633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 | |