@aws-sdk/client-dataexchange 3.936.0 → 3.940.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,27 @@
1
- export declare const AcceptanceStateFilterValue: {
2
- readonly ACCEPTED: "ACCEPTED";
3
- readonly PENDING_RECEIVER_ACCEPTANCE: "PENDING_RECEIVER_ACCEPTANCE";
4
- };
5
- export type AcceptanceStateFilterValue =
6
- (typeof AcceptanceStateFilterValue)[keyof typeof AcceptanceStateFilterValue];
1
+ import {
2
+ AcceptanceStateFilterValue,
3
+ AssetType,
4
+ Code,
5
+ DatabaseLFTagPolicyPermission,
6
+ DataGrantAcceptanceState,
7
+ GrantDistributionScope,
8
+ JobErrorLimitName,
9
+ JobErrorResourceTypes,
10
+ LakeFormationDataPermissionType,
11
+ LFPermission,
12
+ LFResourceType,
13
+ NotificationType,
14
+ Origin,
15
+ ProtocolType,
16
+ SchemaChangeType,
17
+ ServerSideEncryptionTypes,
18
+ State,
19
+ TableTagPolicyLFPermission,
20
+ Type,
21
+ } from "./enums";
7
22
  export interface AcceptDataGrantRequest {
8
23
  DataGrantArn: string | undefined;
9
24
  }
