Skip to content

Commit 652409c

Browse files
author
AWS
committed
Amazon DynamoDB Update: This release adds support for including ApproximateCreationDateTimePrecision configurations in EnableKinesisStreamingDestination API, adds the same as an optional field in the response of DescribeKinesisStreamingDestination, and adds support for a new UpdateKinesisStreamingDestination API.
1 parent 92c85a8 commit 652409c

File tree

2 files changed

+110
-4
lines changed

2 files changed

+110
-4
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon DynamoDB",
4+
"contributor": "",
5+
"description": "This release adds support for including ApproximateCreationDateTimePrecision configurations in EnableKinesisStreamingDestination API, adds the same as an optional field in the response of DescribeKinesisStreamingDestination, and adds support for a new UpdateKinesisStreamingDestination API."
6+
}

services/dynamodb/src/main/resources/codegen-resources/dynamodb/service-2.json

Lines changed: 104 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -861,6 +861,24 @@
861861
"endpointdiscovery":{
862862
}
863863
},
864+
"UpdateKinesisStreamingDestination":{
865+
"name":"UpdateKinesisStreamingDestination",
866+
"http":{
867+
"method":"POST",
868+
"requestUri":"/"
869+
},
870+
"input":{"shape":"UpdateKinesisStreamingDestinationInput"},
871+
"output":{"shape":"UpdateKinesisStreamingDestinationOutput"},
872+
"errors":[
873+
{"shape":"InternalServerError"},
874+
{"shape":"LimitExceededException"},
875+
{"shape":"ResourceInUseException"},
876+
{"shape":"ResourceNotFoundException"}
877+
],
878+
"documentation":"<p>The command to update the Kinesis stream destination.</p>",
879+
"endpointdiscovery":{
880+
}
881+
},
864882
"UpdateTable":{
865883
"name":"UpdateTable",
866884
"http":{
@@ -915,6 +933,13 @@
915933
}
916934
},
917935
"shapes":{
936+
"ApproximateCreationDateTimePrecision":{
937+
"type":"string",
938+
"enum":[
939+
"MILLISECOND",
940+
"MICROSECOND"
941+
]
942+
},
918943
"ArchivalReason":{"type":"string"},
919944
"ArchivalSummary":{
920945
"type":"structure",
@@ -2542,7 +2567,8 @@
25422567
"ACTIVE",
25432568
"DISABLING",
25442569
"DISABLED",
2545-
"ENABLE_FAILED"
2570+
"ENABLE_FAILED",
2571+
"UPDATING"
25462572
]
25472573
},
25482574
"DoubleObject":{"type":"double"},
@@ -2554,6 +2580,16 @@
25542580
"documentation":"<p> There was an attempt to insert an item with the same primary key as an item that already exists in the DynamoDB table.</p>",
25552581
"exception":true
25562582
},
2583+
"EnableKinesisStreamingConfiguration":{
2584+
"type":"structure",
2585+
"members":{
2586+
"ApproximateCreationDateTimePrecision":{
2587+
"shape":"ApproximateCreationDateTimePrecision",
2588+
"documentation":"<p>Toggle for the precision of Kinesis data stream timestamp. The values are either <code>MILLISECOND</code> or <code>MICROSECOND</code>.</p>"
2589+
}
2590+
},
2591+
"documentation":"<p>Enables setting the configuration for Kinesis Streaming.</p>"
2592+
},
25572593
"Endpoint":{
25582594
"type":"structure",
25592595
"required":[
@@ -3748,6 +3784,10 @@
37483784
"DestinationStatusDescription":{
37493785
"shape":"String",
37503786
"documentation":"<p>The human-readable string that corresponds to the replica status.</p>"
3787+
},
3788+
"ApproximateCreationDateTimePrecision":{
3789+
"shape":"ApproximateCreationDateTimePrecision",
3790+
"documentation":"<p>The precision of the Kinesis data stream timestamp. The values are either <code>MILLISECOND</code> or <code>MICROSECOND</code>.</p>"
37513791
}
37523792
},
37533793
"documentation":"<p>Describes a Kinesis data stream destination.</p>"
@@ -3770,6 +3810,10 @@
37703810
"StreamArn":{
37713811
"shape":"StreamArn",
37723812
"documentation":"<p>The ARN for a Kinesis data stream.</p>"
3813+
},
3814+
"EnableKinesisStreamingConfiguration":{
3815+
"shape":"EnableKinesisStreamingConfiguration",
3816+
"documentation":"<p>The source for the Kinesis streaming information that is being enabled.</p>"
37733817
}
37743818
}
37753819
},
@@ -3787,6 +3831,10 @@
37873831
"DestinationStatus":{
37883832
"shape":"DestinationStatus",
37893833
"documentation":"<p>The current status of the replication.</p>"
3834+
},
3835+
"EnableKinesisStreamingConfiguration":{
3836+
"shape":"EnableKinesisStreamingConfiguration",
3837+
"documentation":"<p>The destination for the Kinesis streaming information that is being enabled.</p>"
37903838
}
37913839
}
37923840
},
@@ -4160,7 +4208,7 @@
41604208
"members":{
41614209
"Statement":{
41624210
"shape":"PartiQLStatement",
4163-
"documentation":"<p> A PartiQL statment that uses parameters. </p>"
4211+
"documentation":"<p> A PartiQL statement that uses parameters. </p>"
41644212
},
41654213
"Parameters":{
41664214
"shape":"PreparedStatementParameters",
@@ -4171,7 +4219,7 @@
41714219
"documentation":"<p>An optional parameter that returns the item attributes for a PartiQL <code>ParameterizedStatement</code> operation that failed a condition check.</p> <p>There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.</p>"
41724220
}
41734221
},
4174-
"documentation":"<p> Represents a PartiQL statment that uses parameters. </p>"
4222+
"documentation":"<p> Represents a PartiQL statement that uses parameters. </p>"
41754223
},
41764224
"ParameterizedStatements":{
41774225
"type":"list",
@@ -6226,6 +6274,58 @@
62266274
},
62276275
"documentation":"<p>Represents the output of an <code>UpdateItem</code> operation.</p>"
62286276
},
6277+
"UpdateKinesisStreamingConfiguration":{
6278+
"type":"structure",
6279+
"members":{
6280+
"ApproximateCreationDateTimePrecision":{
6281+
"shape":"ApproximateCreationDateTimePrecision",
6282+
"documentation":"<p>Enables updating the precision of Kinesis data stream timestamp. </p>"
6283+
}
6284+
},
6285+
"documentation":"<p>Enables updating the configuration for Kinesis Streaming.</p>"
6286+
},
6287+
"UpdateKinesisStreamingDestinationInput":{
6288+
"type":"structure",
6289+
"required":[
6290+
"TableName",
6291+
"StreamArn"
6292+
],
6293+
"members":{
6294+
"TableName":{
6295+
"shape":"TableName",
6296+
"documentation":"<p>The table name for the Kinesis streaming destination input.</p>"
6297+
},
6298+
"StreamArn":{
6299+
"shape":"StreamArn",
6300+
"documentation":"<p>The ARN for the Kinesis stream input.</p>"
6301+
},
6302+
"UpdateKinesisStreamingConfiguration":{
6303+
"shape":"UpdateKinesisStreamingConfiguration",
6304+
"documentation":"<p>The command to update the Kinesis stream configuration.</p>"
6305+
}
6306+
}
6307+
},
6308+
"UpdateKinesisStreamingDestinationOutput":{
6309+
"type":"structure",
6310+
"members":{
6311+
"TableName":{
6312+
"shape":"TableName",
6313+
"documentation":"<p>The table name for the Kinesis streaming destination output.</p>"
6314+
},
6315+
"StreamArn":{
6316+
"shape":"StreamArn",
6317+
"documentation":"<p>The ARN for the Kinesis stream input.</p>"
6318+
},
6319+
"DestinationStatus":{
6320+
"shape":"DestinationStatus",
6321+
"documentation":"<p>The status of the attempt to update the Kinesis streaming destination output.</p>"
6322+
},
6323+
"UpdateKinesisStreamingConfiguration":{
6324+
"shape":"UpdateKinesisStreamingConfiguration",
6325+
"documentation":"<p>The command to update the Kinesis streaming destination configuration.</p>"
6326+
}
6327+
}
6328+
},
62296329
"UpdateReplicationGroupMemberAction":{
62306330
"type":"structure",
62316331
"required":["RegionName"],
@@ -6279,7 +6379,7 @@
62796379
},
62806380
"StreamSpecification":{
62816381
"shape":"StreamSpecification",
6282-
"documentation":"<p>Represents the DynamoDB Streams configuration for the table.</p> <note> <p>You receive a <code>ValidationException</code> if you try to enable a stream on a table that already has a stream, or if you try to disable a stream on a table that doesn't have a stream.</p> </note>"
6382+
"documentation":"<p>Represents the DynamoDB Streams configuration for the table.</p> <note> <p>You receive a <code>ResourceInUseException</code> if you try to enable a stream on a table that already has a stream, or if you try to disable a stream on a table that doesn't have a stream.</p> </note>"
62836383
},
62846384
"SSESpecification":{
62856385
"shape":"SSESpecification",

0 commit comments

Comments
 (0)