Skip to content

Commit

Permalink
restore dynamodb model and service
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianyi Wang committed Feb 6, 2024
1 parent 02e7fde commit 5764f5c
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 707 deletions.
182 changes: 2 additions & 180 deletions codegen/sdk-codegen/aws-models/dynamodb.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,35 +25,10 @@
{
"id": "Service",
"namespace": "*"
},
{
"id": "RuleSetAwsBuiltIn.AWS::Auth::AccountId",
"namespace": "*"
},
{
"id": "RuleSetParameter.TestCase.Unused",
"namespace": "*"
}
]
},
"shapes": {
"com.amazonaws.dynamodb#ApproximateCreationDateTimePrecision": {
"type": "enum",
"members": {
"MILLISECOND": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "MILLISECOND"
}
},
"MICROSECOND": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "MICROSECOND"
}
}
}
},
"com.amazonaws.dynamodb#ArchivalReason": {
"type": "string"
},
Expand Down Expand Up @@ -3500,12 +3475,6 @@
"traits": {
"smithy.api#enumValue": "ENABLE_FAILED"
}
},
"UPDATING": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "UPDATING"
}
}
}
},
Expand Down Expand Up @@ -3710,9 +3679,6 @@
{
"target": "com.amazonaws.dynamodb#UpdateItem"
},
{
"target": "com.amazonaws.dynamodb#UpdateKinesisStreamingDestination"
},
{
"target": "com.amazonaws.dynamodb#UpdateTable"
},
Expand Down Expand Up @@ -3747,12 +3713,6 @@
"smithy.rules#endpointRuleSet": {
"version": "1.0",
"parameters": {
"AccountId": {
"builtIn": "AWS::Auth::AccountId",
"required": false,
"documentation": "The AWS account ID.",
"type": "String"
},
"Region": {
"builtIn": "AWS::Region",
"required": false,
Expand Down Expand Up @@ -4831,20 +4791,6 @@
}
}
},
"com.amazonaws.dynamodb#EnableKinesisStreamingConfiguration": {
"type": "structure",
"members": {
"ApproximateCreationDateTimePrecision": {
"target": "com.amazonaws.dynamodb#ApproximateCreationDateTimePrecision",
"traits": {
"smithy.api#documentation": "<p>Toggle for the precision of Kinesis data stream timestamp. The values are either <code>MILLISECOND</code> or <code>MICROSECOND</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Enables setting the configuration for Kinesis Streaming.</p>"
}
},
"com.amazonaws.dynamodb#EnableKinesisStreamingDestination": {
"type": "operation",
"input": {
Expand Down Expand Up @@ -7013,12 +6959,6 @@
"traits": {
"smithy.api#documentation": "<p>The human-readable string that corresponds to the replica status.</p>"
}
},
"ApproximateCreationDateTimePrecision": {
"target": "com.amazonaws.dynamodb#ApproximateCreationDateTimePrecision",
"traits": {
"smithy.api#documentation": "<p>The precision of the Kinesis data stream timestamp. The values are either <code>MILLISECOND</code> or <code>MICROSECOND</code>.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -7047,12 +6987,6 @@
"smithy.api#documentation": "<p>The ARN for a Kinesis data stream.</p>",
"smithy.api#required": {}
}
},
"EnableKinesisStreamingConfiguration": {
"target": "com.amazonaws.dynamodb#EnableKinesisStreamingConfiguration",
"traits": {
"smithy.api#documentation": "<p>The source for the Kinesis streaming information that is being enabled.</p>"
}
}
}
},
Expand All @@ -7076,12 +7010,6 @@
"traits": {
"smithy.api#documentation": "<p>The current status of the replication.</p>"
}
},
"EnableKinesisStreamingConfiguration": {
"target": "com.amazonaws.dynamodb#EnableKinesisStreamingConfiguration",
"traits": {
"smithy.api#documentation": "<p>The destination for the Kinesis streaming information that is being enabled.</p>"
}
}
}
},
Expand Down Expand Up @@ -7849,7 +7777,7 @@
"Statement": {
"target": "com.amazonaws.dynamodb#PartiQLStatement",
"traits": {
"smithy.api#documentation": "<p> A PartiQL statement that uses parameters. </p>",
"smithy.api#documentation": "<p> A PartiQL statment that uses parameters. </p>",
"smithy.api#required": {}
}
},
Expand All @@ -7867,7 +7795,7 @@
}
},
"traits": {
"smithy.api#documentation": "<p> Represents a PartiQL statement that uses parameters. </p>"
"smithy.api#documentation": "<p> Represents a PartiQL statment that uses parameters. </p>"
}
},
"com.amazonaws.dynamodb#ParameterizedStatements": {
Expand Down Expand Up @@ -11815,112 +11743,6 @@
"smithy.api#output": {}
}
},
"com.amazonaws.dynamodb#UpdateKinesisStreamingConfiguration": {
"type": "structure",
"members": {
"ApproximateCreationDateTimePrecision": {
"target": "com.amazonaws.dynamodb#ApproximateCreationDateTimePrecision",
"traits": {
"smithy.api#documentation": "<p>Enables updating the precision of Kinesis data stream timestamp. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Enables updating the configuration for Kinesis Streaming.</p>"
}
},
"com.amazonaws.dynamodb#UpdateKinesisStreamingDestination": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#UpdateKinesisStreamingDestinationInput"
},
"output": {
"target": "com.amazonaws.dynamodb#UpdateKinesisStreamingDestinationOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#LimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#ResourceInUseException"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"aws.api#clientDiscoveredEndpoint": {
"required": false
},
"smithy.api#documentation": "<p>The command to update the Kinesis stream destination.</p>"
}
},
"com.amazonaws.dynamodb#UpdateKinesisStreamingDestinationInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The table name for the Kinesis streaming destination input.</p>",
"smithy.api#required": {}
}
},
"StreamArn": {
"target": "com.amazonaws.dynamodb#StreamArn",
"traits": {
"smithy.api#documentation": "<p>The ARN for the Kinesis stream input.</p>",
"smithy.api#required": {}
}
},
"UpdateKinesisStreamingConfiguration": {
"target": "com.amazonaws.dynamodb#UpdateKinesisStreamingConfiguration",
"traits": {
"smithy.api#documentation": "<p>The command to update the Kinesis stream configuration.</p>"
}
}
},
"traits": {
"smithy.api#input": {}
}
},
"com.amazonaws.dynamodb#UpdateKinesisStreamingDestinationOutput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The table name for the Kinesis streaming destination output.</p>"
}
},
"StreamArn": {
"target": "com.amazonaws.dynamodb#StreamArn",
"traits": {
"smithy.api#documentation": "<p>The ARN for the Kinesis stream input.</p>"
}
},
"DestinationStatus": {
"target": "com.amazonaws.dynamodb#DestinationStatus",
"traits": {
"smithy.api#documentation": "<p>The status of the attempt to update the Kinesis streaming destination output.</p>"
}
},
"UpdateKinesisStreamingConfiguration": {
"target": "com.amazonaws.dynamodb#UpdateKinesisStreamingConfiguration",
"traits": {
"smithy.api#documentation": "<p>The command to update the Kinesis streaming destination configuration.</p>"
}
}
},
"traits": {
"smithy.api#output": {}
}
},
"com.amazonaws.dynamodb#UpdateReplicationGroupMemberAction": {
"type": "structure",
"members": {
Expand Down
19 changes: 9 additions & 10 deletions service/dynamodb/api_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions service/dynamodb/api_op_DisableKinesisStreamingDestination.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions service/dynamodb/api_op_EnableKinesisStreamingDestination.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions service/dynamodb/auth.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5764f5c

Please sign in to comment.