@aws-sdk/client-personalize-events 3.721.0 → 3.723.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-cjs/index.js +55 -40
- package/dist-es/PersonalizeEventsClient.js +1 -0
- package/dist-es/models/models_0.js +6 -6
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -142,7 +142,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
142
142
|
}, "resolveRuntimeExtensions");
|
|
143
143
|
|
|
144
144
|
// src/PersonalizeEventsClient.ts
|
|
145
|
-
var
|
|
145
|
+
var PersonalizeEventsClient = class extends import_smithy_client.Client {
|
|
146
|
+
static {
|
|
147
|
+
__name(this, "PersonalizeEventsClient");
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* The resolved configuration of PersonalizeEventsClient class. This is resolved and normalized from the {@link PersonalizeEventsClientConfig | constructor configuration interface}.
|
|
151
|
+
*/
|
|
152
|
+
config;
|
|
146
153
|
constructor(...[configuration]) {
|
|
147
154
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
148
155
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -152,7 +159,7 @@ var _PersonalizeEventsClient = class _PersonalizeEventsClient extends import_smi
|
|
|
152
159
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
153
160
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
154
161
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
155
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
162
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
156
163
|
super(_config_8);
|
|
157
164
|
this.config = _config_8;
|
|
158
165
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -180,8 +187,6 @@ var _PersonalizeEventsClient = class _PersonalizeEventsClient extends import_smi
|
|
|
180
187
|
super.destroy();
|
|
181
188
|
}
|
|
182
189
|
};
|
|
183
|
-
__name(_PersonalizeEventsClient, "PersonalizeEventsClient");
|
|
184
|
-
var PersonalizeEventsClient = _PersonalizeEventsClient;
|
|
185
190
|
|
|
186
191
|
// src/PersonalizeEvents.ts
|
|
187
192
|
|
|
@@ -196,7 +201,10 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
196
201
|
|
|
197
202
|
// src/models/PersonalizeEventsServiceException.ts
|
|
198
203
|
|
|
199
|
-
var
|
|
204
|
+
var PersonalizeEventsServiceException = class _PersonalizeEventsServiceException extends import_smithy_client.ServiceException {
|
|
205
|
+
static {
|
|
206
|
+
__name(this, "PersonalizeEventsServiceException");
|
|
207
|
+
}
|
|
200
208
|
/**
|
|
201
209
|
* @internal
|
|
202
210
|
*/
|
|
@@ -205,11 +213,14 @@ var _PersonalizeEventsServiceException = class _PersonalizeEventsServiceExceptio
|
|
|
205
213
|
Object.setPrototypeOf(this, _PersonalizeEventsServiceException.prototype);
|
|
206
214
|
}
|
|
207
215
|
};
|
|
208
|
-
__name(_PersonalizeEventsServiceException, "PersonalizeEventsServiceException");
|
|
209
|
-
var PersonalizeEventsServiceException = _PersonalizeEventsServiceException;
|
|
210
216
|
|
|
211
217
|
// src/models/models_0.ts
|
|
212
|
-
var
|
|
218
|
+
var InvalidInputException = class _InvalidInputException extends PersonalizeEventsServiceException {
|
|
219
|
+
static {
|
|
220
|
+
__name(this, "InvalidInputException");
|
|
221
|
+
}
|
|
222
|
+
name = "InvalidInputException";
|
|
223
|
+
$fault = "client";
|
|
213
224
|
/**
|
|
214
225
|
* @internal
|
|
215
226
|
*/
|
|
@@ -219,14 +230,15 @@ var _InvalidInputException = class _InvalidInputException extends PersonalizeEve
|
|
|
219
230
|
$fault: "client",
|
|
220
231
|
...opts
|
|
221
232
|
});
|
|
222
|
-
this.name = "InvalidInputException";
|
|
223
|
-
this.$fault = "client";
|
|
224
233
|
Object.setPrototypeOf(this, _InvalidInputException.prototype);
|
|
225
234
|
}
|
|
226
235
|
};
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
236
|
+
var ResourceInUseException = class _ResourceInUseException extends PersonalizeEventsServiceException {
|
|
237
|
+
static {
|
|
238
|
+
__name(this, "ResourceInUseException");
|
|
239
|
+
}
|
|
240
|
+
name = "ResourceInUseException";
|
|
241
|
+
$fault = "client";
|
|
230
242
|
/**
|
|
231
243
|
* @internal
|
|
232
244
|
*/
|
|
@@ -236,14 +248,15 @@ var _ResourceInUseException = class _ResourceInUseException extends PersonalizeE
|
|
|
236
248
|
$fault: "client",
|
|
237
249
|
...opts
|
|
238
250
|
});
|
|
239
|
-
this.name = "ResourceInUseException";
|
|
240
|
-
this.$fault = "client";
|
|
241
251
|
Object.setPrototypeOf(this, _ResourceInUseException.prototype);
|
|
242
252
|
}
|
|
243
253
|
};
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
254
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends PersonalizeEventsServiceException {
|
|
255
|
+
static {
|
|
256
|
+
__name(this, "ResourceNotFoundException");
|
|
257
|
+
}
|
|
258
|
+
name = "ResourceNotFoundException";
|
|
259
|
+
$fault = "client";
|
|
247
260
|
/**
|
|
248
261
|
* @internal
|
|
249
262
|
*/
|
|
@@ -253,13 +266,9 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Person
|
|
|
253
266
|
$fault: "client",
|
|
254
267
|
...opts
|
|
255
268
|
});
|
|
256
|
-
this.name = "ResourceNotFoundException";
|
|
257
|
-
this.$fault = "client";
|
|
258
269
|
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
259
270
|
}
|
|
260
271
|
};
|
|
261
|
-
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
262
|
-
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
263
272
|
var ActionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
264
273
|
...obj,
|
|
265
274
|
...obj.properties && { properties: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -587,71 +596,76 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
587
596
|
}), "deserializeMetadata");
|
|
588
597
|
|
|
589
598
|
// src/commands/PutActionInteractionsCommand.ts
|
|
590
|
-
var
|
|
599
|
+
var PutActionInteractionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
591
600
|
return [
|
|
592
601
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
593
602
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
594
603
|
];
|
|
595
604
|
}).s("AmazonPersonalizeEvents", "PutActionInteractions", {}).n("PersonalizeEventsClient", "PutActionInteractionsCommand").f(PutActionInteractionsRequestFilterSensitiveLog, void 0).ser(se_PutActionInteractionsCommand).de(de_PutActionInteractionsCommand).build() {
|
|
605
|
+
static {
|
|
606
|
+
__name(this, "PutActionInteractionsCommand");
|
|
607
|
+
}
|
|
596
608
|
};
|
|
597
|
-
__name(_PutActionInteractionsCommand, "PutActionInteractionsCommand");
|
|
598
|
-
var PutActionInteractionsCommand = _PutActionInteractionsCommand;
|
|
599
609
|
|
|
600
610
|
// src/commands/PutActionsCommand.ts
|
|
601
611
|
|
|
602
612
|
|
|
603
613
|
|
|
604
|
-
var
|
|
614
|
+
var PutActionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
605
615
|
return [
|
|
606
616
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
607
617
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
608
618
|
];
|
|
609
619
|
}).s("AmazonPersonalizeEvents", "PutActions", {}).n("PersonalizeEventsClient", "PutActionsCommand").f(PutActionsRequestFilterSensitiveLog, void 0).ser(se_PutActionsCommand).de(de_PutActionsCommand).build() {
|
|
620
|
+
static {
|
|
621
|
+
__name(this, "PutActionsCommand");
|
|
622
|
+
}
|
|
610
623
|
};
|
|
611
|
-
__name(_PutActionsCommand, "PutActionsCommand");
|
|
612
|
-
var PutActionsCommand = _PutActionsCommand;
|
|
613
624
|
|
|
614
625
|
// src/commands/PutEventsCommand.ts
|
|
615
626
|
|
|
616
627
|
|
|
617
628
|
|
|
618
|
-
var
|
|
629
|
+
var PutEventsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
619
630
|
return [
|
|
620
631
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
621
632
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
622
633
|
];
|
|
623
634
|
}).s("AmazonPersonalizeEvents", "PutEvents", {}).n("PersonalizeEventsClient", "PutEventsCommand").f(PutEventsRequestFilterSensitiveLog, void 0).ser(se_PutEventsCommand).de(de_PutEventsCommand).build() {
|
|
635
|
+
static {
|
|
636
|
+
__name(this, "PutEventsCommand");
|
|
637
|
+
}
|
|
624
638
|
};
|
|
625
|
-
__name(_PutEventsCommand, "PutEventsCommand");
|
|
626
|
-
var PutEventsCommand = _PutEventsCommand;
|
|
627
639
|
|
|
628
640
|
// src/commands/PutItemsCommand.ts
|
|
629
641
|
|
|
630
642
|
|
|
631
643
|
|
|
632
|
-
var
|
|
644
|
+
var PutItemsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
633
645
|
return [
|
|
634
646
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
635
647
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
636
648
|
];
|
|
637
649
|
}).s("AmazonPersonalizeEvents", "PutItems", {}).n("PersonalizeEventsClient", "PutItemsCommand").f(PutItemsRequestFilterSensitiveLog, void 0).ser(se_PutItemsCommand).de(de_PutItemsCommand).build() {
|
|
650
|
+
static {
|
|
651
|
+
__name(this, "PutItemsCommand");
|
|
652
|
+
}
|
|
638
653
|
};
|
|
639
|
-
__name(_PutItemsCommand, "PutItemsCommand");
|
|
640
|
-
var PutItemsCommand = _PutItemsCommand;
|
|
641
654
|
|
|
642
655
|
// src/commands/PutUsersCommand.ts
|
|
643
656
|
|
|
644
657
|
|
|
645
658
|
|
|
646
|
-
var
|
|
659
|
+
var PutUsersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
647
660
|
return [
|
|
648
661
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
649
662
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
650
663
|
];
|
|
651
664
|
}).s("AmazonPersonalizeEvents", "PutUsers", {}).n("PersonalizeEventsClient", "PutUsersCommand").f(PutUsersRequestFilterSensitiveLog, void 0).ser(se_PutUsersCommand).de(de_PutUsersCommand).build() {
|
|
665
|
+
static {
|
|
666
|
+
__name(this, "PutUsersCommand");
|
|
667
|
+
}
|
|
652
668
|
};
|
|
653
|
-
__name(_PutUsersCommand, "PutUsersCommand");
|
|
654
|
-
var PutUsersCommand = _PutUsersCommand;
|
|
655
669
|
|
|
656
670
|
// src/PersonalizeEvents.ts
|
|
657
671
|
var commands = {
|
|
@@ -661,10 +675,11 @@ var commands = {
|
|
|
661
675
|
PutItemsCommand,
|
|
662
676
|
PutUsersCommand
|
|
663
677
|
};
|
|
664
|
-
var
|
|
678
|
+
var PersonalizeEvents = class extends PersonalizeEventsClient {
|
|
679
|
+
static {
|
|
680
|
+
__name(this, "PersonalizeEvents");
|
|
681
|
+
}
|
|
665
682
|
};
|
|
666
|
-
__name(_PersonalizeEvents, "PersonalizeEvents");
|
|
667
|
-
var PersonalizeEvents = _PersonalizeEvents;
|
|
668
683
|
(0, import_smithy_client.createAggregatedClient)(commands, PersonalizeEvents);
|
|
669
684
|
// Annotate the CommonJS export names for ESM import in node:
|
|
670
685
|
|
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class PersonalizeEventsClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { SENSITIVE_STRING, } from "@smithy/smithy-client";
|
|
2
2
|
import { PersonalizeEventsServiceException as __BaseException } from "./PersonalizeEventsServiceException";
|
|
3
3
|
export class InvalidInputException extends __BaseException {
|
|
4
|
+
name = "InvalidInputException";
|
|
5
|
+
$fault = "client";
|
|
4
6
|
constructor(opts) {
|
|
5
7
|
super({
|
|
6
8
|
name: "InvalidInputException",
|
|
7
9
|
$fault: "client",
|
|
8
10
|
...opts,
|
|
9
11
|
});
|
|
10
|
-
this.name = "InvalidInputException";
|
|
11
|
-
this.$fault = "client";
|
|
12
12
|
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
export class ResourceInUseException extends __BaseException {
|
|
16
|
+
name = "ResourceInUseException";
|
|
17
|
+
$fault = "client";
|
|
16
18
|
constructor(opts) {
|
|
17
19
|
super({
|
|
18
20
|
name: "ResourceInUseException",
|
|
19
21
|
$fault: "client",
|
|
20
22
|
...opts,
|
|
21
23
|
});
|
|
22
|
-
this.name = "ResourceInUseException";
|
|
23
|
-
this.$fault = "client";
|
|
24
24
|
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
export class ResourceNotFoundException extends __BaseException {
|
|
28
|
+
name = "ResourceNotFoundException";
|
|
29
|
+
$fault = "client";
|
|
28
30
|
constructor(opts) {
|
|
29
31
|
super({
|
|
30
32
|
name: "ResourceNotFoundException",
|
|
31
33
|
$fault: "client",
|
|
32
34
|
...opts,
|
|
33
35
|
});
|
|
34
|
-
this.name = "ResourceNotFoundException";
|
|
35
|
-
this.$fault = "client";
|
|
36
36
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: PersonalizeEventsClientConfig) =
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: PersonalizeEventsClientConfig) =
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: PersonalizeEventsClientConfig) =
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: PersonalizeEventsClientConfig) =
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
input: any
|
|
13
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
_: unknown
|
|
15
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
16
|
defaultUserAgentProvider: (
|
|
15
17
|
config?:
|
|
16
18
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
init?:
|
|
15
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
16
|
+
| undefined
|
|
17
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
18
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
19
|
+
>);
|
|
18
20
|
defaultUserAgentProvider: (
|
|
19
21
|
config?:
|
|
20
22
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
|
|
|
30
30
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
31
31
|
| undefined
|
|
32
32
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
33
|
-
credentialDefaultProvider:
|
|
34
|
-
input: any
|
|
35
|
-
|
|
33
|
+
credentialDefaultProvider:
|
|
34
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
35
|
+
| ((
|
|
36
|
+
_: unknown
|
|
37
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
36
38
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
37
39
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
40
|
logger: import("@smithy/types").Logger;
|
|
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
|
|
|
52
54
|
| import("@smithy/types").RetryStrategyV2
|
|
53
55
|
| undefined;
|
|
54
56
|
endpoint?:
|
|
55
|
-
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
| ((
|
|
58
|
+
| string
|
|
59
|
+
| import("@smithy/types").Endpoint
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
61
|
+
| import("@smithy/types").EndpointV2
|
|
62
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
63
|
+
) &
|
|
64
|
+
(
|
|
65
|
+
| string
|
|
66
|
+
| import("@smithy/types").Provider<string>
|
|
67
|
+
| import("@smithy/types").Endpoint
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
69
|
+
| import("@smithy/types").EndpointV2
|
|
70
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
71
|
+
))
|
|
60
72
|
| undefined;
|
|
61
73
|
endpointProvider: (
|
|
62
74
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
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.723.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,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|