toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ServiceNamespace.ecs:
      return 'ecs';
    case ServiceNamespace.elasticmapreduce:
      return 'elasticmapreduce';
    case ServiceNamespace.ec2:
      return 'ec2';
    case ServiceNamespace.appstream:
      return 'appstream';
    case ServiceNamespace.dynamodb:
      return 'dynamodb';
    case ServiceNamespace.rds:
      return 'rds';
    case ServiceNamespace.sagemaker:
      return 'sagemaker';
    case ServiceNamespace.customResource:
      return 'custom-resource';
    case ServiceNamespace.comprehend:
      return 'comprehend';
    case ServiceNamespace.lambda:
      return 'lambda';
    case ServiceNamespace.cassandra:
      return 'cassandra';
    case ServiceNamespace.kafka:
      return 'kafka';
  }
}