// Retrieves (queries) quotas and aggregated usage data for one or more accounts.
Retrieves (queries) quotas and aggregated usage data for one or more accounts.
// Retrieves ( queries ) quotas and aggregated usage data for one or more accounts .
func (c *Client) GetUsageStatistics(ctx context.Context, params *GetUsageStatisticsInput, optFns ...func(*Options)) (*GetUsageStatisticsOutput, error) {
	if params == nil {
		params = &GetUsageStatisticsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetUsageStatistics", params, optFns, addOperationGetUsageStatisticsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetUsageStatisticsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetUsageStatistics ( ctx context . Context , params * GetUsageStatisticsInput , optFns ... func ( * Options ) ) ( * GetUsageStatisticsOutput , error ) { if params == nil { params = & GetUsageStatisticsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetUsageStatisticsMiddlewares ) if err != nil { return nil , err } out := result . ( * GetUsageStatisticsOutput ) out . ResultMetadata = metadata return out , nil }
Retrieves (queries) quotas and aggregated usage data for one or more accounts.
Retrieves ( queries ) quotas and aggregated usage data for one or more accounts .