aws-sdk-verifiedpermissions 1.19.0 → 1.21.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: 41ef019fc552dd6626faca87c604b2cd2cd0b13692e009f58e9de726acef3ef3
4
- data.tar.gz: 76e66a78cfd4c1b5b5b74a38bddbaa1e2a189135e8f1946d903b3667fcb8fdf5
3
+ metadata.gz: c5c83779d1c7d45e460a9c39919be1ec65dd857d156ca27bc6914618d14ebb8a
4
+ data.tar.gz: 8acf13c67b1678ea3b916586c45253de5d020b21e37227bd314ec796b54cac13
5
5
  SHA512:
6
- metadata.gz: acaaa4a7d0b3f7e070f2c4698ca8a01d05eed0e24895a31986988b91e774c92dee3699be18d1b05715c57e9ccc5ae61c26affe541dc511885116b714105cfae7
7
- data.tar.gz: 45e7982d0a52044b48edfd68082997fab982e3b5a236ac9aed1aaf4e0b84c86935fc32e5cf809ebec0403e4c0e559a59cb06eaba5919a6c0571cc4fa80b5f300
6
+ metadata.gz: 85d9eba1fafaf95a75bfa9760026cdd9dc7ddf381efc93fd3678728e3ae698d7111e08bd04798179f5d51ee9aae85ffa3b17f67ce627f38f8413e9148e21d57c
7
+ data.tar.gz: a33adf6d6866c2b03310634b02bc19e9d7ce998b5bd31c0550efada1f5d87db53065576cbf7115a84022817917a80c44e50ff8a407917b6146a38c33a1bdb436
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.21.0 (2024-05-09)
5
+ ------------------
6
+
7
+ * Feature - Adds policy effect and actions fields to Policy API's.
8
+
9
+ 1.20.0 (2024-04-25)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.19.0 (2024-04-05)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.19.0
1
+ 1.21.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::VerifiedPermissions
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::VerifiedPermissions
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -347,50 +356,65 @@ module Aws::VerifiedPermissions
347
356
  # @option options [Aws::VerifiedPermissions::EndpointProvider] :endpoint_provider
