aws-sdk-verifiedpermissions 1.51.0 → 1.52.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2705f8828eab0a0f389d2d5b392240fab6b703f41298896ba384257425f990fa
4
- data.tar.gz: 80c99ce04a5506a09c9ca703a024ab6eb0e6b0be817a9ecda1a190a153ffe233
3
+ metadata.gz: 7b043baa91a62b7f2071bc818c5154a6c2eecadf13410f8baa8591d1f949dc23
4
+ data.tar.gz: 9ea3abbb77cde8de61c65d83301caf2186ade704f248edc74d5db6c82c24bebb
5
5
  SHA512:
6
- metadata.gz: 523c9b264764f4cdb1ed12255a6d90b75c4b539e32922c7993260724079ba43330127f1f368f4ada9c24909db6c015654c6a5cd7e141a59c93f300835416448c
7
- data.tar.gz: cf1db372d85febb47fed11498c996755619e1808cc1604bbd3f79becad62c71cf8aa808f0f353bdcc52be144a4b798d6793f808ca9cf7540b9879b66e23f1d61
6
+ metadata.gz: a46543bd0787510cc20442d1a378648693891e6b4c8c263a688f66ae63f29703d9bc8cbff5535b26979e0c0d0a74826699580a53a551046dbe42420d7c0f9345
7
+ data.tar.gz: 5e2abfdf7efd2a93c9a3018058f20fef695e522512fe3bda8da339fb7d2984f3051d3ce0e3b09b686cefc3725335f9f9c6f57d1d5b3577f067bad6a5ebc8e09e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.52.0 (2025-09-04)
5
+ ------------------
6
+
7
+ * Feature - Amazon Verified Permissions / Features : Adds support for datetime and duration attribute values.
8
+
4
9
  1.51.0 (2025-08-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.51.0
1
+ 1.52.0
@@ -4014,7 +4014,7 @@ module Aws::VerifiedPermissions
4014
4014
  tracer: tracer
4015
4015
  )
4016
4016
  context[:gem_name] = 'aws-sdk-verifiedpermissions'
4017
- context[:gem_version] = '1.51.0'
4017
+ context[:gem_version] = '1.52.0'
4018
4018
  Seahorse::Client::Request.new(handlers, context)
4019
4019
  end
4020
4020
 
@@ -71,6 +71,7 @@ module Aws::VerifiedPermissions
71
71
  CreatePolicyStoreOutput = Shapes::StructureShape.new(name: 'CreatePolicyStoreOutput')
72
72
  CreatePolicyTemplateInput = Shapes::StructureShape.new(name: 'CreatePolicyTemplateInput')
73
73
  CreatePolicyTemplateOutput = Shapes::StructureShape.new(name: 'CreatePolicyTemplateOutput')
74
+ DatetimeAttribute = Shapes::StringShape.new(name: 'DatetimeAttribute')
74
75
  Decimal = Shapes::StringShape.new(name: 'Decimal')
75
76
  Decision = Shapes::StringShape.new(name: 'Decision')
76
77
  DeleteIdentitySourceInput = Shapes::StructureShape.new(name: 'DeleteIdentitySourceInput')
@@ -85,6 +86,7 @@ module Aws::VerifiedPermissions
85
86
  DeterminingPolicyItem = Shapes::StructureShape.new(name: 'DeterminingPolicyItem')
86
87
  DeterminingPolicyList = Shapes::ListShape.new(name: 'DeterminingPolicyList')
87
88
  DiscoveryUrl = Shapes::StringShape.new(name: 'DiscoveryUrl')
89
+ Duration = Shapes::StringShape.new(name: 'Duration')
88
90
  EntitiesDefinition = Shapes::UnionShape.new(name: 'EntitiesDefinition')
89
91
  EntityAttributes = Shapes::MapShape.new(name: 'EntityAttributes')
90
92
  EntityId = Shapes::StringShape.new(name: 'EntityId')
@@ -250,6 +252,8 @@ module Aws::VerifiedPermissions
250
252
  AttributeValue.add_member(:record, Shapes::ShapeRef.new(shape: RecordAttribute, location_name: "record"))
251
253
  AttributeValue.add_member(:ipaddr, Shapes::ShapeRef.new(shape: IpAddr, location_name: "ipaddr"))
252
254
  AttributeValue.add_member(:decimal, Shapes::ShapeRef.new(shape: Decimal, location_name: "decimal"))
255
+ AttributeValue.add_member(:datetime, Shapes::ShapeRef.new(shape: DatetimeAttribute, location_name: "datetime"))
256
+ AttributeValue.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "duration"))
253
257
  AttributeValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
