id: 1 unit: export async function handler() file: src/clusterSizeCheck.ts start line: 8 end line: 41 size: 32 LOC McCabe index: 2 number of parameters: 1 id: 2 unit: export async function handler() file: src/addNode.ts start line: 7 end line: 32 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 3 unit: await getASGsByTag() file: src/getTargetNode.ts start line: 18 end line: 42 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 4 unit: async function _getInstancesByTag() file: src/aws/ec2Instances.ts start line: 42 end line: 62 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 5 unit: await getInstancesByTag() file: src/getTargetNode.ts start line: 23 end line: 42 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 6 unit: export async function handler() file: src/autoScalingGroupCheck.ts start line: 4 end line: 25 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 7 unit: export function retry() file: src/utils/helperFunctions.ts start line: 7 end line: 23 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 8 unit: async function sendCommand() file: src/utils/ssmCommand.ts start line: 29 end line: 44 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 9 unit: export async function handler() file: src/removeNode.ts start line: 7 end line: 26 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 10 unit: export async function handler() file: src/shardMigrationCheck.ts start line: 4 end line: 20 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 11 unit: export async function ssmCommand() file: src/utils/ssmCommand.ts start line: 14 end line: 27 size: 14 LOC McCabe index: 5 number of parameters: 3 id: 12 unit: export async function handler() file: src/reattachTargetInstance.ts start line: 5 end line: 21 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 13 unit: export async function handler() file: src/clusterStatusCheck.ts start line: 4 end line: 19 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 14 unit: export async function handler() file: src/migrateShards.ts start line: 4 end line: 18 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 15 unit: export async function totalRunningExecutions() file: src/aws/stepFunctions.ts start line: 5 end line: 18 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 16 unit: export async function handler() file: src/getTargetNode.ts start line: 8 end line: 47 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 17 unit: async function awaitCommandResult() file: src/utils/ssmCommand.ts start line: 48 end line: 58 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 18 unit: export async function getSpecificInstance() file: src/aws/ec2Instances.ts start line: 27 end line: 37 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 19 unit: export function detachInstance() file: src/aws/autoscaling.ts start line: 14 end line: 24 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 20 unit: export function attachInstance() file: src/aws/autoscaling.ts start line: 26 end line: 34 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 21 unit: export function terminateInstanceInASG() file: src/aws/autoscaling.ts start line: 36 end line: 45 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 22 unit: export async function getASG() file: src/aws/autoscaling.ts start line: 52 end line: 60 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 23 unit: export async function getASGsByTag() file: src/aws/autoscaling.ts start line: 62 end line: 69 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 24 unit: function buildInstance() file: src/aws/ec2Instances.ts start line: 13 end line: 20 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 25 unit: function getCommandResult() file: src/utils/ssmCommand.ts start line: 60 end line: 65 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 26 unit: function getResultFromS3() file: src/utils/ssmCommand.ts start line: 67 end line: 72 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 27 unit: function findNewestInstance() file: src/clusterSizeCheck.ts start line: 43 end line: 48 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 28 unit: constructor() file: src/aws/types.ts start line: 8 end line: 13 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 29 unit: export function delay() file: src/utils/helperFunctions.ts start line: 1 end line: 5 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 30 unit: constructor() file: src/elasticsearch/types.ts start line: 15 end line: 19 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 31 unit: export function describeAsg() file: src/aws/autoscaling.ts start line: 47 end line: 50 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 32 unit: function buildInstances() file: src/aws/ec2Instances.ts start line: 22 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 33 unit: export async function getInstancesByTag() file: src/aws/ec2Instances.ts start line: 39 end line: 65 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 34 unit: constructor() file: src/elasticsearch/elasticsearch.ts start line: 9 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 1