aws-sdk-iam 1.133.0 → 1.134.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iam/client.rb +510 -18
- data/lib/aws-sdk-iam/client_api.rb +185 -0
- data/lib/aws-sdk-iam/policy.rb +9 -12
- data/lib/aws-sdk-iam/resource.rb +3 -4
- data/lib/aws-sdk-iam/types.rb +499 -26
- data/lib/aws-sdk-iam.rb +2 -2
- data/sig/client.rbs +72 -0
- data/sig/types.rbs +90 -0
- metadata +1 -1
data/lib/aws-sdk-iam/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
|
|
@@ -3588,6 +3829,80 @@ module Aws::IAM
|
|
|
3588
3829
|
include Aws::Structure
|
|
3589
3830
|
end
|
|
3590
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
|
+
|
|
3591
3906
|
# @!attribute [rw] group_name
|
|
3592
3907
|
# The name of the group the policy is associated with.
|
|
3593
3908
|
#
|
|
@@ -3740,6 +4055,52 @@ module Aws::IAM
|
|
|
3740
4055
|
include Aws::Structure
|
|
3741
4056
|
end
|
|
3742
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
|
+
|
|
3743
4104
|
# @!attribute [rw] instance_profile_name
|
|
3744
4105
|
# The name of the instance profile to get information about.
|
|
3745
4106
|
#
|
|
@@ -4024,7 +4385,7 @@ module Aws::IAM
|
|
|
4024
4385
|
# @return [String]
|
|
4025
4386
|
#
|
|
4026
4387
|
# @!attribute [rw] job_creation_date
|
|
4027
|
-
# The date and time, in
|
|
4388
|
+
# The date and time, in [ISO 8601 date-time format][1], when the
|
|
4028
4389
|
# report job was created.
|
|
4029
4390
|
#
|
|
4030
4391
|
#
|
|
@@ -4033,7 +4394,7 @@ module Aws::IAM
|
|
|
4033
4394
|
# @return [Time]
|
|
4034
4395
|
#
|
|
4035
4396
|
# @!attribute [rw] job_completion_date
|
|
4036
|
-
# The date and time, in
|
|
4397
|
+
# The date and time, in [ISO 8601 date-time format][1], when the
|
|
4037
4398
|
# generated report job was completed or failed.
|
|
4038
4399
|
#
|
|
4039
4400
|
# This field is null if the job is still in progress, as indicated by
|
|
@@ -4055,7 +4416,7 @@ module Aws::IAM
|
|
|
4055
4416
|
# @return [Integer]
|
|
4056
4417
|
#
|
|
4057
4418
|
# @!attribute [rw] access_details
|
|
4058
|
-
# An
|
|
4419
|
+
# An object that contains details about the most recent attempt to
|
|
4059
4420
|
# access the service.
|
|
4060
4421
|
# @return [Array<Types::AccessDetail>]
|
|
4061
4422
|
#
|
|
@@ -4532,7 +4893,7 @@ module Aws::IAM
|
|
|
4532
4893
|
# @return [String]
|
|
4533
4894
|
#
|
|
4534
4895
|
# @!attribute [rw] job_creation_date
|
|
4535
|
-
# The date and time, in
|
|
4896
|
+
# The date and time, in [ISO 8601 date-time format][1], when the
|
|
4536
4897
|
# report job was created.
|
|
4537
4898
|
#
|
|
4538
4899
|
#
|
|
@@ -4541,12 +4902,12 @@ module Aws::IAM
|
|
|
4541
4902
|
# @return [Time]
|
|
4542
4903
|
#
|
|
4543
4904
|
# @!attribute [rw] services_last_accessed
|
|
4544
|
-
# A
|
|
4905
|
+
# A `ServiceLastAccessed` object that contains details about the most
|
|
4545
4906
|
# recent attempt to access the service.
|
|
4546
4907
|
# @return [Array<Types::ServiceLastAccessed>]
|
|
4547
4908
|
#
|
|
4548
4909
|
# @!attribute [rw] job_completion_date
|
|
4549
|
-
# The date and time, in
|
|
4910
|
+
# The date and time, in [ISO 8601 date-time format][1], when the
|
|
4550
4911
|
# generated report job was completed or failed.
|
|
4551
4912
|
#
|
|
4552
4913
|
# This field is null if the job is still in progress, as indicated by
|
|
@@ -4609,7 +4970,7 @@ module Aws::IAM
|
|
|
4609
4970
|
# details for that service. In the first paragraph, find the service
|
|
4610
4971
|
# prefix. For example, `(service prefix: a4b)`. For more information
|
|
4611
4972
|
# about service namespaces, see [Amazon Web Services service
|
|
4612
|
-
# namespaces][2] in the
|
|
4973
|
+
# namespaces][2] in the *Amazon Web Services General Reference*.
|
|
4613
4974
|
#
|
|
4614
4975
|
#
|
|
4615
4976
|
#
|
|
@@ -4653,7 +5014,7 @@ module Aws::IAM
|
|
|
4653
5014
|
# @return [String]
|
|
4654
5015
|
#
|
|
4655
5016
|
# @!attribute [rw] job_creation_date
|
|
4656
|
-
# The date and time, in
|
|
5017
|
+
# The date and time, in [ISO 8601 date-time format][1], when the
|
|
4657
5018
|
# report job was created.
|
|
4658
5019
|
#
|
|
4659
5020
|
#
|
|
@@ -4662,7 +5023,7 @@ module Aws::IAM
|
|
|
4662
5023
|
# @return [Time]
|
|
4663
5024
|
#
|
|
4664
5025
|
# @!attribute [rw] job_completion_date
|
|
4665
|
-
# The date and time, in
|
|
5026
|
+
# The date and time, in [ISO 8601 date-time format][1], when the
|
|
4666
5027
|
# generated report job was completed or failed.
|
|
4667
5028
|
#
|
|
4668
5029
|
# This field is null if the job is still in progress, as indicated by
|
|
@@ -4674,7 +5035,7 @@ module Aws::IAM
|
|
|
4674
5035
|
# @return [Time]
|
|
4675
5036
|
#
|
|
4676
5037
|
# @!attribute [rw] entity_details_list
|
|
4677
|
-
# An
|
|
5038
|
+
# An `EntityDetailsList` object that contains details about when an
|
|
4678
5039
|
# IAM entity (user or role) used group or policy permissions in an
|
|
4679
5040
|
# attempt to access the specified Amazon Web Services service.
|
|
4680
5041
|
# @return [Array<Types::EntityDetails>]
|
|
@@ -5654,6 +6015,66 @@ module Aws::IAM
|
|
|
5654
6015
|
include Aws::Structure
|
|
5655
6016
|
end
|
|
5656
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
|
+
|
|
5657
6078
|
# @!attribute [rw] policy_arn
|
|
5658
6079
|
# The Amazon Resource Name (ARN) of the IAM policy for which you want
|
|
5659
6080
|
# the versions.
|
|
@@ -5696,10 +6117,9 @@ module Aws::IAM
|
|
|
5696
6117
|
# @!attribute [rw] policy_usage_filter
|
|
5697
6118
|
# The policy usage method to use for filtering the results.
|
|
5698
6119
|
#
|
|
5699
|
-
# To list only permissions policies,
|
|
5700
|
-
#
|
|
5701
|
-
#
|
|
5702
|
-
# 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`.
|
|
5703
6123
|
#
|
|
5704
6124
|
# This parameter is optional. If it is not included, all policies are
|
|
5705
6125
|
# returned.
|
|
@@ -6627,7 +7047,7 @@ module Aws::IAM
|
|
|
6627
7047
|
# details for that service. In the first paragraph, find the service
|
|
6628
7048
|
# prefix. For example, `(service prefix: a4b)`. For more information
|
|
6629
7049
|
# about service namespaces, see [Amazon Web Services service
|
|
6630
|
-
# namespaces][2] in the
|
|
7050
|
+
# namespaces][2] in the *Amazon Web Services General Reference*.
|
|
6631
7051
|
#
|
|
6632
7052
|
#
|
|
6633
7053
|
#
|
|
@@ -6646,7 +7066,7 @@ module Aws::IAM
|
|
|
6646
7066
|
end
|
|
6647
7067
|
|
|
6648
7068
|
# @!attribute [rw] policies_granting_service_access
|
|
6649
|
-
# A
|
|
7069
|
+
# A `ListPoliciesGrantingServiceAccess` object that contains details
|
|
6650
7070
|
# about the permissions policies attached to the specified identity
|
|
6651
7071
|
# (user, group, or role).
|
|
6652
7072
|
# @return [Array<Types::ListPoliciesGrantingServiceAccessEntry>]
|
|
@@ -6713,10 +7133,9 @@ module Aws::IAM
|
|
|
6713
7133
|
# @!attribute [rw] policy_usage_filter
|
|
6714
7134
|
# The policy usage method to use for filtering the results.
|
|
6715
7135
|
#
|
|
6716
|
-
# To list only permissions policies,
|
|
6717
|
-
#
|
|
6718
|
-
#
|
|
6719
|
-
# 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`.
|
|
6720
7139
|
#
|
|
6721
7140
|
# This parameter is optional. If it is not included, all policies are
|
|
6722
7141
|
# returned.
|
|
@@ -8768,13 +9187,19 @@ module Aws::IAM
|
|
|
8768
9187
|
include Aws::Structure
|
|
8769
9188
|
end
|
|
8770
9189
|
|
|
9190
|
+
# Contains information about a policy parameter used to customize
|
|
9191
|
+
# delegated permissions.
|
|
9192
|
+
#
|
|
8771
9193
|
# @!attribute [rw] name
|
|
9194
|
+
# The name of the policy parameter.
|
|
8772
9195
|
# @return [String]
|
|
8773
9196
|
#
|
|
8774
9197
|
# @!attribute [rw] values
|
|
9198
|
+
# The allowed values for the policy parameter.
|
|
8775
9199
|
# @return [Array<String>]
|
|
8776
9200
|
#
|
|
8777
9201
|
# @!attribute [rw] type
|
|
9202
|
+
# The data type of the policy parameter value.
|
|
8778
9203
|
# @return [String]
|
|
8779
9204
|
#
|
|
8780
9205
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PolicyParameter AWS API Documentation
|
|
@@ -9209,6 +9634,24 @@ module Aws::IAM
|
|
|
9209
9634
|
include Aws::Structure
|
|
9210
9635
|
end
|
|
9211
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
|
+
|
|
9212
9655
|
# @!attribute [rw] open_id_connect_provider_arn
|
|
9213
9656
|
# The Amazon Resource Name (ARN) of the IAM OIDC provider resource to
|
|
9214
9657
|
# remove the client ID from. You can get a list of OIDC provider ARNs
|
|
@@ -9966,6 +10409,19 @@ module Aws::IAM
|
|
|
9966
10409
|
include Aws::Structure
|
|
9967
10410
|
end
|
|
9968
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
|
+
|
|
9969
10425
|
# Contains information about a server certificate.
|
|
9970
10426
|
#
|
|
9971
10427
|
# This data type is used as a response element in the
|
|
@@ -11847,6 +12303,23 @@ module Aws::IAM
|
|
|
11847
12303
|
include Aws::Structure
|
|
11848
12304
|
end
|
|
11849
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
|
+
|
|
11850
12323
|
# @!attribute [rw] group_name
|
|
11851
12324
|
# Name of the IAM group to update. If you're changing the name of the
|
|
11852
12325
|
# group, this is the original name.
|