aws-sdk-verifiedpermissions 1.1.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8bdb6c7fe417c7c398b5e441101c0139b549a658a0b6ae2a563d62adad01748f
4
- data.tar.gz: c568cf8404138457bb799ebfd87621cb3d7567402602496834266e21f70f9b64
3
+ metadata.gz: bef7a233137cbe95eede197edd2da58948c379b2dc02052b2654dc664137be70
4
+ data.tar.gz: cb776c176eb48d199c146fd982d32b7dfc8d38a4d289fb07106b0ebf119123b8
5
5
  SHA512:
6
- metadata.gz: 89014b5e9279caf335de76153d4e29b9384aec247f7d6113e94a26f3f38f21b48a1e605a5de316307954b27d45d95409b2d602b2d8d0fc5f70bea6a7f858e971
7
- data.tar.gz: 635b745ea6f95b54aa249b4979be5abd4335e2b8f65d37aef5c2537824520dbbe9bd1d447de419a5f0aa490fa4bf748f5431c097f717af2af9d4b85c36acfc7f
6
+ metadata.gz: be925507f2781eb6b6b4ec1994e74c6bf509e67a0342b4edb1d05e6b3d019b111a6f22a2005784944b440a44a9606d0e6cdbe7804279904019786ca93a8ce14c
7
+ data.tar.gz: 51546a414864a2de885137bc893190379bec27185477bd721f2d4223e9e5470ed40bf514174c961cc111d1a7436c1187ea576879fe5757b03c102173b5c8a356
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.3.0 (2023-06-27)
5
+ ------------------
6
+
7
+ * Feature - This update fixes several broken links to the Cedar documentation.
8
+
9
+ 1.2.0 (2023-06-23)
10
+ ------------------
11
+
12
+ * Feature - Added improved descriptions and new code samples to SDK documentation.
13
+
4
14
  1.1.0 (2023-06-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.3.0
@@ -611,6 +611,15 @@ module Aws::VerifiedPermissions
611
611
  # Creates a policy store. A policy store is a container for policy
612
612
  # resources.
613
613
  #
614
+ # <note markdown="1"> Although [Cedar supports multiple namespaces][1], Verified Permissions
615
+ # currently supports only one namespace per policy store.
616
+ #
617
+ # </note>
618
+ #
619
+ #
620
+ #
621
+ # [1]: https://docs.cedarpolicy.com/schema.html#namespace
622
+ #
614
623
  # @option params [String] :client_token
615
624
  # Specifies a unique, case-sensitive ID that you provide to ensure the
616
625
  # idempotency of the request. This lets you safely retry the request
@@ -1125,8 +1134,15 @@ module Aws::VerifiedPermissions
1125
1134
  # authorization decisions.
1126
1135
  #
1127
1136
  # @option params [Types::EntitiesDefinition] :entities
1128
- # Specifies the list of entities and their associated attributes that
1129
- # Verified Permissions can examine when evaluating the policies.
1137
+ # Specifies the list of resources and principals and their associated
1138
+ # attributes that Verified Permissions can examine when evaluating the
1139
+ # policies.
1140
+ #
1141
+ # <note markdown="1"> You can include only principal and resource entities in this
1142
+ # parameter; you can't include actions. You must specify actions in the
1143
+ # schema.
1144
+ #
1145
+ # </note>
1130
1146
  #
1131
1147
  # @return [Types::IsAuthorizedOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1132
1148
  #
@@ -1236,8 +1252,15 @@ module Aws::VerifiedPermissions
1236
1252
  # authorization decisions.
1237
1253
  #
1238
1254
  # @option params [Types::EntitiesDefinition] :entities
1239
- # Specifies the list of entities and their associated attributes that
1240
- # Verified Permissions can examine when evaluating the policies.
1255
+ # Specifies the list of resources and principals and their associated
1256
+ # attributes that Verified Permissions can examine when evaluating the
1257
+ # policies.
1258
+ #
1259
+ # <note markdown="1"> You can include only principal and resource entities in this
1260
+ # parameter; you can't include actions. You must specify actions in the
1261
+ # schema.
1262
+ #
1263
+ # </note>
1241
1264
  #
1242
1265
  # @return [Types::IsAuthorizedWithTokenOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1243
1266
  #
@@ -1913,7 +1936,7 @@ module Aws::VerifiedPermissions
1913
1936
  params: params,
1914
1937
  config: config)
