aws-sdk-iam 1.133.0 → 1.135.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.133.0'
79
+ GEM_VERSION = '1.135.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,
@@ -557,6 +569,10 @@ module Aws
557
569
  ) -> _DisableOrganizationsRootSessionsResponseSuccess
558
570
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableOrganizationsRootSessionsResponseSuccess
559
571
 
572
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#disable_outbound_web_identity_federation-instance_method
573
+ def disable_outbound_web_identity_federation: () -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
574
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
575
+
560
576
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#enable_mfa_device-instance_method
561
577
  def enable_mfa_device: (
562
578
  user_name: ::String,
@@ -586,6 +602,14 @@ module Aws
586
602
  ) -> _EnableOrganizationsRootSessionsResponseSuccess
587
603
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableOrganizationsRootSessionsResponseSuccess
588
604
 
605
+ interface _EnableOutboundWebIdentityFederationResponseSuccess
606
+ include ::Seahorse::Client::_ResponseSuccess[Types::EnableOutboundWebIdentityFederationResponse]
607
+ def issuer_identifier: () -> ::String
608
+ end
609
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#enable_outbound_web_identity_federation-instance_method
610
+ def enable_outbound_web_identity_federation: () -> _EnableOutboundWebIdentityFederationResponseSuccess
611
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableOutboundWebIdentityFederationResponseSuccess
612
+
589
613
  interface _GenerateCredentialReportResponseSuccess
590
614
  include ::Seahorse::Client::_ResponseSuccess[Types::GenerateCredentialReportResponse]
591
615
  def state: () -> ("STARTED" | "INPROGRESS" | "COMPLETE")
@@ -692,6 +716,19 @@ module Aws
692
716
  def get_credential_report: () -> _GetCredentialReportResponseSuccess
693
717
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCredentialReportResponseSuccess
694
718
 
719
+ interface _GetDelegationRequestResponseSuccess
720
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDelegationRequestResponse]
721
+ def delegation_request: () -> Types::DelegationRequest
722
+ def permission_check_status: () -> ("COMPLETE" | "IN_PROGRESS" | "FAILED")
723
+ def permission_check_result: () -> ("ALLOWED" | "DENIED" | "UNSURE")
724
+ end
725
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#get_delegation_request-instance_method
726
+ def get_delegation_request: (
727
+ delegation_request_id: ::String,
728
+ ?delegation_permission_check: bool
729
+ ) -> _GetDelegationRequestResponseSuccess
730
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDelegationRequestResponseSuccess
731
+
695
732
  interface _GetGroupResponseSuccess
696
733
  include ::Seahorse::Client::_ResponseSuccess[Types::GetGroupResponse]
697
734
  def group: () -> Types::Group
@@ -720,6 +757,19 @@ module Aws
720
757
  ) -> _GetGroupPolicyResponseSuccess
721
758
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGroupPolicyResponseSuccess
722
759
 
760
+ interface _GetHumanReadableSummaryResponseSuccess
761
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetHumanReadableSummaryResponse]
762
+ def summary_content: () -> ::String
763
+ def locale: () -> ::String
764
+ def summary_state: () -> ("AVAILABLE" | "NOT_AVAILABLE" | "NOT_SUPPORTED" | "FAILED")
765
+ end
766
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#get_human_readable_summary-instance_method
767
+ def get_human_readable_summary: (
768
+ entity_arn: ::String,
769
+ ?locale: ::String
770
+ ) -> _GetHumanReadableSummaryResponseSuccess
771
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetHumanReadableSummaryResponseSuccess
772
+
723
773
  interface _GetInstanceProfileResponseSuccess
724
774
  include ::Seahorse::Client::_ResponseSuccess[Types::GetInstanceProfileResponse]
725
775
  def instance_profile: () -> Types::InstanceProfile
@@ -789,6 +839,15 @@ module Aws
789
839
  ) -> _GetOrganizationsAccessReportResponseSuccess
790
840
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOrganizationsAccessReportResponseSuccess
791
841
 
842
+ interface _GetOutboundWebIdentityFederationInfoResponseSuccess
843
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetOutboundWebIdentityFederationInfoResponse]
844
+ def issuer_identifier: () -> ::String
845
+ def jwt_vending_enabled: () -> bool
846
+ end
847
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#get_outbound_web_identity_federation_info-instance_method
848
+ def get_outbound_web_identity_federation_info: () -> _GetOutboundWebIdentityFederationInfoResponseSuccess
849
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOutboundWebIdentityFederationInfoResponseSuccess
850
+
792
851
  interface _GetPolicyResponseSuccess
