NetworkFlowMonitorClient

Network Flow Monitor is a feature of Amazon CloudWatch Network Monitoring that provides visibility into the performance of network flows for your Amazon Web Services workloads, between instances in subnets, as well as to and from Amazon Web Services. Lightweight agents that you install on the instances capture performance metrics for your network flows, such as packet loss and latency, and send them to the Network Flow Monitor backend. Then, you can view and analyze metrics from the top contributors for each metric type, to help troubleshoot issues.

In addition, when you create a monitor, Network Flow Monitor provides a network health indicator (NHI) that informs you whether there were Amazon Web Services network issues for one or more of the network flows tracked by a monitor, during a time period that you choose. By using this value, you can independently determine if the Amazon Web Services network is impacting your workload during a specific time frame, to help you focus troubleshooting efforts.

To learn more about Network Flow Monitor, see the Network Flow Monitor User Guide in the Amazon CloudWatch User Guide.

Properties

Link copied to clipboard

NetworkFlowMonitorClient's configuration

Functions

Link copied to clipboard

Create a monitor for specific network flows between local and remote resources, so that you can monitor network performance for one or several of your workloads. For each monitor, Network Flow Monitor publishes detailed end-to-end performance metrics and a network health indicators (NHI) that informs you whether there were Amazon Web Services network issues for one or more of the network flows tracked by a monitor, during a time period that you choose.

Link copied to clipboard
abstract suspend fun createScope(input: CreateScopeRequest): CreateScopeResponse

Create a scope of 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. This call returns a scope ID to identify the scope.

Link copied to clipboard

Deletes a monitor in Network Flow Monitor.

Link copied to clipboard
abstract suspend fun deleteScope(input: DeleteScopeRequest): DeleteScopeResponse

Deletes a scope that has been defined.

Link copied to clipboard
abstract suspend fun getMonitor(input: GetMonitorRequest): GetMonitorResponse

Gets information about a monitor in Network Flow Monitor based on a monitor name. The information returned includes the Amazon Resource Name (ARN), create time, modified time, resources included in the monitor, and status information.

Link copied to clipboard

Return the data for a query with the Network Flow Monitor query interface. You specify the query that you want to return results for by providing a query ID and a monitor name. This query returns the top contributors for a specific monitor.

Return the data for a query with the Network Flow Monitor query interface. You specify the query that you want to return results for by providing a query ID and a monitor name.

Return the data for a query with the Network Flow Monitor query interface. Specify the query that you want to return results for by providing a query ID and a scope ID.

Link copied to clipboard

Returns the current status of a query for the Network Flow Monitor query interface, for a specified query ID and monitor. This call returns the query status for the top contributors for a monitor.

Return the data for a query with the Network Flow Monitor query interface. Specify the query that you want to return results for by providing a query ID and a monitor name. This query returns the top contributors for workload insights.

Returns the current status of a query for the Network Flow Monitor query interface, for a specified query ID and monitor. This call returns the query status for the top contributors data for workload insights.

Link copied to clipboard
abstract suspend fun getScope(input: GetScopeRequest): GetScopeResponse

Gets information about a scope, including the name, status, tags, and target details. The scope in Network Flow Monitor is an account.

Link copied to clipboard
abstract suspend fun listMonitors(input: ListMonitorsRequest = ListMonitorsRequest { }): ListMonitorsResponse

List all monitors in an account. Optionally, you can list only monitors that have a specific status, by using the STATUS parameter.

Link copied to clipboard
abstract suspend fun listScopes(input: ListScopesRequest = ListScopesRequest { }): ListScopesResponse

List all the scopes for an account.

Link copied to clipboard

Returns all the tags for a resource.

Link copied to clipboard

Create a query that you can use with the Network Flow Monitor query interface to return the top contributors for a monitor. Specify the monitor that you want to create the query for.

Create a query with the Network Flow Monitor query interface that you can run to return workload insights top contributors. Specify the scope that you want to create a query for.

Create a query with the Network Flow Monitor query interface that you can run to return data for workload insights top contributors. Specify the scope that you want to create a query for.

