When passing WriteSegmentRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
dimensions: {
attributes: {
"__string" => {
attribute_type: "INCLUSIVE", values: ["__string"], },
},
behavior: {
recency: {
duration: "HR_24", recency_type: "ACTIVE", },
},
demographic: {
app_version: {
dimension_type: "INCLUSIVE", values: ["__string"], },
channel: {
dimension_type: "INCLUSIVE", values: ["__string"], },
device_type: {
dimension_type: "INCLUSIVE", values: ["__string"], },
make: {
dimension_type: "INCLUSIVE", values: ["__string"], },
model: {
dimension_type: "INCLUSIVE", values: ["__string"], },
platform: {
dimension_type: "INCLUSIVE", values: ["__string"], },
},
location: {
country: {
dimension_type: "INCLUSIVE", values: ["__string"], },
gps_point: {
coordinates: { latitude: 1.0, longitude: 1.0, },
range_in_kilometers: 1.0,
},
},
metrics: {
"__string" => {
comparison_operator: "__string", value: 1.0, },
},
user_attributes: {
"__string" => {
attribute_type: "INCLUSIVE", values: ["__string"], },
},
},
name: "__string",
segment_groups: {
groups: [
{
dimensions: [
{
attributes: {
"__string" => {
attribute_type: "INCLUSIVE", values: ["__string"], },
},
behavior: {
recency: {
duration: "HR_24", recency_type: "ACTIVE", },
},
demographic: {
app_version: {
dimension_type: "INCLUSIVE", values: ["__string"], },
channel: {
dimension_type: "INCLUSIVE", values: ["__string"], },
device_type: {
dimension_type: "INCLUSIVE", values: ["__string"], },
make: {
dimension_type: "INCLUSIVE", values: ["__string"], },
model: {
dimension_type: "INCLUSIVE", values: ["__string"], },
platform: {
dimension_type: "INCLUSIVE", values: ["__string"], },
},
location: {
country: {
dimension_type: "INCLUSIVE", values: ["__string"], },
gps_point: {
coordinates: { latitude: 1.0, longitude: 1.0, },
range_in_kilometers: 1.0,
},
},
metrics: {
"__string" => {
comparison_operator: "__string", value: 1.0, },
},
user_attributes: {
"__string" => {
attribute_type: "INCLUSIVE", values: ["__string"], },
},
},
],
source_segments: [
{
id: "__string", version: 1,
},
],
source_type: "ALL", type: "ALL", },
],
include: "ALL", },
tags: {
"__string" => "__string",
},
}
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