UNPKG

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

8 lines (6 loc) 248 B
import { HttpResponse } from "@smithy/protocol-http"; /** * @internal */ export const getDateHeader = (response: unknown): string | undefined => HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : undefined;