@aws-sdk/client-cleanrooms 3.935.0 → 3.939.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 +113 -0
- package/dist-es/models/enums.js +97 -0
- package/dist-es/models/models_0.js +1 -82
- package/dist-es/models/models_1.js +1 -15
- package/dist-types/models/enums.d.ts +225 -0
- package/dist-types/models/errors.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +294 -187
- package/dist-types/models/models_1.d.ts +2 -334
- package/dist-types/ts3.4/models/enums.d.ts +125 -0
- package/dist-types/ts3.4/models/errors.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +143 -104
- package/dist-types/ts3.4/models/models_1.d.ts +8 -157
- package/package.json +12 -12
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import { AccessBudgetType, AdditionalAnalyses, AnalysisFormat, AnalysisMethod, AnalysisRuleType, AnalysisTemplateValidationStatus, AnalysisTemplateValidationType, AnalysisType, AnalyticsEngine, AutoApprovedChangeType, AutoRefreshMode, ChangeRequestStatus, ChangeSpecificationType, ChangeType, CollaborationJobLogStatus, CollaborationQueryLogStatus, CommercialRegion, ConfiguredTableAnalysisRuleType, ConfiguredTableAssociationAnalysisRuleType, CustomMLMemberAbility, DifferentialPrivacyAggregationType, ErrorMessageType, IdNamespaceType, JobType, MemberAbility, MembershipJobLogStatus, MembershipQueryLogStatus, ParameterType, PrivacyBudgetTemplateAutoRefresh, PrivacyBudgetType, ProtectedJobStatus, ProtectedJobWorkerComputeType, SchemaConfiguration, SchemaStatus, SchemaStatusReasonCode, SchemaType, SelectedAnalysisMethod, SupportedS3Region, WorkerComputeType } from "./enums";
|
|
2
|
+
import { AccessBudgetType, AdditionalAnalyses, AggregateFunctionName, AggregationType, AnalysisFormat, AnalysisMethod, AnalysisRuleType, AnalysisTemplateValidationStatus, AnalysisTemplateValidationType, AnalysisType, AnalyticsEngine, AutoApprovedChangeType, AutoRefreshMode, ChangeRequestStatus, ChangeSpecificationType, ChangeType, CollaborationJobLogStatus, CollaborationQueryLogStatus, CommercialRegion, ConfiguredTableAnalysisRuleType, ConfiguredTableAssociationAnalysisRuleType, CustomMLMemberAbility, DifferentialPrivacyAggregationType, ErrorMessageType, FilterableMemberStatus, IdNamespaceType, JobType, JoinOperator, JoinRequiredOption, MemberAbility, MembershipJobLogStatus, MembershipQueryLogStatus, MembershipStatus, MemberStatus, ParameterType, PrivacyBudgetTemplateAutoRefresh, PrivacyBudgetType, ProtectedJobStatus, ProtectedJobWorkerComputeType, ResultFormat, ScalarFunctions, SchemaConfiguration, SchemaStatus, SchemaStatusReasonCode, SchemaType, SelectedAnalysisMethod, SupportedS3Region, WorkerComputeType } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Detailed information about an access budget including time bounds, budget allocation, and configuration settings.</p>
|
|
5
5
|
* @public
|
|
@@ -121,32 +121,6 @@ export interface AccessBudgetsPrivacyTemplateUpdateParameters {
|
|
|
121
121
|
*/
|
|
122
122
|
budgetParameters: BudgetParameter[] | undefined;
|
|
123
123
|
}
|
|
124
|
-
/**
|
|
125
|
-
* @public
|
|
126
|
-
* @enum
|
|
127
|
-
*/
|
|
128
|
-
export declare const AccessDeniedExceptionReason: {
|
|
129
|
-
readonly INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS";
|
|
130
|
-
};
|
|
131
|
-
/**
|
|
132
|
-
* @public
|
|
133
|
-
*/
|
|
134
|
-
export type AccessDeniedExceptionReason = (typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
|
|
135
|
-
/**
|
|
136
|
-
* @public
|
|
137
|
-
* @enum
|
|
138
|
-
*/
|
|
139
|
-
export declare const AggregateFunctionName: {
|
|
140
|
-
readonly AVG: "AVG";
|
|
141
|
-
readonly COUNT: "COUNT";
|
|
142
|
-
readonly COUNT_DISTINCT: "COUNT_DISTINCT";
|
|
143
|
-
readonly SUM: "SUM";
|
|
144
|
-
readonly SUM_DISTINCT: "SUM_DISTINCT";
|
|
145
|
-
};
|
|
146
|
-
/**
|
|
147
|
-
* @public
|
|
148
|
-
*/
|
|
149
|
-
export type AggregateFunctionName = (typeof AggregateFunctionName)[keyof typeof AggregateFunctionName];
|
|
150
124
|
/**
|
|
151
125
|
* <p>Column in configured table that can be used in aggregate function in query.</p>
|
|
152
126
|
* @public
|
|
@@ -163,17 +137,6 @@ export interface AggregateColumn {
|
|
|
163
137
|
*/
|
|
164
138
|
function: AggregateFunctionName | undefined;
|
|
165
139
|
}
|
|
166
|
-
/**
|
|
167
|
-
* @public
|
|
168
|
-
* @enum
|
|
169
|
-
*/
|
|
170
|
-
export declare const AggregationType: {
|
|
171
|
-
readonly COUNT_DISTINCT: "COUNT_DISTINCT";
|
|
172
|
-
};
|
|
173
|
-
/**
|
|
174
|
-
* @public
|
|
175
|
-
*/
|
|
176
|
-
export type AggregationType = (typeof AggregationType)[keyof typeof AggregationType];
|
|
177
140
|
/**
|
|
178
141
|
* <p>Constraint on query output removing output rows that do not meet a minimum number of distinct values of a specified column.</p>
|
|
179
142
|
* @public
|
|
@@ -356,63 +319,6 @@ export declare namespace ConfiguredTableAssociationAnalysisRulePolicy {
|
|
|
356
319
|
_: (name: string, value: any) => T;
|
|
357
320
|
}
|
|
358
321
|
}
|
|
359
|
-
/**
|
|
360
|
-
* @public
|
|
361
|
-
* @enum
|
|
362
|
-
*/
|
|
363
|
-
export declare const JoinOperator: {
|
|
364
|
-
readonly AND: "AND";
|
|
365
|
-
readonly OR: "OR";
|
|
366
|
-
};
|
|
367
|
-
/**
|
|
368
|
-
* @public
|
|
369
|
-
*/
|
|
370
|
-
export type JoinOperator = (typeof JoinOperator)[keyof typeof JoinOperator];
|
|
371
|
-
/**
|
|
372
|
-
* @public
|
|
373
|
-
* @enum
|
|
374
|
-
*/
|
|
375
|
-
export declare const JoinRequiredOption: {
|
|
376
|
-
readonly QUERY_RUNNER: "QUERY_RUNNER";
|
|
377
|
-
};
|
|
378
|
-
/**
|
|
379
|
-
* @public
|
|
380
|
-
*/
|
|
381
|
-
export type JoinRequiredOption = (typeof JoinRequiredOption)[keyof typeof JoinRequiredOption];
|
|
382
|
-
/**
|
|
383
|
-
* @public
|
|
384
|
-
* @enum
|
|
385
|
-
*/
|
|
386
|
-
export declare const ScalarFunctions: {
|
|
387
|
-
readonly ABS: "ABS";
|
|
388
|
-
readonly CAST: "CAST";
|
|
389
|
-
readonly CEILING: "CEILING";
|
|
390
|
-
readonly COALESCE: "COALESCE";
|
|
391
|
-
readonly CONVERT: "CONVERT";
|
|
392
|
-
readonly CURRENT_DATE: "CURRENT_DATE";
|
|
393
|
-
readonly DATEADD: "DATEADD";
|
|
394
|
-
readonly EXTRACT: "EXTRACT";
|
|
395
|
-
readonly FLOOR: "FLOOR";
|
|
396
|
-
readonly GETDATE: "GETDATE";
|
|
397
|
-
readonly LN: "LN";
|
|
398
|
-
readonly LOG: "LOG";
|
|
399
|
-
readonly LOWER: "LOWER";
|
|
400
|
-
readonly ROUND: "ROUND";
|
|
401
|
-
readonly RTRIM: "RTRIM";
|
|
402
|
-
readonly SQRT: "SQRT";
|
|
403
|
-
readonly SUBSTRING: "SUBSTRING";
|
|
404
|
-
readonly TO_CHAR: "TO_CHAR";
|
|
405
|
-
readonly TO_DATE: "TO_DATE";
|
|
406
|
-
readonly TO_NUMBER: "TO_NUMBER";
|
|
407
|
-
readonly TO_TIMESTAMP: "TO_TIMESTAMP";
|
|
408
|
-
readonly TRIM: "TRIM";
|
|
409
|
-
readonly TRUNC: "TRUNC";
|
|
410
|
-
readonly UPPER: "UPPER";
|
|
411
|
-
};
|
|
412
|
-
/**
|
|
413
|
-
* @public
|
|
414
|
-
*/
|
|
415
|
-
export type ScalarFunctions = (typeof ScalarFunctions)[keyof typeof ScalarFunctions];
|
|
416
322
|
/**
|
|
417
323
|
* <p> Controls on the analysis specifications that can be run on a configured table.</p>
|
|
418
324
|
* @public
|
|
@@ -1280,33 +1186,6 @@ export interface AnalysisTemplate {
|
|
|
1280
1186
|
*/
|
|
1281
1187
|
errorMessageConfiguration?: ErrorMessageConfiguration | undefined;
|
|
1282
1188
|
}
|
|
1283
|
-
/**
|
|
1284
|
-
* @public
|
|
1285
|
-
* @enum
|
|
1286
|
-
*/
|
|
1287
|
-
export declare const ConflictExceptionReason: {
|
|
1288
|
-
readonly ALREADY_EXISTS: "ALREADY_EXISTS";
|
|
1289
|
-
readonly INVALID_STATE: "INVALID_STATE";
|
|
1290
|
-
readonly SUBRESOURCES_EXIST: "SUBRESOURCES_EXIST";
|
|
1291
|
-
};
|
|
1292
|
-
/**
|
|
1293
|
-
* @public
|
|
1294
|
-
*/
|
|
1295
|
-
export type ConflictExceptionReason = (typeof ConflictExceptionReason)[keyof typeof ConflictExceptionReason];
|
|
1296
|
-
/**
|
|
1297
|
-
* @public
|
|
1298
|
-
* @enum
|
|
1299
|
-
*/
|
|
1300
|
-
export declare const ResourceType: {
|
|
1301
|
-
readonly COLLABORATION: "COLLABORATION";
|
|
1302
|
-
readonly CONFIGURED_TABLE: "CONFIGURED_TABLE";
|
|
1303
|
-
readonly CONFIGURED_TABLE_ASSOCIATION: "CONFIGURED_TABLE_ASSOCIATION";
|
|
1304
|
-
readonly MEMBERSHIP: "MEMBERSHIP";
|
|
1305
|
-
};
|
|
1306
|
-
/**
|
|
1307
|
-
* @public
|
|
1308
|
-
*/
|
|
1309
|
-
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
1310
1189
|
/**
|
|
1311
1190
|
* @public
|
|
1312
1191
|
*/
|
|
@@ -1383,20 +1262,6 @@ export interface ValidationExceptionField {
|
|
|
1383
1262
|
*/
|
|
1384
1263
|
message: string | undefined;
|
|
1385
1264
|
}
|
|
1386
|
-
/**
|
|
1387
|
-
* @public
|
|
1388
|
-
* @enum
|
|
1389
|
-
*/
|
|
1390
|
-
export declare const ValidationExceptionReason: {
|
|
1391
|
-
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
1392
|
-
readonly IAM_SYNCHRONIZATION_DELAY: "IAM_SYNCHRONIZATION_DELAY";
|
|
1393
|
-
readonly INVALID_CONFIGURATION: "INVALID_CONFIGURATION";
|
|
1394
|
-
readonly INVALID_QUERY: "INVALID_QUERY";
|
|
1395
|
-
};
|
|
1396
|
-
/**
|
|
1397
|
-
* @public
|
|
1398
|
-
*/
|
|
1399
|
-
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
1400
1265
|
/**
|
|
1401
1266
|
* @public
|
|
1402
1267
|
*/
|
|
@@ -2287,20 +2152,6 @@ export interface CreateCollaborationInput {
|
|
|
2287
2152
|
*/
|
|
2288
2153
|
allowedResultRegions?: SupportedS3Region[] | undefined;
|
|
2289
2154
|
}
|
|
2290
|
-
/**
|
|
2291
|
-
* @public
|
|
2292
|
-
* @enum
|
|
2293
|
-
*/
|
|
2294
|
-
export declare const MemberStatus: {
|
|
2295
|
-
readonly ACTIVE: "ACTIVE";
|
|
2296
|
-
readonly INVITED: "INVITED";
|
|
2297
|
-
readonly LEFT: "LEFT";
|
|
2298
|
-
readonly REMOVED: "REMOVED";
|
|
2299
|
-
};
|
|
2300
|
-
/**
|
|
2301
|
-
* @public
|
|
2302
|
-
*/
|
|
2303
|
-
export type MemberStatus = (typeof MemberStatus)[keyof typeof MemberStatus];
|
|
2304
2155
|
/**
|
|
2305
2156
|
* <p>The multi-party data share environment. The collaboration contains metadata about its purpose and participants.</p>
|
|
2306
2157
|
* @public
|
|
@@ -3700,18 +3551,6 @@ export interface ListCollaborationPrivacyBudgetTemplatesOutput {
|
|
|
3700
3551
|
*/
|
|
3701
3552
|
collaborationPrivacyBudgetTemplateSummaries: CollaborationPrivacyBudgetTemplateSummary[] | undefined;
|
|
3702
3553
|
}
|
|
3703
|
-
/**
|
|
3704
|
-
* @public
|
|
3705
|
-
* @enum
|
|
3706
|
-
*/
|
|
3707
|
-
export declare const FilterableMemberStatus: {
|
|
3708
|
-
readonly ACTIVE: "ACTIVE";
|
|
3709
|
-
readonly INVITED: "INVITED";
|
|
3710
|
-
};
|
|
3711
|
-
/**
|
|
3712
|
-
* @public
|
|
3713
|
-
*/
|
|
3714
|
-
export type FilterableMemberStatus = (typeof FilterableMemberStatus)[keyof typeof FilterableMemberStatus];
|
|
3715
3554
|
/**
|
|
3716
3555
|
* @public
|
|
3717
3556
|
*/
|
|
@@ -6173,18 +6012,6 @@ export interface MembershipProtectedJobResultConfiguration {
|
|
|
6173
6012
|
*/
|
|
6174
6013
|
roleArn: string | undefined;
|
|
6175
6014
|
}
|
|
6176
|
-
/**
|
|
6177
|
-
* @public
|
|
6178
|
-
* @enum
|
|
6179
|
-
*/
|
|
6180
|
-
export declare const ResultFormat: {
|
|
6181
|
-
readonly CSV: "CSV";
|
|
6182
|
-
readonly PARQUET: "PARQUET";
|
|
6183
|
-
};
|
|
6184
|
-
/**
|
|
6185
|
-
* @public
|
|
6186
|
-
*/
|
|
6187
|
-
export type ResultFormat = (typeof ResultFormat)[keyof typeof ResultFormat];
|
|
6188
6015
|
/**
|
|
6189
6016
|
* <p>Contains the configuration to write the query results to S3.</p>
|
|
6190
6017
|
* @public
|
|
@@ -6381,19 +6208,6 @@ export interface CreateMembershipInput {
|
|
|
6381
6208
|
*/
|
|
6382
6209
|
paymentConfiguration?: MembershipPaymentConfiguration | undefined;
|
|
6383
6210
|
}
|
|
6384
|
-
/**
|
|
6385
|
-
* @public
|
|
6386
|
-
* @enum
|
|
6387
|
-
*/
|
|
6388
|
-
export declare const MembershipStatus: {
|
|
6389
|
-
readonly ACTIVE: "ACTIVE";
|
|
6390
|
-
readonly COLLABORATION_DELETED: "COLLABORATION_DELETED";
|
|
6391
|
-
readonly REMOVED: "REMOVED";
|
|
6392
|
-
};
|
|
6393
|
-
/**
|
|
6394
|
-
* @public
|
|
6395
|
-
*/
|
|
6396
|
-
export type MembershipStatus = (typeof MembershipStatus)[keyof typeof MembershipStatus];
|
|
6397
6211
|
/**
|
|
6398
6212
|
* <p>The membership object.</p>
|
|
6399
6213
|
* @public
|
|
@@ -7040,3 +6854,296 @@ export interface ProtectedQueryError {
|
|
|
7040
6854
|
*/
|
|
7041
6855
|
code: string | undefined;
|
|
7042
6856
|
}
|
|
6857
|
+
/**
|
|
6858
|
+
* <p>Details about the member who received the query result.</p>
|
|
6859
|
+
* @public
|
|
6860
|
+
*/
|
|
6861
|
+
export interface ProtectedQuerySingleMemberOutput {
|
|
6862
|
+
/**
|
|
6863
|
+
* <p>The Amazon Web Services account ID of the member in the collaboration who can receive results for the query.</p>
|
|
6864
|
+
* @public
|
|
6865
|
+
*/
|
|
6866
|
+
accountId: string | undefined;
|
|
6867
|
+
}
|
|
6868
|
+
/**
|
|
6869
|
+
* <p>Contains output information for protected queries with an S3 output type.</p>
|
|
6870
|
+
* @public
|
|
6871
|
+
*/
|
|
6872
|
+
export interface ProtectedQueryS3Output {
|
|
6873
|
+
/**
|
|
6874
|
+
* <p>The S3 location of the result.</p>
|
|
6875
|
+
* @public
|
|
6876
|
+
*/
|
|
6877
|
+
location: string | undefined;
|
|
6878
|
+
}
|
|
6879
|
+
/**
|
|
6880
|
+
* <p> Contains the output information for a protected query with a distribute output configuration.</p> <p> This output type allows query results to be distributed to multiple receivers, including S3 and collaboration members. It is only available for queries using the Spark analytics engine.</p>
|
|
6881
|
+
* @public
|
|
6882
|
+
*/
|
|
6883
|
+
export interface ProtectedQueryDistributeOutput {
|
|
6884
|
+
/**
|
|
6885
|
+
* <p>Contains output information for protected queries with an S3 output type.</p>
|
|
6886
|
+
* @public
|
|
6887
|
+
*/
|
|
6888
|
+
s3?: ProtectedQueryS3Output | undefined;
|
|
6889
|
+
/**
|
|
6890
|
+
* <p> Contains the output results for each member location specified in the distribute output configuration. Each entry provides details about the result distribution to a specific collaboration member. </p>
|
|
6891
|
+
* @public
|
|
6892
|
+
*/
|
|
6893
|
+
memberList?: ProtectedQuerySingleMemberOutput[] | undefined;
|
|
6894
|
+
}
|
|
6895
|
+
/**
|
|
6896
|
+
* <p>Contains details about the protected query output.</p>
|
|
6897
|
+
* @public
|
|
6898
|
+
*/
|
|
6899
|
+
export type ProtectedQueryOutput = ProtectedQueryOutput.DistributeMember | ProtectedQueryOutput.MemberListMember | ProtectedQueryOutput.S3Member | ProtectedQueryOutput.$UnknownMember;
|
|
6900
|
+
/**
|
|
6901
|
+
* @public
|
|
6902
|
+
*/
|
|
6903
|
+
export declare namespace ProtectedQueryOutput {
|
|
6904
|
+
/**
|
|
6905
|
+
* <p>If present, the output for a protected query with an <code>S3</code> output type.</p>
|
|
6906
|
+
* @public
|
|
6907
|
+
*/
|
|
6908
|
+
interface S3Member {
|
|
6909
|
+
s3: ProtectedQueryS3Output;
|
|
6910
|
+
memberList?: never;
|
|
6911
|
+
distribute?: never;
|
|
6912
|
+
$unknown?: never;
|
|
6913
|
+
}
|
|
6914
|
+
/**
|
|
6915
|
+
* <p>The list of member Amazon Web Services account(s) that received the results of the query. </p>
|
|
6916
|
+
* @public
|
|
6917
|
+
*/
|
|
6918
|
+
interface MemberListMember {
|
|
6919
|
+
s3?: never;
|
|
6920
|
+
memberList: ProtectedQuerySingleMemberOutput[];
|
|
6921
|
+
distribute?: never;
|
|
6922
|
+
$unknown?: never;
|
|
6923
|
+
}
|
|
6924
|
+
/**
|
|
6925
|
+
* <p>Contains output information for protected queries that use a <code>distribute</code> output type. This output type lets you send query results to multiple locations - either to S3 or to collaboration members. </p> <note> <p> You can only use the <code>distribute</code> output type with the Spark analytics engine. </p> </note>
|
|
6926
|
+
* @public
|
|
6927
|
+
*/
|
|
6928
|
+
interface DistributeMember {
|
|
6929
|
+
s3?: never;
|
|
6930
|
+
memberList?: never;
|
|
6931
|
+
distribute: ProtectedQueryDistributeOutput;
|
|
6932
|
+
$unknown?: never;
|
|
6933
|
+
}
|
|
6934
|
+
/**
|
|
6935
|
+
* @public
|
|
6936
|
+
*/
|
|
6937
|
+
interface $UnknownMember {
|
|
6938
|
+
s3?: never;
|
|
6939
|
+
memberList?: never;
|
|
6940
|
+
distribute?: never;
|
|
6941
|
+
$unknown: [string, any];
|
|
6942
|
+
}
|
|
6943
|
+
/**
|
|
6944
|
+
* @deprecated unused in schema-serde mode.
|
|
6945
|
+
*
|
|
6946
|
+
*/
|
|
6947
|
+
interface Visitor<T> {
|
|
6948
|
+
s3: (value: ProtectedQueryS3Output) => T;
|
|
6949
|
+
memberList: (value: ProtectedQuerySingleMemberOutput[]) => T;
|
|
6950
|
+
distribute: (value: ProtectedQueryDistributeOutput) => T;
|
|
6951
|
+
_: (name: string, value: any) => T;
|
|
6952
|
+
}
|
|
6953
|
+
}
|
|
6954
|
+
/**
|
|
6955
|
+
* <p>Details about the query results.</p>
|
|
6956
|
+
* @public
|
|
6957
|
+
*/
|
|
6958
|
+
export interface ProtectedQueryResult {
|
|
6959
|
+
/**
|
|
6960
|
+
* <p>The output of the protected query.</p>
|
|
6961
|
+
* @public
|
|
6962
|
+
*/
|
|
6963
|
+
output: ProtectedQueryOutput | undefined;
|
|
6964
|
+
}
|
|
6965
|
+
/**
|
|
6966
|
+
* <p> Contains configuration details for the protected query member output.</p>
|
|
6967
|
+
* @public
|
|
6968
|
+
*/
|
|
6969
|
+
export interface ProtectedQueryMemberOutputConfiguration {
|
|
6970
|
+
/**
|
|
6971
|
+
* <p>The unique identifier for the account.</p>
|
|
6972
|
+
* @public
|
|
6973
|
+
*/
|
|
6974
|
+
accountId: string | undefined;
|
|
6975
|
+
}
|
|
6976
|
+
/**
|
|
6977
|
+
* <p> Specifies where you'll distribute the results of your protected query. You must configure either an S3 destination or a collaboration member destination.</p>
|
|
6978
|
+
* @public
|
|
6979
|
+
*/
|
|
6980
|
+
export type ProtectedQueryDistributeOutputConfigurationLocation = ProtectedQueryDistributeOutputConfigurationLocation.MemberMember | ProtectedQueryDistributeOutputConfigurationLocation.S3Member | ProtectedQueryDistributeOutputConfigurationLocation.$UnknownMember;
|
|
6981
|
+
/**
|
|
6982
|
+
* @public
|
|
6983
|
+
*/
|
|
6984
|
+
export declare namespace ProtectedQueryDistributeOutputConfigurationLocation {
|
|
6985
|
+
/**
|
|
6986
|
+
* <p>Contains the configuration to write the query results to S3.</p>
|
|
6987
|
+
* @public
|
|
6988
|
+
*/
|
|
6989
|
+
interface S3Member {
|
|
6990
|
+
s3: ProtectedQueryS3OutputConfiguration;
|
|
6991
|
+
member?: never;
|
|
6992
|
+
$unknown?: never;
|
|
6993
|
+
}
|
|
6994
|
+
/**
|
|
6995
|
+
* <p> Contains configuration details for the protected query member output.</p>
|
|
6996
|
+
* @public
|
|
6997
|
+
*/
|
|
6998
|
+
interface MemberMember {
|
|
6999
|
+
s3?: never;
|
|
7000
|
+
member: ProtectedQueryMemberOutputConfiguration;
|
|
7001
|
+
$unknown?: never;
|
|
7002
|
+
}
|
|
7003
|
+
/**
|
|
7004
|
+
* @public
|
|
7005
|
+
*/
|
|
7006
|
+
interface $UnknownMember {
|
|
7007
|
+
s3?: never;
|
|
7008
|
+
member?: never;
|
|
7009
|
+
$unknown: [string, any];
|
|
7010
|
+
}
|
|
7011
|
+
/**
|
|
7012
|
+
* @deprecated unused in schema-serde mode.
|
|
7013
|
+
*
|
|
7014
|
+
*/
|
|
7015
|
+
interface Visitor<T> {
|
|
7016
|
+
s3: (value: ProtectedQueryS3OutputConfiguration) => T;
|
|
7017
|
+
member: (value: ProtectedQueryMemberOutputConfiguration) => T;
|
|
7018
|
+
_: (name: string, value: any) => T;
|
|
7019
|
+
}
|
|
7020
|
+
}
|
|
7021
|
+
/**
|
|
7022
|
+
* <p> Specifies the configuration for distributing protected query results to multiple receivers, including S3 and collaboration members.</p>
|
|
7023
|
+
* @public
|
|
7024
|
+
*/
|
|
7025
|
+
export interface ProtectedQueryDistributeOutputConfiguration {
|
|
7026
|
+
/**
|
|
7027
|
+
* <p> A list of locations where you want to distribute the protected query results. Each location must specify either an S3 destination or a collaboration member destination.</p> <important> <p>You can't specify more than one S3 location.</p> <p>You can't specify the query runner's account as a member location.</p> <p>You must include either an S3 or member output configuration for each location, but not both.</p> </important>
|
|
7028
|
+
* @public
|
|
7029
|
+
*/
|
|
7030
|
+
locations: ProtectedQueryDistributeOutputConfigurationLocation[] | undefined;
|
|
7031
|
+
}
|
|
7032
|
+
/**
|
|
7033
|
+
* <p>Contains configuration details for protected query output.</p>
|
|
7034
|
+
* @public
|
|
7035
|
+
*/
|
|
7036
|
+
export type ProtectedQueryOutputConfiguration = ProtectedQueryOutputConfiguration.DistributeMember | ProtectedQueryOutputConfiguration.MemberMember | ProtectedQueryOutputConfiguration.S3Member | ProtectedQueryOutputConfiguration.$UnknownMember;
|
|
7037
|
+
/**
|
|
7038
|
+
* @public
|
|
7039
|
+
*/
|
|
7040
|
+
export declare namespace ProtectedQueryOutputConfiguration {
|
|
7041
|
+
/**
|
|
7042
|
+
* <p>Required configuration for a protected query with an <code>s3</code> output type.</p>
|
|
7043
|
+
* @public
|
|
7044
|
+
*/
|
|
7045
|
+
interface S3Member {
|
|
7046
|
+
s3: ProtectedQueryS3OutputConfiguration;
|
|
7047
|
+
member?: never;
|
|
7048
|
+
distribute?: never;
|
|
7049
|
+
$unknown?: never;
|
|
7050
|
+
}
|
|
7051
|
+
/**
|
|
7052
|
+
* <p> Required configuration for a protected query with a <code>member</code> output type.</p>
|
|
7053
|
+
* @public
|
|
7054
|
+
*/
|
|
7055
|
+
interface MemberMember {
|
|
7056
|
+
s3?: never;
|
|
7057
|
+
member: ProtectedQueryMemberOutputConfiguration;
|
|
7058
|
+
distribute?: never;
|
|
7059
|
+
$unknown?: never;
|
|
7060
|
+
}
|
|
7061
|
+
/**
|
|
7062
|
+
* <p> Required configuration for a protected query with a <code>distribute</code> output type.</p>
|
|
7063
|
+
* @public
|
|
7064
|
+
*/
|
|
7065
|
+
interface DistributeMember {
|
|
7066
|
+
s3?: never;
|
|
7067
|
+
member?: never;
|
|
7068
|
+
distribute: ProtectedQueryDistributeOutputConfiguration;
|
|
7069
|
+
$unknown?: never;
|
|
7070
|
+
}
|
|
7071
|
+
/**
|
|
7072
|
+
* @public
|
|
7073
|
+
*/
|
|
7074
|
+
interface $UnknownMember {
|
|
7075
|
+
s3?: never;
|
|
7076
|
+
member?: never;
|
|
7077
|
+
distribute?: never;
|
|
7078
|
+
$unknown: [string, any];
|
|
7079
|
+
}
|
|
7080
|
+
/**
|
|
7081
|
+
* @deprecated unused in schema-serde mode.
|
|
7082
|
+
*
|
|
7083
|
+
*/
|
|
7084
|
+
interface Visitor<T> {
|
|
7085
|
+
s3: (value: ProtectedQueryS3OutputConfiguration) => T;
|
|
7086
|
+
member: (value: ProtectedQueryMemberOutputConfiguration) => T;
|
|
7087
|
+
distribute: (value: ProtectedQueryDistributeOutputConfiguration) => T;
|
|
7088
|
+
_: (name: string, value: any) => T;
|
|
7089
|
+
}
|
|
7090
|
+
}
|
|
7091
|
+
/**
|
|
7092
|
+
* <p>Contains configurations for protected query results.</p>
|
|
7093
|
+
* @public
|
|
7094
|
+
*/
|
|
7095
|
+
export interface ProtectedQueryResultConfiguration {
|
|
7096
|
+
/**
|
|
7097
|
+
* <p>Configuration for protected query results.</p>
|
|
7098
|
+
* @public
|
|
7099
|
+
*/
|
|
7100
|
+
outputConfiguration: ProtectedQueryOutputConfiguration | undefined;
|
|
7101
|
+
}
|
|
7102
|
+
/**
|
|
7103
|
+
* <p>The parameters for the SQL type Protected Query.</p>
|
|
7104
|
+
* @public
|
|
7105
|
+
*/
|
|
7106
|
+
export interface ProtectedQuerySQLParameters {
|
|
7107
|
+
/**
|
|
7108
|
+
* <p>The query string to be submitted.</p>
|
|
7109
|
+
* @public
|
|
7110
|
+
*/
|
|
7111
|
+
queryString?: string | undefined;
|
|
7112
|
+
/**
|
|
7113
|
+
* <p>The Amazon Resource Name (ARN) associated with the analysis template within a collaboration.</p>
|
|
7114
|
+
* @public
|
|
7115
|
+
*/
|
|
7116
|
+
analysisTemplateArn?: string | undefined;
|
|
7117
|
+
/**
|
|
7118
|
+
* <p>The protected query SQL parameters.</p>
|
|
7119
|
+
* @public
|
|
7120
|
+
*/
|
|
7121
|
+
parameters?: Record<string, string> | undefined;
|
|
7122
|
+
}
|
|
7123
|
+
/**
|
|
7124
|
+
* <p> Information related to the utilization of resources that have been billed or charged for in a given context, such as a protected query.</p>
|
|
7125
|
+
* @public
|
|
7126
|
+
*/
|
|
7127
|
+
export interface BilledResourceUtilization {
|
|
7128
|
+
/**
|
|
7129
|
+
* <p> The number of Clean Rooms Processing Unit (CRPU) hours that have been billed.</p>
|
|
7130
|
+
* @public
|
|
7131
|
+
*/
|
|
7132
|
+
units: number | undefined;
|
|
7133
|
+
}
|
|
7134
|
+
/**
|
|
7135
|
+
* <p>Contains statistics about the execution of the protected query.</p>
|
|
7136
|
+
* @public
|
|
7137
|
+
*/
|
|
7138
|
+
export interface ProtectedQueryStatistics {
|
|
7139
|
+
/**
|
|
7140
|
+
* <p>The duration of the protected query, from creation until query completion, in milliseconds.</p>
|
|
7141
|
+
* @public
|
|
7142
|
+
*/
|
|
7143
|
+
totalDurationInMillis?: number | undefined;
|
|
7144
|
+
/**
|
|
7145
|
+
* <p> The billed resource utilization.</p>
|
|
7146
|
+
* @public
|
|
7147
|
+
*/
|
|
7148
|
+
billedResourceUtilization?: BilledResourceUtilization | undefined;
|
|
7149
|
+
}
|