@aws-sdk/client-personalize-runtime 3.588.0 → 3.592.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 CHANGED
@@ -190,7 +190,6 @@ var PersonalizeRuntimeClient = _PersonalizeRuntimeClient;
190
190
 
191
191
  var import_middleware_serde = require("@smithy/middleware-serde");
192
192
 
193
- var import_types = require("@smithy/types");
194
193
 
195
194
  // src/models/models_0.ts
196
195
 
@@ -491,7 +490,6 @@ var GetActionRecommendationsCommand = _GetActionRecommendationsCommand;
491
490
 
492
491
 
493
492
 
494
-
495
493
  var _GetPersonalizedRankingCommand = class _GetPersonalizedRankingCommand extends import_smithy_client.Command.classBuilder().ep({
496
494
  ...commonParams
497
495
  }).m(function(Command, cs, config, o) {
@@ -508,7 +506,6 @@ var GetPersonalizedRankingCommand = _GetPersonalizedRankingCommand;
508
506
 
509
507
 
510
508
 
511
-
512
509
  var _GetRecommendationsCommand = class _GetRecommendationsCommand extends import_smithy_client.Command.classBuilder().ep({
513
510
  ...commonParams
514
511
  }).m(function(Command, cs, config, o) {
@@ -93,15 +93,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
93
93
  * Enables FIPS compatible endpoints.
94
94
  */
95
95
  useFipsEndpoint?: boolean | __Provider<boolean>;
96
+ /**
97
+ * The AWS region to which this client will send requests
98
+ */
99
+ region?: string | __Provider<string>;
96
100
  /**
97
101
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
98
102
  * @internal
99
103
  */
100
104
  defaultUserAgentProvider?: Provider<__UserAgent>;
101
- /**
102
- * The AWS region to which this client will send requests
103
- */
104
- region?: string | __Provider<string>;
105
105
  /**
106
106
  * Default credentials provider; Not available in browser runtime.
107
107
  * @deprecated
@@ -5,7 +5,8 @@ import { PersonalizeRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutpu
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { PersonalizeRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutpu
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { PersonalizeRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutpu
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -6,8 +6,8 @@
6
6
  export * from "./PersonalizeRuntimeClient";
7
7
  export * from "./PersonalizeRuntime";
8
8
  export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
- export { RuntimeExtension } from "./runtimeExtensions";
10
- export { PersonalizeRuntimeExtensionConfiguration } from "./extensionConfiguration";
9
+ export type { RuntimeExtension } from "./runtimeExtensions";
10
+ export type { PersonalizeRuntimeExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./models";
13
13
  export { PersonalizeRuntimeServiceException } from "./models/PersonalizeRuntimeServiceException";
@@ -1,5 +1,6 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
- export { __ServiceException, __ServiceExceptionOptions };
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
3
4
  /**
4
5
  * @public
5
6
  *
@@ -18,8 +18,8 @@ export declare const getRuntimeConfig: (config: PersonalizeRuntimeClientConfig)
18
18
  serviceId: string;
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
22
21
  region: string | import("@smithy/types").Provider<any>;
22
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
23
23
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
24
24
  maxAttempts: number | import("@smithy/types").Provider<number>;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
@@ -88,8 +88,8 @@ export interface ClientDefaults
88
88
  serviceId?: string;
89
89
  useDualstackEndpoint?: boolean | __Provider<boolean>;
90
90
  useFipsEndpoint?: boolean | __Provider<boolean>;
91
- defaultUserAgentProvider?: Provider<__UserAgent>;
92
91
  region?: string | __Provider<string>;
92
+ defaultUserAgentProvider?: Provider<__UserAgent>;
93
93
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
94
94
  maxAttempts?: number | __Provider<number>;
95
95
  retryMode?: string | __Provider<string>;
@@ -9,7 +9,8 @@ import {
9
9
  ServiceInputTypes,
10
10
  ServiceOutputTypes,
11
11
  } from "../PersonalizeRuntimeClient";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface GetActionRecommendationsCommandInput
14
15
  extends GetActionRecommendationsRequest {}
15
16
  export interface GetActionRecommendationsCommandOutput
@@ -9,7 +9,8 @@ import {
9
9
  ServiceInputTypes,
10
10
  ServiceOutputTypes,
11
11
  } from "../PersonalizeRuntimeClient";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface GetPersonalizedRankingCommandInput
14
15
  extends GetPersonalizedRankingRequest {}
15
16
  export interface GetPersonalizedRankingCommandOutput
@@ -9,7 +9,8 @@ import {
9
9
  ServiceInputTypes,
10
10
  ServiceOutputTypes,
11
11
  } from "../PersonalizeRuntimeClient";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface GetRecommendationsCommandInput
14
15
  extends GetRecommendationsRequest {}
15
16
  export interface GetRecommendationsCommandOutput
@@ -2,7 +2,8 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@smithy/smithy-client";
5
- export { __ServiceException, __ServiceExceptionOptions };
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
6
7
  export declare class PersonalizeRuntimeServiceException extends __ServiceException {
7
8
  constructor(options: __ServiceExceptionOptions);
8
9
  }
@@ -22,10 +22,10 @@ export declare const getRuntimeConfig: (
22
22
  serviceId: string;
23
23
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
+ region: string | import("@smithy/types").Provider<any>;
25
26
  defaultUserAgentProvider: import("@smithy/types").Provider<
26
27
  import("@smithy/types").UserAgent
27
28
  >;
28
- region: string | import("@smithy/types").Provider<any>;
29
29
  credentialDefaultProvider: (
30
30
  input: any
31
31
  ) => import("@smithy/types").AwsCredentialIdentityProvider;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-personalize-runtime",
3
3
  "description": "AWS SDK for JavaScript Personalize Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.588.0",
4
+ "version": "3.592.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-runtime",
@@ -20,10 +20,10 @@
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-sso-oidc": "3.588.0",
24
- "@aws-sdk/client-sts": "3.588.0",
25
- "@aws-sdk/core": "3.588.0",
26
- "@aws-sdk/credential-provider-node": "3.588.0",
23
+ "@aws-sdk/client-sso-oidc": "3.592.0",
24
+ "@aws-sdk/client-sts": "3.592.0",
25
+ "@aws-sdk/core": "3.592.0",
26
+ "@aws-sdk/credential-provider-node": "3.592.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
@@ -34,7 +34,7 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.577.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.587.0",
36
36
  "@smithy/config-resolver": "^3.0.1",
37
- "@smithy/core": "^2.1.1",
37
+ "@smithy/core": "^2.2.0",
38
38
  "@smithy/fetch-http-handler": "^3.0.1",
39
39
  "@smithy/hash-node": "^3.0.0",
40
40
  "@smithy/invalid-dependency": "^3.0.0",