aws / aws-sdk-php-symfony

Apache License 2.0
351 stars 89 forks source link

Add tiny usage-example #14

Closed DHager closed 8 years ago

DHager commented 8 years ago

Encountered a situation where this code-sample could have avoided some confusion. I know that the service-names may change, but EC2 seems like a fairly safe long-term bet given its popularity.

jeskew commented 8 years ago

What about adding this to the YAML config sample instead?

okdewit commented 8 years ago

+1, took me quite a bit of searching to find the proper service names.

DHager commented 8 years ago

@jeskew My main concern is that the README clearly conveys the naming convention for the services, even if it can't contain an exhaustive list.

So yes, conveying it through YAML is possible, although I think it'd be best to break out a new example services.yml (rather than config.yml.) I guess I just put PHP because that's what I'd been working on and because it seems (at least to me) a little less potentially-ambiguous.