@aws-sdk/client-finspace-data 3.35.0 → 3.38.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 (92) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/FinspaceData.js +0 -4
  3. package/dist-cjs/FinspaceDataClient.js +0 -9
  4. package/dist-cjs/commands/CreateChangesetCommand.js +0 -25
  5. package/dist-cjs/commands/GetProgrammaticAccessCredentialsCommand.js +0 -25
  6. package/dist-cjs/commands/GetWorkingLocationCommand.js +0 -26
  7. package/dist-cjs/commands/index.js +6 -0
  8. package/dist-cjs/endpoints.js +1 -2
  9. package/dist-cjs/index.js +3 -6
  10. package/dist-cjs/models/index.js +0 -1
  11. package/dist-cjs/models/models_0.js +0 -43
  12. package/dist-cjs/protocols/Aws_restJson1.js +0 -6
  13. package/dist-cjs/runtimeConfig.browser.js +1 -6
  14. package/dist-cjs/runtimeConfig.js +2 -7
  15. package/dist-cjs/runtimeConfig.native.js +0 -4
  16. package/dist-cjs/runtimeConfig.shared.js +0 -4
  17. package/dist-es/FinspaceData.js +0 -1
  18. package/dist-es/FinspaceDataClient.js +0 -1
  19. package/dist-es/commands/CreateChangesetCommand.js +0 -1
  20. package/dist-es/commands/GetProgrammaticAccessCredentialsCommand.js +0 -1
  21. package/dist-es/commands/GetWorkingLocationCommand.js +0 -1
  22. package/dist-es/commands/index.js +3 -0
  23. package/dist-es/endpoints.js +1 -2
  24. package/dist-es/index.js +3 -6
  25. package/dist-es/models/index.js +0 -1
  26. package/dist-es/models/models_0.js +0 -1
  27. package/dist-es/protocols/Aws_restJson1.js +0 -1
  28. package/dist-es/runtimeConfig.browser.js +1 -2
  29. package/dist-es/runtimeConfig.js +2 -3
  30. package/dist-es/runtimeConfig.native.js +0 -1
  31. package/dist-es/runtimeConfig.shared.js +0 -1
  32. package/dist-types/commands/index.d.ts +3 -0
  33. package/dist-types/index.d.ts +3 -5
  34. package/dist-types/ts3.4/FinspaceData.d.ts +4 -13
  35. package/dist-types/ts3.4/FinspaceDataClient.d.ts +24 -89
  36. package/dist-types/ts3.4/commands/CreateChangesetCommand.d.ts +2 -20
  37. package/dist-types/ts3.4/commands/GetProgrammaticAccessCredentialsCommand.d.ts +2 -20
  38. package/dist-types/ts3.4/commands/GetWorkingLocationCommand.d.ts +2 -21
  39. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  40. package/dist-types/ts3.4/index.d.ts +3 -5
  41. package/dist-types/ts3.4/models/models_0.d.ts +57 -262
  42. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  43. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  44. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  45. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  46. package/package.json +33 -30
  47. package/dist-cjs/FinspaceData.js.map +0 -1
  48. package/dist-cjs/FinspaceDataClient.js.map +0 -1
  49. package/dist-cjs/commands/CreateChangesetCommand.js.map +0 -1
  50. package/dist-cjs/commands/GetProgrammaticAccessCredentialsCommand.js.map +0 -1
  51. package/dist-cjs/commands/GetWorkingLocationCommand.js.map +0 -1
  52. package/dist-cjs/endpoints.js.map +0 -1
  53. package/dist-cjs/index.js.map +0 -1
  54. package/dist-cjs/models/index.js.map +0 -1
  55. package/dist-cjs/models/models_0.js.map +0 -1
  56. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  57. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  58. package/dist-cjs/runtimeConfig.js.map +0 -1
  59. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  60. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  61. package/dist-es/FinspaceData.js.map +0 -1
  62. package/dist-es/FinspaceDataClient.js.map +0 -1
  63. package/dist-es/commands/CreateChangesetCommand.js.map +0 -1
  64. package/dist-es/commands/GetProgrammaticAccessCredentialsCommand.js.map +0 -1
  65. package/dist-es/commands/GetWorkingLocationCommand.js.map +0 -1
  66. package/dist-es/endpoints.js.map +0 -1
  67. package/dist-es/index.js.map +0 -1
  68. package/dist-es/models/index.js.map +0 -1
  69. package/dist-es/models/models_0.js.map +0 -1
  70. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  71. package/dist-es/runtimeConfig.browser.js.map +0 -1
  72. package/dist-es/runtimeConfig.js.map +0 -1
  73. package/dist-es/runtimeConfig.native.js.map +0 -1
  74. package/dist-es/runtimeConfig.shared.js.map +0 -1
  75. package/jest.config.js +0 -4
  76. package/src/FinspaceData.ts +0 -120
  77. package/src/FinspaceDataClient.ts +0 -248
  78. package/src/commands/CreateChangesetCommand.ts +0 -95
  79. package/src/commands/GetProgrammaticAccessCredentialsCommand.ts +0 -103
  80. package/src/commands/GetWorkingLocationCommand.ts +0 -96
  81. package/src/endpoints.ts +0 -57
  82. package/src/index.ts +0 -6
  83. package/src/models/index.ts +0 -1
  84. package/src/models/models_0.ts +0 -505
  85. package/src/protocols/Aws_restJson1.ts +0 -595
  86. package/src/runtimeConfig.browser.ts +0 -41
  87. package/src/runtimeConfig.native.ts +0 -17
  88. package/src/runtimeConfig.shared.ts +0 -17
  89. package/src/runtimeConfig.ts +0 -46
  90. package/tsconfig.es.json +0 -10
  91. package/tsconfig.json +0 -33
  92. package/tsconfig.types.json +0 -9