348
357
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::VerifiedPermissions::EndpointParameters`
349
358
  #
350
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
351
- # requests through. Formatted like 'http://proxy.com:123'.
352
- #
353
- # @option options [Float] :http_open_timeout (15) The number of
354
- # seconds to wait when opening a HTTP session before raising a
355
- # `Timeout::Error`.
356
- #
357
- # @option options [Float] :http_read_timeout (60) The default
358
- # number of seconds to wait for response data. This value can
359
- # safely be set per-request on the session.
360
- #
361
- # @option options [Float] :http_idle_timeout (5) The number of
362
- # seconds a connection is allowed to sit idle before it is
363
- # considered stale. Stale connections are closed and removed
364
- # from the pool before making a request.
365
- #
366
- # @option options [Float] :http_continue_timeout (1) The number of
367
- # seconds to wait for a 100-continue response before sending the
368
- # request body. This option has no effect unless the request has
369
- # "Expect" header set to "100-continue". Defaults to `nil` which
370
- # disables this behaviour. This value can safely be set per
371
- # request on the session.
372
- #
373
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
374
- # in seconds.
359
+ # @option options [Float] :http_continue_timeout (1)
360
+ # The number of seconds to wait for a 100-continue response before sending the
361
+ # request body. This option has no effect unless the request has "Expect"
362
+ # header set to "100-continue". Defaults to `nil` which disables this
363
+ # behaviour. This value can safely be set per request on the session.
364
+ #
365
+ # @option options [Float] :http_idle_timeout (5)
366
+ # The number of seconds a connection is allowed to sit idle before it
367
+ # is considered stale. Stale connections are closed and removed from the
368
+ # pool before making a request.
369
+ #
370
+ # @option options [Float] :http_open_timeout (15)
371
+ # The default number of seconds to wait for response data.
372
+ # This value can safely be set per-request on the session.
373
+ #
374
+ # @option options [URI::HTTP,String] :http_proxy
375
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
376
+ #
377
+ # @option options [Float] :http_read_timeout (60)
378
+ # The default number of seconds to wait for response data.
379
+ # This value can safely be set per-request on the session.
380
+ #
381
+ # @option options [Boolean] :http_wire_trace (false)
382
+ # When `true`, HTTP debug output will be sent to the `:logger`.
383
+ #
384
+ # @option options [Proc] :on_chunk_received
385
+ # When a Proc object is provided, it will be used as callback when each chunk
386
+ # of the response body is received. It provides three arguments: the chunk,
387
+ # the number of bytes received, and the total number of
388
+ # bytes in the response (or nil if the server did not send a `content-length`).
389
+ #
390
+ # @option options [Proc] :on_chunk_sent
391
+ # When a Proc object is provided, it will be used as callback when each chunk
392
+ # of the request body is sent. It provides three arguments: the chunk,
393
+ # the number of bytes read from the body, and the total number of
394
+ # bytes in the body.
395
+ #
396
+ # @option options [Boolean] :raise_response_errors (true)
397
+ # When `true`, response errors are raised.
398
+ #
399
+ # @option options [String] :ssl_ca_bundle
400
+ # Full path to the SSL certificate authority bundle file that should be used when
401
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
402
+ # `:ssl_ca_directory` the the system default will be used if available.
403
+ #
404
+ # @option options [String] :ssl_ca_directory
405
+ # Full path of the directory that contains the unbundled SSL certificate
406
+ # authority files for verifying peer certificates. If you do
407
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
408
+ # default will be used if available.
375
409
  #
376
- # @option options [Boolean] :http_wire_trace (false) When `true`,
377
- # HTTP debug output will be sent to the `:logger`.
410
+ # @option options [String] :ssl_ca_store
411
+ # Sets the X509::Store to verify peer certificate.
378
412
  #
379
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
380
- # SSL peer certificates are verified when establishing a
381
- # connection.
413
+ # @option options [Float] :ssl_timeout
414
+ # Sets the SSL timeout in seconds
382
415
  #
383
- # @option options [String] :ssl_ca_bundle Full path to the SSL
384
- # certificate authority bundle file that should be used when
385
- # verifying peer certificates. If you do not pass
386
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
387
- # will be used if available.
388
- #
389
- # @option options [String] :ssl_ca_directory Full path of the
390
- # directory that contains the unbundled SSL certificate
391
- # authority files for verifying peer certificates. If you do
392
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
393
- # system default will be used if available.
416
+ # @option options [Boolean] :ssl_verify_peer (true)
417
+ # When `true`, SSL peer certificates are verified when establishing a connection.
394
418
  #
395
419
  def initialize(*args)
396
420
  super
@@ -868,8 +892,10 @@ module Aws::VerifiedPermissions
868
892
  # * {Types::CreatePolicyOutput#policy_type #policy_type} => String
869
893
  # * {Types::CreatePolicyOutput#principal #principal} => Types::EntityIdentifier
870
894
  # * {Types::CreatePolicyOutput#resource #resource} => Types::EntityIdentifier
895
+ # * {Types::CreatePolicyOutput#actions #actions} => Array<Types::ActionIdentifier>
871
896
  # * {Types::CreatePolicyOutput#created_date #created_date} => Time
872
897
  # * {Types::CreatePolicyOutput#last_updated_date #last_updated_date} => Time
898
+ # * {Types::CreatePolicyOutput#effect #effect} => String
873
899
  #
874
900
  # @example Request syntax with placeholder values
875
901
  #
@@ -904,8 +930,12 @@ module Aws::VerifiedPermissions
904
930
  # resp.principal.entity_id #=> String
905
931
  # resp.resource.entity_type #=> String
906
932
  # resp.resource.entity_id #=> String
933
+ # resp.actions #=> Array
934
+ # resp.actions[0].action_type #=> String
935
+ # resp.actions[0].action_id #=> String
907
936
  # resp.created_date #=> Time
908
937
  # resp.last_updated_date #=> Time
938
+ # resp.effect #=> String, one of "Permit", "Forbid"
909
939
  #
910
940
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CreatePolicy AWS API Documentation
911
941
  #
@@ -1293,9 +1323,11 @@ module Aws::VerifiedPermissions
1293
1323
  # * {Types::GetPolicyOutput#policy_type #policy_type} => String
1294
1324
  # * {Types::GetPolicyOutput#principal #principal} => Types::EntityIdentifier
1295
1325
  # * {Types::GetPolicyOutput#resource #resource} => Types::EntityIdentifier
1326
+ # * {Types::GetPolicyOutput#actions #actions} => Array<Types::ActionIdentifier>
1296
1327
  # * {Types::GetPolicyOutput#definition #definition} => Types::PolicyDefinitionDetail
1297
1328
  # * {Types::GetPolicyOutput#created_date #created_date} => Time
1298
1329
  # * {Types::GetPolicyOutput#last_updated_date #last_updated_date} => Time
1330
+ # * {Types::GetPolicyOutput#effect #effect} => String
1299
1331
  #
1300
1332
  # @example Request syntax with placeholder values
1301
1333
  #
@@ -1313,6 +1345,9 @@ module Aws::VerifiedPermissions
1313
1345
  # resp.principal.entity_id #=> String
1314
1346
  # resp.resource.entity_type #=> String
1315
1347
  # resp.resource.entity_id #=> String
1348
+ # resp.actions #=> Array
1349
+ # resp.actions[0].action_type #=> String
1350
+ # resp.actions[0].action_id #=> String
1316
1351
  # resp.definition.static.description #=> String
1317
1352
  # resp.definition.static.statement #=> String
1318
1353
  # resp.definition.template_linked.policy_template_id #=> String
@@ -1322,6 +1357,7 @@ module Aws::VerifiedPermissions
1322
1357
  # resp.definition.template_linked.resource.entity_id #=> String
1323
1358
  # resp.created_date #=> Time
1324
1359
  # resp.last_updated_date #=> Time
1360
+ # resp.effect #=> String, one of "Permit", "Forbid"
1325
1361
  #
1326
1362
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/GetPolicy AWS API Documentation
1327
1363
  #
@@ -1723,7 +1759,7 @@ module Aws::VerifiedPermissions
1723
1759
  # every operation to ensure that you receive all of the results.
1724
1760
  #
1725
1761
  # If you do not specify this parameter, the operation defaults to 10
1726
- # identity sources per response. You can specify a maximum of 200
1762
+ # identity sources per response. You can specify a maximum of 50
1727
1763
  # identity sources per response.
1728
1764
  #
1729
1765
  # @option params [Array<Types::IdentitySourceFilter>] :filters
@@ -1855,6 +1891,9 @@ module Aws::VerifiedPermissions
1855
1891
  # resp.policies[0].principal.entity_id #=> String
1856
1892
  # resp.policies[0].resource.entity_type #=> String
1857
1893
  # resp.policies[0].resource.entity_id #=> String
1894
+ # resp.policies[0].actions #=> Array
1895
+ # resp.policies[0].actions[0].action_type #=> String
1896
+ # resp.policies[0].actions[0].action_id #=> String
1858
1897
  # resp.policies[0].definition.static.description #=> String
1859
1898
  # resp.policies[0].definition.template_linked.policy_template_id #=> String
1860
1899
  # resp.policies[0].definition.template_linked.principal.entity_type #=> String
@@ -1863,6 +1902,7 @@ module Aws::VerifiedPermissions
1863
1902
  # resp.policies[0].definition.template_linked.resource.entity_id #=> String
1864
1903
  # resp.policies[0].created_date #=> Time
1865
1904
  # resp.policies[0].last_updated_date #=> Time
1905
+ # resp.policies[0].effect #=> String, one of "Permit", "Forbid"
1866
1906
  #
1867
1907
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/ListPolicies AWS API Documentation
1868
1908
  #
@@ -2210,8 +2250,10 @@ module Aws::VerifiedPermissions
2210
2250
  # * {Types::UpdatePolicyOutput#policy_type #policy_type} => String
2211
2251
  # * {Types::UpdatePolicyOutput#principal #principal} => Types::EntityIdentifier
2212
2252
  # * {Types::UpdatePolicyOutput#resource #resource} => Types::EntityIdentifier
2253
+ # * {Types::UpdatePolicyOutput#actions #actions} => Array&lt;Types::ActionIdentifier&gt;
2213
2254
  # * {Types::UpdatePolicyOutput#created_date #created_date} => Time
2214
2255
  # * {Types::UpdatePolicyOutput#last_updated_date #last_updated_date} => Time
2256
+ # * {Types::UpdatePolicyOutput#effect #effect} => String
2215
2257
  #
2216
2258
  # @example Request syntax with placeholder values
2217
2259
  #
@@ -2235,8 +2277,12 @@ module Aws::VerifiedPermissions
2235
2277
  # resp.principal.entity_id #=> String
2236
2278
  # resp.resource.entity_type #=> String
2237
2279
  # resp.resource.entity_id #=> String
2280
+ # resp.actions #=> Array
2281
+ # resp.actions[0].action_type #=> String
2282
+ # resp.actions[0].action_id #=> String
2238
2283
  # resp.created_date #=> Time
2239
2284
  # resp.last_updated_date #=> Time
2285
+ # resp.effect #=> String, one of "Permit", "Forbid"
2240
2286
  #
2241
2287
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/UpdatePolicy AWS API Documentation
2242
2288
  #
@@ -2394,7 +2440,7 @@ module Aws::VerifiedPermissions
2394
2440
  params: params,
2395
2441
  config: config)
2396
2442
  context[:gem_name] = 'aws-sdk-verifiedpermissions'
2397
- context[:gem_version] = '1.19.0'
2443
+ context[:gem_version] = '1.21.0'
2398
2444
  Seahorse::Client::Request.new(handlers, context)
2399
2445
  end
2400
2446
 
@@ -16,6 +16,7 @@ module Aws::VerifiedPermissions
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
17
  ActionId = Shapes::StringShape.new(name: 'ActionId')
18
18
  ActionIdentifier = Shapes::StructureShape.new(name: 'ActionIdentifier')
19
+ ActionIdentifierList = Shapes::ListShape.new(name: 'ActionIdentifierList')
19
20
  ActionType = Shapes::StringShape.new(name: 'ActionType')
20
21
  AttributeValue = Shapes::UnionShape.new(name: 'AttributeValue')
21
22
  BatchIsAuthorizedInput = Shapes::StructureShape.new(name: 'BatchIsAuthorizedInput')
@@ -120,6 +121,7 @@ module Aws::VerifiedPermissions
120
121
  PolicyDefinition = Shapes::UnionShape.new(name: 'PolicyDefinition')
121
122
  PolicyDefinitionDetail = Shapes::UnionShape.new(name: 'PolicyDefinitionDetail')
122
123
  PolicyDefinitionItem = Shapes::UnionShape.new(name: 'PolicyDefinitionItem')
124
+ PolicyEffect = Shapes::StringShape.new(name: 'PolicyEffect')
123
125
  PolicyFilter = Shapes::StructureShape.new(name: 'PolicyFilter')
124
126
  PolicyId = Shapes::StringShape.new(name: 'PolicyId')
125
127
  PolicyItem = Shapes::StructureShape.new(name: 'PolicyItem')
@@ -186,6 +188,8 @@ module Aws::VerifiedPermissions
186
188
  ActionIdentifier.add_member(:action_id, Shapes::ShapeRef.new(shape: ActionId, required: true, location_name: "actionId"))
187
189
  ActionIdentifier.struct_class = Types::ActionIdentifier
188
190
 
191
+ ActionIdentifierList.member = Shapes::ShapeRef.new(shape: ActionIdentifier)
192
+
189
193
  AttributeValue.add_member(:boolean, Shapes::ShapeRef.new(shape: BooleanAttribute, location_name: "boolean"))
190
194
  AttributeValue.add_member(:entity_identifier, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "entityIdentifier"))
191
195
  AttributeValue.add_member(:long, Shapes::ShapeRef.new(shape: LongAttribute, location_name: "long"))
@@ -333,8 +337,10 @@ module Aws::VerifiedPermissions
333
337
  CreatePolicyOutput.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "policyType"))
334
338
  CreatePolicyOutput.add_member(:principal, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "principal"))
335
339
  CreatePolicyOutput.add_member(:resource, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "resource"))
340
+ CreatePolicyOutput.add_member(:actions, Shapes::ShapeRef.new(shape: ActionIdentifierList, location_name: "actions"))
336
341
  CreatePolicyOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
337
342
  CreatePolicyOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
343
+ CreatePolicyOutput.add_member(:effect, Shapes::ShapeRef.new(shape: PolicyEffect, location_name: "effect"))
338
344
  CreatePolicyOutput.struct_class = Types::CreatePolicyOutput
339
345
 
340
346
  CreatePolicyStoreInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
@@ -443,9 +449,11 @@ module Aws::VerifiedPermissions
443
449
  GetPolicyOutput.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "policyType"))
444
450
  GetPolicyOutput.add_member(:principal, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "principal"))
445
451
  GetPolicyOutput.add_member(:resource, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "resource"))
452
+ GetPolicyOutput.add_member(:actions, Shapes::ShapeRef.new(shape: ActionIdentifierList, location_name: "actions"))
446
453
  GetPolicyOutput.add_member(:definition, Shapes::ShapeRef.new(shape: PolicyDefinitionDetail, required: true, location_name: "definition"))
447
454
  GetPolicyOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
448
455
  GetPolicyOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
456
+ GetPolicyOutput.add_member(:effect, Shapes::ShapeRef.new(shape: PolicyEffect, location_name: "effect"))
449
457
  GetPolicyOutput.struct_class = Types::GetPolicyOutput
450
458
 
451
459
  GetPolicyStoreInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
@@ -616,9 +624,11 @@ module Aws::VerifiedPermissions
616
624
  PolicyItem.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "policyType"))
617
625
  PolicyItem.add_member(:principal, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "principal"))
618
626
  PolicyItem.add_member(:resource, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "resource"))
627
+ PolicyItem.add_member(:actions, Shapes::ShapeRef.new(shape: ActionIdentifierList, location_name: "actions"))
619
628
  PolicyItem.add_member(:definition, Shapes::ShapeRef.new(shape: PolicyDefinitionItem, required: true, location_name: "definition"))
620
629
  PolicyItem.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
621
630
  PolicyItem.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
631
+ PolicyItem.add_member(:effect, Shapes::ShapeRef.new(shape: PolicyEffect, location_name: "effect"))
622
632
  PolicyItem.struct_class = Types::PolicyItem
623
633
 
624
634
  PolicyList.member = Shapes::ShapeRef.new(shape: PolicyItem)
@@ -753,8 +763,10 @@ module Aws::VerifiedPermissions
753
763
  UpdatePolicyOutput.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "policyType"))
754
764
  UpdatePolicyOutput.add_member(:principal, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "principal"))
755
765
  UpdatePolicyOutput.add_member(:resource, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "resource"))
766
+ UpdatePolicyOutput.add_member(:actions, Shapes::ShapeRef.new(shape: ActionIdentifierList, location_name: "actions"))
756
767
  UpdatePolicyOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
757
768
  UpdatePolicyOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
769
+ UpdatePolicyOutput.add_member(:effect, Shapes::ShapeRef.new(shape: PolicyEffect, location_name: "effect"))
758
770
  UpdatePolicyOutput.struct_class = Types::UpdatePolicyOutput
759
771
 
760
772
  UpdatePolicyStoreInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
@@ -808,6 +820,7 @@ module Aws::VerifiedPermissions
808
820
  "endpointPrefix" => "verifiedpermissions",
809
821
  "jsonVersion" => "1.0",
810
822
  "protocol" => "json",
823
+ "protocols" => ["json"],
811
824
  "serviceFullName" => "Amazon Verified Permissions",
812
825
  "serviceId" => "VerifiedPermissions",
813
826
  "signatureVersion" => "v4",
@@ -424,8 +424,8 @@ module Aws::VerifiedPermissions
424
424
  include Aws::Structure
425
425
  end
426
426
 
427
- # A list of user groups and entities from an Amazon Cognito user pool
428
- # identity source.
427
+ # The type of entity that a policy store maps to groups from an Amazon
428
+ # Cognito user pool identity source.
429
429
  #
430
430
  # This data type is part of a [CognitoUserPoolConfiguration][1]
431
431
  # structure and is a request parameter in [CreateIdentitySource][2].
@@ -448,8 +448,8 @@ module Aws::VerifiedPermissions
448
448
  include Aws::Structure
449
449
  end
450
450
 
451
- # A list of user groups and entities from an Amazon Cognito user pool
452
- # identity source.
451
+ # The type of entity that a policy store maps to groups from an Amazon
452
+ # Cognito user pool identity source.
453
453
  #
454
454
  # This data type is part of an [CognitoUserPoolConfigurationDetail][1]
455
455
  # structure and is a response parameter to [GetIdentitySource][2].
@@ -472,8 +472,8 @@ module Aws::VerifiedPermissions
472
472
  include Aws::Structure
473
473
  end
474
474
 
475
- # A list of user groups and entities from an Amazon Cognito user pool
476
- # identity source.
475
+ # The type of entity that a policy store maps to groups from an Amazon
476
+ # Cognito user pool identity source.
477
477
  #
478
478
  # This data type is part of an [CognitoUserPoolConfigurationItem][1]
479
479
  # structure and is a response parameter to [ListIdentitySources][2].
@@ -505,7 +505,8 @@ module Aws::VerifiedPermissions
505
505
  # [CreateIdentitySource][2].
506
506
  #
507
507
  # Example:`"CognitoUserPoolConfiguration":\{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
508
- # ["a1b2c3d4e5f6g7h8i9j0kalbmc"]\}`
508
+ # ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
509
+ # \{"groupEntityType": "MyCorp::Group"\}\}`
509
510
  #
510
511
  #
511
512
  #
@@ -532,8 +533,8 @@ module Aws::VerifiedPermissions
532
533
  # @return [Array<String>]
533
534
  #
534
535
  # @!attribute [rw] group_configuration
535
- # The configuration of the user groups from an Amazon Cognito user
536
- # pool identity source.
536
+ # The type of entity that a policy store maps to groups from an Amazon
537
+ # Cognito user pool identity source.
537
538
  # @return [Types::CognitoGroupConfiguration]
538
539
  #
539
540
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CognitoUserPoolConfiguration AWS API Documentation
@@ -555,7 +556,8 @@ module Aws::VerifiedPermissions
555
556
  # [GetIdentitySource][2].
556
557
  #
557
558
  # Example:`"CognitoUserPoolConfiguration":\{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
558
- # ["a1b2c3d4e5f6g7h8i9j0kalbmc"]\}`
559
+ # ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
560
+ # \{"groupEntityType": "MyCorp::Group"\}\}`
559
561
  #
560
562
  #
561
563
  #
@@ -590,8 +592,8 @@ module Aws::VerifiedPermissions
590
592
  # @return [String]
591
593
  #
592
594
  # @!attribute [rw] group_configuration
593
- # The configuration of the user groups from an Amazon Cognito user
594
- # pool identity source.
595
+ # The type of entity that a policy store maps to groups from an Amazon
596
+ # Cognito user pool identity source.
595
597
  # @return [Types::CognitoGroupConfigurationDetail]
596
598
  #
597
599
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CognitoUserPoolConfigurationDetail AWS API Documentation
@@ -614,7 +616,8 @@ module Aws::VerifiedPermissions
614
616
  # [ListIdentitySources][2].
615
617
  #
616
618
  # Example:`"CognitoUserPoolConfiguration":\{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
617
- # ["a1b2c3d4e5f6g7h8i9j0kalbmc"]\}`
619
+ # ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
620
+ # \{"groupEntityType": "MyCorp::Group"\}\}`
618
621
  #
619
622
  #
620
623
  #
@@ -649,8 +652,8 @@ module Aws::VerifiedPermissions
649
652
  # @return [String]
650
653
  #
651
654
  # @!attribute [rw] group_configuration
652
- # The configuration of the user groups from an Amazon Cognito user
653
- # pool identity source.
655
+ # The type of entity that a policy store maps to groups from an Amazon
656
+ # Cognito user pool identity source.
654
657
  # @return [Types::CognitoGroupConfigurationItem]
655
658
  #
656
659
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CognitoUserPoolConfigurationItem AWS API Documentation
@@ -670,7 +673,7 @@ module Aws::VerifiedPermissions
670
673
  # <note markdown="1"> At this time, the only valid member of this structure is a Amazon
671
674
  # Cognito user pool configuration.
672
675
  #
673
- # You must specify a `userPoolArn`, and optionally, a `ClientId`.
676
+ # Specifies a `userPoolArn`, a `groupConfiguration`, and a `ClientId`.
674
677
  #
675
678
  # </note>
676
679
  #
@@ -727,7 +730,8 @@ module Aws::VerifiedPermissions
727
730
  # Contains configuration details of a Amazon Cognito user pool that
728
731
  # Verified Permissions can use as a source of authenticated identities
729
732
  # as entities. It specifies the [Amazon Resource Name (ARN)][1] of a
730
- # Amazon Cognito user pool and one or more application client IDs.
733
+ # Amazon Cognito user pool, the policy store entity that you want to
734
+ # assign to user groups, and one or more application client IDs.
731
735
  #
732
736
  # Example:
733
737
  # `"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
@@ -767,7 +771,8 @@ module Aws::VerifiedPermissions
767
771
  # Contains configuration details of a Amazon Cognito user pool that
768
772
  # Verified Permissions can use as a source of authenticated identities
769
773
  # as entities. It specifies the [Amazon Resource Name (ARN)][1] of a
770
- # Amazon Cognito user pool and one or more application client IDs.
774
+ # Amazon Cognito user pool, the policy store entity that you want to
775
+ # assign to user groups, and one or more application client IDs.
771
776
  #
772
777
  # Example:
773
778
  # `"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
@@ -1018,6 +1023,13 @@ module Aws::VerifiedPermissions
1018
1023
  # policy content.
1019
1024
  # @return [Types::EntityIdentifier]
1020
1025
  #
1026
+ # @!attribute [rw] actions
1027
+ # The action that a policy permits or forbids. For example,
1028
+ # `\{"actions": [\{"actionId": "ViewPhoto", "actionType":
1029
+ # "PhotoFlash::Action"\}, \{"entityID": "SharePhoto", "entityType":
1030
+ # "PhotoFlash::Action"\}]\}`.
1031
+ # @return [Array<Types::ActionIdentifier>]
1032
+ #
1021
1033
  # @!attribute [rw] created_date
1022
1034
  # The date and time the policy was originally created.
1023
1035
  # @return [Time]
@@ -1026,6 +1038,11 @@ module Aws::VerifiedPermissions
1026
1038
  # The date and time the policy was last updated.
1027
1039
  # @return [Time]
1028
1040
  #
1041
+ # @!attribute [rw] effect
1042
+ # The effect of the decision that a policy returns to an authorization
1043
+ # request. For example, `"effect": "Permit"`.
1044
+ # @return [String]
1045
+ #
1029
1046
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CreatePolicyOutput AWS API Documentation
1030
1047
  #
1031
1048
  class CreatePolicyOutput < Struct.new(
@@ -1034,8 +1051,10 @@ module Aws::VerifiedPermissions
1034
1051
  :policy_type,
1035
1052
  :principal,
1036
1053
  :resource,
1054
+ :actions,
1037
1055
  :created_date,
1038
- :last_updated_date)
1056
+ :last_updated_date,
1057
+ :effect)
1039
1058
  SENSITIVE = []