1915
1938
  context[:gem_name] = 'aws-sdk-verifiedpermissions'
1916
- context[:gem_version] = '1.1.0'
1939
+ context[:gem_version] = '1.3.0'
1917
1940
  Seahorse::Client::Request.new(handlers, context)
1918
1941
  end
1919
1942
 
@@ -71,11 +71,13 @@ module Aws::VerifiedPermissions
71
71
  # @note AttributeValue is a union - when making an API calls you must set exactly one of the members.
72
72
  #
73
73
  # @!attribute [rw] boolean
74
- # An attribute value of
75
- # [Boolean](docs.cedarpolicy.comcedar-syntax-datatypes.html#datatype-boolean)
76
- # type.
74
+ # An attribute value of [Boolean][1] type.
77
75
  #
78
76
  # Example: `\{"boolean": true\}`
77
+ #
78
+ #
79
+ #
80
+ # [1]: https://docs.cedarpolicy.com/syntax-datatypes.html#boolean
79
81
  # @return [Boolean]
80
82
  #
81
83
  # @!attribute [rw] entity_identifier
@@ -90,35 +92,43 @@ module Aws::VerifiedPermissions
90
92
  # @return [Types::EntityIdentifier]
91
93
  #
92
94
  # @!attribute [rw] long
93
- # An attribute value of
94
- # [Long](docs.cedarpolicy.comcedar-syntax-datatypes.html#datatype-long)
95
- # type.
95
+ # An attribute value of [Long][1] type.
96
96
  #
97
97
  # Example: `\{"long": 0\}`
98
+ #
99
+ #
100
+ #
101
+ # [1]: https://docs.cedarpolicy.com/syntax-datatypes.html#long
98
102
  # @return [Integer]
99
103
  #
100
104
  # @!attribute [rw] string
101
- # An attribute value of
102
- # [String](docs.cedarpolicy.comcedar-syntax-datatypes.html#datatype-string)
103
- # type.
105
+ # An attribute value of [String][1] type.
104
106
  #
105
107
  # Example: `\{"string": "abc"\}`
108
+ #
109
+ #
110
+ #
111
+ # [1]: https://docs.cedarpolicy.com/syntax-datatypes.html#string
106
112
  # @return [String]
107
113
  #
108
114
  # @!attribute [rw] set
109
- # An attribute value of
110
- # [Set](docs.cedarpolicy.comcedar-syntax-datatypes.html#datatype-set)
111
- # type.
115
+ # An attribute value of [Set][1] type.
112
116
  #
113
117
  # Example: `\{"set": [ \{\} ] \}`
118
+ #
119
+ #
120
+ #
121
+ # [1]: https://docs.cedarpolicy.com/syntax-datatypes.html#set
114
122
  # @return [Array<Types::AttributeValue>]
115
123
  #
116
124
  # @!attribute [rw] record
117
- # An attribute value of
118
- # [Record](docs.cedarpolicy.comcedar-syntax-datatypes.html#datatype-record)
119
- # type.
125
+ # An attribute value of [Record][1] type.
120
126
  #
121
127
  # Example: `\{"record": \{ "keyName": \{\} \} \}`
128
+ #
129
+ #
130
+ #
131
+ # [1]: https://docs.cedarpolicy.com/syntax-datatypes.html#record
122
132
  # @return [Hash<String,Types::AttributeValue>]
123
133
  #
124
134
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/AttributeValue AWS API Documentation
@@ -152,7 +162,7 @@ module Aws::VerifiedPermissions
152
162
  # [Configuration][1] structure that is used as a parameter to the
153
163
  # [Configuration][1].
154
164
  #
155
- # Example:`"CognitoUserPoolConfiguration":\{"UserPoolArn":"cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
165
+ # Example:`"CognitoUserPoolConfiguration":\{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
156
166
  # ["a1b2c3d4e5f6g7h8i9j0kalbmc"]\}`
157
167
  #
158
168
  #
@@ -164,7 +174,7 @@ module Aws::VerifiedPermissions
164
174
  # that contains the identities to be authorized.
165
175
  #
166
176
  # Example: `"UserPoolArn":
