aws-sdk-ssoadmin 1.15.0 → 1.18.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssoadmin/client.rb +344 -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 +4 -4
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
32
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
@@ -75,6 +76,7 @@ module Aws::SSOAdmin
|
|
75
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
80
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
@@ -359,7 +361,45 @@ module Aws::SSOAdmin
|
|
359
361
|
|
360
362
|
# @!group API Operations
|
361
363
|
|
362
|
-
# 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.
|
363
403
|
#
|
364
404
|
# <note markdown="1"> If the permission set is already referenced by one or more account
|
365
405
|
# assignments, you will need to call ` ProvisionPermissionSet ` after
|
@@ -369,9 +409,9 @@ module Aws::SSOAdmin
|
|
369
409
|
# </note>
|
370
410
|
#
|
371
411
|
# @option params [required, String] :instance_arn
|
372
|
-
# The ARN of the SSO instance under which the
|
373
|
-
# executed. For more information about ARNs, see
|
374
|
-
# (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
|
375
415
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
376
416
|
# *Amazon Web Services General Reference*.
|
377
417
|
#
|
@@ -380,7 +420,8 @@ module Aws::SSOAdmin
|
|
380
420
|
# attached to.
|
381
421
|
#
|
382
422
|
# @option params [required, String] :managed_policy_arn
|
383
|
-
# The
|
423
|
+
# The Amazon Web Services managed policy ARN to be attached to a
|
424
|
+
# permission set.
|
384
425
|
#
|
385
426
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
386
427
|
#
|
@@ -411,18 +452,18 @@ module Aws::SSOAdmin
|
|
411
452
|
#
|
412
453
|
# <note markdown="1"> As part of a successful `CreateAccountAssignment` call, the specified
|
413
454
|
# permission set will automatically be provisioned to the account in the
|
414
|
-
# form of an IAM policy. That policy is attached to the
|
415
|
-
#
|
416
|
-
# IAM policies attached to roles in your
|
417
|
-
# automatically. In this case, you must
|
418
|
-
# 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.
|
419
460
|
#
|
420
461
|
# </note>
|
421
462
|
#
|
422
463
|
# @option params [required, String] :instance_arn
|
423
|
-
# The ARN of the SSO instance under which the
|
424
|
-
# executed. For more information about ARNs, see
|
425
|
-
# (ARNs) and Amazon Web Services Service
|
464
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
465
|
+
# operation will be executed. For more information about ARNs, see
|
466
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
426
467
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
427
468
|
# *Amazon Web Services General Reference*.
|
428
469
|
#
|
@@ -492,8 +533,8 @@ module Aws::SSOAdmin
|
|
492
533
|
# Services SSO User Guide*.
|
493
534
|
#
|
494
535
|
# @option params [required, String] :instance_arn
|
495
|
-
# The ARN of the SSO instance under which the
|
496
|
-
# executed.
|
536
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
537
|
+
# operation will be executed.
|
497
538
|
#
|
498
539
|
# @option params [required, Types::InstanceAccessControlAttributeConfiguration] :instance_access_control_attribute_configuration
|
499
540
|
# Specifies the Amazon Web Services SSO identity store attributes to add
|
@@ -532,7 +573,8 @@ module Aws::SSOAdmin
|
|
532
573
|
req.send_request(options)
|
533
574
|
end
|
534
575
|
|
535
|
-
# Creates a permission set within a specified SSO
|
576
|
+
# Creates a permission set within a specified Amazon Web Services SSO
|
577
|
+
# instance.
|
536
578
|
#
|
537
579
|
# <note markdown="1"> To grant users and groups access to Amazon Web Services account
|
538
580
|
# resources, use ` CreateAccountAssignment `.
|
@@ -546,9 +588,9 @@ module Aws::SSOAdmin
|
|
546
588
|
# The description of the PermissionSet.
|
547
589
|
#
|
548
590
|
# @option params [required, String] :instance_arn
|
549
|
-
# The ARN of the SSO instance under which the
|
550
|
-
# executed. For more information about ARNs, see
|
551
|
-
# (ARNs) and Amazon Web Services Service
|
591
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
592
|
+
# operation will be executed. For more information about ARNs, see
|
593
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
552
594
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
553
595
|
# *Amazon Web Services General Reference*.
|
554
596
|
#
|
@@ -577,8 +619,8 @@ module Aws::SSOAdmin
|
|
577
619
|
# relay_state: "RelayState",
|
578
620
|
# tags: [
|
579
621
|
# {
|
580
|
-
# key: "TagKey",
|
581
|
-
# value: "TagValue",
|
622
|
+
# key: "TagKey", # required
|
623
|
+
# value: "TagValue", # required
|
582
624
|
# },
|
583
625
|
# ],
|
584
626
|
# })
|
@@ -605,9 +647,9 @@ module Aws::SSOAdmin
|
|
605
647
|
# account using a specified permission set.
|
606
648
|
#
|
607
649
|
# @option params [required, String] :instance_arn
|
608
|
-
# The ARN of the SSO instance under which the
|
609
|
-
# executed. For more information about ARNs, see
|
610
|
-
# (ARNs) and Amazon Web Services Service
|
650
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
651
|
+
# operation will be executed. For more information about ARNs, see
|
652
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
611
653
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
612
654
|
# *Amazon Web Services General Reference*.
|
613
655
|
#
|
@@ -671,9 +713,9 @@ module Aws::SSOAdmin
|
|
671
713
|
# Deletes the inline policy from a specified permission set.
|
672
714
|
#
|
673
715
|
# @option params [required, String] :instance_arn
|
674
|
-
# The ARN of the SSO instance under which the
|
675
|
-
# executed. For more information about ARNs, see
|
676
|
-
# (ARNs) and Amazon Web Services Service
|
716
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
717
|
+
# operation will be executed. For more information about ARNs, see
|
718
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
677
719
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
678
720
|
# *Amazon Web Services General Reference*.
|
679
721
|
#
|
@@ -708,8 +750,8 @@ module Aws::SSOAdmin
|
|
708
750
|
# Services SSO User Guide*.
|
709
751
|
#
|
710
752
|
# @option params [required, String] :instance_arn
|
711
|
-
# The ARN of the SSO instance under which the
|
712
|
-
# executed.
|
753
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
754
|
+
# operation will be executed.
|
713
755
|
#
|
714
756
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
715
757
|
#
|
@@ -731,9 +773,9 @@ module Aws::SSOAdmin
|
|
731
773
|
# Deletes the specified permission set.
|
732
774
|
#
|
733
775
|
# @option params [required, String] :instance_arn
|
734
|
-
# The ARN of the SSO instance under which the
|
735
|
-
# executed. For more information about ARNs, see
|
736
|
-
# (ARNs) and Amazon Web Services Service
|
776
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
777
|
+
# operation will be executed. For more information about ARNs, see
|
778
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
737
779
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
738
780
|
# *Amazon Web Services General Reference*.
|
739
781
|
#
|
@@ -758,12 +800,39 @@ module Aws::SSOAdmin
|
|
758
800
|
req.send_request(options)
|
759
801
|
end
|
760
802
|
|
803
|
+
# Deletes the permissions boundary from a specified PermissionSet.
|
804
|
+
#
|
805
|
+
# @option params [required, String] :instance_arn
|
806
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
807
|
+
# operation will be executed.
|
808
|
+
#
|
809
|
+
# @option params [required, String] :permission_set_arn
|
810
|
+
# The ARN of the `PermissionSet`.
|
811
|
+
#
|
812
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
813
|
+
#
|
814
|
+
# @example Request syntax with placeholder values
|
815
|
+
#
|
816
|
+
# resp = client.delete_permissions_boundary_from_permission_set({
|
817
|
+
# instance_arn: "InstanceArn", # required
|
818
|
+
# permission_set_arn: "PermissionSetArn", # required
|
819
|
+
# })
|
820
|
+
#
|
821
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeletePermissionsBoundaryFromPermissionSet AWS API Documentation
|
822
|
+
#
|
823
|
+
# @overload delete_permissions_boundary_from_permission_set(params = {})
|
824
|
+
# @param [Hash] params ({})
|
825
|
+
def delete_permissions_boundary_from_permission_set(params = {}, options = {})
|
826
|
+
req = build_request(:delete_permissions_boundary_from_permission_set, params)
|
827
|
+
req.send_request(options)
|
828
|
+
end
|
829
|
+
|
761
830
|
# Describes the status of the assignment creation request.
|
762
831
|
#
|
763
832
|
# @option params [required, String] :instance_arn
|
764
|
-
# The ARN of the SSO instance under which the
|
765
|
-
# executed. For more information about ARNs, see
|
766
|
-
# (ARNs) and Amazon Web Services Service
|
833
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
834
|
+
# operation will be executed. For more information about ARNs, see
|
835
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
767
836
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
768
837
|
# *Amazon Web Services General Reference*.
|
769
838
|
#
|
@@ -805,9 +874,9 @@ module Aws::SSOAdmin
|
|
805
874
|
# Describes the status of the assignment deletion request.
|
806
875
|
#
|
807
876
|
# @option params [required, String] :instance_arn
|
808
|
-
# The ARN of the SSO instance under which the
|
809
|
-
# executed. For more information about ARNs, see
|
810
|
-
# (ARNs) and Amazon Web Services Service
|
877
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
878
|
+
# operation will be executed. For more information about ARNs, see
|
879
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
811
880
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
812
881
|
# *Amazon Web Services General Reference*.
|
813
882
|
#
|
@@ -855,8 +924,8 @@ module Aws::SSOAdmin
|
|
855
924
|
# Services SSO User Guide*.
|
856
925
|
#
|
857
926
|
# @option params [required, String] :instance_arn
|
858
|
-
# The ARN of the SSO instance under which the
|
859
|
-
# executed.
|
927
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
928
|
+
# operation will be executed.
|
860
929
|
#
|
861
930
|
# @return [Types::DescribeInstanceAccessControlAttributeConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
862
931
|
#
|
@@ -891,9 +960,9 @@ module Aws::SSOAdmin
|
|
891
960
|
# Gets the details of the permission set.
|
892
961
|
#
|
893
962
|
# @option params [required, String] :instance_arn
|
894
|
-
# The ARN of the SSO instance under which the
|
895
|
-
# executed. For more information about ARNs, see
|
896
|
-
# (ARNs) and Amazon Web Services Service
|
963
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
964
|
+
# operation will be executed. For more information about ARNs, see
|
965
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
897
966
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
898
967
|
# *Amazon Web Services General Reference*.
|
899
968
|
#
|
@@ -933,9 +1002,9 @@ module Aws::SSOAdmin
|
|
933
1002
|
# request.
|
934
1003
|
#
|
935
1004
|
# @option params [required, String] :instance_arn
|
936
|
-
# The ARN of the SSO instance under which the
|
937
|
-
# executed. For more information about ARNs, see
|
938
|
-
# (ARNs) and Amazon Web Services Service
|
1005
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1006
|
+
# operation will be executed. For more information about ARNs, see
|
1007
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
939
1008
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
940
1009
|
# *Amazon Web Services General Reference*.
|
941
1010
|
#
|
@@ -972,13 +1041,50 @@ module Aws::SSOAdmin
|
|
972
1041
|
req.send_request(options)
|
973
1042
|
end
|
974
1043
|
|
975
|
-
# Detaches the
|
976
|
-
#
|
1044
|
+
# Detaches the specified customer managed policy from the specified
|
1045
|
+
# PermissionSet.
|
977
1046
|
#
|
978
1047
|
# @option params [required, String] :instance_arn
|
979
|
-
# The ARN of the SSO instance under which the
|
980
|
-
#
|
981
|
-
#
|
1048
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1049
|
+
# operation will be executed.
|
1050
|
+
#
|
1051
|
+
# @option params [required, String] :permission_set_arn
|
1052
|
+
# The ARN of the `PermissionSet`.
|
1053
|
+
#
|
1054
|
+
# @option params [required, Types::CustomerManagedPolicyReference] :customer_managed_policy_reference
|
1055
|
+
# Specifies the name and path of a customer managed policy. You must
|
1056
|
+
# have an IAM policy that matches the name and path in each Amazon Web
|
1057
|
+
# Services account where you want to deploy your permission set.
|
1058
|
+
#
|
1059
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1060
|
+
#
|
1061
|
+
# @example Request syntax with placeholder values
|
1062
|
+
#
|
1063
|
+
# resp = client.detach_customer_managed_policy_reference_from_permission_set({
|
1064
|
+
# instance_arn: "InstanceArn", # required
|
1065
|
+
# permission_set_arn: "PermissionSetArn", # required
|
1066
|
+
# customer_managed_policy_reference: { # required
|
1067
|
+
# name: "ManagedPolicyName", # required
|
1068
|
+
# path: "ManagedPolicyPath",
|
1069
|
+
# },
|
1070
|
+
# })
|
1071
|
+
#
|
1072
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DetachCustomerManagedPolicyReferenceFromPermissionSet AWS API Documentation
|
1073
|
+
#
|
1074
|
+
# @overload detach_customer_managed_policy_reference_from_permission_set(params = {})
|
1075
|
+
# @param [Hash] params ({})
|
1076
|
+
def detach_customer_managed_policy_reference_from_permission_set(params = {}, options = {})
|
1077
|
+
req = build_request(:detach_customer_managed_policy_reference_from_permission_set, params)
|
1078
|
+
req.send_request(options)
|
1079
|
+
end
|
1080
|
+
|
1081
|
+
# Detaches the attached Amazon Web Services managed policy ARN from the
|
1082
|
+
# specified permission set.
|
1083
|
+
#
|
1084
|
+
# @option params [required, String] :instance_arn
|
1085
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1086
|
+
# operation will be executed. For more information about ARNs, see
|
1087
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
982
1088
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
983
1089
|
# *Amazon Web Services General Reference*.
|
984
1090
|
#
|
@@ -986,7 +1092,8 @@ module Aws::SSOAdmin
|
|
986
1092
|
# The ARN of the PermissionSet from which the policy should be detached.
|
987
1093
|
#
|
988
1094
|
# @option params [required, String] :managed_policy_arn
|
989
|
-
# The
|
1095
|
+
# The Amazon Web Services managed policy ARN to be detached from a
|
1096
|
+
# permission set.
|
990
1097
|
#
|
991
1098
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
992
1099
|
#
|
@@ -1010,9 +1117,9 @@ module Aws::SSOAdmin
|
|
1010
1117
|
# Obtains the inline policy assigned to the permission set.
|
1011
1118
|
#
|
1012
1119
|
# @option params [required, String] :instance_arn
|
1013
|
-
# The ARN of the SSO instance under which the
|
1014
|
-
# executed. For more information about ARNs, see
|
1015
|
-
# (ARNs) and Amazon Web Services Service
|
1120
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1121
|
+
# operation will be executed. For more information about ARNs, see
|
1122
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1016
1123
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1017
1124
|
# *Amazon Web Services General Reference*.
|
1018
1125
|
#
|
@@ -1043,13 +1150,48 @@ module Aws::SSOAdmin
|
|
1043
1150
|
req.send_request(options)
|
1044
1151
|
end
|
1045
1152
|
|
1153
|
+
# Obtains the permissions boundary for a specified PermissionSet.
|
1154
|
+
#
|
1155
|
+
# @option params [required, String] :instance_arn
|
1156
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1157
|
+
# operation will be executed.
|
1158
|
+
#
|
1159
|
+
# @option params [required, String] :permission_set_arn
|
1160
|
+
# The ARN of the `PermissionSet`.
|
1161
|
+
#
|
1162
|
+
# @return [Types::GetPermissionsBoundaryForPermissionSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1163
|
+
#
|
1164
|
+
# * {Types::GetPermissionsBoundaryForPermissionSetResponse#permissions_boundary #permissions_boundary} => Types::PermissionsBoundary
|
1165
|
+
#
|
1166
|
+
# @example Request syntax with placeholder values
|
1167
|
+
#
|
1168
|
+
# resp = client.get_permissions_boundary_for_permission_set({
|
1169
|
+
# instance_arn: "InstanceArn", # required
|
1170
|
+
# permission_set_arn: "PermissionSetArn", # required
|
1171
|
+
# })
|
1172
|
+
#
|
1173
|
+
# @example Response structure
|
1174
|
+
#
|
1175
|
+
# resp.permissions_boundary.customer_managed_policy_reference.name #=> String
|
1176
|
+
# resp.permissions_boundary.customer_managed_policy_reference.path #=> String
|
1177
|
+
# resp.permissions_boundary.managed_policy_arn #=> String
|
1178
|
+
#
|
1179
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetPermissionsBoundaryForPermissionSet AWS API Documentation
|
1180
|
+
#
|
1181
|
+
# @overload get_permissions_boundary_for_permission_set(params = {})
|
1182
|
+
# @param [Hash] params ({})
|
1183
|
+
def get_permissions_boundary_for_permission_set(params = {}, options = {})
|
1184
|
+
req = build_request(:get_permissions_boundary_for_permission_set, params)
|
1185
|
+
req.send_request(options)
|
1186
|
+
end
|
1187
|
+
|
1046
1188
|
# Lists the status of the Amazon Web Services account assignment
|
1047
|
-
# creation requests for a specified SSO instance.
|
1189
|
+
# creation requests for a specified Amazon Web Services SSO instance.
|
1048
1190
|
#
|
1049
1191
|
# @option params [required, String] :instance_arn
|
1050
|
-
# The ARN of the SSO instance under which the
|
1051
|
-
# executed. For more information about ARNs, see
|
1052
|
-
# (ARNs) and Amazon Web Services Service
|
1192
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1193
|
+
# operation will be executed. For more information about ARNs, see
|
1194
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1053
1195
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1054
1196
|
# *Amazon Web Services General Reference*.
|
1055
1197
|
#
|
@@ -1099,12 +1241,12 @@ module Aws::SSOAdmin
|
|
1099
1241
|
end
|
1100
1242
|
|
1101
1243
|
# Lists the status of the Amazon Web Services account assignment
|
1102
|
-
# deletion requests for a specified SSO instance.
|
1244
|
+
# deletion requests for a specified Amazon Web Services SSO instance.
|
1103
1245
|
#
|
1104
1246
|
# @option params [required, String] :instance_arn
|
1105
|
-
# The ARN of the SSO instance under which the
|
1106
|
-
# executed. For more information about ARNs, see
|
1107
|
-
# (ARNs) and Amazon Web Services Service
|
1247
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1248
|
+
# operation will be executed. For more information about ARNs, see
|
1249
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1108
1250
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1109
1251
|
# *Amazon Web Services General Reference*.
|
1110
1252
|
#
|
@@ -1157,9 +1299,9 @@ module Aws::SSOAdmin
|
|
1157
1299
|
# the specified permission set.
|
1158
1300
|
#
|
1159
1301
|
# @option params [required, String] :instance_arn
|
1160
|
-
# The ARN of the SSO instance under which the
|
1161
|
-
# executed. For more information about ARNs, see
|
1162
|
-
# (ARNs) and Amazon Web Services Service
|
1302
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1303
|
+
# operation will be executed. For more information about ARNs, see
|
1304
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1163
1305
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1164
1306
|
# *Amazon Web Services General Reference*.
|
1165
1307
|
#
|
@@ -1216,9 +1358,9 @@ module Aws::SSOAdmin
|
|
1216
1358
|
# permission set is provisioned.
|
1217
1359
|
#
|
1218
1360
|
# @option params [required, String] :instance_arn
|
1219
|
-
# The ARN of the SSO instance under which the
|
1220
|
-
# executed. For more information about ARNs, see
|
1221
|
-
# (ARNs) and Amazon Web Services Service
|
1361
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1362
|
+
# operation will be executed. For more information about ARNs, see
|
1363
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1222
1364
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1223
1365
|
# *Amazon Web Services General Reference*.
|
1224
1366
|
#
|
@@ -1269,7 +1411,57 @@ module Aws::SSOAdmin
|
|
1269
1411
|
req.send_request(options)
|
1270
1412
|
end
|
1271
1413
|
|
1272
|
-
# Lists
|
1414
|
+
# Lists all customer managed policies attached to a specified
|
1415
|
+
# PermissionSet.
|
1416
|
+
#
|
1417
|
+
# @option params [required, String] :instance_arn
|
1418
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1419
|
+
# operation will be executed.
|
1420
|
+
#
|
1421
|
+
# @option params [required, String] :permission_set_arn
|
1422
|
+
# The ARN of the `PermissionSet`.
|
1423
|
+
#
|
1424
|
+
# @option params [Integer] :max_results
|
1425
|
+
# The maximum number of results to display for the list call.
|
1426
|
+
#
|
1427
|
+
# @option params [String] :next_token
|
1428
|
+
# The pagination token for the list API. Initially the value is null.
|
1429
|
+
# Use the output of previous API calls to make subsequent calls.
|
1430
|
+
#
|
1431
|
+
# @return [Types::ListCustomerManagedPolicyReferencesInPermissionSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1432
|
+
#
|
1433
|
+
# * {Types::ListCustomerManagedPolicyReferencesInPermissionSetResponse#customer_managed_policy_references #customer_managed_policy_references} => Array<Types::CustomerManagedPolicyReference>
|
1434
|
+
# * {Types::ListCustomerManagedPolicyReferencesInPermissionSetResponse#next_token #next_token} => String
|
1435
|
+
#
|
1436
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1437
|
+
#
|
1438
|
+
# @example Request syntax with placeholder values
|
1439
|
+
#
|
1440
|
+
# resp = client.list_customer_managed_policy_references_in_permission_set({
|
1441
|
+
# instance_arn: "InstanceArn", # required
|
1442
|
+
# permission_set_arn: "PermissionSetArn", # required
|
1443
|
+
# max_results: 1,
|
1444
|
+
# next_token: "Token",
|
1445
|
+
# })
|
1446
|
+
#
|
1447
|
+
# @example Response structure
|
1448
|
+
#
|
1449
|
+
# resp.customer_managed_policy_references #=> Array
|
1450
|
+
# resp.customer_managed_policy_references[0].name #=> String
|
1451
|
+
# resp.customer_managed_policy_references[0].path #=> String
|
1452
|
+
# resp.next_token #=> String
|
1453
|
+
#
|
1454
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListCustomerManagedPolicyReferencesInPermissionSet AWS API Documentation
|
1455
|
+
#
|
1456
|
+
# @overload list_customer_managed_policy_references_in_permission_set(params = {})
|
1457
|
+
# @param [Hash] params ({})
|
1458
|
+
def list_customer_managed_policy_references_in_permission_set(params = {}, options = {})
|
1459
|
+
req = build_request(:list_customer_managed_policy_references_in_permission_set, params)
|
1460
|
+
req.send_request(options)
|
1461
|
+
end
|
1462
|
+
|
1463
|
+
# Lists the Amazon Web Services SSO instances that the caller has access
|
1464
|
+
# to.
|
1273
1465
|
#
|
1274
1466
|
# @option params [Integer] :max_results
|
1275
1467
|
# The maximum number of results to display for the instance.
|
@@ -1308,13 +1500,13 @@ module Aws::SSOAdmin
|
|
1308
1500
|
req.send_request(options)
|
1309
1501
|
end
|
1310
1502
|
|
1311
|
-
# Lists the
|
1312
|
-
# permission set.
|
1503
|
+
# Lists the Amazon Web Services managed policy that is attached to a
|
1504
|
+
# specified permission set.
|
1313
1505
|
#
|
1314
1506
|
# @option params [required, String] :instance_arn
|
1315
|
-
# The ARN of the SSO instance under which the
|
1316
|
-
# executed. For more information about ARNs, see
|
1317
|
-
# (ARNs) and Amazon Web Services Service
|
1507
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1508
|
+
# operation will be executed. For more information about ARNs, see
|
1509
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1318
1510
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1319
1511
|
# *Amazon Web Services General Reference*.
|
1320
1512
|
#
|
@@ -1361,12 +1553,12 @@ module Aws::SSOAdmin
|
|
1361
1553
|
end
|
1362
1554
|
|
1363
1555
|
# Lists the status of the permission set provisioning requests for a
|
1364
|
-
# specified SSO instance.
|
1556
|
+
# specified Amazon Web Services SSO instance.
|
1365
1557
|
#
|
1366
1558
|
# @option params [required, String] :instance_arn
|
1367
|
-
# The ARN of the SSO instance under which the
|
1368
|
-
# executed. For more information about ARNs, see
|
1369
|
-
# (ARNs) and Amazon Web Services Service
|
1559
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1560
|
+
# operation will be executed. For more information about ARNs, see
|
1561
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1370
1562
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1371
1563
|
# *Amazon Web Services General Reference*.
|
1372
1564
|
#
|
@@ -1415,12 +1607,12 @@ module Aws::SSOAdmin
|
|
1415
1607
|
req.send_request(options)
|
1416
1608
|
end
|
1417
1609
|
|
1418
|
-
# Lists the PermissionSets in an SSO instance.
|
1610
|
+
# Lists the PermissionSets in an Amazon Web Services SSO instance.
|
1419
1611
|
#
|
1420
1612
|
# @option params [required, String] :instance_arn
|
1421
|
-
# The ARN of the SSO instance under which the
|
1422
|
-
# executed. For more information about ARNs, see
|
1423
|
-
# (ARNs) and Amazon Web Services Service
|
1613
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1614
|
+
# operation will be executed. For more information about ARNs, see
|
1615
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1424
1616
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1425
1617
|
# *Amazon Web Services General Reference*.
|
1426
1618
|
#
|
@@ -1465,9 +1657,9 @@ module Aws::SSOAdmin
|
|
1465
1657
|
# Amazon Web Services account.
|
1466
1658
|
#
|
1467
1659
|
# @option params [required, String] :instance_arn
|
1468
|
-
# The ARN of the SSO instance under which the
|
1469
|
-
# executed. For more information about ARNs, see
|
1470
|
-
# (ARNs) and Amazon Web Services Service
|
1660
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1661
|
+
# operation will be executed. For more information about ARNs, see
|
1662
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1471
1663
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1472
1664
|
# *Amazon Web Services General Reference*.
|
1473
1665
|
#
|
@@ -1520,9 +1712,9 @@ module Aws::SSOAdmin
|
|
1520
1712
|
# Lists the tags that are attached to a specified resource.
|
1521
1713
|
#
|
1522
1714
|
# @option params [required, String] :instance_arn
|
1523
|
-
# The ARN of the SSO instance under which the
|
1524
|
-
# executed. For more information about ARNs, see
|
1525
|
-
# (ARNs) and Amazon Web Services Service
|
1715
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1716
|
+
# operation will be executed. For more information about ARNs, see
|
1717
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1526
1718
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1527
1719
|
# *Amazon Web Services General Reference*.
|
1528
1720
|
#
|
@@ -1544,7 +1736,7 @@ module Aws::SSOAdmin
|
|
1544
1736
|
#
|
1545
1737
|
# resp = client.list_tags_for_resource({
|
1546
1738
|
# instance_arn: "InstanceArn", # required
|
1547
|
-
# resource_arn: "
|
1739
|
+
# resource_arn: "TaggableResourceArn", # required
|
1548
1740
|
# next_token: "Token",
|
1549
1741
|
# })
|
1550
1742
|
#
|
@@ -1568,9 +1760,9 @@ module Aws::SSOAdmin
|
|
1568
1760
|
# specified target.
|
1569
1761
|
#
|
1570
1762
|
# @option params [required, String] :instance_arn
|
1571
|
-
# The ARN of the SSO instance under which the
|
1572
|
-
# executed. For more information about ARNs, see
|
1573
|
-
# (ARNs) and Amazon Web Services Service
|
1763
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1764
|
+
# operation will be executed. For more information about ARNs, see
|
1765
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1574
1766
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1575
1767
|
# *Amazon Web Services General Reference*.
|
1576
1768
|
#
|
@@ -1615,7 +1807,7 @@ module Aws::SSOAdmin
|
|
1615
1807
|
req.send_request(options)
|
1616
1808
|
end
|
1617
1809
|
|
1618
|
-
# Attaches an
|
1810
|
+
# Attaches an inline policy to a permission set.
|
1619
1811
|
#
|
1620
1812
|
# <note markdown="1"> If the permission set is already referenced by one or more account
|
1621
1813
|
# assignments, you will need to call ` ProvisionPermissionSet ` after
|
@@ -1625,9 +1817,9 @@ module Aws::SSOAdmin
|
|
1625
1817
|
# </note>
|
1626
1818
|
#
|
1627
1819
|
# @option params [required, String] :instance_arn
|
1628
|
-
# The ARN of the SSO instance under which the
|
1629
|
-
# executed. For more information about ARNs, see
|
1630
|
-
# (ARNs) and Amazon Web Services Service
|
1820
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1821
|
+
# operation will be executed. For more information about ARNs, see
|
1822
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1631
1823
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1632
1824
|
# *Amazon Web Services General Reference*.
|
1633
1825
|
#
|
@@ -1635,7 +1827,7 @@ module Aws::SSOAdmin
|
|
1635
1827
|
# The ARN of the permission set.
|
1636
1828
|
#
|
1637
1829
|
# @option params [required, String] :inline_policy
|
1638
|
-
# The
|
1830
|
+
# The inline policy to attach to a PermissionSet.
|
1639
1831
|
#
|
1640
1832
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1641
1833
|
#
|
@@ -1656,12 +1848,50 @@ module Aws::SSOAdmin
|
|
1656
1848
|
req.send_request(options)
|
1657
1849
|
end
|
1658
1850
|
|
1851
|
+
# Attaches an Amazon Web Services managed or customer managed policy to
|
1852
|
+
# the specified PermissionSet as a permissions boundary.
|
1853
|
+
#
|
1854
|
+
# @option params [required, String] :instance_arn
|
1855
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1856
|
+
# operation will be executed.
|
1857
|
+
#
|
1858
|
+
# @option params [required, String] :permission_set_arn
|
1859
|
+
# The ARN of the `PermissionSet`.
|
1860
|
+
#
|
1861
|
+
# @option params [required, Types::PermissionsBoundary] :permissions_boundary
|
1862
|
+
# The permissions boundary that you want to attach to a `PermissionSet`.
|
1863
|
+
#
|
1864
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1865
|
+
#
|
1866
|
+
# @example Request syntax with placeholder values
|
1867
|
+
#
|
1868
|
+
# resp = client.put_permissions_boundary_to_permission_set({
|
1869
|
+
# instance_arn: "InstanceArn", # required
|
1870
|
+
# permission_set_arn: "PermissionSetArn", # required
|
1871
|
+
# permissions_boundary: { # required
|
1872
|
+
# customer_managed_policy_reference: {
|
1873
|
+
# name: "ManagedPolicyName", # required
|
1874
|
+
# path: "ManagedPolicyPath",
|
1875
|
+
# },
|
1876
|
+
# managed_policy_arn: "ManagedPolicyArn",
|
1877
|
+
# },
|
1878
|
+
# })
|
1879
|
+
#
|
1880
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutPermissionsBoundaryToPermissionSet AWS API Documentation
|
1881
|
+
#
|
1882
|
+
# @overload put_permissions_boundary_to_permission_set(params = {})
|
1883
|
+
# @param [Hash] params ({})
|
1884
|
+
def put_permissions_boundary_to_permission_set(params = {}, options = {})
|
1885
|
+
req = build_request(:put_permissions_boundary_to_permission_set, params)
|
1886
|
+
req.send_request(options)
|
1887
|
+
end
|
1888
|
+
|
1659
1889
|
# Associates a set of tags with a specified resource.
|
1660
1890
|
#
|
1661
1891
|
# @option params [required, String] :instance_arn
|
1662
|
-
# The ARN of the SSO instance under which the
|
1663
|
-
# executed. For more information about ARNs, see
|
1664
|
-
# (ARNs) and Amazon Web Services Service
|
1892
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1893
|
+
# operation will be executed. For more information about ARNs, see
|
1894
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1665
1895
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1666
1896
|
# *Amazon Web Services General Reference*.
|
1667
1897
|
#
|
@@ -1677,11 +1907,11 @@ module Aws::SSOAdmin
|
|
1677
1907
|
#
|
1678
1908
|
# resp = client.tag_resource({
|
1679
1909
|
# instance_arn: "InstanceArn", # required
|
1680
|
-
# resource_arn: "
|
1910
|
+
# resource_arn: "TaggableResourceArn", # required
|
1681
1911
|
# tags: [ # required
|
1682
1912
|
# {
|
1683
|
-
# key: "TagKey",
|
1684
|
-
# value: "TagValue",
|
1913
|
+
# key: "TagKey", # required
|
1914
|
+
# value: "TagValue", # required
|
1685
1915
|
# },
|
1686
1916
|
# ],
|
1687
1917
|
# })
|
@@ -1698,9 +1928,9 @@ module Aws::SSOAdmin
|
|
1698
1928
|
# Disassociates a set of tags from a specified resource.
|
1699
1929
|
#
|
1700
1930
|
# @option params [required, String] :instance_arn
|
1701
|
-
# The ARN of the SSO instance under which the
|
1702
|
-
# executed. For more information about ARNs, see
|
1703
|
-
# (ARNs) and Amazon Web Services Service
|
1931
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1932
|
+
# operation will be executed. For more information about ARNs, see
|
1933
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1704
1934
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1705
1935
|
# *Amazon Web Services General Reference*.
|
1706
1936
|
#
|
@@ -1716,7 +1946,7 @@ module Aws::SSOAdmin
|
|
1716
1946
|
#
|
1717
1947
|
# resp = client.untag_resource({
|
1718
1948
|
# instance_arn: "InstanceArn", # required
|
1719
|
-
# resource_arn: "
|
1949
|
+
# resource_arn: "TaggableResourceArn", # required
|
1720
1950
|
# tag_keys: ["TagKey"], # required
|
1721
1951
|
# })
|
1722
1952
|
#
|
@@ -1742,8 +1972,8 @@ module Aws::SSOAdmin
|
|
1742
1972
|
# Services SSO User Guide*.
|
1743
1973
|
#
|
1744
1974
|
# @option params [required, String] :instance_arn
|
1745
|
-
# The ARN of the SSO instance under which the
|
1746
|
-
# executed.
|
1975
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
1976
|
+
# operation will be executed.
|
1747
1977
|
#
|
1748
1978
|
# @option params [required, Types::InstanceAccessControlAttributeConfiguration] :instance_access_control_attribute_configuration
|
1749
1979
|
# Updates the attributes for your ABAC configuration.
|
@@ -1778,9 +2008,9 @@ module Aws::SSOAdmin
|
|
1778
2008
|
# Updates an existing permission set.
|
1779
2009
|
#
|
1780
2010
|
# @option params [required, String] :instance_arn
|
1781
|
-
# The ARN of the SSO instance under which the
|
1782
|
-
# executed. For more information about ARNs, see
|
1783
|
-
# (ARNs) and Amazon Web Services Service
|
2011
|
+
# The ARN of the Amazon Web Services SSO instance under which the
|
2012
|
+
# operation will be executed. For more information about ARNs, see
|
2013
|
+
# [Amazon Resource Names (ARNs) and Amazon Web Services Service
|
1784
2014
|
# Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the
|
1785
2015
|
# *Amazon Web Services General Reference*.
|
1786
2016
|
#
|
@@ -1832,7 +2062,7 @@ module Aws::SSOAdmin
|
|
1832
2062
|
params: params,
|
1833
2063
|
config: config)
|
1834
2064
|
context[:gem_name] = 'aws-sdk-ssoadmin'
|
1835
|
-
context[:gem_version] = '1.
|
2065
|
+
context[:gem_version] = '1.18.0'
|
1836
2066
|
Seahorse::Client::Request.new(handlers, context)
|
1837
2067
|
end
|
1838
2068
|
|