cdk-ssm-secure-iam-access-key
Version:
Creates an IAM Access Key for a provided IAM User and stores the result in an SSM SecureString Parameter
7 lines (6 loc) • 513 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDateHeader = void 0;
const protocol_http_1 = require("@smithy/protocol-http");
const getDateHeader = (response) => { var _a, _b, _c; return protocol_http_1.HttpResponse.isInstance(response) ? (_b = (_a = response.headers) === null || _a === void 0 ? void 0 : _a.date) !== null && _b !== void 0 ? _b : (_c = response.headers) === null || _c === void 0 ? void 0 : _c.Date : undefined; };
exports.getDateHeader = getDateHeader;
;