@aws-sdk/client-cleanroomsml 3.712.0 → 3.714.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
@@ -402,6 +402,18 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
402
402
  };
403
403
  __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
404
404
  var ServiceQuotaExceededException = _ServiceQuotaExceededException;
405
+ var WorkerComputeType = {
406
+ CR1X: "CR.1X",
407
+ CR4X: "CR.4X"
408
+ };
409
+ var ComputeConfiguration;
410
+ ((ComputeConfiguration3) => {
411
+ ComputeConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
412
+ if (value.worker !== void 0)
413
+ return visitor.worker(value.worker);
414
+ return visitor._(value.$unknown[0], value.$unknown[1]);
415
+ }, "visit");
416
+ })(ComputeConfiguration || (ComputeConfiguration = {}));
405
417
  var AudienceGenerationJobStatus = {
406
418
  ACTIVE: "ACTIVE",
407
419
  CREATE_FAILED: "CREATE_FAILED",
@@ -498,18 +510,6 @@ var TrainedModelStatus = {
498
510
  DELETE_PENDING: "DELETE_PENDING",
499
511
  INACTIVE: "INACTIVE"
500
512
  };
501
- var WorkerComputeType = {
502
- CR1X: "CR.1X",
503
- CR4X: "CR.4X"
504
- };
505
- var ComputeConfiguration;
506
- ((ComputeConfiguration3) => {
507
- ComputeConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
508
- if (value.worker !== void 0)
509
- return visitor.worker(value.worker);
510
- return visitor._(value.$unknown[0], value.$unknown[1]);
511
- }, "visit");
512
- })(ComputeConfiguration || (ComputeConfiguration = {}));
513
513
  var InputChannelDataSource;
514
514
  ((InputChannelDataSource3) => {
515
515
  InputChannelDataSource3.visit = /* @__PURE__ */ __name((value, visitor) => {
@@ -723,7 +723,8 @@ var ProtectedQuerySQLParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj)
723
723
  }), "ProtectedQuerySQLParametersFilterSensitiveLog");
724
724
  var AudienceGenerationJobDataSourceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
725
725
  ...obj,
726
- ...obj.sqlParameters && { sqlParameters: import_smithy_client.SENSITIVE_STRING }
726
+ ...obj.sqlParameters && { sqlParameters: import_smithy_client.SENSITIVE_STRING },
727
+ ...obj.sqlComputeConfiguration && { sqlComputeConfiguration: obj.sqlComputeConfiguration }
727
728
  }), "AudienceGenerationJobDataSourceFilterSensitiveLog");
728
729
  var GetAudienceGenerationJobResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
729
730
  ...obj,
