@aws-sdk/client-cleanrooms 3.1075.0 → 3.1077.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/README.md +84 -0
- package/dist-cjs/index.js +4668 -19
- package/dist-es/CleanRooms.js +28 -0
- package/dist-es/commands/CreateIntermediateTableAnalysisRuleCommand.js +16 -0
- package/dist-es/commands/CreateIntermediateTableCommand.js +16 -0
- package/dist-es/commands/DeleteIntermediateTableAnalysisRuleCommand.js +16 -0
- package/dist-es/commands/DeleteIntermediateTableCommand.js +16 -0
- package/dist-es/commands/DisallowIntermediateTableCommand.js +16 -0
- package/dist-es/commands/GetIntermediateTableAnalysisRuleCommand.js +16 -0
- package/dist-es/commands/GetIntermediateTableCommand.js +16 -0
- package/dist-es/commands/ListIntermediateTableVersionsCommand.js +16 -0
- package/dist-es/commands/ListIntermediateTablesCommand.js +16 -0
- package/dist-es/commands/PopulateIntermediateTableCommand.js +16 -0
- package/dist-es/commands/UpdateIntermediateTableAnalysisRuleCommand.js +16 -0
- package/dist-es/commands/UpdateIntermediateTableCommand.js +16 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/models/enums.js +53 -4
- package/dist-es/pagination/ListIntermediateTableVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListIntermediateTablesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +467 -36
- package/dist-types/CleanRooms.d.ts +98 -0
- package/dist-types/CleanRoomsClient.d.ts +14 -2
- package/dist-types/commands/BatchGetSchemaAnalysisRuleCommand.d.ts +10 -8
- package/dist-types/commands/BatchGetSchemaCommand.d.ts +9 -2
- package/dist-types/commands/CreateCollaborationCommand.d.ts +1 -1
- package/dist-types/commands/CreateConfiguredTableAnalysisRuleCommand.d.ts +12 -0
- package/dist-types/commands/CreateConfiguredTableAssociationCommand.d.ts +9 -0
- package/dist-types/commands/CreateIdMappingTableCommand.d.ts +9 -0
- package/dist-types/commands/CreateIntermediateTableAnalysisRuleCommand.d.ts +163 -0
- package/dist-types/commands/CreateIntermediateTableCommand.d.ts +231 -0
- package/dist-types/commands/CreateMembershipCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIntermediateTableAnalysisRuleCommand.d.ts +94 -0
- package/dist-types/commands/DeleteIntermediateTableCommand.d.ts +93 -0
- package/dist-types/commands/DeleteMembershipCommand.d.ts +1 -1
- package/dist-types/commands/DisallowIntermediateTableCommand.d.ts +94 -0
- package/dist-types/commands/GetConfiguredTableAnalysisRuleCommand.d.ts +6 -0
- package/dist-types/commands/GetConfiguredTableAssociationCommand.d.ts +9 -0
- package/dist-types/commands/GetIdMappingTableCommand.d.ts +9 -0
- package/dist-types/commands/GetIntermediateTableAnalysisRuleCommand.d.ts +128 -0
- package/dist-types/commands/GetIntermediateTableCommand.d.ts +213 -0
- package/dist-types/commands/GetMembershipCommand.d.ts +1 -1
- package/dist-types/commands/GetProtectedJobCommand.d.ts +1 -1
- package/dist-types/commands/GetProtectedQueryCommand.d.ts +6 -2
- package/dist-types/commands/GetSchemaAnalysisRuleCommand.d.ts +10 -8
- package/dist-types/commands/GetSchemaCommand.d.ts +9 -2
- package/dist-types/commands/ListIntermediateTableVersionsCommand.d.ts +106 -0
- package/dist-types/commands/ListIntermediateTablesCommand.d.ts +112 -0
- package/dist-types/commands/ListProtectedQueriesCommand.d.ts +5 -0
- package/dist-types/commands/ListSchemasCommand.d.ts +2 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PopulateIntermediateTableCommand.d.ts +115 -0
- package/dist-types/commands/StartProtectedQueryCommand.d.ts +10 -0
- package/dist-types/commands/UpdateConfiguredTableAnalysisRuleCommand.d.ts +12 -0
- package/dist-types/commands/UpdateConfiguredTableAssociationCommand.d.ts +9 -0
- package/dist-types/commands/UpdateIdMappingTableCommand.d.ts +9 -0
- package/dist-types/commands/UpdateIntermediateTableAnalysisRuleCommand.d.ts +161 -0
- package/dist-types/commands/UpdateIntermediateTableCommand.d.ts +221 -0
- package/dist-types/commands/UpdateProtectedQueryCommand.d.ts +5 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/enums.d.ts +125 -12
- package/dist-types/models/models_0.d.ts +729 -436
- package/dist-types/models/models_1.d.ts +1032 -3
- package/dist-types/pagination/ListIntermediateTableVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIntermediateTablesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +63 -0
- package/dist-types/ts3.4/CleanRooms.d.ts +236 -0
- package/dist-types/ts3.4/CleanRoomsClient.d.ts +72 -0
- package/dist-types/ts3.4/commands/CreateIntermediateTableAnalysisRuleCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateIntermediateTableCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateMembershipCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteIntermediateTableAnalysisRuleCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteIntermediateTableCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteMembershipCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisallowIntermediateTableCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetIntermediateTableAnalysisRuleCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetIntermediateTableCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetMembershipCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetProtectedJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetProtectedQueryCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListIntermediateTableVersionsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListIntermediateTablesCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PopulateIntermediateTableCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdateIntermediateTableAnalysisRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateIntermediateTableCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/enums.d.ts +71 -6
- package/dist-types/ts3.4/models/models_0.d.ts +299 -261
- package/dist-types/ts3.4/models/models_1.d.ts +345 -17
- package/dist-types/ts3.4/pagination/ListIntermediateTableVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIntermediateTablesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +63 -0
- package/package.json +8 -10
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/CleanRoomsServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -105
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -3580
|
@@ -51,6 +51,7 @@ export declare var BilledResourceUtilization$: StaticStructureSchema;
|
|
|
51
51
|
export declare var BudgetParameter$: StaticStructureSchema;
|
|
52
52
|
export declare var Change$: StaticStructureSchema;
|
|
53
53
|
export declare var ChangeInput$: StaticStructureSchema;
|
|
54
|
+
export declare var ChildResource$: StaticStructureSchema;
|
|
54
55
|
export declare var Collaboration$: StaticStructureSchema;
|
|
55
56
|
export declare var CollaborationAnalysisTemplate$: StaticStructureSchema;
|
|
56
57
|
export declare var CollaborationAnalysisTemplateSummary$: StaticStructureSchema;
|
|
@@ -67,6 +68,7 @@ export declare var CollaborationPrivacyBudgetTemplateSummary$: StaticStructureSc
|
|
|
67
68
|
export declare var CollaborationSummary$: StaticStructureSchema;
|
|
68
69
|
export declare var Column$: StaticStructureSchema;
|
|
69
70
|
export declare var ColumnClassificationDetails$: StaticStructureSchema;
|
|
71
|
+
export declare var ColumnLineageEntry$: StaticStructureSchema;
|
|
70
72
|
export declare var ConfiguredAudienceModelAssociation$: StaticStructureSchema;
|
|
71
73
|
export declare var ConfiguredAudienceModelAssociationSummary$: StaticStructureSchema;
|
|
72
74
|
export declare var ConfiguredTable$: StaticStructureSchema;
|
|
@@ -76,6 +78,7 @@ export declare var ConfiguredTableAssociationAnalysisRule$: StaticStructureSchem
|
|
|
76
78
|
export declare var ConfiguredTableAssociationAnalysisRuleAggregation$: StaticStructureSchema;
|
|
77
79
|
export declare var ConfiguredTableAssociationAnalysisRuleCustom$: StaticStructureSchema;
|
|
78
80
|
export declare var ConfiguredTableAssociationAnalysisRuleList$: StaticStructureSchema;
|
|
81
|
+
export declare var ConfiguredTableAssociationSchemaTypeProperties$: StaticStructureSchema;
|
|
79
82
|
export declare var ConfiguredTableAssociationSummary$: StaticStructureSchema;
|
|
80
83
|
export declare var ConfiguredTableSummary$: StaticStructureSchema;
|
|
81
84
|
export declare var ConsolidatedPolicyAggregation$: StaticStructureSchema;
|
|
@@ -101,6 +104,10 @@ export declare var CreateIdMappingTableInput$: StaticStructureSchema;
|
|
|
101
104
|
export declare var CreateIdMappingTableOutput$: StaticStructureSchema;
|
|
102
105
|
export declare var CreateIdNamespaceAssociationInput$: StaticStructureSchema;
|
|
103
106
|
export declare var CreateIdNamespaceAssociationOutput$: StaticStructureSchema;
|
|
107
|
+
export declare var CreateIntermediateTableAnalysisRuleInput$: StaticStructureSchema;
|
|
108
|
+
export declare var CreateIntermediateTableAnalysisRuleOutput$: StaticStructureSchema;
|
|
109
|
+
export declare var CreateIntermediateTableInput$: StaticStructureSchema;
|
|
110
|
+
export declare var CreateIntermediateTableOutput$: StaticStructureSchema;
|
|
104
111
|
export declare var CreateMembershipInput$: StaticStructureSchema;
|
|
105
112
|
export declare var CreateMembershipOutput$: StaticStructureSchema;
|
|
106
113
|
export declare var CreatePrivacyBudgetTemplateInput$: StaticStructureSchema;
|
|
@@ -124,6 +131,10 @@ export declare var DeleteIdMappingTableInput$: StaticStructureSchema;
|
|
|
124
131
|
export declare var DeleteIdMappingTableOutput$: StaticStructureSchema;
|
|
125
132
|
export declare var DeleteIdNamespaceAssociationInput$: StaticStructureSchema;
|
|
126
133
|
export declare var DeleteIdNamespaceAssociationOutput$: StaticStructureSchema;
|
|
134
|
+
export declare var DeleteIntermediateTableAnalysisRuleInput$: StaticStructureSchema;
|
|
135
|
+
export declare var DeleteIntermediateTableAnalysisRuleOutput$: StaticStructureSchema;
|
|
136
|
+
export declare var DeleteIntermediateTableInput$: StaticStructureSchema;
|
|
137
|
+
export declare var DeleteIntermediateTableOutput$: StaticStructureSchema;
|
|
127
138
|
export declare var DeleteMemberInput$: StaticStructureSchema;
|
|
128
139
|
export declare var DeleteMemberOutput$: StaticStructureSchema;
|
|
129
140
|
export declare var DeleteMembershipInput$: StaticStructureSchema;
|
|
@@ -143,6 +154,8 @@ export declare var DifferentialPrivacyTemplateParametersInput$: StaticStructureS
|
|
|
143
154
|
export declare var DifferentialPrivacyTemplateParametersOutput$: StaticStructureSchema;
|
|
144
155
|
export declare var DifferentialPrivacyTemplateUpdateParameters$: StaticStructureSchema;
|
|
145
156
|
export declare var DirectAnalysisConfigurationDetails$: StaticStructureSchema;
|
|
157
|
+
export declare var DisallowIntermediateTableInput$: StaticStructureSchema;
|
|
158
|
+
export declare var DisallowIntermediateTableOutput$: StaticStructureSchema;
|
|
146
159
|
export declare var ErrorMessageConfiguration$: StaticStructureSchema;
|
|
147
160
|
export declare var GetAnalysisTemplateInput$: StaticStructureSchema;
|
|
148
161
|
export declare var GetAnalysisTemplateOutput$: StaticStructureSchema;
|
|
@@ -172,6 +185,10 @@ export declare var GetIdMappingTableInput$: StaticStructureSchema;
|
|
|
172
185
|
export declare var GetIdMappingTableOutput$: StaticStructureSchema;
|
|
173
186
|
export declare var GetIdNamespaceAssociationInput$: StaticStructureSchema;
|
|
174
187
|
export declare var GetIdNamespaceAssociationOutput$: StaticStructureSchema;
|
|
188
|
+
export declare var GetIntermediateTableAnalysisRuleInput$: StaticStructureSchema;
|
|
189
|
+
export declare var GetIntermediateTableAnalysisRuleOutput$: StaticStructureSchema;
|
|
190
|
+
export declare var GetIntermediateTableInput$: StaticStructureSchema;
|
|
191
|
+
export declare var GetIntermediateTableOutput$: StaticStructureSchema;
|
|
175
192
|
export declare var GetMembershipInput$: StaticStructureSchema;
|
|
176
193
|
export declare var GetMembershipOutput$: StaticStructureSchema;
|
|
177
194
|
export declare var GetPrivacyBudgetTemplateInput$: StaticStructureSchema;
|
|
@@ -198,6 +215,25 @@ export declare var IdNamespaceAssociationInputReferenceConfig$: StaticStructureS
|
|
|
198
215
|
export declare var IdNamespaceAssociationInputReferenceProperties$: StaticStructureSchema;
|
|
199
216
|
export declare var IdNamespaceAssociationInputReferencePropertiesSummary$: StaticStructureSchema;
|
|
200
217
|
export declare var IdNamespaceAssociationSummary$: StaticStructureSchema;
|
|
218
|
+
export declare var InheritedAdditionalAnalyses$: StaticStructureSchema;
|
|
219
|
+
export declare var InheritedAdditionalAnalysesSource$: StaticStructureSchema;
|
|
220
|
+
export declare var InheritedAllowedAdditionalAnalyses$: StaticStructureSchema;
|
|
221
|
+
export declare var InheritedAllowedAdditionalAnalysesSource$: StaticStructureSchema;
|
|
222
|
+
export declare var InheritedAllowedResultReceivers$: StaticStructureSchema;
|
|
223
|
+
export declare var InheritedAllowedResultReceiversSource$: StaticStructureSchema;
|
|
224
|
+
export declare var InheritedDisallowedOutputColumns$: StaticStructureSchema;
|
|
225
|
+
export declare var IntermediateTable$: StaticStructureSchema;
|
|
226
|
+
export declare var IntermediateTableActiveVersion$: StaticStructureSchema;
|
|
227
|
+
export declare var IntermediateTableAnalysisRule$: StaticStructureSchema;
|
|
228
|
+
export declare var IntermediateTableAnalysisRuleCustom$: StaticStructureSchema;
|
|
229
|
+
export declare var IntermediateTableColumn$: StaticStructureSchema;
|
|
230
|
+
export declare var IntermediateTableDependency$: StaticStructureSchema;
|
|
231
|
+
export declare var IntermediateTableInheritedConstraints$: StaticStructureSchema;
|
|
232
|
+
export declare var IntermediateTableOutputConfiguration$: StaticStructureSchema;
|
|
233
|
+
export declare var IntermediateTableSchema$: StaticStructureSchema;
|
|
234
|
+
export declare var IntermediateTableSchemaTypeProperties$: StaticStructureSchema;
|
|
235
|
+
export declare var IntermediateTableSummary$: StaticStructureSchema;
|
|
236
|
+
export declare var IntermediateTableVersionSummary$: StaticStructureSchema;
|
|
201
237
|
export declare var JobComputePaymentConfig$: StaticStructureSchema;
|
|
202
238
|
export declare var ListAnalysisTemplatesInput$: StaticStructureSchema;
|
|
203
239
|
export declare var ListAnalysisTemplatesOutput$: StaticStructureSchema;
|
|
@@ -225,6 +261,10 @@ export declare var ListIdMappingTablesInput$: StaticStructureSchema;
|
|
|
225
261
|
export declare var ListIdMappingTablesOutput$: StaticStructureSchema;
|
|
226
262
|
export declare var ListIdNamespaceAssociationsInput$: StaticStructureSchema;
|
|
227
263
|
export declare var ListIdNamespaceAssociationsOutput$: StaticStructureSchema;
|
|
264
|
+
export declare var ListIntermediateTablesInput$: StaticStructureSchema;
|
|
265
|
+
export declare var ListIntermediateTablesOutput$: StaticStructureSchema;
|
|
266
|
+
export declare var ListIntermediateTableVersionsInput$: StaticStructureSchema;
|
|
267
|
+
export declare var ListIntermediateTableVersionsOutput$: StaticStructureSchema;
|
|
228
268
|
export declare var ListMembershipsInput$: StaticStructureSchema;
|
|
229
269
|
export declare var ListMembershipsOutput$: StaticStructureSchema;
|
|
230
270
|
export declare var ListMembersInput$: StaticStructureSchema;
|
|
@@ -263,6 +303,9 @@ export declare var ModelTrainingPaymentConfig$: StaticStructureSchema;
|
|
|
263
303
|
export declare var PaymentConfiguration$: StaticStructureSchema;
|
|
264
304
|
export declare var PopulateIdMappingTableInput$: StaticStructureSchema;
|
|
265
305
|
export declare var PopulateIdMappingTableOutput$: StaticStructureSchema;
|
|
306
|
+
export declare var PopulateIntermediateTableInput$: StaticStructureSchema;
|
|
307
|
+
export declare var PopulateIntermediateTableOutput$: StaticStructureSchema;
|
|
308
|
+
export declare var PopulationAnalysisSqlParameters$: StaticStructureSchema;
|
|
266
309
|
export declare var PreviewPrivacyImpactInput$: StaticStructureSchema;
|
|
267
310
|
export declare var PreviewPrivacyImpactOutput$: StaticStructureSchema;
|
|
268
311
|
export declare var PrivacyBudgetSummary$: StaticStructureSchema;
|
|
@@ -339,6 +382,10 @@ export declare var UpdateIdMappingTableInput$: StaticStructureSchema;
|
|
|
339
382
|
export declare var UpdateIdMappingTableOutput$: StaticStructureSchema;
|
|
340
383
|
export declare var UpdateIdNamespaceAssociationInput$: StaticStructureSchema;
|
|
341
384
|
export declare var UpdateIdNamespaceAssociationOutput$: StaticStructureSchema;
|
|
385
|
+
export declare var UpdateIntermediateTableAnalysisRuleInput$: StaticStructureSchema;
|
|
386
|
+
export declare var UpdateIntermediateTableAnalysisRuleOutput$: StaticStructureSchema;
|
|
387
|
+
export declare var UpdateIntermediateTableInput$: StaticStructureSchema;
|
|
388
|
+
export declare var UpdateIntermediateTableOutput$: StaticStructureSchema;
|
|
342
389
|
export declare var UpdateMembershipInput$: StaticStructureSchema;
|
|
343
390
|
export declare var UpdateMembershipOutput$: StaticStructureSchema;
|
|
344
391
|
export declare var UpdateMembershipPaymentConfiguration$: StaticStructureSchema;
|
|
@@ -363,8 +410,12 @@ export declare var ConfiguredTableAssociationAnalysisRulePolicy$: StaticUnionSch
|
|
|
363
410
|
export declare var ConfiguredTableAssociationAnalysisRulePolicyV1$: StaticUnionSchema;
|
|
364
411
|
export declare var ConsolidatedPolicy$: StaticUnionSchema;
|
|
365
412
|
export declare var ConsolidatedPolicyV1$: StaticUnionSchema;
|
|
413
|
+
export declare var IntermediateTableAnalysisRulePolicy$: StaticUnionSchema;
|
|
414
|
+
export declare var IntermediateTableAnalysisRulePolicyV1$: StaticUnionSchema;
|
|
415
|
+
export declare var IntermediateTableComputeConfiguration$: StaticUnionSchema;
|
|
366
416
|
export declare var MembershipProtectedJobOutputConfiguration$: StaticUnionSchema;
|
|
367
417
|
export declare var MembershipProtectedQueryOutputConfiguration$: StaticUnionSchema;
|
|
418
|
+
export declare var PopulationAnalysisConfiguration$: StaticUnionSchema;
|
|
368
419
|
export declare var PreviewPrivacyImpactParametersInput$: StaticUnionSchema;
|
|
369
420
|
export declare var PrivacyBudget$: StaticUnionSchema;
|
|
370
421
|
export declare var PrivacyBudgetTemplateParametersInput$: StaticUnionSchema;
|
|
@@ -398,6 +449,8 @@ export declare var CreateConfiguredTableAssociation$: StaticOperationSchema;
|
|
|
398
449
|
export declare var CreateConfiguredTableAssociationAnalysisRule$: StaticOperationSchema;
|
|
399
450
|
export declare var CreateIdMappingTable$: StaticOperationSchema;
|
|
400
451
|
export declare var CreateIdNamespaceAssociation$: StaticOperationSchema;
|
|
452
|
+
export declare var CreateIntermediateTable$: StaticOperationSchema;
|
|
453
|
+
export declare var CreateIntermediateTableAnalysisRule$: StaticOperationSchema;
|
|
401
454
|
export declare var CreateMembership$: StaticOperationSchema;
|
|
402
455
|
export declare var CreatePrivacyBudgetTemplate$: StaticOperationSchema;
|
|
403
456
|
export declare var DeleteAnalysisTemplate$: StaticOperationSchema;
|
|
@@ -409,9 +462,12 @@ export declare var DeleteConfiguredTableAssociation$: StaticOperationSchema;
|
|
|
409
462
|
export declare var DeleteConfiguredTableAssociationAnalysisRule$: StaticOperationSchema;
|
|
410
463
|
export declare var DeleteIdMappingTable$: StaticOperationSchema;
|
|
411
464
|
export declare var DeleteIdNamespaceAssociation$: StaticOperationSchema;
|
|
465
|
+
export declare var DeleteIntermediateTable$: StaticOperationSchema;
|
|
466
|
+
export declare var DeleteIntermediateTableAnalysisRule$: StaticOperationSchema;
|
|
412
467
|
export declare var DeleteMember$: StaticOperationSchema;
|
|
413
468
|
export declare var DeleteMembership$: StaticOperationSchema;
|
|
414
469
|
export declare var DeletePrivacyBudgetTemplate$: StaticOperationSchema;
|
|
470
|
+
export declare var DisallowIntermediateTable$: StaticOperationSchema;
|
|
415
471
|
export declare var GetAnalysisTemplate$: StaticOperationSchema;
|
|
416
472
|
export declare var GetCollaboration$: StaticOperationSchema;
|
|
417
473
|
export declare var GetCollaborationAnalysisTemplate$: StaticOperationSchema;
|
|
@@ -426,6 +482,8 @@ export declare var GetConfiguredTableAssociation$: StaticOperationSchema;
|
|
|
426
482
|
export declare var GetConfiguredTableAssociationAnalysisRule$: StaticOperationSchema;
|
|
427
483
|
export declare var GetIdMappingTable$: StaticOperationSchema;
|
|
428
484
|
export declare var GetIdNamespaceAssociation$: StaticOperationSchema;
|
|
485
|
+
export declare var GetIntermediateTable$: StaticOperationSchema;
|
|
486
|
+
export declare var GetIntermediateTableAnalysisRule$: StaticOperationSchema;
|
|
429
487
|
export declare var GetMembership$: StaticOperationSchema;
|
|
430
488
|
export declare var GetPrivacyBudgetTemplate$: StaticOperationSchema;
|
|
431
489
|
export declare var GetProtectedJob$: StaticOperationSchema;
|
|
@@ -445,6 +503,8 @@ export declare var ListConfiguredTableAssociations$: StaticOperationSchema;
|
|
|
445
503
|
export declare var ListConfiguredTables$: StaticOperationSchema;
|
|
446
504
|
export declare var ListIdMappingTables$: StaticOperationSchema;
|
|
447
505
|
export declare var ListIdNamespaceAssociations$: StaticOperationSchema;
|
|
506
|
+
export declare var ListIntermediateTables$: StaticOperationSchema;
|
|
507
|
+
export declare var ListIntermediateTableVersions$: StaticOperationSchema;
|
|
448
508
|
export declare var ListMembers$: StaticOperationSchema;
|
|
449
509
|
export declare var ListMemberships$: StaticOperationSchema;
|
|
450
510
|
export declare var ListPrivacyBudgets$: StaticOperationSchema;
|
|
@@ -454,6 +514,7 @@ export declare var ListProtectedQueries$: StaticOperationSchema;
|
|
|
454
514
|
export declare var ListSchemas$: StaticOperationSchema;
|
|
455
515
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
456
516
|
export declare var PopulateIdMappingTable$: StaticOperationSchema;
|
|
517
|
+
export declare var PopulateIntermediateTable$: StaticOperationSchema;
|
|
457
518
|
export declare var PreviewPrivacyImpact$: StaticOperationSchema;
|
|
458
519
|
export declare var StartProtectedJob$: StaticOperationSchema;
|
|
459
520
|
export declare var StartProtectedQuery$: StaticOperationSchema;
|
|
@@ -469,6 +530,8 @@ export declare var UpdateConfiguredTableAssociation$: StaticOperationSchema;
|
|
|
469
530
|
export declare var UpdateConfiguredTableAssociationAnalysisRule$: StaticOperationSchema;
|
|
470
531
|
export declare var UpdateIdMappingTable$: StaticOperationSchema;
|
|
471
532
|
export declare var UpdateIdNamespaceAssociation$: StaticOperationSchema;
|
|
533
|
+
export declare var UpdateIntermediateTable$: StaticOperationSchema;
|
|
534
|
+
export declare var UpdateIntermediateTableAnalysisRule$: StaticOperationSchema;
|
|
472
535
|
export declare var UpdateMembership$: StaticOperationSchema;
|
|
473
536
|
export declare var UpdatePrivacyBudgetTemplate$: StaticOperationSchema;
|
|
474
537
|
export declare var UpdateProtectedJob$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cleanrooms",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cleanrooms Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1077.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -19,15 +19,13 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-
|
|
23
|
-
"@aws-
|
|
24
|
-
"@aws-sdk/
|
|
25
|
-
"@
|
|
26
|
-
"@
|
|
27
|
-
"@smithy/
|
|
28
|
-
"@smithy/
|
|
29
|
-
"@smithy/node-http-handler": "^4.7.6",
|
|
30
|
-
"@smithy/types": "^4.14.3",
|
|
22
|
+
"@aws-sdk/core": "^3.974.25",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "^3.972.60",
|
|
24
|
+
"@aws-sdk/types": "^3.973.14",
|
|
25
|
+
"@smithy/core": "^3.28.0",
|
|
26
|
+
"@smithy/fetch-http-handler": "^5.6.1",
|
|
27
|
+
"@smithy/node-http-handler": "^4.9.1",
|
|
28
|
+
"@smithy/types": "^4.15.0",
|
|
31
29
|
"tslib": "^2.6.2"
|
|
32
30
|
},
|
|
33
31
|
"devDependencies": {
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes");
|
|
2
|
-
const { getSmithyContext, normalizeProvider } = require("@smithy/core/client");
|
|
3
|
-
exports.defaultCleanRoomsHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
|
-
return {
|
|
5
|
-
operation: getSmithyContext(context).operation,
|
|
6
|
-
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
-
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
-
})(),
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
12
|
-
return {
|
|
13
|
-
schemeId: "aws.auth#sigv4",
|
|
14
|
-
signingProperties: {
|
|
15
|
-
name: "cleanrooms",
|
|
16
|
-
region: authParameters.region,
|
|
17
|
-
},
|
|
18
|
-
propertiesExtractor: (config, context) => ({
|
|
19
|
-
signingProperties: {
|
|
20
|
-
config,
|
|
21
|
-
context,
|
|
22
|
-
},
|
|
23
|
-
}),
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
exports.defaultCleanRoomsHttpAuthSchemeProvider = (authParameters) => {
|
|
27
|
-
const options = [];
|
|
28
|
-
switch (authParameters.operation) {
|
|
29
|
-
default: {
|
|
30
|
-
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return options;
|
|
34
|
-
};
|
|
35
|
-
exports.resolveHttpAuthSchemeConfig = (config) => {
|
|
36
|
-
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
37
|
-
return Object.assign(config_0, {
|
|
38
|
-
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
39
|
-
});
|
|
40
|
-
};
|
package/dist-cjs/endpoint/bdd.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
const { BinaryDecisionDiagram } = require("@smithy/core/endpoints");
|
|
2
|
-
const k = "ref";
|
|
3
|
-
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
4
|
-
const _data = {
|
|
5
|
-
conditions: [
|
|
6
|
-
[c, [g]],
|
|
7
|
-
[c, j],
|
|
8
|
-
["aws.partition", j, d],
|
|
9
|
-
[e, [{ [k]: "UseFIPS" }, b]],
|
|
10
|
-
[e, [{ [k]: "UseDualStack" }, b]],
|
|
11
|
-
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
12
|
-
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
13
|
-
],
|
|
14
|
-
results: [
|
|
15
|
-
[a],
|
|
16
|
-
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
17
|
-
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
18
|
-
[g, i],
|
|
19
|
-
["https://cleanrooms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
20
|
-
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
21
|
-
["https://cleanrooms-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
22
|
-
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
23
|
-
["https://cleanrooms.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
24
|
-
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
25
|
-
["https://cleanrooms.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
26
|
-
[a, "Invalid Configuration: Missing Region"]
|
|
27
|
-
]
|
|
28
|
-
};
|
|
29
|
-
const root = 2;
|
|
30
|
-
const r = 100_000_000;
|
|
31
|
-
const nodes = new Int32Array([
|
|
32
|
-
-1, 1, -1,
|
|
33
|
-
0, 12, 3,
|
|
34
|
-
1, 4, r + 11,
|
|
35
|
-
2, 5, r + 11,
|
|
36
|
-
3, 8, 6,
|
|
37
|
-
4, 7, r + 10,
|
|
38
|
-
5, r + 8, r + 9,
|
|
39
|
-
4, 10, 9,
|
|
40
|
-
6, r + 6, r + 7,
|
|
41
|
-
5, 11, r + 5,
|
|
42
|
-
6, r + 4, r + 5,
|
|
43
|
-
3, r + 1, 13,
|
|
44
|
-
4, r + 2, r + 3,
|
|
45
|
-
]);
|
|
46
|
-
exports.bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
const { awsEndpointFunctions } = require("@aws-sdk/core/client");
|
|
2
|
-
const { customEndpointFunctions, decideEndpoint, EndpointCache } = require("@smithy/core/endpoints");
|
|
3
|
-
const { bdd } = require("./bdd");
|
|
4
|
-
const cache = new EndpointCache({
|
|
5
|
-
size: 50,
|
|
6
|
-
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
|
-
});
|
|
8
|
-
exports.defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
-
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
10
|
-
endpointParams: endpointParams,
|
|
11
|
-
logger: context.logger,
|
|
12
|
-
}));
|
|
13
|
-
};
|
|
14
|
-
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
const { ServiceException: __ServiceException } = require("@smithy/core/client");
|
|
2
|
-
exports.__ServiceException = __ServiceException;
|
|
3
|
-
exports.CleanRoomsServiceException = class CleanRoomsServiceException extends __ServiceException {
|
|
4
|
-
constructor(options) {
|
|
5
|
-
super(options);
|
|
6
|
-
Object.setPrototypeOf(this, CleanRoomsServiceException.prototype);
|
|
7
|
-
}
|
|
8
|
-
};
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
const { CleanRoomsServiceException: __BaseException } = require("./CleanRoomsServiceException");
|
|
2
|
-
exports.AccessDeniedException = class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
reason;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.reason = opts.reason;
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
exports.ConflictException = class ConflictException extends __BaseException {
|
|
17
|
-
name = "ConflictException";
|
|
18
|
-
$fault = "client";
|
|
19
|
-
resourceId;
|
|
20
|
-
resourceType;
|
|
21
|
-
reason;
|
|
22
|
-
constructor(opts) {
|
|
23
|
-
super({
|
|
24
|
-
name: "ConflictException",
|
|
25
|
-
$fault: "client",
|
|
26
|
-
...opts,
|
|
27
|
-
});
|
|
28
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
29
|
-
this.resourceId = opts.resourceId;
|
|
30
|
-
this.resourceType = opts.resourceType;
|
|
31
|
-
this.reason = opts.reason;
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
exports.InternalServerException = class InternalServerException extends __BaseException {
|
|
35
|
-
name = "InternalServerException";
|
|
36
|
-
$fault = "server";
|
|
37
|
-
constructor(opts) {
|
|
38
|
-
super({
|
|
39
|
-
name: "InternalServerException",
|
|
40
|
-
$fault: "server",
|
|
41
|
-
...opts,
|
|
42
|
-
});
|
|
43
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
exports.ResourceNotFoundException = class ResourceNotFoundException extends __BaseException {
|
|
47
|
-
name = "ResourceNotFoundException";
|
|
48
|
-
$fault = "client";
|
|
49
|
-
resourceId;
|
|
50
|
-
resourceType;
|
|
51
|
-
constructor(opts) {
|
|
52
|
-
super({
|
|
53
|
-
name: "ResourceNotFoundException",
|
|
54
|
-
$fault: "client",
|
|
55
|
-
...opts,
|
|
56
|
-
});
|
|
57
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
58
|
-
this.resourceId = opts.resourceId;
|
|
59
|
-
this.resourceType = opts.resourceType;
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
exports.ServiceQuotaExceededException = class ServiceQuotaExceededException extends __BaseException {
|
|
63
|
-
name = "ServiceQuotaExceededException";
|
|
64
|
-
$fault = "client";
|
|
65
|
-
quotaName;
|
|
66
|
-
quotaValue;
|
|
67
|
-
constructor(opts) {
|
|
68
|
-
super({
|
|
69
|
-
name: "ServiceQuotaExceededException",
|
|
70
|
-
$fault: "client",
|
|
71
|
-
...opts,
|
|
72
|
-
});
|
|
73
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
74
|
-
this.quotaName = opts.quotaName;
|
|
75
|
-
this.quotaValue = opts.quotaValue;
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
exports.ThrottlingException = class ThrottlingException extends __BaseException {
|
|
79
|
-
name = "ThrottlingException";
|
|
80
|
-
$fault = "client";
|
|
81
|
-
constructor(opts) {
|
|
82
|
-
super({
|
|
83
|
-
name: "ThrottlingException",
|
|
84
|
-
$fault: "client",
|
|
85
|
-
...opts,
|
|
86
|
-
});
|
|
87
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
88
|
-
}
|
|
89
|
-
};
|
|
90
|
-
exports.ValidationException = class ValidationException extends __BaseException {
|
|
91
|
-
name = "ValidationException";
|
|
92
|
-
$fault = "client";
|
|
93
|
-
reason;
|
|
94
|
-
fieldList;
|
|
95
|
-
constructor(opts) {
|
|
96
|
-
super({
|
|
97
|
-
name: "ValidationException",
|
|
98
|
-
$fault: "client",
|
|
99
|
-
...opts,
|
|
100
|
-
});
|
|
101
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
102
|
-
this.reason = opts.reason;
|
|
103
|
-
this.fieldList = opts.fieldList;
|
|
104
|
-
}
|
|
105
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
const packageInfo = require("../package.json");
|
|
2
|
-
const { Sha256 } = require("@aws-crypto/sha256-browser");
|
|
3
|
-
const { createDefaultUserAgentProvider } = require("@aws-sdk/core/client");
|
|
4
|
-
const { invalidProvider, loadConfigsForDefaultMode } = require("@smithy/core/client");
|
|
5
|
-
const { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig } = require("@smithy/core/config");
|
|
6
|
-
const { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } = require("@smithy/core/retry");
|
|
7
|
-
const { calculateBodyLength } = require("@smithy/core/serde");
|
|
8
|
-
const { FetchHttpHandler: RequestHandler, streamCollector } = require("@smithy/fetch-http-handler");
|
|
9
|
-
const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
|
|
10
|
-
const getRuntimeConfig = (config) => {
|
|
11
|
-
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
12
|
-
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
13
|
-
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
14
|
-
return {
|
|
15
|
-
...clientSharedValues,
|
|
16
|
-
...config,
|
|
17
|
-
runtime: "browser",
|
|
18
|
-
defaultsMode,
|
|
19
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
20
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
21
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
22
|
-
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
23
|
-
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
|
-
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
|
-
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
const packageInfo = require("../package.json");
|
|
2
|
-
const { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion: awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS } = require("@aws-sdk/core/client");
|
|
3
|
-
const { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
4
|
-
const { defaultProvider: credentialDefaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
5
|
-
const { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } = require("@smithy/core/client");
|
|
6
|
-
const { loadConfig: loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig } = require("@smithy/core/config");
|
|
7
|
-
const { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } = require("@smithy/core/retry");
|
|
8
|
-
const { calculateBodyLength, Hash } = require("@smithy/core/serde");
|
|
9
|
-
const { NodeHttpHandler: RequestHandler, streamCollector } = require("@smithy/node-http-handler");
|
|
10
|
-
const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
|
|
11
|
-
const getRuntimeConfig = (config) => {
|
|
12
|
-
emitWarningIfUnsupportedVersion(process.version);
|
|
13
|
-
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
|
-
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
15
|
-
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
awsCheckVersion(process.version);
|
|
17
|
-
const loaderConfig = {
|
|
18
|
-
profile: config?.profile,
|
|
19
|
-
logger: clientSharedValues.logger,
|
|
20
|
-
};
|
|
21
|
-
return {
|
|
22
|
-
...clientSharedValues,
|
|
23
|
-
...config,
|
|
24
|
-
runtime: "node",
|
|
25
|
-
defaultsMode,
|
|
26
|
-
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
27
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
30
|
-
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
31
|
-
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
32
|
-
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
33
|
-
retryMode: config?.retryMode ??
|
|
34
|
-
loadNodeConfig({
|
|
35
|
-
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
|
-
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
|
-
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
|
-
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
42
|
-
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
const { Sha256 } = require("@aws-crypto/sha256-js");
|
|
2
|
-
const { getRuntimeConfig: getBrowserRuntimeConfig } = require("./runtimeConfig.browser");
|
|
3
|
-
const getRuntimeConfig = (config) => {
|
|
4
|
-
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
5
|
-
return {
|
|
6
|
-
...browserDefaults,
|
|
7
|
-
...config,
|
|
8
|
-
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
const { AwsSdkSigV4Signer } = require("@aws-sdk/core/httpAuthSchemes");
|
|
2
|
-
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
3
|
-
const { NoOpLogger } = require("@smithy/core/client");
|
|
4
|
-
const { parseUrl } = require("@smithy/core/protocols");
|
|
5
|
-
const { fromBase64, fromUtf8, toBase64, toUtf8 } = require("@smithy/core/serde");
|
|
6
|
-
const { defaultCleanRoomsHttpAuthSchemeProvider } = require("./auth/httpAuthSchemeProvider");
|
|
7
|
-
const { defaultEndpointResolver } = require("./endpoint/endpointResolver");
|
|
8
|
-
const { errorTypeRegistries } = require("./schemas/schemas_0");
|
|
9
|
-
exports.getRuntimeConfig = (config) => {
|
|
10
|
-
return {
|
|
11
|
-
apiVersion: "2022-02-17",
|
|
12
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
13
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
14
|
-
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
15
|
-
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
16
|
-
extensions: config?.extensions ?? [],
|
|
17
|
-
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultCleanRoomsHttpAuthSchemeProvider,
|
|
18
|
-
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
19
|
-
{
|
|
20
|
-
schemeId: "aws.auth#sigv4",
|
|
21
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
22
|
-
signer: new AwsSdkSigV4Signer(),
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
-
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
-
defaultNamespace: "com.amazonaws.cleanrooms",
|
|
29
|
-
errorTypeRegistries,
|
|
30
|
-
version: "2022-02-17",
|
|
31
|
-
serviceTarget: "AWSBastionControlPlaneServiceLambda",
|
|
32
|
-
},
|
|
33
|
-
serviceId: config?.serviceId ?? "CleanRooms",
|
|
34
|
-
urlParser: config?.urlParser ?? parseUrl,
|
|
35
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
37
|
-
};
|
|
38
|
-
};
|