When passing UpdateFacetRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
schema_arn: "Arn", name: "FacetName", attribute_updates: [
{
attribute: {
name: "AttributeName", attribute_definition: {
type: "STRING", default_value: {
string_value: "StringAttributeValue",
binary_value: "data",
boolean_value: false,
number_value: "NumberAttributeValue",
datetime_value: Time.now,
},
is_immutable: false,
rules: {
"RuleKey" => {
type: "BINARY_LENGTH", parameters: {
"RuleParameterKey" => "RuleParameterValue",
},
},
},
},
attribute_reference: {
target_facet_name: "FacetName", target_attribute_name: "AttributeName", },
required_behavior: "REQUIRED_ALWAYS", },
action: "CREATE_OR_UPDATE", },
],
object_type: "NODE", }
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4