aws-sdk-dynamodb 1.137.0 → 1.138.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +1 -1
- data/lib/aws-sdk-dynamodb/client_api.rb +44 -44
- data/lib/aws-sdk-dynamodb/endpoint_parameters.rb +16 -0
- data/lib/aws-sdk-dynamodb/endpoint_provider.rb +34 -19
- data/lib/aws-sdk-dynamodb/endpoints.rb +543 -1
- data/lib/aws-sdk-dynamodb.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd4e41e375a1b8ac3859bae14a574315cfe3aa72b5aba6b3058bae362ac23916
|
4
|
+
data.tar.gz: 0e6a2c98858ab0f9fce90383760fa4e86ea20a1c992d2ddc0e2dcd5dbe0310c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22f4d26543c15e83ac7fa33de133feeeb7be243e465fae1265affeae2ae9a9b033e1103c39f3503637f001b66d4b28a64b5320193918caca515b2be925ccd366
|
7
|
+
data.tar.gz: c687ae6044e0236c64d33434725b84c0968d2de240f50ef6422a282b955e1bd13747f9eb088bd038f3f83a815cf765ac9d9c6363c5b5df52980536a5dde59b2a
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.138.0
|
@@ -709,7 +709,7 @@ module Aws::DynamoDB
|
|
709
709
|
ContributorInsightsSummary.add_member(:contributor_insights_status, Shapes::ShapeRef.new(shape: ContributorInsightsStatus, location_name: "ContributorInsightsStatus"))
|
710
710
|
ContributorInsightsSummary.struct_class = Types::ContributorInsightsSummary
|
711
711
|
|
712
|
-
CreateBackupInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
712
|
+
CreateBackupInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
713
713
|
CreateBackupInput.add_member(:backup_name, Shapes::ShapeRef.new(shape: BackupName, required: true, location_name: "BackupName"))
|
714
714
|
CreateBackupInput.struct_class = Types::CreateBackupInput
|
715
715
|
|
@@ -724,7 +724,7 @@ module Aws::DynamoDB
|
|
724
724
|
CreateGlobalSecondaryIndexAction.add_member(:warm_throughput, Shapes::ShapeRef.new(shape: WarmThroughput, location_name: "WarmThroughput"))
|
725
725
|
CreateGlobalSecondaryIndexAction.struct_class = Types::CreateGlobalSecondaryIndexAction
|
726
726
|
|
727
|
-
CreateGlobalTableInput.add_member(:global_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "GlobalTableName"))
|
727
|
+
CreateGlobalTableInput.add_member(:global_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "GlobalTableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
728
728
|
CreateGlobalTableInput.add_member(:replication_group, Shapes::ShapeRef.new(shape: ReplicaList, required: true, location_name: "ReplicationGroup"))
|
729
729
|
CreateGlobalTableInput.struct_class = Types::CreateGlobalTableInput
|
730
730
|
|
@@ -743,7 +743,7 @@ module Aws::DynamoDB
|
|
743
743
|
CreateReplicationGroupMemberAction.struct_class = Types::CreateReplicationGroupMemberAction
|
744
744
|
|
745
745
|
CreateTableInput.add_member(:attribute_definitions, Shapes::ShapeRef.new(shape: AttributeDefinitions, required: true, location_name: "AttributeDefinitions"))
|
746
|
-
CreateTableInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
746
|
+
CreateTableInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
747
747
|
CreateTableInput.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, required: true, location_name: "KeySchema"))
|
748
748
|
CreateTableInput.add_member(:local_secondary_indexes, Shapes::ShapeRef.new(shape: LocalSecondaryIndexList, location_name: "LocalSecondaryIndexes"))
|
749
749
|
CreateTableInput.add_member(:global_secondary_indexes, Shapes::ShapeRef.new(shape: GlobalSecondaryIndexList, location_name: "GlobalSecondaryIndexes"))
|
@@ -776,7 +776,7 @@ module Aws::DynamoDB
|
|
776
776
|
Delete.add_member(:return_values_on_condition_check_failure, Shapes::ShapeRef.new(shape: ReturnValuesOnConditionCheckFailure, location_name: "ReturnValuesOnConditionCheckFailure"))
|
777
777
|
Delete.struct_class = Types::Delete
|
778
778
|
|
779
|
-
DeleteBackupInput.add_member(:backup_arn, Shapes::ShapeRef.new(shape: BackupArn, required: true, location_name: "BackupArn"))
|
779
|
+
DeleteBackupInput.add_member(:backup_arn, Shapes::ShapeRef.new(shape: BackupArn, required: true, location_name: "BackupArn", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
780
780
|
DeleteBackupInput.struct_class = Types::DeleteBackupInput
|
781
781
|
|
782
782
|
DeleteBackupOutput.add_member(:backup_description, Shapes::ShapeRef.new(shape: BackupDescription, location_name: "BackupDescription"))
|
@@ -785,7 +785,7 @@ module Aws::DynamoDB
|
|
785
785
|
DeleteGlobalSecondaryIndexAction.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "IndexName"))
|
786
786
|
DeleteGlobalSecondaryIndexAction.struct_class = Types::DeleteGlobalSecondaryIndexAction
|
787
787
|
|
788
|
-
DeleteItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
788
|
+
DeleteItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
789
789
|
DeleteItemInput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
|
790
790
|
DeleteItemInput.add_member(:expected, Shapes::ShapeRef.new(shape: ExpectedAttributeMap, location_name: "Expected"))
|
791
791
|
DeleteItemInput.add_member(:conditional_operator, Shapes::ShapeRef.new(shape: ConditionalOperator, location_name: "ConditionalOperator"))
|
@@ -812,32 +812,32 @@ module Aws::DynamoDB
|
|
812
812
|
DeleteRequest.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
|
813
813
|
DeleteRequest.struct_class = Types::DeleteRequest
|
814
814
|
|
815
|
-
DeleteResourcePolicyInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
|
815
|
+
DeleteResourcePolicyInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
816
816
|
DeleteResourcePolicyInput.add_member(:expected_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "ExpectedRevisionId"))
|
817
817
|
DeleteResourcePolicyInput.struct_class = Types::DeleteResourcePolicyInput
|
818
818
|
|
819
819
|
DeleteResourcePolicyOutput.add_member(:revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "RevisionId"))
|
820
820
|
DeleteResourcePolicyOutput.struct_class = Types::DeleteResourcePolicyOutput
|
821
821
|
|
822
|
-
DeleteTableInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
822
|
+
DeleteTableInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
823
823
|
DeleteTableInput.struct_class = Types::DeleteTableInput
|
824
824
|
|
825
825
|
DeleteTableOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
|
826
826
|
DeleteTableOutput.struct_class = Types::DeleteTableOutput
|
827
827
|
|
828
|
-
DescribeBackupInput.add_member(:backup_arn, Shapes::ShapeRef.new(shape: BackupArn, required: true, location_name: "BackupArn"))
|
828
|
+
DescribeBackupInput.add_member(:backup_arn, Shapes::ShapeRef.new(shape: BackupArn, required: true, location_name: "BackupArn", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
829
829
|
DescribeBackupInput.struct_class = Types::DescribeBackupInput
|
830
830
|
|
831
831
|
DescribeBackupOutput.add_member(:backup_description, Shapes::ShapeRef.new(shape: BackupDescription, location_name: "BackupDescription"))
|
832
832
|
DescribeBackupOutput.struct_class = Types::DescribeBackupOutput
|
833
833
|
|
834
|
-
DescribeContinuousBackupsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
834
|
+
DescribeContinuousBackupsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
835
835
|
DescribeContinuousBackupsInput.struct_class = Types::DescribeContinuousBackupsInput
|
836
836
|
|
837
837
|
DescribeContinuousBackupsOutput.add_member(:continuous_backups_description, Shapes::ShapeRef.new(shape: ContinuousBackupsDescription, location_name: "ContinuousBackupsDescription"))
|
838
838
|
DescribeContinuousBackupsOutput.struct_class = Types::DescribeContinuousBackupsOutput
|
839
839
|
|
840
|
-
DescribeContributorInsightsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
840
|
+
DescribeContributorInsightsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
841
841
|
DescribeContributorInsightsInput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
|
842
842
|
DescribeContributorInsightsInput.struct_class = Types::DescribeContributorInsightsInput
|
843
843
|
|
@@ -854,32 +854,32 @@ module Aws::DynamoDB
|
|
854
854
|
DescribeEndpointsResponse.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, required: true, location_name: "Endpoints"))
|
855
855
|
DescribeEndpointsResponse.struct_class = Types::DescribeEndpointsResponse
|
856
856
|
|
857
|
-
DescribeExportInput.add_member(:export_arn, Shapes::ShapeRef.new(shape: ExportArn, required: true, location_name: "ExportArn"))
|
857
|
+
DescribeExportInput.add_member(:export_arn, Shapes::ShapeRef.new(shape: ExportArn, required: true, location_name: "ExportArn", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
858
858
|
DescribeExportInput.struct_class = Types::DescribeExportInput
|
859
859
|
|
860
860
|
DescribeExportOutput.add_member(:export_description, Shapes::ShapeRef.new(shape: ExportDescription, location_name: "ExportDescription"))
|
861
861
|
DescribeExportOutput.struct_class = Types::DescribeExportOutput
|
862
862
|
|
863
|
-
DescribeGlobalTableInput.add_member(:global_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "GlobalTableName"))
|
863
|
+
DescribeGlobalTableInput.add_member(:global_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "GlobalTableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
864
864
|
DescribeGlobalTableInput.struct_class = Types::DescribeGlobalTableInput
|
865
865
|
|
866
866
|
DescribeGlobalTableOutput.add_member(:global_table_description, Shapes::ShapeRef.new(shape: GlobalTableDescription, location_name: "GlobalTableDescription"))
|
867
867
|
DescribeGlobalTableOutput.struct_class = Types::DescribeGlobalTableOutput
|
868
868
|
|
869
|
-
DescribeGlobalTableSettingsInput.add_member(:global_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "GlobalTableName"))
|
869
|
+
DescribeGlobalTableSettingsInput.add_member(:global_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "GlobalTableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
870
870
|
DescribeGlobalTableSettingsInput.struct_class = Types::DescribeGlobalTableSettingsInput
|
871
871
|
|
872
872
|
DescribeGlobalTableSettingsOutput.add_member(:global_table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "GlobalTableName"))
|
873
873
|
DescribeGlobalTableSettingsOutput.add_member(:replica_settings, Shapes::ShapeRef.new(shape: ReplicaSettingsDescriptionList, location_name: "ReplicaSettings"))
|
874
874
|
DescribeGlobalTableSettingsOutput.struct_class = Types::DescribeGlobalTableSettingsOutput
|
875
875
|
|
876
|
-
DescribeImportInput.add_member(:import_arn, Shapes::ShapeRef.new(shape: ImportArn, required: true, location_name: "ImportArn"))
|
876
|
+
DescribeImportInput.add_member(:import_arn, Shapes::ShapeRef.new(shape: ImportArn, required: true, location_name: "ImportArn", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
877
877
|
DescribeImportInput.struct_class = Types::DescribeImportInput
|
878
878
|
|
879
879
|
DescribeImportOutput.add_member(:import_table_description, Shapes::ShapeRef.new(shape: ImportTableDescription, required: true, location_name: "ImportTableDescription"))
|
880
880
|
DescribeImportOutput.struct_class = Types::DescribeImportOutput
|
881
881
|
|
882
|
-
DescribeKinesisStreamingDestinationInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
882
|
+
DescribeKinesisStreamingDestinationInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
883
883
|
DescribeKinesisStreamingDestinationInput.struct_class = Types::DescribeKinesisStreamingDestinationInput
|
884
884
|
|
885
885
|
DescribeKinesisStreamingDestinationOutput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
|
@@ -894,19 +894,19 @@ module Aws::DynamoDB
|
|
894
894
|
DescribeLimitsOutput.add_member(:table_max_write_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "TableMaxWriteCapacityUnits"))
|
895
895
|
DescribeLimitsOutput.struct_class = Types::DescribeLimitsOutput
|
896
896
|
|
897
|
-
DescribeTableInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
897
|
+
DescribeTableInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
898
898
|
DescribeTableInput.struct_class = Types::DescribeTableInput
|
899
899
|
|
900
900
|
DescribeTableOutput.add_member(:table, Shapes::ShapeRef.new(shape: TableDescription, location_name: "Table"))
|
901
901
|
DescribeTableOutput.struct_class = Types::DescribeTableOutput
|
902
902
|
|
903
|
-
DescribeTableReplicaAutoScalingInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
903
|
+
DescribeTableReplicaAutoScalingInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
904
904
|
DescribeTableReplicaAutoScalingInput.struct_class = Types::DescribeTableReplicaAutoScalingInput
|
905
905
|
|
906
906
|
DescribeTableReplicaAutoScalingOutput.add_member(:table_auto_scaling_description, Shapes::ShapeRef.new(shape: TableAutoScalingDescription, location_name: "TableAutoScalingDescription"))
|
907
907
|
DescribeTableReplicaAutoScalingOutput.struct_class = Types::DescribeTableReplicaAutoScalingOutput
|
908
908
|
|
909
|
-
DescribeTimeToLiveInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
909
|
+
DescribeTimeToLiveInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
910
910
|
DescribeTimeToLiveInput.struct_class = Types::DescribeTimeToLiveInput
|
911
911
|
|
912
912
|
DescribeTimeToLiveOutput.add_member(:time_to_live_description, Shapes::ShapeRef.new(shape: TimeToLiveDescription, location_name: "TimeToLiveDescription"))
|
@@ -993,7 +993,7 @@ module Aws::DynamoDB
|
|
993
993
|
ExportSummary.add_member(:export_type, Shapes::ShapeRef.new(shape: ExportType, location_name: "ExportType"))
|
994
994
|
ExportSummary.struct_class = Types::ExportSummary
|
995
995
|
|
996
|
-
ExportTableToPointInTimeInput.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableArn"))
|
996
|
+
ExportTableToPointInTimeInput.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableArn", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
997
997
|
ExportTableToPointInTimeInput.add_member(:export_time, Shapes::ShapeRef.new(shape: ExportTime, location_name: "ExportTime"))
|
998
998
|
ExportTableToPointInTimeInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
999
999
|
ExportTableToPointInTimeInput.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, required: true, location_name: "S3Bucket"))
|
@@ -1028,7 +1028,7 @@ module Aws::DynamoDB
|
|
1028
1028
|
Get.add_member(:expression_attribute_names, Shapes::ShapeRef.new(shape: ExpressionAttributeNameMap, location_name: "ExpressionAttributeNames"))
|
1029
1029
|
Get.struct_class = Types::Get
|
1030
1030
|
|
1031
|
-
GetItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
1031
|
+
GetItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1032
1032
|
GetItemInput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
|
1033
1033
|
GetItemInput.add_member(:attributes_to_get, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributesToGet"))
|
1034
1034
|
GetItemInput.add_member(:consistent_read, Shapes::ShapeRef.new(shape: ConsistentRead, location_name: "ConsistentRead"))
|
@@ -1041,7 +1041,7 @@ module Aws::DynamoDB
|
|
1041
1041
|
GetItemOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacity, location_name: "ConsumedCapacity"))
|
1042
1042
|
GetItemOutput.struct_class = Types::GetItemOutput
|
1043
1043
|
|
1044
|
-
GetResourcePolicyInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
|
1044
|
+
GetResourcePolicyInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1045
1045
|
GetResourcePolicyInput.struct_class = Types::GetResourcePolicyInput
|
1046
1046
|
|
1047
1047
|
GetResourcePolicyOutput.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "Policy"))
|
@@ -1252,7 +1252,7 @@ module Aws::DynamoDB
|
|
1252
1252
|
|
1253
1253
|
KinesisDataStreamDestinations.member = Shapes::ShapeRef.new(shape: KinesisDataStreamDestination)
|
1254
1254
|
|
1255
|
-
KinesisStreamingDestinationInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
1255
|
+
KinesisStreamingDestinationInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1256
1256
|
KinesisStreamingDestinationInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamArn, required: true, location_name: "StreamArn"))
|
1257
1257
|
KinesisStreamingDestinationInput.add_member(:enable_kinesis_streaming_configuration, Shapes::ShapeRef.new(shape: EnableKinesisStreamingConfiguration, location_name: "EnableKinesisStreamingConfiguration"))
|
1258
1258
|
KinesisStreamingDestinationInput.struct_class = Types::KinesisStreamingDestinationInput
|
@@ -1268,7 +1268,7 @@ module Aws::DynamoDB
|
|
1268
1268
|
|
1269
1269
|
ListAttributeValue.member = Shapes::ShapeRef.new(shape: AttributeValue)
|
1270
1270
|
|
1271
|
-
ListBackupsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, location_name: "TableName"))
|
1271
|
+
ListBackupsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1272
1272
|
ListBackupsInput.add_member(:limit, Shapes::ShapeRef.new(shape: BackupsInputLimit, location_name: "Limit"))
|
1273
1273
|
ListBackupsInput.add_member(:time_range_lower_bound, Shapes::ShapeRef.new(shape: TimeRangeLowerBound, location_name: "TimeRangeLowerBound"))
|
1274
1274
|
ListBackupsInput.add_member(:time_range_upper_bound, Shapes::ShapeRef.new(shape: TimeRangeUpperBound, location_name: "TimeRangeUpperBound"))
|
@@ -1280,7 +1280,7 @@ module Aws::DynamoDB
|
|
1280
1280
|
ListBackupsOutput.add_member(:last_evaluated_backup_arn, Shapes::ShapeRef.new(shape: BackupArn, location_name: "LastEvaluatedBackupArn"))
|
1281
1281
|
ListBackupsOutput.struct_class = Types::ListBackupsOutput
|
1282
1282
|
|
1283
|
-
ListContributorInsightsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, location_name: "TableName"))
|
1283
|
+
ListContributorInsightsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1284
1284
|
ListContributorInsightsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "NextToken"))
|
1285
1285
|
ListContributorInsightsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListContributorInsightsLimit, location_name: "MaxResults"))
|
1286
1286
|
ListContributorInsightsInput.struct_class = Types::ListContributorInsightsInput
|
@@ -1289,7 +1289,7 @@ module Aws::DynamoDB
|
|
1289
1289
|
ListContributorInsightsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "NextToken"))
|
1290
1290
|
ListContributorInsightsOutput.struct_class = Types::ListContributorInsightsOutput
|
1291
1291
|
|
1292
|
-
ListExportsInput.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableArn, location_name: "TableArn"))
|
1292
|
+
ListExportsInput.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableArn, location_name: "TableArn", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1293
1293
|
ListExportsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListExportsMaxLimit, location_name: "MaxResults"))
|
1294
1294
|
ListExportsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: ExportNextToken, location_name: "NextToken"))
|
1295
1295
|
ListExportsInput.struct_class = Types::ListExportsInput
|
@@ -1307,7 +1307,7 @@ module Aws::DynamoDB
|
|
1307
1307
|
ListGlobalTablesOutput.add_member(:last_evaluated_global_table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "LastEvaluatedGlobalTableName"))
|
1308
1308
|
ListGlobalTablesOutput.struct_class = Types::ListGlobalTablesOutput
|
1309
1309
|
|
1310
|
-
ListImportsInput.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableArn, location_name: "TableArn"))
|
1310
|
+
ListImportsInput.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableArn, location_name: "TableArn", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1311
1311
|
ListImportsInput.add_member(:page_size, Shapes::ShapeRef.new(shape: ListImportsMaxLimit, location_name: "PageSize"))
|
1312
1312
|
ListImportsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: ImportNextToken, location_name: "NextToken"))
|
1313
1313
|
ListImportsInput.struct_class = Types::ListImportsInput
|
@@ -1324,7 +1324,7 @@ module Aws::DynamoDB
|
|
1324
1324
|
ListTablesOutput.add_member(:last_evaluated_table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "LastEvaluatedTableName"))
|
1325
1325
|
ListTablesOutput.struct_class = Types::ListTablesOutput
|
1326
1326
|
|
1327
|
-
ListTagsOfResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
|
1327
|
+
ListTagsOfResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1328
1328
|
ListTagsOfResourceInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "NextToken"))
|
1329
1329
|
ListTagsOfResourceInput.struct_class = Types::ListTagsOfResourceInput
|
1330
1330
|
|
@@ -1428,7 +1428,7 @@ module Aws::DynamoDB
|
|
1428
1428
|
Put.add_member(:return_values_on_condition_check_failure, Shapes::ShapeRef.new(shape: ReturnValuesOnConditionCheckFailure, location_name: "ReturnValuesOnConditionCheckFailure"))
|
1429
1429
|
Put.struct_class = Types::Put
|
1430
1430
|
|
1431
|
-
PutItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
1431
|
+
PutItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1432
1432
|
PutItemInput.add_member(:item, Shapes::ShapeRef.new(shape: PutItemInputAttributeMap, required: true, location_name: "Item"))
|
1433
1433
|
PutItemInput.add_member(:expected, Shapes::ShapeRef.new(shape: ExpectedAttributeMap, location_name: "Expected"))
|
1434
1434
|
PutItemInput.add_member(:return_values, Shapes::ShapeRef.new(shape: ReturnValue, location_name: "ReturnValues"))
|
@@ -1452,7 +1452,7 @@ module Aws::DynamoDB
|
|
1452
1452
|
PutRequest.add_member(:item, Shapes::ShapeRef.new(shape: PutItemInputAttributeMap, required: true, location_name: "Item"))
|
1453
1453
|
PutRequest.struct_class = Types::PutRequest
|
1454
1454
|
|
1455
|
-
PutResourcePolicyInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
|
1455
|
+
PutResourcePolicyInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1456
1456
|
PutResourcePolicyInput.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, required: true, location_name: "Policy"))
|
1457
1457
|
PutResourcePolicyInput.add_member(:expected_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "ExpectedRevisionId"))
|
1458
1458
|
PutResourcePolicyInput.add_member(:confirm_remove_self_resource_access, Shapes::ShapeRef.new(shape: ConfirmRemoveSelfResourceAccess, location_name: "ConfirmRemoveSelfResourceAccess"))
|
@@ -1461,7 +1461,7 @@ module Aws::DynamoDB
|
|
1461
1461
|
PutResourcePolicyOutput.add_member(:revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "RevisionId"))
|
1462
1462
|
PutResourcePolicyOutput.struct_class = Types::PutResourcePolicyOutput
|
1463
1463
|
|
1464
|
-
QueryInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
1464
|
+
QueryInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1465
1465
|
QueryInput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
|
1466
1466
|
QueryInput.add_member(:select, Shapes::ShapeRef.new(shape: Select, location_name: "Select"))
|
1467
1467
|
QueryInput.add_member(:attributes_to_get, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributesToGet"))
|
@@ -1628,7 +1628,7 @@ module Aws::DynamoDB
|
|
1628
1628
|
RestoreSummary.add_member(:restore_in_progress, Shapes::ShapeRef.new(shape: RestoreInProgress, required: true, location_name: "RestoreInProgress"))
|
1629
1629
|
RestoreSummary.struct_class = Types::RestoreSummary
|
1630
1630
|
|
1631
|
-
RestoreTableFromBackupInput.add_member(:target_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TargetTableName"))
|
1631
|
+
RestoreTableFromBackupInput.add_member(:target_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TargetTableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1632
1632
|
RestoreTableFromBackupInput.add_member(:backup_arn, Shapes::ShapeRef.new(shape: BackupArn, required: true, location_name: "BackupArn"))
|
1633
1633
|
RestoreTableFromBackupInput.add_member(:billing_mode_override, Shapes::ShapeRef.new(shape: BillingMode, location_name: "BillingModeOverride"))
|
1634
1634
|
RestoreTableFromBackupInput.add_member(:global_secondary_index_override, Shapes::ShapeRef.new(shape: GlobalSecondaryIndexList, location_name: "GlobalSecondaryIndexOverride"))
|
@@ -1643,7 +1643,7 @@ module Aws::DynamoDB
|
|
1643
1643
|
|
1644
1644
|
RestoreTableToPointInTimeInput.add_member(:source_table_arn, Shapes::ShapeRef.new(shape: TableArn, location_name: "SourceTableArn"))
|
1645
1645
|
RestoreTableToPointInTimeInput.add_member(:source_table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "SourceTableName"))
|
1646
|
-
RestoreTableToPointInTimeInput.add_member(:target_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TargetTableName"))
|
1646
|
+
RestoreTableToPointInTimeInput.add_member(:target_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TargetTableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1647
1647
|
RestoreTableToPointInTimeInput.add_member(:use_latest_restorable_time, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "UseLatestRestorableTime"))
|
1648
1648
|
RestoreTableToPointInTimeInput.add_member(:restore_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "RestoreDateTime"))
|
1649
1649
|
RestoreTableToPointInTimeInput.add_member(:billing_mode_override, Shapes::ShapeRef.new(shape: BillingMode, location_name: "BillingModeOverride"))
|
@@ -1673,7 +1673,7 @@ module Aws::DynamoDB
|
|
1673
1673
|
SSESpecification.add_member(:kms_master_key_id, Shapes::ShapeRef.new(shape: KMSMasterKeyId, location_name: "KMSMasterKeyId"))
|
1674
1674
|
SSESpecification.struct_class = Types::SSESpecification
|
1675
1675
|
|
1676
|
-
ScanInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
1676
|
+
ScanInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1677
1677
|
ScanInput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
|
1678
1678
|
ScanInput.add_member(:attributes_to_get, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributesToGet"))
|
1679
1679
|
ScanInput.add_member(:limit, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "Limit"))
|
@@ -1797,7 +1797,7 @@ module Aws::DynamoDB
|
|
1797
1797
|
|
1798
1798
|
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
1799
1799
|
|
1800
|
-
TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
|
1800
|
+
TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1801
1801
|
TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
1802
1802
|
TagResourceInput.struct_class = Types::TagResourceInput
|
1803
1803
|
|
@@ -1850,7 +1850,7 @@ module Aws::DynamoDB
|
|
1850
1850
|
TransactionInProgressException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
1851
1851
|
TransactionInProgressException.struct_class = Types::TransactionInProgressException
|
1852
1852
|
|
1853
|
-
UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
|
1853
|
+
UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1854
1854
|
UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
1855
1855
|
UntagResourceInput.struct_class = Types::UntagResourceInput
|
1856
1856
|
|
@@ -1863,14 +1863,14 @@ module Aws::DynamoDB
|
|
1863
1863
|
Update.add_member(:return_values_on_condition_check_failure, Shapes::ShapeRef.new(shape: ReturnValuesOnConditionCheckFailure, location_name: "ReturnValuesOnConditionCheckFailure"))
|
1864
1864
|
Update.struct_class = Types::Update
|
1865
1865
|
|
1866
|
-
UpdateContinuousBackupsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
1866
|
+
UpdateContinuousBackupsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1867
1867
|
UpdateContinuousBackupsInput.add_member(:point_in_time_recovery_specification, Shapes::ShapeRef.new(shape: PointInTimeRecoverySpecification, required: true, location_name: "PointInTimeRecoverySpecification"))
|
1868
1868
|
UpdateContinuousBackupsInput.struct_class = Types::UpdateContinuousBackupsInput
|
1869
1869
|
|
1870
1870
|
UpdateContinuousBackupsOutput.add_member(:continuous_backups_description, Shapes::ShapeRef.new(shape: ContinuousBackupsDescription, location_name: "ContinuousBackupsDescription"))
|
1871
1871
|
UpdateContinuousBackupsOutput.struct_class = Types::UpdateContinuousBackupsOutput
|
1872
1872
|
|
1873
|
-
UpdateContributorInsightsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
1873
|
+
UpdateContributorInsightsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1874
1874
|
UpdateContributorInsightsInput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "IndexName"))
|
1875
1875
|
UpdateContributorInsightsInput.add_member(:contributor_insights_action, Shapes::ShapeRef.new(shape: ContributorInsightsAction, required: true, location_name: "ContributorInsightsAction"))
|
1876
1876
|
UpdateContributorInsightsInput.struct_class = Types::UpdateContributorInsightsInput
|
@@ -1886,14 +1886,14 @@ module Aws::DynamoDB
|
|
1886
1886
|
UpdateGlobalSecondaryIndexAction.add_member(:warm_throughput, Shapes::ShapeRef.new(shape: WarmThroughput, location_name: "WarmThroughput"))
|
1887
1887
|
UpdateGlobalSecondaryIndexAction.struct_class = Types::UpdateGlobalSecondaryIndexAction
|
1888
1888
|
|
1889
|
-
UpdateGlobalTableInput.add_member(:global_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "GlobalTableName"))
|
1889
|
+
UpdateGlobalTableInput.add_member(:global_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "GlobalTableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1890
1890
|
UpdateGlobalTableInput.add_member(:replica_updates, Shapes::ShapeRef.new(shape: ReplicaUpdateList, required: true, location_name: "ReplicaUpdates"))
|
1891
1891
|
UpdateGlobalTableInput.struct_class = Types::UpdateGlobalTableInput
|
1892
1892
|
|
1893
1893
|
UpdateGlobalTableOutput.add_member(:global_table_description, Shapes::ShapeRef.new(shape: GlobalTableDescription, location_name: "GlobalTableDescription"))
|
1894
1894
|
UpdateGlobalTableOutput.struct_class = Types::UpdateGlobalTableOutput
|
1895
1895
|
|
1896
|
-
UpdateGlobalTableSettingsInput.add_member(:global_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "GlobalTableName"))
|
1896
|
+
UpdateGlobalTableSettingsInput.add_member(:global_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "GlobalTableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1897
1897
|
UpdateGlobalTableSettingsInput.add_member(:global_table_billing_mode, Shapes::ShapeRef.new(shape: BillingMode, location_name: "GlobalTableBillingMode"))
|
1898
1898
|
UpdateGlobalTableSettingsInput.add_member(:global_table_provisioned_write_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "GlobalTableProvisionedWriteCapacityUnits"))
|
1899
1899
|
UpdateGlobalTableSettingsInput.add_member(:global_table_provisioned_write_capacity_auto_scaling_settings_update, Shapes::ShapeRef.new(shape: AutoScalingSettingsUpdate, location_name: "GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate"))
|
@@ -1905,7 +1905,7 @@ module Aws::DynamoDB
|
|
1905
1905
|
UpdateGlobalTableSettingsOutput.add_member(:replica_settings, Shapes::ShapeRef.new(shape: ReplicaSettingsDescriptionList, location_name: "ReplicaSettings"))
|
1906
1906
|
UpdateGlobalTableSettingsOutput.struct_class = Types::UpdateGlobalTableSettingsOutput
|
1907
1907
|
|
1908
|
-
UpdateItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
1908
|
+
UpdateItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1909
1909
|
UpdateItemInput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
|
1910
1910
|
UpdateItemInput.add_member(:attribute_updates, Shapes::ShapeRef.new(shape: AttributeUpdates, location_name: "AttributeUpdates"))
|
1911
1911
|
UpdateItemInput.add_member(:expected, Shapes::ShapeRef.new(shape: ExpectedAttributeMap, location_name: "Expected"))
|
@@ -1928,7 +1928,7 @@ module Aws::DynamoDB
|
|
1928
1928
|
UpdateKinesisStreamingConfiguration.add_member(:approximate_creation_date_time_precision, Shapes::ShapeRef.new(shape: ApproximateCreationDateTimePrecision, location_name: "ApproximateCreationDateTimePrecision"))
|
1929
1929
|
UpdateKinesisStreamingConfiguration.struct_class = Types::UpdateKinesisStreamingConfiguration
|
1930
1930
|
|
1931
|
-
UpdateKinesisStreamingDestinationInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
1931
|
+
UpdateKinesisStreamingDestinationInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1932
1932
|
UpdateKinesisStreamingDestinationInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamArn, required: true, location_name: "StreamArn"))
|
1933
1933
|
UpdateKinesisStreamingDestinationInput.add_member(:update_kinesis_streaming_configuration, Shapes::ShapeRef.new(shape: UpdateKinesisStreamingConfiguration, location_name: "UpdateKinesisStreamingConfiguration"))
|
1934
1934
|
UpdateKinesisStreamingDestinationInput.struct_class = Types::UpdateKinesisStreamingDestinationInput
|
@@ -1948,7 +1948,7 @@ module Aws::DynamoDB
|
|
1948
1948
|
UpdateReplicationGroupMemberAction.struct_class = Types::UpdateReplicationGroupMemberAction
|
1949
1949
|
|
1950
1950
|
UpdateTableInput.add_member(:attribute_definitions, Shapes::ShapeRef.new(shape: AttributeDefinitions, location_name: "AttributeDefinitions"))
|
1951
|
-
UpdateTableInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
1951
|
+
UpdateTableInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1952
1952
|
UpdateTableInput.add_member(:billing_mode, Shapes::ShapeRef.new(shape: BillingMode, location_name: "BillingMode"))
|
1953
1953
|
UpdateTableInput.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughput, location_name: "ProvisionedThroughput"))
|
1954
1954
|
UpdateTableInput.add_member(:global_secondary_index_updates, Shapes::ShapeRef.new(shape: GlobalSecondaryIndexUpdateList, location_name: "GlobalSecondaryIndexUpdates"))
|
@@ -1966,7 +1966,7 @@ module Aws::DynamoDB
|
|
1966
1966
|
UpdateTableOutput.struct_class = Types::UpdateTableOutput
|
1967
1967
|
|
1968
1968
|
UpdateTableReplicaAutoScalingInput.add_member(:global_secondary_index_updates, Shapes::ShapeRef.new(shape: GlobalSecondaryIndexAutoScalingUpdateList, location_name: "GlobalSecondaryIndexUpdates"))
|
1969
|
-
UpdateTableReplicaAutoScalingInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
1969
|
+
UpdateTableReplicaAutoScalingInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1970
1970
|
UpdateTableReplicaAutoScalingInput.add_member(:provisioned_write_capacity_auto_scaling_update, Shapes::ShapeRef.new(shape: AutoScalingSettingsUpdate, location_name: "ProvisionedWriteCapacityAutoScalingUpdate"))
|
1971
1971
|
UpdateTableReplicaAutoScalingInput.add_member(:replica_updates, Shapes::ShapeRef.new(shape: ReplicaAutoScalingUpdateList, location_name: "ReplicaUpdates"))
|
1972
1972
|
UpdateTableReplicaAutoScalingInput.struct_class = Types::UpdateTableReplicaAutoScalingInput
|
@@ -1974,7 +1974,7 @@ module Aws::DynamoDB
|
|
1974
1974
|
UpdateTableReplicaAutoScalingOutput.add_member(:table_auto_scaling_description, Shapes::ShapeRef.new(shape: TableAutoScalingDescription, location_name: "TableAutoScalingDescription"))
|
1975
1975
|
UpdateTableReplicaAutoScalingOutput.struct_class = Types::UpdateTableReplicaAutoScalingOutput
|
1976
1976
|
|
1977
|
-
UpdateTimeToLiveInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
1977
|
+
UpdateTimeToLiveInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam"=>{"name"=>"ResourceArn"}}))
|
1978
1978
|
UpdateTimeToLiveInput.add_member(:time_to_live_specification, Shapes::ShapeRef.new(shape: TimeToLiveSpecification, required: true, location_name: "TimeToLiveSpecification"))
|
1979
1979
|
UpdateTimeToLiveInput.struct_class = Types::UpdateTimeToLiveInput
|
1980
1980
|
|
@@ -40,6 +40,16 @@ module Aws::DynamoDB
|
|
40
40
|
#
|
41
41
|
# @return [String]
|
42
42
|
#
|
43
|
+
# @!attribute resource_arn
|
44
|
+
# ResourceArn containing arn of resource
|
45
|
+
#
|
46
|
+
# @return [String]
|
47
|
+
#
|
48
|
+
# @!attribute resource_arn_list
|
49
|
+
# ResourceArnList containing list of resource arns
|
50
|
+
#
|
51
|
+
# @return [stringArray]
|
52
|
+
#
|
43
53
|
EndpointParameters = Struct.new(
|
44
54
|
:region,
|
45
55
|
:use_dual_stack,
|
@@ -47,6 +57,8 @@ module Aws::DynamoDB
|
|
47
57
|
:endpoint,
|
48
58
|
:account_id,
|
49
59
|
:account_id_endpoint_mode,
|
60
|
+
:resource_arn,
|
61
|
+
:resource_arn_list,
|
50
62
|
) do
|
51
63
|
include Aws::Structure
|
52
64
|
|
@@ -59,6 +71,8 @@ module Aws::DynamoDB
|
|
59
71
|
'Endpoint' => :endpoint,
|
60
72
|
'AccountId' => :account_id,
|
61
73
|
'AccountIdEndpointMode' => :account_id_endpoint_mode,
|
74
|
+
'ResourceArn' => :resource_arn,
|
75
|
+
'ResourceArnList' => :resource_arn_list,
|
62
76
|
}.freeze
|
63
77
|
end
|
64
78
|
|
@@ -71,6 +85,8 @@ module Aws::DynamoDB
|
|
71
85
|
self[:endpoint] = options[:endpoint]
|
72
86
|
self[:account_id] = options[:account_id]
|
73
87
|
self[:account_id_endpoint_mode] = options[:account_id_endpoint_mode]
|
88
|
+
self[:resource_arn] = options[:resource_arn]
|
89
|
+
self[:resource_arn_list] = options[:resource_arn_list]
|
74
90
|
end
|
75
91
|
|
76
92
|
def self.create(config, options={})
|
@@ -28,18 +28,12 @@ module Aws::DynamoDB
|
|
28
28
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
29
29
|
raise ArgumentError, "Invalid Configuration: Dualstack and local endpoint are not supported"
|
30
30
|
end
|
31
|
-
return Aws::Endpoints::Endpoint.new(url: "http://localhost:8000", headers: {}, properties: {"authSchemes"=>[{"
|
32
|
-
end
|
33
|
-
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "required") && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.set?(parameters.account_id))
|
34
|
-
raise ArgumentError, "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded."
|
35
|
-
end
|
36
|
-
if Aws::Endpoints::Matchers.set?(parameters.account_id) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.valid_host_label?(parameters.account_id, false))
|
37
|
-
raise ArgumentError, "Credentials-sourced account ID parameter is invalid"
|
31
|
+
return Aws::Endpoints::Endpoint.new(url: "http://localhost:8000", headers: {}, properties: {"authSchemes"=>[{"signingRegion"=>"us-east-1", "signingName"=>"dynamodb", "name"=>"sigv4"}]}, metadata: { account_id_endpoint: false })
|
38
32
|
end
|
39
33
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
40
34
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true) && Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"), true)
|
41
|
-
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "
|
42
|
-
|
35
|
+
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "required")
|
36
|
+
raise ArgumentError, "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported"
|
43
37
|
end
|
44
38
|
return Aws::Endpoints::Endpoint.new(url: "https://dynamodb-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
45
39
|
end
|
@@ -48,13 +42,13 @@ module Aws::DynamoDB
|
|
48
42
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
49
43
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
50
44
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
51
|
-
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "
|
52
|
-
|
45
|
+
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "required")
|
46
|
+
raise ArgumentError, "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported"
|
53
47
|
end
|
54
48
|
return Aws::Endpoints::Endpoint.new(url: "https://dynamodb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
55
49
|
end
|
56
|
-
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "
|
57
|
-
|
50
|
+
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "required")
|
51
|
+
raise ArgumentError, "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported"
|
58
52
|
end
|
59
53
|
return Aws::Endpoints::Endpoint.new(url: "https://dynamodb-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
60
54
|
end
|
@@ -62,18 +56,39 @@ module Aws::DynamoDB
|
|
62
56
|
end
|
63
57
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
64
58
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"), true)
|
65
|
-
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "
|
66
|
-
|
59
|
+
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "required")
|
60
|
+
if Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true))
|
61
|
+
raise ArgumentError, "Invalid Configuration: AccountIdEndpointMode is required and DualStack is enabled, but DualStack account endpoints are not supported"
|
62
|
+
end
|
63
|
+
raise ArgumentError, "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported"
|
67
64
|
end
|
68
65
|
return Aws::Endpoints::Endpoint.new(url: "https://dynamodb.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
69
66
|
end
|
70
67
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
71
68
|
end
|
72
|
-
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "disabled")
|
73
|
-
return Aws::Endpoints::Endpoint.new(url: "https
|
69
|
+
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "disabled")) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)) && Aws::Endpoints::Matchers.set?(parameters.resource_arn) && (parsed_arn = Aws::Endpoints::Matchers.aws_parse_arn(parameters.resource_arn)) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(parsed_arn, "service"), "dynamodb") && Aws::Endpoints::Matchers.valid_host_label?(Aws::Endpoints::Matchers.attr(parsed_arn, "region"), false) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(parsed_arn, "region"), "#{parameters.region}") && Aws::Endpoints::Matchers.valid_host_label?(Aws::Endpoints::Matchers.attr(parsed_arn, "accountId"), false)
|
70
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parsed_arn['accountId']}.ddb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
71
|
+
end
|
72
|
+
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "disabled")) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)) && Aws::Endpoints::Matchers.set?(parameters.resource_arn_list) && (first_arn = Aws::Endpoints::Matchers.attr(parameters.resource_arn_list, "[0]")) && (parsed_arn = Aws::Endpoints::Matchers.aws_parse_arn(first_arn)) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(parsed_arn, "service"), "dynamodb") && Aws::Endpoints::Matchers.valid_host_label?(Aws::Endpoints::Matchers.attr(parsed_arn, "region"), false) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(parsed_arn, "region"), "#{parameters.region}") && Aws::Endpoints::Matchers.valid_host_label?(Aws::Endpoints::Matchers.attr(parsed_arn, "accountId"), false)
|
73
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parsed_arn['accountId']}.ddb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
74
74
|
end
|
75
|
-
if Aws::Endpoints::Matchers.set?(parameters.
|
76
|
-
|
75
|
+
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "disabled")) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)) && Aws::Endpoints::Matchers.set?(parameters.account_id)
|
76
|
+
if Aws::Endpoints::Matchers.valid_host_label?(parameters.account_id, false)
|
77
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.account_id}.ddb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: true })
|
78
|
+
end
|
79
|
+
raise ArgumentError, "Credentials-sourced account ID parameter is invalid"
|
80
|
+
end
|
81
|
+
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "required")
|
82
|
+
if Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true))
|
83
|
+
if Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true))
|
84
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
|
85
|
+
raise ArgumentError, "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded"
|
86
|
+
end
|
87
|
+
raise ArgumentError, "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this partition"
|
88
|
+
end
|
89
|
+
raise ArgumentError, "Invalid Configuration: AccountIdEndpointMode is required and DualStack is enabled, but DualStack account endpoints are not supported"
|
90
|
+
end
|
91
|
+
raise ArgumentError, "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported"
|
77
92
|
end
|
78
93
|
return Aws::Endpoints::Endpoint.new(url: "https://dynamodb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
79
94
|
end
|
@@ -12,9 +12,551 @@ module Aws::DynamoDB
|
|
12
12
|
# @api private
|
13
13
|
module Endpoints
|
14
14
|
|
15
|
+
class BatchGetItem
|
16
|
+
def self.build(context)
|
17
|
+
Aws::DynamoDB::EndpointParameters.create(
|
18
|
+
context.config,
|
19
|
+
resource_arn_list: JMESPath.search("keys(request_items)", context.params),
|
20
|
+
)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
class BatchWriteItem
|
25
|
+
def self.build(context)
|
26
|
+
Aws::DynamoDB::EndpointParameters.create(
|
27
|
+
context.config,
|
28
|
+
resource_arn_list: JMESPath.search("keys(request_items)", context.params),
|
29
|
+
)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
class CreateBackup
|
34
|
+
def self.build(context)
|
35
|
+
Aws::DynamoDB::EndpointParameters.create(
|
36
|
+
context.config,
|
37
|
+
resource_arn: context.params[:table_name],
|
38
|
+
)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
class CreateGlobalTable
|
43
|
+
def self.build(context)
|
44
|
+
Aws::DynamoDB::EndpointParameters.create(
|
45
|
+
context.config,
|
46
|
+
resource_arn: context.params[:global_table_name],
|
47
|
+
)
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
class CreateTable
|
52
|
+
def self.build(context)
|
53
|
+
Aws::DynamoDB::EndpointParameters.create(
|
54
|
+
context.config,
|
55
|
+
resource_arn: context.params[:table_name],
|
56
|
+
)
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
class DeleteBackup
|
61
|
+
def self.build(context)
|
62
|
+
Aws::DynamoDB::EndpointParameters.create(
|
63
|
+
context.config,
|
64
|
+
resource_arn: context.params[:backup_arn],
|
65
|
+
)
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
class DeleteItem
|
70
|
+
def self.build(context)
|
71
|
+
Aws::DynamoDB::EndpointParameters.create(
|
72
|
+
context.config,
|
73
|
+
resource_arn: context.params[:table_name],
|
74
|
+
)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
class DeleteResourcePolicy
|
79
|
+
def self.build(context)
|
80
|
+
Aws::DynamoDB::EndpointParameters.create(
|
81
|
+
context.config,
|
82
|
+
resource_arn: context.params[:resource_arn],
|
83
|
+
)
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
class DeleteTable
|
88
|
+
def self.build(context)
|
89
|
+
Aws::DynamoDB::EndpointParameters.create(
|
90
|
+
context.config,
|
91
|
+
resource_arn: context.params[:table_name],
|
92
|
+
)
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
class DescribeBackup
|
97
|
+
def self.build(context)
|
98
|
+
Aws::DynamoDB::EndpointParameters.create(
|
99
|
+
context.config,
|
100
|
+
resource_arn: context.params[:backup_arn],
|
101
|
+
)
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
class DescribeContinuousBackups
|
106
|
+
def self.build(context)
|
107
|
+
Aws::DynamoDB::EndpointParameters.create(
|
108
|
+
context.config,
|
109
|
+
resource_arn: context.params[:table_name],
|
110
|
+
)
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
class DescribeContributorInsights
|
115
|
+
def self.build(context)
|
116
|
+
Aws::DynamoDB::EndpointParameters.create(
|
117
|
+
context.config,
|
118
|
+
resource_arn: context.params[:table_name],
|
119
|
+
)
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
class DescribeExport
|
124
|
+
def self.build(context)
|
125
|
+
Aws::DynamoDB::EndpointParameters.create(
|
126
|
+
context.config,
|
127
|
+
resource_arn: context.params[:export_arn],
|
128
|
+
)
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
class DescribeGlobalTable
|
133
|
+
def self.build(context)
|
134
|
+
Aws::DynamoDB::EndpointParameters.create(
|
135
|
+
context.config,
|
136
|
+
resource_arn: context.params[:global_table_name],
|
137
|
+
)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
class DescribeGlobalTableSettings
|
142
|
+
def self.build(context)
|
143
|
+
Aws::DynamoDB::EndpointParameters.create(
|
144
|
+
context.config,
|
145
|
+
resource_arn: context.params[:global_table_name],
|
146
|
+
)
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
class DescribeImport
|
151
|
+
def self.build(context)
|
152
|
+
Aws::DynamoDB::EndpointParameters.create(
|
153
|
+
context.config,
|
154
|
+
resource_arn: context.params[:import_arn],
|
155
|
+
)
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
class DescribeKinesisStreamingDestination
|
160
|
+
def self.build(context)
|
161
|
+
Aws::DynamoDB::EndpointParameters.create(
|
162
|
+
context.config,
|
163
|
+
resource_arn: context.params[:table_name],
|
164
|
+
)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
class DescribeTable
|
169
|
+
def self.build(context)
|
170
|
+
Aws::DynamoDB::EndpointParameters.create(
|
171
|
+
context.config,
|
172
|
+
resource_arn: context.params[:table_name],
|
173
|
+
)
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
class DescribeTableReplicaAutoScaling
|
178
|
+
def self.build(context)
|
179
|
+
Aws::DynamoDB::EndpointParameters.create(
|
180
|
+
context.config,
|
181
|
+
resource_arn: context.params[:table_name],
|
182
|
+
)
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
class DescribeTimeToLive
|
187
|
+
def self.build(context)
|
188
|
+
Aws::DynamoDB::EndpointParameters.create(
|
189
|
+
context.config,
|
190
|
+
resource_arn: context.params[:table_name],
|
191
|
+
)
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
195
|
+
class DisableKinesisStreamingDestination
|
196
|
+
def self.build(context)
|
197
|
+
Aws::DynamoDB::EndpointParameters.create(
|
198
|
+
context.config,
|
199
|
+
resource_arn: context.params[:table_name],
|
200
|
+
)
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
class EnableKinesisStreamingDestination
|
205
|
+
def self.build(context)
|
206
|
+
Aws::DynamoDB::EndpointParameters.create(
|
207
|
+
context.config,
|
208
|
+
resource_arn: context.params[:table_name],
|
209
|
+
)
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
213
|
+
class ExportTableToPointInTime
|
214
|
+
def self.build(context)
|
215
|
+
Aws::DynamoDB::EndpointParameters.create(
|
216
|
+
context.config,
|
217
|
+
resource_arn: context.params[:table_arn],
|
218
|
+
)
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
222
|
+
class GetItem
|
223
|
+
def self.build(context)
|
224
|
+
Aws::DynamoDB::EndpointParameters.create(
|
225
|
+
context.config,
|
226
|
+
resource_arn: context.params[:table_name],
|
227
|
+
)
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
231
|
+
class GetResourcePolicy
|
232
|
+
def self.build(context)
|
233
|
+
Aws::DynamoDB::EndpointParameters.create(
|
234
|
+
context.config,
|
235
|
+
resource_arn: context.params[:resource_arn],
|
236
|
+
)
|
237
|
+
end
|
238
|
+
end
|
239
|
+
|
240
|
+
class ImportTable
|
241
|
+
def self.build(context)
|
242
|
+
Aws::DynamoDB::EndpointParameters.create(
|
243
|
+
context.config,
|
244
|
+
resource_arn: JMESPath.search("table_creation_parameters.table_name", context.params),
|
245
|
+
)
|
246
|
+
end
|
247
|
+
end
|
248
|
+
|
249
|
+
class ListBackups
|
250
|
+
def self.build(context)
|
251
|
+
Aws::DynamoDB::EndpointParameters.create(
|
252
|
+
context.config,
|
253
|
+
resource_arn: context.params[:table_name],
|
254
|
+
)
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
class ListContributorInsights
|
259
|
+
def self.build(context)
|
260
|
+
Aws::DynamoDB::EndpointParameters.create(
|
261
|
+
context.config,
|
262
|
+
resource_arn: context.params[:table_name],
|
263
|
+
)
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
class ListExports
|
268
|
+
def self.build(context)
|
269
|
+
Aws::DynamoDB::EndpointParameters.create(
|
270
|
+
context.config,
|
271
|
+
resource_arn: context.params[:table_arn],
|
272
|
+
)
|
273
|
+
end
|
274
|
+
end
|
275
|
+
|
276
|
+
class ListImports
|
277
|
+
def self.build(context)
|
278
|
+
Aws::DynamoDB::EndpointParameters.create(
|
279
|
+
context.config,
|
280
|
+
resource_arn: context.params[:table_arn],
|
281
|
+
)
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
class ListTagsOfResource
|
286
|
+
def self.build(context)
|
287
|
+
Aws::DynamoDB::EndpointParameters.create(
|
288
|
+
context.config,
|
289
|
+
resource_arn: context.params[:resource_arn],
|
290
|
+
)
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
class PutItem
|
295
|
+
def self.build(context)
|
296
|
+
Aws::DynamoDB::EndpointParameters.create(
|
297
|
+
context.config,
|
298
|
+
resource_arn: context.params[:table_name],
|
299
|
+
)
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
303
|
+
class PutResourcePolicy
|
304
|
+
def self.build(context)
|
305
|
+
Aws::DynamoDB::EndpointParameters.create(
|
306
|
+
context.config,
|
307
|
+
resource_arn: context.params[:resource_arn],
|
308
|
+
)
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
class Query
|
313
|
+
def self.build(context)
|
314
|
+
Aws::DynamoDB::EndpointParameters.create(
|
315
|
+
context.config,
|
316
|
+
resource_arn: context.params[:table_name],
|
317
|
+
)
|
318
|
+
end
|
319
|
+
end
|
320
|
+
|
321
|
+
class RestoreTableFromBackup
|
322
|
+
def self.build(context)
|
323
|
+
Aws::DynamoDB::EndpointParameters.create(
|
324
|
+
context.config,
|
325
|
+
resource_arn: context.params[:target_table_name],
|
326
|
+
)
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
class RestoreTableToPointInTime
|
331
|
+
def self.build(context)
|
332
|
+
Aws::DynamoDB::EndpointParameters.create(
|
333
|
+
context.config,
|
334
|
+
resource_arn: context.params[:target_table_name],
|
335
|
+
)
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
339
|
+
class Scan
|
340
|
+
def self.build(context)
|
341
|
+
Aws::DynamoDB::EndpointParameters.create(
|
342
|
+
context.config,
|
343
|
+
resource_arn: context.params[:table_name],
|
344
|
+
)
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
class TagResource
|
349
|
+
def self.build(context)
|
350
|
+
Aws::DynamoDB::EndpointParameters.create(
|
351
|
+
context.config,
|
352
|
+
resource_arn: context.params[:resource_arn],
|
353
|
+
)
|
354
|
+
end
|
355
|
+
end
|
356
|
+
|
357
|
+
class TransactGetItems
|
358
|
+
def self.build(context)
|
359
|
+
Aws::DynamoDB::EndpointParameters.create(
|
360
|
+
context.config,
|
361
|
+
resource_arn_list: JMESPath.search("transact_items[*].get.table_name", context.params),
|
362
|
+
)
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
366
|
+
class UntagResource
|
367
|
+
def self.build(context)
|
368
|
+
Aws::DynamoDB::EndpointParameters.create(
|
369
|
+
context.config,
|
370
|
+
resource_arn: context.params[:resource_arn],
|
371
|
+
)
|
372
|
+
end
|
373
|
+
end
|
374
|
+
|
375
|
+
class UpdateContinuousBackups
|
376
|
+
def self.build(context)
|
377
|
+
Aws::DynamoDB::EndpointParameters.create(
|
378
|
+
context.config,
|
379
|
+
resource_arn: context.params[:table_name],
|
380
|
+
)
|
381
|
+
end
|
382
|
+
end
|
383
|
+
|
384
|
+
class UpdateContributorInsights
|
385
|
+
def self.build(context)
|
386
|
+
Aws::DynamoDB::EndpointParameters.create(
|
387
|
+
context.config,
|
388
|
+
resource_arn: context.params[:table_name],
|
389
|
+
)
|
390
|
+
end
|
391
|
+
end
|
392
|
+
|
393
|
+
class UpdateGlobalTable
|
394
|
+
def self.build(context)
|
395
|
+
Aws::DynamoDB::EndpointParameters.create(
|
396
|
+
context.config,
|
397
|
+
resource_arn: context.params[:global_table_name],
|
398
|
+
)
|
399
|
+
end
|
400
|
+
end
|
401
|
+
|
402
|
+
class UpdateGlobalTableSettings
|
403
|
+
def self.build(context)
|
404
|
+
Aws::DynamoDB::EndpointParameters.create(
|
405
|
+
context.config,
|
406
|
+
resource_arn: context.params[:global_table_name],
|
407
|
+
)
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
411
|
+
class UpdateItem
|
412
|
+
def self.build(context)
|
413
|
+
Aws::DynamoDB::EndpointParameters.create(
|
414
|
+
context.config,
|
415
|
+
resource_arn: context.params[:table_name],
|
416
|
+
)
|
417
|
+
end
|
418
|
+
end
|
419
|
+
|
420
|
+
class UpdateKinesisStreamingDestination
|
421
|
+
def self.build(context)
|
422
|
+
Aws::DynamoDB::EndpointParameters.create(
|
423
|
+
context.config,
|
424
|
+
resource_arn: context.params[:table_name],
|
425
|
+
)
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
429
|
+
class UpdateTable
|
430
|
+
def self.build(context)
|
431
|
+
Aws::DynamoDB::EndpointParameters.create(
|
432
|
+
context.config,
|
433
|
+
resource_arn: context.params[:table_name],
|
434
|
+
)
|
435
|
+
end
|
436
|
+
end
|
437
|
+
|
438
|
+
class UpdateTableReplicaAutoScaling
|
439
|
+
def self.build(context)
|
440
|
+
Aws::DynamoDB::EndpointParameters.create(
|
441
|
+
context.config,
|
442
|
+
resource_arn: context.params[:table_name],
|
443
|
+
)
|
444
|
+
end
|
445
|
+
end
|
446
|
+
|
447
|
+
class UpdateTimeToLive
|
448
|
+
def self.build(context)
|
449
|
+
Aws::DynamoDB::EndpointParameters.create(
|
450
|
+
context.config,
|
451
|
+
resource_arn: context.params[:table_name],
|
452
|
+
)
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
15
456
|
|
16
457
|
def self.parameters_for_operation(context)
|
17
|
-
|
458
|
+
case context.operation_name
|
459
|
+
when :batch_get_item
|
460
|
+
BatchGetItem.build(context)
|
461
|
+
when :batch_write_item
|
462
|
+
BatchWriteItem.build(context)
|
463
|
+
when :create_backup
|
464
|
+
CreateBackup.build(context)
|
465
|
+
when :create_global_table
|
466
|
+
CreateGlobalTable.build(context)
|
467
|
+
when :create_table
|
468
|
+
CreateTable.build(context)
|
469
|
+
when :delete_backup
|
470
|
+
DeleteBackup.build(context)
|
471
|
+
when :delete_item
|
472
|
+
DeleteItem.build(context)
|
473
|
+
when :delete_resource_policy
|
474
|
+
DeleteResourcePolicy.build(context)
|
475
|
+
when :delete_table
|
476
|
+
DeleteTable.build(context)
|
477
|
+
when :describe_backup
|
478
|
+
DescribeBackup.build(context)
|
479
|
+
when :describe_continuous_backups
|
480
|
+
DescribeContinuousBackups.build(context)
|
481
|
+
when :describe_contributor_insights
|
482
|
+
DescribeContributorInsights.build(context)
|
483
|
+
when :describe_export
|
484
|
+
DescribeExport.build(context)
|
485
|
+
when :describe_global_table
|
486
|
+
DescribeGlobalTable.build(context)
|
487
|
+
when :describe_global_table_settings
|
488
|
+
DescribeGlobalTableSettings.build(context)
|
489
|
+
when :describe_import
|
490
|
+
DescribeImport.build(context)
|
491
|
+
when :describe_kinesis_streaming_destination
|
492
|
+
DescribeKinesisStreamingDestination.build(context)
|
493
|
+
when :describe_table
|
494
|
+
DescribeTable.build(context)
|
495
|
+
when :describe_table_replica_auto_scaling
|
496
|
+
DescribeTableReplicaAutoScaling.build(context)
|
497
|
+
when :describe_time_to_live
|
498
|
+
DescribeTimeToLive.build(context)
|
499
|
+
when :disable_kinesis_streaming_destination
|
500
|
+
DisableKinesisStreamingDestination.build(context)
|
501
|
+
when :enable_kinesis_streaming_destination
|
502
|
+
EnableKinesisStreamingDestination.build(context)
|
503
|
+
when :export_table_to_point_in_time
|
504
|
+
ExportTableToPointInTime.build(context)
|
505
|
+
when :get_item
|
506
|
+
GetItem.build(context)
|
507
|
+
when :get_resource_policy
|
508
|
+
GetResourcePolicy.build(context)
|
509
|
+
when :import_table
|
510
|
+
ImportTable.build(context)
|
511
|
+
when :list_backups
|
512
|
+
ListBackups.build(context)
|
513
|
+
when :list_contributor_insights
|
514
|
+
ListContributorInsights.build(context)
|
515
|
+
when :list_exports
|
516
|
+
ListExports.build(context)
|
517
|
+
when :list_imports
|
518
|
+
ListImports.build(context)
|
519
|
+
when :list_tags_of_resource
|
520
|
+
ListTagsOfResource.build(context)
|
521
|
+
when :put_item
|
522
|
+
PutItem.build(context)
|
523
|
+
when :put_resource_policy
|
524
|
+
PutResourcePolicy.build(context)
|
525
|
+
when :query
|
526
|
+
Query.build(context)
|
527
|
+
when :restore_table_from_backup
|
528
|
+
RestoreTableFromBackup.build(context)
|
529
|
+
when :restore_table_to_point_in_time
|
530
|
+
RestoreTableToPointInTime.build(context)
|
531
|
+
when :scan
|
532
|
+
Scan.build(context)
|
533
|
+
when :tag_resource
|
534
|
+
TagResource.build(context)
|
535
|
+
when :transact_get_items
|
536
|
+
TransactGetItems.build(context)
|
537
|
+
when :untag_resource
|
538
|
+
UntagResource.build(context)
|
539
|
+
when :update_continuous_backups
|
540
|
+
UpdateContinuousBackups.build(context)
|
541
|
+
when :update_contributor_insights
|
542
|
+
UpdateContributorInsights.build(context)
|
543
|
+
when :update_global_table
|
544
|
+
UpdateGlobalTable.build(context)
|
545
|
+
when :update_global_table_settings
|
546
|
+
UpdateGlobalTableSettings.build(context)
|
547
|
+
when :update_item
|
548
|
+
UpdateItem.build(context)
|
549
|
+
when :update_kinesis_streaming_destination
|
550
|
+
UpdateKinesisStreamingDestination.build(context)
|
551
|
+
when :update_table
|
552
|
+
UpdateTable.build(context)
|
553
|
+
when :update_table_replica_auto_scaling
|
554
|
+
UpdateTableReplicaAutoScaling.build(context)
|
555
|
+
when :update_time_to_live
|
556
|
+
UpdateTimeToLive.build(context)
|
557
|
+
else
|
558
|
+
Aws::DynamoDB::EndpointParameters.create(context.config)
|
559
|
+
end
|
18
560
|
end
|
19
561
|
end
|
20
562
|
end
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-dynamodb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.138.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|