@aws-sdk/client-finspace-data 3.34.0 → 3.37.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 (109) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/FinspaceData.js +1 -5
  3. package/{dist/cjs → dist-cjs}/FinspaceDataClient.js +8 -17
  4. package/{dist/cjs → dist-cjs}/commands/CreateChangesetCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/GetProgrammaticAccessCredentialsCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/GetWorkingLocationCommand.js +2 -28
  7. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  8. package/{dist/cjs → dist-cjs}/index.js +0 -1
  9. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  10. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -43
  11. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +2 -8
  12. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  13. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  14. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  15. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  16. package/{dist/es → dist-es}/FinspaceData.js +1 -2
  17. package/{dist/es → dist-es}/FinspaceDataClient.js +1 -2
  18. package/{dist/es → dist-es}/commands/CreateChangesetCommand.js +2 -3
  19. package/{dist/es → dist-es}/commands/GetProgrammaticAccessCredentialsCommand.js +2 -3
  20. package/{dist/es → dist-es}/commands/GetWorkingLocationCommand.js +2 -3
  21. package/{dist/es → dist-es}/endpoints.js +1 -2
  22. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  23. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  24. package/{dist/es → dist-es}/models/models_0.js +0 -1
  25. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
  26. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  27. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  28. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  29. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  30. package/{dist/types → dist-types}/FinspaceData.d.ts +2 -2
  31. package/{dist/types → dist-types}/FinspaceDataClient.d.ts +4 -4
  32. package/{dist/types → dist-types}/commands/CreateChangesetCommand.d.ts +2 -2
  33. package/{dist/types → dist-types}/commands/GetProgrammaticAccessCredentialsCommand.d.ts +2 -2
  34. package/{dist/types → dist-types}/commands/GetWorkingLocationCommand.d.ts +2 -2
  35. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  36. package/{index.ts → dist-types/index.d.ts} +0 -0
  37. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  38. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  39. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  40. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  41. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  42. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  43. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  44. package/{dist/types → dist-types}/ts3.4/FinspaceData.d.ts +6 -15
  45. package/{dist/types → dist-types}/ts3.4/FinspaceDataClient.d.ts +28 -93
  46. package/dist-types/ts3.4/commands/CreateChangesetCommand.d.ts +17 -0
  47. package/{dist/types → dist-types}/ts3.4/commands/GetProgrammaticAccessCredentialsCommand.d.ts +4 -22
  48. package/dist-types/ts3.4/commands/GetWorkingLocationCommand.d.ts +17 -0
  49. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  50. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  51. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  52. package/dist-types/ts3.4/models/models_0.d.ts +224 -0
  53. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  54. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  55. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  56. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  57. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  58. package/package.json +45 -42
  59. package/FinspaceData.ts +0 -119
  60. package/FinspaceDataClient.ts +0 -247
  61. package/commands/CreateChangesetCommand.ts +0 -94
  62. package/commands/GetProgrammaticAccessCredentialsCommand.ts +0 -102
  63. package/commands/GetWorkingLocationCommand.ts +0 -95
  64. package/dist/cjs/FinspaceData.js.map +0 -1
  65. package/dist/cjs/FinspaceDataClient.js.map +0 -1
  66. package/dist/cjs/commands/CreateChangesetCommand.js.map +0 -1
  67. package/dist/cjs/commands/GetProgrammaticAccessCredentialsCommand.js.map +0 -1
  68. package/dist/cjs/commands/GetWorkingLocationCommand.js.map +0 -1
  69. package/dist/cjs/endpoints.js.map +0 -1
  70. package/dist/cjs/index.js.map +0 -1
  71. package/dist/cjs/models/index.js.map +0 -1
  72. package/dist/cjs/models/models_0.js.map +0 -1
  73. package/dist/cjs/package.json +0 -91
  74. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  75. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  76. package/dist/cjs/runtimeConfig.js.map +0 -1
  77. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  78. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  79. package/dist/es/FinspaceData.js.map +0 -1
  80. package/dist/es/FinspaceDataClient.js.map +0 -1
  81. package/dist/es/commands/CreateChangesetCommand.js.map +0 -1
  82. package/dist/es/commands/GetProgrammaticAccessCredentialsCommand.js.map +0 -1
  83. package/dist/es/commands/GetWorkingLocationCommand.js.map +0 -1
  84. package/dist/es/endpoints.js.map +0 -1
  85. package/dist/es/index.js +0 -7
  86. package/dist/es/index.js.map +0 -1
  87. package/dist/es/models/index.js +0 -2
  88. package/dist/es/models/index.js.map +0 -1
  89. package/dist/es/models/models_0.js.map +0 -1
  90. package/dist/es/package.json +0 -91
  91. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  92. package/dist/es/runtimeConfig.browser.js.map +0 -1
  93. package/dist/es/runtimeConfig.js.map +0 -1
  94. package/dist/es/runtimeConfig.native.js.map +0 -1
  95. package/dist/es/runtimeConfig.shared.js.map +0 -1
  96. package/dist/types/ts3.4/commands/CreateChangesetCommand.d.ts +0 -35
  97. package/dist/types/ts3.4/commands/GetWorkingLocationCommand.d.ts +0 -36
  98. package/dist/types/ts3.4/models/models_0.d.ts +0 -429
  99. package/endpoints.ts +0 -57
  100. package/jest.config.js +0 -4
  101. package/models/models_0.ts +0 -505
  102. package/protocols/Aws_restJson1.ts +0 -594
  103. package/runtimeConfig.browser.ts +0 -40
  104. package/runtimeConfig.native.ts +0 -16
  105. package/runtimeConfig.shared.ts +0 -16
  106. package/runtimeConfig.ts +0 -45
  107. package/tsconfig.es.json +0 -10
  108. package/tsconfig.json +0 -31
  109. package/tsconfig.types.json +0 -8
