toDependentServiceName method

DependentServiceName toDependentServiceName()

Implementation

DependentServiceName toDependentServiceName() {
  switch (this) {
    case 'AWSCONFIG':
      return DependentServiceName.awsconfig;
    case 'AWSWAF':
      return DependentServiceName.awswaf;
    case 'AWSSHIELD_ADVANCED':
      return DependentServiceName.awsshieldAdvanced;
    case 'AWSVPC':
      return DependentServiceName.awsvpc;
  }
  throw Exception('$this is not known in enum DependentServiceName');
}