254
258
  AttributeValue.add_member_subclass(:boolean, Types::AttributeValue::Boolean)
255
259
  AttributeValue.add_member_subclass(:entity_identifier, Types::AttributeValue::EntityIdentifier)
@@ -259,6 +263,8 @@ module Aws::VerifiedPermissions
259
263
  AttributeValue.add_member_subclass(:record, Types::AttributeValue::Record)
260
264
  AttributeValue.add_member_subclass(:ipaddr, Types::AttributeValue::Ipaddr)
261
265
  AttributeValue.add_member_subclass(:decimal, Types::AttributeValue::Decimal)
266
+ AttributeValue.add_member_subclass(:datetime, Types::AttributeValue::Datetime)
267
+ AttributeValue.add_member_subclass(:duration, Types::AttributeValue::Duration)
262
268
  AttributeValue.add_member_subclass(:unknown, Types::AttributeValue::Unknown)
263
269
  AttributeValue.struct_class = Types::AttributeValue
264
270
 
@@ -157,6 +157,26 @@ module Aws::VerifiedPermissions
157
157
  # [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-decimal
158
158
  # @return [String]
159
159
  #
160
+ # @!attribute [rw] datetime
161
+ # An attribute value of [datetime][1] type.
162
+ #
163
+ # Example: `{"datetime": "2024-10-15T11:35:00Z"}`
164
+ #
165
+ #
166
+ #
167
+ # [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-datetime
168
+ # @return [String]
169
+ #
170
+ # @!attribute [rw] duration
171
+ # An attribute value of [duration][1] type.
172
+ #
173
+ # Example: `{"duration": "1h30m"}`
174
+ #
175
+ #
176
+ #
177
+ # [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-duration
178
+ # @return [String]
179
+ #
160
180
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/AttributeValue AWS API Documentation
161
181
  #
162
182
  class AttributeValue < Struct.new(
@@ -168,8 +188,10 @@ module Aws::VerifiedPermissions
168
188
  :record,
169
189
  :ipaddr,
170
190
  :decimal,
191
+ :datetime,
192
+ :duration,
171
193
  :unknown)
172
- SENSITIVE = [:boolean, :long, :string, :ipaddr, :decimal]
194
+ SENSITIVE = [:boolean, :long, :string, :ipaddr, :decimal, :datetime, :duration]
173
195
  include Aws::Structure
174
196
  include Aws::Structure::Union
175
197
 
@@ -181,6 +203,8 @@ module Aws::VerifiedPermissions
181
203
  class Record < AttributeValue; end
182
204
  class Ipaddr < AttributeValue; end
183
205
  class Decimal < AttributeValue; end
206
+ class Datetime < AttributeValue; end
207
+ class Duration < AttributeValue; end
184
208
  class Unknown < AttributeValue; end
185
209
  end
186
210
 
@@ -3970,8 +3994,6 @@ module Aws::VerifiedPermissions
3970
3994
  # Contains information about a policy created by instantiating a policy
3971
3995
  # template.
3972
3996
  #
3973
- # This
3974
- #
3975
3997
  # @!attribute [rw] policy_template_id
3976
3998
  # The unique identifier of the policy template used to create this
3977
3999
  # policy.
@@ -55,7 +55,7 @@ module Aws::VerifiedPermissions
55
55
  autoload :EndpointProvider, 'aws-sdk-verifiedpermissions/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-verifiedpermissions/endpoints'
57
57
 
58
- GEM_VERSION = '1.51.0'
58
+ GEM_VERSION = '1.52.0'
59
59
 
60
60
  end
61
61
 
data/sig/types.rbs CHANGED
@@ -28,8 +28,10 @@ module Aws::VerifiedPermissions
28
28
  attr_accessor record: ::Hash[::String, Types::AttributeValue]
29
29
  attr_accessor ipaddr: ::String
30
30
  attr_accessor decimal: ::String
31
+ attr_accessor datetime: ::String
32
+ attr_accessor duration: ::String
31
33
  attr_accessor unknown: untyped
32
- SENSITIVE: [:boolean, :long, :string, :ipaddr, :decimal]
34
+ SENSITIVE: [:boolean, :long, :string, :ipaddr, :decimal, :datetime, :duration]
33
35
 
34
36
  class Boolean < AttributeValue
35
37
  end
@@ -47,6 +49,10 @@ module Aws::VerifiedPermissions
47
49
  end
48
50
  class Decimal < AttributeValue
49
51
  end
52
+ class Datetime < AttributeValue
53
+ end
54
+ class Duration < AttributeValue
55
+ end
50
56
  class Unknown < AttributeValue
51
57
  end
52
58
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-verifiedpermissions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.51.0
4
+ version: 1.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services