update_scope
¶
update_scope(
scope_id: ScopeId,
*,
config_overrides: Optional[NetworkFlowMonitorClientConfig] = None,
resources_to_add: Optional[TargetResourceList] = None,
resources_to_delete: Optional[TargetResourceList] = None,
) -> UpdateScopeOutput
Update a scope to add or remove resources that you want to be available for Network Flow Monitor to generate metrics for, when you have active agents on those resources sending metrics reports to the Network Flow Monitor backend.
Parameters:
-
scope_id(ScopeId) –The identifier for the scope that includes the resources you want to get data results for. A scope ID is an internally-generated identifier that includes all the resources for a specific root account.
-
resources_to_add(Optional[TargetResourceList], default:None) –A list of resources to add to a scope.
-
resources_to_delete(Optional[TargetResourceList], default:None) –A list of resources to delete from a scope.
Raises:
-
AccessDeniedException–You don't have sufficient permission to perform this action.
-
ConflictException–The requested resource is in use.
-
InternalServerException–An internal error occurred.
-
ResourceNotFoundException–The request specifies a resource that doesn't exist.
-
ServiceQuotaExceededException–The request exceeded a service quota.
-
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/network_flow_monitor.py
1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 | |