Class: Aws::WAFV2::Types::ChallengeResponse

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

Overview

The result from the inspection of the web request for a valid challenge token.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#failure_reasonString

The reason for failure, populated when the evaluation of the token fails.

Returns:

  • (String)


1056
1057
1058
1059
1060
1061
1062
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 1056

class ChallengeResponse < Struct.new(
  :response_code,
  :solve_timestamp,
  :failure_reason)
  SENSITIVE = []
  include Aws::Structure
end

#response_codeInteger

The HTTP response code indicating the status of the challenge token in the web request. If the token is missing, invalid, or expired, this code is 202 Request Accepted.

Returns:

  • (Integer)


1056
1057
1058
1059
1060
1061
1062
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 1056

class ChallengeResponse < Struct.new(
  :response_code,
  :solve_timestamp,
  :failure_reason)
  SENSITIVE = []
  include Aws::Structure
end

#solve_timestampInteger

The time that the challenge was last solved for the supplied token.

Returns:

  • (Integer)


1056
1057
1058
1059
1060
1061
1062
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 1056

class ChallengeResponse < Struct.new(
  :response_code,
  :solve_timestamp,
  :failure_reason)
  SENSITIVE = []
  include Aws::Structure
end