github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/personalize-events/2018-03-22/docs-2.json (about)

     1  {
     2    "version": "2.0",
     3    "service": "<p>Amazon Personalize can consume real-time user event data, such as <i>stream</i> or <i>click</i> data, and use it for model training either alone or combined with historical data. For more information see <a href=\"https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html\">Recording Events</a>.</p>",
     4    "operations": {
     5      "PutEvents": "<p>Records user interaction event data. For more information see <a href=\"https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html\">Recording Events</a>.</p>",
     6      "PutItems": "<p>Adds one or more items to an Items dataset. For more information see <a href=\"https://docs.aws.amazon.com/personalize/latest/dg/importing-items.html\">Importing Items Incrementally</a>. </p>",
     7      "PutUsers": "<p>Adds one or more users to a Users dataset. For more information see <a href=\"https://docs.aws.amazon.com/personalize/latest/dg/importing-users.html\">Importing Users Incrementally</a>.</p>"
     8    },
     9    "shapes": {
    10      "Arn": {
    11        "base": null,
    12        "refs": {
    13          "PutItemsRequest$datasetArn": "<p>The Amazon Resource Name (ARN) of the Items dataset you are adding the item or items to.</p>",
    14          "PutUsersRequest$datasetArn": "<p>The Amazon Resource Name (ARN) of the Users dataset you are adding the user or users to.</p>"
    15        }
    16      },
    17      "Date": {
    18        "base": null,
    19        "refs": {
    20          "Event$sentAt": "<p>The timestamp (in Unix time) on the client side when the event occurred.</p>"
    21        }
    22      },
    23      "ErrorMessage": {
    24        "base": null,
    25        "refs": {
    26          "InvalidInputException$message": null,
    27          "ResourceInUseException$message": null,
    28          "ResourceNotFoundException$message": null
    29        }
    30      },
    31      "Event": {
    32        "base": "<p>Represents user interaction event information sent using the <code>PutEvents</code> API.</p>",
    33        "refs": {
    34          "EventList$member": null
    35        }
    36      },
    37      "EventList": {
    38        "base": null,
    39        "refs": {
    40          "PutEventsRequest$eventList": "<p>A list of event data from the session.</p>"
    41        }
    42      },
    43      "EventPropertiesJSON": {
    44        "base": null,
    45        "refs": {
    46          "Event$properties": "<p>A string map of event-specific data that you might choose to record. For example, if a user rates a movie on your site, other than movie ID (<code>itemId</code>) and rating (<code>eventValue</code>) , you might also send the number of movie ratings made by the user.</p> <p>Each item in the map consists of a key-value pair. For example,</p> <p> <code>{\"numberOfRatings\": \"12\"}</code> </p> <p>The keys use camel case names that match the fields in the Interactions schema. In the above example, the <code>numberOfRatings</code> would match the 'NUMBER_OF_RATINGS' field defined in the Interactions schema.</p>"
    47        }
    48      },
    49      "FloatType": {
    50        "base": null,
    51        "refs": {
    52          "Event$eventValue": "<p>The event value that corresponds to the <code>EVENT_VALUE</code> field of the Interactions schema.</p>"
    53        }
    54      },
    55      "Impression": {
    56        "base": null,
    57        "refs": {
    58          "Event$impression": "<p>A list of item IDs that represents the sequence of items you have shown the user. For example, <code>[\"itemId1\", \"itemId2\", \"itemId3\"]</code>.</p>"
    59        }
    60      },
    61      "InvalidInputException": {
    62        "base": "<p>Provide a valid value for the field or parameter.</p>",
    63        "refs": {
    64        }
    65      },
    66      "Item": {
    67        "base": "<p>Represents item metadata added to an Items dataset using the <code>PutItems</code> API. For more information see <a href=\"https://docs.aws.amazon.com/personalize/latest/dg/importing-items.html\">Importing Items Incrementally</a>. </p>",
    68        "refs": {
    69          "ItemList$member": null
    70        }
    71      },
    72      "ItemId": {
    73        "base": null,
    74        "refs": {
    75          "Event$itemId": "<p>The item ID key that corresponds to the <code>ITEM_ID</code> field of the Interactions schema.</p>",
    76          "Impression$member": null
    77        }
    78      },
    79      "ItemList": {
    80        "base": null,
    81        "refs": {
    82          "PutItemsRequest$items": "<p>A list of item data.</p>"
    83        }
    84      },
    85      "ItemProperties": {
    86        "base": null,
    87        "refs": {
    88          "Item$properties": "<p>A string map of item-specific metadata. Each element in the map consists of a key-value pair. For example, <code>{\"numberOfRatings\": \"12\"}</code>.</p> <p>The keys use camel case names that match the fields in the schema for the Items dataset. In the previous example, the <code>numberOfRatings</code> matches the 'NUMBER_OF_RATINGS' field defined in the Items schema. For categorical string data, to include multiple categories for a single item, separate each category with a pipe separator (<code>|</code>). For example, <code>\\\"Horror|Action\\\"</code>.</p>"
    89        }
    90      },
    91      "PutEventsRequest": {
    92        "base": null,
    93        "refs": {
    94        }
    95      },
    96      "PutItemsRequest": {
    97        "base": null,
    98        "refs": {
    99        }
   100      },
   101      "PutUsersRequest": {
   102        "base": null,
   103        "refs": {
   104        }
   105      },
   106      "RecommendationId": {
   107        "base": null,
   108        "refs": {
   109          "Event$recommendationId": "<p>The ID of the recommendation.</p>"
   110        }
   111      },
   112      "ResourceInUseException": {
   113        "base": "<p>The specified resource is in use.</p>",
   114        "refs": {
   115        }
   116      },
   117      "ResourceNotFoundException": {
   118        "base": "<p>Could not find the specified resource.</p>",
   119        "refs": {
   120        }
   121      },
   122      "StringType": {
   123        "base": null,
   124        "refs": {
   125          "Event$eventId": "<p>An ID associated with the event. If an event ID is not provided, Amazon Personalize generates a unique ID for the event. An event ID is not used as an input to the model. Amazon Personalize uses the event ID to distinquish unique events. Any subsequent events after the first with the same event ID are not used in model training.</p>",
   126          "Event$eventType": "<p>The type of event, such as click or download. This property corresponds to the <code>EVENT_TYPE</code> field of your Interactions schema and depends on the types of events you are tracking.</p>",
   127          "Item$itemId": "<p>The ID associated with the item.</p>",
   128          "PutEventsRequest$trackingId": "<p>The tracking ID for the event. The ID is generated by a call to the <a href=\"https://docs.aws.amazon.com/personalize/latest/dg/API_CreateEventTracker.html\">CreateEventTracker</a> API.</p>",
   129          "PutEventsRequest$sessionId": "<p>The session ID associated with the user's visit. Your application generates the sessionId when a user first visits your website or uses your application. Amazon Personalize uses the sessionId to associate events with the user before they log in. For more information, see <a href=\"https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html\">Recording Events</a>.</p>",
   130          "User$userId": "<p>The ID associated with the user.</p>"
   131        }
   132      },
   133      "User": {
   134        "base": "<p>Represents user metadata added to a Users dataset using the <code>PutUsers</code> API. For more information see <a href=\"https://docs.aws.amazon.com/personalize/latest/dg/importing-users.html\">Importing Users Incrementally</a>.</p>",
   135        "refs": {
   136          "UserList$member": null
   137        }
   138      },
   139      "UserId": {
   140        "base": null,
   141        "refs": {
   142          "PutEventsRequest$userId": "<p>The user associated with the event.</p>"
   143        }
   144      },
   145      "UserList": {
   146        "base": null,
   147        "refs": {
   148          "PutUsersRequest$users": "<p>A list of user data.</p>"
   149        }
   150      },
   151      "UserProperties": {
   152        "base": null,
   153        "refs": {
   154          "User$properties": "<p>A string map of user-specific metadata. Each element in the map consists of a key-value pair. For example, <code>{\"numberOfVideosWatched\": \"45\"}</code>.</p> <p>The keys use camel case names that match the fields in the schema for the Users dataset. In the previous example, the <code>numberOfVideosWatched</code> matches the 'NUMBER_OF_VIDEOS_WATCHED' field defined in the Users schema. For categorical string data, to include multiple categories for a single user, separate each category with a pipe separator (<code>|</code>). For example, <code>\\\"Member|Frequent shopper\\\"</code>.</p>"
   155        }
   156      }
   157    }
   158  }