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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iam/client.rb +576 -18
- data/lib/aws-sdk-iam/client_api.rb +231 -0
- data/lib/aws-sdk-iam/errors.rb +38 -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 +571 -26
- data/lib/aws-sdk-iam.rb +2 -2
- data/sig/client.rbs +93 -0
- data/sig/errors.rbs +6 -0
- data/sig/types.rbs +111 -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.
|
|
@@ -707,30 +731,89 @@ module Aws::IAM
|
|
|
707
731
|
end
|
|
708
732
|
|
|
709
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.
|
|
710
741
|
# @return [String]
|
|
711
742
|
#
|
|
712
743
|
# @!attribute [rw] description
|
|
744
|
+
# A description of the delegation request.
|
|
713
745
|
# @return [String]
|
|
714
746
|
#
|
|
715
747
|
# @!attribute [rw] permissions
|
|
748
|
+
# The permissions to be delegated in this delegation request.
|
|
716
749
|
# @return [Types::DelegationPermission]
|
|
717
750
|
#
|
|
718
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.
|
|
719
762
|
# @return [String]
|
|
720
763
|
#
|
|
721
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.
|
|
722
773
|
# @return [String]
|
|
723
774
|
#
|
|
724
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.
|
|
725
780
|
# @return [String]
|
|
726
781
|
#
|
|
727
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
|
|
728
793
|
# @return [String]
|
|
729
794
|
#
|
|
730
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
|
|
731
805
|
# @return [Integer]
|
|
732
806
|
#
|
|
733
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.
|
|
734
817
|
# @return [Boolean]
|
|
735
818
|
#
|
|
736
819
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateDelegationRequestRequest AWS API Documentation
|
|
@@ -750,9 +833,18 @@ module Aws::IAM
|
|
|
750
833
|
end
|
|
751
834
|
|
|
752
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.
|
|
753
844
|
# @return [String]
|
|
754
845
|
#
|
|
755
846
|
# @!attribute [rw] delegation_request_id
|
|
847
|
+
# The unique identifier for the created delegation request.
|
|
756
848
|
# @return [String]
|
|
757
849
|
#
|
|
758
850
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateDelegationRequestResponse AWS API Documentation
|
|
@@ -1972,7 +2064,80 @@ module Aws::IAM
|
|
|
1972
2064
|
include Aws::Structure
|
|
1973
2065
|
end
|
|
1974
2066
|
|
|
2067
|
+
# Contains information about the permissions being delegated in a
|
|
2068
|
+
# delegation request.
|
|
2069
|
+
#
|
|
1975
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
|
|
1976
2141
|
# The Amazon Resource Name (ARN). ARNs are unique identifiers for
|
|
1977
2142
|
# Amazon Web Services resources.
|
|
1978
2143
|
#
|
|
@@ -1984,14 +2149,90 @@ module Aws::IAM
|
|
|
1984
2149
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
|
1985
2150
|
# @return [String]
|
|
1986
2151
|
#
|
|
1987
|
-
# @!attribute [rw]
|
|
1988
|
-
#
|
|
2152
|
+
# @!attribute [rw] state
|
|
2153
|
+
# The state of this delegation request.
|
|
1989
2154
|
#
|
|
1990
|
-
#
|
|
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]
|
|
1991
2159
|
#
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
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)
|
|
1995
2236
|
SENSITIVE = []
|
|
1996
2237
|
include Aws::Structure
|
|
1997
2238
|
end
|
|
@@ -2904,6 +3145,22 @@ module Aws::IAM
|
|
|
2904
3145
|
include Aws::Structure
|
|
2905
3146
|
end
|
|
2906
3147
|
|
|
3148
|
+
# @!attribute [rw] issuer_identifier
|
|
3149
|
+
# A unique issuer URL for your Amazon Web Services account that hosts
|
|
3150
|
+
# the OpenID Connect (OIDC) discovery endpoints at
|
|
3151
|
+
# `/.well-known/openid-configuration and /.well-known/jwks.json`. The
|
|
3152
|
+
# OpenID Connect (OIDC) discovery endpoints contain verification keys
|
|
3153
|
+
# and metadata necessary for token verification.
|
|
3154
|
+
# @return [String]
|
|
3155
|
+
#
|
|
3156
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EnableOutboundWebIdentityFederationResponse AWS API Documentation
|
|
3157
|
+
#
|
|
3158
|
+
class EnableOutboundWebIdentityFederationResponse < Struct.new(
|
|
3159
|
+
:issuer_identifier)
|
|
3160
|
+
SENSITIVE = []
|
|
3161
|
+
include Aws::Structure
|
|
3162
|
+
end
|
|
3163
|
+
|
|
2907
3164
|
# The request was rejected because it attempted to create a resource
|
|
2908
3165
|
# that already exists.
|
|
2909
3166
|
#
|
|
@@ -3160,6 +3417,38 @@ module Aws::IAM
|
|
|
3160
3417
|
include Aws::Structure
|
|
3161
3418
|
end
|
|
3162
3419
|
|
|
3420
|
+
# The request failed because outbound identity federation is already
|
|
3421
|
+
# disabled for your Amazon Web Services account. You cannot disable the
|
|
3422
|
+
# feature multiple times
|
|
3423
|
+
#
|
|
3424
|
+
# @!attribute [rw] message
|
|
3425
|
+
# @return [String]
|
|
3426
|
+
#
|
|
3427
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/FeatureDisabledException AWS API Documentation
|
|
3428
|
+
#
|
|
3429
|
+
class FeatureDisabledException < Struct.new(
|
|
3430
|
+
:message)
|
|
3431
|
+
SENSITIVE = []
|
|
3432
|
+
include Aws::Structure
|
|
3433
|
+
end
|
|
3434
|
+
|
|
3435
|
+
# The request failed because outbound identity federation is already
|
|
3436
|
+
# enabled for your Amazon Web Services account. You cannot enable the
|
|
3437
|
+
# feature multiple times. To fetch the current configuration (including
|
|
3438
|
+
# the unique issuer URL), use the `GetOutboundWebIdentityFederationInfo`
|
|
3439
|
+
# operation.
|
|
3440
|
+
#
|
|
3441
|
+
# @!attribute [rw] message
|
|
3442
|
+
# @return [String]
|
|
3443
|
+
#
|
|
3444
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/FeatureEnabledException AWS API Documentation
|
|
3445
|
+
#
|
|
3446
|
+
class FeatureEnabledException < Struct.new(
|
|
3447
|
+
:message)
|
|
3448
|
+
SENSITIVE = []
|
|
3449
|
+
include Aws::Structure
|
|
3450
|
+
end
|
|
3451
|
+
|
|
3163
3452
|
# Contains the response to a successful [GenerateCredentialReport][1]
|
|
3164
3453
|
# request.
|
|
3165
3454
|
#
|
|
@@ -3588,6 +3877,80 @@ module Aws::IAM
|
|
|
3588
3877
|
include Aws::Structure
|
|
3589
3878
|
end
|
|
3590
3879
|
|
|
3880
|
+
# @!attribute [rw] delegation_request_id
|
|
3881
|
+
# The unique identifier of the delegation request to retrieve.
|
|
3882
|
+
# @return [String]
|
|
3883
|
+
#
|
|
3884
|
+
# @!attribute [rw] delegation_permission_check
|
|
3885
|
+
# Specifies whether to perform a permission check for the delegation
|
|
3886
|
+
# request.
|
|
3887
|
+
#
|
|
3888
|
+
# If set to true, the `GetDelegationRequest` API call will start a
|
|
3889
|
+
# permission check process. This process calculates whether the caller
|
|
3890
|
+
# has sufficient permissions to cover the asks from this delegation
|
|
3891
|
+
# request.
|
|
3892
|
+
#
|
|
3893
|
+
# Setting this parameter to true does not guarantee an answer in the
|
|
3894
|
+
# response. See the `PermissionCheckStatus` and the
|
|
3895
|
+
# `PermissionCheckResult` response attributes for further details.
|
|
3896
|
+
# @return [Boolean]
|
|
3897
|
+
#
|
|
3898
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetDelegationRequestRequest AWS API Documentation
|
|
3899
|
+
#
|
|
3900
|
+
class GetDelegationRequestRequest < Struct.new(
|
|
3901
|
+
:delegation_request_id,
|
|
3902
|
+
:delegation_permission_check)
|
|
3903
|
+
SENSITIVE = []
|
|
3904
|
+
include Aws::Structure
|
|
3905
|
+
end
|
|
3906
|
+
|
|
3907
|
+
# @!attribute [rw] delegation_request
|
|
3908
|
+
# The delegation request object containing all details about the
|
|
3909
|
+
# request.
|
|
3910
|
+
# @return [Types::DelegationRequest]
|
|
3911
|
+
#
|
|
3912
|
+
# @!attribute [rw] permission_check_status
|
|
3913
|
+
# The status of the permission check for the delegation request.
|
|
3914
|
+
#
|
|
3915
|
+
# This value indicates the status of the process to check whether the
|
|
3916
|
+
# caller has sufficient permissions to cover the requested actions in
|
|
3917
|
+
# the delegation request. Since this is an asynchronous process, there
|
|
3918
|
+
# are three potential values:
|
|
3919
|
+
#
|
|
3920
|
+
# * `IN_PROGRESS` : The permission check process has started.
|
|
3921
|
+
#
|
|
3922
|
+
# * `COMPLETED` : The permission check process has completed. The
|
|
3923
|
+
# `PermissionCheckResult` will include the result.
|
|
3924
|
+
#
|
|
3925
|
+
# * `FAILED` : The permission check process has failed.
|
|
3926
|
+
# @return [String]
|
|
3927
|
+
#
|
|
3928
|
+
# @!attribute [rw] permission_check_result
|
|
3929
|
+
# The result of the permission check, indicating whether the caller
|
|
3930
|
+
# has sufficient permissions to cover the requested permissions. This
|
|
3931
|
+
# is an approximate result.
|
|
3932
|
+
#
|
|
3933
|
+
# * `ALLOWED` : The caller has sufficient permissions cover all the
|
|
3934
|
+
# requested permissions.
|
|
3935
|
+
#
|
|
3936
|
+
# * `DENIED` : The caller does not have sufficient permissions to
|
|
3937
|
+
# cover all the requested permissions.
|
|
3938
|
+
#
|
|
3939
|
+
# * `UNSURE` : It is not possible to determine whether the caller has
|
|
3940
|
+
# all the permissions needed. This output is most likely for cases
|
|
3941
|
+
# when the caller has permissions with conditions.
|
|
3942
|
+
# @return [String]
|
|
3943
|
+
#
|
|
3944
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetDelegationRequestResponse AWS API Documentation
|
|
3945
|
+
#
|
|
3946
|
+
class GetDelegationRequestResponse < Struct.new(
|
|
3947
|
+
:delegation_request,
|
|
3948
|
+
:permission_check_status,
|
|
3949
|
+
:permission_check_result)
|
|
3950
|
+
SENSITIVE = []
|
|
3951
|
+
include Aws::Structure
|
|
3952
|
+
end
|
|
3953
|
+
|
|
3591
3954
|
# @!attribute [rw] group_name
|
|
3592
3955
|
# The name of the group the policy is associated with.
|
|
3593
3956
|
#
|
|
@@ -3740,6 +4103,52 @@ module Aws::IAM
|
|
|
3740
4103
|
include Aws::Structure
|
|
3741
4104
|
end
|
|
3742
4105
|
|
|
4106
|
+
# @!attribute [rw] entity_arn
|
|
4107
|
+
# Arn of the entity to be summarized. At this time, the only supported
|
|
4108
|
+
# entity type is `delegation-request`
|
|
4109
|
+
# @return [String]
|
|
4110
|
+
#
|
|
4111
|
+
# @!attribute [rw] locale
|
|
4112
|
+
# A string representing the locale to use for the summary generation.
|
|
4113
|
+
# The supported locale strings are based on the [ Supported languages
|
|
4114
|
+
# of the Amazon Web Services Management Console
|
|
4115
|
+
# ](/awsconsolehelpdocs/latest/gsg/change-language.html#supported-languages).
|
|
4116
|
+
# @return [String]
|
|
4117
|
+
#
|
|
4118
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetHumanReadableSummaryRequest AWS API Documentation
|
|
4119
|
+
#
|
|
4120
|
+
class GetHumanReadableSummaryRequest < Struct.new(
|
|
4121
|
+
:entity_arn,
|
|
4122
|
+
:locale)
|
|
4123
|
+
SENSITIVE = []
|
|
4124
|
+
include Aws::Structure
|
|
4125
|
+
end
|
|
4126
|
+
|
|
4127
|
+
# @!attribute [rw] summary_content
|
|
4128
|
+
# Summary content in the specified locale. Summary content is
|
|
4129
|
+
# non-empty only if the `SummaryState` is `AVAILABLE`.
|
|
4130
|
+
# @return [String]
|
|
4131
|
+
#
|
|
4132
|
+
# @!attribute [rw] locale
|
|
4133
|
+
# The locale that this response was generated for. This maps to the
|
|
4134
|
+
# input locale.
|
|
4135
|
+
# @return [String]
|
|
4136
|
+
#
|
|
4137
|
+
# @!attribute [rw] summary_state
|
|
4138
|
+
# State of summary generation. This generation process is asynchronous
|
|
4139
|
+
# and this attribute indicates the state of the generation process.
|
|
4140
|
+
# @return [String]
|
|
4141
|
+
#
|
|
4142
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetHumanReadableSummaryResponse AWS API Documentation
|
|
4143
|
+
#
|
|
4144
|
+
class GetHumanReadableSummaryResponse < Struct.new(
|
|
4145
|
+
:summary_content,
|
|
4146
|
+
:locale,
|
|
4147
|
+
:summary_state)
|
|
4148
|
+
SENSITIVE = []
|
|
4149
|
+
include Aws::Structure
|
|
4150
|
+
end
|
|
4151
|
+
|
|
3743
4152
|
# @!attribute [rw] instance_profile_name
|
|
3744
4153
|
# The name of the instance profile to get information about.
|
|
3745
4154
|
#
|
|
@@ -4024,7 +4433,7 @@ module Aws::IAM
|
|
|
4024
4433
|
# @return [String]
|
|
4025
4434
|
#
|
|
4026
4435
|
# @!attribute [rw] job_creation_date
|
|
4027
|
-
# The date and time, in
|
|
4436
|
+
# The date and time, in [ISO 8601 date-time format][1], when the
|
|
4028
4437
|
# report job was created.
|
|
4029
4438
|
#
|
|
4030
4439
|
#
|
|
@@ -4033,7 +4442,7 @@ module Aws::IAM
|
|
|
4033
4442
|
# @return [Time]
|
|
4034
4443
|
#
|
|
4035
4444
|
# @!attribute [rw] job_completion_date
|
|
4036
|
-
# The date and time, in
|
|
4445
|
+
# The date and time, in [ISO 8601 date-time format][1], when the
|
|
4037
4446
|
# generated report job was completed or failed.
|
|
4038
4447
|
#
|
|
4039
4448
|
# This field is null if the job is still in progress, as indicated by
|
|
@@ -4055,7 +4464,7 @@ module Aws::IAM
|
|
|
4055
4464
|
# @return [Integer]
|
|
4056
4465
|
#
|
|
4057
4466
|
# @!attribute [rw] access_details
|
|
4058
|
-
# An
|
|
4467
|
+
# An object that contains details about the most recent attempt to
|
|
4059
4468
|
# access the service.
|
|
4060
4469
|
# @return [Array<Types::AccessDetail>]
|
|
4061
4470
|
#
|
|
@@ -4106,6 +4515,30 @@ module Aws::IAM
|
|
|
4106
4515
|
include Aws::Structure
|
|
4107
4516
|
end
|
|
4108
4517
|
|
|
4518
|
+
# @!attribute [rw] issuer_identifier
|
|
4519
|
+
# A unique issuer URL for your Amazon Web Services account that hosts
|
|
4520
|
+
# the OpenID Connect (OIDC) discovery endpoints at
|
|
4521
|
+
# `/.well-known/openid-configuration and /.well-known/jwks.json`. The
|
|
4522
|
+
# OpenID Connect (OIDC) discovery endpoints contain verification keys
|
|
4523
|
+
# and metadata necessary for token verification.
|
|
4524
|
+
# @return [String]
|
|
4525
|
+
#
|
|
4526
|
+
# @!attribute [rw] jwt_vending_enabled
|
|
4527
|
+
# Indicates whether outbound identity federation is currently enabled
|
|
4528
|
+
# for your Amazon Web Services account. When true, IAM principals in
|
|
4529
|
+
# the account can call the `GetWebIdentityToken` API to obtain JSON
|
|
4530
|
+
# Web Tokens (JWTs) for authentication with external services.
|
|
4531
|
+
# @return [Boolean]
|
|
4532
|
+
#
|
|
4533
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetOutboundWebIdentityFederationInfoResponse AWS API Documentation
|
|
4534
|
+
#
|
|
4535
|
+
class GetOutboundWebIdentityFederationInfoResponse < Struct.new(
|
|
4536
|
+
:issuer_identifier,
|
|
4537
|
+
:jwt_vending_enabled)
|
|
4538
|
+
SENSITIVE = []
|
|
4539
|
+
include Aws::Structure
|
|
4540
|
+
end
|
|
4541
|
+
|
|
4109
4542
|
# @!attribute [rw] policy_arn
|
|
4110
4543
|
# The Amazon Resource Name (ARN) of the managed policy that you want
|
|
4111
4544
|
# information about.
|
|
@@ -4532,7 +4965,7 @@ module Aws::IAM
|
|
|
4532
4965
|
# @return [String]
|
|
4533
4966
|
#
|
|
4534
4967
|
# @!attribute [rw] job_creation_date
|
|
4535
|
-
# The date and time, in
|
|
4968
|
+
# The date and time, in [ISO 8601 date-time format][1], when the
|
|
4536
4969
|
# report job was created.
|
|
4537
4970
|
#
|
|
4538
4971
|
#
|
|
@@ -4541,12 +4974,12 @@ module Aws::IAM
|
|
|
4541
4974
|
# @return [Time]
|
|
4542
4975
|
#
|
|
4543
4976
|
# @!attribute [rw] services_last_accessed
|
|
4544
|
-
# A
|
|
4977
|
+
# A `ServiceLastAccessed` object that contains details about the most
|
|
4545
4978
|
# recent attempt to access the service.
|
|
4546
4979
|
# @return [Array<Types::ServiceLastAccessed>]
|
|
4547
4980
|
#
|
|
4548
4981
|
# @!attribute [rw] job_completion_date
|
|
4549
|
-
# The date and time, in
|
|
4982
|
+
# The date and time, in [ISO 8601 date-time format][1], when the
|
|
4550
4983
|
# generated report job was completed or failed.
|
|
4551
4984
|
#
|
|
4552
4985
|
# This field is null if the job is still in progress, as indicated by
|
|
@@ -4609,7 +5042,7 @@ module Aws::IAM
|
|
|
4609
5042
|
# details for that service. In the first paragraph, find the service
|
|
4610
5043
|
# prefix. For example, `(service prefix: a4b)`. For more information
|
|
4611
5044
|
# about service namespaces, see [Amazon Web Services service
|
|
4612
|
-
# namespaces][2] in the
|
|
5045
|
+
# namespaces][2] in the *Amazon Web Services General Reference*.
|
|
4613
5046
|
#
|
|
4614
5047
|
#
|
|
4615
5048
|
#
|
|
@@ -4653,7 +5086,7 @@ module Aws::IAM
|
|
|
4653
5086
|
# @return [String]
|
|
4654
5087
|
#
|
|
4655
5088
|
# @!attribute [rw] job_creation_date
|
|
4656
|
-
# The date and time, in
|
|
5089
|
+
# The date and time, in [ISO 8601 date-time format][1], when the
|
|
4657
5090
|
# report job was created.
|
|
4658
5091
|
#
|
|
4659
5092
|
#
|
|
@@ -4662,7 +5095,7 @@ module Aws::IAM
|
|
|
4662
5095
|
# @return [Time]
|
|
4663
5096
|
#
|
|
4664
5097
|
# @!attribute [rw] job_completion_date
|
|
4665
|
-
# The date and time, in
|
|
5098
|
+
# The date and time, in [ISO 8601 date-time format][1], when the
|
|
4666
5099
|
# generated report job was completed or failed.
|
|
4667
5100
|
#
|
|
4668
5101
|
# This field is null if the job is still in progress, as indicated by
|
|
@@ -4674,7 +5107,7 @@ module Aws::IAM
|
|
|
4674
5107
|
# @return [Time]
|
|
4675
5108
|
#
|
|
4676
5109
|
# @!attribute [rw] entity_details_list
|
|
4677
|
-
# An
|
|
5110
|
+
# An `EntityDetailsList` object that contains details about when an
|
|
4678
5111
|
# IAM entity (user or role) used group or policy permissions in an
|
|
4679
5112
|
# attempt to access the specified Amazon Web Services service.
|
|
4680
5113
|
# @return [Array<Types::EntityDetails>]
|
|
@@ -5654,6 +6087,66 @@ module Aws::IAM
|
|
|
5654
6087
|
include Aws::Structure
|
|
5655
6088
|
end
|
|
5656
6089
|
|
|
6090
|
+
# @!attribute [rw] owner_id
|
|
6091
|
+
# The owner ID to filter delegation requests by.
|
|
6092
|
+
# @return [String]
|
|
6093
|
+
#
|
|
6094
|
+
# @!attribute [rw] marker
|
|
6095
|
+
# Use this parameter only when paginating results and only after you
|
|
6096
|
+
# receive a response indicating that the results are truncated. Set it
|
|
6097
|
+
# to the value of the `Marker` element in the response that you
|
|
6098
|
+
# received to indicate where the next call should start.
|
|
6099
|
+
# @return [String]
|
|
6100
|
+
#
|
|
6101
|
+
# @!attribute [rw] max_items
|
|
6102
|
+
# Use this only when paginating results to indicate the maximum number
|
|
6103
|
+
# of items you want in the response. If additional items exist beyond
|
|
6104
|
+
# the maximum you specify, the `IsTruncated` response element is
|
|
6105
|
+
# `true`.
|
|
6106
|
+
#
|
|
6107
|
+
# If you do not include this parameter, the number of items defaults
|
|
6108
|
+
# to 100. Note that IAM may return fewer results, even when there are
|
|
6109
|
+
# more results available. In that case, the `IsTruncated` response
|
|
6110
|
+
# element returns `true`, and `Marker` contains a value to include in
|
|
6111
|
+
# the subsequent call that tells the service where to continue from.
|
|
6112
|
+
# @return [Integer]
|
|
6113
|
+
#
|
|
6114
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListDelegationRequestsRequest AWS API Documentation
|
|
6115
|
+
#
|
|
6116
|
+
class ListDelegationRequestsRequest < Struct.new(
|
|
6117
|
+
:owner_id,
|
|
6118
|
+
:marker,
|
|
6119
|
+
:max_items)
|
|
6120
|
+
SENSITIVE = []
|
|
6121
|
+
include Aws::Structure
|
|
6122
|
+
end
|
|
6123
|
+
|
|
6124
|
+
# @!attribute [rw] delegation_requests
|
|
6125
|
+
# A list of delegation requests that match the specified criteria.
|
|
6126
|
+
# @return [Array<Types::DelegationRequest>]
|
|
6127
|
+
#
|
|
6128
|
+
# @!attribute [rw] marker
|
|
6129
|
+
# When `isTruncated` is `true`, this element is present and contains
|
|
6130
|
+
# the value to use for the `Marker` parameter in a subsequent
|
|
6131
|
+
# pagination request.
|
|
6132
|
+
# @return [String]
|
|
6133
|
+
#
|
|
6134
|
+
# @!attribute [rw] is_truncated
|
|
6135
|
+
# A flag that indicates whether there are more items to return. If
|
|
6136
|
+
# your results were truncated, you can make a subsequent pagination
|
|
6137
|
+
# request using the `Marker` request parameter to retrieve more items.
|
|
6138
|
+
# @return [Boolean]
|
|
6139
|
+
#
|
|
6140
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListDelegationRequestsResponse AWS API Documentation
|
|
6141
|
+
#
|
|
6142
|
+
class ListDelegationRequestsResponse < Struct.new(
|
|
6143
|
+
:delegation_requests,
|
|
6144
|
+
:marker,
|
|
6145
|
+
:is_truncated)
|
|
6146
|
+
SENSITIVE = []
|
|
6147
|
+
include Aws::Structure
|
|
6148
|
+
end
|
|
6149
|
+
|
|
5657
6150
|
# @!attribute [rw] policy_arn
|
|
5658
6151
|
# The Amazon Resource Name (ARN) of the IAM policy for which you want
|
|
5659
6152
|
# the versions.
|
|
@@ -5696,10 +6189,9 @@ module Aws::IAM
|
|
|
5696
6189
|
# @!attribute [rw] policy_usage_filter
|
|
5697
6190
|
# The policy usage method to use for filtering the results.
|
|
5698
6191
|
#
|
|
5699
|
-
# To list only permissions policies,
|
|
5700
|
-
#
|
|
5701
|
-
#
|
|
5702
|
-
# to `PermissionsBoundary`.
|
|
6192
|
+
# To list only permissions policies, set `PolicyUsageFilter` to
|
|
6193
|
+
# `PermissionsPolicy`. To list only the policies used to set
|
|
6194
|
+
# permissions boundaries, set the value to `PermissionsBoundary`.
|
|
5703
6195
|
#
|
|
5704
6196
|
# This parameter is optional. If it is not included, all policies are
|
|
5705
6197
|
# returned.
|
|
@@ -6627,7 +7119,7 @@ module Aws::IAM
|
|
|
6627
7119
|
# details for that service. In the first paragraph, find the service
|
|
6628
7120
|
# prefix. For example, `(service prefix: a4b)`. For more information
|
|
6629
7121
|
# about service namespaces, see [Amazon Web Services service
|
|
6630
|
-
# namespaces][2] in the
|
|
7122
|
+
# namespaces][2] in the *Amazon Web Services General Reference*.
|
|
6631
7123
|
#
|
|
6632
7124
|
#
|
|
6633
7125
|
#
|
|
@@ -6646,7 +7138,7 @@ module Aws::IAM
|
|
|
6646
7138
|
end
|
|
6647
7139
|
|
|
6648
7140
|
# @!attribute [rw] policies_granting_service_access
|
|
6649
|
-
# A
|
|
7141
|
+
# A `ListPoliciesGrantingServiceAccess` object that contains details
|
|
6650
7142
|
# about the permissions policies attached to the specified identity
|
|
6651
7143
|
# (user, group, or role).
|
|
6652
7144
|
# @return [Array<Types::ListPoliciesGrantingServiceAccessEntry>]
|
|
@@ -6713,10 +7205,9 @@ module Aws::IAM
|
|
|
6713
7205
|
# @!attribute [rw] policy_usage_filter
|
|
6714
7206
|
# The policy usage method to use for filtering the results.
|
|
6715
7207
|
#
|
|
6716
|
-
# To list only permissions policies,
|
|
6717
|
-
#
|
|
6718
|
-
#
|
|
6719
|
-
# to `PermissionsBoundary`.
|
|
7208
|
+
# To list only permissions policies, set `PolicyUsageFilter` to
|
|
7209
|
+
# `PermissionsPolicy`. To list only the policies used to set
|
|
7210
|
+
# permissions boundaries, set the value to `PermissionsBoundary`.
|
|
6720
7211
|
#
|
|
6721
7212
|
# This parameter is optional. If it is not included, all policies are
|
|
6722
7213
|
# returned.
|
|
@@ -8768,13 +9259,19 @@ module Aws::IAM
|
|
|
8768
9259
|
include Aws::Structure
|
|
8769
9260
|
end
|
|
8770
9261
|
|
|
9262
|
+
# Contains information about a policy parameter used to customize
|
|
9263
|
+
# delegated permissions.
|
|
9264
|
+
#
|
|
8771
9265
|
# @!attribute [rw] name
|
|
9266
|
+
# The name of the policy parameter.
|
|
8772
9267
|
# @return [String]
|
|
8773
9268
|
#
|
|
8774
9269
|
# @!attribute [rw] values
|
|
9270
|
+
# The allowed values for the policy parameter.
|
|
8775
9271
|
# @return [Array<String>]
|
|
8776
9272
|
#
|
|
8777
9273
|
# @!attribute [rw] type
|
|
9274
|
+
# The data type of the policy parameter value.
|
|
8778
9275
|
# @return [String]
|
|
8779
9276
|
#
|
|
8780
9277
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PolicyParameter AWS API Documentation
|
|
@@ -9209,6 +9706,24 @@ module Aws::IAM
|
|
|
9209
9706
|
include Aws::Structure
|
|
9210
9707
|
end
|
|
9211
9708
|
|
|
9709
|
+
# @!attribute [rw] delegation_request_id
|
|
9710
|
+
# The unique identifier of the delegation request to reject.
|
|
9711
|
+
# @return [String]
|
|
9712
|
+
#
|
|
9713
|
+
# @!attribute [rw] notes
|
|
9714
|
+
# Optional notes explaining the reason for rejecting the delegation
|
|
9715
|
+
# request.
|
|
9716
|
+
# @return [String]
|
|
9717
|
+
#
|
|
9718
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RejectDelegationRequestRequest AWS API Documentation
|
|
9719
|
+
#
|
|
9720
|
+
class RejectDelegationRequestRequest < Struct.new(
|
|
9721
|
+
:delegation_request_id,
|
|
9722
|
+
:notes)
|
|
9723
|
+
SENSITIVE = []
|
|
9724
|
+
include Aws::Structure
|
|
9725
|
+
end
|
|
9726
|
+
|
|
9212
9727
|
# @!attribute [rw] open_id_connect_provider_arn
|
|
9213
9728
|
# The Amazon Resource Name (ARN) of the IAM OIDC provider resource to
|
|
9214
9729
|
# remove the client ID from. You can get a list of OIDC provider ARNs
|
|
@@ -9966,6 +10481,19 @@ module Aws::IAM
|
|
|
9966
10481
|
include Aws::Structure
|
|
9967
10482
|
end
|
|
9968
10483
|
|
|
10484
|
+
# @!attribute [rw] delegation_request_id
|
|
10485
|
+
# The unique identifier of the delegation request for which to send
|
|
10486
|
+
# the token.
|
|
10487
|
+
# @return [String]
|
|
10488
|
+
#
|
|
10489
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SendDelegationTokenRequest AWS API Documentation
|
|
10490
|
+
#
|
|
10491
|
+
class SendDelegationTokenRequest < Struct.new(
|
|
10492
|
+
:delegation_request_id)
|
|
10493
|
+
SENSITIVE = []
|
|
10494
|
+
include Aws::Structure
|
|
10495
|
+
end
|
|
10496
|
+
|
|
9969
10497
|
# Contains information about a server certificate.
|
|
9970
10498
|
#
|
|
9971
10499
|
# This data type is used as a response element in the
|
|
@@ -11847,6 +12375,23 @@ module Aws::IAM
|
|
|
11847
12375
|
include Aws::Structure
|
|
11848
12376
|
end
|
|
11849
12377
|
|
|
12378
|
+
# @!attribute [rw] delegation_request_id
|
|
12379
|
+
# The unique identifier of the delegation request to update.
|
|
12380
|
+
# @return [String]
|
|
12381
|
+
#
|
|
12382
|
+
# @!attribute [rw] notes
|
|
12383
|
+
# Additional notes or comments to add to the delegation request.
|
|
12384
|
+
# @return [String]
|
|
12385
|
+
#
|
|
12386
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateDelegationRequestRequest AWS API Documentation
|
|
12387
|
+
#
|
|
12388
|
+
class UpdateDelegationRequestRequest < Struct.new(
|
|
12389
|
+
:delegation_request_id,
|
|
12390
|
+
:notes)
|
|
12391
|
+
SENSITIVE = []
|
|
12392
|
+
include Aws::Structure
|
|
12393
|
+
end
|
|
12394
|
+
|
|
11850
12395
|
# @!attribute [rw] group_name
|
|
11851
12396
|
# Name of the IAM group to update. If you're changing the name of the
|
|
11852
12397
|
# group, this is the original name.
|