1040
1059
  include Aws::Structure
1041
1060
  end
@@ -1591,6 +1610,13 @@ module Aws::VerifiedPermissions
1591
1610
  # policy content.
1592
1611
  # @return [Types::EntityIdentifier]
1593
1612
  #
1613
+ # @!attribute [rw] actions
1614
+ # The action that a policy permits or forbids. For example,
1615
+ # `\{"actions": [\{"actionId": "ViewPhoto", "actionType":
1616
+ # "PhotoFlash::Action"\}, \{"entityID": "SharePhoto", "entityType":
1617
+ # "PhotoFlash::Action"\}]\}`.
1618
+ # @return [Array<Types::ActionIdentifier>]
1619
+ #
1594
1620
  # @!attribute [rw] definition
1595
1621
  # The definition of the requested policy.
1596
1622
  # @return [Types::PolicyDefinitionDetail]
@@ -1603,6 +1629,11 @@ module Aws::VerifiedPermissions
1603
1629
  # The date and time that the policy was last updated.
1604
1630
  # @return [Time]
1605
1631
  #
1632
+ # @!attribute [rw] effect
1633
+ # The effect of the decision that a policy returns to an authorization
1634
+ # request. For example, `"effect": "Permit"`.
1635
+ # @return [String]
1636
+ #
1606
1637
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/GetPolicyOutput AWS API Documentation
1607
1638
  #