10
- export declare const DataGrantAcceptanceState: {
11
- readonly ACCEPTED: "ACCEPTED";
12
- readonly PENDING_RECEIVER_ACCEPTANCE: "PENDING_RECEIVER_ACCEPTANCE";
13
- };
14
- export type DataGrantAcceptanceState =
15
- (typeof DataGrantAcceptanceState)[keyof typeof DataGrantAcceptanceState];
16
- export declare const GrantDistributionScope: {
17
- readonly AWS_ORGANIZATION: "AWS_ORGANIZATION";
18
- readonly NONE: "NONE";
19
- };
20
- export type GrantDistributionScope =
21
- (typeof GrantDistributionScope)[keyof typeof GrantDistributionScope];
22
25
  export interface AcceptDataGrantResponse {
23
26
  Name: string | undefined;
24
27
  SenderPrincipal?: string | undefined;
@@ -34,27 +37,6 @@ export interface AcceptDataGrantResponse {
34
37
  CreatedAt: Date | undefined;
35
38
  UpdatedAt: Date | undefined;
36
39
  }
37
- export declare const ResourceType: {
38
- readonly ASSET: "ASSET";
39
- readonly DATA_GRANT: "DATA_GRANT";
40
- readonly DATA_SET: "DATA_SET";
41
- readonly EVENT_ACTION: "EVENT_ACTION";
42
- readonly JOB: "JOB";
43
- readonly REVISION: "REVISION";
44
- };
45
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
46
- export declare const ExceptionCause: {
47
- readonly InsufficientS3BucketPolicy: "InsufficientS3BucketPolicy";
48
- readonly S3AccessDenied: "S3AccessDenied";
49
- };
50
- export type ExceptionCause =
51
- (typeof ExceptionCause)[keyof typeof ExceptionCause];
52
- export declare const ServerSideEncryptionTypes: {
53
- readonly AES256: "AES256";
54
- readonly aws_kms: "aws:kms";
55
- };
56
- export type ServerSideEncryptionTypes =
57
- (typeof ServerSideEncryptionTypes)[keyof typeof ServerSideEncryptionTypes];
58
40
  export interface ExportServerSideEncryption {
59
41
  KmsKeyArn?: string | undefined;
60
42
  Type: ServerSideEncryptionTypes | undefined;
@@ -70,10 +52,6 @@ export interface AutoExportRevisionToS3RequestDetails {
70
52
  export interface Action {
71
53
  ExportRevisionToS3?: AutoExportRevisionToS3RequestDetails | undefined;
72
54
  }
73
- export declare const ProtocolType: {
74
- readonly REST: "REST";
75
- };
76
- export type ProtocolType = (typeof ProtocolType)[keyof typeof ProtocolType];
77
55
  export interface ApiGatewayApiAsset {
78
56
  ApiDescription?: string | undefined;
79
57
  ApiEndpoint?: string | undefined;
@@ -104,12 +82,6 @@ export interface LFResourceDetails {
104
82
  Database?: DatabaseLFTagPolicy | undefined;
105
83
  Table?: TableLFTagPolicy | undefined;
106
84
  }
107
- export declare const LFResourceType: {
108
- readonly DATABASE: "DATABASE";
109
- readonly TABLE: "TABLE";
110
- };
111
- export type LFResourceType =
112
- (typeof LFResourceType)[keyof typeof LFResourceType];
113
85
  export interface LFTagPolicyDetails {
114
86
  CatalogId: string | undefined;
115
87
  ResourceType: LFResourceType | undefined;
@@ -118,16 +90,6 @@ export interface LFTagPolicyDetails {
118
90
  export interface LakeFormationDataPermissionDetails {
119
91
  LFTagPolicy?: LFTagPolicyDetails | undefined;
120
92
  }
121
- export declare const LakeFormationDataPermissionType: {
122
- readonly LFTagPolicy: "LFTagPolicy";
123
- };
124
- export type LakeFormationDataPermissionType =
125
- (typeof LakeFormationDataPermissionType)[keyof typeof LakeFormationDataPermissionType];
126
- export declare const LFPermission: {
127
- readonly DESCRIBE: "DESCRIBE";
128
- readonly SELECT: "SELECT";
129
- };
130
- export type LFPermission = (typeof LFPermission)[keyof typeof LFPermission];
131
93
  export interface LakeFormationDataPermissionAsset {
132
94
  LakeFormationDataPermissionDetails:
133
95
  | LakeFormationDataPermissionDetails
@@ -162,14 +124,6 @@ export interface AssetDetails {
162
124
  | LakeFormationDataPermissionAsset
163
125
  | undefined;
164
126
  }
165
- export declare const AssetType: {
166
- readonly API_GATEWAY_API: "API_GATEWAY_API";
167
- readonly LAKE_FORMATION_DATA_PERMISSION: "LAKE_FORMATION_DATA_PERMISSION";
168
- readonly REDSHIFT_DATA_SHARE: "REDSHIFT_DATA_SHARE";
169
- readonly S3_DATA_ACCESS: "S3_DATA_ACCESS";
170
- readonly S3_SNAPSHOT: "S3_SNAPSHOT";
171
- };
172
- export type AssetType = (typeof AssetType)[keyof typeof AssetType];
173
127
  export interface AssetEntry {
174
128
  Arn: string | undefined;
175
129
  AssetDetails: AssetDetails | undefined;
@@ -189,16 +143,6 @@ export interface AssetSourceEntry {
189
143
  export interface CancelJobRequest {
190
144
  JobId: string | undefined;
191
145
  }
192
- export declare const Code: {
193
- readonly ACCESS_DENIED_EXCEPTION: "ACCESS_DENIED_EXCEPTION";
194
- readonly INTERNAL_SERVER_EXCEPTION: "INTERNAL_SERVER_EXCEPTION";
195
- readonly MALWARE_DETECTED: "MALWARE_DETECTED";
196
- readonly MALWARE_SCAN_ENCRYPTED_FILE: "MALWARE_SCAN_ENCRYPTED_FILE";
197
- readonly RESOURCE_NOT_FOUND_EXCEPTION: "RESOURCE_NOT_FOUND_EXCEPTION";
198
- readonly SERVICE_QUOTA_EXCEEDED_EXCEPTION: "SERVICE_QUOTA_EXCEEDED_EXCEPTION";
199
- readonly VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION";
200
- };
201
- export type Code = (typeof Code)[keyof typeof Code];
202
146
  export interface CreateDataGrantRequest {
203
147
  Name: string | undefined;
204
148
  GrantDistributionScope: GrantDistributionScope | undefined;
@@ -225,50 +169,12 @@ export interface CreateDataGrantResponse {
225
169
  UpdatedAt: Date | undefined;
226
170
  Tags?: Record<string, string> | undefined;
227
171
  }
228
- export declare const LimitName: {
229
- readonly AWS_Lake_Formation_data_permission_assets_per_revision: "AWS Lake Formation data permission assets per revision";
230
- readonly Active_and_pending_data_grants: "Active and pending data grants";
231
- readonly Amazon_API_Gateway_API_assets_per_revision: "Amazon API Gateway API assets per revision";
232
- readonly Amazon_Redshift_datashare_assets_per_import_job_from_Redshift: "Amazon Redshift datashare assets per import job from Redshift";
233
- readonly Amazon_Redshift_datashare_assets_per_revision: "Amazon Redshift datashare assets per revision";
234
- readonly Amazon_S3_data_access_assets_per_revision: "Amazon S3 data access assets per revision";
235
- readonly Asset_per_export_job_from_Amazon_S3: "Asset per export job from Amazon S3";
236
- readonly Asset_size_in_GB: "Asset size in GB";
237
- readonly Assets_per_import_job_from_Amazon_S3: "Assets per import job from Amazon S3";
238
- readonly Assets_per_revision: "Assets per revision";
239
- readonly Auto_export_event_actions_per_data_set: "Auto export event actions per data set";
240
- readonly Concurrent_in_progress_jobs_to_create_Amazon_S3_data_access_assets_from_S3_buckets: "Concurrent in progress jobs to create Amazon S3 data access assets from S3 buckets";
241
- readonly Concurrent_in_progress_jobs_to_export_assets_to_Amazon_S3: "Concurrent in progress jobs to export assets to Amazon S3";
242
- readonly Concurrent_in_progress_jobs_to_export_assets_to_a_signed_URL: "Concurrent in progress jobs to export assets to a signed URL";
243
- readonly Concurrent_in_progress_jobs_to_export_revisions_to_Amazon_S3: "Concurrent in progress jobs to export revisions to Amazon S3";
244
- readonly Concurrent_in_progress_jobs_to_import_assets_from_Amazon_Redshift_datashares: "Concurrent in progress jobs to import assets from Amazon Redshift datashares";
245
- readonly Concurrent_in_progress_jobs_to_import_assets_from_Amazon_S3: "Concurrent in progress jobs to import assets from Amazon S3";
246
- readonly Concurrent_in_progress_jobs_to_import_assets_from_a_signed_URL: "Concurrent in progress jobs to import assets from a signed URL";
247
- readonly Concurrent_in_progress_jobs_to_import_assets_from_an_API_Gateway_API: "Concurrent in progress jobs to import assets from an API Gateway API";
248
- readonly Concurrent_in_progress_jobs_to_import_assets_from_an_AWS_Lake_Formation_tag_policy: "Concurrent in progress jobs to import assets from an AWS Lake Formation tag policy";
249
- readonly Data_sets_per_account: "Data sets per account";
250
- readonly Data_sets_per_product: "Data sets per product";
251
- readonly Event_actions_per_account: "Event actions per account";
252
- readonly Pending_data_grants_per_consumer: "Pending data grants per consumer";
253
- readonly Products_per_account: "Products per account";
254
- readonly Revisions_per_AWS_Lake_Formation_data_permission_data_set: "Revisions per AWS Lake Formation data permission data set";
255
- readonly Revisions_per_Amazon_API_Gateway_API_data_set: "Revisions per Amazon API Gateway API data set";
256
- readonly Revisions_per_Amazon_Redshift_datashare_data_set: "Revisions per Amazon Redshift datashare data set";
257
- readonly Revisions_per_Amazon_S3_data_access_data_set: "Revisions per Amazon S3 data access data set";
258
- readonly Revisions_per_data_set: "Revisions per data set";
259
- };
260
- export type LimitName = (typeof LimitName)[keyof typeof LimitName];
261
172
  export interface CreateDataSetRequest {
262
173
  AssetType: AssetType | undefined;
263
174
  Description: string | undefined;
264
175
  Name: string | undefined;
265
176
  Tags?: Record<string, string> | undefined;
266
177
  }
267
- export declare const Origin: {
268
- readonly ENTITLED: "ENTITLED";
269
- readonly OWNED: "OWNED";
270
- };
271
- export type Origin = (typeof Origin)[keyof typeof Origin];
272
178
  export interface OriginDetails {
273
179
  ProductId?: string | undefined;
274
180
  DataGrantId?: string | undefined;
@@ -355,21 +261,10 @@ export interface ImportAssetFromSignedUrlRequestDetails {
355
261
  Md5Hash: string | undefined;
356
262
  RevisionId: string | undefined;
357
263
  }
358
- export declare const DatabaseLFTagPolicyPermission: {
359
- readonly DESCRIBE: "DESCRIBE";
360
- };
361
- export type DatabaseLFTagPolicyPermission =
362
- (typeof DatabaseLFTagPolicyPermission)[keyof typeof DatabaseLFTagPolicyPermission];
363
264
  export interface DatabaseLFTagPolicyAndPermissions {
364
265
  Expression: LFTag[] | undefined;
365
266
  Permissions: DatabaseLFTagPolicyPermission[] | undefined;
366
267
  }
367
- export declare const TableTagPolicyLFPermission: {
368
- readonly DESCRIBE: "DESCRIBE";
369
- readonly SELECT: "SELECT";
370
- };
371
- export type TableTagPolicyLFPermission =
372
- (typeof TableTagPolicyLFPermission)[keyof typeof TableTagPolicyLFPermission];
373
268
  export interface TableLFTagPolicyAndPermissions {
374
269
  Expression: LFTag[] | undefined;
375
270
  Permissions: TableTagPolicyLFPermission[] | undefined;
@@ -414,18 +309,6 @@ export interface RequestDetails {
414
309
  | ImportAssetsFromLakeFormationTagPolicyRequestDetails
415
310
  | undefined;
416
311
  }
417
- export declare const Type: {
418
- readonly CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET: "CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET";
419
- readonly EXPORT_ASSETS_TO_S3: "EXPORT_ASSETS_TO_S3";
420
- readonly EXPORT_ASSET_TO_SIGNED_URL: "EXPORT_ASSET_TO_SIGNED_URL";
421
- readonly EXPORT_REVISIONS_TO_S3: "EXPORT_REVISIONS_TO_S3";
422
- readonly IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY: "IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY";
423
- readonly IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES: "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES";
424
- readonly IMPORT_ASSETS_FROM_S3: "IMPORT_ASSETS_FROM_S3";
425
- readonly IMPORT_ASSET_FROM_API_GATEWAY_API: "IMPORT_ASSET_FROM_API_GATEWAY_API";
426
- readonly IMPORT_ASSET_FROM_SIGNED_URL: "IMPORT_ASSET_FROM_SIGNED_URL";
427
- };
428
- export type Type = (typeof Type)[keyof typeof Type];
429
312
  export interface CreateJobRequest {
430
313
  Details: RequestDetails | undefined;
431
314
  Type: Type | undefined;
@@ -523,22 +406,6 @@ export interface Details {
523
406
  | undefined;
524
407
  ImportAssetsFromS3JobErrorDetails?: AssetSourceEntry[] | undefined;
525
408
  }
526
- export declare const JobErrorLimitName: {
527
- readonly AWS_Lake_Formation_data_permission_assets_per_revision: "AWS Lake Formation data permission assets per revision";
528
- readonly Amazon_Redshift_datashare_assets_per_revision: "Amazon Redshift datashare assets per revision";
529
- readonly Amazon_S3_data_access_assets_per_revision: "Amazon S3 data access assets per revision";
530
- readonly Asset_size_in_GB: "Asset size in GB";
531
- readonly Assets_per_revision: "Assets per revision";
532
- };
533
- export type JobErrorLimitName =
534
- (typeof JobErrorLimitName)[keyof typeof JobErrorLimitName];
535
- export declare const JobErrorResourceTypes: {
536
- readonly ASSET: "ASSET";
537
- readonly DATA_SET: "DATA_SET";
538
- readonly REVISION: "REVISION";
539
- };
540
- export type JobErrorResourceTypes =
541
- (typeof JobErrorResourceTypes)[keyof typeof JobErrorResourceTypes];
542
409
  export interface JobError {
543
410
  Code: Code | undefined;
544
411
  Details?: Details | undefined;
@@ -548,15 +415,6 @@ export interface JobError {
548
415
  ResourceId?: string | undefined;
549
416
  ResourceType?: JobErrorResourceTypes | undefined;
550
417
  }
551
- export declare const State: {
552
- readonly CANCELLED: "CANCELLED";
553
- readonly COMPLETED: "COMPLETED";
554
- readonly ERROR: "ERROR";
555
- readonly IN_PROGRESS: "IN_PROGRESS";
556
- readonly TIMED_OUT: "TIMED_OUT";
557
- readonly WAITING: "WAITING";
558
- };
559
- export type State = (typeof State)[keyof typeof State];
560
418
  export interface CreateJobResponse {
561
419
  Arn?: string | undefined;
562
420
  CreatedAt?: Date | undefined;
@@ -896,13 +754,6 @@ export interface DataUpdateRequestDetails {
896
754
  export interface DeprecationRequestDetails {
897
755
  DeprecationAt: Date | undefined;
898
756
  }
899
- export declare const SchemaChangeType: {
900
- readonly ADD: "ADD";
901
- readonly MODIFY: "MODIFY";
902
- readonly REMOVE: "REMOVE";
903
- };
904
- export type SchemaChangeType =
905
- (typeof SchemaChangeType)[keyof typeof SchemaChangeType];
906
757
  export interface SchemaChangeDetails {
907
758
  Name: string | undefined;
908
759
  Type: SchemaChangeType | undefined;
@@ -938,14 +789,6 @@ export interface ScopeDetails {
938
789
  RedshiftDataShares?: RedshiftDataShareDetails[] | undefined;
939
790
  S3DataAccesses?: S3DataAccessDetails[] | undefined;
940
791
  }
941
- export declare const NotificationType: {
942
- readonly DATA_DELAY: "DATA_DELAY";
943
- readonly DATA_UPDATE: "DATA_UPDATE";
944
- readonly DEPRECATION: "DEPRECATION";
945
- readonly SCHEMA_CHANGE: "SCHEMA_CHANGE";
946
- };
947
- export type NotificationType =
948
- (typeof NotificationType)[keyof typeof NotificationType];
949
792
  export interface SendDataSetNotificationRequest {
950
793
  Scope?: ScopeDetails | undefined;
951
794
  ClientToken?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dataexchange",
3
3
  "description": "AWS SDK for JavaScript Dataexchange Client for Node.js, Browser and React Native",
4
- "version": "3.936.0",
4
+ "version": "3.940.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-dataexchange",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.936.0",
24
- "@aws-sdk/credential-provider-node": "3.936.0",
23
+ "@aws-sdk/core": "3.940.0",
24
+ "@aws-sdk/credential-provider-node": "3.940.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.940.0",
29
29
  "@aws-sdk/region-config-resolver": "3.936.0",
30
30
  "@aws-sdk/types": "3.936.0",
31
31
  "@aws-sdk/util-endpoints": "3.936.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.936.0",
33
- "@aws-sdk/util-user-agent-node": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.940.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",