aws-sdk-verifiedpermissions 1.65.0 → 1.66.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: de6327898505d960a11fc6c18b1338311da8ae060d272f6c9efbb30ddb32c393
4
- data.tar.gz: 7adca25d2dd2fd8086269a481a52a674d07d2656cd1ffd52ae3d904290d3b1cd
3
+ metadata.gz: 2c776a76b6eaf90af78de6e6c9b7334cd8db300834bfa625cc922d9d2899a9c4
4
+ data.tar.gz: eff885e8df7d9ce27b551af7e73edaef657742a58181c9788ee50c3c2e439094
5
5
  SHA512:
6
- metadata.gz: ff1286a001d9242225a5034ed5f2a57f778cb096f6d15b98e92df66f4fb2b6da0e1a6572e57c68aa9ed066bfede341430a074a4e9550302bb8edd6c88ad680e1
7
- data.tar.gz: '04882e419d8e336409d9f4b9bf3256c5370c8dbfd66af91ed743b1dafcb045be4ca153ebfeea78a13e09915d7e559d89a5b19fdc9adeea0fde6feb60f6da2b26'
6
+ metadata.gz: cd64b54226d9d4b534263eb2d458770f66d6292e4c8b0553e7cb17a3e91fe81380e2d722c9223def4676516e6d862591e8fc9d9d7e62e28ec4b63ec336b7456e
7
+ data.tar.gz: e6ba87c26640420c540e4252f9bcdb953ac9ad68ee3ca5edb03bd9680510a54e77800d891a50c31671766bed261dac3cb94fec1c95ee810b2bf370c9f4b796d7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.66.0 (2026-05-21)
5
+ ------------------
6
+
7
+ * Feature - Support hard deleting policy store aliases. Users can now delete an alias and immediately reassign it to a different policy store without waiting for the soft-delete retention period.
8
+
4
9
  1.65.0 (2026-05-19)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.65.0
1
+ 1.66.0
@@ -199,7 +199,7 @@ module Aws::VerifiedPermissions
199
199
  # the required types.
200
200
  #
201
201
  # @option options [Boolean] :correct_clock_skew (true)
202
- # Used only in `standard` and adaptive retry modes. Specifies whether to apply
202
+ # Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
203
203
  # a clock skew correction and retry requests with skewed client clocks.
204
204
  #
205
205
  # @option options [String] :defaults_mode ("legacy")
@@ -323,17 +323,15 @@ module Aws::VerifiedPermissions
323
323
  # @option options [String] :retry_mode ("legacy")
324
324
  # Specifies which retry algorithm to use. Values are:
325
325
  #
326
- # * `legacy` - The pre-existing retry behavior. This is default value if
327
- # no retry mode is provided.
326
+ # * `legacy` - The pre-existing retry behavior. This is the default
327
+ # value if no retry mode is provided.
328
328
  #
329
329
  # * `standard` - A standardized set of retry rules across the AWS SDKs.
330
330
  # This includes support for retry quotas, which limit the number of
331
331
  # unsuccessful retries a client can make.
332
332
  #
333
- # * `adaptive` - An experimental retry mode that includes all the
334
- # functionality of `standard` mode along with automatic client side
335
- # throttling. This is a provisional mode that may change behavior
336
- # in the future.
333
+ # * `adaptive` - A retry mode that includes all the functionality of
334
+ # `standard` mode along with automatic client side throttling.
337
335
  #
338
336
  # @option options [String] :sdk_ua_app_id
339
337
  # A unique and opaque application ID that is appended to the
@@ -1733,8 +1731,8 @@ module Aws::VerifiedPermissions
1733
1731
  # Creates a policy store. A policy store is a container for policy
1734
1732
  # resources.
1735
1733
  #
1736
- # <note markdown="1"> Although [Cedar supports multiple namespaces][1], Verified Permissions
1737
- # currently supports only one namespace per policy store.
1734
+ # <note markdown="1"> As of May 2026, Verified Permissions has aligned with Cedar and now
1735
+ # supports multiple namespaces.
1738
1736
  #
1739
1737
  # </note>
1740
1738
  #
@@ -1746,10 +1744,6 @@ module Aws::VerifiedPermissions
1746
1744
  #
1747
1745
  # </note>
1748
1746
  #
1749
- #
1750
- #
1751
- # [1]: https://docs.cedarpolicy.com/schema/schema.html#namespace
1752
- #
1753
1747
  # @option params [String] :client_token
1754
1748
  # Specifies a unique, case-sensitive ID that you provide to ensure the
1755
1749
  # idempotency of the request. This lets you safely retry the request
@@ -2296,11 +2290,22 @@ module Aws::VerifiedPermissions
2296
2290
  # does not exist, the request response will still return a successful