1608
1639
  class GetPolicyOutput < Struct.new(
@@ -1611,9 +1642,11 @@ module Aws::VerifiedPermissions
1611
1642
  :policy_type,
1612
1643
  :principal,
1613
1644
  :resource,
1645
+ :actions,
1614
1646
  :definition,
1615
1647
  :created_date,
1616
- :last_updated_date)
1648
+ :last_updated_date,
1649
+ :effect)
1617
1650
  SENSITIVE = []
1618
1651
  include Aws::Structure
1619
1652
  end
@@ -2179,7 +2212,7 @@ module Aws::VerifiedPermissions
2179
2212
  # the results.
2180
2213
  #
2181
2214
  # If you do not specify this parameter, the operation defaults to 10
2182
- # identity sources per response. You can specify a maximum of 200
2215
+ # identity sources per response. You can specify a maximum of 50
2183
2216
  # identity sources per response.
2184
2217
  # @return [Integer]
2185
2218
  #
@@ -2600,6 +2633,13 @@ module Aws::VerifiedPermissions
2600
2633
  # The resource associated with the policy.
2601
2634
  # @return [Types::EntityIdentifier]
2602
2635
  #
2636
+ # @!attribute [rw] actions
2637
+ # The action that a policy permits or forbids. For example,
2638
+ # `\{"actions": [\{"actionId": "ViewPhoto", "actionType":
2639
+ # "PhotoFlash::Action"\}, \{"entityID": "SharePhoto", "entityType":
2640
+ # "PhotoFlash::Action"\}]\}`.
2641
+ # @return [Array<Types::ActionIdentifier>]
2642
+ #
2603
2643
  # @!attribute [rw] definition