793
852
  include ::Seahorse::Client::_ResponseSuccess[Types::GetPolicyResponse]
794
853
  def policy: () -> Types::Policy
@@ -1013,6 +1072,20 @@ module Aws
1013
1072
  ) -> _ListAttachedUserPoliciesResponseSuccess
1014
1073
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAttachedUserPoliciesResponseSuccess
1015
1074
 
1075
+ interface _ListDelegationRequestsResponseSuccess
1076
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDelegationRequestsResponse]
1077
+ def delegation_requests: () -> ::Array[Types::DelegationRequest]
1078
+ def marker: () -> ::String
1079
+ def is_truncated: () -> bool
1080
+ end
1081
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#list_delegation_requests-instance_method
1082
+ def list_delegation_requests: (
1083
+ ?owner_id: ::String,
1084
+ ?marker: ::String,
1085
+ ?max_items: ::Integer
1086
+ ) -> _ListDelegationRequestsResponseSuccess
1087
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDelegationRequestsResponseSuccess
1088
+
1016
1089
  interface _ListEntitiesForPolicyResponseSuccess
1017
1090
  include ::Seahorse::Client::_ResponseSuccess[Types::ListEntitiesForPolicyResponse]
1018
1091
  def policy_groups: () -> ::Array[Types::PolicyGroup]
@@ -1467,6 +1540,13 @@ module Aws
1467
1540
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1468
1541
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1469
1542
 
