aws-sdk-verifiedpermissions 1.14.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-verifiedpermissions/client.rb +25 -1
- data/lib/aws-sdk-verifiedpermissions/client_api.rb +7 -0
- data/lib/aws-sdk-verifiedpermissions/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-verifiedpermissions/types.rb +43 -9
- data/lib/aws-sdk-verifiedpermissions.rb +1 -1
- data/sig/client.rbs +583 -0
- data/sig/errors.rbs +47 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +749 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5feea7f2095a4b93f870439a3270581748a46a0863cfec80f0db7aecc3eb47d2
|
4
|
+
data.tar.gz: 810f54093fce433be30c1359b60119b8dfd3d5e0e9b9eef6bc3a986b30509def
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c92fccbb1514bfbf1bc1e7fb7a81a7a0299012e63ca7a2e02e0a43babca05bd33e5ae78f89eff559a22a867e721137cadf80f4608afb79893fcdf959c0f2910
|
7
|
+
data.tar.gz: 6e650705242930feb999ff6fd76079201bfaa25360447b1a2c08916bed5198b593a7628662e427cee696dda221c479ece4be59730176d147a23d4aa9ef90c5cb
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.16.0 (2024-01-26)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.15.0 (2023-12-01)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds description field to PolicyStore API's and namespaces field to GetSchema.
|
13
|
+
|
4
14
|
1.14.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.16.0
|
@@ -416,6 +416,13 @@ module Aws::VerifiedPermissions
|
|
416
416
|
# 100 principals and up to 100 resources. The `requests` of a
|
417
417
|
# `BatchIsAuthorized` API request can contain up to 30 requests.
|
418
418
|
#
|
419
|
+
# <note markdown="1"> The `BatchIsAuthorized` operation doesn't have its own IAM
|
420
|
+
# permission. To authorize this operation for Amazon Web Services
|
421
|
+
# principals, include the permission `verifiedpermissions:IsAuthorized`
|
422
|
+
# in their IAM policies.
|
423
|
+
#
|
424
|
+
# </note>
|
425
|
+
#
|
419
426
|
# @option params [required, String] :policy_store_id
|
420
427
|
# Specifies the ID of the policy store. Policies in this policy store
|
421
428
|
# will be used to make the authorization decisions for the input.
|
@@ -810,6 +817,10 @@ module Aws::VerifiedPermissions
|
|
810
817
|
#
|
811
818
|
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore
|
812
819
|
#
|
820
|
+
# @option params [String] :description
|
821
|
+
# Descriptive text that you can provide to help with identification of
|
822
|
+
# the current policy store.
|
823
|
+
#
|
813
824
|
# @return [Types::CreatePolicyStoreOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
814
825
|
#
|
815
826
|
# * {Types::CreatePolicyStoreOutput#policy_store_id #policy_store_id} => String
|
@@ -824,6 +835,7 @@ module Aws::VerifiedPermissions
|
|
824
835
|
# validation_settings: { # required
|
825
836
|
# mode: "OFF", # required, accepts OFF, STRICT
|
826
837
|
# },
|
838
|
+
# description: "PolicyStoreDescription",
|
827
839
|
# })
|
828
840
|
#
|
829
841
|
# @example Response structure
|
@@ -1161,6 +1173,7 @@ module Aws::VerifiedPermissions
|
|
1161
1173
|
# * {Types::GetPolicyStoreOutput#validation_settings #validation_settings} => Types::ValidationSettings
|
1162
1174
|
# * {Types::GetPolicyStoreOutput#created_date #created_date} => Time
|
1163
1175
|
# * {Types::GetPolicyStoreOutput#last_updated_date #last_updated_date} => Time
|
1176
|
+
# * {Types::GetPolicyStoreOutput#description #description} => String
|
1164
1177
|
#
|
1165
1178
|
# @example Request syntax with placeholder values
|
1166
1179
|
#
|
@@ -1175,6 +1188,7 @@ module Aws::VerifiedPermissions
|
|
1175
1188
|
# resp.validation_settings.mode #=> String, one of "OFF", "STRICT"
|
1176
1189
|
# resp.created_date #=> Time
|
1177
1190
|
# resp.last_updated_date #=> Time
|
1191
|
+
# resp.description #=> String
|
1178
1192
|
#
|
1179
1193
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/GetPolicyStore AWS API Documentation
|
1180
1194
|
#
|
@@ -1242,6 +1256,7 @@ module Aws::VerifiedPermissions
|
|
1242
1256
|
# * {Types::GetSchemaOutput#schema #schema} => String
|
1243
1257
|
# * {Types::GetSchemaOutput#created_date #created_date} => Time
|
1244
1258
|
# * {Types::GetSchemaOutput#last_updated_date #last_updated_date} => Time
|
1259
|
+
# * {Types::GetSchemaOutput#namespaces #namespaces} => Array<String>
|
1245
1260
|
#
|
1246
1261
|
# @example Request syntax with placeholder values
|
1247
1262
|
#
|
@@ -1255,6 +1270,8 @@ module Aws::VerifiedPermissions
|
|
1255
1270
|
# resp.schema #=> String
|
1256
1271
|
# resp.created_date #=> Time
|
1257
1272
|
# resp.last_updated_date #=> Time
|
1273
|
+
# resp.namespaces #=> Array
|
1274
|
+
# resp.namespaces[0] #=> String
|
1258
1275
|
#
|
1259
1276
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/GetSchema AWS API Documentation
|
1260
1277
|
#
|
@@ -1724,6 +1741,8 @@ module Aws::VerifiedPermissions
|
|
1724
1741
|
# resp.policy_stores[0].policy_store_id #=> String
|
1725
1742
|
# resp.policy_stores[0].arn #=> String
|
1726
1743
|
# resp.policy_stores[0].created_date #=> Time
|
1744
|
+
# resp.policy_stores[0].last_updated_date #=> Time
|
1745
|
+
# resp.policy_stores[0].description #=> String
|
1727
1746
|
#
|
1728
1747
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/ListPolicyStores AWS API Documentation
|
1729
1748
|
#
|
@@ -2065,6 +2084,10 @@ module Aws::VerifiedPermissions
|
|
2065
2084
|
# A structure that defines the validation settings that want to enable
|
2066
2085
|
# for the policy store.
|
2067
2086
|
#
|
2087
|
+
# @option params [String] :description
|
2088
|
+
# Descriptive text that you can provide to help with identification of
|
2089
|
+
# the current policy store.
|
2090
|
+
#
|
2068
2091
|
# @return [Types::UpdatePolicyStoreOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2069
2092
|
#
|
2070
2093
|
# * {Types::UpdatePolicyStoreOutput#policy_store_id #policy_store_id} => String
|
@@ -2079,6 +2102,7 @@ module Aws::VerifiedPermissions
|
|
2079
2102
|
# validation_settings: { # required
|
2080
2103
|
# mode: "OFF", # required, accepts OFF, STRICT
|
2081
2104
|
# },
|
2105
|
+
# description: "PolicyStoreDescription",
|
2082
2106
|
# })
|
2083
2107
|
#
|
2084
2108
|
# @example Response structure
|
@@ -2190,7 +2214,7 @@ module Aws::VerifiedPermissions
|
|
2190
2214
|
params: params,
|
2191
2215
|
config: config)
|
2192
2216
|
context[:gem_name] = 'aws-sdk-verifiedpermissions'
|
2193
|
-
context[:gem_version] = '1.
|
2217
|
+
context[:gem_version] = '1.16.0'
|
2194
2218
|
Seahorse::Client::Request.new(handlers, context)
|
2195
2219
|
end
|
2196
2220
|
|
@@ -110,6 +110,7 @@ module Aws::VerifiedPermissions
|
|
110
110
|
PolicyItem = Shapes::StructureShape.new(name: 'PolicyItem')
|
111
111
|
PolicyList = Shapes::ListShape.new(name: 'PolicyList')
|
112
112
|
PolicyStatement = Shapes::StringShape.new(name: 'PolicyStatement')
|
113
|
+
PolicyStoreDescription = Shapes::StringShape.new(name: 'PolicyStoreDescription')
|
113
114
|
PolicyStoreId = Shapes::StringShape.new(name: 'PolicyStoreId')
|
114
115
|
PolicyStoreItem = Shapes::StructureShape.new(name: 'PolicyStoreItem')
|
115
116
|
PolicyStoreList = Shapes::ListShape.new(name: 'PolicyStoreList')
|
@@ -262,6 +263,7 @@ module Aws::VerifiedPermissions
|
|
262
263
|
|
263
264
|
CreatePolicyStoreInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
264
265
|
CreatePolicyStoreInput.add_member(:validation_settings, Shapes::ShapeRef.new(shape: ValidationSettings, required: true, location_name: "validationSettings"))
|
266
|
+
CreatePolicyStoreInput.add_member(:description, Shapes::ShapeRef.new(shape: PolicyStoreDescription, location_name: "description"))
|
265
267
|
CreatePolicyStoreInput.struct_class = Types::CreatePolicyStoreInput
|
266
268
|
|
267
269
|
CreatePolicyStoreOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
@@ -377,6 +379,7 @@ module Aws::VerifiedPermissions
|
|
377
379
|
GetPolicyStoreOutput.add_member(:validation_settings, Shapes::ShapeRef.new(shape: ValidationSettings, required: true, location_name: "validationSettings"))
|
378
380
|
GetPolicyStoreOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
|
379
381
|
GetPolicyStoreOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
|
382
|
+
GetPolicyStoreOutput.add_member(:description, Shapes::ShapeRef.new(shape: PolicyStoreDescription, location_name: "description"))
|
380
383
|
GetPolicyStoreOutput.struct_class = Types::GetPolicyStoreOutput
|
381
384
|
|
382
385
|
GetPolicyTemplateInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
@@ -398,6 +401,7 @@ module Aws::VerifiedPermissions
|
|
398
401
|
GetSchemaOutput.add_member(:schema, Shapes::ShapeRef.new(shape: SchemaJson, required: true, location_name: "schema"))
|
399
402
|
GetSchemaOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
|
400
403
|
GetSchemaOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
|
404
|
+
GetSchemaOutput.add_member(:namespaces, Shapes::ShapeRef.new(shape: NamespaceList, location_name: "namespaces"))
|
401
405
|
GetSchemaOutput.struct_class = Types::GetSchemaOutput
|
402
406
|
|
403
407
|
IdentitySourceDetails.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, location_name: "clientIds"))
|
@@ -543,6 +547,8 @@ module Aws::VerifiedPermissions
|
|
543
547
|
PolicyStoreItem.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
544
548
|
PolicyStoreItem.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "arn"))
|
545
549
|
PolicyStoreItem.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
|
550
|
+
PolicyStoreItem.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, location_name: "lastUpdatedDate"))
|
551
|
+
PolicyStoreItem.add_member(:description, Shapes::ShapeRef.new(shape: PolicyStoreDescription, location_name: "description"))
|
546
552
|
PolicyStoreItem.struct_class = Types::PolicyStoreItem
|
547
553
|
|
548
554
|
PolicyStoreList.member = Shapes::ShapeRef.new(shape: PolicyStoreItem)
|
@@ -670,6 +676,7 @@ module Aws::VerifiedPermissions
|
|
670
676
|
|
671
677
|
UpdatePolicyStoreInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
672
678
|
UpdatePolicyStoreInput.add_member(:validation_settings, Shapes::ShapeRef.new(shape: ValidationSettings, required: true, location_name: "validationSettings"))
|
679
|
+
UpdatePolicyStoreInput.add_member(:description, Shapes::ShapeRef.new(shape: PolicyStoreDescription, location_name: "description"))
|
673
680
|
UpdatePolicyStoreInput.struct_class = Types::UpdatePolicyStoreInput
|
674
681
|
|
675
682
|
UpdatePolicyStoreOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
@@ -14,6 +14,7 @@ module Aws::VerifiedPermissions
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::VerifiedPermissions::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
@@ -646,12 +646,18 @@ module Aws::VerifiedPermissions
|
|
646
646
|
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore
|
647
647
|
# @return [Types::ValidationSettings]
|
648
648
|
#
|
649
|
+
# @!attribute [rw] description
|
650
|
+
# Descriptive text that you can provide to help with identification of
|
651
|
+
# the current policy store.
|
652
|
+
# @return [String]
|
653
|
+
#
|
649
654
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CreatePolicyStoreInput AWS API Documentation
|
650
655
|
#
|
651
656
|
class CreatePolicyStoreInput < Struct.new(
|
652
657
|
:client_token,
|
653
|
-
:validation_settings
|
654
|
-
|
658
|
+
:validation_settings,
|
659
|
+
:description)
|
660
|
+
SENSITIVE = [:description]
|
655
661
|
include Aws::Structure
|
656
662
|
end
|
657
663
|
|
@@ -1196,6 +1202,11 @@ module Aws::VerifiedPermissions
|
|
1196
1202
|
# The date and time that the policy store was last updated.
|
1197
1203
|
# @return [Time]
|
1198
1204
|
#
|
1205
|
+
# @!attribute [rw] description
|
1206
|
+
# Descriptive text that you can provide to help with identification of
|
1207
|
+
# the current policy store.
|
1208
|
+
# @return [String]
|
1209
|
+
#
|
1199
1210
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/GetPolicyStoreOutput AWS API Documentation
|
1200
1211
|
#
|
1201
1212
|
class GetPolicyStoreOutput < Struct.new(
|
@@ -1203,8 +1214,9 @@ module Aws::VerifiedPermissions
|
|
1203
1214
|
:arn,
|
1204
1215
|
:validation_settings,
|
1205
1216
|
:created_date,
|
1206
|
-
:last_updated_date
|
1207
|
-
|
1217
|
+
:last_updated_date,
|
1218
|
+
:description)
|
1219
|
+
SENSITIVE = [:description]
|
1208
1220
|
include Aws::Structure
|
1209
1221
|
end
|
1210
1222
|
|
@@ -1294,13 +1306,18 @@ module Aws::VerifiedPermissions
|
|
1294
1306
|
# The date and time that the schema was most recently updated.
|
1295
1307
|
# @return [Time]
|
1296
1308
|
#
|
1309
|
+
# @!attribute [rw] namespaces
|
1310
|
+
# The namespaces of the entities referenced by this schema.
|
1311
|
+
# @return [Array<String>]
|
1312
|
+
#
|
1297
1313
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/GetSchemaOutput AWS API Documentation
|
1298
1314
|
#
|
1299
1315
|
class GetSchemaOutput < Struct.new(
|
1300
1316
|
:policy_store_id,
|
1301
1317
|
:schema,
|
1302
1318
|
:created_date,
|
1303
|
-
:last_updated_date
|
1319
|
+
:last_updated_date,
|
1320
|
+
:namespaces)
|
1304
1321
|
SENSITIVE = [:schema]
|
1305
1322
|
include Aws::Structure
|
1306
1323
|
end
|
@@ -2163,13 +2180,24 @@ module Aws::VerifiedPermissions
|
|
2163
2180
|
# The date and time the policy was created.
|
2164
2181
|
# @return [Time]
|
2165
2182
|
#
|
2183
|
+
# @!attribute [rw] last_updated_date
|
2184
|
+
# The date and time the policy store was most recently updated.
|
2185
|
+
# @return [Time]
|
2186
|
+
#
|
2187
|
+
# @!attribute [rw] description
|
2188
|
+
# Descriptive text that you can provide to help with identification of
|
2189
|
+
# the current policy store.
|
2190
|
+
# @return [String]
|
2191
|
+
#
|
2166
2192
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/PolicyStoreItem AWS API Documentation
|
2167
2193
|
#
|
2168
2194
|
class PolicyStoreItem < Struct.new(
|
2169
2195
|
:policy_store_id,
|
2170
2196
|
:arn,
|
2171
|
-
:created_date
|
2172
|
-
|
2197
|
+
:created_date,
|
2198
|
+
:last_updated_date,
|
2199
|
+
:description)
|
2200
|
+
SENSITIVE = [:description]
|
2173
2201
|
include Aws::Structure
|
2174
2202
|
end
|
2175
2203
|
|
@@ -2829,12 +2857,18 @@ module Aws::VerifiedPermissions
|
|
2829
2857
|
# for the policy store.
|
2830
2858
|
# @return [Types::ValidationSettings]
|
2831
2859
|
#
|
2860
|
+
# @!attribute [rw] description
|
2861
|
+
# Descriptive text that you can provide to help with identification of
|
2862
|
+
# the current policy store.
|
2863
|
+
# @return [String]
|
2864
|
+
#
|
2832
2865
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/UpdatePolicyStoreInput AWS API Documentation
|
2833
2866
|
#
|
2834
2867
|
class UpdatePolicyStoreInput < Struct.new(
|
2835
2868
|
:policy_store_id,
|
2836
|
-
:validation_settings
|
2837
|
-
|
2869
|
+
:validation_settings,
|
2870
|
+
:description)
|
2871
|
+
SENSITIVE = [:description]
|
2838
2872
|
include Aws::Structure
|
2839
2873
|
end
|
2840
2874
|
|