AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
In Network Flow Monitor, you specify a scope for the service to generate metrics for. By using the scope, Network Flow Monitor can generate a topology of all the resources to measure performance metrics for. When you create a scope, you enable permissions for Network Flow Monitor.
A scope is a Region-account pair or multiple Region-account pairs. Network Flow Monitor uses your scope to determine all the resources (the topology) where Network Flow Monitor will gather network flow performance metrics for you. To provide performance metrics, Network Flow Monitor uses the data that is sent by the Network Flow Monitor agents you install on the resources.
To define the Region-account pairs for your scope, the Network Flow Monitor API uses the following constucts, which allow for future flexibility in defining scopes:
Targets, which are arrays of targetResources.
Target resources, which are Region-targetIdentifier pairs.
Target identifiers, made up of a targetID (currently always an account ID) and a targetType (currently always an account).
For .NET Core this operation is only available in asynchronous form. Please refer to CreateScopeAsync.
Namespace: Amazon.NetworkFlowMonitor
Assembly: AWSSDK.NetworkFlowMonitor.dll
Version: 3.x.y.z
public virtual CreateScopeResponse CreateScope( CreateScopeRequest request )
Container for the necessary parameters to execute the CreateScope service method.
| Exception | Condition |
|---|---|
| AccessDeniedException | You don't have sufficient permission to perform this action. |
| ConflictException | The requested resource is in use. |
| InternalServerException | An internal error occurred. |
| ServiceQuotaExceededException | The request exceeded a service quota. |
| ThrottlingException | The request was denied due to request throttling. |
| ValidationException | Invalid request. |
.NET Framework:
Supported in: 4.7.2 and newer