You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CognitoIdentityProvider::Types::DeviceConfigurationType

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

Note:

When making an API call, you may pass DeviceConfigurationType data as a hash:

{
  challenge_required_on_new_device: false,
  device_only_remembered_on_user_prompt: false,
}

The type of configuration for the user pool's device tracking.

Instance Attribute Summary collapse

Instance Attribute Details

#challenge_required_on_new_deviceBoolean

Indicates whether a challenge is required on a new device. Only applicable to a new device.

Returns:

  • (Boolean)


2687
2688
2689
2690
2691
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2687

class DeviceConfigurationType < Struct.new(
  :challenge_required_on_new_device,
  :device_only_remembered_on_user_prompt)
  include Aws::Structure
end

#device_only_remembered_on_user_promptBoolean

If true, a device is only remembered on user prompt.

Returns:

  • (Boolean)


2687
2688
2689
2690
2691
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2687

class DeviceConfigurationType < Struct.new(
  :challenge_required_on_new_device,
  :device_only_remembered_on_user_prompt)
  include Aws::Structure
end