2604
2644
  # The policy definition of an item in the list of policies returned.
2605
2645
  # @return [Types::PolicyDefinitionItem]
@@ -2612,6 +2652,11 @@ module Aws::VerifiedPermissions
2612
2652
  # The date and time the policy was most recently updated.
2613
2653
  # @return [Time]
2614
2654
  #
2655
+ # @!attribute [rw] effect
2656
+ # The effect of the decision that a policy returns to an authorization
2657
+ # request. For example, `"effect": "Permit"`.
2658
+ # @return [String]
2659
+ #
2615
2660
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/PolicyItem AWS API Documentation
2616
2661
  #
2617
2662
  class PolicyItem < Struct.new(
@@ -2620,9 +2665,11 @@ module Aws::VerifiedPermissions
2620
2665
  :policy_type,
2621
2666
  :principal,
2622
2667
  :resource,
2668
+ :actions,
2623
2669
  :definition,
2624
2670
  :created_date,
2625
- :last_updated_date)
2671
+ :last_updated_date,
2672
+ :effect)
2626
2673
  SENSITIVE = []
2627
2674
  include Aws::Structure
2628
2675
  end
@@ -3067,8 +3114,8 @@ module Aws::VerifiedPermissions
3067
3114
  include Aws::Structure
3068
3115
  end