167
- # "cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"`
177
+ # "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"`
168
178
  #
169
179
  #
170
180
  #
@@ -213,7 +223,7 @@ module Aws::VerifiedPermissions
213
223
  # Amazon Cognito user pool and one or more application client IDs.
214
224
  #
215
225
  # Example:
216
- # `"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
226
+ # `"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
217
227
  # ["a1b2c3d4e5f6g7h8i9j0kalbmc"]\}\}`
218
228
  #
219
229
  #
@@ -1375,8 +1385,15 @@ module Aws::VerifiedPermissions
1375
1385
  # @return [Types::ContextDefinition]
1376
1386
  #
1377
1387
  # @!attribute [rw] entities
1378
- # Specifies the list of entities and their associated attributes that
1379
- # Verified Permissions can examine when evaluating the policies.
1388
+ # Specifies the list of resources and principals and their associated
1389
+ # attributes that Verified Permissions can examine when evaluating the
1390
+ # policies.
1391
+ #
1392
+ # <note markdown="1"> You can include only principal and resource entities in this
1393
+ # parameter; you can't include actions. You must specify actions in
1394
+ # the schema.
1395
+ #
1396
+ # </note>
1380
1397
  # @return [Types::EntitiesDefinition]
1381
1398
  #
1382
1399
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/IsAuthorizedInput AWS API Documentation
@@ -1460,8 +1477,15 @@ module Aws::VerifiedPermissions
1460
1477
  # @return [Types::ContextDefinition]
1461
1478
  #
1462
1479
  # @!attribute [rw] entities
1463
- # Specifies the list of entities and their associated attributes that
1464
- # Verified Permissions can examine when evaluating the policies.
1480
+ # Specifies the list of resources and principals and their associated
1481
+ # attributes that Verified Permissions can examine when evaluating the
1482
+ # policies.
1483
+ #
1484
+ # <note markdown="1"> You can include only principal and resource entities in this
1485
+ # parameter; you can't include actions. You must specify actions in
1486
+ # the schema.
1487
+ #
1488
+ # </note>
1465
1489
  # @return [Types::EntitiesDefinition]
1466
1490
  #
1467
1491
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/IsAuthorizedWithTokenInput AWS API Documentation
@@ -2842,8 +2866,7 @@ module Aws::VerifiedPermissions
2842
2866
  # The policy attempts to access a record or entity attribute that
2843
2867
  # isn't specified in the schema. Test for the existence of the
2844
2868
  # attribute first before attempting to access its value. For more
2845
- # information, see the [has (presence of attribute test)
2846
- # operator](docs.cedarpolicy.comsyntax-operators.html#has-presence-of-attribute-test)
2869
+ # information, see the [has (presence of attribute test) operator][1]
2847
2870
  # in the *Cedar Policy Language Guide*.
2848
2871
  #
2849
2872
  # * **UnsafeOptionalAttributeAccess**
@@ -2852,8 +2875,7 @@ module Aws::VerifiedPermissions
2852
2875
  # optional and isn't guaranteed to be present. Test for the existence
2853
2876
  # of the attribute first before attempting to access its value. For
2854
2877
  # more information, see the [has (presence of attribute test)
2855
- # operator](docs.cedarpolicy.comsyntax-operators.html#has-presence-of-attribute-test)
2856
- # in the *Cedar Policy Language Guide*.
2878
+ # operator][1] in the *Cedar Policy Language Guide*.
2857
2879
  #
2858
2880
  # * **ImpossiblePolicy**
2859
2881
  #
@@ -2872,6 +2894,10 @@ module Aws::VerifiedPermissions
2872
2894
  # example, a string that is to be parsed as an IPv4 address can
2873
2895
  # contain only digits and the period character.
2874
2896
  #
2897
+ #
2898
+ #
2899
+ # [1]: https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test
2900
+ #
2875
2901
  # @!attribute [rw] message
2876
2902
  # @return [String]
2877
2903
  #
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-verifiedpermissions/customizations'
53
53
  # @!group service
54
54
  module Aws::VerifiedPermissions
55
55
 
56
- GEM_VERSION = '1.1.0'
56
+ GEM_VERSION = '1.3.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-verifiedpermissions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.3.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: 2023-06-15 00:00:00.000000000 Z
11
+ date: 2023-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core