aws-sdk-resources 2.0.17.pre → 2.0.18.pre
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-resources/builder.rb +1 -1
- data/lib/aws-sdk-resources/services/iam.rb +19 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b38c16eb0e96c7a2aad584f9b673a941126fcd0b
|
4
|
+
data.tar.gz: f1fd9520515af4890754af7c53bdb77c567619b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dd4c3dfdf652a4a1123eb3e77d5b3912630b247e0003940bd97af9245b6c28028f8533a6356189525f33d3d53654b9e1de7bdc73eb09a0b269602aaa72b7c08
|
7
|
+
data.tar.gz: 20d33627e6ee33f835a0ff5d24cced18ed95c6d8b1831b490f55941ef1b44bc5fad3c2abd8283b796d7bf662e579ab76d3f8a3c7f8c52308ad832a5fe9ae47b0
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Aws
|
2
|
+
module IAM
|
3
|
+
class Resource
|
4
|
+
|
5
|
+
# @return [Seahorse::Client::Response, false] Returns the response
|
6
|
+
# from {Client#delete_account_alias} if an alias was deleted.
|
7
|
+
# Returns `false` if this account had no alias to remove.
|
8
|
+
# @see Client#delete_account_alias
|
9
|
+
def delete_account_alias
|
10
|
+
if name = @client.list_account_aliases.account_aliases.first
|
11
|
+
@client.delete_account_alias(account_alias: name)
|
12
|
+
else
|
13
|
+
false
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-resources
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.18.pre
|
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:
|
11
|
+
date: 2015-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.0.
|
19
|
+
version: 2.0.18
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.0.
|
26
|
+
version: 2.0.18
|
27
27
|
description: Provides resource-oriented abstractions for AWS.
|
28
28
|
email:
|
29
29
|
executables: []
|
@@ -53,6 +53,7 @@ files:
|
|
53
53
|
- lib/aws-sdk-resources/resource.rb
|
54
54
|
- lib/aws-sdk-resources/services/ec2.rb
|
55
55
|
- lib/aws-sdk-resources/services/ec2/instance.rb
|
56
|
+
- lib/aws-sdk-resources/services/iam.rb
|
56
57
|
- lib/aws-sdk-resources/services/s3.rb
|
57
58
|
- lib/aws-sdk-resources/services/s3/bucket.rb
|
58
59
|
- lib/aws-sdk-resources/services/s3/encryption.rb
|