Sha256: 9c55eda37a5714df3a7891a3f4ace2da73f64ae9a9a28127286680691fd100a1

Contents?: true

Size: 524 Bytes

Versions: 1083

Compression:

Stored size: 524 Bytes

Contents

module Aws
  module IAM
    class Resource

      # @return [Seahorse::Client::Response, false] Returns the response
      #   from {Client#delete_account_alias} if an alias was deleted.
      #   Returns `false` if this account had no alias to remove.
      # @see Client#delete_account_alias
      def delete_account_alias
        if name = @client.list_account_aliases.account_aliases.first
          @client.delete_account_alias(account_alias: name)
        else
          false
        end
      end

    end
  end
end

Version data entries

1,083 entries across 1,083 versions & 3 rubygems

Version Path
aws-sdk-resources-2.11.632 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.631 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.630 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.629 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.628 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.627 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.626 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.625 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.624 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.623 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.622 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.621 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.620 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.619 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.618 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.617 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.616 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.615 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.614 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.613 lib/aws-sdk-resources/services/iam.rb