@@ -3996,6 +3997,8 @@ var paginateListTrainingDatasets = (0, import_core.createPaginator)(CleanRoomsML
3996
3997
  ConflictException,
3997
3998
  ResourceNotFoundException,
3998
3999
  ServiceQuotaExceededException,
4000
+ WorkerComputeType,
4001
+ ComputeConfiguration,
3999
4002
  AudienceGenerationJobStatus,
4000
4003
  AudienceModelStatus,
4001
4004
  TagOnCreatePolicy,
@@ -4012,8 +4015,6 @@ var paginateListTrainingDatasets = (0, import_core.createPaginator)(CleanRoomsML
4012
4015
  MetricsStatus,
4013
4016
  TrainedModelInferenceJobStatus,
4014
4017
  TrainedModelStatus,
4015
- WorkerComputeType,
4016
- ComputeConfiguration,
4017
4018
  InputChannelDataSource,
4018
4019
  _InstanceType,
4019
4020
  InferenceInstanceType,
@@ -23,6 +23,7 @@ const getRuntimeConfig = (config) => {
23
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
24
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
25
  (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
26
+ const profileConfig = { profile: config?.profile };
26
27
  return {
27
28
  ...clientSharedValues,
28
29
  ...config,
@@ -32,19 +33,20 @@ const getRuntimeConfig = (config) => {
32
33
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
33
34
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
34
35
  (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
- maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
- region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
36
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
37
+ region: config?.region ??
38
+ (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
37
39
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
38
40
  retryMode: config?.retryMode ??
39
41
  (0, node_config_provider_1.loadConfig)({
40
42
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
41
43
  default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
42
- }),
44
+ }, config),
43
45
  sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
44
46
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
45
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
46
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
47
- userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
47
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
48
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
49
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
48
50
  };
49
51
  };
50
52
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -70,6 +70,18 @@ export class ServiceQuotaExceededException extends __BaseException {
70
70
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
71
71
  }
72
72
  }
73
+ export const WorkerComputeType = {
74
+ CR1X: "CR.1X",
75
+ CR4X: "CR.4X",
76
+ };
77
+ export var ComputeConfiguration;
78
+ (function (ComputeConfiguration) {
79
+ ComputeConfiguration.visit = (value, visitor) => {
80
+ if (value.worker !== undefined)
81
+ return visitor.worker(value.worker);
82
+ return visitor._(value.$unknown[0], value.$unknown[1]);
83
+ };
84
+ })(ComputeConfiguration || (ComputeConfiguration = {}));
73
85
  export const AudienceGenerationJobStatus = {
74
86
  ACTIVE: "ACTIVE",
75
87
  CREATE_FAILED: "CREATE_FAILED",
@@ -166,18 +178,6 @@ export const TrainedModelStatus = {
166
178
  DELETE_PENDING: "DELETE_PENDING",
167
179
  INACTIVE: "INACTIVE",
168
180
  };
169
- export const WorkerComputeType = {
170
- CR1X: "CR.1X",
171
- CR4X: "CR.4X",
172
- };
173
- export var ComputeConfiguration;
174
- (function (ComputeConfiguration) {
175
- ComputeConfiguration.visit = (value, visitor) => {
176
- if (value.worker !== undefined)
177
- return visitor.worker(value.worker);
178
- return visitor._(value.$unknown[0], value.$unknown[1]);
179
- };
180
- })(ComputeConfiguration || (ComputeConfiguration = {}));
181
181
  export var InputChannelDataSource;
182
182
  (function (InputChannelDataSource) {
183
183
  InputChannelDataSource.visit = (value, visitor) => {
@@ -392,6 +392,7 @@ export const ProtectedQuerySQLParametersFilterSensitiveLog = (obj) => ({
392
392
  export const AudienceGenerationJobDataSourceFilterSensitiveLog = (obj) => ({
393
393
  ...obj,
394
394
  ...(obj.sqlParameters && { sqlParameters: SENSITIVE_STRING }),
395
+ ...(obj.sqlComputeConfiguration && { sqlComputeConfiguration: obj.sqlComputeConfiguration }),
395
396
  });
396
397
  export const GetAudienceGenerationJobResponseFilterSensitiveLog = (obj) => ({
397
398
  ...obj,
@@ -19,6 +19,7 @@ export const getRuntimeConfig = (config) => {
19
19
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
20
  const clientSharedValues = getSharedRuntimeConfig(config);
21
21
  awsCheckVersion(process.version);
22
+ const profileConfig = { profile: config?.profile };
22
23
  return {
23
24
  ...clientSharedValues,
24
25
  ...config,
@@ -28,18 +29,19 @@ export const getRuntimeConfig = (config) => {
28
29
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
29
30
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
30
31
  createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
31
- maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
32
- region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
32
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
33
+ region: config?.region ??
34
+ loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
33
35
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
34
36
  retryMode: config?.retryMode ??
35
37
  loadNodeConfig({
36
38
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
37
39
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
38
- }),
40
+ }, config),
39
41
  sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
40
42
  streamCollector: config?.streamCollector ?? streamCollector,
41
- useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
42
- useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
43
- userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
43
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
44
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
45
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
44
46
  };
45
47
  };
@@ -152,6 +152,24 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
152
152
  * The AWS region to which this client will send requests
153
153
  */
154
154
  region?: string | __Provider<string>;
155
+ /**
156
+ * Setting a client profile is similar to setting a value for the
157
+ * AWS_PROFILE environment variable. Setting a profile on a client
158
+ * in code only affects the single client instance, unlike AWS_PROFILE.
159
+ *
160
+ * When set, and only for environments where an AWS configuration
161
+ * file exists, fields configurable by this file will be retrieved
162
+ * from the specified profile within that file.
163
+ * Conflicting code configuration and environment variables will
164
+ * still have higher priority.
165
+ *
166
+ * For client credential resolution that involves checking the AWS
167
+ * configuration file, the client's profile (this value) will be
168
+ * used unless a different profile is set in the credential
169
+ * provider options.
170
+ *
171
+ */
172
+ profile?: string;
155
173
  /**
156
174
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
157
175
  * @internal
@@ -63,6 +63,12 @@ declare const GetAudienceGenerationJobCommand_base: {
63
63
  * // "<keys>": "STRING_VALUE",
64
64
  * // },
65
65
  * // },
66
+ * // sqlComputeConfiguration: { // ComputeConfiguration Union: only one key present
67
+ * // worker: { // WorkerComputeConfiguration
68
+ * // type: "CR.1X" || "CR.4X",
69
+ * // number: Number("int"),
70
+ * // },
71
+ * // },
66
72
  * // },
67
73
  * // includeSeedInOutput: true || false,
68
74
  * // collaborationId: "STRING_VALUE",
@@ -49,6 +49,12 @@ declare const StartAudienceGenerationJobCommand_base: {
49
49
  * "<keys>": "STRING_VALUE",
50
50
  * },
51
51
  * },
52
+ * sqlComputeConfiguration: { // ComputeConfiguration Union: only one key present
53
+ * worker: { // WorkerComputeConfiguration
54
+ * type: "CR.1X" || "CR.4X",
55
+ * number: Number("int"),
56
+ * },
57
+ * },
52
58
  * },
53
59
  * includeSeedInOutput: true || false,
54
60
  * collaborationId: "STRING_VALUE",
@@ -306,6 +306,64 @@ export interface AudienceQualityMetrics {
306
306
  */
307
307
  recallMetric?: number | undefined;
308
308
  }
309
+ /**
310
+ * @public
311
+ * @enum
312
+ */
313
+ export declare const WorkerComputeType: {
314
+ readonly CR1X: "CR.1X";
315
+ readonly CR4X: "CR.4X";
316
+ };
317
+ /**
318
+ * @public
319
+ */
320
+ export type WorkerComputeType = (typeof WorkerComputeType)[keyof typeof WorkerComputeType];
321
+ /**
322
+ * <p>Configuration information about the compute workers that perform the transform job.</p>
323
+ * @public
324
+ */
325
+ export interface WorkerComputeConfiguration {
326
+ /**
327
+ * <p>The instance type of the compute workers that are used.</p>
328
+ * @public
329
+ */
330
+ type?: WorkerComputeType | undefined;
331
+ /**
332
+ * <p>The number of compute workers that are used.</p>
333
+ * @public
334
+ */
335
+ number?: number | undefined;
336
+ }
337
+ /**
338
+ * <p>Provides configuration information for the instances that will perform the compute work.</p>
339
+ * @public
340
+ */
341
+ export type ComputeConfiguration = ComputeConfiguration.WorkerMember | ComputeConfiguration.$UnknownMember;
342
+ /**
343
+ * @public
344
+ */
345
+ export declare namespace ComputeConfiguration {
346
+ /**
347
+ * <p>The worker instances that will perform the compute work.</p>
348
+ * @public
349
+ */
350
+ interface WorkerMember {
351
+ worker: WorkerComputeConfiguration;
352
+ $unknown?: never;
353
+ }
354
+ /**
355
+ * @public
356
+ */
357
+ interface $UnknownMember {
358
+ worker?: never;
359
+ $unknown: [string, any];
360
+ }
361
+ interface Visitor<T> {
362
+ worker: (value: WorkerComputeConfiguration) => T;
363
+ _: (name: string, value: any) => T;
364
+ }
365
+ const visit: <T>(value: ComputeConfiguration, visitor: Visitor<T>) => T;
366
+ }
309
367
  /**
310
368
  * <p>The parameters for the SQL type Protected Query.</p>
311
369
  * @public
@@ -357,6 +415,11 @@ export interface AudienceGenerationJobDataSource {
357
415
  * @public
358
416
  */
359
417
  sqlParameters?: ProtectedQuerySQLParameters | undefined;
418
+ /**
419
+ * <p>Provides configuration information for the instances that will perform the compute work.</p>
420
+ * @public
421
+ */
422
+ sqlComputeConfiguration?: ComputeConfiguration | undefined;
360
423
  }
361
424
  /**
362
425
  * @public
@@ -2883,64 +2946,6 @@ export interface PutMLConfigurationRequest {
2883
2946
  */
2884
2947
  defaultOutputLocation: MLOutputConfiguration | undefined;
2885
2948
  }
2886
- /**
2887
- * @public
2888
- * @enum
2889
- */
2890
- export declare const WorkerComputeType: {
2891
- readonly CR1X: "CR.1X";
2892
- readonly CR4X: "CR.4X";
2893
- };
2894
- /**
2895
- * @public
2896
- */
2897
- export type WorkerComputeType = (typeof WorkerComputeType)[keyof typeof WorkerComputeType];
2898
- /**
2899
- * <p>Configuration information about the compute workers that perform the transform job.</p>
2900
- * @public
2901
- */
2902
- export interface WorkerComputeConfiguration {
2903
- /**
2904
- * <p>The instance type of the compute workers that are used.</p>
2905
- * @public
2906
- */
2907
- type?: WorkerComputeType | undefined;
2908
- /**
2909
- * <p>The number of compute workers that are used.</p>
2910
- * @public
2911
- */
2912
- number?: number | undefined;
2913
- }
2914
- /**
2915
- * <p>Provides configuration information for the instances that will perform the compute work.</p>
2916
- * @public
2917
- */
2918
- export type ComputeConfiguration = ComputeConfiguration.WorkerMember | ComputeConfiguration.$UnknownMember;
2919
- /**
2920
- * @public
2921
- */
2922
- export declare namespace ComputeConfiguration {
2923
- /**
2924
- * <p>The worker instances that will perform the compute work.</p>
2925
- * @public
2926
- */
2927
- interface WorkerMember {
2928
- worker: WorkerComputeConfiguration;
2929
- $unknown?: never;
2930
- }
2931
- /**
2932
- * @public
2933
- */
2934
- interface $UnknownMember {
2935
- worker?: never;
2936
- $unknown: [string, any];
2937
- }
2938
- interface Visitor<T> {
2939
- worker: (value: WorkerComputeConfiguration) => T;
2940
- _: (name: string, value: any) => T;
2941
- }
2942
- const visit: <T>(value: ComputeConfiguration, visitor: Visitor<T>) => T;
2943
- }
2944
2949
  /**
2945
2950
  * <p>Provides information necessary to perform the protected query.</p>
2946
2951
  * @public
@@ -4570,7 +4575,7 @@ export interface StartTrainedModelInferenceJobRequest {
4570
4575
  */
4571
4576
  outputConfiguration: InferenceOutputConfiguration | undefined;
4572
4577
  /**
4573
- * <p>Defines he data source that is used for the trained model inference job.</p>
4578
+ * <p>Defines the data source that is used for the trained model inference job.</p>
4574
4579
  * @public
4575
4580
  */
4576
4581
  dataSource: ModelInferenceDataSource | undefined;
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: CleanRoomsMLClientConfig) => {
26
26
  utf8Encoder: (input: string | Uint8Array) => string;
27
27
  disableHostPrefix: boolean;
28
28
  serviceId: string;
29
+ profile?: string | undefined;
29
30
  logger: import("@smithy/types").Logger;
30
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: CleanRoomsMLClientConfig) => {
27
27
  utf8Encoder: (input: string | Uint8Array) => string;
28
28
  disableHostPrefix: boolean;
29
29
  serviceId: string;
30
+ profile?: string | undefined;
30
31
  logger: import("@smithy/types").Logger;
31
32
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -20,6 +20,7 @@ export declare const getRuntimeConfig: (config: CleanRoomsMLClientConfig) => {
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  region: string | import("@smithy/types").Provider<any>;
23
+ profile?: string | undefined;
23
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
24
25
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -419,6 +419,7 @@ export interface ClientDefaults
419
419
  useDualstackEndpoint?: boolean | __Provider<boolean>;
420
420
  useFipsEndpoint?: boolean | __Provider<boolean>;
421
421
  region?: string | __Provider<string>;
422
+ profile?: string;
422
423
  defaultUserAgentProvider?: Provider<__UserAgent>;
423
424
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
424
425
  maxAttempts?: number | __Provider<number>;
@@ -101,6 +101,34 @@ export interface AudienceQualityMetrics {
101
101
  relevanceMetrics: RelevanceMetric[] | undefined;
102
102
  recallMetric?: number | undefined;
103
103
  }
104
+ export declare const WorkerComputeType: {
105
+ readonly CR1X: "CR.1X";
106
+ readonly CR4X: "CR.4X";
107
+ };
108
+ export type WorkerComputeType =
109
+ (typeof WorkerComputeType)[keyof typeof WorkerComputeType];
110
+ export interface WorkerComputeConfiguration {
111
+ type?: WorkerComputeType | undefined;
112
+ number?: number | undefined;
113
+ }
114
+ export type ComputeConfiguration =
115
+ | ComputeConfiguration.WorkerMember
116
+ | ComputeConfiguration.$UnknownMember;
117
+ export declare namespace ComputeConfiguration {
118
+ interface WorkerMember {
119
+ worker: WorkerComputeConfiguration;
120
+ $unknown?: never;
121
+ }
122
+ interface $UnknownMember {
123
+ worker?: never;
124
+ $unknown: [string, any];
125
+ }
126
+ interface Visitor<T> {
127
+ worker: (value: WorkerComputeConfiguration) => T;
128
+ _: (name: string, value: any) => T;
129
+ }
130
+ const visit: <T>(value: ComputeConfiguration, visitor: Visitor<T>) => T;
131
+ }
104
132
  export interface ProtectedQuerySQLParameters {
105
133
  queryString?: string | undefined;
106
134
  analysisTemplateArn?: string | undefined;
@@ -110,6 +138,7 @@ export interface AudienceGenerationJobDataSource {
110
138
  dataSource?: S3ConfigMap | undefined;
111
139
  roleArn: string | undefined;
112
140
  sqlParameters?: ProtectedQuerySQLParameters | undefined;
141
+ sqlComputeConfiguration?: ComputeConfiguration | undefined;
113
142
  }
114
143
  export declare const AudienceGenerationJobStatus: {
115
144
  readonly ACTIVE: "ACTIVE";
@@ -756,34 +785,6 @@ export interface PutMLConfigurationRequest {
756
785
  membershipIdentifier: string | undefined;
757
786
  defaultOutputLocation: MLOutputConfiguration | undefined;
758
787
  }
759
- export declare const WorkerComputeType: {
760
- readonly CR1X: "CR.1X";
761
- readonly CR4X: "CR.4X";
762
- };
763
- export type WorkerComputeType =
764
- (typeof WorkerComputeType)[keyof typeof WorkerComputeType];
765
- export interface WorkerComputeConfiguration {
766
- type?: WorkerComputeType | undefined;
767
- number?: number | undefined;
768
- }
769
- export type ComputeConfiguration =
770
- | ComputeConfiguration.WorkerMember
771
- | ComputeConfiguration.$UnknownMember;
772
- export declare namespace ComputeConfiguration {
773
- interface WorkerMember {
774
- worker: WorkerComputeConfiguration;
775
- $unknown?: never;
776
- }
777
- interface $UnknownMember {
778
- worker?: never;
779
- $unknown: [string, any];
780
- }
781
- interface Visitor<T> {
782
- worker: (value: WorkerComputeConfiguration) => T;
783
- _: (name: string, value: any) => T;
784
- }
785
- const visit: <T>(value: ComputeConfiguration, visitor: Visitor<T>) => T;
786
- }
787
788
  export interface ProtectedQueryInputParameters {
788
789
  sqlParameters: ProtectedQuerySQLParameters | undefined;
789
790
  computeConfiguration?: ComputeConfiguration | undefined;
@@ -33,6 +33,7 @@ export declare const getRuntimeConfig: (config: CleanRoomsMLClientConfig) => {
33
33
  utf8Encoder: (input: string | Uint8Array) => string;
34
34
  disableHostPrefix: boolean;
35
35
  serviceId: string;
36
+ profile?: string | undefined;
36
37
  logger: import("@smithy/types").Logger;
37
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
38
39
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: CleanRoomsMLClientConfig) => {
38
38
  utf8Encoder: (input: string | Uint8Array) => string;
39
39
  disableHostPrefix: boolean;
40
40
  serviceId: string;
41
+ profile?: string | undefined;
41
42
  logger: import("@smithy/types").Logger;
42
43
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
44
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -22,6 +22,7 @@ export declare const getRuntimeConfig: (config: CleanRoomsMLClientConfig) => {
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
+ profile?: string | undefined;
25
26
  defaultUserAgentProvider: (
26
27
  config?:
27
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cleanroomsml",
3
3
  "description": "AWS SDK for JavaScript Cleanroomsml Client for Node.js, Browser and React Native",
4
- "version": "3.712.0",
4
+ "version": "3.714.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-cleanroomsml",
@@ -20,19 +20,19 @@
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.712.0",
24
- "@aws-sdk/client-sts": "3.712.0",
25
- "@aws-sdk/core": "3.709.0",
26
- "@aws-sdk/credential-provider-node": "3.712.0",
27
- "@aws-sdk/middleware-host-header": "3.709.0",
28
- "@aws-sdk/middleware-logger": "3.709.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.709.0",
30
- "@aws-sdk/middleware-user-agent": "3.709.0",
31
- "@aws-sdk/region-config-resolver": "3.709.0",
32
- "@aws-sdk/types": "3.709.0",
33
- "@aws-sdk/util-endpoints": "3.709.0",
34
- "@aws-sdk/util-user-agent-browser": "3.709.0",
35
- "@aws-sdk/util-user-agent-node": "3.712.0",
23
+ "@aws-sdk/client-sso-oidc": "3.714.0",
24
+ "@aws-sdk/client-sts": "3.714.0",
25
+ "@aws-sdk/core": "3.714.0",
26
+ "@aws-sdk/credential-provider-node": "3.714.0",
27
+ "@aws-sdk/middleware-host-header": "3.714.0",
28
+ "@aws-sdk/middleware-logger": "3.714.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
+ "@aws-sdk/middleware-user-agent": "3.714.0",
31
+ "@aws-sdk/region-config-resolver": "3.714.0",
32
+ "@aws-sdk/types": "3.714.0",
33
+ "@aws-sdk/util-endpoints": "3.714.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.714.0",
35
+ "@aws-sdk/util-user-agent-node": "3.714.0",
36
36
  "@smithy/config-resolver": "^3.0.13",
37
37
  "@smithy/core": "^2.5.5",
38
38
  "@smithy/fetch-http-handler": "^4.1.2",