aws-sdk-verifiedpermissions 1.14.0 → 1.15.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: e79b7d5384ee37b5b31b93549926126e7256935d840b4ce474e7670b45a92904
4
- data.tar.gz: a3c57e785e352f4a3f7333da58252e96719a1a872ded681a164bbbf833a66e3f
3
+ metadata.gz: 8bf5f6bcb7b38ea53aba2c59eeec02e168acdb5e7a58cb08cc986cbde3c58096
4
+ data.tar.gz: a66be39c118d451c02deecc4c78421843b04155aac16979567053af645cdf568
5
5
  SHA512:
6
- metadata.gz: 4595f5ffbca2502838f29c27350be8476527f5593651d77ef54b5ece5910a0b78b7fabb42a22a16909517a1b3c19782d5d8f6e8fc3bc9e1d02a02481fd336d54
7
- data.tar.gz: 72db0a8c136509ea493a250c724c582e35016c88c290847c334b15e15d26ba92d493e87835e3de2253b242896e15f0400eed18803967181d90dcb6a08da8dd8e
6
+ metadata.gz: a9b8cc83ec32d37dd1da81a213c921822a119382d4ac5baeed788fd72446e47ce914ecaabeee037525e95d1e9f3a4ee91b40ecbef290276278948ec2c0840fda
7
+ data.tar.gz: 33c863caa58075f54f9f80dd2f87e29c08d25333cdb322d754dc61b244e9803b9eee9f9d71d5b1efc7ce34ff004723ec7be490d9d8eccccc55c48d99174e165c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.15.0 (2023-12-01)
5
+ ------------------
6
+
7
+ * Feature - Adds description field to PolicyStore API's and namespaces field to GetSchema.
8
+
4
9
  1.14.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.14.0
1
+ 1.15.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&lt;String&gt;
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.14.0'
2217
+ context[:gem_version] = '1.15.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"))
@@ -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
- SENSITIVE = []
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
- SENSITIVE = []
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
- SENSITIVE = []
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
- SENSITIVE = []
2869
+ :validation_settings,
2870
+ :description)
2871
+ SENSITIVE = [:description]
2838
2872
  include Aws::Structure
2839
2873
  end
2840
2874
 
@@ -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.14.0'
56
+ GEM_VERSION = '1.15.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.14.0
4
+ version: 1.15.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-11-28 00:00:00.000000000 Z
11
+ date: 2023-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core