aws-sdk-ssoadmin 1.16.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssoadmin/client.rb +360 -114
- data/lib/aws-sdk-ssoadmin/client_api.rb +165 -6
- data/lib/aws-sdk-ssoadmin/types.rb +463 -114
- data/lib/aws-sdk-ssoadmin.rb +2 -2
- metadata +2 -2
@@ -361,7 +361,45 @@ module Aws::SSOAdmin
|
|
361
361
|
|
362
362
|
# @!group API Operations
|
363
363
|
|
364
|
-
# Attaches
|
364
|
+
# Attaches the specified customer managed policy to the specified
|
365
|
+
# PermissionSet.
|
366
|
+
#
|
367
|
+
# @option params [required, String] :instance_arn
|
368
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
369
|
+
# operation will be executed.
|
370
|
+
#
|
371
|
+
# @option params [required, String] :permission_set_arn
|
372
|
+
# The ARN of the `PermissionSet`.
|
373
|
+
#
|
374
|
+
# @option params [required, Types::CustomerManagedPolicyReference] :customer_managed_policy_reference
|
375
|
+
# Specifies the name and path of a customer managed policy. You must
|
376
|
+
# have an IAM policy that matches the name and path in each Amazon Web
|
377
|
+
# Services account where you want to deploy your permission set.
|
378
|
+
#
|
379
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
380
|
+
#
|
381
|
+
# @example Request syntax with placeholder values
|
382
|
+
#
|
383
|
+
# resp = client.attach_customer_managed_policy_reference_to_permission_set({
|
384
|
+
# instance_arn: "InstanceArn", # required
|
385
|
+
# permission_set_arn: "PermissionSetArn", # required
|
386
|
+
# customer_managed_policy_reference: { # required
|
387
|
+
# name: "ManagedPolicyName", # required
|
388
|
+
# path: "ManagedPolicyPath",
|
389
|
+
# },
|
390
|
+
# })
|
391
|
+
#
|
392
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/AttachCustomerManagedPolicyReferenceToPermissionSet AWS API Documentation
|
393
|
+
#
|
394
|
+
# @overload attach_customer_managed_policy_reference_to_permission_set(params = {})
|
395
|
+
# @param [Hash] params ({})
|
396
|
+
def attach_customer_managed_policy_reference_to_permission_set(params = {}, options = {})
|
397
|
+
req = build_request(:attach_customer_managed_policy_reference_to_permission_set, params)
|
398
|
+
req.send_request(options)
|
399
|
+
end
|
400
|
+
|
401
|
+
# Attaches an Amazon Web Services managed policy ARN to a permission
|
402
|
+
# set.
|
365
403
|
#
|
366
404
|
# <note markdown="1"> If the permission set is already referenced by one or more account
|
367
405
|
# assignments, you will need to call ` ProvisionPermissionSet ` after
|
@@ -371,9 +409,9 @@ module Aws::SSOAdmin
|
|
371
409
|
# </note>
|
372
410
|
#
|
373
411
|
# @option params [required, String] :instance_arn
|
374
|
-
# The ARN of the SSO instance under which the
|
375
|
-
# executed. For more information about ARNs, see
|
376
|
-
# (ARNs) and Amazon Web Services Service
|
412
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
413
|
+
# operation will be executed. For more information about ARNs, see
|
414
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
377
415
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
378
416
|
# *Amazon Web Services General Reference*.
|
379
417
|
#
|
@@ -382,7 +420,8 @@ module Aws::SSOAdmin
|
|
382
420
|
# attached to.
|
383
421
|
#
|
384
422
|
# @option params [required, String] :managed_policy_arn
|
385
|
-
# The
|
423
|
+
# The Amazon Web Services managed policy ARN to be attached to a
|
424
|
+
# permission set.
|
386
425
|
#
|
387
426
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
388
427
|
#
|
@@ -413,18 +452,24 @@ module Aws::SSOAdmin
|
|
413
452
|
#
|
414
453
|
# <note markdown="1"> As part of a successful `CreateAccountAssignment` call, the specified
|
415
454
|
# permission set will automatically be provisioned to the account in the
|
416
|
-
# form of an IAM policy. That policy is attached to the
|
417
|
-
#
|
418
|
-
# IAM policies attached to roles in your
|
419
|
-
# automatically. In this case, you must
|
420
|
-
# to make these updates.
|
455
|
+
# form of an IAM policy. That policy is attached to the IAM role created
|
456
|
+
# in Amazon Web Services SSO. If the permission set is subsequently
|
457
|
+
# updated, the corresponding IAM policies attached to roles in your
|
458
|
+
# accounts will not be updated automatically. In this case, you must
|
459
|
+
# call ` ProvisionPermissionSet ` to make these updates.
|
460
|
+
#
|
461
|
+
# </note>
|
462
|
+
#
|
463
|
+
# <note markdown="1"> After a successful response, call
|
464
|
+
# `DescribeAccountAssignmentCreationStatus` to describe the status of an
|
465
|
+
# assignment creation request.
|
421
466
|
#
|
422
467
|
# </note>
|
423
468
|
#
|
424
469
|
# @option params [required, String] :instance_arn
|
425
|
-
# The ARN of the SSO instance under which the
|
426
|
-
# executed. For more information about ARNs, see
|
427
|
-
# (ARNs) and Amazon Web Services Service
|
470
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
471
|
+
# operation will be executed. For more information about ARNs, see
|
472
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
428
473
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
429
474
|
# *Amazon Web Services General Reference*.
|
430
475
|
#
|
@@ -493,9 +538,15 @@ module Aws::SSOAdmin
|
|
493
538
|
# Control](/singlesignon/latest/userguide/abac.html) in the *Amazon Web
|
494
539
|
# Services SSO User Guide*.
|
495
540
|
#
|
541
|
+
# <note markdown="1"> After a successful response, call
|
542
|
+
# `DescribeInstanceAccessControlAttributeConfiguration` to validate that
|
543
|
+
# `InstanceAccessControlAttributeConfiguration` was created.
|
544
|
+
#
|
545
|
+
# </note>
|
546
|
+
#
|
496
547
|
# @option params [required, String] :instance_arn
|
497
|
-
# The ARN of the SSO instance under which the
|
498
|
-
# executed.
|
548
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
549
|
+
# operation will be executed.
|
499
550
|
#
|
500
551
|
# @option params [required, Types::InstanceAccessControlAttributeConfiguration] :instance_access_control_attribute_configuration
|
501
552
|
# Specifies the Amazon Web Services SSO identity store attributes to add
|
@@ -534,7 +585,8 @@ module Aws::SSOAdmin
|
|
534
585
|
req.send_request(options)
|
535
586
|
end
|
536
587
|
|
537
|
-
# Creates a permission set within a specified SSO
|
588
|
+
# Creates a permission set within a specified Amazon Web Services SSO
|
589
|
+
# instance.
|
538
590
|
#
|
539
591
|
# <note markdown="1"> To grant users and groups access to Amazon Web Services account
|
540
592
|
# resources, use ` CreateAccountAssignment `.
|
@@ -548,9 +600,9 @@ module Aws::SSOAdmin
|
|
548
600
|
# The description of the PermissionSet.
|
549
601
|
#
|
550
602
|
# @option params [required, String] :instance_arn
|
551
|
-
# The ARN of the SSO instance under which the
|
552
|
-
# executed. For more information about ARNs, see
|
553
|
-
# (ARNs) and Amazon Web Services Service
|
603
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
604
|
+
# operation will be executed. For more information about ARNs, see
|
605
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
554
606
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
555
607
|
# *Amazon Web Services General Reference*.
|
556
608
|
#
|
@@ -579,8 +631,8 @@ module Aws::SSOAdmin
|
|
579
631
|
# relay_state: "RelayState",
|
580
632
|
# tags: [
|
581
633
|
# {
|
582
|
-
# key: "TagKey",
|
583
|
-
# value: "TagValue",
|
634
|
+
# key: "TagKey", # required
|
635
|
+
# value: "TagValue", # required
|
584
636
|
# },
|
585
637
|
# ],
|
586
638
|
# })
|
@@ -606,10 +658,16 @@ module Aws::SSOAdmin
|
|
606
658
|
# Deletes a principal's access from a specified Amazon Web Services
|
607
659
|
# account using a specified permission set.
|
608
660
|
#
|
661
|
+
# <note markdown="1"> After a successful response, call
|
662
|
+
# `DescribeAccountAssignmentCreationStatus` to describe the status of an
|
663
|
+
# assignment deletion request.
|
664
|
+
#
|
665
|
+
# </note>
|
666
|
+
#
|
609
667
|
# @option params [required, String] :instance_arn
|
610
|
-
# The ARN of the SSO instance under which the
|
611
|
-
# executed. For more information about ARNs, see
|
612
|
-
# (ARNs) and Amazon Web Services Service
|
668
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
669
|
+
# operation will be executed. For more information about ARNs, see
|
670
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
613
671
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
614
672
|
# *Amazon Web Services General Reference*.
|
615
673
|
#
|
@@ -673,9 +731,9 @@ module Aws::SSOAdmin
|
|
673
731
|
# Deletes the inline policy from a specified permission set.
|
674
732
|
#
|
675
733
|
# @option params [required, String] :instance_arn
|
676
|
-
# The ARN of the SSO instance under which the
|
677
|
-
# executed. For more information about ARNs, see
|
678
|
-
# (ARNs) and Amazon Web Services Service
|
734
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
735
|
+
# operation will be executed. For more information about ARNs, see
|
736
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
679
737
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
680
738
|
# *Amazon Web Services General Reference*.
|
681
739
|
#
|
@@ -710,8 +768,8 @@ module Aws::SSOAdmin
|
|
710
768
|
# Services SSO User Guide*.
|
711
769
|
#
|
712
770
|
# @option params [required, String] :instance_arn
|
713
|
-
# The ARN of the SSO instance under which the
|
714
|
-
# executed.
|
771
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
772
|
+
# operation will be executed.
|
715
773
|
#
|
716
774
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
717
775
|
#
|
@@ -733,9 +791,9 @@ module Aws::SSOAdmin
|
|
733
791
|
# Deletes the specified permission set.
|
734
792
|
#
|
735
793
|
# @option params [required, String] :instance_arn
|
736
|
-
# The ARN of the SSO instance under which the
|
737
|
-
# executed. For more information about ARNs, see
|
738
|
-
# (ARNs) and Amazon Web Services Service
|
794
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
795
|
+
# operation will be executed. For more information about ARNs, see
|
796
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
739
797
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
740
798
|
# *Amazon Web Services General Reference*.
|
741
799
|
#
|
@@ -760,12 +818,39 @@ module Aws::SSOAdmin
|
|
760
818
|
req.send_request(options)
|
761
819
|
end
|
762
820
|
|
821
|
+
# Deletes the permissions boundary from a specified PermissionSet.
|
822
|
+
#
|
823
|
+
# @option params [required, String] :instance_arn
|
824
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
825
|
+
# operation will be executed.
|
826
|
+
#
|
827
|
+
# @option params [required, String] :permission_set_arn
|
828
|
+
# The ARN of the `PermissionSet`.
|
829
|
+
#
|
830
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
831
|
+
#
|
832
|
+
# @example Request syntax with placeholder values
|
833
|
+
#
|
834
|
+
# resp = client.delete_permissions_boundary_from_permission_set({
|
835
|
+
# instance_arn: "InstanceArn", # required
|
836
|
+
# permission_set_arn: "PermissionSetArn", # required
|
837
|
+
# })
|
838
|
+
#
|
839
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeletePermissionsBoundaryFromPermissionSet AWS API Documentation
|
840
|
+
#
|
841
|
+
# @overload delete_permissions_boundary_from_permission_set(params = {})
|
842
|
+
# @param [Hash] params ({})
|
843
|
+
def delete_permissions_boundary_from_permission_set(params = {}, options = {})
|
844
|
+
req = build_request(:delete_permissions_boundary_from_permission_set, params)
|
845
|
+
req.send_request(options)
|
846
|
+
end
|
847
|
+
|
763
848
|
# Describes the status of the assignment creation request.
|
764
849
|
#
|
765
850
|
# @option params [required, String] :instance_arn
|
766
|
-
# The ARN of the SSO instance under which the
|
767
|
-
# executed. For more information about ARNs, see
|
768
|
-
# (ARNs) and Amazon Web Services Service
|
851
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
852
|
+
# operation will be executed. For more information about ARNs, see
|
853
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
769
854
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
770
855
|
# *Amazon Web Services General Reference*.
|
771
856
|
#
|
@@ -807,9 +892,9 @@ module Aws::SSOAdmin
|
|
807
892
|
# Describes the status of the assignment deletion request.
|
808
893
|
#
|
809
894
|
# @option params [required, String] :instance_arn
|
810
|
-
# The ARN of the SSO instance under which the
|
811
|
-
# executed. For more information about ARNs, see
|
812
|
-
# (ARNs) and Amazon Web Services Service
|
895
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
896
|
+
# operation will be executed. For more information about ARNs, see
|
897
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
813
898
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
814
899
|
# *Amazon Web Services General Reference*.
|
815
900
|
#
|
@@ -857,8 +942,8 @@ module Aws::SSOAdmin
|
|
857
942
|
# Services SSO User Guide*.
|
858
943
|
#
|
859
944
|
# @option params [required, String] :instance_arn
|
860
|
-
# The ARN of the SSO instance under which the
|
861
|
-
# executed.
|
945
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
946
|
+
# operation will be executed.
|
862
947
|
#
|
863
948
|
# @return [Types::DescribeInstanceAccessControlAttributeConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
864
949
|
#
|
@@ -893,9 +978,9 @@ module Aws::SSOAdmin
|
|
893
978
|
# Gets the details of the permission set.
|
894
979
|
#
|
895
980
|
# @option params [required, String] :instance_arn
|
896
|
-
# The ARN of the SSO instance under which the
|
897
|
-
# executed. For more information about ARNs, see
|
898
|
-
# (ARNs) and Amazon Web Services Service
|
981
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
982
|
+
# operation will be executed. For more information about ARNs, see
|
983
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
899
984
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
900
985
|
# *Amazon Web Services General Reference*.
|
901
986
|
#
|
@@ -935,9 +1020,9 @@ module Aws::SSOAdmin
|
|
935
1020
|
# request.
|
936
1021
|
#
|
937
1022
|
# @option params [required, String] :instance_arn
|
938
|
-
# The ARN of the SSO instance under which the
|
939
|
-
# executed. For more information about ARNs, see
|
940
|
-
# (ARNs) and Amazon Web Services Service
|
1023
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1024
|
+
# operation will be executed. For more information about ARNs, see
|
1025
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
941
1026
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
942
1027
|
# *Amazon Web Services General Reference*.
|
943
1028
|
#
|
@@ -974,13 +1059,50 @@ module Aws::SSOAdmin
|
|
974
1059
|
req.send_request(options)
|
975
1060
|
end
|
976
1061
|
|
977
|
-
# Detaches the
|
978
|
-
#
|
1062
|
+
# Detaches the specified customer managed policy from the specified
|
1063
|
+
# PermissionSet.
|
979
1064
|
#
|
980
1065
|
# @option params [required, String] :instance_arn
|
981
|
-
# The ARN of the SSO instance under which the
|
982
|
-
#
|
983
|
-
#
|
1066
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1067
|
+
# operation will be executed.
|
1068
|
+
#
|
1069
|
+
# @option params [required, String] :permission_set_arn
|
1070
|
+
# The ARN of the `PermissionSet`.
|
1071
|
+
#
|
1072
|
+
# @option params [required, Types::CustomerManagedPolicyReference] :customer_managed_policy_reference
|
1073
|
+
# Specifies the name and path of a customer managed policy. You must
|
1074
|
+
# have an IAM policy that matches the name and path in each Amazon Web
|
1075
|
+
# Services account where you want to deploy your permission set.
|
1076
|
+
#
|
1077
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1078
|
+
#
|
1079
|
+
# @example Request syntax with placeholder values
|
1080
|
+
#
|
1081
|
+
# resp = client.detach_customer_managed_policy_reference_from_permission_set({
|
1082
|
+
# instance_arn: "InstanceArn", # required
|
1083
|
+
# permission_set_arn: "PermissionSetArn", # required
|
1084
|
+
# customer_managed_policy_reference: { # required
|
1085
|
+
# name: "ManagedPolicyName", # required
|
1086
|
+
# path: "ManagedPolicyPath",
|
1087
|
+
# },
|
1088
|
+
# })
|
1089
|
+
#
|
1090
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DetachCustomerManagedPolicyReferenceFromPermissionSet AWS API Documentation
|
1091
|
+
#
|
1092
|
+
# @overload detach_customer_managed_policy_reference_from_permission_set(params = {})
|
1093
|
+
# @param [Hash] params ({})
|
1094
|
+
def detach_customer_managed_policy_reference_from_permission_set(params = {}, options = {})
|
1095
|
+
req = build_request(:detach_customer_managed_policy_reference_from_permission_set, params)
|
1096
|
+
req.send_request(options)
|
1097
|
+
end
|
1098
|
+
|
1099
|
+
# Detaches the attached Amazon Web Services managed policy ARN from the
|
1100
|
+
# specified permission set.
|
1101
|
+
#
|
1102
|
+
# @option params [required, String] :instance_arn
|
1103
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1104
|
+
# operation will be executed. For more information about ARNs, see
|
1105
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
984
1106
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
985
1107
|
# *Amazon Web Services General Reference*.
|
986
1108
|
#
|
@@ -988,7 +1110,8 @@ module Aws::SSOAdmin
|
|
988
1110
|
# The ARN of the PermissionSet from which the policy should be detached.
|
989
1111
|
#
|
990
1112
|
# @option params [required, String] :managed_policy_arn
|
991
|
-
# The
|
1113
|
+
# The Amazon Web Services managed policy ARN to be detached from a
|
1114
|
+
# permission set.
|
992
1115
|
#
|
993
1116
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
994
1117
|
#
|
@@ -1012,9 +1135,9 @@ module Aws::SSOAdmin
|
|
1012
1135
|
# Obtains the inline policy assigned to the permission set.
|
1013
1136
|
#
|
1014
1137
|
# @option params [required, String] :instance_arn
|
1015
|
-
# The ARN of the SSO instance under which the
|
1016
|
-
# executed. For more information about ARNs, see
|
1017
|
-
# (ARNs) and Amazon Web Services Service
|
1138
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1139
|
+
# operation will be executed. For more information about ARNs, see
|
1140
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1018
1141
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1019
1142
|
# *Amazon Web Services General Reference*.
|
1020
1143
|
#
|
@@ -1045,13 +1168,48 @@ module Aws::SSOAdmin
|
|
1045
1168
|
req.send_request(options)
|
1046
1169
|
end
|
1047
1170
|
|
1171
|
+
# Obtains the permissions boundary for a specified PermissionSet.
|
1172
|
+
#
|
1173
|
+
# @option params [required, String] :instance_arn
|
1174
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1175
|
+
# operation will be executed.
|
1176
|
+
#
|
1177
|
+
# @option params [required, String] :permission_set_arn
|
1178
|
+
# The ARN of the `PermissionSet`.
|
1179
|
+
#
|
1180
|
+
# @return [Types::GetPermissionsBoundaryForPermissionSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1181
|
+
#
|
1182
|
+
# * {Types::GetPermissionsBoundaryForPermissionSetResponse#permissions_boundary #permissions_boundary} => Types::PermissionsBoundary
|
1183
|
+
#
|
1184
|
+
# @example Request syntax with placeholder values
|
1185
|
+
#
|
1186
|
+
# resp = client.get_permissions_boundary_for_permission_set({
|
1187
|
+
# instance_arn: "InstanceArn", # required
|
1188
|
+
# permission_set_arn: "PermissionSetArn", # required
|
1189
|
+
# })
|
1190
|
+
#
|
1191
|
+
# @example Response structure
|
1192
|
+
#
|
1193
|
+
# resp.permissions_boundary.customer_managed_policy_reference.name #=> String
|
1194
|
+
# resp.permissions_boundary.customer_managed_policy_reference.path #=> String
|
1195
|
+
# resp.permissions_boundary.managed_policy_arn #=> String
|
1196
|
+
#
|
1197
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetPermissionsBoundaryForPermissionSet AWS API Documentation
|
1198
|
+
#
|
1199
|
+
# @overload get_permissions_boundary_for_permission_set(params = {})
|
1200
|
+
# @param [Hash] params ({})
|
1201
|
+
def get_permissions_boundary_for_permission_set(params = {}, options = {})
|
1202
|
+
req = build_request(:get_permissions_boundary_for_permission_set, params)
|
1203
|
+
req.send_request(options)
|
1204
|
+
end
|
1205
|
+
|
1048
1206
|
# Lists the status of the Amazon Web Services account assignment
|
1049
|
-
# creation requests for a specified SSO instance.
|
1207
|
+
# creation requests for a specified Amazon Web Services SSO instance.
|
1050
1208
|
#
|
1051
1209
|
# @option params [required, String] :instance_arn
|
1052
|
-
# The ARN of the SSO instance under which the
|
1053
|
-
# executed. For more information about ARNs, see
|
1054
|
-
# (ARNs) and Amazon Web Services Service
|
1210
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1211
|
+
# operation will be executed. For more information about ARNs, see
|
1212
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1055
1213
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1056
1214
|
# *Amazon Web Services General Reference*.
|
1057
1215
|
#
|
@@ -1101,12 +1259,12 @@ module Aws::SSOAdmin
|
|
1101
1259
|
end
|
1102
1260
|
|
1103
1261
|
# Lists the status of the Amazon Web Services account assignment
|
1104
|
-
# deletion requests for a specified SSO instance.
|
1262
|
+
# deletion requests for a specified Amazon Web Services SSO instance.
|
1105
1263
|
#
|
1106
1264
|
# @option params [required, String] :instance_arn
|
1107
|
-
# The ARN of the SSO instance under which the
|
1108
|
-
# executed. For more information about ARNs, see
|
1109
|
-
# (ARNs) and Amazon Web Services Service
|
1265
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1266
|
+
# operation will be executed. For more information about ARNs, see
|
1267
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1110
1268
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1111
1269
|
# *Amazon Web Services General Reference*.
|
1112
1270
|
#
|
@@ -1159,9 +1317,9 @@ module Aws::SSOAdmin
|
|
1159
1317
|
# the specified permission set.
|
1160
1318
|
#
|
1161
1319
|
# @option params [required, String] :instance_arn
|
1162
|
-
# The ARN of the SSO instance under which the
|
1163
|
-
# executed. For more information about ARNs, see
|
1164
|
-
# (ARNs) and Amazon Web Services Service
|
1320
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1321
|
+
# operation will be executed. For more information about ARNs, see
|
1322
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1165
1323
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1166
1324
|
# *Amazon Web Services General Reference*.
|
1167
1325
|
#
|
@@ -1218,9 +1376,9 @@ module Aws::SSOAdmin
|
|
1218
1376
|
# permission set is provisioned.
|
1219
1377
|
#
|
1220
1378
|
# @option params [required, String] :instance_arn
|
1221
|
-
# The ARN of the SSO instance under which the
|
1222
|
-
# executed. For more information about ARNs, see
|
1223
|
-
# (ARNs) and Amazon Web Services Service
|
1379
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1380
|
+
# operation will be executed. For more information about ARNs, see
|
1381
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1224
1382
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1225
1383
|
# *Amazon Web Services General Reference*.
|
1226
1384
|
#
|
@@ -1271,7 +1429,57 @@ module Aws::SSOAdmin
|
|
1271
1429
|
req.send_request(options)
|
1272
1430
|
end
|
1273
1431
|
|
1274
|
-
# Lists
|
1432
|
+
# Lists all customer managed policies attached to a specified
|
1433
|
+
# PermissionSet.
|
1434
|
+
#
|
1435
|
+
# @option params [required, String] :instance_arn
|
1436
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1437
|
+
# operation will be executed.
|
1438
|
+
#
|
1439
|
+
# @option params [required, String] :permission_set_arn
|
1440
|
+
# The ARN of the `PermissionSet`.
|
1441
|
+
#
|
1442
|
+
# @option params [Integer] :max_results
|
1443
|
+
# The maximum number of results to display for the list call.
|
1444
|
+
#
|
1445
|
+
# @option params [String] :next_token
|
1446
|
+
# The pagination token for the list API. Initially the value is null.
|
1447
|
+
# Use the output of previous API calls to make subsequent calls.
|
1448
|
+
#
|
1449
|
+
# @return [Types::ListCustomerManagedPolicyReferencesInPermissionSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1450
|
+
#
|
1451
|
+
# * {Types::ListCustomerManagedPolicyReferencesInPermissionSetResponse#customer_managed_policy_references #customer_managed_policy_references} => Array<Types::CustomerManagedPolicyReference>
|
1452
|
+
# * {Types::ListCustomerManagedPolicyReferencesInPermissionSetResponse#next_token #next_token} => String
|
1453
|
+
#
|
1454
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1455
|
+
#
|
1456
|
+
# @example Request syntax with placeholder values
|
1457
|
+
#
|
1458
|
+
# resp = client.list_customer_managed_policy_references_in_permission_set({
|
1459
|
+
# instance_arn: "InstanceArn", # required
|
1460
|
+
# permission_set_arn: "PermissionSetArn", # required
|
1461
|
+
# max_results: 1,
|
1462
|
+
# next_token: "Token",
|
1463
|
+
# })
|
1464
|
+
#
|
1465
|
+
# @example Response structure
|
1466
|
+
#
|
1467
|
+
# resp.customer_managed_policy_references #=> Array
|
1468
|
+
# resp.customer_managed_policy_references[0].name #=> String
|
1469
|
+
# resp.customer_managed_policy_references[0].path #=> String
|
1470
|
+
# resp.next_token #=> String
|
1471
|
+
#
|
1472
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListCustomerManagedPolicyReferencesInPermissionSet AWS API Documentation
|
1473
|
+
#
|
1474
|
+
# @overload list_customer_managed_policy_references_in_permission_set(params = {})
|
1475
|
+
# @param [Hash] params ({})
|
1476
|
+
def list_customer_managed_policy_references_in_permission_set(params = {}, options = {})
|
1477
|
+
req = build_request(:list_customer_managed_policy_references_in_permission_set, params)
|
1478
|
+
req.send_request(options)
|
1479
|
+
end
|
1480
|
+
|
1481
|
+
# Lists the Amazon Web Services SSO instances that the caller has access
|
1482
|
+
# to.
|
1275
1483
|
#
|
1276
1484
|
# @option params [Integer] :max_results
|
1277
1485
|
# The maximum number of results to display for the instance.
|
@@ -1310,13 +1518,13 @@ module Aws::SSOAdmin
|
|
1310
1518
|
req.send_request(options)
|
1311
1519
|
end
|
1312
1520
|
|
1313
|
-
# Lists the
|
1314
|
-
# permission set.
|
1521
|
+
# Lists the Amazon Web Services managed policy that is attached to a
|
1522
|
+
# specified permission set.
|
1315
1523
|
#
|
1316
1524
|
# @option params [required, String] :instance_arn
|
1317
|
-
# The ARN of the SSO instance under which the
|
1318
|
-
# executed. For more information about ARNs, see
|
1319
|
-
# (ARNs) and Amazon Web Services Service
|
1525
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1526
|
+
# operation will be executed. For more information about ARNs, see
|
1527
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1320
1528
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1321
1529
|
# *Amazon Web Services General Reference*.
|
1322
1530
|
#
|
@@ -1363,12 +1571,12 @@ module Aws::SSOAdmin
|
|
1363
1571
|
end
|
1364
1572
|
|
1365
1573
|
# Lists the status of the permission set provisioning requests for a
|
1366
|
-
# specified SSO instance.
|
1574
|
+
# specified Amazon Web Services SSO instance.
|
1367
1575
|
#
|
1368
1576
|
# @option params [required, String] :instance_arn
|
1369
|
-
# The ARN of the SSO instance under which the
|
1370
|
-
# executed. For more information about ARNs, see
|
1371
|
-
# (ARNs) and Amazon Web Services Service
|
1577
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1578
|
+
# operation will be executed. For more information about ARNs, see
|
1579
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1372
1580
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1373
1581
|
# *Amazon Web Services General Reference*.
|
1374
1582
|
#
|
@@ -1417,12 +1625,12 @@ module Aws::SSOAdmin
|
|
1417
1625
|
req.send_request(options)
|
1418
1626
|
end
|
1419
1627
|
|
1420
|
-
# Lists the PermissionSets in an SSO instance.
|
1628
|
+
# Lists the PermissionSets in an Amazon Web Services SSO instance.
|
1421
1629
|
#
|
1422
1630
|
# @option params [required, String] :instance_arn
|
1423
|
-
# The ARN of the SSO instance under which the
|
1424
|
-
# executed. For more information about ARNs, see
|
1425
|
-
# (ARNs) and Amazon Web Services Service
|
1631
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1632
|
+
# operation will be executed. For more information about ARNs, see
|
1633
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1426
1634
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1427
1635
|
# *Amazon Web Services General Reference*.
|
1428
1636
|
#
|
@@ -1467,9 +1675,9 @@ module Aws::SSOAdmin
|
|
1467
1675
|
# Amazon Web Services account.
|
1468
1676
|
#
|
1469
1677
|
# @option params [required, String] :instance_arn
|
1470
|
-
# The ARN of the SSO instance under which the
|
1471
|
-
# executed. For more information about ARNs, see
|
1472
|
-
# (ARNs) and Amazon Web Services Service
|
1678
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1679
|
+
# operation will be executed. For more information about ARNs, see
|
1680
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1473
1681
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1474
1682
|
# *Amazon Web Services General Reference*.
|
1475
1683
|
#
|
@@ -1522,9 +1730,9 @@ module Aws::SSOAdmin
|
|
1522
1730
|
# Lists the tags that are attached to a specified resource.
|
1523
1731
|
#
|
1524
1732
|
# @option params [required, String] :instance_arn
|
1525
|
-
# The ARN of the SSO instance under which the
|
1526
|
-
# executed. For more information about ARNs, see
|
1527
|
-
# (ARNs) and Amazon Web Services Service
|
1733
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1734
|
+
# operation will be executed. For more information about ARNs, see
|
1735
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1528
1736
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1529
1737
|
# *Amazon Web Services General Reference*.
|
1530
1738
|
#
|
@@ -1546,7 +1754,7 @@ module Aws::SSOAdmin
|
|
1546
1754
|
#
|
1547
1755
|
# resp = client.list_tags_for_resource({
|
1548
1756
|
# instance_arn: "InstanceArn", # required
|
1549
|
-
# resource_arn: "
|
1757
|
+
# resource_arn: "TaggableResourceArn", # required
|
1550
1758
|
# next_token: "Token",
|
1551
1759
|
# })
|
1552
1760
|
#
|
@@ -1570,9 +1778,9 @@ module Aws::SSOAdmin
|
|
1570
1778
|
# specified target.
|
1571
1779
|
#
|
1572
1780
|
# @option params [required, String] :instance_arn
|
1573
|
-
# The ARN of the SSO instance under which the
|
1574
|
-
# executed. For more information about ARNs, see
|
1575
|
-
# (ARNs) and Amazon Web Services Service
|
1781
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1782
|
+
# operation will be executed. For more information about ARNs, see
|
1783
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1576
1784
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1577
1785
|
# *Amazon Web Services General Reference*.
|
1578
1786
|
#
|
@@ -1617,7 +1825,7 @@ module Aws::SSOAdmin
|
|
1617
1825
|
req.send_request(options)
|
1618
1826
|
end
|
1619
1827
|
|
1620
|
-
# Attaches an
|
1828
|
+
# Attaches an inline policy to a permission set.
|
1621
1829
|
#
|
1622
1830
|
# <note markdown="1"> If the permission set is already referenced by one or more account
|
1623
1831
|
# assignments, you will need to call ` ProvisionPermissionSet ` after
|
@@ -1627,9 +1835,9 @@ module Aws::SSOAdmin
|
|
1627
1835
|
# </note>
|
1628
1836
|
#
|
1629
1837
|
# @option params [required, String] :instance_arn
|
1630
|
-
# The ARN of the SSO instance under which the
|
1631
|
-
# executed. For more information about ARNs, see
|
1632
|
-
# (ARNs) and Amazon Web Services Service
|
1838
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1839
|
+
# operation will be executed. For more information about ARNs, see
|
1840
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1633
1841
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1634
1842
|
# *Amazon Web Services General Reference*.
|
1635
1843
|
#
|
@@ -1637,7 +1845,7 @@ module Aws::SSOAdmin
|
|
1637
1845
|
# The ARN of the permission set.
|
1638
1846
|
#
|
1639
1847
|
# @option params [required, String] :inline_policy
|
1640
|
-
# The
|
1848
|
+
# The inline policy to attach to a PermissionSet.
|
1641
1849
|
#
|
1642
1850
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1643
1851
|
#
|
@@ -1658,12 +1866,50 @@ module Aws::SSOAdmin
|
|
1658
1866
|
req.send_request(options)
|
1659
1867
|
end
|
1660
1868
|
|
1869
|
+
# Attaches an Amazon Web Services managed or customer managed policy to
|
1870
|
+
# the specified PermissionSet as a permissions boundary.
|
1871
|
+
#
|
1872
|
+
# @option params [required, String] :instance_arn
|
1873
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1874
|
+
# operation will be executed.
|
1875
|
+
#
|
1876
|
+
# @option params [required, String] :permission_set_arn
|
1877
|
+
# The ARN of the `PermissionSet`.
|
1878
|
+
#
|
1879
|
+
# @option params [required, Types::PermissionsBoundary] :permissions_boundary
|
1880
|
+
# The permissions boundary that you want to attach to a `PermissionSet`.
|
1881
|
+
#
|
1882
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1883
|
+
#
|
1884
|
+
# @example Request syntax with placeholder values
|
1885
|
+
#
|
1886
|
+
# resp = client.put_permissions_boundary_to_permission_set({
|
1887
|
+
# instance_arn: "InstanceArn", # required
|
1888
|
+
# permission_set_arn: "PermissionSetArn", # required
|
1889
|
+
# permissions_boundary: { # required
|
1890
|
+
# customer_managed_policy_reference: {
|
1891
|
+
# name: "ManagedPolicyName", # required
|
1892
|
+
# path: "ManagedPolicyPath",
|
1893
|
+
# },
|
1894
|
+
# managed_policy_arn: "ManagedPolicyArn",
|
1895
|
+
# },
|
1896
|
+
# })
|
1897
|
+
#
|
1898
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutPermissionsBoundaryToPermissionSet AWS API Documentation
|
1899
|
+
#
|
1900
|
+
# @overload put_permissions_boundary_to_permission_set(params = {})
|
1901
|
+
# @param [Hash] params ({})
|
1902
|
+
def put_permissions_boundary_to_permission_set(params = {}, options = {})
|
1903
|
+
req = build_request(:put_permissions_boundary_to_permission_set, params)
|
1904
|
+
req.send_request(options)
|
1905
|
+
end
|
1906
|
+
|
1661
1907
|
# Associates a set of tags with a specified resource.
|
1662
1908
|
#
|
1663
1909
|
# @option params [required, String] :instance_arn
|
1664
|
-
# The ARN of the SSO instance under which the
|
1665
|
-
# executed. For more information about ARNs, see
|
1666
|
-
# (ARNs) and Amazon Web Services Service
|
1910
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1911
|
+
# operation will be executed. For more information about ARNs, see
|
1912
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1667
1913
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1668
1914
|
# *Amazon Web Services General Reference*.
|
1669
1915
|
#
|
@@ -1679,11 +1925,11 @@ module Aws::SSOAdmin
|
|
1679
1925
|
#
|
1680
1926
|
# resp = client.tag_resource({
|
1681
1927
|
# instance_arn: "InstanceArn", # required
|
1682
|
-
# resource_arn: "
|
1928
|
+
# resource_arn: "TaggableResourceArn", # required
|
1683
1929
|
# tags: [ # required
|
1684
1930
|
# {
|
1685
|
-
# key: "TagKey",
|
1686
|
-
# value: "TagValue",
|
1931
|
+
# key: "TagKey", # required
|
1932
|
+
# value: "TagValue", # required
|
1687
1933
|
# },
|
1688
1934
|
# ],
|
1689
1935
|
# })
|
@@ -1700,9 +1946,9 @@ module Aws::SSOAdmin
|
|
1700
1946
|
# Disassociates a set of tags from a specified resource.
|
1701
1947
|
#
|
1702
1948
|
# @option params [required, String] :instance_arn
|
1703
|
-
# The ARN of the SSO instance under which the
|
1704
|
-
# executed. For more information about ARNs, see
|
1705
|
-
# (ARNs) and Amazon Web Services Service
|
1949
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1950
|
+
# operation will be executed. For more information about ARNs, see
|
1951
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1706
1952
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1707
1953
|
# *Amazon Web Services General Reference*.
|
1708
1954
|
#
|
@@ -1718,7 +1964,7 @@ module Aws::SSOAdmin
|
|
1718
1964
|
#
|
1719
1965
|
# resp = client.untag_resource({
|
1720
1966
|
# instance_arn: "InstanceArn", # required
|
1721
|
-
# resource_arn: "
|
1967
|
+
# resource_arn: "TaggableResourceArn", # required
|
1722
1968
|
# tag_keys: ["TagKey"], # required
|
1723
1969
|
# })
|
1724
1970
|
#
|
@@ -1744,8 +1990,8 @@ module Aws::SSOAdmin
|
|
1744
1990
|
# Services SSO User Guide*.
|
1745
1991
|
#
|
1746
1992
|
# @option params [required, String] :instance_arn
|
1747
|
-
# The ARN of the SSO instance under which the
|
1748
|
-
# executed.
|
1993
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1994
|
+
# operation will be executed.
|
1749
1995
|
#
|
1750
1996
|
# @option params [required, Types::InstanceAccessControlAttributeConfiguration] :instance_access_control_attribute_configuration
|
1751
1997
|
# Updates the attributes for your ABAC configuration.
|
@@ -1780,9 +2026,9 @@ module Aws::SSOAdmin
|
|
1780
2026
|
# Updates an existing permission set.
|
1781
2027
|
#
|
1782
2028
|
# @option params [required, String] :instance_arn
|
1783
|
-
# The ARN of the SSO instance under which the
|
1784
|
-
# executed. For more information about ARNs, see
|
1785
|
-
# (ARNs) and Amazon Web Services Service
|
2029
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
2030
|
+
# operation will be executed. For more information about ARNs, see
|
2031
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1786
2032
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1787
2033
|
# *Amazon Web Services General Reference*.
|
1788
2034
|
#
|
@@ -1834,7 +2080,7 @@ module Aws::SSOAdmin
|
|
1834
2080
|
params: params,
|
1835
2081
|
config: config)
|
1836
2082
|
context[:gem_name] = 'aws-sdk-ssoadmin'
|
1837
|
-
context[:gem_version] = '1.
|
2083
|
+
context[:gem_version] = '1.19.0'
|
1838
2084
|
Seahorse::Client::Request.new(handlers, context)
|
1839
2085
|
end
|
1840
2086
|
|