Class: Aws::BedrockAgentCoreControl::Types::ClaimMatchValueType

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

Overview

Note:

ClaimMatchValueType is a union - when making an API calls you must set exactly one of the members.

Note:

ClaimMatchValueType is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ClaimMatchValueType corresponding to the set member.

The value or values to match for.

  • Include a matchValueString with the EQUALS operator to specify a string that matches the claim field value.

  • Include a matchValueArray to specify an array of string values. You can use the following operators:

    • Use CONTAINS to yield a match if the claim field value is in the array.

    • Use CONTAINS_ANY to yield a match if the claim field value contains any of the strings in the array.

Defined Under Namespace

Classes: MatchValueString, MatchValueStringList, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#match_value_stringString

The string value to match for.

Returns:

  • (String)


906
907
908
909
910
911
912
913
914
915
916
917
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 906

class ClaimMatchValueType < Struct.new(
  :match_value_string,
  :match_value_string_list,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class MatchValueString < ClaimMatchValueType; end
  class MatchValueStringList < ClaimMatchValueType; end
  class Unknown < ClaimMatchValueType; end
end

#match_value_string_listArray<String>

An array of strings to check for a match.

Returns:

  • (Array<String>)


906
907
908
909
910
911
912
913
914
915
916
917
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 906

class ClaimMatchValueType < Struct.new(
  :match_value_string,
  :match_value_string_list,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class MatchValueString < ClaimMatchValueType; end
  class MatchValueStringList < ClaimMatchValueType; end
  class Unknown < ClaimMatchValueType; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



906
907
908
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 906

def unknown
  @unknown
end