Skip to content

Commit ff1a530

Browse files
authored
Release v2.0.0-preview.4 (2018-05-25) (#182)
Services --- * Synced the V2 SDK with latests AWS service API definitions. SDK Bugs --- * `private/protocol/xml/xmlutil`: Fix XML unmarshaler not correctly unmarshaling list of timestamp values ([#166](#166)) * Fixes a bug in the XML unmarshaler that would incorrectly try to unmarshal "time.Time" parameters that did not have the struct tag type on them. * Related to [aws/aws-sdk-go#1894](aws/aws-sdk-go#1894) * `service/s3`: Fix typos for migrated S3 specific config options ([#173](#173)) * Updates the S3 specific config error messages to the correct fields. * `aws/endpoints`: Fix SDK endpoint signing name resolution ([#181](#181)) * Fixes how the SDK derives service signing names. If the signing name is not modeled in the endpoints package the service will fallback to the signing name modeled in the service model. * Fix [#163](#163) * Fix [#153](#153) * Related to [aws/aws-sdk-go#1854](aws/aws-sdk-go#1854) * `service/s3`: remove SelectContent until EventStream supported ([#175](#175]) * S3's SelectContent API is not functional in the SDK yet, and was not supposed to be generated until EventStream support is available. * Related to [aws/aws-sdk-go#1941](aws/aws-sdk-go#1941) SDK Enhancements --- * `service/s3/s3manager/s3manageriface`: Add WithIterator to mock interface ([#156](#156)) * Updates the `DownloaderAPI` and `UploaderAPI` mocking interfaces to have parity with the concrete types. * Fixes [#155](#155)
1 parent 1f29219 commit ff1a530

File tree

210 files changed

+49934
-7143
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

210 files changed

+49934
-7143
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
Release v2.0.0-preview.4 (2018-05-25)
2+
===
3+
4+
### Services
5+
* Synced the V2 SDK with latests AWS service API definitions.
6+
7+
### SDK Bugs
8+
* `private/protocol/xml/xmlutil`: Fix XML unmarshaler not correctly unmarshaling list of timestamp values ([#166](https://github.com/aws/aws-sdk-go-v2/pull/166))
9+
* Fixes a bug in the XML unmarshaler that would incorrectly try to unmarshal "time.Time" parameters that did not have the struct tag type on them.
10+
* Related to [aws/aws-sdk-go#1894](https://github.com/aws/aws-sdk-go/pull/1894)
11+
* `service/s3`: Fix typos for migrated S3 specific config options ([#173](https://github.com/aws/aws-sdk-go-v2/pull/173))
12+
* Updates the S3 specific config error messages to the correct fields.
13+
* `aws/endpoints`: Fix SDK endpoint signing name resolution ([#181](https://github.com/aws/aws-sdk-go-v2/pull/181))
14+
* Fixes how the SDK derives service signing names. If the signing name is not modeled in the endpoints package the service will fallback to the signing name modeled in the service model.
15+
* Fix [#163](https://github.com/aws/aws-sdk-go-v2/pull/163)
16+
* Fix [#153](https://github.com/aws/aws-sdk-go-v2/pull/153)
17+
* Related to [aws/aws-sdk-go#1854](https://github.com/aws/aws-sdk-go/pull/1854)
18+
* `service/s3`: remove SelectContent until EventStream supported ([#175](https://github.com/aws/aws-sdk-go-v2/pull/175])
19+
* S3's SelectContent API is not functional in the SDK yet, and was not supposed to be generated until EventStream support is available.
20+
* Related to [aws/aws-sdk-go#1941](https://github.com/aws/aws-sdk-go/pull/1941)
21+
22+
### SDK Enhancements
23+
* `service/s3/s3manager/s3manageriface`: Add WithIterator to mock interface ([#156](https://github.com/aws/aws-sdk-go-v2/pull/156))
24+
* Updates the `DownloaderAPI` and `UploaderAPI` mocking interfaces to have parity with the concrete types.
25+
* Fixes [#155](https://github.com/aws/aws-sdk-go-v2/issues/155)
26+
27+
128
Release v2.0.0-preview.3 (2018-03-08)
229
===
330

aws/endpoints/defaults.go

Lines changed: 53 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aws/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ package aws
55
const SDKName = "aws-sdk-go"
66

77
// SDKVersion is the version of this SDK
8-
const SDKVersion = "2.0.0-preview.3"
8+
const SDKVersion = "2.0.0-preview.4"

internal/awstesting/cmd/op_crawler/create_service.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ import (
7272
"github.com/aws/aws-sdk-go-v2/service/iam"
7373
"github.com/aws/aws-sdk-go-v2/service/inspector"
7474
"github.com/aws/aws-sdk-go-v2/service/iot"
75+
"github.com/aws/aws-sdk-go-v2/service/iot1clickdevicesservice"
76+
"github.com/aws/aws-sdk-go-v2/service/iot1clickprojects"
77+
"github.com/aws/aws-sdk-go-v2/service/iotanalytics"
7578
"github.com/aws/aws-sdk-go-v2/service/iotdataplane"
7679
"github.com/aws/aws-sdk-go-v2/service/iotjobsdataplane"
7780
"github.com/aws/aws-sdk-go-v2/service/kinesis"
@@ -221,6 +224,9 @@ func createServices(cfg aws.Config) []service {
221224
{name: "iam", value: reflect.ValueOf(iam.New(cfg))},
222225
{name: "inspector", value: reflect.ValueOf(inspector.New(cfg))},
223226
{name: "iot", value: reflect.ValueOf(iot.New(cfg))},
227+
{name: "iot1clickdevicesservice", value: reflect.ValueOf(iot1clickdevicesservice.New(cfg))},
228+
{name: "iot1clickprojects", value: reflect.ValueOf(iot1clickprojects.New(cfg))},
229+
{name: "iotanalytics", value: reflect.ValueOf(iotanalytics.New(cfg))},
224230
{name: "iotdataplane", value: reflect.ValueOf(iotdataplane.New(cfg))},
225231
{name: "iotjobsdataplane", value: reflect.ValueOf(iotjobsdataplane.New(cfg))},
226232
{name: "kinesis", value: reflect.ValueOf(kinesis.New(cfg))},

internal/awstesting/integration/customizations/s3/integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func TestMain(m *testing.M) {
3333
func setup() {
3434
svc = s3.New(integration.Config())
3535
bucketName = aws.String(
36-
fmt.Sprintf("aws-sdk-go-integration-%d-%s", time.Now().Unix(), integration.UniqueID()))
36+
fmt.Sprintf("aws-sdk-go-integration-%s", integration.UniqueID()))
3737

3838
for i := 0; i < 10; i++ {
3939
_, err := svc.CreateBucketRequest(&s3.CreateBucketInput{Bucket: bucketName}).Send()

internal/awstesting/integration/customizations/s3/s3manager/integration_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import (
1212
"regexp"
1313
"strings"
1414
"testing"
15-
"time"
1615

1716
"github.com/aws/aws-sdk-go-v2/aws"
1817
request "github.com/aws/aws-sdk-go-v2/aws"
@@ -52,7 +51,7 @@ func setup() error {
5251

5352
// Create a bucket for testing
5453
bucketName = aws.String(
55-
fmt.Sprintf("aws-sdk-go-integration-%d-%s", time.Now().Unix(), integration.UniqueID()))
54+
fmt.Sprintf("aws-sdk-go-integration-%s", integration.UniqueID()))
5655

5756
_, err := svc.CreateBucketRequest(&s3.CreateBucketInput{Bucket: bucketName}).Send()
5857
if err != nil {

internal/awstesting/integration/smoke/mediastoredata/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func init() {
3030
}
3131

3232
cfg := integration.Config()
33-
cfg.EndpointResolver = aws.ResolveEndpointWithURL(*resp.Container.Endpoint)
33+
cfg.EndpointResolver = aws.ResolveWithEndpointURL(*resp.Container.Endpoint)
3434
gucumber.World["client"] = mediastoredata.New(cfg)
3535
})
3636
}

0 commit comments

Comments
 (0)