3069
3116
 
3070
- # A list of user groups and entities from an Amazon Cognito user pool
3071
- # identity source.
3117
+ # The user group entities from an Amazon Cognito user pool identity
3118
+ # source.
3072
3119
  #
3073
3120
  # @!attribute [rw] group_entity_type
3074
3121
  # The name of the schema entity type that's mapped to the user pool
@@ -3311,6 +3358,13 @@ module Aws::VerifiedPermissions
3311
3358
  # policy content.
3312
3359
  # @return [Types::EntityIdentifier]
3313
3360
  #
3361
+ # @!attribute [rw] actions
3362
+ # The action that a policy permits or forbids. For example,
3363
+ # `\{"actions": [\{"actionId": "ViewPhoto", "actionType":
3364
+ # "PhotoFlash::Action"\}, \{"entityID": "SharePhoto", "entityType":
3365
+ # "PhotoFlash::Action"\}]\}`.
3366
+ # @return [Array<Types::ActionIdentifier>]
3367
+ #
3314
3368
  # @!attribute [rw] created_date
3315
3369
  # The date and time that the policy was originally created.
3316
3370
  # @return [Time]
@@ -3319,6 +3373,11 @@ module Aws::VerifiedPermissions
3319
3373
  # The date and time that the policy was most recently updated.