2297
2291
  # HTTP 200 status code.
2298
2292
  #
2299
- # When a policy store alias is deleted, it enters the `PendingDeletion`
2300
- # state. When a policy store alias is in the `PendingDeletion` state,
2301
- # new policy store aliases cannot be created with the same name. If the
2302
- # policy store alias is used in an API that has a `policyStoreId` field,
2303
- # the operation will fail with a `ResourceNotFound` exception.
2293
+ # By default, when a policy store alias is deleted, it enters the
2294
+ # `PendingDeletion` state. When a policy store alias is in the
2295
+ # `PendingDeletion` state, new policy store aliases cannot be created
2296
+ # with the same name. If the policy store alias is used in an API that
2297
+ # has a `policyStoreId` field, the operation will fail with a
2298
+ # `ResourceNotFound` exception.
2299
+ #
2300
+ # To immediately delete a policy store alias and bypass the
2301
+ # `PendingDeletion` state, set the `deletionMode` parameter to
2302
+ # `HardDelete`.
2303
+ #
2304
+ # Verified Permissions is eventually consistent. If you hard delete a
2305
+ # policy store alias and then immediately recreate it to be associated
2306
+ # with a different policy store, requests that reference this alias may
2307
+ # continue to be evaluated against the previously associated policy
2308
+ # store for a short period of time.
2304
2309
  #
2305
2310
  # @option params [required, String] :alias_name
2306
2311
  # Specifies the name of the policy store alias that you want to delete.
@@ -2309,12 +2314,24 @@ module Aws::VerifiedPermissions
2309
2314
  #
2310
2315
  # </note>
2311
2316
  #
2317
+ # @option params [String] :deletion_mode
2318
+ # Specifies the deletion mode for the policy store alias. The valid
2319
+ # values are:
2320
+ #
2321
+ # * **SoftDelete** – The policy store alias enters the `PendingDeletion`
2322
+ # state. This is the default behavior when no `deletionMode` is
2323
+ # specified.
2324
+ #
2325
+ # * **HardDelete** – The policy store alias is immediately deleted,
2326
+ # bypassing the `PendingDeletion` state.
2327
+ #
2312
2328
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2313
2329
  #
2314
2330
  #
2315
- # @example Example: DeletePolicyStoreAlias
2331
+ # @example Example: Soft delete a policy store alias
2316
2332
  #
2317
- # # The following example deletes the policy store alias with name example-policy-store.
2333
+ # # The following example soft deletes the policy store alias with name example-policy-store. The alias enters the
2334
+ # # PendingDeletion state.
2318
2335
  #
2319
2336
  # resp = client.delete_policy_store_alias({
2320
2337
  # alias_name: "policy-store-alias/example-policy-store",
@@ -2324,10 +2341,25 @@ module Aws::VerifiedPermissions
2324
2341
  # {
2325
2342
  # }
2326
2343
  #
2344
+ # @example Example: Hard delete a policy store alias
2345
+ #
2346
+ # # The following example hard deletes the policy store alias with name example-policy-store. The alias is immediately
2347
+ # # deleted, bypassing the PendingDeletion state.
2348
+ #
2349
+ # resp = client.delete_policy_store_alias({
2350
+ # alias_name: "policy-store-alias/example-policy-store",
2351
+ # deletion_mode: "HardDelete",
2352
+ # })
2353
+ #
2354
+ # resp.to_h outputs the following:
2355
+ # {
2356
+ # }
2357
+ #
2327
2358
  # @example Request syntax with placeholder values
2328
2359
  #
2329
2360
  # resp = client.delete_policy_store_alias({
2330
2361
  # alias_name: "Alias", # required
2362
+ # deletion_mode: "SoftDelete", # accepts SoftDelete, HardDelete
2331
2363
  # })
2332
2364
  #
2333
2365
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/DeletePolicyStoreAlias AWS API Documentation
@@ -3086,7 +3118,7 @@ module Aws::VerifiedPermissions
3086
3118
  #
3087
3119
  # resp = client.is_authorized({
3088
3120
  # action: {
3089
- # action_id: "view",
3121
+ # action_id: "updatePhoto",
3090
3122
  # action_type: "Action",
3091
3123
  # },
3092
3124
  # policy_store_id: "C7v5xMplfFH3i3e4Jrzb1a",
@@ -5001,7 +5033,7 @@ module Aws::VerifiedPermissions
5001
5033
  tracer: tracer
5002
5034
  )
5003
5035
  context[:gem_name] = 'aws-sdk-verifiedpermissions'
5004
- context[:gem_version] = '1.65.0'
5036
+ context[:gem_version] = '1.66.0'
5005
5037
  Seahorse::Client::Request.new(handlers, context)
