aws-sdk-iam 1.33.0 → 1.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-iam.rb +7 -4
- data/lib/aws-sdk-iam/access_key.rb +14 -11
- data/lib/aws-sdk-iam/access_key_pair.rb +14 -11
- data/lib/aws-sdk-iam/account_password_policy.rb +14 -11
- data/lib/aws-sdk-iam/account_summary.rb +14 -11
- data/lib/aws-sdk-iam/assume_role_policy.rb +14 -11
- data/lib/aws-sdk-iam/client.rb +154 -21
- data/lib/aws-sdk-iam/current_user.rb +14 -11
- data/lib/aws-sdk-iam/errors.rb +49 -27
- data/lib/aws-sdk-iam/group.rb +16 -13
- data/lib/aws-sdk-iam/group_policy.rb +14 -11
- data/lib/aws-sdk-iam/instance_profile.rb +19 -14
- data/lib/aws-sdk-iam/login_profile.rb +14 -11
- data/lib/aws-sdk-iam/mfa_device.rb +14 -11
- data/lib/aws-sdk-iam/policy.rb +14 -11
- data/lib/aws-sdk-iam/policy_version.rb +14 -11
- data/lib/aws-sdk-iam/resource.rb +14 -2
- data/lib/aws-sdk-iam/role.rb +14 -11
- data/lib/aws-sdk-iam/role_policy.rb +14 -11
- data/lib/aws-sdk-iam/saml_provider.rb +14 -11
- data/lib/aws-sdk-iam/server_certificate.rb +15 -12
- data/lib/aws-sdk-iam/signing_certificate.rb +14 -11
- data/lib/aws-sdk-iam/types.rb +11 -5
- data/lib/aws-sdk-iam/user.rb +22 -17
- data/lib/aws-sdk-iam/user_policy.rb +14 -11
- data/lib/aws-sdk-iam/virtual_mfa_device.rb +14 -11
- data/lib/aws-sdk-iam/waiters.rb +64 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8e24f5a93caf9949f9b08b97e587232fa41797f17e00048e638e1333eaba553c
|
4
|
+
data.tar.gz: 5df7962e93314e21ec1c6a862a899c7e11e5f24a990b65604b07aa715dde4dde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d697e388198414a3df5fa143fc3ee925a09422e9ddf4079d8865027c78d8dedc2e48fe966a80e42b48a5fe21d55040c51dd1f787a291899b70faf56f5bd7404b
|
7
|
+
data.tar.gz: 87bbde85825b00a2beccf8b140282a62a96110cba5894ceb278db9580dacd6ce33f1bc7f625cc8f7d0d0facf3e5bc762d07fa0dee6c1c890670de33463f649fe
|
data/lib/aws-sdk-iam.rb
CHANGED
@@ -46,17 +46,20 @@ require_relative 'aws-sdk-iam/customizations'
|
|
46
46
|
# methods each accept a hash of request parameters and return a response
|
47
47
|
# structure.
|
48
48
|
#
|
49
|
+
# iam = Aws::IAM::Client.new
|
50
|
+
# resp = iam.add_client_id_to_open_id_connect_provider(params)
|
51
|
+
#
|
49
52
|
# See {Client} for more information.
|
50
53
|
#
|
51
54
|
# # Errors
|
52
55
|
#
|
53
|
-
# Errors returned from AWS Identity and Access Management
|
54
|
-
# extend {Errors::ServiceError}.
|
56
|
+
# Errors returned from AWS Identity and Access Management are defined in the
|
57
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
55
58
|
#
|
56
59
|
# begin
|
57
60
|
# # do stuff
|
58
61
|
# rescue Aws::IAM::Errors::ServiceError
|
59
|
-
# # rescues all
|
62
|
+
# # rescues all AWS Identity and Access Management API errors
|
60
63
|
# end
|
61
64
|
#
|
62
65
|
# See {Errors} for more information.
|
@@ -64,6 +67,6 @@ require_relative 'aws-sdk-iam/customizations'
|
|
64
67
|
# @service
|
65
68
|
module Aws::IAM
|
66
69
|
|
67
|
-
GEM_VERSION = '1.
|
70
|
+
GEM_VERSION = '1.38.0'
|
68
71
|
|
69
72
|
end
|
@@ -6,6 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::IAM
|
9
|
+
|
9
10
|
class AccessKey
|
10
11
|
|
11
12
|
extend Aws::Deprecations
|
@@ -88,7 +89,8 @@ module Aws::IAM
|
|
88
89
|
# Waiter polls an API operation until a resource enters a desired
|
89
90
|
# state.
|
90
91
|
#
|
91
|
-
# @note The waiting operation is performed on a copy. The original resource
|
92
|
+
# @note The waiting operation is performed on a copy. The original resource
|
93
|
+
# remains unchanged.
|
92
94
|
#
|
93
95
|
# ## Basic Usage
|
94
96
|
#
|
@@ -101,13 +103,15 @@ module Aws::IAM
|
|
101
103
|
#
|
102
104
|
# ## Example
|
103
105
|
#
|
104
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
106
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
107
|
+
# instance.state.name == 'running'
|
108
|
+
# end
|
105
109
|
#
|
106
110
|
# ## Configuration
|
107
111
|
#
|
108
112
|
# You can configure the maximum number of polling attempts, and the
|
109
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
110
|
-
# by passing a block to {#wait_until}:
|
113
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
114
|
+
# set by passing a block to {#wait_until}:
|
111
115
|
#
|
112
116
|
# # poll for ~25 seconds
|
113
117
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -138,17 +142,16 @@ module Aws::IAM
|
|
138
142
|
# # resource did not enter the desired state in time
|
139
143
|
# end
|
140
144
|
#
|
145
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
141
146
|
#
|
142
|
-
# @
|
143
|
-
#
|
144
|
-
#
|
145
|
-
# because the waiter has entered a state that it will not transition
|
146
|
-
# out of, preventing success.
|
147
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
148
|
+
# terminates because the waiter has entered a state that it will not
|
149
|
+
# transition out of, preventing success.
|
147
150
|
#
|
148
151
|
# yet successful.
|
149
152
|
#
|
150
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
151
|
-
# while polling for a resource that is not expected.
|
153
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
154
|
+
# encountered while polling for a resource that is not expected.
|
152
155
|
#
|
153
156
|
# @raise [NotImplementedError] Raised when the resource does not
|
154
157
|
#
|
@@ -6,6 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::IAM
|
9
|
+
|
9
10
|
class AccessKeyPair
|
10
11
|
|
11
12
|
extend Aws::Deprecations
|
@@ -97,7 +98,8 @@ module Aws::IAM
|
|
97
98
|
# Waiter polls an API operation until a resource enters a desired
|
98
99
|
# state.
|
99
100
|
#
|
100
|
-
# @note The waiting operation is performed on a copy. The original resource
|
101
|
+
# @note The waiting operation is performed on a copy. The original resource
|
102
|
+
# remains unchanged.
|
101
103
|
#
|
102
104
|
# ## Basic Usage
|
103
105
|
#
|
@@ -110,13 +112,15 @@ module Aws::IAM
|
|
110
112
|
#
|
111
113
|
# ## Example
|
112
114
|
#
|
113
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
115
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
116
|
+
# instance.state.name == 'running'
|
117
|
+
# end
|
114
118
|
#
|
115
119
|
# ## Configuration
|
116
120
|
#
|
117
121
|
# You can configure the maximum number of polling attempts, and the
|
118
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
119
|
-
# by passing a block to {#wait_until}:
|
122
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
123
|
+
# set by passing a block to {#wait_until}:
|
120
124
|
#
|
121
125
|
# # poll for ~25 seconds
|
122
126
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -147,17 +151,16 @@ module Aws::IAM
|
|
147
151
|
# # resource did not enter the desired state in time
|
148
152
|
# end
|
149
153
|
#
|
154
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
150
155
|
#
|
151
|
-
# @
|
152
|
-
#
|
153
|
-
#
|
154
|
-
# because the waiter has entered a state that it will not transition
|
155
|
-
# out of, preventing success.
|
156
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
157
|
+
# terminates because the waiter has entered a state that it will not
|
158
|
+
# transition out of, preventing success.
|
156
159
|
#
|
157
160
|
# yet successful.
|
158
161
|
#
|
159
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
160
|
-
# while polling for a resource that is not expected.
|
162
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
163
|
+
# encountered while polling for a resource that is not expected.
|
161
164
|
#
|
162
165
|
# @raise [NotImplementedError] Raised when the resource does not
|
163
166
|
#
|
@@ -6,6 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::IAM
|
9
|
+
|
9
10
|
class AccountPasswordPolicy
|
10
11
|
|
11
12
|
extend Aws::Deprecations
|
@@ -127,7 +128,8 @@ module Aws::IAM
|
|
127
128
|
# Waiter polls an API operation until a resource enters a desired
|
128
129
|
# state.
|
129
130
|
#
|
130
|
-
# @note The waiting operation is performed on a copy. The original resource
|
131
|
+
# @note The waiting operation is performed on a copy. The original resource
|
132
|
+
# remains unchanged.
|
131
133
|
#
|
132
134
|
# ## Basic Usage
|
133
135
|
#
|
@@ -140,13 +142,15 @@ module Aws::IAM
|
|
140
142
|
#
|
141
143
|
# ## Example
|
142
144
|
#
|
143
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
145
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
146
|
+
# instance.state.name == 'running'
|
147
|
+
# end
|
144
148
|
#
|
145
149
|
# ## Configuration
|
146
150
|
#
|
147
151
|
# You can configure the maximum number of polling attempts, and the
|
148
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
149
|
-
# by passing a block to {#wait_until}:
|
152
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
153
|
+
# set by passing a block to {#wait_until}:
|
150
154
|
#
|
151
155
|
# # poll for ~25 seconds
|
152
156
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -177,17 +181,16 @@ module Aws::IAM
|
|
177
181
|
# # resource did not enter the desired state in time
|
178
182
|
# end
|
179
183
|
#
|
184
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
180
185
|
#
|
181
|
-
# @
|
182
|
-
#
|
183
|
-
#
|
184
|
-
# because the waiter has entered a state that it will not transition
|
185
|
-
# out of, preventing success.
|
186
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
187
|
+
# terminates because the waiter has entered a state that it will not
|
188
|
+
# transition out of, preventing success.
|
186
189
|
#
|
187
190
|
# yet successful.
|
188
191
|
#
|
189
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
190
|
-
# while polling for a resource that is not expected.
|
192
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
193
|
+
# encountered while polling for a resource that is not expected.
|
191
194
|
#
|
192
195
|
# @raise [NotImplementedError] Raised when the resource does not
|
193
196
|
#
|
@@ -6,6 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::IAM
|
9
|
+
|
9
10
|
class AccountSummary
|
10
11
|
|
11
12
|
extend Aws::Deprecations
|
@@ -68,7 +69,8 @@ module Aws::IAM
|
|
68
69
|
# Waiter polls an API operation until a resource enters a desired
|
69
70
|
# state.
|
70
71
|
#
|
71
|
-
# @note The waiting operation is performed on a copy. The original resource
|
72
|
+
# @note The waiting operation is performed on a copy. The original resource
|
73
|
+
# remains unchanged.
|
72
74
|
#
|
73
75
|
# ## Basic Usage
|
74
76
|
#
|
@@ -81,13 +83,15 @@ module Aws::IAM
|
|
81
83
|
#
|
82
84
|
# ## Example
|
83
85
|
#
|
84
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
86
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
87
|
+
# instance.state.name == 'running'
|
88
|
+
# end
|
85
89
|
#
|
86
90
|
# ## Configuration
|
87
91
|
#
|
88
92
|
# You can configure the maximum number of polling attempts, and the
|
89
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
90
|
-
# by passing a block to {#wait_until}:
|
93
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
94
|
+
# set by passing a block to {#wait_until}:
|
91
95
|
#
|
92
96
|
# # poll for ~25 seconds
|
93
97
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -118,17 +122,16 @@ module Aws::IAM
|
|
118
122
|
# # resource did not enter the desired state in time
|
119
123
|
# end
|
120
124
|
#
|
125
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
121
126
|
#
|
122
|
-
# @
|
123
|
-
#
|
124
|
-
#
|
125
|
-
# because the waiter has entered a state that it will not transition
|
126
|
-
# out of, preventing success.
|
127
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
128
|
+
# terminates because the waiter has entered a state that it will not
|
129
|
+
# transition out of, preventing success.
|
127
130
|
#
|
128
131
|
# yet successful.
|
129
132
|
#
|
130
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
131
|
-
# while polling for a resource that is not expected.
|
133
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
134
|
+
# encountered while polling for a resource that is not expected.
|
132
135
|
#
|
133
136
|
# @raise [NotImplementedError] Raised when the resource does not
|
134
137
|
#
|
@@ -6,6 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::IAM
|
9
|
+
|
9
10
|
class AssumeRolePolicy
|
10
11
|
|
11
12
|
extend Aws::Deprecations
|
@@ -64,7 +65,8 @@ module Aws::IAM
|
|
64
65
|
# Waiter polls an API operation until a resource enters a desired
|
65
66
|
# state.
|
66
67
|
#
|
67
|
-
# @note The waiting operation is performed on a copy. The original resource
|
68
|
+
# @note The waiting operation is performed on a copy. The original resource
|
69
|
+
# remains unchanged.
|
68
70
|
#
|
69
71
|
# ## Basic Usage
|
70
72
|
#
|
@@ -77,13 +79,15 @@ module Aws::IAM
|
|
77
79
|
#
|
78
80
|
# ## Example
|
79
81
|
#
|
80
|
-
# instance.wait_until(max_attempts:10, delay:5)
|
82
|
+
# instance.wait_until(max_attempts:10, delay:5) do |instance|
|
83
|
+
# instance.state.name == 'running'
|
84
|
+
# end
|
81
85
|
#
|
82
86
|
# ## Configuration
|
83
87
|
#
|
84
88
|
# You can configure the maximum number of polling attempts, and the
|
85
|
-
# delay (in seconds) between each polling attempt. The waiting condition is
|
86
|
-
# by passing a block to {#wait_until}:
|
89
|
+
# delay (in seconds) between each polling attempt. The waiting condition is
|
90
|
+
# set by passing a block to {#wait_until}:
|
87
91
|
#
|
88
92
|
# # poll for ~25 seconds
|
89
93
|
# resource.wait_until(max_attempts:5,delay:5) {|resource|...}
|
@@ -114,17 +118,16 @@ module Aws::IAM
|
|
114
118
|
# # resource did not enter the desired state in time
|
115
119
|
# end
|
116
120
|
#
|
121
|
+
# @yieldparam [Resource] resource to be used in the waiting condition.
|
117
122
|
#
|
118
|
-
# @
|
119
|
-
#
|
120
|
-
#
|
121
|
-
# because the waiter has entered a state that it will not transition
|
122
|
-
# out of, preventing success.
|
123
|
+
# @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter
|
124
|
+
# terminates because the waiter has entered a state that it will not
|
125
|
+
# transition out of, preventing success.
|
123
126
|
#
|
124
127
|
# yet successful.
|
125
128
|
#
|
126
|
-
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
127
|
-
# while polling for a resource that is not expected.
|
129
|
+
# @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is
|
130
|
+
# encountered while polling for a resource that is not expected.
|
128
131
|
#
|
129
132
|
# @raise [NotImplementedError] Raised when the resource does not
|
130
133
|
#
|
data/lib/aws-sdk-iam/client.rb
CHANGED
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/query.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:iam)
|
31
31
|
|
32
32
|
module Aws::IAM
|
33
|
+
# An API client for IAM. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::IAM::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -93,7 +105,7 @@ module Aws::IAM
|
|
93
105
|
# @option options [required, String] :region
|
94
106
|
# The AWS region to connect to. The configured `:region` is
|
95
107
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
97
109
|
#
|
98
110
|
# * `Aws.config[:region]`
|
99
111
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +120,12 @@ module Aws::IAM
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::IAM
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -139,7 +161,7 @@ module Aws::IAM
|
|
139
161
|
# @option options [String] :endpoint
|
140
162
|
# The client endpoint is normally constructed from the `:region`
|
141
163
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
143
165
|
#
|
144
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +176,7 @@ module Aws::IAM
|
|
154
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
177
|
#
|
156
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
180
|
#
|
159
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
182
|
# The log formatter.
|
@@ -166,15 +188,29 @@ module Aws::IAM
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,30 @@ module Aws::IAM
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
190
245
|
#
|
191
246
|
# @option options [String] :secret_access_key
|
192
247
|
#
|
@@ -209,16 +264,15 @@ module Aws::IAM
|
|
209
264
|
# requests through. Formatted like 'http://proxy.com:123'.
|
210
265
|
#
|
211
266
|
# @option options [Float] :http_open_timeout (15) The number of
|
212
|
-
# seconds to wait when opening a HTTP session before
|
267
|
+
# seconds to wait when opening a HTTP session before raising a
|
213
268
|
# `Timeout::Error`.
|
214
269
|
#
|
215
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
216
271
|
# number of seconds to wait for response data. This value can
|
217
|
-
# safely be set
|
218
|
-
# per-request on the session yeidled by {#session_for}.
|
272
|
+
# safely be set per-request on the session.
|
219
273
|
#
|
220
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
221
|
-
# seconds a connection is allowed to sit
|
275
|
+
# seconds a connection is allowed to sit idle before it is
|
222
276
|
# considered stale. Stale connections are closed and removed
|
223
277
|
# from the pool before making a request.
|
224
278
|
#
|
@@ -227,7 +281,7 @@ module Aws::IAM
|
|
227
281
|
# request body. This option has no effect unless the request has
|
228
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
229
283
|
# disables this behaviour. This value can safely be set per
|
230
|
-
# request on the session
|
284
|
+
# request on the session.
|
231
285
|
#
|
232
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
233
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -3713,6 +3767,10 @@ module Aws::IAM
|
|
3713
3767
|
# the response includes information about the most recent access
|
3714
3768
|
# attempt.
|
3715
3769
|
#
|
3770
|
+
# The `JobId` returned by `GenerateServiceLastAccessedDetail` must be
|
3771
|
+
# used by the same role within a session, or by the same user when
|
3772
|
+
# used to call `GetServiceLastAccessedDetail`.
|
3773
|
+
#
|
3716
3774
|
# * GetServiceLastAccessedDetailsWithEntities – Use this operation for
|
3717
3775
|
# groups and policies to list information about the associated
|
3718
3776
|
# entities (users or roles) that attempted to access a specific AWS
|
@@ -3887,6 +3945,8 @@ module Aws::IAM
|
|
3887
3945
|
# * {Types::GetAccountAuthorizationDetailsResponse#is_truncated #is_truncated} => Boolean
|
3888
3946
|
# * {Types::GetAccountAuthorizationDetailsResponse#marker #marker} => String
|
3889
3947
|
#
|
3948
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3949
|
+
#
|
3890
3950
|
# @example Request syntax with placeholder values
|
3891
3951
|
#
|
3892
3952
|
# resp = client.get_account_authorization_details({
|
@@ -4335,6 +4395,8 @@ module Aws::IAM
|
|
4335
4395
|
# * {Types::GetGroupResponse#is_truncated #is_truncated} => Boolean
|
4336
4396
|
# * {Types::GetGroupResponse#marker #marker} => String
|
4337
4397
|
#
|
4398
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4399
|
+
#
|
4338
4400
|
# @example Request syntax with placeholder values
|
4339
4401
|
#
|
4340
4402
|
# resp = client.get_group({
|
@@ -4535,6 +4597,11 @@ module Aws::IAM
|
|
4535
4597
|
# resp.instance_profile.roles[0].role_last_used.last_used_date #=> Time
|
4536
4598
|
# resp.instance_profile.roles[0].role_last_used.region #=> String
|
4537
4599
|
#
|
4600
|
+
#
|
4601
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
4602
|
+
#
|
4603
|
+
# * instance_profile_exists
|
4604
|
+
#
|
4538
4605
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetInstanceProfile AWS API Documentation
|
4539
4606
|
#
|
4540
4607
|
# @overload get_instance_profile(params = {})
|
@@ -4848,6 +4915,11 @@ module Aws::IAM
|
|
4848
4915
|
# resp.policy.create_date #=> Time
|
4849
4916
|
# resp.policy.update_date #=> Time
|
4850
4917
|
#
|
4918
|
+
#
|
4919
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
4920
|
+
#
|
4921
|
+
# * policy_exists
|
4922
|
+
#
|
4851
4923
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicy AWS API Documentation
|
4852
4924
|
#
|
4853
4925
|
# @overload get_policy(params = {})
|
@@ -5020,6 +5092,11 @@ module Aws::IAM
|
|
5020
5092
|
# resp.role.role_last_used.last_used_date #=> Time
|
5021
5093
|
# resp.role.role_last_used.region #=> String
|
5022
5094
|
#
|
5095
|
+
#
|
5096
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
5097
|
+
#
|
5098
|
+
# * role_exists
|
5099
|
+
#
|
5023
5100
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRole AWS API Documentation
|
5024
5101
|
#
|
5025
5102
|
# @overload get_role(params = {})
|
@@ -5333,7 +5410,10 @@ module Aws::IAM
|
|
5333
5410
|
#
|
5334
5411
|
# @option params [required, String] :job_id
|
5335
5412
|
# The ID of the request generated by the
|
5336
|
-
# GenerateServiceLastAccessedDetails operation.
|
5413
|
+
# GenerateServiceLastAccessedDetails operation. The `JobId` returned by
|
5414
|
+
# `GenerateServiceLastAccessedDetail` must be used by the same role
|
5415
|
+
# within a session, or by the same user when used to call
|
5416
|
+
# `GetServiceLastAccessedDetail`.
|
5337
5417
|
#
|
5338
5418
|
# @option params [Integer] :max_items
|
5339
5419
|
# Use this only when paginating results to indicate the maximum number
|
@@ -5679,6 +5759,11 @@ module Aws::IAM
|
|
5679
5759
|
# resp.user.tags[0].key #=> String
|
5680
5760
|
# resp.user.tags[0].value #=> String
|
5681
5761
|
#
|
5762
|
+
#
|
5763
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
5764
|
+
#
|
5765
|
+
# * user_exists
|
5766
|
+
#
|
5682
5767
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUser AWS API Documentation
|
5683
5768
|
#
|
5684
5769
|
# @overload get_user(params = {})
|
@@ -5817,6 +5902,8 @@ module Aws::IAM
|
|
5817
5902
|
# * {Types::ListAccessKeysResponse#is_truncated #is_truncated} => Boolean
|
5818
5903
|
# * {Types::ListAccessKeysResponse#marker #marker} => String
|
5819
5904
|
#
|
5905
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5906
|
+
#
|
5820
5907
|
#
|
5821
5908
|
# @example Example: To list the access key IDs for an IAM user
|
5822
5909
|
#
|
@@ -5902,6 +5989,8 @@ module Aws::IAM
|
|
5902
5989
|
# * {Types::ListAccountAliasesResponse#is_truncated #is_truncated} => Boolean
|
5903
5990
|
# * {Types::ListAccountAliasesResponse#marker #marker} => String
|
5904
5991
|
#
|
5992
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5993
|
+
#
|
5905
5994
|
#
|
5906
5995
|
# @example Example: To list account aliases
|
5907
5996
|
#
|
@@ -6010,6 +6099,8 @@ module Aws::IAM
|
|
6010
6099
|
# * {Types::ListAttachedGroupPoliciesResponse#is_truncated #is_truncated} => Boolean
|
6011
6100
|
# * {Types::ListAttachedGroupPoliciesResponse#marker #marker} => String
|
6012
6101
|
#
|
6102
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6103
|
+
#
|
6013
6104
|
# @example Request syntax with placeholder values
|
6014
6105
|
#
|
6015
6106
|
# resp = client.list_attached_group_policies({
|
@@ -6106,6 +6197,8 @@ module Aws::IAM
|
|
6106
6197
|
# * {Types::ListAttachedRolePoliciesResponse#is_truncated #is_truncated} => Boolean
|
6107
6198
|
# * {Types::ListAttachedRolePoliciesResponse#marker #marker} => String
|
6108
6199
|
#
|
6200
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6201
|
+
#
|
6109
6202
|
# @example Request syntax with placeholder values
|
6110
6203
|
#
|
6111
6204
|
# resp = client.list_attached_role_policies({
|
@@ -6202,6 +6295,8 @@ module Aws::IAM
|
|
6202
6295
|
# * {Types::ListAttachedUserPoliciesResponse#is_truncated #is_truncated} => Boolean
|
6203
6296
|
# * {Types::ListAttachedUserPoliciesResponse#marker #marker} => String
|
6204
6297
|
#
|
6298
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6299
|
+
#
|
6205
6300
|
# @example Request syntax with placeholder values
|
6206
6301
|
#
|
6207
6302
|
# resp = client.list_attached_user_policies({
|
@@ -6311,6 +6406,8 @@ module Aws::IAM
|
|
6311
6406
|
# * {Types::ListEntitiesForPolicyResponse#is_truncated #is_truncated} => Boolean
|
6312
6407
|
# * {Types::ListEntitiesForPolicyResponse#marker #marker} => String
|
6313
6408
|
#
|
6409
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6410
|
+
#
|
6314
6411
|
# @example Request syntax with placeholder values
|
6315
6412
|
#
|
6316
6413
|
# resp = client.list_entities_for_policy({
|
@@ -6396,6 +6493,8 @@ module Aws::IAM
|
|
6396
6493
|
# * {Types::ListGroupPoliciesResponse#is_truncated #is_truncated} => Boolean
|
6397
6494
|
# * {Types::ListGroupPoliciesResponse#marker #marker} => String
|
6398
6495
|
#
|
6496
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6497
|
+
#
|
6399
6498
|
#
|
6400
6499
|
# @example Example: To list the in-line policies for an IAM group
|
6401
6500
|
#
|
@@ -6482,6 +6581,8 @@ module Aws::IAM
|
|
6482
6581
|
# * {Types::ListGroupsResponse#is_truncated #is_truncated} => Boolean
|
6483
6582
|
# * {Types::ListGroupsResponse#marker #marker} => String
|
6484
6583
|
#
|
6584
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6585
|
+
#
|
6485
6586
|
#
|
6486
6587
|
# @example Example: To list the IAM groups for the current account
|
6487
6588
|
#
|
@@ -6585,6 +6686,8 @@ module Aws::IAM
|
|
6585
6686
|
# * {Types::ListGroupsForUserResponse#is_truncated #is_truncated} => Boolean
|
6586
6687
|
# * {Types::ListGroupsForUserResponse#marker #marker} => String
|
6587
6688
|
#
|
6689
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6690
|
+
#
|
6588
6691
|
#
|
6589
6692
|
# @example Example: To list the groups that an IAM user belongs to
|
6590
6693
|
#
|
@@ -6695,6 +6798,8 @@ module Aws::IAM
|
|
6695
6798
|
# * {Types::ListInstanceProfilesResponse#is_truncated #is_truncated} => Boolean
|
6696
6799
|
# * {Types::ListInstanceProfilesResponse#marker #marker} => String
|
6697
6800
|
#
|
6801
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6802
|
+
#
|
6698
6803
|
# @example Request syntax with placeholder values
|
6699
6804
|
#
|
6700
6805
|
# resp = client.list_instance_profiles({
|
@@ -6786,6 +6891,8 @@ module Aws::IAM
|
|
6786
6891
|
# * {Types::ListInstanceProfilesForRoleResponse#is_truncated #is_truncated} => Boolean
|
6787
6892
|
# * {Types::ListInstanceProfilesForRoleResponse#marker #marker} => String
|
6788
6893
|
#
|
6894
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6895
|
+
#
|
6789
6896
|
# @example Request syntax with placeholder values
|
6790
6897
|
#
|
6791
6898
|
# resp = client.list_instance_profiles_for_role({
|
@@ -6874,6 +6981,8 @@ module Aws::IAM
|
|
6874
6981
|
# * {Types::ListMFADevicesResponse#is_truncated #is_truncated} => Boolean
|
6875
6982
|
# * {Types::ListMFADevicesResponse#marker #marker} => String
|
6876
6983
|
#
|
6984
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
6985
|
+
#
|
6877
6986
|
# @example Request syntax with placeholder values
|
6878
6987
|
#
|
6879
6988
|
# resp = client.list_mfa_devices({
|
@@ -7007,6 +7116,8 @@ module Aws::IAM
|
|
7007
7116
|
# * {Types::ListPoliciesResponse#is_truncated #is_truncated} => Boolean
|
7008
7117
|
# * {Types::ListPoliciesResponse#marker #marker} => String
|
7009
7118
|
#
|
7119
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7120
|
+
#
|
7010
7121
|
# @example Request syntax with placeholder values
|
7011
7122
|
#
|
7012
7123
|
# resp = client.list_policies({
|
@@ -7242,6 +7353,8 @@ module Aws::IAM
|
|
7242
7353
|
# * {Types::ListPolicyVersionsResponse#is_truncated #is_truncated} => Boolean
|
7243
7354
|
# * {Types::ListPolicyVersionsResponse#marker #marker} => String
|
7244
7355
|
#
|
7356
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7357
|
+
#
|
7245
7358
|
# @example Request syntax with placeholder values
|
7246
7359
|
#
|
7247
7360
|
# resp = client.list_policy_versions({
|
@@ -7320,6 +7433,8 @@ module Aws::IAM
|
|
7320
7433
|
# * {Types::ListRolePoliciesResponse#is_truncated #is_truncated} => Boolean
|
7321
7434
|
# * {Types::ListRolePoliciesResponse#marker #marker} => String
|
7322
7435
|
#
|
7436
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7437
|
+
#
|
7323
7438
|
# @example Request syntax with placeholder values
|
7324
7439
|
#
|
7325
7440
|
# resp = client.list_role_policies({
|
@@ -7488,6 +7603,8 @@ module Aws::IAM
|
|
7488
7603
|
# * {Types::ListRolesResponse#is_truncated #is_truncated} => Boolean
|
7489
7604
|
# * {Types::ListRolesResponse#marker #marker} => String
|
7490
7605
|
#
|
7606
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7607
|
+
#
|
7491
7608
|
# @example Request syntax with placeholder values
|
7492
7609
|
#
|
7493
7610
|
# resp = client.list_roles({
|
@@ -7611,6 +7728,8 @@ module Aws::IAM
|
|
7611
7728
|
# * {Types::ListSSHPublicKeysResponse#is_truncated #is_truncated} => Boolean
|
7612
7729
|
# * {Types::ListSSHPublicKeysResponse#marker #marker} => String
|
7613
7730
|
#
|
7731
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7732
|
+
#
|
7614
7733
|
# @example Request syntax with placeholder values
|
7615
7734
|
#
|
7616
7735
|
# resp = client.list_ssh_public_keys({
|
@@ -7694,6 +7813,8 @@ module Aws::IAM
|
|
7694
7813
|
# * {Types::ListServerCertificatesResponse#is_truncated #is_truncated} => Boolean
|
7695
7814
|
# * {Types::ListServerCertificatesResponse#marker #marker} => String
|
7696
7815
|
#
|
7816
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7817
|
+
#
|
7697
7818
|
# @example Request syntax with placeholder values
|
7698
7819
|
#
|
7699
7820
|
# resp = client.list_server_certificates({
|
@@ -7834,6 +7955,8 @@ module Aws::IAM
|
|
7834
7955
|
# * {Types::ListSigningCertificatesResponse#is_truncated #is_truncated} => Boolean
|
7835
7956
|
# * {Types::ListSigningCertificatesResponse#marker #marker} => String
|
7836
7957
|
#
|
7958
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
7959
|
+
#
|
7837
7960
|
#
|
7838
7961
|
# @example Example: To list the signing certificates for an IAM user
|
7839
7962
|
#
|
@@ -7935,6 +8058,8 @@ module Aws::IAM
|
|
7935
8058
|
# * {Types::ListUserPoliciesResponse#is_truncated #is_truncated} => Boolean
|
7936
8059
|
# * {Types::ListUserPoliciesResponse#marker #marker} => String
|
7937
8060
|
#
|
8061
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
8062
|
+
#
|
7938
8063
|
# @example Request syntax with placeholder values
|
7939
8064
|
#
|
7940
8065
|
# resp = client.list_user_policies({
|
@@ -8099,6 +8224,8 @@ module Aws::IAM
|
|
8099
8224
|
# * {Types::ListUsersResponse#is_truncated #is_truncated} => Boolean
|
8100
8225
|
# * {Types::ListUsersResponse#marker #marker} => String
|
8101
8226
|
#
|
8227
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
8228
|
+
#
|
8102
8229
|
#
|
8103
8230
|
# @example Example: To list IAM users
|
8104
8231
|
#
|
@@ -8199,6 +8326,8 @@ module Aws::IAM
|
|
8199
8326
|
# * {Types::ListVirtualMFADevicesResponse#is_truncated #is_truncated} => Boolean
|
8200
8327
|
# * {Types::ListVirtualMFADevicesResponse#marker #marker} => String
|
8201
8328
|
#
|
8329
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
8330
|
+
#
|
8202
8331
|
#
|
8203
8332
|
# @example Example: To list virtual MFA devices
|
8204
8333
|
#
|
@@ -9302,6 +9431,8 @@ module Aws::IAM
|
|
9302
9431
|
# * {Types::SimulatePolicyResponse#is_truncated #is_truncated} => Boolean
|
9303
9432
|
# * {Types::SimulatePolicyResponse#marker #marker} => String
|
9304
9433
|
#
|
9434
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
9435
|
+
#
|
9305
9436
|
# @example Request syntax with placeholder values
|
9306
9437
|
#
|
9307
9438
|
# resp = client.simulate_custom_policy({
|
@@ -9627,6 +9758,8 @@ module Aws::IAM
|
|
9627
9758
|
# * {Types::SimulatePolicyResponse#is_truncated #is_truncated} => Boolean
|
9628
9759
|
# * {Types::SimulatePolicyResponse#marker #marker} => String
|
9629
9760
|
#
|
9761
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
9762
|
+
#
|
9630
9763
|
# @example Request syntax with placeholder values
|
9631
9764
|
#
|
9632
9765
|
# resp = client.simulate_principal_policy({
|
@@ -11400,7 +11533,7 @@ module Aws::IAM
|
|
11400
11533
|
params: params,
|
11401
11534
|
config: config)
|
11402
11535
|
context[:gem_name] = 'aws-sdk-iam'
|
11403
|
-
context[:gem_version] = '1.
|
11536
|
+
context[:gem_version] = '1.38.0'
|
11404
11537
|
Seahorse::Client::Request.new(handlers, context)
|
11405
11538
|
end
|
11406
11539
|
|
@@ -11466,12 +11599,12 @@ module Aws::IAM
|
|
11466
11599
|
# The following table lists the valid waiter names, the operations they call,
|
11467
11600
|
# and the default `:delay` and `:max_attempts` values.
|
11468
11601
|
#
|
11469
|
-
# | waiter_name | params
|
11470
|
-
# | ----------------------- |
|
11471
|
-
# | instance_profile_exists | {#get_instance_profile} | 1 | 40 |
|
11472
|
-
# | policy_exists | {#get_policy} | 1 | 20 |
|
11473
|
-
# | role_exists | {#get_role} | 1 | 20 |
|
11474
|
-
# | user_exists | {#get_user} | 1 | 20 |
|
11602
|
+
# | waiter_name | params | :delay | :max_attempts |
|
11603
|
+
# | ----------------------- | ----------------------------- | -------- | ------------- |
|
11604
|
+
# | instance_profile_exists | {Client#get_instance_profile} | 1 | 40 |
|
11605
|
+
# | policy_exists | {Client#get_policy} | 1 | 20 |
|
11606
|
+
# | role_exists | {Client#get_role} | 1 | 20 |
|
11607
|
+
# | user_exists | {Client#get_user} | 1 | 20 |
|
11475
11608
|
#
|
11476
11609
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
11477
11610
|
# because the waiter has entered a state that it will not transition
|