3320
3374
  # @return [Time]
3321
3375
  #
3376
+ # @!attribute [rw] effect
3377
+ # The effect of the decision that a policy returns to an authorization
3378
+ # request. For example, `"effect": "Permit"`.
3379
+ # @return [String]
3380
+ #
3322
3381
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/UpdatePolicyOutput AWS API Documentation
3323
3382
  #
3324
3383
  class UpdatePolicyOutput < Struct.new(
@@ -3327,8 +3386,10 @@ module Aws::VerifiedPermissions
3327
3386
  :policy_type,
3328
3387
  :principal,
3329
3388
  :resource,
3389
+ :actions,
3330
3390
  :created_date,
3331
- :last_updated_date)
3391
+ :last_updated_date,
3392
+ :effect)
3332
3393
  SENSITIVE = []
3333
3394
  include Aws::Structure
3334
3395
  end
@@ -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.19.0'
56
+ GEM_VERSION = '1.21.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -195,8 +195,10 @@ module Aws
195
195
  def policy_type: () -> ("STATIC" | "TEMPLATE_LINKED")
196
196
  def principal: () -> Types::EntityIdentifier
197
197
  def resource: () -> Types::EntityIdentifier
198
+ def actions: () -> ::Array[Types::ActionIdentifier]
198
199
  def created_date: () -> ::Time
