// Returns the data points of a specific metric for an Amazon Lightsail content
// delivery network (CDN) distribution. Metrics report the utilization of your
// resources, and the error counts generated by them. Monitor and collect metric
// data regularly to maintain the reliability, availability, and performance of
// your resources.
Returns the data points of a specific metric for an Amazon Lightsail content
delivery network (CDN) distribution. Metrics report the utilization of your
resources, and the error counts generated by them. Monitor and collect metric
data regularly to maintain the reliability, availability, and performance of
your resources.
// Returns the data points of a specific metric for an Amazon Lightsail content // delivery network ( CDN ) distribution . Metrics report the utilization of your // resources and the error counts generated by them . Monitor and collect metric // data regularly to maintain the reliability availability and performance of // your resources .
func (c *Client) GetDistributionMetricData(ctx context.Context, params *GetDistributionMetricDataInput, optFns ...func(*Options)) (*GetDistributionMetricDataOutput, error) {
	if params == nil {
		params = &GetDistributionMetricDataInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetDistributionMetricData", params, optFns, addOperationGetDistributionMetricDataMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetDistributionMetricDataOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetDistributionMetricData ( ctx context . Context , params * GetDistributionMetricDataInput , optFns ... func ( * Options ) ) ( * GetDistributionMetricDataOutput , error ) { if params == nil { params = & GetDistributionMetricDataInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetDistributionMetricDataMiddlewares ) if err != nil { return nil , err } out := result . ( * GetDistributionMetricDataOutput ) out . ResultMetadata = metadata return out , nil }
Returns the data points of a specific metric for an Amazon Lightsail content
delivery network (CDN) distribution.
Returns the data points of a specific metric for an Amazon Lightsail content delivery network ( CDN ) distribution .