Update Go AWS SDK to the latest version

This commit is contained in:
Andrey Smirnov
2019-07-13 00:03:55 +03:00
committed by Andrey Smirnov
parent d08be990ef
commit 94a72b23ff
2183 changed files with 885887 additions and 228114 deletions
+8 -12
View File
@@ -16,7 +16,7 @@ const opDescribeStream = "DescribeStream"
// DescribeStreamRequest generates a "aws/request.Request" representing the
// client's request for the DescribeStream operation. The "output" return
// value will be populated with the request's response once the request completes
// successfuly.
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
@@ -108,7 +108,7 @@ const opGetRecords = "GetRecords"
// GetRecordsRequest generates a "aws/request.Request" representing the
// client's request for the GetRecords operation. The "output" return
// value will be populated with the request's response once the request completes
// successfuly.
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
@@ -227,7 +227,7 @@ const opGetShardIterator = "GetShardIterator"
// GetShardIteratorRequest generates a "aws/request.Request" representing the
// client's request for the GetShardIterator operation. The "output" return
// value will be populated with the request's response once the request completes
// successfuly.
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
@@ -327,7 +327,7 @@ const opListStreams = "ListStreams"
// ListStreamsRequest generates a "aws/request.Request" representing the
// client's request for the ListStreams operation. The "output" return
// value will be populated with the request's response once the request completes
// successfuly.
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
@@ -899,13 +899,9 @@ type Record struct {
// Items that are deleted by the Time to Live process after expiration have
// the following fields:
//
// * Records[].userIdentity.type
// * Records[].userIdentity.type "Service"
//
// "Service"
//
// * Records[].userIdentity.principalId
//
// "dynamodb.amazonaws.com"
// * Records[].userIdentity.principalId "dynamodb.amazonaws.com"
UserIdentity *Identity `locationName:"userIdentity" type:"structure"`
}
@@ -1095,7 +1091,7 @@ type StreamDescription struct {
_ struct{} `type:"structure"`
// The date and time when the request to create this stream was issued.
CreationRequestDateTime *time.Time `type:"timestamp" timestampFormat:"unix"`
CreationRequestDateTime *time.Time `type:"timestamp"`
// The key attribute(s) of the stream's DynamoDB table.
KeySchema []*dynamodb.KeySchemaElement `min:"1" type:"list"`
@@ -1233,7 +1229,7 @@ type StreamRecord struct {
// The approximate date and time when the stream record was created, in UNIX
// epoch time (http://www.epochconverter.com/) format.
ApproximateCreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix"`
ApproximateCreationDateTime *time.Time `type:"timestamp"`
// The primary key attribute(s) for the DynamoDB item that was modified.
Keys map[string]*dynamodb.AttributeValue `type:"map"`
+4 -2
View File
@@ -29,8 +29,9 @@ var initRequest func(*request.Request)
// Service information constants
const (
ServiceName = "streams.dynamodb" // Service endpoint prefix API calls made to.
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
ServiceName = "streams.dynamodb" // Name of service.
EndpointsID = ServiceName // ID to lookup a service endpoint with.
ServiceID = "DynamoDB Streams" // ServiceID is a unique identifer of a specific service.
)
// New creates a new instance of the DynamoDBStreams client with a session.
@@ -58,6 +59,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
cfg,
metadata.ClientInfo{
ServiceName: ServiceName,
ServiceID: ServiceID,
SigningName: signingName,
SigningRegion: signingRegion,
Endpoint: endpoint,