AWS SDK Version 4 for .NET
API Reference

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:

Note:

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

Syntax

C#
public virtual CreateScopeResponse CreateScope(
         CreateScopeRequest request
)

Parameters

request
Type: Amazon.NetworkFlowMonitor.Model.CreateScopeRequest

Container for the necessary parameters to execute the CreateScope service method.

Return Value


The response from the CreateScope service method, as returned by NetworkFlowMonitor.

Exceptions

ExceptionCondition
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.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also