Sha256: 483d1d65b4955333e893ab1914d780d3b1fb981bd969803e768a5b78d33324bb

Contents?: true

Size: 1.5 KB

Versions: 13

Compression:

Stored size: 1.5 KB

Contents

# frozen_string_literal: true

Aws.config[:cognitoidentityprovider] = {
  stub_responses: {
    list_user_pools: {
      user_pools: [
        {
          id: 'us-east-1_6adfkj4ju',
          name: 'my-cognito-user-pool',
          lambda_config: {
            pre_sign_up: nil,
            custom_message: nil,
            post_confirmation: nil,
            pre_authentication: nil,
            post_authentication: nil,
            define_auth_challenge: nil,
            create_auth_challenge: nil,
            verify_auth_challenge_response: nil,
            pre_token_generation: nil,
            user_migration: nil
          },
          status: nil,
          last_modified_date: Time.new(2016, 5, 5, 5, 00, 00, '+00:00'),
          creation_date: Time.new(2015, 1, 2, 10, 00, 00, '+00:00')
        },
        {
          id: 'us-east-1_12345adsf',
          name: 'test-pool',
          lambda_config: {
            pre_sign_up: nil,
            custom_message: nil,
            post_confirmation: nil,
            pre_authentication: nil,
            post_authentication: nil,
            define_auth_challenge: nil,
            create_auth_challenge: nil,
            verify_auth_challenge_response: nil,
            pre_token_generation: nil,
            user_migration: nil
          },
          status: nil,
          last_modified_date: Time.new(2019, 1, 2, 10, 00, 00, '+00:00'),
          creation_date: Time.new(2018, 1, 2, 10, 00, 00, '+00:00')
        }
      ],
      next_token: 'aoeijfasdnvakldsjfgoai'
    }
  }
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
awspec-1.31.0 lib/awspec/stub/cognito_user_pool.rb
awspec-1.30.0 lib/awspec/stub/cognito_user_pool.rb
awspec-1.29.3 lib/awspec/stub/cognito_user_pool.rb
awspec-1.29.2 lib/awspec/stub/cognito_user_pool.rb
awspec-1.29.1 lib/awspec/stub/cognito_user_pool.rb
awspec-1.29.0 lib/awspec/stub/cognito_user_pool.rb
awspec-1.28.2 lib/awspec/stub/cognito_user_pool.rb
awspec-1.28.1 lib/awspec/stub/cognito_user_pool.rb
awspec-1.28.0 lib/awspec/stub/cognito_user_pool.rb
awspec-1.27.1 lib/awspec/stub/cognito_user_pool.rb
awspec-1.27.0 lib/awspec/stub/cognito_user_pool.rb
awspec-1.26.0 lib/awspec/stub/cognito_user_pool.rb
awspec-1.25.2 lib/awspec/stub/cognito_user_pool.rb