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
1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 | |