aws-sdk-iam 1.37.0 → 1.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iam.rb +1 -1
- data/lib/aws-sdk-iam/client.rb +2 -2
- data/lib/aws-sdk-iam/group.rb +2 -2
- data/lib/aws-sdk-iam/resource.rb +2 -2
- data/lib/aws-sdk-iam/server_certificate.rb +1 -1
- data/lib/aws-sdk-iam/user.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
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
data/lib/aws-sdk-iam/client.rb
CHANGED
@@ -176,7 +176,7 @@ module Aws::IAM
|
|
176
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
177
|
#
|
178
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# 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.
|
180
180
|
#
|
181
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
182
|
# The log formatter.
|
@@ -11533,7 +11533,7 @@ module Aws::IAM
|
|
11533
11533
|
params: params,
|
11534
11534
|
config: config)
|
11535
11535
|
context[:gem_name] = 'aws-sdk-iam'
|
11536
|
-
context[:gem_version] = '1.
|
11536
|
+
context[:gem_version] = '1.38.0'
|
11537
11537
|
Seahorse::Client::Request.new(handlers, context)
|
11538
11538
|
end
|
11539
11539
|
|
data/lib/aws-sdk-iam/group.rb
CHANGED
@@ -338,7 +338,7 @@ module Aws::IAM
|
|
338
338
|
# @return [GroupPolicy]
|
339
339
|
def create_policy(options = {})
|
340
340
|
options = options.merge(group_name: @name)
|
341
|
-
|
341
|
+
@client.put_group_policy(options)
|
342
342
|
GroupPolicy.new(
|
343
343
|
group_name: @name,
|
344
344
|
name: options[:policy_name],
|
@@ -434,7 +434,7 @@ module Aws::IAM
|
|
434
434
|
# @return [Group]
|
435
435
|
def update(options = {})
|
436
436
|
options = options.merge(group_name: @name)
|
437
|
-
|
437
|
+
@client.update_group(options)
|
438
438
|
Group.new(
|
439
439
|
name: options[:new_group_name],
|
440
440
|
client: @client
|
data/lib/aws-sdk-iam/resource.rb
CHANGED
@@ -173,7 +173,7 @@ module Aws::IAM
|
|
173
173
|
# the user.
|
174
174
|
# @return [AccountPasswordPolicy]
|
175
175
|
def create_account_password_policy(options = {})
|
176
|
-
|
176
|
+
@client.update_account_password_policy(options)
|
177
177
|
AccountPasswordPolicy.new(client: @client)
|
178
178
|
end
|
179
179
|
|
@@ -604,7 +604,7 @@ module Aws::IAM
|
|
604
604
|
# [1]: http://wikipedia.org/wiki/regex
|
605
605
|
# @return [ServerCertificate]
|
606
606
|
def create_server_certificate(options = {})
|
607
|
-
|
607
|
+
@client.upload_server_certificate(options)
|
608
608
|
ServerCertificate.new(
|
609
609
|
name: options[:server_certificate_name],
|
610
610
|
client: @client
|
@@ -233,7 +233,7 @@ module Aws::IAM
|
|
233
233
|
# @return [ServerCertificate]
|
234
234
|
def update(options = {})
|
235
235
|
options = options.merge(server_certificate_name: @name)
|
236
|
-
|
236
|
+
@client.update_server_certificate(options)
|
237
237
|
ServerCertificate.new(
|
238
238
|
name: options[:new_server_certificate_name],
|
239
239
|
client: @client
|
data/lib/aws-sdk-iam/user.rb
CHANGED
@@ -502,7 +502,7 @@ module Aws::IAM
|
|
502
502
|
# @return [UserPolicy]
|
503
503
|
def create_policy(options = {})
|
504
504
|
options = options.merge(user_name: @name)
|
505
|
-
|
505
|
+
@client.put_user_policy(options)
|
506
506
|
UserPolicy.new(
|
507
507
|
user_name: @name,
|
508
508
|
name: options[:policy_name],
|
@@ -596,7 +596,7 @@ module Aws::IAM
|
|
596
596
|
# @return [MfaDevice]
|
597
597
|
def enable_mfa(options = {})
|
598
598
|
options = options.merge(user_name: @name)
|
599
|
-
|
599
|
+
@client.enable_mfa_device(options)
|
600
600
|
MfaDevice.new(
|
601
601
|
user_name: @name,
|
602
602
|
serial_number: options[:serial_number],
|
@@ -659,7 +659,7 @@ module Aws::IAM
|
|
659
659
|
# @return [User]
|
660
660
|
def update(options = {})
|
661
661
|
options = options.merge(user_name: @name)
|
662
|
-
|
662
|
+
@client.update_user(options)
|
663
663
|
User.new(
|
664
664
|
name: options[:new_user_name],
|
665
665
|
client: @client
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-iam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.38.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|