Link copied to clipboard

Stop a top contributors query for a monitor. Specify the query that you want to stop by providing a query ID and a monitor name.

Link copied to clipboard

Stop a top contributors query for workload insights. Specify the query that you want to stop by providing a query ID and a scope ID.

Stop a top contributors data query for workload insights. Specify the query that you want to stop by providing a query ID and a scope ID.

Link copied to clipboard
abstract suspend fun tagResource(input: TagResourceRequest): TagResourceResponse

Adds a tag to a resource.

Link copied to clipboard

Removes a tag from a resource.

Link copied to clipboard

Update a monitor to add or remove local or remote resources.

Link copied to clipboard
abstract suspend fun updateScope(input: UpdateScopeRequest): UpdateScopeResponse

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.

Inherited functions

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard

Create a monitor for specific network flows between local and remote resources, so that you can monitor network performance for one or several of your workloads. For each monitor, Network Flow Monitor publishes detailed end-to-end performance metrics and a network health indicators (NHI) that informs you whether there were Amazon Web Services network issues for one or more of the network flows tracked by a monitor, during a time period that you choose.

Link copied to clipboard

Create a scope of 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. This call returns a scope ID to identify the scope.

Link copied to clipboard

Deletes a monitor in Network Flow Monitor.

Link copied to clipboard

Deletes a scope that has been defined.

Link copied to clipboard

Gets information about a monitor in Network Flow Monitor based on a monitor name. The information returned includes the Amazon Resource Name (ARN), create time, modified time, resources included in the monitor, and status information.

Link copied to clipboard

Return the data for a query with the Network Flow Monitor query interface. You specify the query that you want to return results for by providing a query ID and a monitor name. This query returns the top contributors for a specific monitor.

Return the data for a query with the Network Flow Monitor query interface. You specify the query that you want to return results for by providing a query ID and a monitor name.

Return the data for a query with the Network Flow Monitor query interface. Specify the query that you want to return results for by providing a query ID and a scope ID.

Link copied to clipboard

Returns the current status of a query for the Network Flow Monitor query interface, for a specified query ID and monitor. This call returns the query status for the top contributors for a monitor.

Return the data for a query with the Network Flow Monitor query interface. Specify the query that you want to return results for by providing a query ID and a monitor name. This query returns the top contributors for workload insights.

Returns the current status of a query for the Network Flow Monitor query interface, for a specified query ID and monitor. This call returns the query status for the top contributors data for workload insights.

Link copied to clipboard
inline suspend fun NetworkFlowMonitorClient.getScope(crossinline block: GetScopeRequest.Builder.() -> Unit): GetScopeResponse

Gets information about a scope, including the name, status, tags, and target details. The scope in Network Flow Monitor is an account.

Link copied to clipboard

List all monitors in an account. Optionally, you can list only monitors that have a specific status, by using the STATUS parameter.

Link copied to clipboard

List all the scopes for an account.

Link copied to clipboard

Returns all the tags for a resource.

Link copied to clipboard

Create a query that you can use with the Network Flow Monitor query interface to return the top contributors for a monitor. Specify the monitor that you want to create the query for.

Create a query with the Network Flow Monitor query interface that you can run to return workload insights top contributors. Specify the scope that you want to create a query for.

Create a query with the Network Flow Monitor query interface that you can run to return data for workload insights top contributors. Specify the scope that you want to create a query for.

Link copied to clipboard

Stop a top contributors query for a monitor. Specify the query that you want to stop by providing a query ID and a monitor name.

Link copied to clipboard

Stop a top contributors query for workload insights. Specify the query that you want to stop by providing a query ID and a scope ID.

Stop a top contributors data query for workload insights. Specify the query that you want to stop by providing a query ID and a scope ID.

Link copied to clipboard

Adds a tag to a resource.

Link copied to clipboard

Removes a tag from a resource.

Link copied to clipboard

Update a monitor to add or remove local or remote resources.

Link copied to clipboard

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.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.