add Apache license boilerplate
update AWS SDK dependency and plugin version
remove unused code