aws-sdk-verifiedpermissions 1.20.0 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d85723138c59a3b88a56eeb9871fd0bc7171ee2301ab165883c2fe7b34005c8
4
- data.tar.gz: 7ca6c98dd89c12f2e2153b5db098b79d81cffc38d52a27813b360d54607daebd
3
+ metadata.gz: c5c83779d1c7d45e460a9c39919be1ec65dd857d156ca27bc6914618d14ebb8a
4
+ data.tar.gz: 8acf13c67b1678ea3b916586c45253de5d020b21e37227bd314ec796b54cac13
5
5
  SHA512:
6
- metadata.gz: '08756b93ef50e0b4f20d509327137497d4931c2349f6cb1301f427f506691b87fa96a8579ad0cbc533a18a7ff9d24d39914cbaa4982a51d02e0a5d1191bb0bec'
7
- data.tar.gz: d83e6fef4e10e634a9eb8aba8ab10577419e1e5373cbe9521a90698948e23d771d245cb2e62e4a64a7eacb4f61dabbb04efcd05c88584ff54bd27bb643fff227
6
+ metadata.gz: 85d9eba1fafaf95a75bfa9760026cdd9dc7ddf381efc93fd3678728e3ae698d7111e08bd04798179f5d51ee9aae85ffa3b17f67ce627f38f8413e9148e21d57c
7
+ data.tar.gz: a33adf6d6866c2b03310634b02bc19e9d7ce998b5bd31c0550efada1f5d87db53065576cbf7115a84022817917a80c44e50ff8a407917b6146a38c33a1bdb436
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.20.0 (2024-04-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.20.0
1
+ 1.21.0
@@ -892,8 +892,10 @@ module Aws::VerifiedPermissions
892
892
  # * {Types::CreatePolicyOutput#policy_type #policy_type} => String
893
893
  # * {Types::CreatePolicyOutput#principal #principal} => Types::EntityIdentifier
894
894
  # * {Types::CreatePolicyOutput#resource #resource} => Types::EntityIdentifier
895
+ # * {Types::CreatePolicyOutput#actions #actions} => Array<Types::ActionIdentifier>
895
896
  # * {Types::CreatePolicyOutput#created_date #created_date} => Time
896
897
  # * {Types::CreatePolicyOutput#last_updated_date #last_updated_date} => Time
898
+ # * {Types::CreatePolicyOutput#effect #effect} => String
897
899
  #
898
900
  # @example Request syntax with placeholder values
899
901
  #
@@ -928,8 +930,12 @@ module Aws::VerifiedPermissions
928
930
  # resp.principal.entity_id #=> String
929
931
  # resp.resource.entity_type #=> String
930
932
  # resp.resource.entity_id #=> String
933
+ # resp.actions #=> Array
934
+ # resp.actions[0].action_type #=> String
935
+ # resp.actions[0].action_id #=> String
931
936
  # resp.created_date #=> Time
932
937
  # resp.last_updated_date #=> Time
938
+ # resp.effect #=> String, one of "Permit", "Forbid"
933
939
  #
934
940
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CreatePolicy AWS API Documentation
935
941
  #
@@ -1317,9 +1323,11 @@ module Aws::VerifiedPermissions
1317
1323
  # * {Types::GetPolicyOutput#policy_type #policy_type} => String
1318
1324
  # * {Types::GetPolicyOutput#principal #principal} => Types::EntityIdentifier
1319
1325
  # * {Types::GetPolicyOutput#resource #resource} => Types::EntityIdentifier
1326
+ # * {Types::GetPolicyOutput#actions #actions} => Array<Types::ActionIdentifier>
1320
1327
  # * {Types::GetPolicyOutput#definition #definition} => Types::PolicyDefinitionDetail
1321
1328
  # * {Types::GetPolicyOutput#created_date #created_date} => Time
1322
1329
  # * {Types::GetPolicyOutput#last_updated_date #last_updated_date} => Time
1330
+ # * {Types::GetPolicyOutput#effect #effect} => String
1323
1331
  #
1324
1332
  # @example Request syntax with placeholder values
1325
1333
  #
@@ -1337,6 +1345,9 @@ module Aws::VerifiedPermissions
1337
1345
  # resp.principal.entity_id #=> String
1338
1346
  # resp.resource.entity_type #=> String
1339
1347
  # resp.resource.entity_id #=> String
1348
+ # resp.actions #=> Array
1349
+ # resp.actions[0].action_type #=> String
1350
+ # resp.actions[0].action_id #=> String
1340
1351
  # resp.definition.static.description #=> String
1341
1352
  # resp.definition.static.statement #=> String
1342
1353
  # resp.definition.template_linked.policy_template_id #=> String
@@ -1346,6 +1357,7 @@ module Aws::VerifiedPermissions
1346
1357
  # resp.definition.template_linked.resource.entity_id #=> String
1347
1358
  # resp.created_date #=> Time
1348
1359
  # resp.last_updated_date #=> Time
1360
+ # resp.effect #=> String, one of "Permit", "Forbid"
1349
1361
  #
1350
1362
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/GetPolicy AWS API Documentation
1351
1363
  #
@@ -1747,7 +1759,7 @@ module Aws::VerifiedPermissions
1747
1759
  # every operation to ensure that you receive all of the results.
1748
1760
  #
1749
1761
  # If you do not specify this parameter, the operation defaults to 10
1750
- # identity sources per response. You can specify a maximum of 200
1762
+ # identity sources per response. You can specify a maximum of 50
1751
1763
  # identity sources per response.
1752
1764
  #
1753
1765
  # @option params [Array<Types::IdentitySourceFilter>] :filters
@@ -1879,6 +1891,9 @@ module Aws::VerifiedPermissions
1879
1891
  # resp.policies[0].principal.entity_id #=> String
1880
1892
  # resp.policies[0].resource.entity_type #=> String
1881
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
1882
1897
  # resp.policies[0].definition.static.description #=> String
1883
1898
  # resp.policies[0].definition.template_linked.policy_template_id #=> String
1884
1899
  # resp.policies[0].definition.template_linked.principal.entity_type #=> String
@@ -1887,6 +1902,7 @@ module Aws::VerifiedPermissions
1887
1902
  # resp.policies[0].definition.template_linked.resource.entity_id #=> String
1888
1903
  # resp.policies[0].created_date #=> Time
1889
1904
  # resp.policies[0].last_updated_date #=> Time
1905
+ # resp.policies[0].effect #=> String, one of "Permit", "Forbid"
1890
1906
  #
1891
1907
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/ListPolicies AWS API Documentation
1892
1908
  #
@@ -2234,8 +2250,10 @@ module Aws::VerifiedPermissions
2234
2250
  # * {Types::UpdatePolicyOutput#policy_type #policy_type} => String
2235
2251
  # * {Types::UpdatePolicyOutput#principal #principal} => Types::EntityIdentifier
2236
2252
  # * {Types::UpdatePolicyOutput#resource #resource} => Types::EntityIdentifier
2253
+ # * {Types::UpdatePolicyOutput#actions #actions} => Array&lt;Types::ActionIdentifier&gt;
2237
2254
  # * {Types::UpdatePolicyOutput#created_date #created_date} => Time
2238
2255
  # * {Types::UpdatePolicyOutput#last_updated_date #last_updated_date} => Time
2256
+ # * {Types::UpdatePolicyOutput#effect #effect} => String
2239
2257
  #
2240
2258
  # @example Request syntax with placeholder values
2241
2259
  #
@@ -2259,8 +2277,12 @@ module Aws::VerifiedPermissions
2259
2277
  # resp.principal.entity_id #=> String
2260
2278
  # resp.resource.entity_type #=> String
2261
2279
  # resp.resource.entity_id #=> String
2280
+ # resp.actions #=> Array
2281
+ # resp.actions[0].action_type #=> String
2282
+ # resp.actions[0].action_id #=> String
2262
2283
  # resp.created_date #=> Time
2263
2284
  # resp.last_updated_date #=> Time
2285
+ # resp.effect #=> String, one of "Permit", "Forbid"
2264
2286
  #
2265
2287
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/UpdatePolicy AWS API Documentation
2266
2288
  #
@@ -2418,7 +2440,7 @@ module Aws::VerifiedPermissions
2418
2440
  params: params,
2419
2441
  config: config)
2420
2442
  context[:gem_name] = 'aws-sdk-verifiedpermissions'
2421
- context[:gem_version] = '1.20.0'
2443
+ context[:gem_version] = '1.21.0'
2422
2444
  Seahorse::Client::Request.new(handlers, context)
2423
2445
  end
2424
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.20.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.20.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-25 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