aws-sdk-verifiedpermissions 1.54.0 → 1.55.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-verifiedpermissions/client.rb +101 -1
- data/lib/aws-sdk-verifiedpermissions/client_api.rb +37 -0
- data/lib/aws-sdk-verifiedpermissions/types.rb +163 -9
- data/lib/aws-sdk-verifiedpermissions.rb +1 -1
- data/sig/client.rbs +72 -4
- data/sig/types.rbs +39 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dc95a4f663b1c9c83350d35e46ea3442ed6a42021a206e802d5c4e9838fb70d1
|
|
4
|
+
data.tar.gz: 8f6290151baaef95d083b785f6437004ab8b29124541efd5486207838f6886f7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 466dec00290dd4c41bd30c636a4045a547efc04ec6b00ed39b7616dba567b9a5cb5601f1827ff15df8f5bb36fcaca98538ad7bd4ac907814e4605645df9cc18a
|
|
7
|
+
data.tar.gz: baf6495005b9e7359b7d128dbd71d029f9a7976ecc46ac6d859aa1a4a2062a04b84f71638d7e6d27cebe4a13f746086204cb8d886a5687d852f43aabd667fa05
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.55.0
|
|
@@ -848,6 +848,31 @@ module Aws::VerifiedPermissions
|
|
|
848
848
|
# entity_id: "EntityId", # required
|
|
849
849
|
# },
|
|
850
850
|
# ],
|
|
851
|
+
# tags: {
|
|
852
|
+
# "String" => {
|
|
853
|
+
# boolean: false,
|
|
854
|
+
# entity_identifier: {
|
|
855
|
+
# entity_type: "EntityType", # required
|
|
856
|
+
# entity_id: "EntityId", # required
|
|
857
|
+
# },
|
|
858
|
+
# long: 1,
|
|
859
|
+
# string: "StringAttribute",
|
|
860
|
+
# set: [
|
|
861
|
+
# {
|
|
862
|
+
# # recursive CedarTagValue
|
|
863
|
+
# },
|
|
864
|
+
# ],
|
|
865
|
+
# record: {
|
|
866
|
+
# "String" => {
|
|
867
|
+
# # recursive CedarTagValue
|
|
868
|
+
# },
|
|
869
|
+
# },
|
|
870
|
+
# ipaddr: "IpAddr",
|
|
871
|
+
# decimal: "Decimal",
|
|
872
|
+
# datetime: "DatetimeAttribute",
|
|
873
|
+
# duration: "Duration",
|
|
874
|
+
# },
|
|
875
|
+
# },
|
|
851
876
|
# },
|
|
852
877
|
# ],
|
|
853
878
|
# cedar_json: "CedarJson",
|
|
@@ -1142,6 +1167,31 @@ module Aws::VerifiedPermissions
|
|
|
1142
1167
|
# entity_id: "EntityId", # required
|
|
1143
1168
|
# },
|
|
1144
1169
|
# ],
|
|
1170
|
+
# tags: {
|
|
1171
|
+
# "String" => {
|
|
1172
|
+
# boolean: false,
|
|
1173
|
+
# entity_identifier: {
|
|
1174
|
+
# entity_type: "EntityType", # required
|
|
1175
|
+
# entity_id: "EntityId", # required
|
|
1176
|
+
# },
|
|
1177
|
+
# long: 1,
|
|
1178
|
+
# string: "StringAttribute",
|
|
1179
|
+
# set: [
|
|
1180
|
+
# {
|
|
1181
|
+
# # recursive CedarTagValue
|
|
1182
|
+
# },
|
|
1183
|
+
# ],
|
|
1184
|
+
# record: {
|
|
1185
|
+
# "String" => {
|
|
1186
|
+
# # recursive CedarTagValue
|
|
1187
|
+
# },
|
|
1188
|
+
# },
|
|
1189
|
+
# ipaddr: "IpAddr",
|
|
1190
|
+
# decimal: "Decimal",
|
|
1191
|
+
# datetime: "DatetimeAttribute",
|
|
1192
|
+
# duration: "Duration",
|
|
1193
|
+
# },
|
|
1194
|
+
# },
|
|
1145
1195
|
# },
|
|
1146
1196
|
# ],
|
|
1147
1197
|
# cedar_json: "CedarJson",
|
|
@@ -2547,6 +2597,31 @@ module Aws::VerifiedPermissions
|
|
|
2547
2597
|
# entity_id: "EntityId", # required
|
|
2548
2598
|
# },
|
|
2549
2599
|
# ],
|
|
2600
|
+
# tags: {
|
|
2601
|
+
# "String" => {
|
|
2602
|
+
# boolean: false,
|
|
2603
|
+
# entity_identifier: {
|
|
2604
|
+
# entity_type: "EntityType", # required
|
|
2605
|
+
# entity_id: "EntityId", # required
|
|
2606
|
+
# },
|
|
2607
|
+
# long: 1,
|
|
2608
|
+
# string: "StringAttribute",
|
|
2609
|
+
# set: [
|
|
2610
|
+
# {
|
|
2611
|
+
# # recursive CedarTagValue
|
|
2612
|
+
# },
|
|
2613
|
+
# ],
|
|
2614
|
+
# record: {
|
|
2615
|
+
# "String" => {
|
|
2616
|
+
# # recursive CedarTagValue
|
|
2617
|
+
# },
|
|
2618
|
+
# },
|
|
2619
|
+
# ipaddr: "IpAddr",
|
|
2620
|
+
# decimal: "Decimal",
|
|
2621
|
+
# datetime: "DatetimeAttribute",
|
|
2622
|
+
# duration: "Duration",
|
|
2623
|
+
# },
|
|
2624
|
+
# },
|
|
2550
2625
|
# },
|
|
2551
2626
|
# ],
|
|
2552
2627
|
# cedar_json: "CedarJson",
|
|
@@ -2726,6 +2801,31 @@ module Aws::VerifiedPermissions
|
|
|
2726
2801
|
# entity_id: "EntityId", # required
|
|
2727
2802
|
# },
|
|
2728
2803
|
# ],
|
|
2804
|
+
# tags: {
|
|
2805
|
+
# "String" => {
|
|
2806
|
+
# boolean: false,
|
|
2807
|
+
# entity_identifier: {
|
|
2808
|
+
# entity_type: "EntityType", # required
|
|
2809
|
+
# entity_id: "EntityId", # required
|
|
2810
|
+
# },
|
|
2811
|
+
# long: 1,
|
|
2812
|
+
# string: "StringAttribute",
|
|
2813
|
+
# set: [
|
|
2814
|
+
# {
|
|
2815
|
+
# # recursive CedarTagValue
|
|
2816
|
+
# },
|
|
2817
|
+
# ],
|
|
2818
|
+
# record: {
|
|
2819
|
+
# "String" => {
|
|
2820
|
+
# # recursive CedarTagValue
|
|
2821
|
+
# },
|
|
2822
|
+
# },
|
|
2823
|
+
# ipaddr: "IpAddr",
|
|
2824
|
+
# decimal: "Decimal",
|
|
2825
|
+
# datetime: "DatetimeAttribute",
|
|
2826
|
+
# duration: "Duration",
|
|
2827
|
+
# },
|
|
2828
|
+
# },
|
|
2729
2829
|
# },
|
|
2730
2830
|
# ],
|
|
2731
2831
|
# cedar_json: "CedarJson",
|
|
@@ -4014,7 +4114,7 @@ module Aws::VerifiedPermissions
|
|
|
4014
4114
|
tracer: tracer
|
|
4015
4115
|
)
|
|
4016
4116
|
context[:gem_name] = 'aws-sdk-verifiedpermissions'
|
|
4017
|
-
context[:gem_version] = '1.
|
|
4117
|
+
context[:gem_version] = '1.55.0'
|
|
4018
4118
|
Seahorse::Client::Request.new(handlers, context)
|
|
4019
4119
|
end
|
|
4020
4120
|
|
|
@@ -47,6 +47,9 @@ module Aws::VerifiedPermissions
|
|
|
47
47
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
48
48
|
BooleanAttribute = Shapes::BooleanShape.new(name: 'BooleanAttribute')
|
|
49
49
|
CedarJson = Shapes::StringShape.new(name: 'CedarJson')
|
|
50
|
+
CedarTagRecordAttribute = Shapes::MapShape.new(name: 'CedarTagRecordAttribute')
|
|
51
|
+
CedarTagSetAttribute = Shapes::ListShape.new(name: 'CedarTagSetAttribute')
|
|
52
|
+
CedarTagValue = Shapes::UnionShape.new(name: 'CedarTagValue')
|
|
50
53
|
CedarVersion = Shapes::StringShape.new(name: 'CedarVersion')
|
|
51
54
|
Claim = Shapes::StringShape.new(name: 'Claim')
|
|
52
55
|
ClientId = Shapes::StringShape.new(name: 'ClientId')
|
|
@@ -89,6 +92,7 @@ module Aws::VerifiedPermissions
|
|
|
89
92
|
Duration = Shapes::StringShape.new(name: 'Duration')
|
|
90
93
|
EntitiesDefinition = Shapes::UnionShape.new(name: 'EntitiesDefinition')
|
|
91
94
|
EntityAttributes = Shapes::MapShape.new(name: 'EntityAttributes')
|
|
95
|
+
EntityCedarTags = Shapes::MapShape.new(name: 'EntityCedarTags')
|
|
92
96
|
EntityId = Shapes::StringShape.new(name: 'EntityId')
|
|
93
97
|
EntityIdPrefix = Shapes::StringShape.new(name: 'EntityIdPrefix')
|
|
94
98
|
EntityIdentifier = Shapes::StructureShape.new(name: 'EntityIdentifier')
|
|
@@ -351,6 +355,35 @@ module Aws::VerifiedPermissions
|
|
|
351
355
|
|
|
352
356
|
BatchIsAuthorizedWithTokenOutputList.member = Shapes::ShapeRef.new(shape: BatchIsAuthorizedWithTokenOutputItem)
|
|
353
357
|
|
|
358
|
+
CedarTagRecordAttribute.key = Shapes::ShapeRef.new(shape: String)
|
|
359
|
+
CedarTagRecordAttribute.value = Shapes::ShapeRef.new(shape: CedarTagValue)
|
|
360
|
+
|
|
361
|
+
CedarTagSetAttribute.member = Shapes::ShapeRef.new(shape: CedarTagValue)
|
|
362
|
+
|
|
363
|
+
CedarTagValue.add_member(:boolean, Shapes::ShapeRef.new(shape: BooleanAttribute, location_name: "boolean"))
|
|
364
|
+
CedarTagValue.add_member(:entity_identifier, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "entityIdentifier"))
|
|
365
|
+
CedarTagValue.add_member(:long, Shapes::ShapeRef.new(shape: LongAttribute, location_name: "long"))
|
|
366
|
+
CedarTagValue.add_member(:string, Shapes::ShapeRef.new(shape: StringAttribute, location_name: "string"))
|
|
367
|
+
CedarTagValue.add_member(:set, Shapes::ShapeRef.new(shape: CedarTagSetAttribute, location_name: "set"))
|
|
368
|
+
CedarTagValue.add_member(:record, Shapes::ShapeRef.new(shape: CedarTagRecordAttribute, location_name: "record"))
|
|
369
|
+
CedarTagValue.add_member(:ipaddr, Shapes::ShapeRef.new(shape: IpAddr, location_name: "ipaddr"))
|
|
370
|
+
CedarTagValue.add_member(:decimal, Shapes::ShapeRef.new(shape: Decimal, location_name: "decimal"))
|
|
371
|
+
CedarTagValue.add_member(:datetime, Shapes::ShapeRef.new(shape: DatetimeAttribute, location_name: "datetime"))
|
|
372
|
+
CedarTagValue.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "duration"))
|
|
373
|
+
CedarTagValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
374
|
+
CedarTagValue.add_member_subclass(:boolean, Types::CedarTagValue::Boolean)
|
|
375
|
+
CedarTagValue.add_member_subclass(:entity_identifier, Types::CedarTagValue::EntityIdentifier)
|
|
376
|
+
CedarTagValue.add_member_subclass(:long, Types::CedarTagValue::Long)
|
|
377
|
+
CedarTagValue.add_member_subclass(:string, Types::CedarTagValue::String)
|
|
378
|
+
CedarTagValue.add_member_subclass(:set, Types::CedarTagValue::Set)
|
|
379
|
+
CedarTagValue.add_member_subclass(:record, Types::CedarTagValue::Record)
|
|
380
|
+
CedarTagValue.add_member_subclass(:ipaddr, Types::CedarTagValue::Ipaddr)
|
|
381
|
+
CedarTagValue.add_member_subclass(:decimal, Types::CedarTagValue::Decimal)
|
|
382
|
+
CedarTagValue.add_member_subclass(:datetime, Types::CedarTagValue::Datetime)
|
|
383
|
+
CedarTagValue.add_member_subclass(:duration, Types::CedarTagValue::Duration)
|
|
384
|
+
CedarTagValue.add_member_subclass(:unknown, Types::CedarTagValue::Unknown)
|
|
385
|
+
CedarTagValue.struct_class = Types::CedarTagValue
|
|
386
|
+
|
|
354
387
|
ClientIds.member = Shapes::ShapeRef.new(shape: ClientId)
|
|
355
388
|
|
|
356
389
|
CognitoGroupConfiguration.add_member(:group_entity_type, Shapes::ShapeRef.new(shape: GroupEntityType, required: true, location_name: "groupEntityType"))
|
|
@@ -510,6 +543,9 @@ module Aws::VerifiedPermissions
|
|
|
510
543
|
EntityAttributes.key = Shapes::ShapeRef.new(shape: String)
|
|
511
544
|
EntityAttributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
|
|
512
545
|
|
|
546
|
+
EntityCedarTags.key = Shapes::ShapeRef.new(shape: String)
|
|
547
|
+
EntityCedarTags.value = Shapes::ShapeRef.new(shape: CedarTagValue)
|
|
548
|
+
|
|
513
549
|
EntityIdentifier.add_member(:entity_type, Shapes::ShapeRef.new(shape: EntityType, required: true, location_name: "entityType"))
|
|
514
550
|
EntityIdentifier.add_member(:entity_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "entityId"))
|
|
515
551
|
EntityIdentifier.struct_class = Types::EntityIdentifier
|
|
@@ -517,6 +553,7 @@ module Aws::VerifiedPermissions
|
|
|
517
553
|
EntityItem.add_member(:identifier, Shapes::ShapeRef.new(shape: EntityIdentifier, required: true, location_name: "identifier"))
|
|
518
554
|
EntityItem.add_member(:attributes, Shapes::ShapeRef.new(shape: EntityAttributes, location_name: "attributes"))
|
|
519
555
|
EntityItem.add_member(:parents, Shapes::ShapeRef.new(shape: ParentList, location_name: "parents"))
|
|
556
|
+
EntityItem.add_member(:tags, Shapes::ShapeRef.new(shape: EntityCedarTags, location_name: "tags"))
|
|
520
557
|
EntityItem.struct_class = Types::EntityItem
|
|
521
558
|
|
|
522
559
|
EntityList.member = Shapes::ShapeRef.new(shape: EntityItem)
|
|
@@ -61,7 +61,7 @@ module Aws::VerifiedPermissions
|
|
|
61
61
|
# an authorization decision is made.
|
|
62
62
|
#
|
|
63
63
|
# This data type is used as a member of the [ContextDefinition][1]
|
|
64
|
-
# structure which is
|
|
64
|
+
# structure which is used as a request parameter for the
|
|
65
65
|
# [IsAuthorized][2], [BatchIsAuthorized][3], and
|
|
66
66
|
# [IsAuthorizedWithToken][4] operations.
|
|
67
67
|
#
|
|
@@ -83,14 +83,14 @@ module Aws::VerifiedPermissions
|
|
|
83
83
|
#
|
|
84
84
|
#
|
|
85
85
|
#
|
|
86
|
-
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#
|
|
86
|
+
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-bool
|
|
87
87
|
# @return [Boolean]
|
|
88
88
|
#
|
|
89
89
|
# @!attribute [rw] entity_identifier
|
|
90
90
|
# An attribute value of type [EntityIdentifier][1].
|
|
91
91
|
#
|
|
92
|
-
# Example: `"entityIdentifier": { "entityId": "
|
|
93
|
-
# "
|
|
92
|
+
# Example: `{"entityIdentifier": { "entityId": "alice", "entityType":
|
|
93
|
+
# "User"} }`
|
|
94
94
|
#
|
|
95
95
|
#
|
|
96
96
|
#
|
|
@@ -104,7 +104,7 @@ module Aws::VerifiedPermissions
|
|
|
104
104
|
#
|
|
105
105
|
#
|
|
106
106
|
#
|
|
107
|
-
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#long
|
|
107
|
+
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-long
|
|
108
108
|
# @return [Integer]
|
|
109
109
|
#
|
|
110
110
|
# @!attribute [rw] string
|
|
@@ -114,7 +114,7 @@ module Aws::VerifiedPermissions
|
|
|
114
114
|
#
|
|
115
115
|
#
|
|
116
116
|
#
|
|
117
|
-
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#string
|
|
117
|
+
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-string
|
|
118
118
|
# @return [String]
|
|
119
119
|
#
|
|
120
120
|
# @!attribute [rw] set
|
|
@@ -124,7 +124,7 @@ module Aws::VerifiedPermissions
|
|
|
124
124
|
#
|
|
125
125
|
#
|
|
126
126
|
#
|
|
127
|
-
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#set
|
|
127
|
+
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-set
|
|
128
128
|
# @return [Array<Types::AttributeValue>]
|
|
129
129
|
#
|
|
130
130
|
# @!attribute [rw] record
|
|
@@ -134,7 +134,7 @@ module Aws::VerifiedPermissions
|
|
|
134
134
|
#
|
|
135
135
|
#
|
|
136
136
|
#
|
|
137
|
-
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#record
|
|
137
|
+
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-record
|
|
138
138
|
# @return [Hash<String,Types::AttributeValue>]
|
|
139
139
|
#
|
|
140
140
|
# @!attribute [rw] ipaddr
|
|
@@ -608,6 +608,155 @@ module Aws::VerifiedPermissions
|
|
|
608
608
|
include Aws::Structure
|
|
609
609
|
end
|
|
610
610
|
|
|
611
|
+
# The value of an entity's Cedar tag.
|
|
612
|
+
#
|
|
613
|
+
# This data type is used as a member of the [EntityItem][1] structure
|
|
614
|
+
# that forms the body of the `Entities` request parameter for the
|
|
615
|
+
# [IsAuthorized][2], [BatchIsAuthorized][3], [IsAuthorizedWithToken][4],
|
|
616
|
+
# and [BatchIsAuthorizedWithToken][5] operations.
|
|
617
|
+
#
|
|
618
|
+
#
|
|
619
|
+
#
|
|
620
|
+
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_EntityItem.html
|
|
621
|
+
# [2]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorized.html
|
|
622
|
+
# [3]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_BatchIsAuthorized.html
|
|
623
|
+
# [4]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorizedWithToken.html
|
|
624
|
+
# [5]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_BatchIsAuthorizedWithToken.html
|
|
625
|
+
#
|
|
626
|
+
# @note CedarTagValue is a union - when making an API calls you must set exactly one of the members.
|
|
627
|
+
#
|
|
628
|
+
# @!attribute [rw] boolean
|
|
629
|
+
# A Cedar tag value of [Boolean][1] type.
|
|
630
|
+
#
|
|
631
|
+
# Example: `{"boolean": false}`
|
|
632
|
+
#
|
|
633
|
+
#
|
|
634
|
+
#
|
|
635
|
+
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-bool
|
|
636
|
+
# @return [Boolean]
|
|
637
|
+
#
|
|
638
|
+
# @!attribute [rw] entity_identifier
|
|
639
|
+
# A Cedar tag value of type [EntityIdentifier][1].
|
|
640
|
+
#
|
|
641
|
+
# Example: `{"entityIdentifier": { "entityId": "alice", "entityType":
|
|
642
|
+
# "User"} }`
|
|
643
|
+
#
|
|
644
|
+
#
|
|
645
|
+
#
|
|
646
|
+
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_EntityIdentifier.html
|
|
647
|
+
# @return [Types::EntityIdentifier]
|
|
648
|
+
#
|
|
649
|
+
# @!attribute [rw] long
|
|
650
|
+
# A Cedar tag value of [Long][1] type.
|
|
651
|
+
#
|
|
652
|
+
# Example: `{"long": 0}`
|
|
653
|
+
#
|
|
654
|
+
#
|
|
655
|
+
#
|
|
656
|
+
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-long
|
|
657
|
+
# @return [Integer]
|
|
658
|
+
#
|
|
659
|
+
# @!attribute [rw] string
|
|
660
|
+
# A Cedar tag value of [String][1] type.
|
|
661
|
+
#
|
|
662
|
+
# Example: `{"string": "abc"}`
|
|
663
|
+
#
|
|
664
|
+
#
|
|
665
|
+
#
|
|
666
|
+
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-string
|
|
667
|
+
# @return [String]
|
|
668
|
+
#
|
|
669
|
+
# @!attribute [rw] set
|
|
670
|
+
# A Cedar tag value of [Set][1] type.
|
|
671
|
+
#
|
|
672
|
+
# Example: `{"set": [ { "string": "abc" } ] }`
|
|
673
|
+
#
|
|
674
|
+
#
|
|
675
|
+
#
|
|
676
|
+
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-set
|
|
677
|
+
# @return [Array<Types::CedarTagValue>]
|
|
678
|
+
#
|
|
679
|
+
# @!attribute [rw] record
|
|
680
|
+
# A Cedar tag value of [Record][1] type.
|
|
681
|
+
#
|
|
682
|
+
# Example: `{"record": { "keyName": {} } }`
|
|
683
|
+
#
|
|
684
|
+
#
|
|
685
|
+
#
|
|
686
|
+
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-record
|
|
687
|
+
# @return [Hash<String,Types::CedarTagValue>]
|
|
688
|
+
#
|
|
689
|
+
# @!attribute [rw] ipaddr
|
|
690
|
+
# A Cedar tag value of [ipaddr][1] type.
|
|
691
|
+
#
|
|
692
|
+
# Example: `{"ip": "10.50.0.0/24"}`
|
|
693
|
+
#
|
|
694
|
+
#
|
|
695
|
+
#
|
|
696
|
+
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-ipaddr
|
|
697
|
+
# @return [String]
|
|
698
|
+
#
|
|
699
|
+
# @!attribute [rw] decimal
|
|
700
|
+
# A Cedar tag value of [decimal][1] type.
|
|
701
|
+
#
|
|
702
|
+
# Example: `{"decimal": "-2.0"}`
|
|
703
|
+
#
|
|
704
|
+
#
|
|
705
|
+
#
|
|
706
|
+
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-decimal
|
|
707
|
+
# @return [String]
|
|
708
|
+
#
|
|
709
|
+
# @!attribute [rw] datetime
|
|
710
|
+
# A Cedar tag value of [datetime][1] type.
|
|
711
|
+
#
|
|
712
|
+
# Example: `{"datetime": "2025-11-04T11:35:00.000+0100"}`
|
|
713
|
+
#
|
|
714
|
+
#
|
|
715
|
+
#
|
|
716
|
+
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-datetime
|
|
717
|
+
# @return [String]
|
|
718
|
+
#
|
|
719
|
+
# @!attribute [rw] duration
|
|
720
|
+
# A Cedar tag value of [duration][1] type.
|
|
721
|
+
#
|
|
722
|
+
# Example: `{"duration": "-1d12h"}`
|
|
723
|
+
#
|
|
724
|
+
#
|
|
725
|
+
#
|
|
726
|
+
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-duration
|
|
727
|
+
# @return [String]
|
|
728
|
+
#
|
|
729
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CedarTagValue AWS API Documentation
|
|
730
|
+
#
|
|
731
|
+
class CedarTagValue < Struct.new(
|
|
732
|
+
:boolean,
|
|
733
|
+
:entity_identifier,
|
|
734
|
+
:long,
|
|
735
|
+
:string,
|
|
736
|
+
:set,
|
|
737
|
+
:record,
|
|
738
|
+
:ipaddr,
|
|
739
|
+
:decimal,
|
|
740
|
+
:datetime,
|
|
741
|
+
:duration,
|
|
742
|
+
:unknown)
|
|
743
|
+
SENSITIVE = [:boolean, :long, :string, :ipaddr, :decimal, :datetime, :duration]
|
|
744
|
+
include Aws::Structure
|
|
745
|
+
include Aws::Structure::Union
|
|
746
|
+
|
|
747
|
+
class Boolean < CedarTagValue; end
|
|
748
|
+
class EntityIdentifier < CedarTagValue; end
|
|
749
|
+
class Long < CedarTagValue; end
|
|
750
|
+
class String < CedarTagValue; end
|
|
751
|
+
class Set < CedarTagValue; end
|
|
752
|
+
class Record < CedarTagValue; end
|
|
753
|
+
class Ipaddr < CedarTagValue; end
|
|
754
|
+
class Decimal < CedarTagValue; end
|
|
755
|
+
class Datetime < CedarTagValue; end
|
|
756
|
+
class Duration < CedarTagValue; end
|
|
757
|
+
class Unknown < CedarTagValue; end
|
|
758
|
+
end
|
|
759
|
+
|
|
611
760
|
# The type of entity that a policy store maps to groups from an Amazon
|
|
612
761
|
# Cognito user pool identity source.
|
|
613
762
|
#
|
|
@@ -1689,12 +1838,17 @@ module Aws::VerifiedPermissions
|
|
|
1689
1838
|
# and eight parents of parents.
|
|
1690
1839
|
# @return [Array<Types::EntityIdentifier>]
|
|
1691
1840
|
#
|
|
1841
|
+
# @!attribute [rw] tags
|
|
1842
|
+
# A list of cedar tags for the entity.
|
|
1843
|
+
# @return [Hash<String,Types::CedarTagValue>]
|
|
1844
|
+
#
|
|
1692
1845
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/EntityItem AWS API Documentation
|
|
1693
1846
|
#
|
|
1694
1847
|
class EntityItem < Struct.new(
|
|
1695
1848
|
:identifier,
|
|
1696
1849
|
:attributes,
|
|
1697
|
-
:parents
|
|
1850
|
+
:parents,
|
|
1851
|
+
:tags)
|
|
1698
1852
|
SENSITIVE = []
|
|
1699
1853
|
include Aws::Structure
|
|
1700
1854
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -115,7 +115,24 @@ module Aws
|
|
|
115
115
|
entity_type: ::String,
|
|
116
116
|
entity_id: ::String
|
|
117
117
|
},
|
|
118
|
-
]
|
|
118
|
+
]?,
|
|
119
|
+
tags: Hash[::String, {
|
|
120
|
+
boolean: bool?,
|
|
121
|
+
entity_identifier: {
|
|
122
|
+
entity_type: ::String,
|
|
123
|
+
entity_id: ::String
|
|
124
|
+
}?,
|
|
125
|
+
long: ::Integer?,
|
|
126
|
+
string: ::String?,
|
|
127
|
+
set: Array[
|
|
128
|
+
untyped,
|
|
129
|
+
]?,
|
|
130
|
+
record: Hash[::String, untyped]?,
|
|
131
|
+
ipaddr: ::String?,
|
|
132
|
+
decimal: ::String?,
|
|
133
|
+
datetime: ::String?,
|
|
134
|
+
duration: ::String?
|
|
135
|
+
}]?
|
|
119
136
|
},
|
|
120
137
|
]?,
|
|
121
138
|
cedar_json: ::String?
|
|
@@ -166,7 +183,24 @@ module Aws
|
|
|
166
183
|
entity_type: ::String,
|
|
167
184
|
entity_id: ::String
|
|
168
185
|
},
|
|
169
|
-
]
|
|
186
|
+
]?,
|
|
187
|
+
tags: Hash[::String, {
|
|
188
|
+
boolean: bool?,
|
|
189
|
+
entity_identifier: {
|
|
190
|
+
entity_type: ::String,
|
|
191
|
+
entity_id: ::String
|
|
192
|
+
}?,
|
|
193
|
+
long: ::Integer?,
|
|
194
|
+
string: ::String?,
|
|
195
|
+
set: Array[
|
|
196
|
+
untyped,
|
|
197
|
+
]?,
|
|
198
|
+
record: Hash[::String, untyped]?,
|
|
199
|
+
ipaddr: ::String?,
|
|
200
|
+
decimal: ::String?,
|
|
201
|
+
datetime: ::String?,
|
|
202
|
+
duration: ::String?
|
|
203
|
+
}]?
|
|
170
204
|
},
|
|
171
205
|
]?,
|
|
172
206
|
cedar_json: ::String?
|
|
@@ -466,7 +500,24 @@ module Aws
|
|
|
466
500
|
entity_type: ::String,
|
|
467
501
|
entity_id: ::String
|
|
468
502
|
},
|
|
469
|
-
]
|
|
503
|
+
]?,
|
|
504
|
+
tags: Hash[::String, {
|
|
505
|
+
boolean: bool?,
|
|
506
|
+
entity_identifier: {
|
|
507
|
+
entity_type: ::String,
|
|
508
|
+
entity_id: ::String
|
|
509
|
+
}?,
|
|
510
|
+
long: ::Integer?,
|
|
511
|
+
string: ::String?,
|
|
512
|
+
set: Array[
|
|
513
|
+
untyped,
|
|
514
|
+
]?,
|
|
515
|
+
record: Hash[::String, untyped]?,
|
|
516
|
+
ipaddr: ::String?,
|
|
517
|
+
decimal: ::String?,
|
|
518
|
+
datetime: ::String?,
|
|
519
|
+
duration: ::String?
|
|
520
|
+
}]?
|
|
470
521
|
},
|
|
471
522
|
]?,
|
|
472
523
|
cedar_json: ::String?
|
|
@@ -511,7 +562,24 @@ module Aws
|
|
|
511
562
|
entity_type: ::String,
|
|
512
563
|
entity_id: ::String
|
|
513
564
|
},
|
|
514
|
-
]
|
|
565
|
+
]?,
|
|
566
|
+
tags: Hash[::String, {
|
|
567
|
+
boolean: bool?,
|
|
568
|
+
entity_identifier: {
|
|
569
|
+
entity_type: ::String,
|
|
570
|
+
entity_id: ::String
|
|
571
|
+
}?,
|
|
572
|
+
long: ::Integer?,
|
|
573
|
+
string: ::String?,
|
|
574
|
+
set: Array[
|
|
575
|
+
untyped,
|
|
576
|
+
]?,
|
|
577
|
+
record: Hash[::String, untyped]?,
|
|
578
|
+
ipaddr: ::String?,
|
|
579
|
+
decimal: ::String?,
|
|
580
|
+
datetime: ::String?,
|
|
581
|
+
duration: ::String?
|
|
582
|
+
}]?
|
|
515
583
|
},
|
|
516
584
|
]?,
|
|
517
585
|
cedar_json: ::String?
|
data/sig/types.rbs
CHANGED
|
@@ -150,6 +150,44 @@ module Aws::VerifiedPermissions
|
|
|
150
150
|
SENSITIVE: []
|
|
151
151
|
end
|
|
152
152
|
|
|
153
|
+
class CedarTagValue
|
|
154
|
+
attr_accessor boolean: bool
|
|
155
|
+
attr_accessor entity_identifier: Types::EntityIdentifier
|
|
156
|
+
attr_accessor long: ::Integer
|
|
157
|
+
attr_accessor string: ::String
|
|
158
|
+
attr_accessor set: ::Array[Types::CedarTagValue]
|
|
159
|
+
attr_accessor record: ::Hash[::String, Types::CedarTagValue]
|
|
160
|
+
attr_accessor ipaddr: ::String
|
|
161
|
+
attr_accessor decimal: ::String
|
|
162
|
+
attr_accessor datetime: ::String
|
|
163
|
+
attr_accessor duration: ::String
|
|
164
|
+
attr_accessor unknown: untyped
|
|
165
|
+
SENSITIVE: [:boolean, :long, :string, :ipaddr, :decimal, :datetime, :duration]
|
|
166
|
+
|
|
167
|
+
class Boolean < CedarTagValue
|
|
168
|
+
end
|
|
169
|
+
class EntityIdentifier < CedarTagValue
|
|
170
|
+
end
|
|
171
|
+
class Long < CedarTagValue
|
|
172
|
+
end
|
|
173
|
+
class String < CedarTagValue
|
|
174
|
+
end
|
|
175
|
+
class Set < CedarTagValue
|
|
176
|
+
end
|
|
177
|
+
class Record < CedarTagValue
|
|
178
|
+
end
|
|
179
|
+
class Ipaddr < CedarTagValue
|
|
180
|
+
end
|
|
181
|
+
class Decimal < CedarTagValue
|
|
182
|
+
end
|
|
183
|
+
class Datetime < CedarTagValue
|
|
184
|
+
end
|
|
185
|
+
class Duration < CedarTagValue
|
|
186
|
+
end
|
|
187
|
+
class Unknown < CedarTagValue
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
|
|
153
191
|
class CognitoGroupConfiguration
|
|
154
192
|
attr_accessor group_entity_type: ::String
|
|
155
193
|
SENSITIVE: [:group_entity_type]
|
|
@@ -383,6 +421,7 @@ module Aws::VerifiedPermissions
|
|
|
383
421
|
attr_accessor identifier: Types::EntityIdentifier
|
|
384
422
|
attr_accessor attributes: ::Hash[::String, Types::AttributeValue]
|
|
385
423
|
attr_accessor parents: ::Array[Types::EntityIdentifier]
|
|
424
|
+
attr_accessor tags: ::Hash[::String, Types::CedarTagValue]
|
|
386
425
|
SENSITIVE: []
|
|
387
426
|
end
|
|
388
427
|
|