UNPKG

1.8 kBJavaScriptView Raw
1"use strict";
2// Copyright 2012-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3Object.defineProperty(exports, "__esModule", { value: true });
4exports.KMSMetrics = void 0;
5/* eslint-disable max-len */ // This is generated code - line lengths are difficult to control
6class KMSMetrics {
7 static secondsUntilKeyMaterialExpirationAverage(dimensions) {
8 return {
9 namespace: 'AWS/KMS',
10 metricName: 'SecondsUntilKeyMaterialExpiration',
11 dimensionsMap: dimensions,
12 statistic: 'Average',
13 };
14 }
15}
16exports.KMSMetrics = KMSMetrics;
17//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia21zLWNhbm5lZC1tZXRyaWNzLmdlbmVyYXRlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImttcy1jYW5uZWQtbWV0cmljcy5nZW5lcmF0ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLCtFQUErRTs7O0FBRS9FLDRCQUE0QixDQUFDLGlFQUFpRTtBQUU5RixNQUFhLFVBQVU7SUFDZCxNQUFNLENBQUMsd0NBQXdDLENBQUMsVUFBNkI7UUFDbEYsT0FBTztZQUNMLFNBQVMsRUFBRSxTQUFTO1lBQ3BCLFVBQVUsRUFBRSxtQ0FBbUM7WUFDL0MsYUFBYSxFQUFFLFVBQVU7WUFDekIsU0FBUyxFQUFFLFNBQVM7U0FDckIsQ0FBQztLQUNIO0NBQ0Y7QUFURCxnQ0FTQyIsInNvdXJjZXNDb250ZW50IjpbIi8vIENvcHlyaWdodCAyMDEyLTIwMjMgQW1hem9uLmNvbSwgSW5jLiBvciBpdHMgYWZmaWxpYXRlcy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cblxuLyogZXNsaW50LWRpc2FibGUgbWF4LWxlbiAqLyAvLyBUaGlzIGlzIGdlbmVyYXRlZCBjb2RlIC0gbGluZSBsZW5ndGhzIGFyZSBkaWZmaWN1bHQgdG8g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