@@ -6,4 +6,3 @@ export var getRuntimeConfig = function (config) {
6
6
  var browserDefaults = getBrowserRuntimeConfig(config);
7
7
  return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
8
8
  };
9
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -11,4 +11,3 @@ export var getRuntimeConfig = function (config) {
11
11
  urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
12
12
  });
13
13
  };
14
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -0,0 +1,3 @@
1
+ export * from "./CreateChangesetCommand";
2
+ export * from "./GetProgrammaticAccessCredentialsCommand";
3
+ export * from "./GetWorkingLocationCommand";
@@ -1,6 +1,4 @@
1
- export * from "./FinspaceDataClient";
2
1
  export * from "./FinspaceData";
3
- export * from "./commands/CreateChangesetCommand";
4
- export * from "./commands/GetProgrammaticAccessCredentialsCommand";
5
- export * from "./commands/GetWorkingLocationCommand";
6
- export * from "./models/index";
2
+ export * from "./FinspaceDataClient";
3
+ export * from "./commands";
4
+ export * from "./models";
@@ -3,26 +3,17 @@ import { CreateChangesetCommandInput, CreateChangesetCommandOutput } from "./com
3
3
  import { GetProgrammaticAccessCredentialsCommandInput, GetProgrammaticAccessCredentialsCommandOutput } from "./commands/GetProgrammaticAccessCredentialsCommand";
4
4
  import { GetWorkingLocationCommandInput, GetWorkingLocationCommandOutput } from "./commands/GetWorkingLocationCommand";
5
5
  import { FinspaceDataClient } from "./FinspaceDataClient";
6
- /**
7
- * <p> The FinSpace APIs let you take actions inside the FinSpace environment. </p>
8
- */
6
+
9
7
  export declare class FinspaceData extends FinspaceDataClient {
10
- /**
11
- * <p>Creates a new changeset in a FinSpace dataset.</p>
12
- */
8
+
13
9
  createChangeset(args: CreateChangesetCommandInput, options?: __HttpHandlerOptions): Promise<CreateChangesetCommandOutput>;
14
10
  createChangeset(args: CreateChangesetCommandInput, cb: (err: any, data?: CreateChangesetCommandOutput) => void): void;
15
11
  createChangeset(args: CreateChangesetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateChangesetCommandOutput) => void): void;
16
- /**
17
- * <p>Request programmatic credentials to use with Habanero SDK.</p>
18
- */
12
+
19
13
  getProgrammaticAccessCredentials(args: GetProgrammaticAccessCredentialsCommandInput, options?: __HttpHandlerOptions): Promise<GetProgrammaticAccessCredentialsCommandOutput>;
20
14
  getProgrammaticAccessCredentials(args: GetProgrammaticAccessCredentialsCommandInput, cb: (err: any, data?: GetProgrammaticAccessCredentialsCommandOutput) => void): void;
21
15
  getProgrammaticAccessCredentials(args: GetProgrammaticAccessCredentialsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProgrammaticAccessCredentialsCommandOutput) => void): void;
22
- /**
23
- * <p>A temporary Amazon S3 location to copy your files from a source location to stage or use
24
- * as a scratch space in Habanero notebook.</p>
25
- */
16
+
26
17
  getWorkingLocation(args: GetWorkingLocationCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkingLocationCommandOutput>;
27
18
  getWorkingLocation(args: GetWorkingLocationCommandInput, cb: (err: any, data?: GetWorkingLocationCommandOutput) => void): void;
28
19
  getWorkingLocation(args: GetWorkingLocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkingLocationCommandOutput) => void): void;
