aws-sdk-iam 1.132.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.
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.add_client_id_to_open_id_connect_provider(params)
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.132.0'
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,
@@ -143,6 +155,34 @@ module Aws
143
155
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
144
156
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
145
157
 
158
+ interface _CreateDelegationRequestResponseSuccess
159
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDelegationRequestResponse]
160
+ def console_deep_link: () -> ::String
161
+ def delegation_request_id: () -> ::String
162
+ end
163
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#create_delegation_request-instance_method
164
+ def create_delegation_request: (
165
+ ?owner_account_id: ::String,
166
+ description: ::String,
167
+ permissions: {
168
+ policy_template_arn: ::String?,
169
+ parameters: Array[
170
+ {
171
+ name: ::String?,
172
+ values: Array[::String]?,
173
+ type: ("string" | "stringList")?
174
+ },
175
+ ]?
176
+ },
177
+ ?request_message: ::String,
178
+ requestor_workflow_id: ::String,
179
+ ?redirect_url: ::String,
180
+ notification_channel: ::String,
181
+ session_duration: ::Integer,
182
+ ?only_send_by_owner: bool
183
+ ) -> _CreateDelegationRequestResponseSuccess
184
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDelegationRequestResponseSuccess
185
+
146
186
  interface _CreateGroupResponseSuccess
147
187
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateGroupResponse]
148
188
  def group: () -> Types::Group
@@ -664,6 +704,19 @@ module Aws
664
704
  def get_credential_report: () -> _GetCredentialReportResponseSuccess
665
705
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCredentialReportResponseSuccess
666
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
+
667
720
  interface _GetGroupResponseSuccess
668
721
  include ::Seahorse::Client::_ResponseSuccess[Types::GetGroupResponse]
669
722
  def group: () -> Types::Group
@@ -692,6 +745,19 @@ module Aws
692
745
  ) -> _GetGroupPolicyResponseSuccess
693
746
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGroupPolicyResponseSuccess
694
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
+
695
761
  interface _GetInstanceProfileResponseSuccess
696
762
  include ::Seahorse::Client::_ResponseSuccess[Types::GetInstanceProfileResponse]
697
763
  def instance_profile: () -> Types::InstanceProfile
@@ -985,6 +1051,20 @@ module Aws
985
1051
  ) -> _ListAttachedUserPoliciesResponseSuccess
986
1052
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAttachedUserPoliciesResponseSuccess
987
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
+
988
1068
  interface _ListEntitiesForPolicyResponseSuccess
989
1069
  include ::Seahorse::Client::_ResponseSuccess[Types::ListEntitiesForPolicyResponse]
990
1070
  def policy_groups: () -> ::Array[Types::PolicyGroup]