@@ -0,0 +1,224 @@
1
+ import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
+
3
+ export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
4
+ name: "AccessDeniedException";
5
+ $fault: "client";
6
+ message?: string;
7
+ }
8
+ export declare namespace AccessDeniedException {
9
+
10
+ const filterSensitiveLog: (obj: AccessDeniedException) => any;
11
+ }
12
+ export declare enum ChangeType {
13
+ APPEND = "APPEND",
14
+ MODIFY = "MODIFY",
15
+ REPLACE = "REPLACE"
16
+ }
17
+ export declare enum FormatType {
18
+ CSV = "CSV",
19
+ JSON = "JSON",
20
+ PARQUET = "PARQUET",
21
+ XML = "XML"
22
+ }
23
+ export declare enum SourceType {
24
+ S3 = "S3"
25
+ }
26
+ export interface CreateChangesetRequest {
27
+
28
+ datasetId: string | undefined;
29
+
30
+ changeType: ChangeType | string | undefined;
31
+
32
+ sourceType: SourceType | string | undefined;
33
+
34
+ sourceParams: {
35
+ [key: string]: string;
36
+ } | undefined;
37
+
38
+ formatType?: FormatType | string;
39
+
40
+ formatParams?: {
41
+ [key: string]: string;
42
+ };
43
+
44
+ tags?: {
45
+ [key: string]: string;
46
+ };
47
+ }
48
+ export declare namespace CreateChangesetRequest {
49
+
50
+ const filterSensitiveLog: (obj: CreateChangesetRequest) => any;
51
+ }
52
+ export declare enum ErrorCategory {
53
+ ACCESS_DENIED = "Missing_required_permission_to_perform_this_request",
54
+ CANCELLED = "Cancelled",
55
+ INTERNAL_SERVICE_EXCEPTION = "An_internal_error_has_occurred",
56
+ RESOURCE_NOT_FOUND = "One_or_more_inputs_to_this_request_were_not_found",
57
+ SERVICE_QUOTA_EXCEEDED = "Service_limits_have_been_exceeded",
58
+ THROTTLING = "The_system_temporarily_lacks_sufficient_resources_to_process_the_request",
59
+ USER_RECOVERABLE = "A_user_recoverable_error_has_occurred",
60
+ VALIDATION = "The_inputs_to_this_request_are_invalid"
61
+ }
62
+
63
+ export interface ErrorInfo {
64
+
65
+ errorMessage?: string;
66
+
67
+ errorCategory?: ErrorCategory | string;
68
+ }
69
+ export declare namespace ErrorInfo {
70
+
71
+ const filterSensitiveLog: (obj: ErrorInfo) => any;
72
+ }
73
+ export declare enum ChangesetStatus {
74
+ FAILED = "FAILED",
75
+ PENDING = "PENDING",
76
+ RUNNING = "RUNNING",
77
+ STOP_REQUESTED = "STOP_REQUESTED",
78
+ SUCCESS = "SUCCESS"
79
+ }
80
+
81
+ export interface ChangesetInfo {
82
+
83
+ id?: string;
84
+
85
+ changesetArn?: string;
86
+
87
+ datasetId?: string;
88
+
89
+ changeType?: ChangeType | string;
90
+
91
+ sourceType?: SourceType | string;
92
+
93
+ sourceParams?: {
94
+ [key: string]: string;
95
+ };
96
+
97
+ formatType?: FormatType | string;
98
+
99
+ formatParams?: {
100
+ [key: string]: string;
101
+ };
102
+
103
+ createTimestamp?: Date;
104
+
105
+ status?: ChangesetStatus | string;
106
+
107
+ errorInfo?: ErrorInfo;
108
+
109
+ changesetLabels?: {
110
+ [key: string]: string;
111
+ };
112
+
113
+ updatesChangesetId?: string;
114
+
115
+ updatedByChangesetId?: string;
116
+ }
117
+ export declare namespace ChangesetInfo {
118
+
119
+ const filterSensitiveLog: (obj: ChangesetInfo) => any;
120
+ }
121
+ export interface CreateChangesetResponse {
122
+
123
+ changeset?: ChangesetInfo;
124
+ }
125
+ export declare namespace CreateChangesetResponse {
126
+
127
+ const filterSensitiveLog: (obj: CreateChangesetResponse) => any;
128
+ }
129
+
130
+ export interface InternalServerException extends __SmithyException, $MetadataBearer {
131
+ name: "InternalServerException";
132
+ $fault: "server";
133
+ message?: string;
134
+ }
135
+ export declare namespace InternalServerException {
136
+
137
+ const filterSensitiveLog: (obj: InternalServerException) => any;
138
+ }
139
+
140
+ export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
141
+ name: "ResourceNotFoundException";
142
+ $fault: "client";
143
+ message?: string;
144
+ }
145
+ export declare namespace ResourceNotFoundException {
146
+
147
+ const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
148
+ }
149
+
150
+ export interface ThrottlingException extends __SmithyException, $MetadataBearer {
151
+ name: "ThrottlingException";
152
+ $fault: "client";
153
+ }
154
+ export declare namespace ThrottlingException {
155
+
156
+ const filterSensitiveLog: (obj: ThrottlingException) => any;
157
+ }
158
+
159
+ export interface ValidationException extends __SmithyException, $MetadataBearer {
160
+ name: "ValidationException";
161
+ $fault: "client";
162
+ message?: string;
163
+ }
164
+ export declare namespace ValidationException {
165
+
166
+ const filterSensitiveLog: (obj: ValidationException) => any;
167
+ }
168
+ export interface GetProgrammaticAccessCredentialsRequest {
169
+
170
+ durationInMinutes?: number;
171
+
172
+ environmentId: string | undefined;
173
+ }
174
+ export declare namespace GetProgrammaticAccessCredentialsRequest {
175
+
176
+ const filterSensitiveLog: (obj: GetProgrammaticAccessCredentialsRequest) => any;
177
+ }
178
+
179
+ export interface Credentials {
180
+
181
+ accessKeyId?: string;
182
+
183
+ secretAccessKey?: string;
184
+
185
+ sessionToken?: string;
186
+ }
187
+ export declare namespace Credentials {
188
+
189
+ const filterSensitiveLog: (obj: Credentials) => any;
190
+ }
191
+ export interface GetProgrammaticAccessCredentialsResponse {
192
+
193
+ credentials?: Credentials;
194
+
195
+ durationInMinutes?: number;
196
+ }
197
+ export declare namespace GetProgrammaticAccessCredentialsResponse {
198
+
199
+ const filterSensitiveLog: (obj: GetProgrammaticAccessCredentialsResponse) => any;
200
+ }
201
+ export declare enum LocationType {
202
+ INGESTION = "INGESTION",
203
+ SAGEMAKER = "SAGEMAKER"
204
+ }
205
+ export interface GetWorkingLocationRequest {
206
+
207
+ locationType?: LocationType | string;
208
+ }
209
+ export declare namespace GetWorkingLocationRequest {
210
+
211
+ const filterSensitiveLog: (obj: GetWorkingLocationRequest) => any;
212
+ }
213
+ export interface GetWorkingLocationResponse {
214
+
215
+ s3Uri?: string;
216
+
217
+ s3Path?: string;
218
+
219
+ s3Bucket?: string;
220
+ }
221
+ export declare namespace GetWorkingLocationResponse {
222
+
223
+ const filterSensitiveLog: (obj: GetWorkingLocationResponse) => any;
224
+ }
@@ -1,8 +1,8 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
3
  import { CreateChangesetCommandInput, CreateChangesetCommandOutput } from "../commands/CreateChangesetCommand";
