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.572 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.571 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.570 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.569 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.568 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.567 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.566 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.565 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.564 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.563 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.562 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.561 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.560 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.559 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.558 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.557 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.556 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.555 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.554 lib/aws-sdk-resources/services/iam.rb
aws-sdk-resources-2.11.553 lib/aws-sdk-resources/services/iam.rb