@@ -1439,6 +1519,13 @@ module Aws
1439
1519
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1440
1520
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1441
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
+
1442
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
1443
1530
  def remove_client_id_from_open_id_connect_provider: (
1444
1531
  open_id_connect_provider_arn: ::String,
@@ -1480,6 +1567,12 @@ module Aws
1480
1567
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1481
1568
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1482
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
+
1483
1576
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#set_default_policy_version-instance_method
1484
1577
  def set_default_policy_version: (
1485
1578
  policy_arn: ::String,
@@ -1731,6 +1824,13 @@ module Aws
1731
1824
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1732
1825
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1733
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
+
1734
1834
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#update_group-instance_method
1735
1835
  def update_group: (
1736
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
@@ -129,6 +139,25 @@ module Aws::IAM
129
139
  SENSITIVE: []
130
140
  end
131
141
 
142
+ class CreateDelegationRequestRequest
143
+ attr_accessor owner_account_id: ::String
144
+ attr_accessor description: ::String
145
+ attr_accessor permissions: Types::DelegationPermission
146
+ attr_accessor request_message: ::String
147
+ attr_accessor requestor_workflow_id: ::String
148
+ attr_accessor redirect_url: ::String
149
+ attr_accessor notification_channel: ::String
150
+ attr_accessor session_duration: ::Integer
151
+ attr_accessor only_send_by_owner: bool
152
+ SENSITIVE: []
153
+ end
154
+
155
+ class CreateDelegationRequestResponse
156
+ attr_accessor console_deep_link: ::String
157
+ attr_accessor delegation_request_id: ::String
158
+ SENSITIVE: []
159
+ end
160
+
132
161
  class CreateGroupRequest
133
162
  attr_accessor path: ::String
134
163
  attr_accessor group_name: ::String
@@ -305,6 +334,35 @@ module Aws::IAM
305
334
  SENSITIVE: []
306
335
  end
307
336
 
337
+ class DelegationPermission
338
+ attr_accessor policy_template_arn: ::String
339
+ attr_accessor parameters: ::Array[Types::PolicyParameter]
340
+ SENSITIVE: []
341
+ end
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
+
308
366
  class DeleteAccessKeyRequest
309
367
  attr_accessor user_name: ::String
310
368
  attr_accessor access_key_id: ::String
@@ -644,6 +702,19 @@ module Aws::IAM
644
702
  SENSITIVE: []
645
703
  end
646
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
+
647
718
  class GetGroupPolicyRequest
648
719
  attr_accessor group_name: ::String
649
720
  attr_accessor policy_name: ::String
@@ -672,6 +743,19 @@ module Aws::IAM
672
743
  SENSITIVE: []
673
744
  end
674
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
+
675
759
  class GetInstanceProfileRequest
676
760
  attr_accessor instance_profile_name: ::String
677
761
  SENSITIVE: []
@@ -1033,6 +1117,20 @@ module Aws::IAM
1033
1117
  SENSITIVE: []
1034
1118
  end
1035
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
+
1036
1134
  class ListEntitiesForPolicyRequest
1037
1135
  attr_accessor policy_arn: ::String
1038
1136
  attr_accessor entity_filter: ("User" | "Role" | "Group" | "LocalManagedPolicy" | "AWSManagedPolicy")
@@ -1589,6 +1687,13 @@ module Aws::IAM
1589
1687
  SENSITIVE: []
1590
1688
  end
1591
1689
 
1690
+ class PolicyParameter
1691
+ attr_accessor name: ::String
1692
+ attr_accessor values: ::Array[::String]
1693
+ attr_accessor type: ("string" | "stringList")
1694
+ SENSITIVE: []
1695
+ end
1696
+
1592
1697
  class PolicyRole
1593
1698
  attr_accessor role_name: ::String
1594
1699
  attr_accessor role_id: ::String
@@ -1648,6 +1753,12 @@ module Aws::IAM
1648
1753
  SENSITIVE: []
1649
1754
  end
1650
1755
 
1756
+ class RejectDelegationRequestRequest
1757
+ attr_accessor delegation_request_id: ::String
1758
+ attr_accessor notes: ::String
1759
+ SENSITIVE: []
1760
+ end
1761
+
1651
1762
  class RemoveClientIDFromOpenIDConnectProviderRequest
1652
1763
  attr_accessor open_id_connect_provider_arn: ::String
1653
1764
  attr_accessor client_id: ::String
@@ -1774,6 +1885,11 @@ module Aws::IAM
1774
1885
  SENSITIVE: []
1775
1886
  end
1776
1887
 
1888
+ class SendDelegationTokenRequest
1889
+ attr_accessor delegation_request_id: ::String
1890
+ SENSITIVE: []
1891
+ end
1892
+
1777
1893
  class ServerCertificate
1778
1894
  attr_accessor server_certificate_metadata: Types::ServerCertificateMetadata
1779
1895
  attr_accessor certificate_body: ::String
@@ -2054,6 +2170,12 @@ module Aws::IAM
2054
2170
  SENSITIVE: []
2055
2171
  end
2056
2172
 
2173
+ class UpdateDelegationRequestRequest
2174
+ attr_accessor delegation_request_id: ::String
2175
+ attr_accessor notes: ::String
2176
+ SENSITIVE: []
2177
+ end
2178
+
2057
2179
  class UpdateGroupRequest
2058
2180
  attr_accessor group_name: ::String
2059
2181
  attr_accessor new_path: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iam
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.132.0
4
+ version: 1.134.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services