@aws-sdk/client-personalize-events 3.934.0 → 3.935.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.
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +37 -0
- package/dist-es/models/models_0.js +1 -37
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +38 -0
- package/dist-types/models/models_0.d.ts +1 -38
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +23 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -26
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "./PersonalizeEventsClient";
|
|
2
2
|
export * from "./PersonalizeEvents";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
4
|
+
export * from "./models/errors";
|
|
5
5
|
export { PersonalizeEventsServiceException } from "./models/PersonalizeEventsServiceException";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { PersonalizeEventsServiceException as __BaseException } from "./PersonalizeEventsServiceException";
|
|
2
|
+
export class InvalidInputException extends __BaseException {
|
|
3
|
+
name = "InvalidInputException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "InvalidInputException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ResourceInUseException extends __BaseException {
|
|
15
|
+
name = "ResourceInUseException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "ResourceInUseException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
27
|
+
name = "ResourceNotFoundException";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "ResourceNotFoundException",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -1,37 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class InvalidInputException extends __BaseException {
|
|
3
|
-
name = "InvalidInputException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "InvalidInputException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export class ResourceInUseException extends __BaseException {
|
|
15
|
-
name = "ResourceInUseException";
|
|
16
|
-
$fault = "client";
|
|
17
|
-
constructor(opts) {
|
|
18
|
-
super({
|
|
19
|
-
name: "ResourceInUseException",
|
|
20
|
-
$fault: "client",
|
|
21
|
-
...opts,
|
|
22
|
-
});
|
|
23
|
-
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
27
|
-
name = "ResourceNotFoundException";
|
|
28
|
-
$fault = "client";
|
|
29
|
-
constructor(opts) {
|
|
30
|
-
super({
|
|
31
|
-
name: "ResourceNotFoundException",
|
|
32
|
-
$fault: "client",
|
|
33
|
-
...opts,
|
|
34
|
-
});
|
|
35
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
1
|
+
export {};
|
|
@@ -64,7 +64,7 @@ const _u = "users";
|
|
|
64
64
|
const _uI = "userId";
|
|
65
65
|
const n0 = "com.amazonaws.personalizeevents";
|
|
66
66
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
67
|
-
import { InvalidInputException as __InvalidInputException, ResourceInUseException as __ResourceInUseException, ResourceNotFoundException as __ResourceNotFoundException, } from "../models/
|
|
67
|
+
import { InvalidInputException as __InvalidInputException, ResourceInUseException as __ResourceInUseException, ResourceNotFoundException as __ResourceNotFoundException, } from "../models/errors";
|
|
68
68
|
import { PersonalizeEventsServiceException as __PersonalizeEventsServiceException } from "../models/PersonalizeEventsServiceException";
|
|
69
69
|
export var ActionId = [0, n0, _AI, 8, 0];
|
|
70
70
|
export var ItemId = [0, n0, _II, 8, 0];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -11,5 +11,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
11
11
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
12
12
|
export type { PersonalizeEventsExtensionConfiguration } from "./extensionConfiguration";
|
|
13
13
|
export * from "./commands";
|
|
14
|
-
export * from "./models";
|
|
14
|
+
export * from "./models/errors";
|
|
15
|
+
export type * from "./models/models_0";
|
|
15
16
|
export { PersonalizeEventsServiceException } from "./models/PersonalizeEventsServiceException";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { PersonalizeEventsServiceException as __BaseException } from "./PersonalizeEventsServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Provide a valid value for the field or parameter.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class InvalidInputException extends __BaseException {
|
|
8
|
+
readonly name: "InvalidInputException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>The specified resource is in use.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
20
|
+
readonly name: "ResourceInUseException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>Could not find the specified resource.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
32
|
+
readonly name: "ResourceNotFoundException";
|
|
33
|
+
readonly $fault: "client";
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
38
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion
|
|
2
|
-
import { PersonalizeEventsServiceException as __BaseException } from "./PersonalizeEventsServiceException";
|
|
1
|
+
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/smithy-client";
|
|
3
2
|
/**
|
|
4
3
|
* <p>Represents action metadata added to an Action dataset using the
|
|
5
4
|
* <code>PutActions</code> API. For more information see
|
|
@@ -120,18 +119,6 @@ export interface ActionInteraction {
|
|
|
120
119
|
*/
|
|
121
120
|
properties?: __AutomaticJsonStringConversion | string | undefined;
|
|
122
121
|
}
|
|
123
|
-
/**
|
|
124
|
-
* <p>Provide a valid value for the field or parameter.</p>
|
|
125
|
-
* @public
|
|
126
|
-
*/
|
|
127
|
-
export declare class InvalidInputException extends __BaseException {
|
|
128
|
-
readonly name: "InvalidInputException";
|
|
129
|
-
readonly $fault: "client";
|
|
130
|
-
/**
|
|
131
|
-
* @internal
|
|
132
|
-
*/
|
|
133
|
-
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
134
|
-
}
|
|
135
122
|
/**
|
|
136
123
|
* @public
|
|
137
124
|
*/
|
|
@@ -148,30 +135,6 @@ export interface PutActionInteractionsRequest {
|
|
|
148
135
|
*/
|
|
149
136
|
actionInteractions: ActionInteraction[] | undefined;
|
|
150
137
|
}
|
|
151
|
-
/**
|
|
152
|
-
* <p>The specified resource is in use.</p>
|
|
153
|
-
* @public
|
|
154
|
-
*/
|
|
155
|
-
export declare class ResourceInUseException extends __BaseException {
|
|
156
|
-
readonly name: "ResourceInUseException";
|
|
157
|
-
readonly $fault: "client";
|
|
158
|
-
/**
|
|
159
|
-
* @internal
|
|
160
|
-
*/
|
|
161
|
-
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* <p>Could not find the specified resource.</p>
|
|
165
|
-
* @public
|
|
166
|
-
*/
|
|
167
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
168
|
-
readonly name: "ResourceNotFoundException";
|
|
169
|
-
readonly $fault: "client";
|
|
170
|
-
/**
|
|
171
|
-
* @internal
|
|
172
|
-
*/
|
|
173
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
174
|
-
}
|
|
175
138
|
/**
|
|
176
139
|
* @public
|
|
177
140
|
*/
|
|
@@ -4,5 +4,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { PersonalizeEventsExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
-
export * from "./models";
|
|
7
|
+
export * from "./models/errors";
|
|
8
|
+
export * from "./models/models_0";
|
|
8
9
|
export { PersonalizeEventsServiceException } from "./models/PersonalizeEventsServiceException";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { PersonalizeEventsServiceException as __BaseException } from "./PersonalizeEventsServiceException";
|
|
3
|
+
export declare class InvalidInputException extends __BaseException {
|
|
4
|
+
readonly name: "InvalidInputException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<InvalidInputException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
11
|
+
readonly name: "ResourceInUseException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
constructor(
|
|
14
|
+
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
18
|
+
readonly name: "ResourceNotFoundException";
|
|
19
|
+
readonly $fault: "client";
|
|
20
|
+
constructor(
|
|
21
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AutomaticJsonStringConversion as __AutomaticJsonStringConversion,
|
|
3
|
-
ExceptionOptionType as __ExceptionOptionType,
|
|
4
|
-
} from "@smithy/smithy-client";
|
|
5
|
-
import { PersonalizeEventsServiceException as __BaseException } from "./PersonalizeEventsServiceException";
|
|
1
|
+
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/smithy-client";
|
|
6
2
|
export interface Action {
|
|
7
3
|
actionId: string | undefined;
|
|
8
4
|
properties?: __AutomaticJsonStringConversion | string | undefined;
|
|
@@ -18,31 +14,10 @@ export interface ActionInteraction {
|
|
|
18
14
|
impression?: string[] | undefined;
|
|
19
15
|
properties?: __AutomaticJsonStringConversion | string | undefined;
|
|
20
16
|
}
|
|
21
|
-
export declare class InvalidInputException extends __BaseException {
|
|
22
|
-
readonly name: "InvalidInputException";
|
|
23
|
-
readonly $fault: "client";
|
|
24
|
-
constructor(
|
|
25
|
-
opts: __ExceptionOptionType<InvalidInputException, __BaseException>
|
|
26
|
-
);
|
|
27
|
-
}
|
|
28
17
|
export interface PutActionInteractionsRequest {
|
|
29
18
|
trackingId: string | undefined;
|
|
30
19
|
actionInteractions: ActionInteraction[] | undefined;
|
|
31
20
|
}
|
|
32
|
-
export declare class ResourceInUseException extends __BaseException {
|
|
33
|
-
readonly name: "ResourceInUseException";
|
|
34
|
-
readonly $fault: "client";
|
|
35
|
-
constructor(
|
|
36
|
-
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
40
|
-
readonly name: "ResourceNotFoundException";
|
|
41
|
-
readonly $fault: "client";
|
|
42
|
-
constructor(
|
|
43
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
44
|
-
);
|
|
45
|
-
}
|
|
46
21
|
export interface PutActionsRequest {
|
|
47
22
|
datasetArn: string | undefined;
|
|
48
23
|
actions: Action[] | undefined;
|
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.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-personalize-events",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|