@aws-sdk/client-personalize-events 3.296.0 → 3.298.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,7 +31,7 @@ class PutEventsCommand extends smithy_client_1.Command {
31
31
  clientName,
32
32
  commandName,
33
33
  inputFilterSensitiveLog: models_0_1.PutEventsRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: (output) => output,
34
+ outputFilterSensitiveLog: (_) => _,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -31,7 +31,7 @@ class PutItemsCommand extends smithy_client_1.Command {
31
31
  clientName,
32
32
  commandName,
33
33
  inputFilterSensitiveLog: models_0_1.PutItemsRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: (output) => output,
34
+ outputFilterSensitiveLog: (_) => _,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -31,7 +31,7 @@ class PutUsersCommand extends smithy_client_1.Command {
31
31
  clientName,
32
32
  commandName,
33
33
  inputFilterSensitiveLog: models_0_1.PutUsersRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: (output) => output,
34
+ outputFilterSensitiveLog: (_) => _,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutUsersRequestFilterSensitiveLog = exports.UserFilterSensitiveLog = exports.PutItemsRequestFilterSensitiveLog = exports.ItemFilterSensitiveLog = exports.PutEventsRequestFilterSensitiveLog = exports.EventFilterSensitiveLog = exports.MetricAttributionFilterSensitiveLog = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.InvalidInputException = void 0;
3
+ exports.PutUsersRequestFilterSensitiveLog = exports.UserFilterSensitiveLog = exports.PutItemsRequestFilterSensitiveLog = exports.ItemFilterSensitiveLog = exports.PutEventsRequestFilterSensitiveLog = exports.EventFilterSensitiveLog = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.InvalidInputException = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
5
  const PersonalizeEventsServiceException_1 = require("./PersonalizeEventsServiceException");
6
6
  class InvalidInputException extends PersonalizeEventsServiceException_1.PersonalizeEventsServiceException {
@@ -42,10 +42,6 @@ class ResourceNotFoundException extends PersonalizeEventsServiceException_1.Pers
42
42
  }
43
43
  }
44
44
  exports.ResourceNotFoundException = ResourceNotFoundException;
45
- const MetricAttributionFilterSensitiveLog = (obj) => ({
46
- ...obj,
47
- });
48
- exports.MetricAttributionFilterSensitiveLog = MetricAttributionFilterSensitiveLog;
49
45
  const EventFilterSensitiveLog = (obj) => ({
50
46
  ...obj,
51
47
  ...(obj.itemId && { itemId: smithy_client_1.SENSITIVE_STRING }),
@@ -28,7 +28,7 @@ export class PutEventsCommand extends $Command {
28
28
  clientName,
29
29
  commandName,
30
30
  inputFilterSensitiveLog: PutEventsRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: (output) => output,
31
+ outputFilterSensitiveLog: (_) => _,
32
32
  };
33
33
  const { requestHandler } = configuration;
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -28,7 +28,7 @@ export class PutItemsCommand extends $Command {
28
28
  clientName,
29
29
  commandName,
30
30
  inputFilterSensitiveLog: PutItemsRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: (output) => output,
31
+ outputFilterSensitiveLog: (_) => _,
32
32
  };
33
33
  const { requestHandler } = configuration;
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -28,7 +28,7 @@ export class PutUsersCommand extends $Command {
28
28
  clientName,
29
29
  commandName,
30
30
  inputFilterSensitiveLog: PutUsersRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: (output) => output,
31
+ outputFilterSensitiveLog: (_) => _,
32
32
  };
33
33
  const { requestHandler } = configuration;
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -36,9 +36,6 @@ export class ResourceNotFoundException extends __BaseException {
36
36
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
37
37
  }
38
38
  }
39
- export const MetricAttributionFilterSensitiveLog = (obj) => ({
40
- ...obj,
41
- });
42
39
  export const EventFilterSensitiveLog = (obj) => ({
43
40
  ...obj,
44
41
  ...(obj.itemId && { itemId: SENSITIVE_STRING }),
@@ -4,12 +4,14 @@ import { PutItemsCommandInput, PutItemsCommandOutput } from "./commands/PutItems
4
4
  import { PutUsersCommandInput, PutUsersCommandOutput } from "./commands/PutUsersCommand";
5
5
  import { PersonalizeEventsClient } from "./PersonalizeEventsClient";
6
6
  /**
7
+ * @public
7
8
  * <p>Amazon Personalize can consume real-time user event data, such as <i>stream</i> or <i>click</i> data, and use
8
9
  * it for model training either alone or combined with historical data. For more information see
9
10
  * <a href="https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html">Recording Events</a>.</p>
10
11
  */
11
12
  export declare class PersonalizeEvents extends PersonalizeEventsClient {
12
13
  /**
14
+ * @public
13
15
  * <p>Records user interaction event data. For more information see
14
16
  * <a href="https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html">Recording Events</a>.</p>
15
17
  */
@@ -17,6 +19,7 @@ export declare class PersonalizeEvents extends PersonalizeEventsClient {
17
19
  putEvents(args: PutEventsCommandInput, cb: (err: any, data?: PutEventsCommandOutput) => void): void;
18
20
  putEvents(args: PutEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutEventsCommandOutput) => void): void;
19
21
  /**
22
+ * @public
20
23
  * <p>Adds one or more items to an Items dataset. For more information see
21
24
  * <a href="https://docs.aws.amazon.com/personalize/latest/dg/importing-items.html">Importing Items Incrementally</a>.
22
25
  * </p>
@@ -25,6 +28,7 @@ export declare class PersonalizeEvents extends PersonalizeEventsClient {
25
28
  putItems(args: PutItemsCommandInput, cb: (err: any, data?: PutItemsCommandOutput) => void): void;
26
29
  putItems(args: PutItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutItemsCommandOutput) => void): void;
27
30
  /**
31
+ * @public
28
32
  * <p>Adds one or more users to a Users dataset. For more information see
29
33
  * <a href="https://docs.aws.amazon.com/personalize/latest/dg/importing-users.html">Importing Users Incrementally</a>.</p>
30
34
  */
@@ -11,15 +11,24 @@ import { PutEventsCommandInput, PutEventsCommandOutput } from "./commands/PutEve
11
11
  import { PutItemsCommandInput, PutItemsCommandOutput } from "./commands/PutItemsCommand";
12
12
  import { PutUsersCommandInput, PutUsersCommandOutput } from "./commands/PutUsersCommand";
13
13
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
14
+ /**
15
+ * @public
16
+ */
14
17
  export type ServiceInputTypes = PutEventsCommandInput | PutItemsCommandInput | PutUsersCommandInput;
18
+ /**
19
+ * @public
20
+ */
15
21
  export type ServiceOutputTypes = PutEventsCommandOutput | PutItemsCommandOutput | PutUsersCommandOutput;
22
+ /**
23
+ * @public
24
+ */
16
25
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
17
26
  /**
18
27
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
19
28
  */
20
29
  requestHandler?: __HttpHandler;
21
30
  /**
22
- * A constructor for a class implementing the {@link __Checksum} interface
31
+ * A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
23
32
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
24
33
  * @internal
25
34
  */
@@ -109,23 +118,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
109
118
  */
110
119
  logger?: __Logger;
111
120
  /**
112
- * The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
121
+ * The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
113
122
  */
114
123
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
115
124
  }
125
+ /**
126
+ * @public
127
+ */
116
128
  type PersonalizeEventsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
117
129
  /**
118
- * The configuration interface of PersonalizeEventsClient class constructor that set the region, credentials and other options.
130
+ * @public
131
+ *
132
+ * The configuration interface of PersonalizeEventsClient class constructor that set the region, credentials and other options.
119
133
  */
120
134
  export interface PersonalizeEventsClientConfig extends PersonalizeEventsClientConfigType {
121
135
  }
136
+ /**
137
+ * @public
138
+ */
122
139
  type PersonalizeEventsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
123
140
  /**
124
- * The resolved configuration interface of PersonalizeEventsClient class. This is resolved and normalized from the {@link PersonalizeEventsClientConfig | constructor configuration interface}.
141
+ * @public
142
+ *
143
+ * The resolved configuration interface of PersonalizeEventsClient class. This is resolved and normalized from the {@link PersonalizeEventsClientConfig | constructor configuration interface}.
125
144
  */
126
145
  export interface PersonalizeEventsClientResolvedConfig extends PersonalizeEventsClientResolvedConfigType {
127
146
  }
128
147
  /**
148
+ * @public
129
149
  * <p>Amazon Personalize can consume real-time user event data, such as <i>stream</i> or <i>click</i> data, and use
130
150
  * it for model training either alone or combined with historical data. For more information see
131
151
  * <a href="https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html">Recording Events</a>.</p>
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { PutEventsRequest } from "../models/models_0";
5
5
  import { PersonalizeEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeEventsClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link PutEventsCommand}.
8
10
  */
9
11
  export interface PutEventsCommandInput extends PutEventsRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link PutEventsCommand}.
13
17
  */
14
18
  export interface PutEventsCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Records user interaction event data. For more information see
18
23
  * <a href="https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html">Recording Events</a>.</p>
19
24
  * @example
@@ -26,6 +31,8 @@ export interface PutEventsCommandOutput extends __MetadataBearer {
26
31
  * const response = await client.send(command);
27
32
  * ```
28
33
  *
34
+ * @param PutEventsCommandInput - {@link PutEventsCommandInput}
35
+ * @returns {@link PutEventsCommandOutput}
29
36
  * @see {@link PutEventsCommandInput} for command's `input` shape.
30
37
  * @see {@link PutEventsCommandOutput} for command's `response` shape.
31
38
  * @see {@link PersonalizeEventsClientResolvedConfig | config} for PersonalizeEventsClient's `config` shape.
@@ -38,11 +45,20 @@ export interface PutEventsCommandOutput extends __MetadataBearer {
38
45
  export declare class PutEventsCommand extends $Command<PutEventsCommandInput, PutEventsCommandOutput, PersonalizeEventsClientResolvedConfig> {
39
46
  readonly input: PutEventsCommandInput;
40
47
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
48
+ /**
49
+ * @public
50
+ */
41
51
  constructor(input: PutEventsCommandInput);
42
52
  /**
43
53
  * @internal
44
54
  */
45
55
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutEventsCommandInput, PutEventsCommandOutput>;
56
+ /**
57
+ * @internal
58
+ */
46
59
  private serialize;
60
+ /**
61
+ * @internal
62
+ */
47
63
  private deserialize;
48
64
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { PutItemsRequest } from "../models/models_0";
5
5
  import { PersonalizeEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeEventsClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link PutItemsCommand}.
8
10
  */
9
11
  export interface PutItemsCommandInput extends PutItemsRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link PutItemsCommand}.
13
17
  */
14
18
  export interface PutItemsCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Adds one or more items to an Items dataset. For more information see
18
23
  * <a href="https://docs.aws.amazon.com/personalize/latest/dg/importing-items.html">Importing Items Incrementally</a>.
19
24
  * </p>
@@ -27,6 +32,8 @@ export interface PutItemsCommandOutput extends __MetadataBearer {
27
32
  * const response = await client.send(command);
28
33
  * ```
29
34
  *
35
+ * @param PutItemsCommandInput - {@link PutItemsCommandInput}
36
+ * @returns {@link PutItemsCommandOutput}
30
37
  * @see {@link PutItemsCommandInput} for command's `input` shape.
31
38
  * @see {@link PutItemsCommandOutput} for command's `response` shape.
32
39
  * @see {@link PersonalizeEventsClientResolvedConfig | config} for PersonalizeEventsClient's `config` shape.
@@ -45,11 +52,20 @@ export interface PutItemsCommandOutput extends __MetadataBearer {
45
52
  export declare class PutItemsCommand extends $Command<PutItemsCommandInput, PutItemsCommandOutput, PersonalizeEventsClientResolvedConfig> {
46
53
  readonly input: PutItemsCommandInput;
47
54
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
55
+ /**
56
+ * @public
57
+ */
48
58
  constructor(input: PutItemsCommandInput);
49
59
  /**
50
60
  * @internal
51
61
  */
52
62
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutItemsCommandInput, PutItemsCommandOutput>;
63
+ /**
64
+ * @internal
65
+ */
53
66
  private serialize;
67
+ /**
68
+ * @internal
69
+ */
54
70
  private deserialize;
55
71
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { PutUsersRequest } from "../models/models_0";
5
5
  import { PersonalizeEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeEventsClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link PutUsersCommand}.
8
10
  */
9
11
  export interface PutUsersCommandInput extends PutUsersRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link PutUsersCommand}.
13
17
  */
14
18
  export interface PutUsersCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Adds one or more users to a Users dataset. For more information see
18
23
  * <a href="https://docs.aws.amazon.com/personalize/latest/dg/importing-users.html">Importing Users Incrementally</a>.</p>
19
24
  * @example
@@ -26,6 +31,8 @@ export interface PutUsersCommandOutput extends __MetadataBearer {
26
31
  * const response = await client.send(command);
27
32
  * ```
28
33
  *
34
+ * @param PutUsersCommandInput - {@link PutUsersCommandInput}
35
+ * @returns {@link PutUsersCommandOutput}
29
36
  * @see {@link PutUsersCommandInput} for command's `input` shape.
30
37
  * @see {@link PutUsersCommandOutput} for command's `response` shape.
31
38
  * @see {@link PersonalizeEventsClientResolvedConfig | config} for PersonalizeEventsClient's `config` shape.
@@ -44,11 +51,20 @@ export interface PutUsersCommandOutput extends __MetadataBearer {
44
51
  export declare class PutUsersCommand extends $Command<PutUsersCommandInput, PutUsersCommandOutput, PersonalizeEventsClientResolvedConfig> {
45
52
  readonly input: PutUsersCommandInput;
46
53
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
54
+ /**
55
+ * @public
56
+ */
47
57
  constructor(input: PutUsersCommandInput);
48
58
  /**
49
59
  * @internal
50
60
  */
51
61
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutUsersCommandInput, PutUsersCommandOutput>;
62
+ /**
63
+ * @internal
64
+ */
52
65
  private serialize;
66
+ /**
67
+ * @internal
68
+ */
53
69
  private deserialize;
54
70
  }
@@ -1,5 +1,7 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
2
  /**
3
+ * @public
4
+ *
3
5
  * Base exception class for all service exceptions from PersonalizeEvents service.
4
6
  */
5
7
  export declare class PersonalizeEventsServiceException extends __ServiceException {
@@ -1,6 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
2
2
  import { PersonalizeEventsServiceException as __BaseException } from "./PersonalizeEventsServiceException";
3
3
  /**
4
+ * @public
4
5
  * <p>Provide a valid value for the field or parameter.</p>
5
6
  */
6
7
  export declare class InvalidInputException extends __BaseException {
@@ -12,6 +13,7 @@ export declare class InvalidInputException extends __BaseException {
12
13
  constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
13
14
  }
14
15
  /**
16
+ * @public
15
17
  * <p>Contains information about a metric attribution associated with an event. For more information about metric attributions, see <a href="https://docs.aws.amazon.com/personalize/latest/dg/measuring-recommendation-impact.html">Measuring impact of recommendations</a>.</p>
16
18
  */
17
19
  export interface MetricAttribution {
@@ -21,6 +23,7 @@ export interface MetricAttribution {
21
23
  eventAttributionSource: string | undefined;
22
24
  }
23
25
  /**
26
+ * @public
24
27
  * <p>Represents user interaction event information sent using the
25
28
  * <code>PutEvents</code> API.</p>
26
29
  */
@@ -52,7 +55,7 @@ export interface Event {
52
55
  * <p>Each item in the map consists of a key-value pair. For example,</p>
53
56
  *
54
57
  * <p>
55
- * <code>{"numberOfRatings": "12"}</code>
58
+ * <code>\{"numberOfRatings": "12"\}</code>
56
59
  * </p>
57
60
  * <p>The keys use camel case names that match the fields in the Interactions
58
61
  * schema. In the above example, the <code>numberOfRatings</code> would match the
@@ -84,6 +87,9 @@ export interface Event {
84
87
  */
85
88
  metricAttribution?: MetricAttribution;
86
89
  }
90
+ /**
91
+ * @public
92
+ */
87
93
  export interface PutEventsRequest {
88
94
  /**
89
95
  * <p>The tracking ID for the event.
@@ -107,6 +113,7 @@ export interface PutEventsRequest {
107
113
  eventList: Event[] | undefined;
108
114
  }
109
115
  /**
116
+ * @public
110
117
  * <p>Represents item metadata added to an Items dataset using the
111
118
  * <code>PutItems</code> API. For more information see
112
119
  * <a href="https://docs.aws.amazon.com/personalize/latest/dg/importing-items.html">Importing Items Incrementally</a>.
@@ -119,7 +126,7 @@ export interface Item {
119
126
  itemId: string | undefined;
120
127
  /**
121
128
  * <p>A string map of item-specific metadata. Each element in the map consists of a key-value pair.
122
- * For example, <code>{"numberOfRatings": "12"}</code>.</p>
129
+ * For example, <code>\{"numberOfRatings": "12"\}</code>.</p>
123
130
  * <p>The keys use camel case names that match the fields in the schema for the Items
124
131
  * dataset. In the previous example, the <code>numberOfRatings</code> matches the
125
132
  * 'NUMBER_OF_RATINGS' field defined in the Items schema. For categorical string data, to include multiple categories for a single item,
@@ -127,6 +134,9 @@ export interface Item {
127
134
  */
128
135
  properties?: __LazyJsonString | string;
129
136
  }
137
+ /**
138
+ * @public
139
+ */
130
140
  export interface PutItemsRequest {
131
141
  /**
132
142
  * <p>The Amazon Resource Name (ARN) of the Items dataset you are adding the item or items to.</p>
@@ -138,6 +148,7 @@ export interface PutItemsRequest {
138
148
  items: Item[] | undefined;
139
149
  }
140
150
  /**
151
+ * @public
141
152
  * <p>The specified resource is in use.</p>
142
153
  */
143
154
  export declare class ResourceInUseException extends __BaseException {
@@ -149,6 +160,7 @@ export declare class ResourceInUseException extends __BaseException {
149
160
  constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
150
161
  }
151
162
  /**
163
+ * @public
152
164
  * <p>Could not find the specified resource.</p>
153
165
  */
154
166
  export declare class ResourceNotFoundException extends __BaseException {
@@ -160,6 +172,7 @@ export declare class ResourceNotFoundException extends __BaseException {
160
172
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
161
173
  }
162
174
  /**
175
+ * @public
163
176
  * <p>Represents user metadata added to a Users dataset using the
164
177
  * <code>PutUsers</code> API. For more information see
165
178
  * <a href="https://docs.aws.amazon.com/personalize/latest/dg/importing-users.html">Importing Users Incrementally</a>.</p>
@@ -171,7 +184,7 @@ export interface User {
171
184
  userId: string | undefined;
172
185
  /**
173
186
  * <p>A string map of user-specific metadata. Each element in the map consists of a key-value pair.
174
- * For example, <code>{"numberOfVideosWatched": "45"}</code>.</p>
187
+ * For example, <code>\{"numberOfVideosWatched": "45"\}</code>.</p>
175
188
  * <p>The keys use camel case names that match the fields in the schema for the Users
176
189
  * dataset. In the previous example, the <code>numberOfVideosWatched</code> matches the
177
190
  * 'NUMBER_OF_VIDEOS_WATCHED' field defined in the Users schema. For categorical string data,
@@ -180,6 +193,9 @@ export interface User {
180
193
  */
181
194
  properties?: __LazyJsonString | string;
182
195
  }
196
+ /**
197
+ * @public
198
+ */
183
199
  export interface PutUsersRequest {
184
200
  /**
185
201
  * <p>The Amazon Resource Name (ARN) of the Users dataset you are adding the user or users to.</p>
@@ -190,10 +206,6 @@ export interface PutUsersRequest {
190
206
  */
191
207
  users: User[] | undefined;
192
208
  }
193
- /**
194
- * @internal
195
- */
196
- export declare const MetricAttributionFilterSensitiveLog: (obj: MetricAttribution) => any;
197
209
  /**
198
210
  * @internal
199
211
  */
@@ -60,9 +60,6 @@ export interface PutUsersRequest {
60
60
  datasetArn: string | undefined;
61
61
  users: User[] | undefined;
62
62
  }
63
- export declare const MetricAttributionFilterSensitiveLog: (
64
- obj: MetricAttribution
65
- ) => any;
66
63
  export declare const EventFilterSensitiveLog: (obj: Event) => any;
67
64
  export declare const PutEventsRequestFilterSensitiveLog: (
68
65
  obj: PutEventsRequest
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-personalize-events",
3
3
  "description": "AWS SDK for JavaScript Personalize Events Client for Node.js, Browser and React Native",
4
- "version": "3.296.0",
4
+ "version": "3.298.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -11,6 +11,7 @@
11
11
  "build:types": "tsc -p tsconfig.types.json",
12
12
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
13
13
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
14
+ "extract:docs": "api-extractor run --local",
14
15
  "generate:client": "node ../../scripts/generate-clients/single-service --solo personalize-events"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
@@ -20,9 +21,9 @@
20
21
  "dependencies": {
21
22
  "@aws-crypto/sha256-browser": "3.0.0",
22
23
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.296.0",
24
+ "@aws-sdk/client-sts": "3.298.0",
24
25
  "@aws-sdk/config-resolver": "3.296.0",
25
- "@aws-sdk/credential-provider-node": "3.296.0",
26
+ "@aws-sdk/credential-provider-node": "3.298.0",
26
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
27
28
  "@aws-sdk/hash-node": "3.296.0",
28
29
  "@aws-sdk/invalid-dependency": "3.296.0",