@aws-sdk/client-finspace 3.36.0 → 3.39.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/CHANGELOG.md +42 -0
- package/dist-cjs/Finspace.js +0 -4
- package/dist-cjs/FinspaceClient.js +0 -9
- package/dist-cjs/commands/CreateEnvironmentCommand.js +0 -24
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +0 -24
- package/dist-cjs/commands/GetEnvironmentCommand.js +0 -24
- package/dist-cjs/commands/ListEnvironmentsCommand.js +0 -24
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
- package/dist-cjs/commands/TagResourceCommand.js +0 -24
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UpdateEnvironmentCommand.js +0 -24
- package/dist-cjs/commands/index.js +11 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +3 -10
- package/dist-cjs/models/models_0.js +0 -78
- package/dist-cjs/protocols/Aws_restJson1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +3 -10
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/index.d.ts +3 -10
- package/dist-types/ts3.4/Finspace.d.ts +9 -28
- package/dist-types/ts3.4/FinspaceClient.d.ts +24 -90
- package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/index.d.ts +3 -10
- package/dist-types/ts3.4/models/models_0.d.ts +82 -277
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +32 -32
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateEnvironmentResponse = exports.UpdateEnvironmentRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.InvalidRequestException = exports.ListEnvironmentsResponse = exports.ListEnvironmentsRequest = exports.GetEnvironmentResponse = exports.Environment = exports.EnvironmentStatus = exports.GetEnvironmentRequest = exports.ResourceNotFoundException = exports.DeleteEnvironmentResponse = exports.DeleteEnvironmentRequest = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.LimitExceededException = exports.InternalServerException = exports.CreateEnvironmentResponse = exports.CreateEnvironmentRequest = exports.FederationParameters = exports.FederationMode = exports.AccessDeniedException = void 0;
|
|
4
4
|
var AccessDeniedException;
|
|
5
5
|
(function (AccessDeniedException) {
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
10
7
|
...obj,
|
|
11
8
|
});
|
|
@@ -17,108 +14,72 @@ var FederationMode;
|
|
|
17
14
|
})(FederationMode = exports.FederationMode || (exports.FederationMode = {}));
|
|
18
15
|
var FederationParameters;
|
|
19
16
|
(function (FederationParameters) {
|
|
20
|
-
/**
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
23
17
|
FederationParameters.filterSensitiveLog = (obj) => ({
|
|
24
18
|
...obj,
|
|
25
19
|
});
|
|
26
20
|
})(FederationParameters = exports.FederationParameters || (exports.FederationParameters = {}));
|
|
27
21
|
var CreateEnvironmentRequest;
|
|
28
22
|
(function (CreateEnvironmentRequest) {
|
|
29
|
-
/**
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
32
23
|
CreateEnvironmentRequest.filterSensitiveLog = (obj) => ({
|
|
33
24
|
...obj,
|
|
34
25
|
});
|
|
35
26
|
})(CreateEnvironmentRequest = exports.CreateEnvironmentRequest || (exports.CreateEnvironmentRequest = {}));
|
|
36
27
|
var CreateEnvironmentResponse;
|
|
37
28
|
(function (CreateEnvironmentResponse) {
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
29
|
CreateEnvironmentResponse.filterSensitiveLog = (obj) => ({
|
|
42
30
|
...obj,
|
|
43
31
|
});
|
|
44
32
|
})(CreateEnvironmentResponse = exports.CreateEnvironmentResponse || (exports.CreateEnvironmentResponse = {}));
|
|
45
33
|
var InternalServerException;
|
|
46
34
|
(function (InternalServerException) {
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
35
|
InternalServerException.filterSensitiveLog = (obj) => ({
|
|
51
36
|
...obj,
|
|
52
37
|
});
|
|
53
38
|
})(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
|
|
54
39
|
var LimitExceededException;
|
|
55
40
|
(function (LimitExceededException) {
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
41
|
LimitExceededException.filterSensitiveLog = (obj) => ({
|
|
60
42
|
...obj,
|
|
61
43
|
});
|
|
62
44
|
})(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
|
|
63
45
|
var ServiceQuotaExceededException;
|
|
64
46
|
(function (ServiceQuotaExceededException) {
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
47
|
ServiceQuotaExceededException.filterSensitiveLog = (obj) => ({
|
|
69
48
|
...obj,
|
|
70
49
|
});
|
|
71
50
|
})(ServiceQuotaExceededException = exports.ServiceQuotaExceededException || (exports.ServiceQuotaExceededException = {}));
|
|
72
51
|
var ThrottlingException;
|
|
73
52
|
(function (ThrottlingException) {
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
53
|
ThrottlingException.filterSensitiveLog = (obj) => ({
|
|
78
54
|
...obj,
|
|
79
55
|
});
|
|
80
56
|
})(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
|
|
81
57
|
var ValidationException;
|
|
82
58
|
(function (ValidationException) {
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
59
|
ValidationException.filterSensitiveLog = (obj) => ({
|
|
87
60
|
...obj,
|
|
88
61
|
});
|
|
89
62
|
})(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
|
|
90
63
|
var DeleteEnvironmentRequest;
|
|
91
64
|
(function (DeleteEnvironmentRequest) {
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
95
65
|
DeleteEnvironmentRequest.filterSensitiveLog = (obj) => ({
|
|
96
66
|
...obj,
|
|
97
67
|
});
|
|
98
68
|
})(DeleteEnvironmentRequest = exports.DeleteEnvironmentRequest || (exports.DeleteEnvironmentRequest = {}));
|
|
99
69
|
var DeleteEnvironmentResponse;
|
|
100
70
|
(function (DeleteEnvironmentResponse) {
|
|
101
|
-
/**
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
104
71
|
DeleteEnvironmentResponse.filterSensitiveLog = (obj) => ({
|
|
105
72
|
...obj,
|
|
106
73
|
});
|
|
107
74
|
})(DeleteEnvironmentResponse = exports.DeleteEnvironmentResponse || (exports.DeleteEnvironmentResponse = {}));
|
|
108
75
|
var ResourceNotFoundException;
|
|
109
76
|
(function (ResourceNotFoundException) {
|
|
110
|
-
/**
|
|
111
|
-
* @internal
|
|
112
|
-
*/
|
|
113
77
|
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
114
78
|
...obj,
|
|
115
79
|
});
|
|
116
80
|
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
117
81
|
var GetEnvironmentRequest;
|
|
118
82
|
(function (GetEnvironmentRequest) {
|
|
119
|
-
/**
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
122
83
|
GetEnvironmentRequest.filterSensitiveLog = (obj) => ({
|
|
123
84
|
...obj,
|
|
124
85
|
});
|
|
@@ -138,117 +99,78 @@ var EnvironmentStatus;
|
|
|
138
99
|
})(EnvironmentStatus = exports.EnvironmentStatus || (exports.EnvironmentStatus = {}));
|
|
139
100
|
var Environment;
|
|
140
101
|
(function (Environment) {
|
|
141
|
-
/**
|
|
142
|
-
* @internal
|
|
143
|
-
*/
|
|
144
102
|
Environment.filterSensitiveLog = (obj) => ({
|
|
145
103
|
...obj,
|
|
146
104
|
});
|
|
147
105
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
148
106
|
var GetEnvironmentResponse;
|
|
149
107
|
(function (GetEnvironmentResponse) {
|
|
150
|
-
/**
|
|
151
|
-
* @internal
|
|
152
|
-
*/
|
|
153
108
|
GetEnvironmentResponse.filterSensitiveLog = (obj) => ({
|
|
154
109
|
...obj,
|
|
155
110
|
});
|
|
156
111
|
})(GetEnvironmentResponse = exports.GetEnvironmentResponse || (exports.GetEnvironmentResponse = {}));
|
|
157
112
|
var ListEnvironmentsRequest;
|
|
158
113
|
(function (ListEnvironmentsRequest) {
|
|
159
|
-
/**
|
|
160
|
-
* @internal
|
|
161
|
-
*/
|
|
162
114
|
ListEnvironmentsRequest.filterSensitiveLog = (obj) => ({
|
|
163
115
|
...obj,
|
|
164
116
|
});
|
|
165
117
|
})(ListEnvironmentsRequest = exports.ListEnvironmentsRequest || (exports.ListEnvironmentsRequest = {}));
|
|
166
118
|
var ListEnvironmentsResponse;
|
|
167
119
|
(function (ListEnvironmentsResponse) {
|
|
168
|
-
/**
|
|
169
|
-
* @internal
|
|
170
|
-
*/
|
|
171
120
|
ListEnvironmentsResponse.filterSensitiveLog = (obj) => ({
|
|
172
121
|
...obj,
|
|
173
122
|
});
|
|
174
123
|
})(ListEnvironmentsResponse = exports.ListEnvironmentsResponse || (exports.ListEnvironmentsResponse = {}));
|
|
175
124
|
var InvalidRequestException;
|
|
176
125
|
(function (InvalidRequestException) {
|
|
177
|
-
/**
|
|
178
|
-
* @internal
|
|
179
|
-
*/
|
|
180
126
|
InvalidRequestException.filterSensitiveLog = (obj) => ({
|
|
181
127
|
...obj,
|
|
182
128
|
});
|
|
183
129
|
})(InvalidRequestException = exports.InvalidRequestException || (exports.InvalidRequestException = {}));
|
|
184
130
|
var ListTagsForResourceRequest;
|
|
185
131
|
(function (ListTagsForResourceRequest) {
|
|
186
|
-
/**
|
|
187
|
-
* @internal
|
|
188
|
-
*/
|
|
189
132
|
ListTagsForResourceRequest.filterSensitiveLog = (obj) => ({
|
|
190
133
|
...obj,
|
|
191
134
|
});
|
|
192
135
|
})(ListTagsForResourceRequest = exports.ListTagsForResourceRequest || (exports.ListTagsForResourceRequest = {}));
|
|
193
136
|
var ListTagsForResourceResponse;
|
|
194
137
|
(function (ListTagsForResourceResponse) {
|
|
195
|
-
/**
|
|
196
|
-
* @internal
|
|
197
|
-
*/
|
|
198
138
|
ListTagsForResourceResponse.filterSensitiveLog = (obj) => ({
|
|
199
139
|
...obj,
|
|
200
140
|
});
|
|
201
141
|
})(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
|
|
202
142
|
var TagResourceRequest;
|
|
203
143
|
(function (TagResourceRequest) {
|
|
204
|
-
/**
|
|
205
|
-
* @internal
|
|
206
|
-
*/
|
|
207
144
|
TagResourceRequest.filterSensitiveLog = (obj) => ({
|
|
208
145
|
...obj,
|
|
209
146
|
});
|
|
210
147
|
})(TagResourceRequest = exports.TagResourceRequest || (exports.TagResourceRequest = {}));
|
|
211
148
|
var TagResourceResponse;
|
|
212
149
|
(function (TagResourceResponse) {
|
|
213
|
-
/**
|
|
214
|
-
* @internal
|
|
215
|
-
*/
|
|
216
150
|
TagResourceResponse.filterSensitiveLog = (obj) => ({
|
|
217
151
|
...obj,
|
|
218
152
|
});
|
|
219
153
|
})(TagResourceResponse = exports.TagResourceResponse || (exports.TagResourceResponse = {}));
|
|
220
154
|
var UntagResourceRequest;
|
|
221
155
|
(function (UntagResourceRequest) {
|
|
222
|
-
/**
|
|
223
|
-
* @internal
|
|
224
|
-
*/
|
|
225
156
|
UntagResourceRequest.filterSensitiveLog = (obj) => ({
|
|
226
157
|
...obj,
|
|
227
158
|
});
|
|
228
159
|
})(UntagResourceRequest = exports.UntagResourceRequest || (exports.UntagResourceRequest = {}));
|
|
229
160
|
var UntagResourceResponse;
|
|
230
161
|
(function (UntagResourceResponse) {
|
|
231
|
-
/**
|
|
232
|
-
* @internal
|
|
233
|
-
*/
|
|
234
162
|
UntagResourceResponse.filterSensitiveLog = (obj) => ({
|
|
235
163
|
...obj,
|
|
236
164
|
});
|
|
237
165
|
})(UntagResourceResponse = exports.UntagResourceResponse || (exports.UntagResourceResponse = {}));
|
|
238
166
|
var UpdateEnvironmentRequest;
|
|
239
167
|
(function (UpdateEnvironmentRequest) {
|
|
240
|
-
/**
|
|
241
|
-
* @internal
|
|
242
|
-
*/
|
|
243
168
|
UpdateEnvironmentRequest.filterSensitiveLog = (obj) => ({
|
|
244
169
|
...obj,
|
|
245
170
|
});
|
|
246
171
|
})(UpdateEnvironmentRequest = exports.UpdateEnvironmentRequest || (exports.UpdateEnvironmentRequest = {}));
|
|
247
172
|
var UpdateEnvironmentResponse;
|
|
248
173
|
(function (UpdateEnvironmentResponse) {
|
|
249
|
-
/**
|
|
250
|
-
* @internal
|
|
251
|
-
*/
|
|
252
174
|
UpdateEnvironmentResponse.filterSensitiveLog = (obj) => ({
|
|
253
175
|
...obj,
|
|
254
176
|
});
|
|
@@ -1003,14 +1003,12 @@ const deserializeMetadata = (output) => {
|
|
|
1003
1003
|
cfId: output.headers["x-amz-cf-id"],
|
|
1004
1004
|
});
|
|
1005
1005
|
};
|
|
1006
|
-
// Collect low-level response body stream to Uint8Array.
|
|
1007
1006
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
1008
1007
|
if (streamBody instanceof Uint8Array) {
|
|
1009
1008
|
return Promise.resolve(streamBody);
|
|
1010
1009
|
}
|
|
1011
1010
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
1012
1011
|
};
|
|
1013
|
-
// Encode Uint8Array data into string with utf-8.
|
|
1014
1012
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1015
1013
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
1016
1014
|
value !== null &&
|
|
@@ -1023,9 +1021,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
1023
1021
|
}
|
|
1024
1022
|
return {};
|
|
1025
1023
|
});
|
|
1026
|
-
/**
|
|
1027
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
1028
|
-
*/
|
|
1029
1024
|
const loadRestJsonErrorCode = (output, data) => {
|
|
1030
1025
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1031
1026
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
7
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
8
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -13,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
15
|
const getRuntimeConfig = (config) => {
|
|
20
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
21
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
7
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
8
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
9
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -17,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
17
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
18
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
19
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
20
|
-
/**
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
23
19
|
const getRuntimeConfig = (config) => {
|
|
24
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
25
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpoints_1 = require("./endpoints");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./CreateEnvironmentCommand";
|
|
2
|
+
export * from "./DeleteEnvironmentCommand";
|
|
3
|
+
export * from "./GetEnvironmentCommand";
|
|
4
|
+
export * from "./ListEnvironmentsCommand";
|
|
5
|
+
export * from "./ListTagsForResourceCommand";
|
|
6
|
+
export * from "./TagResourceCommand";
|
|
7
|
+
export * from "./UntagResourceCommand";
|
|
8
|
+
export * from "./UpdateEnvironmentCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -26,22 +26,27 @@ var partitionHash = {
|
|
|
26
26
|
"us-west-1",
|
|
27
27
|
"us-west-2",
|
|
28
28
|
],
|
|
29
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
29
30
|
hostname: "finspace.{region}.amazonaws.com",
|
|
30
31
|
},
|
|
31
32
|
"aws-cn": {
|
|
32
33
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
34
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
33
35
|
hostname: "finspace.{region}.amazonaws.com.cn",
|
|
34
36
|
},
|
|
35
37
|
"aws-iso": {
|
|
36
|
-
regions: ["us-iso-east-1"],
|
|
38
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
39
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
37
40
|
hostname: "finspace.{region}.c2s.ic.gov",
|
|
38
41
|
},
|
|
39
42
|
"aws-iso-b": {
|
|
40
43
|
regions: ["us-isob-east-1"],
|
|
44
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
41
45
|
hostname: "finspace.{region}.sc2s.sgov.gov",
|
|
42
46
|
},
|
|
43
47
|
"aws-us-gov": {
|
|
44
48
|
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
49
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
45
50
|
hostname: "finspace.{region}.amazonaws.com",
|
|
46
51
|
},
|
|
47
52
|
};
|
package/dist-es/index.js
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
export * from "./FinspaceClient";
|
|
2
1
|
export * from "./Finspace";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./commands/ListEnvironmentsCommand";
|
|
7
|
-
export * from "./commands/ListTagsForResourceCommand";
|
|
8
|
-
export * from "./commands/TagResourceCommand";
|
|
9
|
-
export * from "./commands/UntagResourceCommand";
|
|
10
|
-
export * from "./commands/UpdateEnvironmentCommand";
|
|
11
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./FinspaceClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./CreateEnvironmentCommand";
|
|
2
|
+
export * from "./DeleteEnvironmentCommand";
|
|
3
|
+
export * from "./GetEnvironmentCommand";
|
|
4
|
+
export * from "./ListEnvironmentsCommand";
|
|
5
|
+
export * from "./ListTagsForResourceCommand";
|
|
6
|
+
export * from "./TagResourceCommand";
|
|
7
|
+
export * from "./UntagResourceCommand";
|
|
8
|
+
export * from "./UpdateEnvironmentCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
export * from "./FinspaceClient";
|
|
2
1
|
export * from "./Finspace";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./commands/ListEnvironmentsCommand";
|
|
7
|
-
export * from "./commands/ListTagsForResourceCommand";
|
|
8
|
-
export * from "./commands/TagResourceCommand";
|
|
9
|
-
export * from "./commands/UntagResourceCommand";
|
|
10
|
-
export * from "./commands/UpdateEnvironmentCommand";
|
|
11
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./FinspaceClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
@@ -8,56 +8,37 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
8
8
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
9
9
|
import { UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput } from "./commands/UpdateEnvironmentCommand";
|
|
10
10
|
import { FinspaceClient } from "./FinspaceClient";
|
|
11
|
-
|
|
12
|
-
* <p>The FinSpace management service provides the APIs for managing the FinSpace
|
|
13
|
-
* environments. </p>
|
|
14
|
-
*/
|
|
11
|
+
|
|
15
12
|
export declare class Finspace extends FinspaceClient {
|
|
16
|
-
|
|
17
|
-
* <p>Create a new FinSpace environment.</p>
|
|
18
|
-
*/
|
|
13
|
+
|
|
19
14
|
createEnvironment(args: CreateEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<CreateEnvironmentCommandOutput>;
|
|
20
15
|
createEnvironment(args: CreateEnvironmentCommandInput, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
|
|
21
16
|
createEnvironment(args: CreateEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
|
|
22
|
-
|
|
23
|
-
* <p>Delete an FinSpace environment.</p>
|
|
24
|
-
*/
|
|
17
|
+
|
|
25
18
|
deleteEnvironment(args: DeleteEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEnvironmentCommandOutput>;
|
|
26
19
|
deleteEnvironment(args: DeleteEnvironmentCommandInput, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
|
|
27
20
|
deleteEnvironment(args: DeleteEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
|
|
28
|
-
|
|
29
|
-
* <p>Returns the FinSpace environment object.</p>
|
|
30
|
-
*/
|
|
21
|
+
|
|
31
22
|
getEnvironment(args: GetEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<GetEnvironmentCommandOutput>;
|
|
32
23
|
getEnvironment(args: GetEnvironmentCommandInput, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
|
|
33
24
|
getEnvironment(args: GetEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
|
|
34
|
-
|
|
35
|
-
* <p>A list of all of your FinSpace environments.</p>
|
|
36
|
-
*/
|
|
25
|
+
|
|
37
26
|
listEnvironments(args: ListEnvironmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListEnvironmentsCommandOutput>;
|
|
38
27
|
listEnvironments(args: ListEnvironmentsCommandInput, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
|
|
39
28
|
listEnvironments(args: ListEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
|
|
40
|
-
|
|
41
|
-
* <p>A list of all tags for a resource.</p>
|
|
42
|
-
*/
|
|
29
|
+
|
|
43
30
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
44
31
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
45
32
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
46
|
-
|
|
47
|
-
* <p>Adds metadata tags to a FinSpace resource.</p>
|
|
48
|
-
*/
|
|
33
|
+
|
|
49
34
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
50
35
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
51
36
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
52
|
-
|
|
53
|
-
* <p>Removes metadata tags from a FinSpace resource.</p>
|
|
54
|
-
*/
|
|
37
|
+
|
|
55
38
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
56
39
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
57
40
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
58
|
-
|
|
59
|
-
* <p>Update your FinSpace environment.</p>
|
|
60
|
-
*/
|
|
41
|
+
|
|
61
42
|
updateEnvironment(args: UpdateEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEnvironmentCommandOutput>;
|
|
62
43
|
updateEnvironment(args: UpdateEnvironmentCommandInput, cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void): void;
|
|
63
44
|
updateEnvironment(args: UpdateEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void): void;
|
|
@@ -17,125 +17,59 @@ import { UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput } from ".
|
|
|
17
17
|
export declare type ServiceInputTypes = CreateEnvironmentCommandInput | DeleteEnvironmentCommandInput | GetEnvironmentCommandInput | ListEnvironmentsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEnvironmentCommandInput;
|
|
18
18
|
export declare type ServiceOutputTypes = CreateEnvironmentCommandOutput | DeleteEnvironmentCommandOutput | GetEnvironmentCommandOutput | ListEnvironmentsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEnvironmentCommandOutput;
|
|
19
19
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
20
|
-
|
|
21
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
22
|
-
*/
|
|
20
|
+
|
|
23
21
|
requestHandler?: __HttpHandler;
|
|
24
|
-
|
|
25
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
26
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
27
|
-
* @internal
|
|
28
|
-
*/
|
|
22
|
+
|
|
29
23
|
sha256?: __HashConstructor;
|
|
30
|
-
|
|
31
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
24
|
+
|
|
34
25
|
urlParser?: __UrlParser;
|
|
35
|
-
|
|
36
|
-
* A function that can calculate the length of a request body.
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
26
|
+
|
|
39
27
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
40
|
-
|
|
41
|
-
* A function that converts a stream into an array of bytes.
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
28
|
+
|
|
44
29
|
streamCollector?: __StreamCollector;
|
|
45
|
-
|
|
46
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
30
|
+
|
|
49
31
|
base64Decoder?: __Decoder;
|
|
50
|
-
|
|
51
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
32
|
+
|
|
54
33
|
base64Encoder?: __Encoder;
|
|
55
|
-
|
|
56
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
34
|
+
|
|
59
35
|
utf8Decoder?: __Decoder;
|
|
60
|
-
|
|
61
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
36
|
+
|
|
64
37
|
utf8Encoder?: __Encoder;
|
|
65
|
-
|
|
66
|
-
* The runtime environment.
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
38
|
+
|
|
69
39
|
runtime?: string;
|
|
70
|
-
|
|
71
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
72
|
-
* trait of an operation.
|
|
73
|
-
*/
|
|
40
|
+
|
|
74
41
|
disableHostPrefix?: boolean;
|
|
75
|
-
|
|
76
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
77
|
-
*/
|
|
42
|
+
|
|
78
43
|
maxAttempts?: number | __Provider<number>;
|
|
79
|
-
|
|
80
|
-
* Specifies which retry algorithm to use.
|
|
81
|
-
*/
|
|
44
|
+
|
|
82
45
|
retryMode?: string | __Provider<string>;
|
|
83
|
-
|
|
84
|
-
* Optional logger for logging debug/info/warn/error.
|
|
85
|
-
*/
|
|
46
|
+
|
|
86
47
|
logger?: __Logger;
|
|
87
|
-
|
|
88
|
-
* Unique service identifier.
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
48
|
+
|
|
91
49
|
serviceId?: string;
|
|
92
|
-
|
|
93
|
-
* The AWS region to which this client will send requests
|
|
94
|
-
*/
|
|
50
|
+
|
|
95
51
|
region?: string | __Provider<string>;
|
|
96
|
-
|
|
97
|
-
* Default credentials provider; Not available in browser runtime.
|
|
98
|
-
* @internal
|
|
99
|
-
*/
|
|
52
|
+
|
|
100
53
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
101
|
-
|
|
102
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
54
|
+
|
|
105
55
|
regionInfoProvider?: RegionInfoProvider;
|
|
106
|
-
|
|
107
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
108
|
-
* @internal
|
|
109
|
-
*/
|
|
56
|
+
|
|
110
57
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
111
58
|
}
|
|
112
59
|
declare type FinspaceClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
113
|
-
|
|
114
|
-
* The configuration interface of FinspaceClient class constructor that set the region, credentials and other options.
|
|
115
|
-
*/
|
|
60
|
+
|
|
116
61
|
export interface FinspaceClientConfig extends FinspaceClientConfigType {
|
|
117
62
|
}
|
|
118
63
|
declare type FinspaceClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
119
|
-
|
|
120
|
-
* The resolved configuration interface of FinspaceClient class. This is resolved and normalized from the {@link FinspaceClientConfig | constructor configuration interface}.
|
|
121
|
-
*/
|
|
64
|
+
|
|
122
65
|
export interface FinspaceClientResolvedConfig extends FinspaceClientResolvedConfigType {
|
|
123
66
|
}
|
|
124
|
-
|
|
125
|
-
* <p>The FinSpace management service provides the APIs for managing the FinSpace
|
|
126
|
-
* environments. </p>
|
|
127
|
-
*/
|
|
67
|
+
|
|
128
68
|
export declare class FinspaceClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, FinspaceClientResolvedConfig> {
|
|
129
|
-
|
|
130
|
-
* The resolved configuration of FinspaceClient class. This is resolved and normalized from the {@link FinspaceClientConfig | constructor configuration interface}.
|
|
131
|
-
*/
|
|
69
|
+
|
|
132
70
|
readonly config: FinspaceClientResolvedConfig;
|
|
133
71
|
constructor(configuration: FinspaceClientConfig);
|
|
134
|
-
|
|
135
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
136
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
137
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
138
|
-
*/
|
|
72
|
+
|
|
139
73
|
destroy(): void;
|
|
140
74
|
}
|
|
141
75
|
export {};
|
|
@@ -6,29 +6,11 @@ export interface CreateEnvironmentCommandInput extends CreateEnvironmentRequest
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateEnvironmentCommandOutput extends CreateEnvironmentResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Create a new FinSpace environment.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { FinspaceClient, CreateEnvironmentCommand } from "@aws-sdk/client-finspace"; // ES Modules import
|
|
15
|
-
* // const { FinspaceClient, CreateEnvironmentCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
|
|
16
|
-
* const client = new FinspaceClient(config);
|
|
17
|
-
* const command = new CreateEnvironmentCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateEnvironmentCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateEnvironmentCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link FinspaceClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class CreateEnvironmentCommand extends $Command<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput, FinspaceClientResolvedConfig> {
|
|
27
11
|
readonly input: CreateEnvironmentCommandInput;
|
|
28
12
|
constructor(input: CreateEnvironmentCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FinspaceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|