199
200
  def last_updated_date: () -> ::Time
201
+ def effect: () -> ("Permit" | "Forbid")
200
202
  end
201
203
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#create_policy-instance_method
202
204
  def create_policy: (
@@ -318,9 +320,11 @@ module Aws
318
320
  def policy_type: () -> ("STATIC" | "TEMPLATE_LINKED")
319
321
  def principal: () -> Types::EntityIdentifier
320
322
  def resource: () -> Types::EntityIdentifier
323
+ def actions: () -> ::Array[Types::ActionIdentifier]
321
324
  def definition: () -> Types::PolicyDefinitionDetail
322
325
  def created_date: () -> ::Time
323
326
  def last_updated_date: () -> ::Time
327
+ def effect: () -> ("Permit" | "Forbid")
324
328
  end
325
329
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#get_policy-instance_method
326
330
  def get_policy: (
@@ -582,8 +586,10 @@ module Aws
582
586
  def policy_type: () -> ("STATIC" | "TEMPLATE_LINKED")
583
587
  def principal: () -> Types::EntityIdentifier
584
588
  def resource: () -> Types::EntityIdentifier
589
+ def actions: () -> ::Array[Types::ActionIdentifier]
585
590
  def created_date: () -> ::Time
586
591
  def last_updated_date: () -> ::Time
592
+ def effect: () -> ("Permit" | "Forbid")
587
593
  end
588
594
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#update_policy-instance_method
589
595
  def update_policy: (
data/sig/types.rbs CHANGED
@@ -220,8 +220,10 @@ module Aws::VerifiedPermissions
220
220
  attr_accessor policy_type: ("STATIC" | "TEMPLATE_LINKED")
221
221
  attr_accessor principal: Types::EntityIdentifier
222
222
  attr_accessor resource: Types::EntityIdentifier
223
+ attr_accessor actions: ::Array[Types::ActionIdentifier]
223
224
  attr_accessor created_date: ::Time
224
225
  attr_accessor last_updated_date: ::Time
226
+ attr_accessor effect: ("Permit" | "Forbid")
225
227
  SENSITIVE: []
226
228
  end
227
229
 
@@ -368,9 +370,11 @@ module Aws::VerifiedPermissions
368
370
  attr_accessor policy_type: ("STATIC" | "TEMPLATE_LINKED")
369
371
  attr_accessor principal: Types::EntityIdentifier
370
372
  attr_accessor resource: Types::EntityIdentifier
373
+ attr_accessor actions: ::Array[Types::ActionIdentifier]
371
374
  attr_accessor definition: Types::PolicyDefinitionDetail
372
375
  attr_accessor created_date: ::Time
373
376
  attr_accessor last_updated_date: ::Time
377
+ attr_accessor effect: ("Permit" | "Forbid")
374
378
  SENSITIVE: []
375
379
  end
376
380
 
@@ -601,9 +605,11 @@ module Aws::VerifiedPermissions
601
605
  attr_accessor policy_type: ("STATIC" | "TEMPLATE_LINKED")
602
606
  attr_accessor principal: Types::EntityIdentifier
603
607
  attr_accessor resource: Types::EntityIdentifier
608
+ attr_accessor actions: ::Array[Types::ActionIdentifier]
604
609
  attr_accessor definition: Types::PolicyDefinitionItem
605
610
  attr_accessor created_date: ::Time
606
611
  attr_accessor last_updated_date: ::Time
612
+ attr_accessor effect: ("Permit" | "Forbid")
607
613
  SENSITIVE: []
608
614
  end
609
615
 
@@ -780,8 +786,10 @@ module Aws::VerifiedPermissions
780
786
  attr_accessor policy_type: ("STATIC" | "TEMPLATE_LINKED")
781
787
  attr_accessor principal: Types::EntityIdentifier
782
788
  attr_accessor resource: Types::EntityIdentifier
789
+ attr_accessor actions: ::Array[Types::ActionIdentifier]
783
790
  attr_accessor created_date: ::Time
784
791
  attr_accessor last_updated_date: ::Time
792
+ attr_accessor effect: ("Permit" | "Forbid")
785
793
  SENSITIVE: []
786
794
  end
787
795
 
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.19.0
4
+ version: 1.21.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: 2024-04-05 00:00:00.000000000 Z
11
+ date: 2024-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.191.0
22
+ version: 3.193.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement