The declarations in this header file correspond to the definitions in cloudwatch_sdk_metrics.cpp.
More...
Go to the source code of this file.
|
typedef struct CloudWatchSdkMetrics | CloudWatchSdkMetrics |
| Forward reference of structure to create pointers later.
|
|
typedef struct CloudWatchSdkMetrics * | CloudWatchSdkMetricsHandle |
| Type used as the handle (pointer to an opaque structure) for managing statistics for a connection. Each handle represents a single data flow.
|
|
The declarations in this header file correspond to the definitions in cloudwatch_sdk_metrics.cpp.
◆ CloudWatchSdkMetricsCreate()
Create an instance of CloudWatch SDK metrics and open a connection.
- Parameters
-
config_ptr | Pointer to configuration data. |
ret_handle_ptr | Address where to write returned CloudWatch wrapper handle. |
- Returns
- A value from the CdiReturnStatus enumeration.
◆ CloudWatchSdkMetricsDestroy()
Free all resources related to the specified CloudWatch SDK metrics instance.
- Parameters
-
handle | Handle of CloudWatch SDK metrics instance. |
- Returns
- A value from the CdiReturnStatus enumeration.
◆ MetricsGathererCreate()
Create a CDI metrics gathering system client and open a connection to the service.
- Parameters
-
config_ptr | Pointer to configuration data. |
ret_handle_ptr | Address where to write returned handle. |
- Returns
- A value from the CdiReturnStatus enumeration.
◆ MetricsGathererDestroy()
Free all resources related to the specified CloudWatch SDK metrics instance.
- Parameters
-
handle | Handle of CDI metrics gathering service client instance. |
- Returns
- A value from the CdiReturnStatus enumeration.
◆ MetricsSend()
Send transfer statistics using the specified pubishing client instance.
- Parameters
-
handle | The handle of the CloudWatch SDK metrics instance to send statistics to. |
transfer_stats_ptr | Pointer to stats to send. |
- Returns
- A value from the CdiReturnStatus enumeration.