ark::aws::CloudwatchClient
Defined in header “ark/aws/cloudwatch_client.hh”.
A wrapper around AWS CloudWatch client for post metrics.
Methods
-
CloudwatchClient()
Constructor. Initializes a new client against the specified bucket. -
CloudwatchClient(const core::Url & endpoint)
Constructor. Initializes a new client against the given URL. This is typically used for testing only. -
CloudwatchClient(const AwsTemporaryCredentials & credentials, const core::Url & endpoint)
Constructor. Initializes a new client along with a credential provider. This is helpful when you want to control exactly how the AWScredentials are obtained for the client. -
void put_metrics(const MetricsRequest & request)
post a metric request