Latest Version
go get -u github.com/aws/aws-sdk-go/...
New Features
| Change | Description |
|---|---|
| Amazon Simple Systems Management Service |
Added paginators and removeed of instance id length constraint |
| AWS WAF |
You can now configure AWS WAF to block, allow, or monitor (count) requests based on the content in HTTP request bodies. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from an HTML form. You can also set size constraints on specified parts of the requests, which let AWS WAF allow, block, or count web requests based on the lengths of specified parts of the requests such as query strings, URIs, or request body. |
| Request Presigning |
Fixed how the SDK presigned requests |
SDK Presigning Migration Notes
This change addresses the bug presigning request that was incorrectly hoisting and ignoring some headers. For example, Content-Type was being hoisted and ignored. Cache-Control and Content-Disposition was being placed to the query which had no meaning. Previously any custom header provided was always hoisted to the query string. Now custom headers will now be included in the signature as a signed header. So, these headers values must be included as headers in request made with the presigned url.
In addition, PresignRequest has been introduced. Returning the url, map of headers that were signed, and an error if there was one.
// Create a session with the default config and request handlers.
svc := s3.New()
req, _ := svc.PutObjectRequest(&s3.PutObjectInput;{
Bucket: aws.String("bucket"),
Key: aws.String("key"),
ContentDisposition: aws.String("a+b c$d"),
ACL: aws.String("public-read"),
})
urlstr, headers, err := req.PresignRequest(5 * time.Minute)
Supported API Versions
This release of the SDK supports the following API versions:
| Service | API Version |
|---|---|
| Amazon API Gateway | 2015-07-09 |
| Amazon CloudFront | 2016-01-28 |
| Amazon CloudHSM | 2014-05-30 |
| Amazon CloudSearch | 2013-01-01 |
| Amazon CloudSearch Domain | 2013-01-01 |
| Amazon CloudWatch | 2010-08-01 |
| Amazon CloudWatch Events | 2014-02-03 |
| Amazon CloudWatch Logs | 2014-03-28 |
| Amazon Cognito Identity | 2014-06-30 |
| Amazon Cognito Sync | 2014-06-30 |
| Amazon DynamoDB | 2012-08-10 |
| Amazon DynamoDB Streams | 2012-08-10 |
| Amazon EC2 Container Registry | 2015-09-21 |
| Amazon EC2 Container Service | 2014-11-13 |
| Amazon Elastic Compute Cloud | 2015-10-01 |
| Amazon Elastic File System | 2015-02-01 |
| Amazon Elastic MapReduce | 2009-03-31 |
| Amazon Elastic Transcoder | 2012-09-25 |
| Amazon ElastiCache | 2015-02-02 |
| Amazon Elasticsearch Service | 2015-01-01 |
| Amazon Glacier | 2012-06-01 |
| Amazon Inspector | 2015-08-18 |
| Amazon Kinesis | 2013-12-02 |
| Amazon Kinesis Firehose | 2015-08-04 |
| Amazon Machine Learning | 2014-12-12 |
| Amazon Mobile Analytics | 2014-06-05 |
| Amazon Redshift | 2012-12-01 |
| Amazon Relational Database Service | 2014-10-31 |
| Amazon Route 53 | 2013-04-01 |
| Amazon Route 53 Domains | 2014-05-15 |
| Amazon Simple Email Service | 2010-12-01 |
| Amazon Simple Notification Service | 2010-03-31 |
| Amazon Simple Queue Service | 2012-11-05 |
| Amazon Simple Storage Service | 2006-03-01 |
| Amazon Simple Systems Management Service | 2014-11-06 |
| Amazon Simple Workflow Service | 2012-01-25 |
| Amazon SimpleDB | 2009-04-15 |
| Amazon WorkSpaces | 2015-04-08 |
| Auto Scaling | 2011-01-01 |
| AWS Certificate Manager | 2015-12-08 |
| AWS CloudFormation | 2010-05-15 |
| AWS CloudTrail | 2013-11-01 |
| AWS CodeCommit | 2015-04-13 |
| AWS CodeDeploy | 2014-10-06 |
| AWS CodePipeline | 2015-07-09 |
| AWS Config | 2014-11-12 |
| AWS Data Pipeline | 2012-10-29 |
| AWS Device Farm | 2015-06-23 |
| AWS Direct Connect | 2012-10-25 |
| AWS Directory Service | 2015-04-16 |
| AWS Elastic Beanstalk | 2010-12-01 |
| AWS Identity and Access Management | 2010-05-08 |
| AWS Import/Export | 2010-06-01 |
| AWS IoT | 2015-05-28 |
| AWS IoT Data Plane | 2015-05-28 |
| AWS Key Management Service | 2014-11-01 |
| AWS Lambda | 2015-03-31 |
| AWS Marketplace Commerce Analytics | 2015-07-01 |
| AWS OpsWorks | 2013-02-18 |
| AWS Security Token Service | 2011-06-15 |
| AWS Storage Gateway | 2013-06-30 |
| AWS Support | 2013-04-15 |
| AWS WAF | 2015-08-24 |
| Elastic Load Balancing | 2012-06-01 |

