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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iam/client.rb +571 -17
- data/lib/aws-sdk-iam/client_api.rb +244 -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 +594 -20
- data/lib/aws-sdk-iam.rb +2 -2
- data/sig/client.rbs +100 -0
- data/sig/types.rbs +122 -0
- metadata +1 -1
data/lib/aws-sdk-iam/types.rb
CHANGED
|
@@ -10,6 +10,18 @@
|
|
|
10
10
|
module Aws::IAM
|
|
11
11
|
module Types
|
|
12
12
|
|
|
13
|
+
# @!attribute [rw] delegation_request_id
|
|
14
|
+
# The unique identifier of the delegation request to accept.
|
|
15
|
+
# @return [String]
|
|
16
|
+
#
|
|
17
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AcceptDelegationRequestRequest AWS API Documentation
|
|
18
|
+
#
|
|
19
|
+
class AcceptDelegationRequestRequest < Struct.new(
|
|
20
|
+
:delegation_request_id)
|
|
21
|
+
SENSITIVE = []
|
|
22
|
+
include Aws::Structure
|
|
23
|
+
end
|
|
24
|
+
|
|
13
25
|
# An object that contains details about when a principal in the reported
|
|
14
26
|
# Organizations entity last attempted to access an Amazon Web Services
|
|
15
27
|
# service. A principal can be an IAM user, an IAM role, or the Amazon
|
|
@@ -374,6 +386,18 @@ module Aws::IAM
|
|
|
374
386
|
include Aws::Structure
|
|
375
387
|
end
|
|
376
388
|
|
|
389
|
+
# @!attribute [rw] delegation_request_id
|
|
390
|
+
# The unique identifier of the delegation request to associate.
|
|
391
|
+
# @return [String]
|
|
392
|
+
#
|
|
393
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AssociateDelegationRequestRequest AWS API Documentation
|
|
394
|
+
#
|
|
395
|
+
class AssociateDelegationRequestRequest < Struct.new(
|
|
396
|
+
:delegation_request_id)
|
|
397
|
+
SENSITIVE = []
|
|
398
|
+
include Aws::Structure
|
|
399
|
+
end
|
|
400
|
+
|
|
377
401
|
# @!attribute [rw] group_name
|
|
378
402
|
# The name (friendly name, not ARN) of the group to attach the policy
|
|
379
403
|
# to.
|
|
@@ -706,6 +730,132 @@ module Aws::IAM
|
|
|
706
730
|
include Aws::Structure
|
|
707
731
|
end
|
|
708
732
|
|
|
733
|
+
# @!attribute [rw] owner_account_id
|
|
734
|
+
# The Amazon Web Services account ID this delegation request is
|
|
735
|
+
# targeted to.
|
|
736
|
+
#
|
|
737
|
+
# If the account ID is not known, this parameter can be omitted,
|
|
738
|
+
# resulting in a request that can be associated by any account. If the
|
|
739
|
+
# account ID passed, then the created delegation request can only be
|
|
740
|
+
# associated with an identity of that target account.
|
|
741
|
+
# @return [String]
|
|
742
|
+
#
|
|
743
|
+
# @!attribute [rw] description
|
|
744
|
+
# A description of the delegation request.
|
|
745
|
+
# @return [String]
|
|
746
|
+
#
|
|
747
|
+
# @!attribute [rw] permissions
|
|
748
|
+
# The permissions to be delegated in this delegation request.
|
|
749
|
+
# @return [Types::DelegationPermission]
|
|
750
|
+
#
|
|
751
|
+
# @!attribute [rw] request_message
|
|
752
|
+
# A message explaining the reason for the delegation request.
|
|
753
|
+
#
|
|
754
|
+
# Requesters can utilize this field to add a custom note to the
|
|
755
|
+
# delegation request. This field is different from the description
|
|
756
|
+
# such that this is to be utilized for a custom messaging on a
|
|
757
|
+
# case-by-case basis.
|
|
758
|
+
#
|
|
759
|
+
# For example, if the current delegation request is in response to a
|
|
760
|
+
# previous request being rejected, this explanation can be added to
|
|
761
|
+
# the request via this field.
|
|
762
|
+
# @return [String]
|
|
763
|
+
#
|
|
764
|
+
# @!attribute [rw] requestor_workflow_id
|
|
765
|
+
# The workflow ID associated with the requestor.
|
|
766
|
+
#
|
|
767
|
+
# This is the unique identifier on the partner side that can be used
|
|
768
|
+
# to track the progress of the request.
|
|
769
|
+
#
|
|
770
|
+
# IAM maintains a uniqueness check on this workflow id for each
|
|
771
|
+
# request - if a workflow id for an existing request is passed, this
|
|
772
|
+
# API call will fail.
|
|
773
|
+
# @return [String]
|
|
774
|
+
#
|
|
775
|
+
# @!attribute [rw] redirect_url
|
|
776
|
+
# The URL to redirect to after the delegation request is processed.
|
|
777
|
+
#
|
|
778
|
+
# This URL is used by the IAM console to show a link to the customer
|
|
779
|
+
# to re-load the partner workflow.
|
|
780
|
+
# @return [String]
|
|
781
|
+
#
|
|
782
|
+
# @!attribute [rw] notification_channel
|
|
783
|
+
# The notification channel for updates about the delegation request.
|
|
784
|
+
#
|
|
785
|
+
# At this time,only SNS topic ARNs are accepted for notification. This
|
|
786
|
+
# topic ARN must have a resource policy granting `SNS:Publish`
|
|
787
|
+
# permission to the IAM service principal (`iam.amazonaws.com`). See
|
|
788
|
+
# [partner onboarding documentation][1] for more details.
|
|
789
|
+
#
|
|
790
|
+
#
|
|
791
|
+
#
|
|
792
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies-temporary-delegation-partner-guide.html
|
|
793
|
+
# @return [String]
|
|
794
|
+
#
|
|
795
|
+
# @!attribute [rw] session_duration
|
|
796
|
+
# The duration for which the delegated session should remain active,
|
|
797
|
+
# in seconds.
|
|
798
|
+
#
|
|
799
|
+
# The active time window for the session starts when the customer
|
|
800
|
+
# calls the [SendDelegationToken][1] API.
|
|
801
|
+
#
|
|
802
|
+
#
|
|
803
|
+
#
|
|
804
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_SendDelegationToken.html
|
|
805
|
+
# @return [Integer]
|
|
806
|
+
#
|
|
807
|
+
# @!attribute [rw] only_send_by_owner
|
|
808
|
+
# Specifies whether the delegation token should only be sent by the
|
|
809
|
+
# owner.
|
|
810
|
+
#
|
|
811
|
+
# This flag prevents any party other than the owner from calling
|
|
812
|
+
# `SendDelegationToken` API for this delegation request. This behavior
|
|
813
|
+
# becomes useful when the delegation request owner needs to be present
|
|
814
|
+
# for subsequent partner interactions, but the delegation request was
|
|
815
|
+
# sent to a more privileged user for approval due to the owner lacking
|
|
816
|
+
# sufficient delegation permissions.
|
|
817
|
+
# @return [Boolean]
|
|
818
|
+
#
|
|
819
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateDelegationRequestRequest AWS API Documentation
|
|
820
|
+
#
|
|
821
|
+
class CreateDelegationRequestRequest < Struct.new(
|
|
822
|
+
:owner_account_id,
|
|
823
|
+
:description,
|
|
824
|
+
:permissions,
|
|
825
|
+
:request_message,
|
|
826
|
+
:requestor_workflow_id,
|
|
827
|
+
:redirect_url,
|
|
828
|
+
:notification_channel,
|
|
829
|
+
:session_duration,
|
|
830
|
+
:only_send_by_owner)
|
|
831
|
+
SENSITIVE = []
|
|
832
|
+
include Aws::Structure
|
|
833
|
+
end
|
|
834
|
+
|
|
835
|
+
# @!attribute [rw] console_deep_link
|
|
836
|
+
# A deep link URL to the Amazon Web Services Management Console for
|
|
837
|
+
# managing the delegation request.
|
|
838
|
+
#
|
|
839
|
+
# For a console based workflow, partners should redirect the customer
|
|
840
|
+
# to this URL. If the customer is not logged in to any Amazon Web
|
|
841
|
+
# Services account, the Amazon Web Services workflow will
|
|
842
|
+
# automatically direct the customer to log in and then display the
|
|
843
|
+
# delegation request approval page.
|
|
844
|
+
# @return [String]
|
|
845
|
+
#
|
|
846
|
+
# @!attribute [rw] delegation_request_id
|
|
847
|
+
# The unique identifier for the created delegation request.
|
|
848
|
+
# @return [String]
|
|
849
|
+
#
|
|
850
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateDelegationRequestResponse AWS API Documentation
|
|
851
|
+
#
|
|
852
|
+
class CreateDelegationRequestResponse < Struct.new(
|
|
853
|
+
:console_deep_link,
|
|
854
|
+
:delegation_request_id)
|
|
855
|
+
SENSITIVE = []
|
|
856
|
+
include Aws::Structure
|
|
857
|
+
end
|
|
858
|
+
|
|
709
859
|
# @!attribute [rw] path
|
|
710
860
|
# The path to the group. For more information about paths, see [IAM
|
|
711
861
|
# identifiers][1] in the *IAM User Guide*.
|
|
@@ -1914,6 +2064,179 @@ module Aws::IAM
|
|
|
1914
2064
|
include Aws::Structure
|
|
1915
2065
|
end
|
|
1916
2066
|
|
|
2067
|
+
# Contains information about the permissions being delegated in a
|
|
2068
|
+
# delegation request.
|
|
2069
|
+
#
|
|
2070
|
+
# @!attribute [rw] policy_template_arn
|
|
2071
|
+
# This ARN maps to a pre-registered policy content for this partner.
|
|
2072
|
+
# See the [partner onboarding documentation]() to understand how to
|
|
2073
|
+
# create a delegation template.
|
|
2074
|
+
# @return [String]
|
|
2075
|
+
#
|
|
2076
|
+
# @!attribute [rw] parameters
|
|
2077
|
+
# A list of policy parameters that define the scope and constraints of
|
|
2078
|
+
# the delegated permissions.
|
|
2079
|
+
# @return [Array<Types::PolicyParameter>]
|
|
2080
|
+
#
|
|
2081
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DelegationPermission AWS API Documentation
|
|
2082
|
+
#
|
|
2083
|
+
class DelegationPermission < Struct.new(
|
|
2084
|
+
:policy_template_arn,
|
|
2085
|
+
:parameters)
|
|
2086
|
+
SENSITIVE = []
|
|
2087
|
+
include Aws::Structure
|
|
2088
|
+
end
|
|
2089
|
+
|
|
2090
|
+
# Contains information about a delegation request, including its status,
|
|
2091
|
+
# permissions, and associated metadata.
|
|
2092
|
+
#
|
|
2093
|
+
# @!attribute [rw] delegation_request_id
|
|
2094
|
+
# The unique identifier for the delegation request.
|
|
2095
|
+
# @return [String]
|
|
2096
|
+
#
|
|
2097
|
+
# @!attribute [rw] owner_account_id
|
|
2098
|
+
# Amazon Web Services account ID of the owner of the delegation
|
|
2099
|
+
# request.
|
|
2100
|
+
# @return [String]
|
|
2101
|
+
#
|
|
2102
|
+
# @!attribute [rw] description
|
|
2103
|
+
# Description of the delegation request. This is a message that is
|
|
2104
|
+
# provided by the Amazon Web Services partner that filed the
|
|
2105
|
+
# delegation request.
|
|
2106
|
+
# @return [String]
|
|
2107
|
+
#
|
|
2108
|
+
# @!attribute [rw] request_message
|
|
2109
|
+
# A custom message that is added to the delegation request by the
|
|
2110
|
+
# partner.
|
|
2111
|
+
#
|
|
2112
|
+
# This element is different from the `Description` element such that
|
|
2113
|
+
# this is a request specific message injected by the partner. The
|
|
2114
|
+
# `Description` is typically a generic explanation of what the
|
|
2115
|
+
# delegation request is targeted to do.
|
|
2116
|
+
# @return [String]
|
|
2117
|
+
#
|
|
2118
|
+
# @!attribute [rw] permissions
|
|
2119
|
+
# Contains information about the permissions being delegated in a
|
|
2120
|
+
# delegation request.
|
|
2121
|
+
# @return [Types::DelegationPermission]
|
|
2122
|
+
#
|
|
2123
|
+
# @!attribute [rw] permission_policy
|
|
2124
|
+
# JSON content of the associated permission policy of this delegation
|
|
2125
|
+
# request.
|
|
2126
|
+
# @return [String]
|
|
2127
|
+
#
|
|
2128
|
+
# @!attribute [rw] role_permission_restriction_arns
|
|
2129
|
+
# If the `PermissionPolicy` includes role creation permissions, this
|
|
2130
|
+
# element will include the list of permissions boundary policies
|
|
2131
|
+
# associated with the role creation. See [Permissions boundaries for
|
|
2132
|
+
# IAM entities](IAM/latest/UserGuide/access_policies_boundaries.html)
|
|
2133
|
+
# for more details about IAM permission boundaries.
|
|
2134
|
+
# @return [Array<String>]
|
|
2135
|
+
#
|
|
2136
|
+
# @!attribute [rw] owner_id
|
|
2137
|
+
# ARN of the owner of this delegation request.
|
|
2138
|
+
# @return [String]
|
|
2139
|
+
#
|
|
2140
|
+
# @!attribute [rw] approver_id
|
|
2141
|
+
# The Amazon Resource Name (ARN). ARNs are unique identifiers for
|
|
2142
|
+
# Amazon Web Services resources.
|
|
2143
|
+
#
|
|
2144
|
+
# For more information about ARNs, go to [Amazon Resource Names
|
|
2145
|
+
# (ARNs)][1] in the *Amazon Web Services General Reference*.
|
|
2146
|
+
#
|
|
2147
|
+
#
|
|
2148
|
+
#
|
|
2149
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
|
2150
|
+
# @return [String]
|
|
2151
|
+
#
|
|
2152
|
+
# @!attribute [rw] state
|
|
2153
|
+
# The state of this delegation request.
|
|
2154
|
+
#
|
|
2155
|
+
# See the [Understanding the Request
|
|
2156
|
+
# Lifecycle](IAM/latest/UserGuide/temporary-delegation-building-integration.html)
|
|
2157
|
+
# for an explanation of how these states are transitioned.
|
|
2158
|
+
# @return [String]
|
|
2159
|
+
#
|
|
2160
|
+
# @!attribute [rw] requestor_id
|
|
2161
|
+
# Identity of the requestor of this delegation request. This will be
|
|
2162
|
+
# an Amazon Web Services account ID.
|
|
2163
|
+
# @return [String]
|
|
2164
|
+
#
|
|
2165
|
+
# @!attribute [rw] requestor_name
|
|
2166
|
+
# A friendly name of the requestor.
|
|
2167
|
+
# @return [String]
|
|
2168
|
+
#
|
|
2169
|
+
# @!attribute [rw] create_date
|
|
2170
|
+
# Creation date (timestamp) of this delegation request.
|
|
2171
|
+
# @return [Time]
|
|
2172
|
+
#
|
|
2173
|
+
# @!attribute [rw] session_duration
|
|
2174
|
+
# The life-time of the requested session credential.
|
|
2175
|
+
# @return [Integer]
|
|
2176
|
+
#
|
|
2177
|
+
# @!attribute [rw] redirect_url
|
|
2178
|
+
# A URL to be redirected to once the delegation request is approved.
|
|
2179
|
+
# Partners provide this URL when creating the delegation request.
|
|
2180
|
+
# @return [String]
|
|
2181
|
+
#
|
|
2182
|
+
# @!attribute [rw] notes
|
|
2183
|
+
# Notes added to this delegation request, if this request was updated
|
|
2184
|
+
# via the [UpdateDelegationRequest][1] API.
|
|
2185
|
+
#
|
|
2186
|
+
#
|
|
2187
|
+
#
|
|
2188
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateDelegationRequest.html
|
|
2189
|
+
# @return [String]
|
|
2190
|
+
#
|
|
2191
|
+
# @!attribute [rw] rejection_reason
|
|
2192
|
+
# Reasons for rejecting this delegation request, if this request was
|
|
2193
|
+
# rejected. See also [RejectDelegationRequest][1] API documentation.
|
|
2194
|
+
#
|
|
2195
|
+
#
|
|
2196
|
+
#
|
|
2197
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_RejectDelegationRequest.html
|
|
2198
|
+
# @return [String]
|
|
2199
|
+
#
|
|
2200
|
+
# @!attribute [rw] only_send_by_owner
|
|
2201
|
+
# A flag indicating whether the [SendDelegationToken][1] must be
|
|
2202
|
+
# called by the owner of this delegation request. This is set by the
|
|
2203
|
+
# requesting partner.
|
|
2204
|
+
#
|
|
2205
|
+
#
|
|
2206
|
+
#
|
|
2207
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_SendDelegationToken.html
|
|
2208
|
+
# @return [Boolean]
|
|
2209
|
+
#
|
|
2210
|
+
# @!attribute [rw] updated_time
|
|
2211
|
+
# Last updated timestamp of the request.
|
|
2212
|
+
# @return [Time]
|
|
2213
|
+
#
|
|
2214
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DelegationRequest AWS API Documentation
|
|
2215
|
+
#
|
|
2216
|
+
class DelegationRequest < Struct.new(
|
|
2217
|
+
:delegation_request_id,
|
|
2218
|
+
:owner_account_id,
|
|
2219
|
+
:description,
|
|
2220
|
+
:request_message,
|
|
2221
|
+
:permissions,
|
|
2222
|
+
:permission_policy,
|
|
2223
|
+
:role_permission_restriction_arns,
|
|
2224
|
+
:owner_id,
|
|
2225
|
+
:approver_id,
|
|
2226
|
+
:state,
|
|
2227
|
+
:requestor_id,
|
|
2228
|
+
:requestor_name,
|
|
2229
|
+
:create_date,
|
|
2230
|
+
:session_duration,
|
|
2231
|
+
:redirect_url,
|
|
2232
|
+
:notes,
|
|
2233
|
+
:rejection_reason,
|
|
2234
|
+
:only_send_by_owner,
|
|
2235
|
+
:updated_time)
|
|
2236
|
+
SENSITIVE = []
|
|
2237
|
+
include Aws::Structure
|
|
2238
|
+
end
|
|
2239
|
+
|
|
1917
2240
|
# @!attribute [rw] user_name
|
|
1918
2241
|
# The name of the user whose access key pair you want to delete.
|
|
1919
2242
|
#
|
|
@@ -3506,6 +3829,80 @@ module Aws::IAM
|
|
|
3506
3829
|
include Aws::Structure
|
|
3507
3830
|
end
|
|
3508
3831
|
|
|
3832
|
+
# @!attribute [rw] delegation_request_id
|
|
3833
|
+
# The unique identifier of the delegation request to retrieve.
|
|
3834
|
+
# @return [String]
|
|
3835
|
+
#
|
|
3836
|
+
# @!attribute [rw] delegation_permission_check
|
|
3837
|
+
# Specifies whether to perform a permission check for the delegation
|
|
3838
|
+
# request.
|
|
3839
|
+
#
|
|
3840
|
+
# If set to true, the `GetDelegationRequest` API call will start a
|
|
3841
|
+
# permission check process. This process calculates whether the caller
|
|
3842
|
+
# has sufficient permissions to cover the asks from this delegation
|
|
3843
|
+
# request.
|
|
3844
|
+
#
|
|
3845
|
+
# Setting this parameter to true does not guarantee an answer in the
|
|
3846
|
+
# response. See the `PermissionCheckStatus` and the
|
|
3847
|
+
# `PermissionCheckResult` response attributes for further details.
|
|
3848
|
+
# @return [Boolean]
|
|
3849
|
+
#
|
|
3850
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetDelegationRequestRequest AWS API Documentation
|
|
3851
|
+
#
|
|
3852
|
+
class GetDelegationRequestRequest < Struct.new(
|
|
3853
|
+
:delegation_request_id,
|
|
3854
|
+
:delegation_permission_check)
|
|
3855
|
+
SENSITIVE = []
|
|
3856
|
+
include Aws::Structure
|
|
3857
|
+
end
|
|
3858
|
+
|
|
3859
|
+
# @!attribute [rw] delegation_request
|
|
3860
|
+
# The delegation request object containing all details about the
|
|
3861
|
+
# request.
|
|
3862
|
+
# @return [Types::DelegationRequest]
|
|
3863
|
+
#
|
|
3864
|
+
# @!attribute [rw] permission_check_status
|
|
3865
|
+
# The status of the permission check for the delegation request.
|
|
3866
|
+
#
|
|
3867
|
+
# This value indicates the status of the process to check whether the
|
|
3868
|
+
# caller has sufficient permissions to cover the requested actions in
|
|
3869
|
+
# the delegation request. Since this is an asynchronous process, there
|
|
3870
|
+
# are three potential values:
|
|
3871
|
+
#
|
|
3872
|
+
# * `IN_PROGRESS` : The permission check process has started.
|
|
3873
|
+
#
|
|
3874
|
+
# * `COMPLETED` : The permission check process has completed. The
|
|
3875
|
+
# `PermissionCheckResult` will include the result.
|
|
3876
|
+
#
|
|
3877
|
+
# * `FAILED` : The permission check process has failed.
|
|
3878
|
+
# @return [String]
|
|
3879
|
+
#
|
|
3880
|
+
# @!attribute [rw] permission_check_result
|
|
3881
|
+
# The result of the permission check, indicating whether the caller
|
|
3882
|
+
# has sufficient permissions to cover the requested permissions. This
|
|
3883
|
+
# is an approximate result.
|
|
3884
|
+
#
|
|
3885
|
+
# * `ALLOWED` : The caller has sufficient permissions cover all the
|
|
3886
|
+
# requested permissions.
|
|
3887
|
+
#
|
|
3888
|
+
# * `DENIED` : The caller does not have sufficient permissions to
|
|
3889
|
+
# cover all the requested permissions.
|
|
3890
|
+
#
|
|
3891
|
+
# * `UNSURE` : It is not possible to determine whether the caller has
|
|
3892
|
+
# all the permissions needed. This output is most likely for cases
|
|
3893
|
+
# when the caller has permissions with conditions.
|
|
3894
|
+
# @return [String]
|
|
3895
|
+
#
|
|
3896
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetDelegationRequestResponse AWS API Documentation
|
|
3897
|
+
#
|
|
3898
|
+
class GetDelegationRequestResponse < Struct.new(
|
|
3899
|
+
:delegation_request,
|
|
3900
|
+
:permission_check_status,
|
|
3901
|
+
:permission_check_result)
|
|
3902
|
+
SENSITIVE = []
|
|
3903
|
+
include Aws::Structure
|
|
3904
|
+
end
|
|
3905
|
+
|
|
3509
3906
|
# @!attribute [rw] group_name
|
|
3510
3907
|
# The name of the group the policy is associated with.
|
|
3511
3908
|
#
|
|
@@ -3658,6 +4055,52 @@ module Aws::IAM
|
|
|
3658
4055
|
include Aws::Structure
|
|
3659
4056
|
end
|
|
3660
4057
|
|
|
4058
|
+
# @!attribute [rw] entity_arn
|
|
4059
|
+
# Arn of the entity to be summarized. At this time, the only supported
|
|
4060
|
+
# entity type is `delegation-request`
|
|
4061
|
+
# @return [String]
|
|
4062
|
+
#
|
|
4063
|
+
# @!attribute [rw] locale
|
|
4064
|
+
# A string representing the locale to use for the summary generation.
|
|
4065
|
+
# The supported locale strings are based on the [ Supported languages
|
|
4066
|
+
# of the Amazon Web Services Management Console
|
|
4067
|
+
# ](/awsconsolehelpdocs/latest/gsg/change-language.html#supported-languages).
|
|
4068
|
+
# @return [String]
|
|
4069
|
+
#
|
|
4070
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetHumanReadableSummaryRequest AWS API Documentation
|
|
4071
|
+
#
|
|
4072
|
+
class GetHumanReadableSummaryRequest < Struct.new(
|
|
4073
|
+
:entity_arn,
|
|
4074
|
+
:locale)
|
|
4075
|
+
SENSITIVE = []
|
|
4076
|
+
include Aws::Structure
|
|
4077
|
+
end
|
|
4078
|
+
|
|
4079
|
+
# @!attribute [rw] summary_content
|
|
4080
|
+
# Summary content in the specified locale. Summary content is
|
|
4081
|
+
# non-empty only if the `SummaryState` is `AVAILABLE`.
|
|
4082
|
+
# @return [String]
|
|
4083
|
+
#
|
|
4084
|
+
# @!attribute [rw] locale
|
|
4085
|
+
# The locale that this response was generated for. This maps to the
|
|
4086
|
+
# input locale.
|
|
4087
|
+
# @return [String]
|
|
4088
|
+
#
|
|
4089
|
+
# @!attribute [rw] summary_state
|
|
4090
|
+
# State of summary generation. This generation process is asynchronous
|
|
4091
|
+
# and this attribute indicates the state of the generation process.
|
|
4092
|
+
# @return [String]
|
|
4093
|
+
#
|
|
4094
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetHumanReadableSummaryResponse AWS API Documentation
|
|
4095
|
+
#
|
|
4096
|
+
class GetHumanReadableSummaryResponse < Struct.new(
|
|
4097
|
+
:summary_content,
|
|
4098
|
+
:locale,
|
|
4099
|
+
:summary_state)
|
|
4100
|
+
SENSITIVE = []
|
|
4101
|
+
include Aws::Structure
|
|
4102
|
+
end
|
|
4103
|
+
|
|
3661
4104
|
# @!attribute [rw] instance_profile_name
|
|
3662
4105
|
# The name of the instance profile to get information about.
|
|
3663
4106
|
#
|
|
@@ -3942,7 +4385,7 @@ module Aws::IAM
|
|
|
3942
4385
|
# @return [String]
|
|
3943
4386
|
#
|
|
3944
4387
|
# @!attribute [rw] job_creation_date
|
|
3945
|
-
# The date and time, in
|
|
4388
|
+
# The date and time, in [ISO 8601 date-time format][1], when the
|
|
3946
4389
|
# report job was created.
|
|
3947
4390
|
#
|
|
3948
4391
|
#
|
|
@@ -3951,7 +4394,7 @@ module Aws::IAM
|
|
|
3951
4394
|
# @return [Time]
|
|
3952
4395
|
#
|
|
3953
4396
|
# @!attribute [rw] job_completion_date
|
|
3954
|
-
# The date and time, in
|
|
4397
|
+
# The date and time, in [ISO 8601 date-time format][1], when the
|
|
3955
4398
|
# generated report job was completed or failed.
|
|
3956
4399
|
#
|
|
3957
4400
|
# This field is null if the job is still in progress, as indicated by
|
|
@@ -3973,7 +4416,7 @@ module Aws::IAM
|
|
|
3973
4416
|
# @return [Integer]
|
|
3974
4417
|
#
|
|
3975
4418
|
# @!attribute [rw] access_details
|
|
3976
|
-
# An
|
|
4419
|
+
# An object that contains details about the most recent attempt to
|
|
3977
4420
|
# access the service.
|
|
3978
4421
|
# @return [Array<Types::AccessDetail>]
|
|
3979
4422
|
#
|
|
@@ -4450,7 +4893,7 @@ module Aws::IAM
|
|
|
4450
4893
|
# @return [String]
|
|
4451
4894
|
#
|
|
4452
4895
|
# @!attribute [rw] job_creation_date
|
|
4453
|
-
# The date and time, in
|
|
4896
|
+
# The date and time, in [ISO 8601 date-time format][1], when the
|
|
4454
4897
|
# report job was created.
|
|
4455
4898
|
#
|
|
4456
4899
|
#
|
|
@@ -4459,12 +4902,12 @@ module Aws::IAM
|
|
|
4459
4902
|
# @return [Time]
|
|
4460
4903
|
#
|
|
4461
4904
|
# @!attribute [rw] services_last_accessed
|
|
4462
|
-
# A
|
|
4905
|
+
# A `ServiceLastAccessed` object that contains details about the most
|
|
4463
4906
|
# recent attempt to access the service.
|
|
4464
4907
|
# @return [Array<Types::ServiceLastAccessed>]
|
|
4465
4908
|
#
|
|
4466
4909
|
# @!attribute [rw] job_completion_date
|
|
4467
|
-
# The date and time, in
|
|
4910
|
+
# The date and time, in [ISO 8601 date-time format][1], when the
|
|
4468
4911
|
# generated report job was completed or failed.
|
|
4469
4912
|
#
|
|
4470
4913
|
# This field is null if the job is still in progress, as indicated by
|
|
@@ -4527,7 +4970,7 @@ module Aws::IAM
|
|
|
4527
4970
|
# details for that service. In the first paragraph, find the service
|
|
4528
4971
|
# prefix. For example, `(service prefix: a4b)`. For more information
|
|
4529
4972
|
# about service namespaces, see [Amazon Web Services service
|
|
4530
|
-
# namespaces][2] in the
|
|
4973
|
+
# namespaces][2] in the *Amazon Web Services General Reference*.
|
|
4531
4974
|
#
|
|
4532
4975
|
#
|
|
4533
4976
|
#
|
|
@@ -4571,7 +5014,7 @@ module Aws::IAM
|
|
|
4571
5014
|
# @return [String]
|
|
4572
5015
|
#
|
|
4573
5016
|
# @!attribute [rw] job_creation_date
|
|
4574
|
-
# The date and time, in
|
|
5017
|
+
# The date and time, in [ISO 8601 date-time format][1], when the
|
|
4575
5018
|
# report job was created.
|
|
4576
5019
|
#
|
|
4577
5020
|
#
|
|
@@ -4580,7 +5023,7 @@ module Aws::IAM
|
|
|
4580
5023
|
# @return [Time]
|
|
4581
5024
|
#
|
|
4582
5025
|
# @!attribute [rw] job_completion_date
|
|
4583
|
-
# The date and time, in
|
|
5026
|
+
# The date and time, in [ISO 8601 date-time format][1], when the
|
|
4584
5027
|
# generated report job was completed or failed.
|
|
4585
5028
|
#
|
|
4586
5029
|
# This field is null if the job is still in progress, as indicated by
|
|
@@ -4592,7 +5035,7 @@ module Aws::IAM
|
|
|
4592
5035
|
# @return [Time]
|
|
4593
5036
|
#
|
|
4594
5037
|
# @!attribute [rw] entity_details_list
|
|
4595
|
-
# An
|
|
5038
|
+
# An `EntityDetailsList` object that contains details about when an
|
|
4596
5039
|
# IAM entity (user or role) used group or policy permissions in an
|
|
4597
5040
|
# attempt to access the specified Amazon Web Services service.
|
|
4598
5041
|
# @return [Array<Types::EntityDetails>]
|
|
@@ -5572,6 +6015,66 @@ module Aws::IAM
|
|
|
5572
6015
|
include Aws::Structure
|
|
5573
6016
|
end
|
|
5574
6017
|
|
|
6018
|
+
# @!attribute [rw] owner_id
|
|
6019
|
+
# The owner ID to filter delegation requests by.
|
|
6020
|
+
# @return [String]
|
|
6021
|
+
#
|
|
6022
|
+
# @!attribute [rw] marker
|
|
6023
|
+
# Use this parameter only when paginating results and only after you
|
|
6024
|
+
# receive a response indicating that the results are truncated. Set it
|
|
6025
|
+
# to the value of the `Marker` element in the response that you
|
|
6026
|
+
# received to indicate where the next call should start.
|
|
6027
|
+
# @return [String]
|
|
6028
|
+
#
|
|
6029
|
+
# @!attribute [rw] max_items
|
|
6030
|
+
# Use this only when paginating results to indicate the maximum number
|
|
6031
|
+
# of items you want in the response. If additional items exist beyond
|
|
6032
|
+
# the maximum you specify, the `IsTruncated` response element is
|
|
6033
|
+
# `true`.
|
|
6034
|
+
#
|
|
6035
|
+
# If you do not include this parameter, the number of items defaults
|
|
6036
|
+
# to 100. Note that IAM may return fewer results, even when there are
|
|
6037
|
+
# more results available. In that case, the `IsTruncated` response
|
|
6038
|
+
# element returns `true`, and `Marker` contains a value to include in
|
|
6039
|
+
# the subsequent call that tells the service where to continue from.
|
|
6040
|
+
# @return [Integer]
|
|
6041
|
+
#
|
|
6042
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListDelegationRequestsRequest AWS API Documentation
|
|
6043
|
+
#
|
|
6044
|
+
class ListDelegationRequestsRequest < Struct.new(
|
|
6045
|
+
:owner_id,
|
|
6046
|
+
:marker,
|
|
6047
|
+
:max_items)
|
|
6048
|
+
SENSITIVE = []
|
|
6049
|
+
include Aws::Structure
|
|
6050
|
+
end
|
|
6051
|
+
|
|
6052
|
+
# @!attribute [rw] delegation_requests
|
|
6053
|
+
# A list of delegation requests that match the specified criteria.
|
|
6054
|
+
# @return [Array<Types::DelegationRequest>]
|
|
6055
|
+
#
|
|
6056
|
+
# @!attribute [rw] marker
|
|
6057
|
+
# When `isTruncated` is `true`, this element is present and contains
|
|
6058
|
+
# the value to use for the `Marker` parameter in a subsequent
|
|
6059
|
+
# pagination request.
|
|
6060
|
+
# @return [String]
|
|
6061
|
+
#
|
|
6062
|
+
# @!attribute [rw] is_truncated
|
|
6063
|
+
# A flag that indicates whether there are more items to return. If
|
|
6064
|
+
# your results were truncated, you can make a subsequent pagination
|
|
6065
|
+
# request using the `Marker` request parameter to retrieve more items.
|
|
6066
|
+
# @return [Boolean]
|
|
6067
|
+
#
|
|
6068
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListDelegationRequestsResponse AWS API Documentation
|
|
6069
|
+
#
|
|
6070
|
+
class ListDelegationRequestsResponse < Struct.new(
|
|
6071
|
+
:delegation_requests,
|
|
6072
|
+
:marker,
|
|
6073
|
+
:is_truncated)
|
|
6074
|
+
SENSITIVE = []
|
|
6075
|
+
include Aws::Structure
|
|
6076
|
+
end
|
|
6077
|
+
|
|
5575
6078
|
# @!attribute [rw] policy_arn
|
|
5576
6079
|
# The Amazon Resource Name (ARN) of the IAM policy for which you want
|
|
5577
6080
|
# the versions.
|
|
@@ -5614,10 +6117,9 @@ module Aws::IAM
|
|
|
5614
6117
|
# @!attribute [rw] policy_usage_filter
|
|
5615
6118
|
# The policy usage method to use for filtering the results.
|
|
5616
6119
|
#
|
|
5617
|
-
# To list only permissions policies,
|
|
5618
|
-
#
|
|
5619
|
-
#
|
|
5620
|
-
# to `PermissionsBoundary`.
|
|
6120
|
+
# To list only permissions policies, set `PolicyUsageFilter` to
|
|
6121
|
+
# `PermissionsPolicy`. To list only the policies used to set
|
|
6122
|
+
# permissions boundaries, set the value to `PermissionsBoundary`.
|
|
5621
6123
|
#
|
|
5622
6124
|
# This parameter is optional. If it is not included, all policies are
|
|
5623
6125
|
# returned.
|
|
@@ -6545,7 +7047,7 @@ module Aws::IAM
|
|
|
6545
7047
|
# details for that service. In the first paragraph, find the service
|
|
6546
7048
|
# prefix. For example, `(service prefix: a4b)`. For more information
|
|
6547
7049
|
# about service namespaces, see [Amazon Web Services service
|
|
6548
|
-
# namespaces][2] in the
|
|
7050
|
+
# namespaces][2] in the *Amazon Web Services General Reference*.
|
|
6549
7051
|
#
|
|
6550
7052
|
#
|
|
6551
7053
|
#
|
|
@@ -6564,7 +7066,7 @@ module Aws::IAM
|
|
|
6564
7066
|
end
|
|
6565
7067
|
|
|
6566
7068
|
# @!attribute [rw] policies_granting_service_access
|
|
6567
|
-
# A
|
|
7069
|
+
# A `ListPoliciesGrantingServiceAccess` object that contains details
|
|
6568
7070
|
# about the permissions policies attached to the specified identity
|
|
6569
7071
|
# (user, group, or role).
|
|
6570
7072
|
# @return [Array<Types::ListPoliciesGrantingServiceAccessEntry>]
|
|
@@ -6631,10 +7133,9 @@ module Aws::IAM
|
|
|
6631
7133
|
# @!attribute [rw] policy_usage_filter
|
|
6632
7134
|
# The policy usage method to use for filtering the results.
|
|
6633
7135
|
#
|
|
6634
|
-
# To list only permissions policies,
|
|
6635
|
-
#
|
|
6636
|
-
#
|
|
6637
|
-
# to `PermissionsBoundary`.
|
|
7136
|
+
# To list only permissions policies, set `PolicyUsageFilter` to
|
|
7137
|
+
# `PermissionsPolicy`. To list only the policies used to set
|
|
7138
|
+
# permissions boundaries, set the value to `PermissionsBoundary`.
|
|
6638
7139
|
#
|
|
6639
7140
|
# This parameter is optional. If it is not included, all policies are
|
|
6640
7141
|
# returned.
|
|
@@ -8686,6 +9187,31 @@ module Aws::IAM
|
|
|
8686
9187
|
include Aws::Structure
|
|
8687
9188
|
end
|
|
8688
9189
|
|
|
9190
|
+
# Contains information about a policy parameter used to customize
|
|
9191
|
+
# delegated permissions.
|
|
9192
|
+
#
|
|
9193
|
+
# @!attribute [rw] name
|
|
9194
|
+
# The name of the policy parameter.
|
|
9195
|
+
# @return [String]
|
|
9196
|
+
#
|
|
9197
|
+
# @!attribute [rw] values
|
|
9198
|
+
# The allowed values for the policy parameter.
|
|
9199
|
+
# @return [Array<String>]
|
|
9200
|
+
#
|
|
9201
|
+
# @!attribute [rw] type
|
|
9202
|
+
# The data type of the policy parameter value.
|
|
9203
|
+
# @return [String]
|
|
9204
|
+
#
|
|
9205
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PolicyParameter AWS API Documentation
|
|
9206
|
+
#
|
|
9207
|
+
class PolicyParameter < Struct.new(
|
|
9208
|
+
:name,
|
|
9209
|
+
:values,
|
|
9210
|
+
:type)
|
|
9211
|
+
SENSITIVE = []
|
|
9212
|
+
include Aws::Structure
|
|
9213
|
+
end
|
|
9214
|
+
|
|
8689
9215
|
# Contains information about a role that a managed policy is attached
|
|
8690
9216
|
# to.
|
|
8691
9217
|
#
|
|
@@ -9108,6 +9634,24 @@ module Aws::IAM
|
|
|
9108
9634
|
include Aws::Structure
|
|
9109
9635
|
end
|
|
9110
9636
|
|
|
9637
|
+
# @!attribute [rw] delegation_request_id
|
|
9638
|
+
# The unique identifier of the delegation request to reject.
|
|
9639
|
+
# @return [String]
|
|
9640
|
+
#
|
|
9641
|
+
# @!attribute [rw] notes
|
|
9642
|
+
# Optional notes explaining the reason for rejecting the delegation
|
|
9643
|
+
# request.
|
|
9644
|
+
# @return [String]
|
|
9645
|
+
#
|
|
9646
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RejectDelegationRequestRequest AWS API Documentation
|
|
9647
|
+
#
|
|
9648
|
+
class RejectDelegationRequestRequest < Struct.new(
|
|
9649
|
+
:delegation_request_id,
|
|
9650
|
+
:notes)
|
|
9651
|
+
SENSITIVE = []
|
|
9652
|
+
include Aws::Structure
|
|
9653
|
+
end
|
|
9654
|
+
|
|
9111
9655
|
# @!attribute [rw] open_id_connect_provider_arn
|
|
9112
9656
|
# The Amazon Resource Name (ARN) of the IAM OIDC provider resource to
|
|
9113
9657
|
# remove the client ID from. You can get a list of OIDC provider ARNs
|
|
@@ -9865,6 +10409,19 @@ module Aws::IAM
|
|
|
9865
10409
|
include Aws::Structure
|
|
9866
10410
|
end
|
|
9867
10411
|
|
|
10412
|
+
# @!attribute [rw] delegation_request_id
|
|
10413
|
+
# The unique identifier of the delegation request for which to send
|
|
10414
|
+
# the token.
|
|
10415
|
+
# @return [String]
|
|
10416
|
+
#
|
|
10417
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SendDelegationTokenRequest AWS API Documentation
|
|
10418
|
+
#
|
|
10419
|
+
class SendDelegationTokenRequest < Struct.new(
|
|
10420
|
+
:delegation_request_id)
|
|
10421
|
+
SENSITIVE = []
|
|
10422
|
+
include Aws::Structure
|
|
10423
|
+
end
|
|
10424
|
+
|
|
9868
10425
|
# Contains information about a server certificate.
|
|
9869
10426
|
#
|
|
9870
10427
|
# This data type is used as a response element in the
|
|
@@ -11746,6 +12303,23 @@ module Aws::IAM
|
|
|
11746
12303
|
include Aws::Structure
|
|
11747
12304
|
end
|
|
11748
12305
|
|
|
12306
|
+
# @!attribute [rw] delegation_request_id
|
|
12307
|
+
# The unique identifier of the delegation request to update.
|
|
12308
|
+
# @return [String]
|
|
12309
|
+
#
|
|
12310
|
+
# @!attribute [rw] notes
|
|
12311
|
+
# Additional notes or comments to add to the delegation request.
|
|
12312
|
+
# @return [String]
|
|
12313
|
+
#
|
|
12314
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateDelegationRequestRequest AWS API Documentation
|
|
12315
|
+
#
|
|
12316
|
+
class UpdateDelegationRequestRequest < Struct.new(
|
|
12317
|
+
:delegation_request_id,
|
|
12318
|
+
:notes)
|
|
12319
|
+
SENSITIVE = []
|
|
12320
|
+
include Aws::Structure
|
|
12321
|
+
end
|
|
12322
|
+
|
|
11749
12323
|
# @!attribute [rw] group_name
|
|
11750
12324
|
# Name of the IAM group to update. If you're changing the name of the
|
|
11751
12325
|
# group, this is the original name.
|