2
4
  import { GetProgrammaticAccessCredentialsCommandInput, GetProgrammaticAccessCredentialsCommandOutput } from "../commands/GetProgrammaticAccessCredentialsCommand";
3
5
  import { GetWorkingLocationCommandInput, GetWorkingLocationCommandOutput } from "../commands/GetWorkingLocationCommand";
4
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
5
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
6
6
  export declare const serializeAws_restJson1CreateChangesetCommand: (input: CreateChangesetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
7
7
  export declare const serializeAws_restJson1GetProgrammaticAccessCredentialsCommand: (input: GetProgrammaticAccessCredentialsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
8
8
  export declare const serializeAws_restJson1GetWorkingLocationCommand: (input: GetWorkingLocationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -1,8 +1,6 @@
1
1
  import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { FinspaceDataClientConfig } from "./FinspaceDataClient";
3
- /**
4
- * @internal
5
- */
3
+
6
4
  export declare const getRuntimeConfig: (config: FinspaceDataClientConfig) => {
7
5
  runtime: string;
8
6
  base64Decoder: import("@aws-sdk/types").Decoder;
@@ -1,14 +1,12 @@
1
1
  import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
2
2
  import { FinspaceDataClientConfig } from "./FinspaceDataClient";
3
- /**
4
- * @internal
5
- */
3
+
6
4
  export declare const getRuntimeConfig: (config: FinspaceDataClientConfig) => {
7
5
  runtime: string;
8
6
  base64Decoder: import("@aws-sdk/types").Decoder;
9
7
  base64Encoder: import("@aws-sdk/types").Encoder;
10
8
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist/types/defaultStsRoleAssumers").DefaultCredentialProvider;
9
+ credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
10
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
11
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
12
  region: string | import("@aws-sdk/types").Provider<string>;
@@ -1,7 +1,5 @@
1
1
  import { FinspaceDataClientConfig } from "./FinspaceDataClient";
2
- /**
3
- * @internal
4
- */
2
+
5
3
  export declare const getRuntimeConfig: (config: FinspaceDataClientConfig) => {
6
4
  runtime: string;
7
5
  sha256: import("@aws-sdk/types").HashConstructor;
@@ -1,8 +1,6 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { FinspaceDataClientConfig } from "./FinspaceDataClient";
3
- /**
4
- * @internal
5
- */
3
+
6
4
  export declare const getRuntimeConfig: (config: FinspaceDataClientConfig) => {
7
5
  apiVersion: string;
8
6
  disableHostPrefix: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-finspace-data",
3
3
  "description": "AWS SDK for JavaScript Finspace Data Client for Node.js, Browser and React Native",
4
- "version": "3.34.0",
4
+ "version": "3.37.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -11,54 +11,48 @@
11
11
  "clean": "yarn clean:dist && yarn clean:docs",
12
12
  "clean:dist": "rimraf ./dist",
13
13
  "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
14
+ "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
15
  "test": "jest --coverage --passWithNoTests"
16
16
  },
17
- "main": "./dist/cjs/index.js",
18
- "types": "./dist/types/index.d.ts",
19
- "module": "./dist/es/index.js",
20
- "browser": {
21
- "./runtimeConfig": "./runtimeConfig.browser"
22
- },
23
- "react-native": {
24
- "./runtimeConfig": "./runtimeConfig.native"
25
- },
17
+ "main": "./dist-cjs/index.js",
18
+ "types": "./dist-types/index.d.ts",
19
+ "module": "./dist-es/index.js",
26
20
  "sideEffects": false,
27
21
  "dependencies": {
28
22
  "@aws-crypto/sha256-browser": "^1.1.0",
29
23
  "@aws-crypto/sha256-js": "^1.1.0",
30
- "@aws-sdk/client-sts": "3.34.0",
31
- "@aws-sdk/config-resolver": "3.34.0",
32
- "@aws-sdk/credential-provider-node": "3.34.0",
33
- "@aws-sdk/fetch-http-handler": "3.34.0",
34
- "@aws-sdk/hash-node": "3.34.0",
35
- "@aws-sdk/invalid-dependency": "3.34.0",
36
- "@aws-sdk/middleware-content-length": "3.34.0",
37
- "@aws-sdk/middleware-host-header": "3.34.0",
38
- "@aws-sdk/middleware-logger": "3.34.0",
39
- "@aws-sdk/middleware-retry": "3.34.0",
40
- "@aws-sdk/middleware-serde": "3.34.0",
41
- "@aws-sdk/middleware-signing": "3.34.0",
42
- "@aws-sdk/middleware-stack": "3.34.0",
43
- "@aws-sdk/middleware-user-agent": "3.34.0",
44
- "@aws-sdk/node-config-provider": "3.34.0",
45
- "@aws-sdk/node-http-handler": "3.34.0",
46
- "@aws-sdk/protocol-http": "3.34.0",
47
- "@aws-sdk/smithy-client": "3.34.0",
48
- "@aws-sdk/types": "3.34.0",
49
- "@aws-sdk/url-parser": "3.34.0",
50
- "@aws-sdk/util-base64-browser": "3.34.0",
51
- "@aws-sdk/util-base64-node": "3.34.0",
52
- "@aws-sdk/util-body-length-browser": "3.34.0",
53
- "@aws-sdk/util-body-length-node": "3.34.0",
54
- "@aws-sdk/util-user-agent-browser": "3.34.0",
55
- "@aws-sdk/util-user-agent-node": "3.34.0",
56
- "@aws-sdk/util-utf8-browser": "3.34.0",
57
- "@aws-sdk/util-utf8-node": "3.34.0",
24
+ "@aws-sdk/client-sts": "3.37.0",
25
+ "@aws-sdk/config-resolver": "3.37.0",
26
+ "@aws-sdk/credential-provider-node": "3.37.0",
27
+ "@aws-sdk/fetch-http-handler": "3.37.0",
28
+ "@aws-sdk/hash-node": "3.37.0",
29
+ "@aws-sdk/invalid-dependency": "3.37.0",
30
+ "@aws-sdk/middleware-content-length": "3.37.0",
31
+ "@aws-sdk/middleware-host-header": "3.37.0",
32
+ "@aws-sdk/middleware-logger": "3.37.0",
33
+ "@aws-sdk/middleware-retry": "3.37.0",
34
+ "@aws-sdk/middleware-serde": "3.37.0",
35
+ "@aws-sdk/middleware-signing": "3.37.0",
36
+ "@aws-sdk/middleware-stack": "3.37.0",
37
+ "@aws-sdk/middleware-user-agent": "3.37.0",
38
+ "@aws-sdk/node-config-provider": "3.37.0",
39
+ "@aws-sdk/node-http-handler": "3.37.0",
40
+ "@aws-sdk/protocol-http": "3.37.0",
41
+ "@aws-sdk/smithy-client": "3.37.0",
42
+ "@aws-sdk/types": "3.37.0",
43
+ "@aws-sdk/url-parser": "3.37.0",
44
+ "@aws-sdk/util-base64-browser": "3.37.0",
45
+ "@aws-sdk/util-base64-node": "3.37.0",
46
+ "@aws-sdk/util-body-length-browser": "3.37.0",
47
+ "@aws-sdk/util-body-length-node": "3.37.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.37.0",
49
+ "@aws-sdk/util-user-agent-node": "3.37.0",
50
+ "@aws-sdk/util-utf8-browser": "3.37.0",
51
+ "@aws-sdk/util-utf8-node": "3.37.0",
58
52
  "tslib": "^2.3.0"
59
53
  },
60
54
  "devDependencies": {
61
- "@aws-sdk/client-documentation-generator": "3.34.0",
55
+ "@aws-sdk/client-documentation-generator": "3.37.0",
62
56
  "@types/node": "^12.7.5",
63
57
  "downlevel-dts": "0.7.0",
64
58
  "jest": "^26.1.0",
@@ -72,16 +66,25 @@
72
66
  },
73
67
  "typesVersions": {
74
68
  "<4.0": {
75
- "dist/types/*": [
76
- "dist/types/ts3.4/*"
69
+ "dist-types/*": [
70
+ "dist-types/ts3.4/*"
77
71
  ]
78
72
  }
79
73
  },
74
+ "files": [
75
+ "dist-*"
76
+ ],
80
77
  "author": {
81
78
  "name": "AWS SDK for JavaScript Team",
82
79
  "url": "https://aws.amazon.com/javascript/"
83
80
  },
84
81
  "license": "Apache-2.0",
82
+ "browser": {
83
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
84
+ },
85
+ "react-native": {
86
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
87
+ },
85
88
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-finspace-data",
86
89
  "repository": {
87
90
  "type": "git",
package/FinspaceData.ts DELETED
@@ -1,119 +0,0 @@
1
- import { FinspaceDataClient } from "./FinspaceDataClient";
2
- import {
3
- CreateChangesetCommand,
4
- CreateChangesetCommandInput,
5
- CreateChangesetCommandOutput,
6
- } from "./commands/CreateChangesetCommand";
7
- import {
8
- GetProgrammaticAccessCredentialsCommand,
9
- GetProgrammaticAccessCredentialsCommandInput,
10
- GetProgrammaticAccessCredentialsCommandOutput,
11
- } from "./commands/GetProgrammaticAccessCredentialsCommand";
12
- import {
13
- GetWorkingLocationCommand,
14
- GetWorkingLocationCommandInput,
15
- GetWorkingLocationCommandOutput,
16
- } from "./commands/GetWorkingLocationCommand";
17
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
18
-
19
- /**
20
- * <p> The FinSpace APIs let you take actions inside the FinSpace environment. </p>
21
- */
22
- export class FinspaceData extends FinspaceDataClient {
23
- /**
24
- * <p>Creates a new changeset in a FinSpace dataset.</p>
25
- */
26
- public createChangeset(
27
- args: CreateChangesetCommandInput,
28
- options?: __HttpHandlerOptions
29
- ): Promise<CreateChangesetCommandOutput>;
30
- public createChangeset(
31
- args: CreateChangesetCommandInput,
32
- cb: (err: any, data?: CreateChangesetCommandOutput) => void
33
- ): void;
34
- public createChangeset(
35
- args: CreateChangesetCommandInput,
36
- options: __HttpHandlerOptions,
37
- cb: (err: any, data?: CreateChangesetCommandOutput) => void
38
- ): void;
39
- public createChangeset(
40
- args: CreateChangesetCommandInput,
41
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateChangesetCommandOutput) => void),
42
- cb?: (err: any, data?: CreateChangesetCommandOutput) => void
43
- ): Promise<CreateChangesetCommandOutput> | void {
44
- const command = new CreateChangesetCommand(args);
45
- if (typeof optionsOrCb === "function") {
46
- this.send(command, optionsOrCb);
47
- } else if (typeof cb === "function") {
48
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
49
- this.send(command, optionsOrCb || {}, cb);
50
- } else {
51
- return this.send(command, optionsOrCb);
52
- }
53
- }
54
-
55
- /**
56
- * <p>Request programmatic credentials to use with Habanero SDK.</p>
57
- */
58
- public getProgrammaticAccessCredentials(
59
- args: GetProgrammaticAccessCredentialsCommandInput,
60
- options?: __HttpHandlerOptions
61
- ): Promise<GetProgrammaticAccessCredentialsCommandOutput>;
62
- public getProgrammaticAccessCredentials(
63
- args: GetProgrammaticAccessCredentialsCommandInput,
64
- cb: (err: any, data?: GetProgrammaticAccessCredentialsCommandOutput) => void
65
- ): void;
66
- public getProgrammaticAccessCredentials(
67
- args: GetProgrammaticAccessCredentialsCommandInput,
68
- options: __HttpHandlerOptions,
69
- cb: (err: any, data?: GetProgrammaticAccessCredentialsCommandOutput) => void
70
- ): void;
71
- public getProgrammaticAccessCredentials(
72
- args: GetProgrammaticAccessCredentialsCommandInput,
73
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetProgrammaticAccessCredentialsCommandOutput) => void),
74
- cb?: (err: any, data?: GetProgrammaticAccessCredentialsCommandOutput) => void
75
- ): Promise<GetProgrammaticAccessCredentialsCommandOutput> | void {
76
- const command = new GetProgrammaticAccessCredentialsCommand(args);
77
- if (typeof optionsOrCb === "function") {
78
- this.send(command, optionsOrCb);
79
- } else if (typeof cb === "function") {
80
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
81
- this.send(command, optionsOrCb || {}, cb);
82
- } else {
83
- return this.send(command, optionsOrCb);
84
- }
85
- }
86
-
87
- /**
88
- * <p>A temporary Amazon S3 location to copy your files from a source location to stage or use
89
- * as a scratch space in Habanero notebook.</p>
90
- */
91
- public getWorkingLocation(
92
- args: GetWorkingLocationCommandInput,
93
- options?: __HttpHandlerOptions
94
- ): Promise<GetWorkingLocationCommandOutput>;
95
- public getWorkingLocation(
96
- args: GetWorkingLocationCommandInput,
97
- cb: (err: any, data?: GetWorkingLocationCommandOutput) => void
98
- ): void;
99
- public getWorkingLocation(
100
- args: GetWorkingLocationCommandInput,
101
- options: __HttpHandlerOptions,
102
- cb: (err: any, data?: GetWorkingLocationCommandOutput) => void
103
- ): void;
104
- public getWorkingLocation(
105
- args: GetWorkingLocationCommandInput,
106
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetWorkingLocationCommandOutput) => void),
107
- cb?: (err: any, data?: GetWorkingLocationCommandOutput) => void
108
- ): Promise<GetWorkingLocationCommandOutput> | void {
109
- const command = new GetWorkingLocationCommand(args);
110
- if (typeof optionsOrCb === "function") {
111
- this.send(command, optionsOrCb);
112
- } else if (typeof cb === "function") {
113
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
114
- this.send(command, optionsOrCb || {}, cb);
115
- } else {
116
- return this.send(command, optionsOrCb);
117
- }
118
- }
119
- }