aws-sdk-iam 1.133.0 → 1.134.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iam/client.rb +510 -18
- data/lib/aws-sdk-iam/client_api.rb +185 -0
- data/lib/aws-sdk-iam/policy.rb +9 -12
- data/lib/aws-sdk-iam/resource.rb +3 -4
- data/lib/aws-sdk-iam/types.rb +499 -26
- data/lib/aws-sdk-iam.rb +2 -2
- data/sig/client.rbs +72 -0
- data/sig/types.rbs +90 -0
- metadata +1 -1
data/lib/aws-sdk-iam.rb
CHANGED
|
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:iam)
|
|
|
23
23
|
# structure.
|
|
24
24
|
#
|
|
25
25
|
# iam = Aws::IAM::Client.new
|
|
26
|
-
# resp = iam.
|
|
26
|
+
# resp = iam.accept_delegation_request(params)
|
|
27
27
|
#
|
|
28
28
|
# See {Client} for more information.
|
|
29
29
|
#
|
|
@@ -76,7 +76,7 @@ module Aws::IAM
|
|
|
76
76
|
autoload :UserPolicy, 'aws-sdk-iam/user_policy'
|
|
77
77
|
autoload :VirtualMfaDevice, 'aws-sdk-iam/virtual_mfa_device'
|
|
78
78
|
|
|
79
|
-
GEM_VERSION = '1.
|
|
79
|
+
GEM_VERSION = '1.134.0'
|
|
80
80
|
|
|
81
81
|
end
|
|
82
82
|
|
data/sig/client.rbs
CHANGED
|
@@ -78,6 +78,12 @@ module Aws
|
|
|
78
78
|
| (?Hash[Symbol, untyped]) -> instance
|
|
79
79
|
|
|
80
80
|
|
|
81
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#accept_delegation_request-instance_method
|
|
82
|
+
def accept_delegation_request: (
|
|
83
|
+
delegation_request_id: ::String
|
|
84
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
85
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
86
|
+
|
|
81
87
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#add_client_id_to_open_id_connect_provider-instance_method
|
|
82
88
|
def add_client_id_to_open_id_connect_provider: (
|
|
83
89
|
open_id_connect_provider_arn: ::String,
|
|
@@ -99,6 +105,12 @@ module Aws
|
|
|
99
105
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
100
106
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
101
107
|
|
|
108
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#associate_delegation_request-instance_method
|
|
109
|
+
def associate_delegation_request: (
|
|
110
|
+
delegation_request_id: ::String
|
|
111
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
112
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
113
|
+
|
|
102
114
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#attach_group_policy-instance_method
|
|
103
115
|
def attach_group_policy: (
|
|
104
116
|
group_name: ::String,
|
|
@@ -692,6 +704,19 @@ module Aws
|
|
|
692
704
|
def get_credential_report: () -> _GetCredentialReportResponseSuccess
|
|
693
705
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCredentialReportResponseSuccess
|
|
694
706
|
|
|
707
|
+
interface _GetDelegationRequestResponseSuccess
|
|
708
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDelegationRequestResponse]
|
|
709
|
+
def delegation_request: () -> Types::DelegationRequest
|
|
710
|
+
def permission_check_status: () -> ("COMPLETE" | "IN_PROGRESS" | "FAILED")
|
|
711
|
+
def permission_check_result: () -> ("ALLOWED" | "DENIED" | "UNSURE")
|
|
712
|
+
end
|
|
713
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#get_delegation_request-instance_method
|
|
714
|
+
def get_delegation_request: (
|
|
715
|
+
delegation_request_id: ::String,
|
|
716
|
+
?delegation_permission_check: bool
|
|
717
|
+
) -> _GetDelegationRequestResponseSuccess
|
|
718
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDelegationRequestResponseSuccess
|
|
719
|
+
|
|
695
720
|
interface _GetGroupResponseSuccess
|
|
696
721
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetGroupResponse]
|
|
697
722
|
def group: () -> Types::Group
|
|
@@ -720,6 +745,19 @@ module Aws
|
|
|
720
745
|
) -> _GetGroupPolicyResponseSuccess
|
|
721
746
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGroupPolicyResponseSuccess
|
|
722
747
|
|
|
748
|
+
interface _GetHumanReadableSummaryResponseSuccess
|
|
749
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetHumanReadableSummaryResponse]
|
|
750
|
+
def summary_content: () -> ::String
|
|
751
|
+
def locale: () -> ::String
|
|
752
|
+
def summary_state: () -> ("AVAILABLE" | "NOT_AVAILABLE" | "NOT_SUPPORTED" | "FAILED")
|
|
753
|
+
end
|
|
754
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#get_human_readable_summary-instance_method
|
|
755
|
+
def get_human_readable_summary: (
|
|
756
|
+
entity_arn: ::String,
|
|
757
|
+
?locale: ::String
|
|
758
|
+
) -> _GetHumanReadableSummaryResponseSuccess
|
|
759
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetHumanReadableSummaryResponseSuccess
|
|
760
|
+
|
|
723
761
|
interface _GetInstanceProfileResponseSuccess
|
|
724
762
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetInstanceProfileResponse]
|
|
725
763
|
def instance_profile: () -> Types::InstanceProfile
|
|
@@ -1013,6 +1051,20 @@ module Aws
|
|
|
1013
1051
|
) -> _ListAttachedUserPoliciesResponseSuccess
|
|
1014
1052
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAttachedUserPoliciesResponseSuccess
|
|
1015
1053
|
|
|
1054
|
+
interface _ListDelegationRequestsResponseSuccess
|
|
1055
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDelegationRequestsResponse]
|
|
1056
|
+
def delegation_requests: () -> ::Array[Types::DelegationRequest]
|
|
1057
|
+
def marker: () -> ::String
|
|
1058
|
+
def is_truncated: () -> bool
|
|
1059
|
+
end
|
|
1060
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#list_delegation_requests-instance_method
|
|
1061
|
+
def list_delegation_requests: (
|
|
1062
|
+
?owner_id: ::String,
|
|
1063
|
+
?marker: ::String,
|
|
1064
|
+
?max_items: ::Integer
|
|
1065
|
+
) -> _ListDelegationRequestsResponseSuccess
|
|
1066
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDelegationRequestsResponseSuccess
|
|
1067
|
+
|
|
1016
1068
|
interface _ListEntitiesForPolicyResponseSuccess
|
|
1017
1069
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListEntitiesForPolicyResponse]
|
|
1018
1070
|
def policy_groups: () -> ::Array[Types::PolicyGroup]
|
|
@@ -1467,6 +1519,13 @@ module Aws
|
|
|
1467
1519
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1468
1520
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1469
1521
|
|
|
1522
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#reject_delegation_request-instance_method
|
|
1523
|
+
def reject_delegation_request: (
|
|
1524
|
+
delegation_request_id: ::String,
|
|
1525
|
+
?notes: ::String
|
|
1526
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1527
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1528
|
+
|
|
1470
1529
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#remove_client_id_from_open_id_connect_provider-instance_method
|
|
1471
1530
|
def remove_client_id_from_open_id_connect_provider: (
|
|
1472
1531
|
open_id_connect_provider_arn: ::String,
|
|
@@ -1508,6 +1567,12 @@ module Aws
|
|
|
1508
1567
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1509
1568
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1510
1569
|
|
|
1570
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#send_delegation_token-instance_method
|
|
1571
|
+
def send_delegation_token: (
|
|
1572
|
+
delegation_request_id: ::String
|
|
1573
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1574
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1575
|
+
|
|
1511
1576
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#set_default_policy_version-instance_method
|
|
1512
1577
|
def set_default_policy_version: (
|
|
1513
1578
|
policy_arn: ::String,
|
|
@@ -1759,6 +1824,13 @@ module Aws
|
|
|
1759
1824
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1760
1825
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1761
1826
|
|
|
1827
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#update_delegation_request-instance_method
|
|
1828
|
+
def update_delegation_request: (
|
|
1829
|
+
delegation_request_id: ::String,
|
|
1830
|
+
?notes: ::String
|
|
1831
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1832
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1833
|
+
|
|
1762
1834
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#update_group-instance_method
|
|
1763
1835
|
def update_group: (
|
|
1764
1836
|
group_name: ::String,
|
data/sig/types.rbs
CHANGED
|
@@ -8,6 +8,11 @@
|
|
|
8
8
|
module Aws::IAM
|
|
9
9
|
module Types
|
|
10
10
|
|
|
11
|
+
class AcceptDelegationRequestRequest
|
|
12
|
+
attr_accessor delegation_request_id: ::String
|
|
13
|
+
SENSITIVE: []
|
|
14
|
+
end
|
|
15
|
+
|
|
11
16
|
class AccessDetail
|
|
12
17
|
attr_accessor service_name: ::String
|
|
13
18
|
attr_accessor service_namespace: ::String
|
|
@@ -63,6 +68,11 @@ module Aws::IAM
|
|
|
63
68
|
SENSITIVE: []
|
|
64
69
|
end
|
|
65
70
|
|
|
71
|
+
class AssociateDelegationRequestRequest
|
|
72
|
+
attr_accessor delegation_request_id: ::String
|
|
73
|
+
SENSITIVE: []
|
|
74
|
+
end
|
|
75
|
+
|
|
66
76
|
class AttachGroupPolicyRequest
|
|
67
77
|
attr_accessor group_name: ::String
|
|
68
78
|
attr_accessor policy_arn: ::String
|
|
@@ -330,6 +340,29 @@ module Aws::IAM
|
|
|
330
340
|
SENSITIVE: []
|
|
331
341
|
end
|
|
332
342
|
|
|
343
|
+
class DelegationRequest
|
|
344
|
+
attr_accessor delegation_request_id: ::String
|
|
345
|
+
attr_accessor owner_account_id: ::String
|
|
346
|
+
attr_accessor description: ::String
|
|
347
|
+
attr_accessor request_message: ::String
|
|
348
|
+
attr_accessor permissions: Types::DelegationPermission
|
|
349
|
+
attr_accessor permission_policy: ::String
|
|
350
|
+
attr_accessor role_permission_restriction_arns: ::Array[::String]
|
|
351
|
+
attr_accessor owner_id: ::String
|
|
352
|
+
attr_accessor approver_id: ::String
|
|
353
|
+
attr_accessor state: ("UNASSIGNED" | "ASSIGNED" | "PENDING_APPROVAL" | "FINALIZED" | "ACCEPTED" | "REJECTED" | "EXPIRED")
|
|
354
|
+
attr_accessor requestor_id: ::String
|
|
355
|
+
attr_accessor requestor_name: ::String
|
|
356
|
+
attr_accessor create_date: ::Time
|
|
357
|
+
attr_accessor session_duration: ::Integer
|
|
358
|
+
attr_accessor redirect_url: ::String
|
|
359
|
+
attr_accessor notes: ::String
|
|
360
|
+
attr_accessor rejection_reason: ::String
|
|
361
|
+
attr_accessor only_send_by_owner: bool
|
|
362
|
+
attr_accessor updated_time: ::Time
|
|
363
|
+
SENSITIVE: []
|
|
364
|
+
end
|
|
365
|
+
|
|
333
366
|
class DeleteAccessKeyRequest
|
|
334
367
|
attr_accessor user_name: ::String
|
|
335
368
|
attr_accessor access_key_id: ::String
|
|
@@ -669,6 +702,19 @@ module Aws::IAM
|
|
|
669
702
|
SENSITIVE: []
|
|
670
703
|
end
|
|
671
704
|
|
|
705
|
+
class GetDelegationRequestRequest
|
|
706
|
+
attr_accessor delegation_request_id: ::String
|
|
707
|
+
attr_accessor delegation_permission_check: bool
|
|
708
|
+
SENSITIVE: []
|
|
709
|
+
end
|
|
710
|
+
|
|
711
|
+
class GetDelegationRequestResponse
|
|
712
|
+
attr_accessor delegation_request: Types::DelegationRequest
|
|
713
|
+
attr_accessor permission_check_status: ("COMPLETE" | "IN_PROGRESS" | "FAILED")
|
|
714
|
+
attr_accessor permission_check_result: ("ALLOWED" | "DENIED" | "UNSURE")
|
|
715
|
+
SENSITIVE: []
|
|
716
|
+
end
|
|
717
|
+
|
|
672
718
|
class GetGroupPolicyRequest
|
|
673
719
|
attr_accessor group_name: ::String
|
|
674
720
|
attr_accessor policy_name: ::String
|
|
@@ -697,6 +743,19 @@ module Aws::IAM
|
|
|
697
743
|
SENSITIVE: []
|
|
698
744
|
end
|
|
699
745
|
|
|
746
|
+
class GetHumanReadableSummaryRequest
|
|
747
|
+
attr_accessor entity_arn: ::String
|
|
748
|
+
attr_accessor locale: ::String
|
|
749
|
+
SENSITIVE: []
|
|
750
|
+
end
|
|
751
|
+
|
|
752
|
+
class GetHumanReadableSummaryResponse
|
|
753
|
+
attr_accessor summary_content: ::String
|
|
754
|
+
attr_accessor locale: ::String
|
|
755
|
+
attr_accessor summary_state: ("AVAILABLE" | "NOT_AVAILABLE" | "NOT_SUPPORTED" | "FAILED")
|
|
756
|
+
SENSITIVE: []
|
|
757
|
+
end
|
|
758
|
+
|
|
700
759
|
class GetInstanceProfileRequest
|
|
701
760
|
attr_accessor instance_profile_name: ::String
|
|
702
761
|
SENSITIVE: []
|
|
@@ -1058,6 +1117,20 @@ module Aws::IAM
|
|
|
1058
1117
|
SENSITIVE: []
|
|
1059
1118
|
end
|
|
1060
1119
|
|
|
1120
|
+
class ListDelegationRequestsRequest
|
|
1121
|
+
attr_accessor owner_id: ::String
|
|
1122
|
+
attr_accessor marker: ::String
|
|
1123
|
+
attr_accessor max_items: ::Integer
|
|
1124
|
+
SENSITIVE: []
|
|
1125
|
+
end
|
|
1126
|
+
|
|
1127
|
+
class ListDelegationRequestsResponse
|
|
1128
|
+
attr_accessor delegation_requests: ::Array[Types::DelegationRequest]
|
|
1129
|
+
attr_accessor marker: ::String
|
|
1130
|
+
attr_accessor is_truncated: bool
|
|
1131
|
+
SENSITIVE: []
|
|
1132
|
+
end
|
|
1133
|
+
|
|
1061
1134
|
class ListEntitiesForPolicyRequest
|
|
1062
1135
|
attr_accessor policy_arn: ::String
|
|
1063
1136
|
attr_accessor entity_filter: ("User" | "Role" | "Group" | "LocalManagedPolicy" | "AWSManagedPolicy")
|
|
@@ -1680,6 +1753,12 @@ module Aws::IAM
|
|
|
1680
1753
|
SENSITIVE: []
|
|
1681
1754
|
end
|
|
1682
1755
|
|
|
1756
|
+
class RejectDelegationRequestRequest
|
|
1757
|
+
attr_accessor delegation_request_id: ::String
|
|
1758
|
+
attr_accessor notes: ::String
|
|
1759
|
+
SENSITIVE: []
|
|
1760
|
+
end
|
|
1761
|
+
|
|
1683
1762
|
class RemoveClientIDFromOpenIDConnectProviderRequest
|
|
1684
1763
|
attr_accessor open_id_connect_provider_arn: ::String
|
|
1685
1764
|
attr_accessor client_id: ::String
|
|
@@ -1806,6 +1885,11 @@ module Aws::IAM
|
|
|
1806
1885
|
SENSITIVE: []
|
|
1807
1886
|
end
|
|
1808
1887
|
|
|
1888
|
+
class SendDelegationTokenRequest
|
|
1889
|
+
attr_accessor delegation_request_id: ::String
|
|
1890
|
+
SENSITIVE: []
|
|
1891
|
+
end
|
|
1892
|
+
|
|
1809
1893
|
class ServerCertificate
|
|
1810
1894
|
attr_accessor server_certificate_metadata: Types::ServerCertificateMetadata
|
|
1811
1895
|
attr_accessor certificate_body: ::String
|
|
@@ -2086,6 +2170,12 @@ module Aws::IAM
|
|
|
2086
2170
|
SENSITIVE: []
|
|
2087
2171
|
end
|
|
2088
2172
|
|
|
2173
|
+
class UpdateDelegationRequestRequest
|
|
2174
|
+
attr_accessor delegation_request_id: ::String
|
|
2175
|
+
attr_accessor notes: ::String
|
|
2176
|
+
SENSITIVE: []
|
|
2177
|
+
end
|
|
2178
|
+
|
|
2089
2179
|
class UpdateGroupRequest
|
|
2090
2180
|
attr_accessor group_name: ::String
|
|
2091
2181
|
attr_accessor new_path: ::String
|