@@ -12,124 +12,59 @@ import { GetWorkingLocationCommandInput, GetWorkingLocationCommandOutput } from
12
12
  export declare type ServiceInputTypes = CreateChangesetCommandInput | GetProgrammaticAccessCredentialsCommandInput | GetWorkingLocationCommandInput;
13
13
  export declare type ServiceOutputTypes = CreateChangesetCommandOutput | GetProgrammaticAccessCredentialsCommandOutput | GetWorkingLocationCommandOutput;
14
14
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
15
- /**
16
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
17
- */
15
+
18
16
  requestHandler?: __HttpHandler;
19
- /**
20
- * A constructor for a class implementing the {@link __Hash} interface
21
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
22
- * @internal
23
- */
17
+
24
18
  sha256?: __HashConstructor;
25
- /**
26
- * The function that will be used to convert strings into HTTP endpoints.
27
- * @internal
28
- */
19
+
29
20
  urlParser?: __UrlParser;
30
- /**
31
- * A function that can calculate the length of a request body.
32
- * @internal
33
- */
21
+
34
22
  bodyLengthChecker?: (body: any) => number | undefined;
35
- /**
36
- * A function that converts a stream into an array of bytes.
37
- * @internal
38
- */
23
+
39
24
  streamCollector?: __StreamCollector;
40
- /**
41
- * The function that will be used to convert a base64-encoded string to a byte array.
42
- * @internal
43
- */
25
+
44
26
  base64Decoder?: __Decoder;
45
- /**
46
- * The function that will be used to convert binary data to a base64-encoded string.
47
- * @internal
48
- */
27
+
49
28
  base64Encoder?: __Encoder;
50
- /**
51
- * The function that will be used to convert a UTF8-encoded string to a byte array.
52
- * @internal
53
- */
29
+
54
30
  utf8Decoder?: __Decoder;
55
- /**
56
- * The function that will be used to convert binary data to a UTF-8 encoded string.
57
- * @internal
58
- */
31
+
59
32
  utf8Encoder?: __Encoder;
60
- /**
61
- * The runtime environment.
62
- * @internal
63
- */
33
+
64
34
  runtime?: string;
65
- /**
66
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
67
- * trait of an operation.
68
- */
35
+
69
36
  disableHostPrefix?: boolean;
70
- /**
71
- * Value for how many times a request will be made at most in case of retry.
72
- */
37
+
73
38
  maxAttempts?: number | __Provider<number>;
74
- /**
75
- * Specifies which retry algorithm to use.
76
- */
39
+
77
40
  retryMode?: string | __Provider<string>;
78
- /**
79
- * Optional logger for logging debug/info/warn/error.
80
- */
41
+
81
42
  logger?: __Logger;
82
- /**
83
- * Unique service identifier.
84
- * @internal
85
- */
43
+
86
44
  serviceId?: string;
87
- /**
88
- * The AWS region to which this client will send requests
89
- */
45
+
90
46
  region?: string | __Provider<string>;
91
- /**
92
- * Default credentials provider; Not available in browser runtime.
93
- * @internal
94
- */
47
+
95
48
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
96
- /**
97
- * Fetch related hostname, signing name or signing region with given region.
98
- * @internal
99
- */
49
+
100
50
  regionInfoProvider?: RegionInfoProvider;
101
- /**
102
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
103
- * @internal
104
- */
51
+
105
52
  defaultUserAgentProvider?: Provider<__UserAgent>;
106
53
  }
107
54
  declare type FinspaceDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
108
- /**
109
- * The configuration interface of FinspaceDataClient class constructor that set the region, credentials and other options.
110
- */
55
+
111
56
  export interface FinspaceDataClientConfig extends FinspaceDataClientConfigType {
112
57
  }
113
58
  declare type FinspaceDataClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
114
- /**
115
- * The resolved configuration interface of FinspaceDataClient class. This is resolved and normalized from the {@link FinspaceDataClientConfig | constructor configuration interface}.
116
- */
59
+
117
60
  export interface FinspaceDataClientResolvedConfig extends FinspaceDataClientResolvedConfigType {
118
61
  }
119
- /**
120
- * <p> The FinSpace APIs let you take actions inside the FinSpace environment. </p>
121
- */
62
+
122
63
  export declare class FinspaceDataClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, FinspaceDataClientResolvedConfig> {
123
- /**
124
- * The resolved configuration of FinspaceDataClient class. This is resolved and normalized from the {@link FinspaceDataClientConfig | constructor configuration interface}.
125
- */
64
+
126
65
  readonly config: FinspaceDataClientResolvedConfig;
127
66
  constructor(configuration: FinspaceDataClientConfig);
128
- /**
129
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
130
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
131
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
132
- */
67
+
133
68
  destroy(): void;
134
69
  }
