@aws-sdk/client-dataexchange 3.1019.0 → 3.1021.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.
Files changed (41) hide show
  1. package/README.md +1 -18
  2. package/dist-cjs/schemas/schemas_0.js +31 -14
  3. package/dist-es/DataExchange.js +5 -5
  4. package/dist-es/schemas/schemas_0.js +27 -10
  5. package/dist-types/DataExchange.d.ts +38 -55
  6. package/dist-types/DataExchangeClient.d.ts +41 -58
  7. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  8. package/dist-types/commands/AcceptDataGrantCommand.d.ts +1 -2
  9. package/dist-types/commands/CancelJobCommand.d.ts +2 -4
  10. package/dist-types/commands/CreateJobCommand.d.ts +17 -2
  11. package/dist-types/commands/DeleteAssetCommand.d.ts +1 -2
  12. package/dist-types/commands/DeleteDataSetCommand.d.ts +1 -2
  13. package/dist-types/commands/DeleteRevisionCommand.d.ts +1 -2
  14. package/dist-types/commands/GetAssetCommand.d.ts +3 -0
  15. package/dist-types/commands/GetJobCommand.d.ts +8 -0
  16. package/dist-types/commands/ListDataSetRevisionsCommand.d.ts +1 -2
  17. package/dist-types/commands/ListDataSetsCommand.d.ts +1 -2
  18. package/dist-types/commands/ListJobsCommand.d.ts +8 -0
  19. package/dist-types/commands/ListRevisionAssetsCommand.d.ts +1 -2
  20. package/dist-types/commands/RevokeRevisionCommand.d.ts +1 -2
  21. package/dist-types/commands/SendApiAssetCommand.d.ts +1 -2
  22. package/dist-types/commands/SendDataSetNotificationCommand.d.ts +1 -2
  23. package/dist-types/commands/StartJobCommand.d.ts +1 -2
  24. package/dist-types/commands/UpdateAssetCommand.d.ts +1 -2
  25. package/dist-types/commands/UpdateRevisionCommand.d.ts +1 -2
  26. package/dist-types/index.d.ts +2 -19
  27. package/dist-types/models/errors.d.ts +3 -5
  28. package/dist-types/models/models_0.d.ts +170 -321
  29. package/dist-types/pagination/ListDataGrantsPaginator.d.ts +1 -1
  30. package/dist-types/pagination/ListDataSetRevisionsPaginator.d.ts +1 -1
  31. package/dist-types/pagination/ListDataSetsPaginator.d.ts +1 -1
  32. package/dist-types/pagination/ListEventActionsPaginator.d.ts +1 -1
  33. package/dist-types/pagination/ListJobsPaginator.d.ts +1 -1
  34. package/dist-types/pagination/ListReceivedDataGrantsPaginator.d.ts +1 -1
  35. package/dist-types/pagination/ListRevisionAssetsPaginator.d.ts +1 -1
  36. package/dist-types/schemas/schemas_0.d.ts +2 -0
  37. package/dist-types/ts3.4/DataExchangeClient.d.ts +2 -3
  38. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  39. package/dist-types/ts3.4/models/models_0.d.ts +12 -0
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  41. package/package.json +14 -14
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListDataGrantsCommandInput, ListDataGrantsCommandOutput } from "../commands/ListDataGrantsCommand";
3
- import { DataExchangePaginationConfiguration } from "./Interfaces";
3
+ import type { DataExchangePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListDataSetRevisionsCommandInput, ListDataSetRevisionsCommandOutput } from "../commands/ListDataSetRevisionsCommand";
3
- import { DataExchangePaginationConfiguration } from "./Interfaces";
3
+ import type { DataExchangePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListDataSetsCommandInput, ListDataSetsCommandOutput } from "../commands/ListDataSetsCommand";
3
- import { DataExchangePaginationConfiguration } from "./Interfaces";
3
+ import type { DataExchangePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListEventActionsCommandInput, ListEventActionsCommandOutput } from "../commands/ListEventActionsCommand";
3
- import { DataExchangePaginationConfiguration } from "./Interfaces";
3
+ import type { DataExchangePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListJobsCommandInput, ListJobsCommandOutput } from "../commands/ListJobsCommand";
3
- import { DataExchangePaginationConfiguration } from "./Interfaces";
3
+ import type { DataExchangePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListReceivedDataGrantsCommandInput, ListReceivedDataGrantsCommandOutput } from "../commands/ListReceivedDataGrantsCommand";
3
- import { DataExchangePaginationConfiguration } from "./Interfaces";
3
+ import type { DataExchangePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListRevisionAssetsCommandInput, ListRevisionAssetsCommandOutput } from "../commands/ListRevisionAssetsCommand";
3
- import { DataExchangePaginationConfiguration } from "./Interfaces";
3
+ import type { DataExchangePaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -18,6 +18,7 @@ export declare var AcceptDataGrantRequest$: StaticStructureSchema;
18
18
  export declare var AcceptDataGrantResponse$: StaticStructureSchema;
19
19
  export declare var Action$: StaticStructureSchema;
20
20
  export declare var ApiGatewayApiAsset$: StaticStructureSchema;
21
+ export declare var AssetConfiguration$: StaticStructureSchema;
21
22
  export declare var AssetDestinationEntry$: StaticStructureSchema;
22
23
  export declare var AssetDetails$: StaticStructureSchema;
23
24
  export declare var AssetEntry$: StaticStructureSchema;
@@ -136,6 +137,7 @@ export declare var StartJobRequest$: StaticStructureSchema;
136
137
  export declare var StartJobResponse$: StaticStructureSchema;
137
138
  export declare var TableLFTagPolicy$: StaticStructureSchema;
138
139
  export declare var TableLFTagPolicyAndPermissions$: StaticStructureSchema;
140
+ export declare var Tag$: StaticStructureSchema;
139
141
  export declare var TagResourceRequest$: StaticStructureSchema;
140
142
  export declare var UntagResourceRequest$: StaticStructureSchema;
141
143
  export declare var UpdateAssetRequest$: StaticStructureSchema;
@@ -26,6 +26,7 @@ import {
26
26
  Client as __Client,
27
27
  } from "@smithy/smithy-client";
28
28
  import {
29
+ AwsCredentialIdentityProvider,
29
30
  BodyLengthCalculator as __BodyLengthCalculator,
30
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
32
  ChecksumConstructor as __ChecksumConstructor,
@@ -37,8 +38,6 @@ import {
37
38
  Provider as __Provider,
38
39
  StreamCollector as __StreamCollector,
39
40
  UrlParser as __UrlParser,
40
- AwsCredentialIdentityProvider,
41
- Provider,
42
41
  UserAgent as __UserAgent,
43
42
  } from "@smithy/types";
44
43
  import {
@@ -294,7 +293,7 @@ export interface ClientDefaults
294
293
  useFipsEndpoint?: boolean | __Provider<boolean>;
295
294
  region?: string | __Provider<string>;
296
295
  profile?: string;
297
- defaultUserAgentProvider?: Provider<__UserAgent>;
296
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
298
297
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
299
298
  maxAttempts?: number | __Provider<number>;
300
299
  retryMode?: string | __Provider<string>;
@@ -1,7 +1,7 @@
1
1
  import {
2
- HttpAuthScheme,
3
2
  AwsCredentialIdentity,
4
3
  AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { DataExchangeHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
@@ -63,6 +63,13 @@ export interface ApiGatewayApiAsset {
63
63
  ProtocolType?: ProtocolType | undefined;
64
64
  Stage?: string | undefined;
65
65
  }
66
+ export interface Tag {
67
+ Key: string | undefined;
68
+ Value: string | undefined;
69
+ }
70
+ export interface AssetConfiguration {
71
+ Tags?: Tag[] | undefined;
72
+ }
66
73
  export interface AssetDestinationEntry {
67
74
  AssetId: string | undefined;
68
75
  Bucket: string | undefined;
@@ -310,6 +317,7 @@ export interface RequestDetails {
310
317
  | undefined;
311
318
  }
312
319
  export interface CreateJobRequest {
320
+ AssetConfiguration?: AssetConfiguration | undefined;
313
321
  Details: RequestDetails | undefined;
314
322
  Type: Type | undefined;
315
323
  }
@@ -417,6 +425,7 @@ export interface JobError {
417
425
  }
418
426
  export interface CreateJobResponse {
419
427
  Arn?: string | undefined;
428
+ AssetConfiguration?: AssetConfiguration | undefined;
420
429
  CreatedAt?: Date | undefined;
421
430
  Details?: ResponseDetails | undefined;
422
431
  Errors?: JobError[] | undefined;
@@ -477,6 +486,7 @@ export interface GetAssetResponse {
477
486
  Name?: string | undefined;
478
487
  RevisionId?: string | undefined;
479
488
  SourceId?: string | undefined;
489
+ Tags?: Record<string, string> | undefined;
480
490
  UpdatedAt?: Date | undefined;
481
491
  }
482
492
  export interface GetDataGrantRequest {
@@ -532,6 +542,7 @@ export interface GetJobRequest {
532
542
  }
533
543
  export interface GetJobResponse {
534
544
  Arn?: string | undefined;
545
+ AssetConfiguration?: AssetConfiguration | undefined;
535
546
  CreatedAt?: Date | undefined;
536
547
  Details?: ResponseDetails | undefined;
537
548
  Errors?: JobError[] | undefined;
@@ -666,6 +677,7 @@ export interface ListJobsRequest {
666
677
  }
667
678
  export interface JobEntry {
668
679
  Arn: string | undefined;
680
+ AssetConfiguration?: AssetConfiguration | undefined;
669
681
  CreatedAt: Date | undefined;
670
682
  Details: ResponseDetails | undefined;
671
683
  Errors?: JobError[] | undefined;
@@ -17,6 +17,7 @@ export declare var AcceptDataGrantRequest$: StaticStructureSchema;
17
17
  export declare var AcceptDataGrantResponse$: StaticStructureSchema;
18
18
  export declare var Action$: StaticStructureSchema;
19
19
  export declare var ApiGatewayApiAsset$: StaticStructureSchema;
20
+ export declare var AssetConfiguration$: StaticStructureSchema;
20
21
  export declare var AssetDestinationEntry$: StaticStructureSchema;
21
22
  export declare var AssetDetails$: StaticStructureSchema;
22
23
  export declare var AssetEntry$: StaticStructureSchema;
@@ -135,6 +136,7 @@ export declare var StartJobRequest$: StaticStructureSchema;
135
136
  export declare var StartJobResponse$: StaticStructureSchema;
136
137
  export declare var TableLFTagPolicy$: StaticStructureSchema;
137
138
  export declare var TableLFTagPolicyAndPermissions$: StaticStructureSchema;
139
+ export declare var Tag$: StaticStructureSchema;
138
140
  export declare var TagResourceRequest$: StaticStructureSchema;
139
141
  export declare var UntagResourceRequest$: StaticStructureSchema;
140
142
  export declare var UpdateAssetRequest$: StaticStructureSchema;
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.1019.0",
4
+ "version": "3.1021.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 client-dataexchange",
@@ -21,41 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.25",
25
- "@aws-sdk/credential-provider-node": "^3.972.27",
24
+ "@aws-sdk/core": "^3.973.26",
25
+ "@aws-sdk/credential-provider-node": "^3.972.29",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.8",
27
27
  "@aws-sdk/middleware-logger": "^3.972.8",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.9",
29
- "@aws-sdk/middleware-user-agent": "^3.972.26",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.28",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.10",
31
31
  "@aws-sdk/types": "^3.973.6",
32
32
  "@aws-sdk/util-endpoints": "^3.996.5",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
34
- "@aws-sdk/util-user-agent-node": "^3.973.12",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.14",
35
35
  "@smithy/config-resolver": "^4.4.13",
36
- "@smithy/core": "^3.23.12",
36
+ "@smithy/core": "^3.23.13",
37
37
  "@smithy/fetch-http-handler": "^5.3.15",
38
38
  "@smithy/hash-node": "^4.2.12",
39
39
  "@smithy/invalid-dependency": "^4.2.12",
40
40
  "@smithy/middleware-content-length": "^4.2.12",
41
- "@smithy/middleware-endpoint": "^4.4.27",
42
- "@smithy/middleware-retry": "^4.4.44",
43
- "@smithy/middleware-serde": "^4.2.15",
41
+ "@smithy/middleware-endpoint": "^4.4.28",
42
+ "@smithy/middleware-retry": "^4.4.46",
43
+ "@smithy/middleware-serde": "^4.2.16",
44
44
  "@smithy/middleware-stack": "^4.2.12",
45
45
  "@smithy/node-config-provider": "^4.3.12",
46
- "@smithy/node-http-handler": "^4.5.0",
46
+ "@smithy/node-http-handler": "^4.5.1",
47
47
  "@smithy/protocol-http": "^5.3.12",
48
- "@smithy/smithy-client": "^4.12.7",
48
+ "@smithy/smithy-client": "^4.12.8",
49
49
  "@smithy/types": "^4.13.1",
50
50
  "@smithy/url-parser": "^4.2.12",
51
51
  "@smithy/util-base64": "^4.3.2",
52
52
  "@smithy/util-body-length-browser": "^4.2.2",
53
53
  "@smithy/util-body-length-node": "^4.2.3",
54
- "@smithy/util-defaults-mode-browser": "^4.3.43",
55
- "@smithy/util-defaults-mode-node": "^4.2.47",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.44",
55
+ "@smithy/util-defaults-mode-node": "^4.2.48",
56
56
  "@smithy/util-endpoints": "^3.3.3",
57
57
  "@smithy/util-middleware": "^4.2.12",
58
- "@smithy/util-retry": "^4.2.12",
58
+ "@smithy/util-retry": "^4.2.13",
59
59
  "@smithy/util-utf8": "^4.2.2",
60
60
  "tslib": "^2.6.2"
61
61
  },