@aws-sdk/client-personalize-events 3.477.0 → 3.481.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.
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { PutUsersRequestFilterSensitiveLog } from "../models/models_0";
6
6
  import { de_PutUsersCommand, se_PutUsersCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class PutUsersCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, PutUsersCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "PersonalizeEventsClient";
27
- const commandName = "PutUsersCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: PutUsersRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AmazonPersonalizeEvents",
36
- operation: "PutUsers",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_PutUsersCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_PutUsersCommand(output, context);
47
- }
8
+ export class PutUsersCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonPersonalizeEvents", "PutUsers", {})
20
+ .n("PersonalizeEventsClient", "PutUsersCommand")
21
+ .f(PutUsersRequestFilterSensitiveLog, void 0)
22
+ .ser(se_PutUsersCommand)
23
+ .de(de_PutUsersCommand)
24
+ .build() {
48
25
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "personalize",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { PutActionInteractionsRequest } from "../models/models_0";
5
4
  import { PersonalizeEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeEventsClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PutActionInteractionsCommandInput extends PutActionInteractions
21
20
  */
22
21
  export interface PutActionInteractionsCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const PutActionInteractionsCommand_base: {
24
+ new (input: PutActionInteractionsCommandInput): import("@smithy/smithy-client").CommandImpl<PutActionInteractionsCommandInput, PutActionInteractionsCommandOutput, PersonalizeEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Records action interaction event data. An <i>action interaction</i> event is an interaction between a user and an <i>action</i>.
@@ -77,23 +80,5 @@ export interface PutActionInteractionsCommandOutput extends __MetadataBearer {
77
80
  * <p>Base exception class for all service exceptions from PersonalizeEvents service.</p>
78
81
  *
79
82
  */
80
- export declare class PutActionInteractionsCommand extends $Command<PutActionInteractionsCommandInput, PutActionInteractionsCommandOutput, PersonalizeEventsClientResolvedConfig> {
81
- readonly input: PutActionInteractionsCommandInput;
82
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
83
- /**
84
- * @public
85
- */
86
- constructor(input: PutActionInteractionsCommandInput);
87
- /**
88
- * @internal
89
- */
90
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutActionInteractionsCommandInput, PutActionInteractionsCommandOutput>;
91
- /**
92
- * @internal
93
- */
94
- private serialize;
95
- /**
96
- * @internal
97
- */
98
- private deserialize;
83
+ export declare class PutActionInteractionsCommand extends PutActionInteractionsCommand_base {
99
84
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { PutActionsRequest } from "../models/models_0";
5
4
  import { PersonalizeEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeEventsClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PutActionsCommandInput extends PutActionsRequest {
21
20
  */
22
21
  export interface PutActionsCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const PutActionsCommand_base: {
24
+ new (input: PutActionsCommandInput): import("@smithy/smithy-client").CommandImpl<PutActionsCommandInput, PutActionsCommandOutput, PersonalizeEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds one or more actions to an Actions dataset. For more information see
@@ -66,23 +69,5 @@ export interface PutActionsCommandOutput extends __MetadataBearer {
66
69
  * <p>Base exception class for all service exceptions from PersonalizeEvents service.</p>
67
70
  *
68
71
  */
69
- export declare class PutActionsCommand extends $Command<PutActionsCommandInput, PutActionsCommandOutput, PersonalizeEventsClientResolvedConfig> {
70
- readonly input: PutActionsCommandInput;
71
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
72
- /**
73
- * @public
74
- */
75
- constructor(input: PutActionsCommandInput);
76
- /**
77
- * @internal
78
- */
79
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutActionsCommandInput, PutActionsCommandOutput>;
80
- /**
81
- * @internal
82
- */
83
- private serialize;
84
- /**
85
- * @internal
86
- */
87
- private deserialize;
72
+ export declare class PutActionsCommand extends PutActionsCommand_base {
88
73
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { PutEventsRequest } from "../models/models_0";
5
4
  import { PersonalizeEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeEventsClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PutEventsCommandInput extends PutEventsRequest {
21
20
  */
22
21
  export interface PutEventsCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const PutEventsCommand_base: {
24
+ new (input: PutEventsCommandInput): import("@smithy/smithy-client").CommandImpl<PutEventsCommandInput, PutEventsCommandOutput, PersonalizeEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Records item interaction event data. For more information see
@@ -72,23 +75,5 @@ export interface PutEventsCommandOutput extends __MetadataBearer {
72
75
  * <p>Base exception class for all service exceptions from PersonalizeEvents service.</p>
73
76
  *
74
77
  */
75
- export declare class PutEventsCommand extends $Command<PutEventsCommandInput, PutEventsCommandOutput, PersonalizeEventsClientResolvedConfig> {
76
- readonly input: PutEventsCommandInput;
77
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
78
- /**
79
- * @public
80
- */
81
- constructor(input: PutEventsCommandInput);
82
- /**
83
- * @internal
84
- */
85
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutEventsCommandInput, PutEventsCommandOutput>;
86
- /**
87
- * @internal
88
- */
89
- private serialize;
90
- /**
91
- * @internal
92
- */
93
- private deserialize;
78
+ export declare class PutEventsCommand extends PutEventsCommand_base {
94
79
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { PutItemsRequest } from "../models/models_0";
5
4
  import { PersonalizeEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeEventsClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PutItemsCommandInput extends PutItemsRequest {
21
20
  */
22
21
  export interface PutItemsCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const PutItemsCommand_base: {
24
+ new (input: PutItemsCommandInput): import("@smithy/smithy-client").CommandImpl<PutItemsCommandInput, PutItemsCommandOutput, PersonalizeEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds one or more items to an Items dataset. For more information see
@@ -66,23 +69,5 @@ export interface PutItemsCommandOutput extends __MetadataBearer {
66
69
  * <p>Base exception class for all service exceptions from PersonalizeEvents service.</p>
67
70
  *
68
71
  */
69
- export declare class PutItemsCommand extends $Command<PutItemsCommandInput, PutItemsCommandOutput, PersonalizeEventsClientResolvedConfig> {
70
- readonly input: PutItemsCommandInput;
71
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
72
- /**
73
- * @public
74
- */
75
- constructor(input: PutItemsCommandInput);
76
- /**
77
- * @internal
78
- */
79
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutItemsCommandInput, PutItemsCommandOutput>;
80
- /**
81
- * @internal
82
- */
83
- private serialize;
84
- /**
85
- * @internal
86
- */
87
- private deserialize;
72
+ export declare class PutItemsCommand extends PutItemsCommand_base {
88
73
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { PutUsersRequest } from "../models/models_0";
5
4
  import { PersonalizeEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PersonalizeEventsClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PutUsersCommandInput extends PutUsersRequest {
21
20
  */
22
21
  export interface PutUsersCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const PutUsersCommand_base: {
24
+ new (input: PutUsersCommandInput): import("@smithy/smithy-client").CommandImpl<PutUsersCommandInput, PutUsersCommandOutput, PersonalizeEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds one or more users to a Users dataset. For more information see
@@ -65,23 +68,5 @@ export interface PutUsersCommandOutput extends __MetadataBearer {
65
68
  * <p>Base exception class for all service exceptions from PersonalizeEvents service.</p>
66
69
  *
67
70
  */
68
- export declare class PutUsersCommand extends $Command<PutUsersCommandInput, PutUsersCommandOutput, PersonalizeEventsClientResolvedConfig> {
69
- readonly input: PutUsersCommandInput;
70
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
- /**
72
- * @public
73
- */
74
- constructor(input: PutUsersCommandInput);
75
- /**
76
- * @internal
77
- */
78
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PersonalizeEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutUsersCommandInput, PutUsersCommandOutput>;
79
- /**
80
- * @internal
81
- */
82
- private serialize;
83
- /**
84
- * @internal
85
- */
86
- private deserialize;
71
+ export declare class PutUsersCommand extends PutUsersCommand_base {
87
72
  }
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
14
14
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
15
  defaultSigningName: string;
16
16
  };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
17
35
  export interface EndpointParameters extends __EndpointParameters {
18
36
  Region?: string;
19
37
  UseDualStack?: boolean;
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import { PutActionInteractionsRequest } from "../models/models_0";
10
4
  import {
11
5
  PersonalizeEventsClientResolvedConfig,
@@ -16,22 +10,16 @@ export { __MetadataBearer, $Command };
16
10
  export interface PutActionInteractionsCommandInput
17
11
  extends PutActionInteractionsRequest {}
18
12
  export interface PutActionInteractionsCommandOutput extends __MetadataBearer {}
19
- export declare class PutActionInteractionsCommand extends $Command<
20
- PutActionInteractionsCommandInput,
21
- PutActionInteractionsCommandOutput,
22
- PersonalizeEventsClientResolvedConfig
23
- > {
24
- readonly input: PutActionInteractionsCommandInput;
25
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
26
- constructor(input: PutActionInteractionsCommandInput);
27
- resolveMiddleware(
28
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
- configuration: PersonalizeEventsClientResolvedConfig,
30
- options?: __HttpHandlerOptions
31
- ): Handler<
13
+ declare const PutActionInteractionsCommand_base: {
14
+ new (
15
+ input: PutActionInteractionsCommandInput
16
+ ): import("@smithy/smithy-client").CommandImpl<
32
17
  PutActionInteractionsCommandInput,
33
- PutActionInteractionsCommandOutput
18
+ PutActionInteractionsCommandOutput,
19
+ PersonalizeEventsClientResolvedConfig,
20
+ ServiceInputTypes,
21
+ ServiceOutputTypes
34
22
  >;
35
- private serialize;
36
- private deserialize;
37
- }
23
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
24
+ };
25
+ export declare class PutActionInteractionsCommand extends PutActionInteractionsCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import { PutActionsRequest } from "../models/models_0";
10
4
  import {
11
5
  PersonalizeEventsClientResolvedConfig,
@@ -15,19 +9,16 @@ import {
15
9
  export { __MetadataBearer, $Command };
16
10
  export interface PutActionsCommandInput extends PutActionsRequest {}
17
11
  export interface PutActionsCommandOutput extends __MetadataBearer {}
18
- export declare class PutActionsCommand extends $Command<
19
- PutActionsCommandInput,
20
- PutActionsCommandOutput,
21
- PersonalizeEventsClientResolvedConfig
22
- > {
23
- readonly input: PutActionsCommandInput;
24
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
25
- constructor(input: PutActionsCommandInput);
26
- resolveMiddleware(
27
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
28
- configuration: PersonalizeEventsClientResolvedConfig,
29
- options?: __HttpHandlerOptions
30
- ): Handler<PutActionsCommandInput, PutActionsCommandOutput>;
31
- private serialize;
32
- private deserialize;
33
- }
12
+ declare const PutActionsCommand_base: {
13
+ new (
14
+ input: PutActionsCommandInput
15
+ ): import("@smithy/smithy-client").CommandImpl<
16
+ PutActionsCommandInput,
17
+ PutActionsCommandOutput,
18
+ PersonalizeEventsClientResolvedConfig,
19
+ ServiceInputTypes,
20
+ ServiceOutputTypes
21
+ >;
22
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
23
+ };
24
+ export declare class PutActionsCommand extends PutActionsCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import { PutEventsRequest } from "../models/models_0";
10
4
  import {
11
5
  PersonalizeEventsClientResolvedConfig,
@@ -15,19 +9,16 @@ import {
15
9
  export { __MetadataBearer, $Command };
16
10
  export interface PutEventsCommandInput extends PutEventsRequest {}
17
11
  export interface PutEventsCommandOutput extends __MetadataBearer {}
18
- export declare class PutEventsCommand extends $Command<
19
- PutEventsCommandInput,
20
- PutEventsCommandOutput,
21
- PersonalizeEventsClientResolvedConfig
22
- > {
23
- readonly input: PutEventsCommandInput;
24
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
25
- constructor(input: PutEventsCommandInput);
26
- resolveMiddleware(
27
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
28
- configuration: PersonalizeEventsClientResolvedConfig,
29
- options?: __HttpHandlerOptions
30
- ): Handler<PutEventsCommandInput, PutEventsCommandOutput>;
31
- private serialize;
32
- private deserialize;
33
- }
12
+ declare const PutEventsCommand_base: {
13
+ new (
14
+ input: PutEventsCommandInput
15
+ ): import("@smithy/smithy-client").CommandImpl<
16
+ PutEventsCommandInput,
17
+ PutEventsCommandOutput,
18
+ PersonalizeEventsClientResolvedConfig,
19
+ ServiceInputTypes,
20
+ ServiceOutputTypes
21
+ >;
22
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
23
+ };
24
+ export declare class PutEventsCommand extends PutEventsCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import { PutItemsRequest } from "../models/models_0";
10
4
  import {
11
5
  PersonalizeEventsClientResolvedConfig,
@@ -15,19 +9,16 @@ import {
15
9
  export { __MetadataBearer, $Command };
16
10
  export interface PutItemsCommandInput extends PutItemsRequest {}
17
11
  export interface PutItemsCommandOutput extends __MetadataBearer {}
18
- export declare class PutItemsCommand extends $Command<
19
- PutItemsCommandInput,
20
- PutItemsCommandOutput,
21
- PersonalizeEventsClientResolvedConfig
22
- > {
23
- readonly input: PutItemsCommandInput;
24
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
25
- constructor(input: PutItemsCommandInput);
26
- resolveMiddleware(
27
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
28
- configuration: PersonalizeEventsClientResolvedConfig,
29
- options?: __HttpHandlerOptions
30
- ): Handler<PutItemsCommandInput, PutItemsCommandOutput>;
31
- private serialize;
32
- private deserialize;
33
- }
12
+ declare const PutItemsCommand_base: {
13
+ new (
14
+ input: PutItemsCommandInput
15
+ ): import("@smithy/smithy-client").CommandImpl<
16
+ PutItemsCommandInput,
17
+ PutItemsCommandOutput,
18
+ PersonalizeEventsClientResolvedConfig,
19
+ ServiceInputTypes,
20
+ ServiceOutputTypes
21
+ >;
22
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
23
+ };
24
+ export declare class PutItemsCommand extends PutItemsCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import { PutUsersRequest } from "../models/models_0";
10
4
  import {
11
5
  PersonalizeEventsClientResolvedConfig,
@@ -15,19 +9,16 @@ import {
15
9
  export { __MetadataBearer, $Command };
16
10
  export interface PutUsersCommandInput extends PutUsersRequest {}
17
11
  export interface PutUsersCommandOutput extends __MetadataBearer {}
18
- export declare class PutUsersCommand extends $Command<
19
- PutUsersCommandInput,
20
- PutUsersCommandOutput,
21
- PersonalizeEventsClientResolvedConfig
22
- > {
23
- readonly input: PutUsersCommandInput;
24
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
25
- constructor(input: PutUsersCommandInput);
26
- resolveMiddleware(
27
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
28
- configuration: PersonalizeEventsClientResolvedConfig,
29
- options?: __HttpHandlerOptions
30
- ): Handler<PutUsersCommandInput, PutUsersCommandOutput>;
31
- private serialize;
32
- private deserialize;
33
- }
12
+ declare const PutUsersCommand_base: {
13
+ new (
14
+ input: PutUsersCommandInput
15
+ ): import("@smithy/smithy-client").CommandImpl<
16
+ PutUsersCommandInput,
17
+ PutUsersCommandOutput,
18
+ PersonalizeEventsClientResolvedConfig,
19
+ ServiceInputTypes,
20
+ ServiceOutputTypes
21
+ >;
22
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
23
+ };
24
+ export declare class PutUsersCommand extends PutUsersCommand_base {}
@@ -25,6 +25,24 @@ export declare const resolveClientEndpointParameters: <T>(
25
25
  ClientInputEndpointParameters & {
26
26
  defaultSigningName: string;
27
27
  };
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
28
46
  export interface EndpointParameters extends __EndpointParameters {
29
47
  Region?: string;
30
48
  UseDualStack?: boolean;
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.477.0",
4
+ "version": "3.481.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",
@@ -20,40 +20,40 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.477.0",
24
- "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "3.477.0",
23
+ "@aws-sdk/client-sts": "3.481.0",
24
+ "@aws-sdk/core": "3.481.0",
25
+ "@aws-sdk/credential-provider-node": "3.481.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
29
29
  "@aws-sdk/middleware-signing": "3.468.0",
30
- "@aws-sdk/middleware-user-agent": "3.470.0",
30
+ "@aws-sdk/middleware-user-agent": "3.478.0",
31
31
  "@aws-sdk/region-config-resolver": "3.470.0",
32
32
  "@aws-sdk/types": "3.468.0",
33
- "@aws-sdk/util-endpoints": "3.470.0",
33
+ "@aws-sdk/util-endpoints": "3.478.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
36
  "@smithy/config-resolver": "^2.0.21",
37
- "@smithy/core": "^1.2.0",
37
+ "@smithy/core": "^1.2.1",
38
38
  "@smithy/fetch-http-handler": "^2.3.1",
39
39
  "@smithy/hash-node": "^2.0.17",
40
40
  "@smithy/invalid-dependency": "^2.0.15",
41
41
  "@smithy/middleware-content-length": "^2.0.17",
42
42
  "@smithy/middleware-endpoint": "^2.2.3",
43
- "@smithy/middleware-retry": "^2.0.24",
43
+ "@smithy/middleware-retry": "^2.0.25",
44
44
  "@smithy/middleware-serde": "^2.0.15",
45
45
  "@smithy/middleware-stack": "^2.0.9",
46
46
  "@smithy/node-config-provider": "^2.1.8",
47
47
  "@smithy/node-http-handler": "^2.2.1",
48
48
  "@smithy/protocol-http": "^3.0.11",
49
- "@smithy/smithy-client": "^2.1.18",
49
+ "@smithy/smithy-client": "^2.2.0",
50
50
  "@smithy/types": "^2.7.0",
51
51
  "@smithy/url-parser": "^2.0.15",
52
52
  "@smithy/util-base64": "^2.0.1",
53
53
  "@smithy/util-body-length-browser": "^2.0.1",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.22",
56
- "@smithy/util-defaults-mode-node": "^2.0.29",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.23",
56
+ "@smithy/util-defaults-mode-node": "^2.0.30",
57
57
  "@smithy/util-endpoints": "^1.0.7",
58
58
  "@smithy/util-retry": "^2.0.8",
59
59
  "@smithy/util-utf8": "^2.0.2",