5006
5038
  end
5007
5039
 
@@ -91,6 +91,7 @@ module Aws::VerifiedPermissions
91
91
  DeletePolicyStoreOutput = Shapes::StructureShape.new(name: 'DeletePolicyStoreOutput')
92
92
  DeletePolicyTemplateInput = Shapes::StructureShape.new(name: 'DeletePolicyTemplateInput')
93
93
  DeletePolicyTemplateOutput = Shapes::StructureShape.new(name: 'DeletePolicyTemplateOutput')
94
+ DeletionMode = Shapes::StringShape.new(name: 'DeletionMode')
94
95
  DeletionProtection = Shapes::StringShape.new(name: 'DeletionProtection')
95
96
  DeterminingPolicyItem = Shapes::StructureShape.new(name: 'DeterminingPolicyItem')
96
97
  DeterminingPolicyList = Shapes::ListShape.new(name: 'DeterminingPolicyList')
@@ -555,6 +556,7 @@ module Aws::VerifiedPermissions
555
556
  DeletePolicyOutput.struct_class = Types::DeletePolicyOutput
556
557
 
557
558
  DeletePolicyStoreAliasInput.add_member(:alias_name, Shapes::ShapeRef.new(shape: Alias, required: true, location_name: "aliasName"))
559
+ DeletePolicyStoreAliasInput.add_member(:deletion_mode, Shapes::ShapeRef.new(shape: DeletionMode, location_name: "deletionMode"))
558
560
  DeletePolicyStoreAliasInput.struct_class = Types::DeletePolicyStoreAliasInput
559
561
 
560
562
  DeletePolicyStoreAliasOutput.struct_class = Types::DeletePolicyStoreAliasOutput
@@ -1859,10 +1859,23 @@ module Aws::VerifiedPermissions
1859
1859
  # </note>
1860
1860
  # @return [String]
1861
1861
  #
1862
+ # @!attribute [rw] deletion_mode
1863
+ # Specifies the deletion mode for the policy store alias. The valid
1864
+ # values are:
1865
+ #
1866
+ # * **SoftDelete** – The policy store alias enters the
1867
+ # `PendingDeletion` state. This is the default behavior when no
1868
+ # `deletionMode` is specified.
1869
+ #
1870
+ # * **HardDelete** – The policy store alias is immediately deleted,
1871
+ # bypassing the `PendingDeletion` state.
1872
+ # @return [String]
1873
+ #
1862
1874
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/DeletePolicyStoreAliasInput AWS API Documentation
1863
1875
  #
1864
1876
  class DeletePolicyStoreAliasInput < Struct.new(
1865
- :alias_name)
1877
+ :alias_name,
1878
+ :deletion_mode)
1866
1879
  SENSITIVE = []
1867
1880
  include Aws::Structure
1868
1881
  end
@@ -4144,7 +4157,7 @@ module Aws::VerifiedPermissions
4144
4157
  #
4145
4158
  #
4146
4159
  # [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_OpenIdConnectConfigurationItem.html
4147
- # [2]: http://amazonaws.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html
4160
+ # [2]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html
4148
4161
  #
4149
4162
  # @note OpenIdConnectTokenSelectionItem is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of OpenIdConnectTokenSelectionItem corresponding to the set member.
4150
4163
  #
@@ -55,7 +55,7 @@ module Aws::VerifiedPermissions
55
55
  autoload :EndpointProvider, 'aws-sdk-verifiedpermissions/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-verifiedpermissions/endpoints'
57
57
 
58
- GEM_VERSION = '1.65.0'
58
+ GEM_VERSION = '1.66.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -321,7 +321,8 @@ module Aws
321
321
  end
322
322
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#delete_policy_store_alias-instance_method
323
323
  def delete_policy_store_alias: (
324
- alias_name: ::String
324
+ alias_name: ::String,
325
+ ?deletion_mode: ("SoftDelete" | "HardDelete")
325
326
  ) -> _DeletePolicyStoreAliasResponseSuccess
326
327
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePolicyStoreAliasResponseSuccess
327
328
 
data/sig/types.rbs CHANGED
@@ -395,6 +395,7 @@ module Aws::VerifiedPermissions
395
395
 
396
396
  class DeletePolicyStoreAliasInput
397
397
  attr_accessor alias_name: ::String
398
+ attr_accessor deletion_mode: ("SoftDelete" | "HardDelete")
398
399
  SENSITIVE: []
399
400
  end
400
401
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-verifiedpermissions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.65.0
4
+ version: 1.66.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.247.0
21
+ version: 3.248.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.247.0
31
+ version: 3.248.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement