- Defined in:
Instance Method Summary collapse
#delete_account_alias ⇒ Seahorse::Client::Response, false
Returns the response from Client#delete_account_alias if an alias was deleted.
Instance Method Details
#delete_account_alias ⇒, false
Returns the response
from Client#delete_account_alias if an alias was deleted.
false if this account had no alias to remove.
9 10 11 12 13 14 15
# File 'aws-sdk-resources/lib/aws-sdk-resources/services/iam.rb', line 9 def delete_account_alias if name = @client.list_account_aliases.account_aliases.first @client.delete_account_alias(account_alias: name) else false end end