1543
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#reject_delegation_request-instance_method
1544
+ def reject_delegation_request: (
1545
+ delegation_request_id: ::String,
1546
+ ?notes: ::String
1547
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1548
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1549
+
1470
1550
  # 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
1551
  def remove_client_id_from_open_id_connect_provider: (
1472
1552
  open_id_connect_provider_arn: ::String,
@@ -1508,6 +1588,12 @@ module Aws
1508
1588
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1509
1589
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1510
1590
 
1591
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#send_delegation_token-instance_method
1592
+ def send_delegation_token: (
1593
+ delegation_request_id: ::String
1594
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1595
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1596
+
1511
1597
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#set_default_policy_version-instance_method
1512
1598
  def set_default_policy_version: (
1513
1599
  policy_arn: ::String,
@@ -1759,6 +1845,13 @@ module Aws
1759
1845
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1760
1846
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1761
1847
 
1848
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#update_delegation_request-instance_method
1849
+ def update_delegation_request: (
1850
+ delegation_request_id: ::String,
1851
+ ?notes: ::String
1852
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1853
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1854
+
1762
1855
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#update_group-instance_method
1763
1856
  def update_group: (
1764
1857
  group_name: ::String,
data/sig/errors.rbs CHANGED
@@ -42,6 +42,12 @@ module Aws
42
42
  class EntityTemporarilyUnmodifiableException < ::Aws::Errors::ServiceError
43
43
  def message: () -> ::String
44
44
  end
45
+ class FeatureDisabledException < ::Aws::Errors::ServiceError
46
+ def message: () -> ::String
47
+ end
48
+ class FeatureEnabledException < ::Aws::Errors::ServiceError
49
+ def message: () -> ::String
50
+ end
45
51
  class InvalidAuthenticationCodeException < ::Aws::Errors::ServiceError
46
52
  def message: () -> ::String
47
53
  end
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
@@ -536,6 +569,11 @@ module Aws::IAM
536
569
  SENSITIVE: []
537
570
  end
538
571
 
572
+ class EnableOutboundWebIdentityFederationResponse
573
+ attr_accessor issuer_identifier: ::String
574
+ SENSITIVE: []
575
+ end
576
+
539
577
  class EntityAlreadyExistsException
540
578
  attr_accessor message: ::String
541
579
  SENSITIVE: []
@@ -580,6 +618,16 @@ module Aws::IAM
580
618
  SENSITIVE: []
581
619
  end
582
620
 
621
+ class FeatureDisabledException
622
+ attr_accessor message: ::String
623
+ SENSITIVE: []
624
+ end
625
+
626
+ class FeatureEnabledException
627
+ attr_accessor message: ::String
628
+ SENSITIVE: []
629
+ end
630
+
583
631
  class GenerateCredentialReportResponse
584
632
  attr_accessor state: ("STARTED" | "INPROGRESS" | "COMPLETE")
585
633
  attr_accessor description: ::String
@@ -669,6 +717,19 @@ module Aws::IAM
669
717
  SENSITIVE: []
670
718
  end
671
719
 
720
+ class GetDelegationRequestRequest
721
+ attr_accessor delegation_request_id: ::String
722
+ attr_accessor delegation_permission_check: bool
723
+ SENSITIVE: []
724
+ end
725
+
726
+ class GetDelegationRequestResponse
727
+ attr_accessor delegation_request: Types::DelegationRequest
728
+ attr_accessor permission_check_status: ("COMPLETE" | "IN_PROGRESS" | "FAILED")
729
+ attr_accessor permission_check_result: ("ALLOWED" | "DENIED" | "UNSURE")
730
+ SENSITIVE: []
731
+ end
732
+
672
733
  class GetGroupPolicyRequest
673
734
  attr_accessor group_name: ::String
674
735
  attr_accessor policy_name: ::String
@@ -697,6 +758,19 @@ module Aws::IAM
697
758
  SENSITIVE: []
698
759
  end
699
760
 
761
+ class GetHumanReadableSummaryRequest
762
+ attr_accessor entity_arn: ::String
763
+ attr_accessor locale: ::String
764
+ SENSITIVE: []
765
+ end
766
+
767
+ class GetHumanReadableSummaryResponse
768
+ attr_accessor summary_content: ::String
769
+ attr_accessor locale: ::String
770
+ attr_accessor summary_state: ("AVAILABLE" | "NOT_AVAILABLE" | "NOT_SUPPORTED" | "FAILED")
771
+ SENSITIVE: []
772
+ end
773
+
700
774
  class GetInstanceProfileRequest
701
775
  attr_accessor instance_profile_name: ::String
702
776
  SENSITIVE: []
@@ -766,6 +840,12 @@ module Aws::IAM
766
840
  SENSITIVE: []
767
841
  end
768
842
 
843
+ class GetOutboundWebIdentityFederationInfoResponse
844
+ attr_accessor issuer_identifier: ::String
845
+ attr_accessor jwt_vending_enabled: bool
846
+ SENSITIVE: []
847
+ end
848
+
769
849
  class GetPolicyRequest
770
850
  attr_accessor policy_arn: ::String
771
851
  SENSITIVE: []
@@ -1058,6 +1138,20 @@ module Aws::IAM
1058
1138
  SENSITIVE: []
1059
1139
  end
1060
1140
 
1141
+ class ListDelegationRequestsRequest
1142
+ attr_accessor owner_id: ::String
1143
+ attr_accessor marker: ::String
1144
+ attr_accessor max_items: ::Integer
1145
+ SENSITIVE: []
1146
+ end
1147
+
1148
+ class ListDelegationRequestsResponse
1149
+ attr_accessor delegation_requests: ::Array[Types::DelegationRequest]
1150
+ attr_accessor marker: ::String
1151
+ attr_accessor is_truncated: bool
1152
+ SENSITIVE: []
1153
+ end
1154
+
1061
1155
  class ListEntitiesForPolicyRequest
1062
1156
  attr_accessor policy_arn: ::String
1063
1157
  attr_accessor entity_filter: ("User" | "Role" | "Group" | "LocalManagedPolicy" | "AWSManagedPolicy")
@@ -1680,6 +1774,12 @@ module Aws::IAM
1680
1774
  SENSITIVE: []
1681
1775
  end
1682
1776
 
1777
+ class RejectDelegationRequestRequest
1778
+ attr_accessor delegation_request_id: ::String
1779
+ attr_accessor notes: ::String
1780
+ SENSITIVE: []
1781
+ end
1782
+
1683
1783
  class RemoveClientIDFromOpenIDConnectProviderRequest
1684
1784
  attr_accessor open_id_connect_provider_arn: ::String
1685
1785
  attr_accessor client_id: ::String
@@ -1806,6 +1906,11 @@ module Aws::IAM
1806
1906
  SENSITIVE: []
1807
1907
  end
1808
1908
 
1909
+ class SendDelegationTokenRequest
1910
+ attr_accessor delegation_request_id: ::String
1911
+ SENSITIVE: []
1912
+ end
1913
+
1809
1914
  class ServerCertificate
1810
1915
  attr_accessor server_certificate_metadata: Types::ServerCertificateMetadata
1811
1916
  attr_accessor certificate_body: ::String
@@ -2086,6 +2191,12 @@ module Aws::IAM
2086
2191
  SENSITIVE: []
2087
2192
  end
2088
2193
 
2194
+ class UpdateDelegationRequestRequest
2195
+ attr_accessor delegation_request_id: ::String
2196
+ attr_accessor notes: ::String
2197
+ SENSITIVE: []
2198
+ end
2199
+
2089
2200
  class UpdateGroupRequest
2090
2201
  attr_accessor group_name: ::String
2091
2202
  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.133.0
4
+ version: 1.135.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services