<commit_before># frozen_string_literal: true
module Ecr
  class IamUser
    include AwsAccessible
    extend AwsAccessible

    class << self
      def create(name)
        iam.create_user({ user_name: name })
        new(name)
      end
    end

    def initialize(name)
      @name = name
    end

    def create_access_key
      iam.create_access_key({ user_name: @name })
    end

    def join(group)
      iam.add_user_to_group({<commit_msg>Adding arn attributes to ecr/iam_user<commit_after># frozen_string_literal: true
module Ecr
  class IamUser
    include AwsAccessible
    extend AwsAccessible

    class << self
      def create(name)
        response = iam.create_user({ user_name: name })
        new(name, arn: response.user.arn)
      end
    end

    def initialize(name, arn: nil)
      @name = name
      @arn = arn
    end

    def create_access_key
      iam.create_access_key({ user_name: @name })
    end

    def join(group)
      iam.add_user_to_group({
{'fraction_non_alphanumeric': 0.07770961145194274, 'fraction_numerical': 0.0, 'mean_word_length': 2.4839857651245554, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4408896', 'n_tokens_mistral': 331, 'n_tokens_neox': 316, 'n_words': 80}