aws-sdk-dynamodb 1.104.0 → 1.106.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +372 -99
- data/lib/aws-sdk-dynamodb/client_api.rb +114 -34
- data/lib/aws-sdk-dynamodb/endpoints.rb +42 -0
- data/lib/aws-sdk-dynamodb/errors.rb +16 -0
- data/lib/aws-sdk-dynamodb/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-dynamodb/resource.rb +29 -10
- data/lib/aws-sdk-dynamodb/table.rb +1 -1
- data/lib/aws-sdk-dynamodb/types.rb +282 -46
- data/lib/aws-sdk-dynamodb.rb +1 -1
- data/sig/client.rbs +37 -1
- data/sig/errors.rbs +3 -0
- data/sig/resource.rbs +2 -1
- data/sig/types.rbs +41 -0
- metadata +2 -2
data/sig/client.rbs
CHANGED
@@ -238,7 +238,8 @@ module Aws
|
|
238
238
|
},
|
239
239
|
],
|
240
240
|
?table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS"),
|
241
|
-
?deletion_protection_enabled: bool
|
241
|
+
?deletion_protection_enabled: bool,
|
242
|
+
?resource_policy: ::String
|
242
243
|
) -> _CreateTableResponseSuccess
|
243
244
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTableResponseSuccess
|
244
245
|
|
@@ -279,6 +280,17 @@ module Aws
|
|
279
280
|
) -> _DeleteItemResponseSuccess
|
280
281
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteItemResponseSuccess
|
281
282
|
|
283
|
+
interface _DeleteResourcePolicyResponseSuccess
|
284
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourcePolicyOutput]
|
285
|
+
def revision_id: () -> ::String
|
286
|
+
end
|
287
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#delete_resource_policy-instance_method
|
288
|
+
def delete_resource_policy: (
|
289
|
+
resource_arn: ::String,
|
290
|
+
?expected_revision_id: ::String
|
291
|
+
) -> _DeleteResourcePolicyResponseSuccess
|
292
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
|
293
|
+
|
282
294
|
interface _DeleteTableResponseSuccess
|
283
295
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTableOutput]
|
284
296
|
def table_description: () -> Types::TableDescription
|
@@ -541,6 +553,17 @@ module Aws
|
|
541
553
|
) -> _GetItemResponseSuccess
|
542
554
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetItemResponseSuccess
|
543
555
|
|
556
|
+
interface _GetResourcePolicyResponseSuccess
|
557
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyOutput]
|
558
|
+
def policy: () -> ::String
|
559
|
+
def revision_id: () -> ::String
|
560
|
+
end
|
561
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#get_resource_policy-instance_method
|
562
|
+
def get_resource_policy: (
|
563
|
+
resource_arn: ::String
|
564
|
+
) -> _GetResourcePolicyResponseSuccess
|
565
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
|
566
|
+
|
544
567
|
interface _ImportTableResponseSuccess
|
545
568
|
include ::Seahorse::Client::_ResponseSuccess[Types::ImportTableOutput]
|
546
569
|
def import_table_description: () -> Types::ImportTableDescription
|
@@ -727,6 +750,19 @@ module Aws
|
|
727
750
|
) -> _PutItemResponseSuccess
|
728
751
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutItemResponseSuccess
|
729
752
|
|
753
|
+
interface _PutResourcePolicyResponseSuccess
|
754
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyOutput]
|
755
|
+
def revision_id: () -> ::String
|
756
|
+
end
|
757
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#put_resource_policy-instance_method
|
758
|
+
def put_resource_policy: (
|
759
|
+
resource_arn: ::String,
|
760
|
+
policy: ::String,
|
761
|
+
?expected_revision_id: ::String,
|
762
|
+
?confirm_remove_self_resource_access: bool
|
763
|
+
) -> _PutResourcePolicyResponseSuccess
|
764
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
|
765
|
+
|
730
766
|
interface _QueryResponseSuccess
|
731
767
|
include ::Seahorse::Client::_ResponseSuccess[Types::QueryOutput]
|
732
768
|
def items: () -> ::Array[::Hash[::String, Types::AttributeValue]]
|
data/sig/errors.rbs
CHANGED
@@ -69,6 +69,9 @@ module Aws
|
|
69
69
|
class PointInTimeRecoveryUnavailableException < ::Aws::Errors::ServiceError
|
70
70
|
def message: () -> ::String
|
71
71
|
end
|
72
|
+
class PolicyNotFoundException < ::Aws::Errors::ServiceError
|
73
|
+
def message: () -> ::String
|
74
|
+
end
|
72
75
|
class ProvisionedThroughputExceededException < ::Aws::Errors::ServiceError
|
73
76
|
def message: () -> ::String
|
74
77
|
end
|
data/sig/resource.rbs
CHANGED
@@ -179,7 +179,8 @@ module Aws
|
|
179
179
|
},
|
180
180
|
],
|
181
181
|
?table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS"),
|
182
|
-
?deletion_protection_enabled: bool
|
182
|
+
?deletion_protection_enabled: bool,
|
183
|
+
?resource_policy: ::String
|
183
184
|
) -> Table
|
184
185
|
| (?Hash[Symbol, untyped]) -> Table
|
185
186
|
|
data/sig/types.rbs
CHANGED
@@ -318,6 +318,7 @@ module Aws::DynamoDB
|
|
318
318
|
attr_accessor tags: ::Array[Types::Tag]
|
319
319
|
attr_accessor table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS")
|
320
320
|
attr_accessor deletion_protection_enabled: bool
|
321
|
+
attr_accessor resource_policy: ::String
|
321
322
|
SENSITIVE: []
|
322
323
|
end
|
323
324
|
|
@@ -394,6 +395,17 @@ module Aws::DynamoDB
|
|
394
395
|
SENSITIVE: []
|
395
396
|
end
|
396
397
|
|
398
|
+
class DeleteResourcePolicyInput
|
399
|
+
attr_accessor resource_arn: ::String
|
400
|
+
attr_accessor expected_revision_id: ::String
|
401
|
+
SENSITIVE: []
|
402
|
+
end
|
403
|
+
|
404
|
+
class DeleteResourcePolicyOutput
|
405
|
+
attr_accessor revision_id: ::String
|
406
|
+
SENSITIVE: []
|
407
|
+
end
|
408
|
+
|
397
409
|
class DeleteTableInput
|
398
410
|
attr_accessor table_name: ::String
|
399
411
|
SENSITIVE: []
|
@@ -690,6 +702,17 @@ module Aws::DynamoDB
|
|
690
702
|
SENSITIVE: []
|
691
703
|
end
|
692
704
|
|
705
|
+
class GetResourcePolicyInput
|
706
|
+
attr_accessor resource_arn: ::String
|
707
|
+
SENSITIVE: []
|
708
|
+
end
|
709
|
+
|
710
|
+
class GetResourcePolicyOutput
|
711
|
+
attr_accessor policy: ::String
|
712
|
+
attr_accessor revision_id: ::String
|
713
|
+
SENSITIVE: []
|
714
|
+
end
|
715
|
+
|
693
716
|
class GlobalSecondaryIndex
|
694
717
|
attr_accessor index_name: ::String
|
695
718
|
attr_accessor key_schema: ::Array[Types::KeySchemaElement]
|
@@ -1060,6 +1083,11 @@ module Aws::DynamoDB
|
|
1060
1083
|
SENSITIVE: []
|
1061
1084
|
end
|
1062
1085
|
|
1086
|
+
class PolicyNotFoundException
|
1087
|
+
attr_accessor message: ::String
|
1088
|
+
SENSITIVE: []
|
1089
|
+
end
|
1090
|
+
|
1063
1091
|
class Projection
|
1064
1092
|
attr_accessor projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")
|
1065
1093
|
attr_accessor non_key_attributes: ::Array[::String]
|
@@ -1128,6 +1156,19 @@ module Aws::DynamoDB
|
|
1128
1156
|
SENSITIVE: []
|
1129
1157
|
end
|
1130
1158
|
|
1159
|
+
class PutResourcePolicyInput
|
1160
|
+
attr_accessor resource_arn: ::String
|
1161
|
+
attr_accessor policy: ::String
|
1162
|
+
attr_accessor expected_revision_id: ::String
|
1163
|
+
attr_accessor confirm_remove_self_resource_access: bool
|
1164
|
+
SENSITIVE: []
|
1165
|
+
end
|
1166
|
+
|
1167
|
+
class PutResourcePolicyOutput
|
1168
|
+
attr_accessor revision_id: ::String
|
1169
|
+
SENSITIVE: []
|
1170
|
+
end
|
1171
|
+
|
1131
1172
|
class QueryInput
|
1132
1173
|
attr_accessor table_name: ::String
|
1133
1174
|
attr_accessor index_name: ::String
|
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.106.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: 2024-
|
11
|
+
date: 2024-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|