aws-sdk-verifiedpermissions 1.35.0 → 1.37.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 +130 -1
- data/lib/aws-sdk-verifiedpermissions/client_api.rb +58 -0
- data/lib/aws-sdk-verifiedpermissions/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-verifiedpermissions/endpoints.rb +2 -284
- data/lib/aws-sdk-verifiedpermissions/plugins/endpoints.rb +1 -58
- data/lib/aws-sdk-verifiedpermissions/types.rb +202 -47
- data/lib/aws-sdk-verifiedpermissions.rb +2 -2
- data/sig/client.rbs +16 -0
- data/sig/types.rbs +42 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d08a306115a1686645ad54457fc1e969b50aebb602f8dbe28bd057862f68d3a4
|
4
|
+
data.tar.gz: c4b8c00be8ea3c6544a183ab5c7d56589b38d0829b7bf6b1c7503da5cefd9198
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30afc8bc4b5af061b02c6aca31134fca5a08ac00b7094b48cf8aa194743aa4576e7f3a8064abd64ea13141a129a2c1e345e449b2d183d02f97f1658209a7f4c5
|
7
|
+
data.tar.gz: 982c6219f7c8a8c85b8a473de95e2a35c2cc831b83b22c212f319af0bd9aaacd1e308916e033619c08902afe79f9f70507c843aea42122a3dda1fb8465d1d13e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.37.0 (2024-11-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adding BatchGetPolicy API which supports the retrieval of multiple policies across multiple policy stores within a single request.
|
8
|
+
|
9
|
+
1.36.0 (2024-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.35.0 (2024-09-30)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.37.0
|
@@ -454,6 +454,135 @@ module Aws::VerifiedPermissions
|
|
454
454
|
|
455
455
|
# @!group API Operations
|
456
456
|
|
457
|
+
# Retrieves information about a group (batch) of policies.
|
458
|
+
#
|
459
|
+
# <note markdown="1"> The `BatchGetPolicy` operation doesn't have its own IAM permission.
|
460
|
+
# To authorize this operation for Amazon Web Services principals,
|
461
|
+
# include the permission `verifiedpermissions:GetPolicy` in their IAM
|
462
|
+
# policies.
|
463
|
+
#
|
464
|
+
# </note>
|
465
|
+
#
|
466
|
+
# @option params [required, Array<Types::BatchGetPolicyInputItem>] :requests
|
467
|
+
# An array of up to 100 policies you want information about.
|
468
|
+
#
|
469
|
+
# @return [Types::BatchGetPolicyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
470
|
+
#
|
471
|
+
# * {Types::BatchGetPolicyOutput#results #results} => Array<Types::BatchGetPolicyOutputItem>
|
472
|
+
# * {Types::BatchGetPolicyOutput#errors #errors} => Array<Types::BatchGetPolicyErrorItem>
|
473
|
+
#
|
474
|
+
#
|
475
|
+
# @example Example: To retrieve details about a policy
|
476
|
+
#
|
477
|
+
# # The following example retrieves information about the specified policy contained in the specified policy store. In this
|
478
|
+
# # example, the requested policy is a template-linked policy, so it returns the ID of the policy template, and the specific
|
479
|
+
# # principal and resource used by this policy.
|
480
|
+
#
|
481
|
+
# resp = client.batch_get_policy({
|
482
|
+
# requests: [
|
483
|
+
# {
|
484
|
+
# policy_id: "PWv5M6d5HePx3gVVLKY1nK",
|
485
|
+
# policy_store_id: "ERZeDpRc34dkYZeb6FZRVC",
|
486
|
+
# },
|
487
|
+
# {
|
488
|
+
# policy_id: "LzFn6KgLWvv4Mbegus35jn",
|
489
|
+
# policy_store_id: "ERZeDpRc34dkYZeb6FZRVC",
|
490
|
+
# },
|
491
|
+
# {
|
492
|
+
# policy_id: "77gLjer8H5o3mvrnMGrSL5",
|
493
|
+
# policy_store_id: "ERZeDpRc34dkYZeb6FZRVC",
|
494
|
+
# },
|
495
|
+
# ],
|
496
|
+
# })
|
497
|
+
#
|
498
|
+
# resp.to_h outputs the following:
|
499
|
+
# {
|
500
|
+
# errors: [
|
501
|
+
# ],
|
502
|
+
# results: [
|
503
|
+
# {
|
504
|
+
# created_date: Time.parse("2024-10-18T18:53:39.258153Z"),
|
505
|
+
# definition: {
|
506
|
+
# static: {
|
507
|
+
# description: "Users can manage account resources in any account they own",
|
508
|
+
# statement: "permit (principal, action in PhotoFlash::Action::\"ManageAccount\",resource) when { resource in principal.Account };",
|
509
|
+
# },
|
510
|
+
# },
|
511
|
+
# last_updated_date: Time.parse("2024-10-18T18:53:39.258153Z"),
|
512
|
+
# policy_id: "PWv5M6d5HePx3gVVLKY1nK",
|
513
|
+
# policy_store_id: "ERZeDpRc34dkYZeb6FZRVC",
|
514
|
+
# policy_type: "STATIC",
|
515
|
+
# },
|
516
|
+
# {
|
517
|
+
# created_date: Time.parse("2024-10-18T18:57:03.305027Z"),
|
518
|
+
# definition: {
|
519
|
+
# static: {
|
520
|
+
# description: "User alice can't delete any photos.",
|
521
|
+
# statement: "forbid (principal == PhotoFlash::User::\"alice\", action in [PhotoFlash::Action::\"DeletePhoto\"], resource);",
|
522
|
+
# },
|
523
|
+
# },
|
524
|
+
# last_updated_date: Time.parse("2024-10-18T18:57:03.305027Z"),
|
525
|
+
# policy_id: "LzFn6KgLWvv4Mbegus35jn",
|
526
|
+
# policy_store_id: "ERZeDpRc34dkYZeb6FZRVC",
|
527
|
+
# policy_type: "STATIC",
|
528
|
+
# },
|
529
|
+
# {
|
530
|
+
# created_date: Time.parse("2024-10-18T18:57:48.005343Z"),
|
531
|
+
# definition: {
|
532
|
+
# static: {
|
533
|
+
# description: "User alice can view and delete photos.",
|
534
|
+
# statement: "permit (principal == PhotoFlash::User::\"alice\", action in [PhotoFlash::Action::\"DeletePhoto\", PhotoFlash::Action::\"ViewPhoto\"], resource);",
|
535
|
+
# },
|
536
|
+
# },
|
537
|
+
# last_updated_date: Time.parse("2024-10-18T18:57:48.005343Z"),
|
538
|
+
# policy_id: "77gLjer8H5o3mvrnMGrSL5",
|
539
|
+
# policy_store_id: "ERZeDpRc34dkYZeb6FZRVC",
|
540
|
+
# policy_type: "STATIC",
|
541
|
+
# },
|
542
|
+
# ],
|
543
|
+
# }
|
544
|
+
#
|
545
|
+
# @example Request syntax with placeholder values
|
546
|
+
#
|
547
|
+
# resp = client.batch_get_policy({
|
548
|
+
# requests: [ # required
|
549
|
+
# {
|
550
|
+
# policy_store_id: "PolicyStoreId", # required
|
551
|
+
# policy_id: "PolicyId", # required
|
552
|
+
# },
|
553
|
+
# ],
|
554
|
+
# })
|
555
|
+
#
|
556
|
+
# @example Response structure
|
557
|
+
#
|
558
|
+
# resp.results #=> Array
|
559
|
+
# resp.results[0].policy_store_id #=> String
|
560
|
+
# resp.results[0].policy_id #=> String
|
561
|
+
# resp.results[0].policy_type #=> String, one of "STATIC", "TEMPLATE_LINKED"
|
562
|
+
# resp.results[0].definition.static.description #=> String
|
563
|
+
# resp.results[0].definition.static.statement #=> String
|
564
|
+
# resp.results[0].definition.template_linked.policy_template_id #=> String
|
565
|
+
# resp.results[0].definition.template_linked.principal.entity_type #=> String
|
566
|
+
# resp.results[0].definition.template_linked.principal.entity_id #=> String
|
567
|
+
# resp.results[0].definition.template_linked.resource.entity_type #=> String
|
568
|
+
# resp.results[0].definition.template_linked.resource.entity_id #=> String
|
569
|
+
# resp.results[0].created_date #=> Time
|
570
|
+
# resp.results[0].last_updated_date #=> Time
|
571
|
+
# resp.errors #=> Array
|
572
|
+
# resp.errors[0].code #=> String, one of "POLICY_STORE_NOT_FOUND", "POLICY_NOT_FOUND"
|
573
|
+
# resp.errors[0].policy_store_id #=> String
|
574
|
+
# resp.errors[0].policy_id #=> String
|
575
|
+
# resp.errors[0].message #=> String
|
576
|
+
#
|
577
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/BatchGetPolicy AWS API Documentation
|
578
|
+
#
|
579
|
+
# @overload batch_get_policy(params = {})
|
580
|
+
# @param [Hash] params ({})
|
581
|
+
def batch_get_policy(params = {}, options = {})
|
582
|
+
req = build_request(:batch_get_policy, params)
|
583
|
+
req.send_request(options)
|
584
|
+
end
|
585
|
+
|
457
586
|
# Makes a series of decisions about multiple authorization requests for
|
458
587
|
# one principal or resource. Each request contains the equivalent
|
459
588
|
# content of an `IsAuthorized` request: principal, action, resource, and
|
@@ -3644,7 +3773,7 @@ module Aws::VerifiedPermissions
|
|
3644
3773
|
tracer: tracer
|
3645
3774
|
)
|
3646
3775
|
context[:gem_name] = 'aws-sdk-verifiedpermissions'
|
3647
|
-
context[:gem_version] = '1.
|
3776
|
+
context[:gem_version] = '1.37.0'
|
3648
3777
|
Seahorse::Client::Request.new(handlers, context)
|
3649
3778
|
end
|
3650
3779
|
|
@@ -22,6 +22,15 @@ module Aws::VerifiedPermissions
|
|
22
22
|
AttributeValue = Shapes::UnionShape.new(name: 'AttributeValue')
|
23
23
|
Audience = Shapes::StringShape.new(name: 'Audience')
|
24
24
|
Audiences = Shapes::ListShape.new(name: 'Audiences')
|
25
|
+
BatchGetPolicyErrorCode = Shapes::StringShape.new(name: 'BatchGetPolicyErrorCode')
|
26
|
+
BatchGetPolicyErrorItem = Shapes::StructureShape.new(name: 'BatchGetPolicyErrorItem')
|
27
|
+
BatchGetPolicyErrorList = Shapes::ListShape.new(name: 'BatchGetPolicyErrorList')
|
28
|
+
BatchGetPolicyInput = Shapes::StructureShape.new(name: 'BatchGetPolicyInput')
|
29
|
+
BatchGetPolicyInputItem = Shapes::StructureShape.new(name: 'BatchGetPolicyInputItem')
|
30
|
+
BatchGetPolicyInputList = Shapes::ListShape.new(name: 'BatchGetPolicyInputList')
|
31
|
+
BatchGetPolicyOutput = Shapes::StructureShape.new(name: 'BatchGetPolicyOutput')
|
32
|
+
BatchGetPolicyOutputItem = Shapes::StructureShape.new(name: 'BatchGetPolicyOutputItem')
|
33
|
+
BatchGetPolicyOutputList = Shapes::ListShape.new(name: 'BatchGetPolicyOutputList')
|
25
34
|
BatchIsAuthorizedInput = Shapes::StructureShape.new(name: 'BatchIsAuthorizedInput')
|
26
35
|
BatchIsAuthorizedInputItem = Shapes::StructureShape.new(name: 'BatchIsAuthorizedInputItem')
|
27
36
|
BatchIsAuthorizedInputList = Shapes::ListShape.new(name: 'BatchIsAuthorizedInputList')
|
@@ -59,6 +68,7 @@ module Aws::VerifiedPermissions
|
|
59
68
|
CreatePolicyStoreOutput = Shapes::StructureShape.new(name: 'CreatePolicyStoreOutput')
|
60
69
|
CreatePolicyTemplateInput = Shapes::StructureShape.new(name: 'CreatePolicyTemplateInput')
|
61
70
|
CreatePolicyTemplateOutput = Shapes::StructureShape.new(name: 'CreatePolicyTemplateOutput')
|
71
|
+
Decimal = Shapes::StringShape.new(name: 'Decimal')
|
62
72
|
Decision = Shapes::StringShape.new(name: 'Decision')
|
63
73
|
DeleteIdentitySourceInput = Shapes::StructureShape.new(name: 'DeleteIdentitySourceInput')
|
64
74
|
DeleteIdentitySourceOutput = Shapes::StructureShape.new(name: 'DeleteIdentitySourceOutput')
|
@@ -102,6 +112,7 @@ module Aws::VerifiedPermissions
|
|
102
112
|
IdentitySourceItemDetails = Shapes::StructureShape.new(name: 'IdentitySourceItemDetails')
|
103
113
|
IdentitySources = Shapes::ListShape.new(name: 'IdentitySources')
|
104
114
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
115
|
+
IpAddr = Shapes::StringShape.new(name: 'IpAddr')
|
105
116
|
IsAuthorizedInput = Shapes::StructureShape.new(name: 'IsAuthorizedInput')
|
106
117
|
IsAuthorizedOutput = Shapes::StructureShape.new(name: 'IsAuthorizedOutput')
|
107
118
|
IsAuthorizedWithTokenInput = Shapes::StructureShape.new(name: 'IsAuthorizedWithTokenInput')
|
@@ -221,6 +232,8 @@ module Aws::VerifiedPermissions
|
|
221
232
|
AttributeValue.add_member(:string, Shapes::ShapeRef.new(shape: StringAttribute, location_name: "string"))
|
222
233
|
AttributeValue.add_member(:set, Shapes::ShapeRef.new(shape: SetAttribute, location_name: "set"))
|
223
234
|
AttributeValue.add_member(:record, Shapes::ShapeRef.new(shape: RecordAttribute, location_name: "record"))
|
235
|
+
AttributeValue.add_member(:ipaddr, Shapes::ShapeRef.new(shape: IpAddr, location_name: "ipaddr"))
|
236
|
+
AttributeValue.add_member(:decimal, Shapes::ShapeRef.new(shape: Decimal, location_name: "decimal"))
|
224
237
|
AttributeValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
225
238
|
AttributeValue.add_member_subclass(:boolean, Types::AttributeValue::Boolean)
|
226
239
|
AttributeValue.add_member_subclass(:entity_identifier, Types::AttributeValue::EntityIdentifier)
|
@@ -228,11 +241,44 @@ module Aws::VerifiedPermissions
|
|
228
241
|
AttributeValue.add_member_subclass(:string, Types::AttributeValue::String)
|
229
242
|
AttributeValue.add_member_subclass(:set, Types::AttributeValue::Set)
|
230
243
|
AttributeValue.add_member_subclass(:record, Types::AttributeValue::Record)
|
244
|
+
AttributeValue.add_member_subclass(:ipaddr, Types::AttributeValue::Ipaddr)
|
245
|
+
AttributeValue.add_member_subclass(:decimal, Types::AttributeValue::Decimal)
|
231
246
|
AttributeValue.add_member_subclass(:unknown, Types::AttributeValue::Unknown)
|
232
247
|
AttributeValue.struct_class = Types::AttributeValue
|
233
248
|
|
234
249
|
Audiences.member = Shapes::ShapeRef.new(shape: Audience)
|
235
250
|
|
251
|
+
BatchGetPolicyErrorItem.add_member(:code, Shapes::ShapeRef.new(shape: BatchGetPolicyErrorCode, required: true, location_name: "code"))
|
252
|
+
BatchGetPolicyErrorItem.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "policyStoreId"))
|
253
|
+
BatchGetPolicyErrorItem.add_member(:policy_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "policyId"))
|
254
|
+
BatchGetPolicyErrorItem.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
255
|
+
BatchGetPolicyErrorItem.struct_class = Types::BatchGetPolicyErrorItem
|
256
|
+
|
257
|
+
BatchGetPolicyErrorList.member = Shapes::ShapeRef.new(shape: BatchGetPolicyErrorItem)
|
258
|
+
|
259
|
+
BatchGetPolicyInput.add_member(:requests, Shapes::ShapeRef.new(shape: BatchGetPolicyInputList, required: true, location_name: "requests"))
|
260
|
+
BatchGetPolicyInput.struct_class = Types::BatchGetPolicyInput
|
261
|
+
|
262
|
+
BatchGetPolicyInputItem.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
263
|
+
BatchGetPolicyInputItem.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "policyId"))
|
264
|
+
BatchGetPolicyInputItem.struct_class = Types::BatchGetPolicyInputItem
|
265
|
+
|
266
|
+
BatchGetPolicyInputList.member = Shapes::ShapeRef.new(shape: BatchGetPolicyInputItem)
|
267
|
+
|
268
|
+
BatchGetPolicyOutput.add_member(:results, Shapes::ShapeRef.new(shape: BatchGetPolicyOutputList, required: true, location_name: "results"))
|
269
|
+
BatchGetPolicyOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchGetPolicyErrorList, required: true, location_name: "errors"))
|
270
|
+
BatchGetPolicyOutput.struct_class = Types::BatchGetPolicyOutput
|
271
|
+
|
272
|
+
BatchGetPolicyOutputItem.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
273
|
+
BatchGetPolicyOutputItem.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "policyId"))
|
274
|
+
BatchGetPolicyOutputItem.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "policyType"))
|
275
|
+
BatchGetPolicyOutputItem.add_member(:definition, Shapes::ShapeRef.new(shape: PolicyDefinitionDetail, required: true, location_name: "definition"))
|
276
|
+
BatchGetPolicyOutputItem.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
|
277
|
+
BatchGetPolicyOutputItem.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
|
278
|
+
BatchGetPolicyOutputItem.struct_class = Types::BatchGetPolicyOutputItem
|
279
|
+
|
280
|
+
BatchGetPolicyOutputList.member = Shapes::ShapeRef.new(shape: BatchGetPolicyOutputItem)
|
281
|
+
|
236
282
|
BatchIsAuthorizedInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
237
283
|
BatchIsAuthorizedInput.add_member(:entities, Shapes::ShapeRef.new(shape: EntitiesDefinition, location_name: "entities"))
|
238
284
|
BatchIsAuthorizedInput.add_member(:requests, Shapes::ShapeRef.new(shape: BatchIsAuthorizedInputList, required: true, location_name: "requests"))
|
@@ -969,6 +1015,18 @@ module Aws::VerifiedPermissions
|
|
969
1015
|
"uid" => "verifiedpermissions-2021-12-01",
|
970
1016
|
}
|
971
1017
|
|
1018
|
+
api.add_operation(:batch_get_policy, Seahorse::Model::Operation.new.tap do |o|
|
1019
|
+
o.name = "BatchGetPolicy"
|
1020
|
+
o.http_method = "POST"
|
1021
|
+
o.http_request_uri = "/"
|
1022
|
+
o.input = Shapes::ShapeRef.new(shape: BatchGetPolicyInput)
|
1023
|
+
o.output = Shapes::ShapeRef.new(shape: BatchGetPolicyOutput)
|
1024
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1025
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1026
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1027
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1028
|
+
end)
|
1029
|
+
|
972
1030
|
api.add_operation(:batch_is_authorized, Seahorse::Model::Operation.new.tap do |o|
|
973
1031
|
o.name = "BatchIsAuthorized"
|
974
1032
|
o.http_method = "POST"
|
@@ -52,15 +52,18 @@ module Aws::VerifiedPermissions
|
|
52
52
|
self[:region] = options[:region]
|
53
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
-
if self[:use_dual_stack].nil?
|
56
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
-
end
|
58
55
|
self[:use_fips] = options[:use_fips]
|
59
56
|
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
-
if self[:use_fips].nil?
|
61
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
-
end
|
63
57
|
self[:endpoint] = options[:endpoint]
|
64
58
|
end
|
59
|
+
|
60
|
+
def self.create(config, options={})
|
61
|
+
new({
|
62
|
+
region: config.region,
|
63
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
64
|
+
use_fips: config.use_fips_endpoint,
|
65
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
66
|
+
}.merge(options))
|
67
|
+
end
|
65
68
|
end
|
66
69
|
end
|
@@ -12,291 +12,9 @@ module Aws::VerifiedPermissions
|
|
12
12
|
# @api private
|
13
13
|
module Endpoints
|
14
14
|
|
15
|
-
class BatchIsAuthorized
|
16
|
-
def self.build(context)
|
17
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
18
|
-
region: context.config.region,
|
19
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
20
|
-
use_fips: context.config.use_fips_endpoint,
|
21
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
22
|
-
)
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
class BatchIsAuthorizedWithToken
|
27
|
-
def self.build(context)
|
28
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
29
|
-
region: context.config.region,
|
30
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
31
|
-
use_fips: context.config.use_fips_endpoint,
|
32
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
33
|
-
)
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
class CreateIdentitySource
|
38
|
-
def self.build(context)
|
39
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
40
|
-
region: context.config.region,
|
41
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
42
|
-
use_fips: context.config.use_fips_endpoint,
|
43
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
44
|
-
)
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
class CreatePolicy
|
49
|
-
def self.build(context)
|
50
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
51
|
-
region: context.config.region,
|
52
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
53
|
-
use_fips: context.config.use_fips_endpoint,
|
54
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
55
|
-
)
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
class CreatePolicyStore
|
60
|
-
def self.build(context)
|
61
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
62
|
-
region: context.config.region,
|
63
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
-
use_fips: context.config.use_fips_endpoint,
|
65
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
66
|
-
)
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
|
-
class CreatePolicyTemplate
|
71
|
-
def self.build(context)
|
72
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
73
|
-
region: context.config.region,
|
74
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
75
|
-
use_fips: context.config.use_fips_endpoint,
|
76
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
77
|
-
)
|
78
|
-
end
|
79
|
-
end
|
80
|
-
|
81
|
-
class DeleteIdentitySource
|
82
|
-
def self.build(context)
|
83
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
84
|
-
region: context.config.region,
|
85
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
86
|
-
use_fips: context.config.use_fips_endpoint,
|
87
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
88
|
-
)
|
89
|
-
end
|
90
|
-
end
|
91
|
-
|
92
|
-
class DeletePolicy
|
93
|
-
def self.build(context)
|
94
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
95
|
-
region: context.config.region,
|
96
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
97
|
-
use_fips: context.config.use_fips_endpoint,
|
98
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
99
|
-
)
|
100
|
-
end
|
101
|
-
end
|
102
|
-
|
103
|
-
class DeletePolicyStore
|
104
|
-
def self.build(context)
|
105
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
106
|
-
region: context.config.region,
|
107
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
108
|
-
use_fips: context.config.use_fips_endpoint,
|
109
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
110
|
-
)
|
111
|
-
end
|
112
|
-
end
|
113
|
-
|
114
|
-
class DeletePolicyTemplate
|
115
|
-
def self.build(context)
|
116
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
117
|
-
region: context.config.region,
|
118
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
119
|
-
use_fips: context.config.use_fips_endpoint,
|
120
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
121
|
-
)
|
122
|
-
end
|
123
|
-
end
|
124
|
-
|
125
|
-
class GetIdentitySource
|
126
|
-
def self.build(context)
|
127
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
128
|
-
region: context.config.region,
|
129
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
130
|
-
use_fips: context.config.use_fips_endpoint,
|
131
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
132
|
-
)
|
133
|
-
end
|
134
|
-
end
|
135
|
-
|
136
|
-
class GetPolicy
|
137
|
-
def self.build(context)
|
138
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
139
|
-
region: context.config.region,
|
140
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
141
|
-
use_fips: context.config.use_fips_endpoint,
|
142
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
143
|
-
)
|
144
|
-
end
|
145
|
-
end
|
146
|
-
|
147
|
-
class GetPolicyStore
|
148
|
-
def self.build(context)
|
149
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
150
|
-
region: context.config.region,
|
151
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
152
|
-
use_fips: context.config.use_fips_endpoint,
|
153
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
154
|
-
)
|
155
|
-
end
|
156
|
-
end
|
157
15
|
|
158
|
-
|
159
|
-
|
160
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
161
|
-
region: context.config.region,
|
162
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
163
|
-
use_fips: context.config.use_fips_endpoint,
|
164
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
165
|
-
)
|
166
|
-
end
|
16
|
+
def self.parameters_for_operation(context)
|
17
|
+
Aws::VerifiedPermissions::EndpointParameters.create(context.config)
|
167
18
|
end
|
168
|
-
|
169
|
-
class GetSchema
|
170
|
-
def self.build(context)
|
171
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
172
|
-
region: context.config.region,
|
173
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
174
|
-
use_fips: context.config.use_fips_endpoint,
|
175
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
176
|
-
)
|
177
|
-
end
|
178
|
-
end
|
179
|
-
|
180
|
-
class IsAuthorized
|
181
|
-
def self.build(context)
|
182
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
183
|
-
region: context.config.region,
|
184
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
185
|
-
use_fips: context.config.use_fips_endpoint,
|
186
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
187
|
-
)
|
188
|
-
end
|
189
|
-
end
|
190
|
-
|
191
|
-
class IsAuthorizedWithToken
|
192
|
-
def self.build(context)
|
193
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
194
|
-
region: context.config.region,
|
195
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
196
|
-
use_fips: context.config.use_fips_endpoint,
|
197
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
198
|
-
)
|
199
|
-
end
|
200
|
-
end
|
201
|
-
|
202
|
-
class ListIdentitySources
|
203
|
-
def self.build(context)
|
204
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
205
|
-
region: context.config.region,
|
206
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
207
|
-
use_fips: context.config.use_fips_endpoint,
|
208
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
209
|
-
)
|
210
|
-
end
|
211
|
-
end
|
212
|
-
|
213
|
-
class ListPolicies
|
214
|
-
def self.build(context)
|
215
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
216
|
-
region: context.config.region,
|
217
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
218
|
-
use_fips: context.config.use_fips_endpoint,
|
219
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
220
|
-
)
|
221
|
-
end
|
222
|
-
end
|
223
|
-
|
224
|
-
class ListPolicyStores
|
225
|
-
def self.build(context)
|
226
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
227
|
-
region: context.config.region,
|
228
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
229
|
-
use_fips: context.config.use_fips_endpoint,
|
230
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
231
|
-
)
|
232
|
-
end
|
233
|
-
end
|
234
|
-
|
235
|
-
class ListPolicyTemplates
|
236
|
-
def self.build(context)
|
237
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
238
|
-
region: context.config.region,
|
239
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
240
|
-
use_fips: context.config.use_fips_endpoint,
|
241
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
242
|
-
)
|
243
|
-
end
|
244
|
-
end
|
245
|
-
|
246
|
-
class PutSchema
|
247
|
-
def self.build(context)
|
248
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
249
|
-
region: context.config.region,
|
250
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
251
|
-
use_fips: context.config.use_fips_endpoint,
|
252
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
253
|
-
)
|
254
|
-
end
|
255
|
-
end
|
256
|
-
|
257
|
-
class UpdateIdentitySource
|
258
|
-
def self.build(context)
|
259
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
260
|
-
region: context.config.region,
|
261
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
262
|
-
use_fips: context.config.use_fips_endpoint,
|
263
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
264
|
-
)
|
265
|
-
end
|
266
|
-
end
|
267
|
-
|
268
|
-
class UpdatePolicy
|
269
|
-
def self.build(context)
|
270
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
271
|
-
region: context.config.region,
|
272
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
273
|
-
use_fips: context.config.use_fips_endpoint,
|
274
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
275
|
-
)
|
276
|
-
end
|
277
|
-
end
|
278
|
-
|
279
|
-
class UpdatePolicyStore
|
280
|
-
def self.build(context)
|
281
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
282
|
-
region: context.config.region,
|
283
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
284
|
-
use_fips: context.config.use_fips_endpoint,
|
285
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
286
|
-
)
|
287
|
-
end
|
288
|
-
end
|
289
|
-
|
290
|
-
class UpdatePolicyTemplate
|
291
|
-
def self.build(context)
|
292
|
-
Aws::VerifiedPermissions::EndpointParameters.new(
|
293
|
-
region: context.config.region,
|
294
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
295
|
-
use_fips: context.config.use_fips_endpoint,
|
296
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
297
|
-
)
|
298
|
-
end
|
299
|
-
end
|
300
|
-
|
301
19
|
end
|
302
20
|
end
|
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
27
27
|
class Handler < Seahorse::Client::Handler
|
28
28
|
def call(context)
|
29
29
|
unless context[:discovered_endpoint]
|
30
|
-
params = parameters_for_operation(context)
|
30
|
+
params = Aws::VerifiedPermissions::Endpoints.parameters_for_operation(context)
|
31
31
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
32
|
|
33
33
|
context.http_request.endpoint = endpoint.url
|
@@ -67,63 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
67
67
|
context.http_request.headers[key] = value
|
68
68
|
end
|
69
69
|
end
|
70
|
-
|
71
|
-
def parameters_for_operation(context)
|
72
|
-
case context.operation_name
|
73
|
-
when :batch_is_authorized
|
74
|
-
Aws::VerifiedPermissions::Endpoints::BatchIsAuthorized.build(context)
|
75
|
-
when :batch_is_authorized_with_token
|
76
|
-
Aws::VerifiedPermissions::Endpoints::BatchIsAuthorizedWithToken.build(context)
|
77
|
-
when :create_identity_source
|
78
|
-
Aws::VerifiedPermissions::Endpoints::CreateIdentitySource.build(context)
|
79
|
-
when :create_policy
|
80
|
-
Aws::VerifiedPermissions::Endpoints::CreatePolicy.build(context)
|
81
|
-
when :create_policy_store
|
82
|
-
Aws::VerifiedPermissions::Endpoints::CreatePolicyStore.build(context)
|
83
|
-
when :create_policy_template
|
84
|
-
Aws::VerifiedPermissions::Endpoints::CreatePolicyTemplate.build(context)
|
85
|
-
when :delete_identity_source
|
86
|
-
Aws::VerifiedPermissions::Endpoints::DeleteIdentitySource.build(context)
|
87
|
-
when :delete_policy
|
88
|
-
Aws::VerifiedPermissions::Endpoints::DeletePolicy.build(context)
|
89
|
-
when :delete_policy_store
|
90
|
-
Aws::VerifiedPermissions::Endpoints::DeletePolicyStore.build(context)
|
91
|
-
when :delete_policy_template
|
92
|
-
Aws::VerifiedPermissions::Endpoints::DeletePolicyTemplate.build(context)
|
93
|
-
when :get_identity_source
|
94
|
-
Aws::VerifiedPermissions::Endpoints::GetIdentitySource.build(context)
|
95
|
-
when :get_policy
|
96
|
-
Aws::VerifiedPermissions::Endpoints::GetPolicy.build(context)
|
97
|
-
when :get_policy_store
|
98
|
-
Aws::VerifiedPermissions::Endpoints::GetPolicyStore.build(context)
|
99
|
-
when :get_policy_template
|
100
|
-
Aws::VerifiedPermissions::Endpoints::GetPolicyTemplate.build(context)
|
101
|
-
when :get_schema
|
102
|
-
Aws::VerifiedPermissions::Endpoints::GetSchema.build(context)
|
103
|
-
when :is_authorized
|
104
|
-
Aws::VerifiedPermissions::Endpoints::IsAuthorized.build(context)
|
105
|
-
when :is_authorized_with_token
|
106
|
-
Aws::VerifiedPermissions::Endpoints::IsAuthorizedWithToken.build(context)
|
107
|
-
when :list_identity_sources
|
108
|
-
Aws::VerifiedPermissions::Endpoints::ListIdentitySources.build(context)
|
109
|
-
when :list_policies
|
110
|
-
Aws::VerifiedPermissions::Endpoints::ListPolicies.build(context)
|
111
|
-
when :list_policy_stores
|
112
|
-
Aws::VerifiedPermissions::Endpoints::ListPolicyStores.build(context)
|
113
|
-
when :list_policy_templates
|
114
|
-
Aws::VerifiedPermissions::Endpoints::ListPolicyTemplates.build(context)
|
115
|
-
when :put_schema
|
116
|
-
Aws::VerifiedPermissions::Endpoints::PutSchema.build(context)
|
117
|
-
when :update_identity_source
|
118
|
-
Aws::VerifiedPermissions::Endpoints::UpdateIdentitySource.build(context)
|
119
|
-
when :update_policy
|
120
|
-
Aws::VerifiedPermissions::Endpoints::UpdatePolicy.build(context)
|
121
|
-
when :update_policy_store
|
122
|
-
Aws::VerifiedPermissions::Endpoints::UpdatePolicyStore.build(context)
|
123
|
-
when :update_policy_template
|
124
|
-
Aws::VerifiedPermissions::Endpoints::UpdatePolicyTemplate.build(context)
|
125
|
-
end
|
126
|
-
end
|
127
70
|
end
|
128
71
|
|
129
72
|
def add_handlers(handlers, _config)
|
@@ -30,7 +30,7 @@ module Aws::VerifiedPermissions
|
|
30
30
|
# [IsAuthorized][1], [BatchIsAuthorized][2], and
|
31
31
|
# [IsAuthorizedWithToken][3] operations.
|
32
32
|
#
|
33
|
-
# Example:
|
33
|
+
# Example: `{ "actionId": "<action name>", "actionType": "Action" }`
|
34
34
|
#
|
35
35
|
#
|
36
36
|
#
|
@@ -79,7 +79,7 @@ module Aws::VerifiedPermissions
|
|
79
79
|
# @!attribute [rw] boolean
|
80
80
|
# An attribute value of [Boolean][1] type.
|
81
81
|
#
|
82
|
-
# Example:
|
82
|
+
# Example: `{"boolean": true}`
|
83
83
|
#
|
84
84
|
#
|
85
85
|
#
|
@@ -89,8 +89,8 @@ module Aws::VerifiedPermissions
|
|
89
89
|
# @!attribute [rw] entity_identifier
|
90
90
|
# An attribute value of type [EntityIdentifier][1].
|
91
91
|
#
|
92
|
-
# Example: `"entityIdentifier":
|
93
|
-
# "<entity type>"
|
92
|
+
# Example: `"entityIdentifier": { "entityId": "<id>", "entityType":
|
93
|
+
# "<entity type>"}`
|
94
94
|
#
|
95
95
|
#
|
96
96
|
#
|
@@ -100,7 +100,7 @@ module Aws::VerifiedPermissions
|
|
100
100
|
# @!attribute [rw] long
|
101
101
|
# An attribute value of [Long][1] type.
|
102
102
|
#
|
103
|
-
# Example:
|
103
|
+
# Example: `{"long": 0}`
|
104
104
|
#
|
105
105
|
#
|
106
106
|
#
|
@@ -110,7 +110,7 @@ module Aws::VerifiedPermissions
|
|
110
110
|
# @!attribute [rw] string
|
111
111
|
# An attribute value of [String][1] type.
|
112
112
|
#
|
113
|
-
# Example:
|
113
|
+
# Example: `{"string": "abc"}`
|
114
114
|
#
|
115
115
|
#
|
116
116
|
#
|
@@ -120,7 +120,7 @@ module Aws::VerifiedPermissions
|
|
120
120
|
# @!attribute [rw] set
|
121
121
|
# An attribute value of [Set][1] type.
|
122
122
|
#
|
123
|
-
# Example:
|
123
|
+
# Example: `{"set": [ {} ] }`
|
124
124
|
#
|
125
125
|
#
|
126
126
|
#
|
@@ -130,13 +130,33 @@ module Aws::VerifiedPermissions
|
|
130
130
|
# @!attribute [rw] record
|
131
131
|
# An attribute value of [Record][1] type.
|
132
132
|
#
|
133
|
-
# Example:
|
133
|
+
# Example: `{"record": { "keyName": {} } }`
|
134
134
|
#
|
135
135
|
#
|
136
136
|
#
|
137
137
|
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#record
|
138
138
|
# @return [Hash<String,Types::AttributeValue>]
|
139
139
|
#
|
140
|
+
# @!attribute [rw] ipaddr
|
141
|
+
# An attribute value of [ipaddr][1] type.
|
142
|
+
#
|
143
|
+
# Example: `{"ip": "192.168.1.100"}`
|
144
|
+
#
|
145
|
+
#
|
146
|
+
#
|
147
|
+
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-ipaddr
|
148
|
+
# @return [String]
|
149
|
+
#
|
150
|
+
# @!attribute [rw] decimal
|
151
|
+
# An attribute value of [decimal][1] type.
|
152
|
+
#
|
153
|
+
# Example: `{"decimal": "1.1"}`
|
154
|
+
#
|
155
|
+
#
|
156
|
+
#
|
157
|
+
# [1]: https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-decimal
|
158
|
+
# @return [String]
|
159
|
+
#
|
140
160
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/AttributeValue AWS API Documentation
|
141
161
|
#
|
142
162
|
class AttributeValue < Struct.new(
|
@@ -146,8 +166,10 @@ module Aws::VerifiedPermissions
|
|
146
166
|
:string,
|
147
167
|
:set,
|
148
168
|
:record,
|
169
|
+
:ipaddr,
|
170
|
+
:decimal,
|
149
171
|
:unknown)
|
150
|
-
SENSITIVE = [:boolean, :long, :string]
|
172
|
+
SENSITIVE = [:boolean, :long, :string, :ipaddr, :decimal]
|
151
173
|
include Aws::Structure
|
152
174
|
include Aws::Structure::Union
|
153
175
|
|
@@ -157,9 +179,140 @@ module Aws::VerifiedPermissions
|
|
157
179
|
class String < AttributeValue; end
|
158
180
|
class Set < AttributeValue; end
|
159
181
|
class Record < AttributeValue; end
|
182
|
+
class Ipaddr < AttributeValue; end
|
183
|
+
class Decimal < AttributeValue; end
|
160
184
|
class Unknown < AttributeValue; end
|
161
185
|
end
|
162
186
|
|
187
|
+
# Contains the information about an error resulting from a
|
188
|
+
# `BatchGetPolicy` API call.
|
189
|
+
#
|
190
|
+
# @!attribute [rw] code
|
191
|
+
# The error code that was returned.
|
192
|
+
# @return [String]
|
193
|
+
#
|
194
|
+
# @!attribute [rw] policy_store_id
|
195
|
+
# The identifier of the policy store associated with the failed
|
196
|
+
# request.
|
197
|
+
# @return [String]
|
198
|
+
#
|
199
|
+
# @!attribute [rw] policy_id
|
200
|
+
# The identifier of the policy associated with the failed request.
|
201
|
+
# @return [String]
|
202
|
+
#
|
203
|
+
# @!attribute [rw] message
|
204
|
+
# A detailed error message.
|
205
|
+
# @return [String]
|
206
|
+
#
|
207
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/BatchGetPolicyErrorItem AWS API Documentation
|
208
|
+
#
|
209
|
+
class BatchGetPolicyErrorItem < Struct.new(
|
210
|
+
:code,
|
211
|
+
:policy_store_id,
|
212
|
+
:policy_id,
|
213
|
+
:message)
|
214
|
+
SENSITIVE = []
|
215
|
+
include Aws::Structure
|
216
|
+
end
|
217
|
+
|
218
|
+
# @!attribute [rw] requests
|
219
|
+
# An array of up to 100 policies you want information about.
|
220
|
+
# @return [Array<Types::BatchGetPolicyInputItem>]
|
221
|
+
#
|
222
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/BatchGetPolicyInput AWS API Documentation
|
223
|
+
#
|
224
|
+
class BatchGetPolicyInput < Struct.new(
|
225
|
+
:requests)
|
226
|
+
SENSITIVE = []
|
227
|
+
include Aws::Structure
|
228
|
+
end
|
229
|
+
|
230
|
+
# Information about a policy that you include in a `BatchGetPolicy` API
|
231
|
+
# request.
|
232
|
+
#
|
233
|
+
# @!attribute [rw] policy_store_id
|
234
|
+
# The identifier of the policy store where the policy you want
|
235
|
+
# information about is stored.
|
236
|
+
# @return [String]
|
237
|
+
#
|
238
|
+
# @!attribute [rw] policy_id
|
239
|
+
# The identifier of the policy you want information about.
|
240
|
+
# @return [String]
|
241
|
+
#
|
242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/BatchGetPolicyInputItem AWS API Documentation
|
243
|
+
#
|
244
|
+
class BatchGetPolicyInputItem < Struct.new(
|
245
|
+
:policy_store_id,
|
246
|
+
:policy_id)
|
247
|
+
SENSITIVE = []
|
248
|
+
include Aws::Structure
|
249
|
+
end
|
250
|
+
|
251
|
+
# @!attribute [rw] results
|
252
|
+
# Information about the policies listed in the request that were
|
253
|
+
# successfully returned. These results are returned in the order they
|
254
|
+
# were requested.
|
255
|
+
# @return [Array<Types::BatchGetPolicyOutputItem>]
|
256
|
+
#
|
257
|
+
# @!attribute [rw] errors
|
258
|
+
# Information about the policies from the request that resulted in an
|
259
|
+
# error. These results are returned in the order they were requested.
|
260
|
+
# @return [Array<Types::BatchGetPolicyErrorItem>]
|
261
|
+
#
|
262
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/BatchGetPolicyOutput AWS API Documentation
|
263
|
+
#
|
264
|
+
class BatchGetPolicyOutput < Struct.new(
|
265
|
+
:results,
|
266
|
+
:errors)
|
267
|
+
SENSITIVE = []
|
268
|
+
include Aws::Structure
|
269
|
+
end
|
270
|
+
|
271
|
+
# Contains information about a policy returned from a `BatchGetPolicy`
|
272
|
+
# API request.
|
273
|
+
#
|
274
|
+
# @!attribute [rw] policy_store_id
|
275
|
+
# The identifier of the policy store where the policy you want
|
276
|
+
# information about is stored.
|
277
|
+
# @return [String]
|
278
|
+
#
|
279
|
+
# @!attribute [rw] policy_id
|
280
|
+
# The identifier of the policy you want information about.
|
281
|
+
# @return [String]
|
282
|
+
#
|
283
|
+
# @!attribute [rw] policy_type
|
284
|
+
# The type of the policy. This is one of the following values:
|
285
|
+
#
|
286
|
+
# * `STATIC`
|
287
|
+
#
|
288
|
+
# * `TEMPLATE_LINKED`
|
289
|
+
# @return [String]
|
290
|
+
#
|
291
|
+
# @!attribute [rw] definition
|
292
|
+
# The policy definition of an item in the list of policies returned.
|
293
|
+
# @return [Types::PolicyDefinitionDetail]
|
294
|
+
#
|
295
|
+
# @!attribute [rw] created_date
|
296
|
+
# The date and time the policy was created.
|
297
|
+
# @return [Time]
|
298
|
+
#
|
299
|
+
# @!attribute [rw] last_updated_date
|
300
|
+
# The date and time the policy was most recently updated.
|
301
|
+
# @return [Time]
|
302
|
+
#
|
303
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/BatchGetPolicyOutputItem AWS API Documentation
|
304
|
+
#
|
305
|
+
class BatchGetPolicyOutputItem < Struct.new(
|
306
|
+
:policy_store_id,
|
307
|
+
:policy_id,
|
308
|
+
:policy_type,
|
309
|
+
:definition,
|
310
|
+
:created_date,
|
311
|
+
:last_updated_date)
|
312
|
+
SENSITIVE = []
|
313
|
+
include Aws::Structure
|
314
|
+
end
|
315
|
+
|
163
316
|
# @!attribute [rw] policy_store_id
|
164
317
|
# Specifies the ID of the policy store. Policies in this policy store
|
165
318
|
# will be used to make the authorization decisions for the input.
|
@@ -228,7 +381,8 @@ module Aws::VerifiedPermissions
|
|
228
381
|
|
229
382
|
# @!attribute [rw] results
|
230
383
|
# A series of `Allow` or `Deny` decisions for each request, and the
|
231
|
-
# policies that produced them.
|
384
|
+
# policies that produced them. These results are returned in the order
|
385
|
+
# they were requested.
|
232
386
|
# @return [Array<Types::BatchIsAuthorizedOutputItem>]
|
233
387
|
#
|
234
388
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/BatchIsAuthorizedOutput AWS API Documentation
|
@@ -373,7 +527,8 @@ module Aws::VerifiedPermissions
|
|
373
527
|
#
|
374
528
|
# @!attribute [rw] results
|
375
529
|
# A series of `Allow` or `Deny` decisions for each request, and the
|
376
|
-
# policies that produced them.
|
530
|
+
# policies that produced them. These results are returned in the order
|
531
|
+
# they were requested.
|
377
532
|
# @return [Array<Types::BatchIsAuthorizedWithTokenOutputItem>]
|
378
533
|
#
|
379
534
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/BatchIsAuthorizedWithTokenOutput AWS API Documentation
|
@@ -503,9 +658,9 @@ module Aws::VerifiedPermissions
|
|
503
658
|
# This data type part of a [Configuration][1] structure that is used as
|
504
659
|
# a parameter to [CreateIdentitySource][2].
|
505
660
|
#
|
506
|
-
# Example:`"CognitoUserPoolConfiguration"
|
661
|
+
# Example:`"CognitoUserPoolConfiguration":{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
|
507
662
|
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
|
508
|
-
#
|
663
|
+
# {"groupEntityType": "MyCorp::Group"}}`
|
509
664
|
#
|
510
665
|
#
|
511
666
|
#
|
@@ -554,9 +709,9 @@ module Aws::VerifiedPermissions
|
|
554
709
|
# [ConfigurationDetail][1] structure that is part of the response to
|
555
710
|
# [GetIdentitySource][2].
|
556
711
|
#
|
557
|
-
# Example:`"CognitoUserPoolConfiguration"
|
712
|
+
# Example:`"CognitoUserPoolConfiguration":{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
|
558
713
|
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
|
559
|
-
#
|
714
|
+
# {"groupEntityType": "MyCorp::Group"}}`
|
560
715
|
#
|
561
716
|
#
|
562
717
|
#
|
@@ -614,9 +769,9 @@ module Aws::VerifiedPermissions
|
|
614
769
|
# [ConfigurationItem][1] structure that is part of the response to
|
615
770
|
# [ListIdentitySources][2].
|
616
771
|
#
|
617
|
-
# Example:`"CognitoUserPoolConfiguration"
|
772
|
+
# Example:`"CognitoUserPoolConfiguration":{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
|
618
773
|
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
|
619
|
-
#
|
774
|
+
# {"groupEntityType": "MyCorp::Group"}}`
|
620
775
|
#
|
621
776
|
#
|
622
777
|
#
|
@@ -685,9 +840,9 @@ module Aws::VerifiedPermissions
|
|
685
840
|
# Amazon Cognito user pool and one or more application client IDs.
|
686
841
|
#
|
687
842
|
# Example:
|
688
|
-
# `"configuration"
|
843
|
+
# `"configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
|
689
844
|
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
|
690
|
-
#
|
845
|
+
# {"groupEntityType": "MyCorp::Group"}}}`
|
691
846
|
#
|
692
847
|
#
|
693
848
|
#
|
@@ -701,7 +856,7 @@ module Aws::VerifiedPermissions
|
|
701
856
|
# issuer URL, token type that you want to use, and policy store entity
|
702
857
|
# details.
|
703
858
|
#
|
704
|
-
# Example:`"configuration"
|
859
|
+
# Example:`"configuration":{"openIdConnectConfiguration":{"issuer":"https://auth.example.com","tokenSelection":{"accessTokenOnly":{"audiences":["https://myapp.example.com","https://myapp2.example.com"],"principalIdClaim":"sub"}},"entityIdPrefix":"MyOIDCProvider","groupConfiguration":{"groupClaim":"groups","groupEntityType":"MyCorp::UserGroup"}}}`
|
705
860
|
# @return [Types::OpenIdConnectConfiguration]
|
706
861
|
#
|
707
862
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/Configuration AWS API Documentation
|
@@ -738,9 +893,9 @@ module Aws::VerifiedPermissions
|
|
738
893
|
# assign to user groups, and one or more application client IDs.
|
739
894
|
#
|
740
895
|
# Example:
|
741
|
-
# `"configuration"
|
896
|
+
# `"configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
|
742
897
|
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
|
743
|
-
#
|
898
|
+
# {"groupEntityType": "MyCorp::Group"}}}`
|
744
899
|
#
|
745
900
|
#
|
746
901
|
#
|
@@ -754,7 +909,7 @@ module Aws::VerifiedPermissions
|
|
754
909
|
# issuer URL, token type that you want to use, and policy store entity
|
755
910
|
# details.
|
756
911
|
#
|
757
|
-
# Example:`"configuration"
|
912
|
+
# Example:`"configuration":{"openIdConnectConfiguration":{"issuer":"https://auth.example.com","tokenSelection":{"accessTokenOnly":{"audiences":["https://myapp.example.com","https://myapp2.example.com"],"principalIdClaim":"sub"}},"entityIdPrefix":"MyOIDCProvider","groupConfiguration":{"groupClaim":"groups","groupEntityType":"MyCorp::UserGroup"}}}`
|
758
913
|
# @return [Types::OpenIdConnectConfigurationDetail]
|
759
914
|
#
|
760
915
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/ConfigurationDetail AWS API Documentation
|
@@ -791,9 +946,9 @@ module Aws::VerifiedPermissions
|
|
791
946
|
# assign to user groups, and one or more application client IDs.
|
792
947
|
#
|
793
948
|
# Example:
|
794
|
-
# `"configuration"
|
949
|
+
# `"configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
|
795
950
|
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
|
796
|
-
#
|
951
|
+
# {"groupEntityType": "MyCorp::Group"}}}`
|
797
952
|
#
|
798
953
|
#
|
799
954
|
#
|
@@ -807,7 +962,7 @@ module Aws::VerifiedPermissions
|
|
807
962
|
# issuer URL, token type that you want to use, and policy store entity
|
808
963
|
# details.
|
809
964
|
#
|
810
|
-
# Example:`"configuration"
|
965
|
+
# Example:`"configuration":{"openIdConnectConfiguration":{"issuer":"https://auth.example.com","tokenSelection":{"accessTokenOnly":{"audiences":["https://myapp.example.com","https://myapp2.example.com"],"principalIdClaim":"sub"}},"entityIdPrefix":"MyOIDCProvider","groupConfiguration":{"groupClaim":"groups","groupEntityType":"MyCorp::UserGroup"}}}`
|
811
966
|
# @return [Types::OpenIdConnectConfigurationItem]
|
812
967
|
#
|
813
968
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/ConfigurationItem AWS API Documentation
|
@@ -853,7 +1008,7 @@ module Aws::VerifiedPermissions
|
|
853
1008
|
# [IsAuthorizedWithToken][3] operations.
|
854
1009
|
#
|
855
1010
|
# Example:
|
856
|
-
# `"context"
|
1011
|
+
# `"context":{"contextMap":{"<KeyName1>":{"boolean":true},"<KeyName2>":{"long":1234}}}`
|
857
1012
|
#
|
858
1013
|
#
|
859
1014
|
#
|
@@ -871,7 +1026,7 @@ module Aws::VerifiedPermissions
|
|
871
1026
|
# map of a data type and its value.
|
872
1027
|
#
|
873
1028
|
# Example:
|
874
|
-
# `"contextMap"
|
1029
|
+
# `"contextMap":{"<KeyName1>":{"boolean":true},"<KeyName2>":{"long":1234}}`
|
875
1030
|
# @return [Hash<String,Types::AttributeValue>]
|
876
1031
|
#
|
877
1032
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/ContextDefinition AWS API Documentation
|
@@ -1046,9 +1201,9 @@ module Aws::VerifiedPermissions
|
|
1046
1201
|
#
|
1047
1202
|
# @!attribute [rw] actions
|
1048
1203
|
# The action that a policy permits or forbids. For example,
|
1049
|
-
#
|
1050
|
-
# "PhotoFlash::Action"
|
1051
|
-
# "PhotoFlash::Action"
|
1204
|
+
# `{"actions": [{"actionId": "ViewPhoto", "actionType":
|
1205
|
+
# "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType":
|
1206
|
+
# "PhotoFlash::Action"}]}`.
|
1052
1207
|
# @return [Array<Types::ActionIdentifier>]
|
1053
1208
|
#
|
1054
1209
|
# @!attribute [rw] created_date
|
@@ -1336,7 +1491,7 @@ module Aws::VerifiedPermissions
|
|
1336
1491
|
# [IsAuthorizedWithToken][3] operations.
|
1337
1492
|
#
|
1338
1493
|
# Example:
|
1339
|
-
# `"determiningPolicies":[
|
1494
|
+
# `"determiningPolicies":[{"policyId":"SPEXAMPLEabcdefg111111"}]`
|
1340
1495
|
#
|
1341
1496
|
#
|
1342
1497
|
#
|
@@ -1398,7 +1553,7 @@ module Aws::VerifiedPermissions
|
|
1398
1553
|
# operation, and as a response parameter for the [CreatePolicy][2],
|
1399
1554
|
# [GetPolicy][3], and [UpdatePolicy][4] operations.
|
1400
1555
|
#
|
1401
|
-
# Example:
|
1556
|
+
# Example: `{"entityId":"string","entityType":"string"}`
|
1402
1557
|
#
|
1403
1558
|
#
|
1404
1559
|
#
|
@@ -1434,9 +1589,9 @@ module Aws::VerifiedPermissions
|
|
1434
1589
|
# This data type is used as one of the fields in the
|
1435
1590
|
# [EntitiesDefinition][1] structure.
|
1436
1591
|
#
|
1437
|
-
#
|
1438
|
-
# "VacationPhoto94.jpg"
|
1439
|
-
# "entityType": "Album", "entityId": "alice_folder"
|
1592
|
+
# `{ "identifier": { "entityType": "Photo", "entityId":
|
1593
|
+
# "VacationPhoto94.jpg" }, "attributes": {}, "parents": [ {
|
1594
|
+
# "entityType": "Album", "entityId": "alice_folder" } ] }`
|
1440
1595
|
#
|
1441
1596
|
#
|
1442
1597
|
#
|
@@ -1641,9 +1796,9 @@ module Aws::VerifiedPermissions
|
|
1641
1796
|
#
|
1642
1797
|
# @!attribute [rw] actions
|
1643
1798
|
# The action that a policy permits or forbids. For example,
|
1644
|
-
#
|
1645
|
-
# "PhotoFlash::Action"
|
1646
|
-
# "PhotoFlash::Action"
|
1799
|
+
# `{"actions": [{"actionId": "ViewPhoto", "actionType":
|
1800
|
+
# "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType":
|
1801
|
+
# "PhotoFlash::Action"}]}`.
|
1647
1802
|
# @return [Array<Types::ActionIdentifier>]
|
1648
1803
|
#
|
1649
1804
|
# @!attribute [rw] definition
|
@@ -3214,7 +3369,7 @@ module Aws::VerifiedPermissions
|
|
3214
3369
|
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListPolicies.html
|
3215
3370
|
#
|
3216
3371
|
# @!attribute [rw] policy_store_id
|
3217
|
-
# The identifier of the
|
3372
|
+
# The identifier of the policy store where the policy you want
|
3218
3373
|
# information about is stored.
|
3219
3374
|
# @return [String]
|
3220
3375
|
#
|
@@ -3240,9 +3395,9 @@ module Aws::VerifiedPermissions
|
|
3240
3395
|
#
|
3241
3396
|
# @!attribute [rw] actions
|
3242
3397
|
# The action that a policy permits or forbids. For example,
|
3243
|
-
#
|
3244
|
-
# "PhotoFlash::Action"
|
3245
|
-
# "PhotoFlash::Action"
|
3398
|
+
# `{"actions": [{"actionId": "ViewPhoto", "actionType":
|
3399
|
+
# "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType":
|
3400
|
+
# "PhotoFlash::Action"}]}`.
|
3246
3401
|
# @return [Array<Types::ActionIdentifier>]
|
3247
3402
|
#
|
3248
3403
|
# @!attribute [rw] definition
|
@@ -3463,7 +3618,7 @@ module Aws::VerifiedPermissions
|
|
3463
3618
|
# @!attribute [rw] cedar_json
|
3464
3619
|
# A JSON string representation of the schema supported by applications
|
3465
3620
|
# that use this policy store. To delete the schema, run [PutSchema][1]
|
3466
|
-
# with
|
3621
|
+
# with `{}` for this parameter. For more information, see [Policy
|
3467
3622
|
# store schema][2] in the *Amazon Verified Permissions User Guide*.
|
3468
3623
|
#
|
3469
3624
|
#
|
@@ -4155,9 +4310,9 @@ module Aws::VerifiedPermissions
|
|
4155
4310
|
#
|
4156
4311
|
# @!attribute [rw] actions
|
4157
4312
|
# The action that a policy permits or forbids. For example,
|
4158
|
-
#
|
4159
|
-
# "PhotoFlash::Action"
|
4160
|
-
# "PhotoFlash::Action"
|
4313
|
+
# `{"actions": [{"actionId": "ViewPhoto", "actionType":
|
4314
|
+
# "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType":
|
4315
|
+
# "PhotoFlash::Action"}]}`.
|
4161
4316
|
# @return [Array<Types::ActionIdentifier>]
|
4162
4317
|
#
|
4163
4318
|
# @!attribute [rw] created_date
|
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:verifiedpermissions)
|
|
23
23
|
# structure.
|
24
24
|
#
|
25
25
|
# verified_permissions = Aws::VerifiedPermissions::Client.new
|
26
|
-
# resp = verified_permissions.
|
26
|
+
# resp = verified_permissions.batch_get_policy(params)
|
27
27
|
#
|
28
28
|
# See {Client} for more information.
|
29
29
|
#
|
@@ -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.
|
58
|
+
GEM_VERSION = '1.37.0'
|
59
59
|
|
60
60
|
end
|
61
61
|
|
data/sig/client.rbs
CHANGED
@@ -76,6 +76,22 @@ module Aws
|
|
76
76
|
| (?Hash[Symbol, untyped]) -> instance
|
77
77
|
|
78
78
|
|
79
|
+
interface _BatchGetPolicyResponseSuccess
|
80
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetPolicyOutput]
|
81
|
+
def results: () -> ::Array[Types::BatchGetPolicyOutputItem]
|
82
|
+
def errors: () -> ::Array[Types::BatchGetPolicyErrorItem]
|
83
|
+
end
|
84
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#batch_get_policy-instance_method
|
85
|
+
def batch_get_policy: (
|
86
|
+
requests: Array[
|
87
|
+
{
|
88
|
+
policy_store_id: ::String,
|
89
|
+
policy_id: ::String
|
90
|
+
},
|
91
|
+
]
|
92
|
+
) -> _BatchGetPolicyResponseSuccess
|
93
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetPolicyResponseSuccess
|
94
|
+
|
79
95
|
interface _BatchIsAuthorizedResponseSuccess
|
80
96
|
include ::Seahorse::Client::_ResponseSuccess[Types::BatchIsAuthorizedOutput]
|
81
97
|
def results: () -> ::Array[Types::BatchIsAuthorizedOutputItem]
|
data/sig/types.rbs
CHANGED
@@ -26,8 +26,10 @@ module Aws::VerifiedPermissions
|
|
26
26
|
attr_accessor string: ::String
|
27
27
|
attr_accessor set: ::Array[Types::AttributeValue]
|
28
28
|
attr_accessor record: ::Hash[::String, Types::AttributeValue]
|
29
|
+
attr_accessor ipaddr: ::String
|
30
|
+
attr_accessor decimal: ::String
|
29
31
|
attr_accessor unknown: untyped
|
30
|
-
SENSITIVE: [:boolean, :long, :string]
|
32
|
+
SENSITIVE: [:boolean, :long, :string, :ipaddr, :decimal]
|
31
33
|
|
32
34
|
class Boolean < AttributeValue
|
33
35
|
end
|
@@ -41,10 +43,49 @@ module Aws::VerifiedPermissions
|
|
41
43
|
end
|
42
44
|
class Record < AttributeValue
|
43
45
|
end
|
46
|
+
class Ipaddr < AttributeValue
|
47
|
+
end
|
48
|
+
class Decimal < AttributeValue
|
49
|
+
end
|
44
50
|
class Unknown < AttributeValue
|
45
51
|
end
|
46
52
|
end
|
47
53
|
|
54
|
+
class BatchGetPolicyErrorItem
|
55
|
+
attr_accessor code: ("POLICY_STORE_NOT_FOUND" | "POLICY_NOT_FOUND")
|
56
|
+
attr_accessor policy_store_id: ::String
|
57
|
+
attr_accessor policy_id: ::String
|
58
|
+
attr_accessor message: ::String
|
59
|
+
SENSITIVE: []
|
60
|
+
end
|
61
|
+
|
62
|
+
class BatchGetPolicyInput
|
63
|
+
attr_accessor requests: ::Array[Types::BatchGetPolicyInputItem]
|
64
|
+
SENSITIVE: []
|
65
|
+
end
|
66
|
+
|
67
|
+
class BatchGetPolicyInputItem
|
68
|
+
attr_accessor policy_store_id: ::String
|
69
|
+
attr_accessor policy_id: ::String
|
70
|
+
SENSITIVE: []
|
71
|
+
end
|
72
|
+
|
73
|
+
class BatchGetPolicyOutput
|
74
|
+
attr_accessor results: ::Array[Types::BatchGetPolicyOutputItem]
|
75
|
+
attr_accessor errors: ::Array[Types::BatchGetPolicyErrorItem]
|
76
|
+
SENSITIVE: []
|
77
|
+
end
|
78
|
+
|
79
|
+
class BatchGetPolicyOutputItem
|
80
|
+
attr_accessor policy_store_id: ::String
|
81
|
+
attr_accessor policy_id: ::String
|
82
|
+
attr_accessor policy_type: ("STATIC" | "TEMPLATE_LINKED")
|
83
|
+
attr_accessor definition: Types::PolicyDefinitionDetail
|
84
|
+
attr_accessor created_date: ::Time
|
85
|
+
attr_accessor last_updated_date: ::Time
|
86
|
+
SENSITIVE: []
|
87
|
+
end
|
88
|
+
|
48
89
|
class BatchIsAuthorizedInput
|
49
90
|
attr_accessor policy_store_id: ::String
|
50
91
|
attr_accessor entities: Types::EntitiesDefinition
|
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.
|
4
|
+
version: 1.37.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-
|
11
|
+
date: 2024-11-06 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.
|
22
|
+
version: 3.210.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.
|
32
|
+
version: 3.210.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|