135
70
  export {};
@@ -6,29 +6,11 @@ export interface CreateChangesetCommandInput extends CreateChangesetRequest {
6
6
  }
7
7
  export interface CreateChangesetCommandOutput extends CreateChangesetResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Creates a new changeset in a FinSpace dataset.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { FinspaceDataClient, CreateChangesetCommand } from "@aws-sdk/client-finspace-data"; // ES Modules import
15
- * // const { FinspaceDataClient, CreateChangesetCommand } = require("@aws-sdk/client-finspace-data"); // CommonJS import
16
- * const client = new FinspaceDataClient(config);
17
- * const command = new CreateChangesetCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateChangesetCommandInput} for command's `input` shape.
22
- * @see {@link CreateChangesetCommandOutput} for command's `response` shape.
23
- * @see {@link FinspaceDataClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class CreateChangesetCommand extends $Command<CreateChangesetCommandInput, CreateChangesetCommandOutput, FinspaceDataClientResolvedConfig> {
27
11
  readonly input: CreateChangesetCommandInput;
28
12
  constructor(input: CreateChangesetCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FinspaceDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateChangesetCommandInput, CreateChangesetCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface GetProgrammaticAccessCredentialsCommandInput extends GetProgram
6
6
  }
7
7
  export interface GetProgrammaticAccessCredentialsCommandOutput extends GetProgrammaticAccessCredentialsResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Request programmatic credentials to use with Habanero SDK.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { FinspaceDataClient, GetProgrammaticAccessCredentialsCommand } from "@aws-sdk/client-finspace-data"; // ES Modules import
15
- * // const { FinspaceDataClient, GetProgrammaticAccessCredentialsCommand } = require("@aws-sdk/client-finspace-data"); // CommonJS import
16
- * const client = new FinspaceDataClient(config);
17
- * const command = new GetProgrammaticAccessCredentialsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetProgrammaticAccessCredentialsCommandInput} for command's `input` shape.
22
- * @see {@link GetProgrammaticAccessCredentialsCommandOutput} for command's `response` shape.
23
- * @see {@link FinspaceDataClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class GetProgrammaticAccessCredentialsCommand extends $Command<GetProgrammaticAccessCredentialsCommandInput, GetProgrammaticAccessCredentialsCommandOutput, FinspaceDataClientResolvedConfig> {
27
11
  readonly input: GetProgrammaticAccessCredentialsCommandInput;
28
12
  constructor(input: GetProgrammaticAccessCredentialsCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FinspaceDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetProgrammaticAccessCredentialsCommandInput, GetProgrammaticAccessCredentialsCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface GetWorkingLocationCommandInput extends GetWorkingLocationReques
6
6
  }
7
7
  export interface GetWorkingLocationCommandOutput extends GetWorkingLocationResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>A temporary Amazon S3 location to copy your files from a source location to stage or use
11
- * as a scratch space in Habanero notebook.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { FinspaceDataClient, GetWorkingLocationCommand } from "@aws-sdk/client-finspace-data"; // ES Modules import
16
- * // const { FinspaceDataClient, GetWorkingLocationCommand } = require("@aws-sdk/client-finspace-data"); // CommonJS import
17
- * const client = new FinspaceDataClient(config);
18
- * const command = new GetWorkingLocationCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link GetWorkingLocationCommandInput} for command's `input` shape.
23
- * @see {@link GetWorkingLocationCommandOutput} for command's `response` shape.
24
- * @see {@link FinspaceDataClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class GetWorkingLocationCommand extends $Command<GetWorkingLocationCommandInput, GetWorkingLocationCommandOutput, FinspaceDataClientResolvedConfig> {
28
11
  readonly input: GetWorkingLocationCommandInput;
29
12
  constructor(input: GetWorkingLocationCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FinspaceDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetWorkingLocationCommandInput, GetWorkingLocationCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -0,0 +1,3 @@
1
+ export * from "./CreateChangesetCommand";
2
+ export * from "./GetProgrammaticAccessCredentialsCommand";
3
+ export * from "./GetWorkingLocationCommand";
@@ -1,6 +1,4 @@
1
- export * from "./FinspaceDataClient";
2
1
  export * from "./FinspaceData";
3
- export * from "./commands/CreateChangesetCommand";
4
- export * from "./commands/GetProgrammaticAccessCredentialsCommand";
5
- export * from "./commands/GetWorkingLocationCommand";
6
- export * from "./models/index";
2
+ export * from "./FinspaceDataClient";
3
+ export * from "./commands";
4
+ export * from "./models";