@aws-sdk/client-finspace 3.300.0 → 3.303.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.
@@ -16,11 +16,10 @@ class AccessDeniedException extends FinspaceServiceException_1.FinspaceServiceEx
16
16
  }
17
17
  }
18
18
  exports.AccessDeniedException = AccessDeniedException;
19
- var FederationMode;
20
- (function (FederationMode) {
21
- FederationMode["FEDERATED"] = "FEDERATED";
22
- FederationMode["LOCAL"] = "LOCAL";
23
- })(FederationMode = exports.FederationMode || (exports.FederationMode = {}));
19
+ exports.FederationMode = {
20
+ FEDERATED: "FEDERATED",
21
+ LOCAL: "LOCAL",
22
+ };
24
23
  class InternalServerException extends FinspaceServiceException_1.FinspaceServiceException {
25
24
  constructor(opts) {
26
25
  super({
@@ -99,19 +98,18 @@ class ResourceNotFoundException extends FinspaceServiceException_1.FinspaceServi
99
98
  }
100
99
  }
101
100
  exports.ResourceNotFoundException = ResourceNotFoundException;
102
- var EnvironmentStatus;
103
- (function (EnvironmentStatus) {
104
- EnvironmentStatus["CREATED"] = "CREATED";
105
- EnvironmentStatus["CREATE_REQUESTED"] = "CREATE_REQUESTED";
106
- EnvironmentStatus["CREATING"] = "CREATING";
107
- EnvironmentStatus["DELETED"] = "DELETED";
108
- EnvironmentStatus["DELETE_REQUESTED"] = "DELETE_REQUESTED";
109
- EnvironmentStatus["DELETING"] = "DELETING";
110
- EnvironmentStatus["FAILED_CREATION"] = "FAILED_CREATION";
111
- EnvironmentStatus["FAILED_DELETION"] = "FAILED_DELETION";
112
- EnvironmentStatus["RETRY_DELETION"] = "RETRY_DELETION";
113
- EnvironmentStatus["SUSPENDED"] = "SUSPENDED";
114
- })(EnvironmentStatus = exports.EnvironmentStatus || (exports.EnvironmentStatus = {}));
101
+ exports.EnvironmentStatus = {
102
+ CREATED: "CREATED",
103
+ CREATE_REQUESTED: "CREATE_REQUESTED",
104
+ CREATING: "CREATING",
105
+ DELETED: "DELETED",
106
+ DELETE_REQUESTED: "DELETE_REQUESTED",
107
+ DELETING: "DELETING",
108
+ FAILED_CREATION: "FAILED_CREATION",
109
+ FAILED_DELETION: "FAILED_DELETION",
110
+ RETRY_DELETION: "RETRY_DELETION",
111
+ SUSPENDED: "SUSPENDED",
112
+ };
115
113
  class InvalidRequestException extends FinspaceServiceException_1.FinspaceServiceException {
116
114
  constructor(opts) {
117
115
  super({
@@ -12,11 +12,10 @@ export class AccessDeniedException extends __BaseException {
12
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
13
  }
14
14
  }
15
- export var FederationMode;
16
- (function (FederationMode) {
17
- FederationMode["FEDERATED"] = "FEDERATED";
18
- FederationMode["LOCAL"] = "LOCAL";
19
- })(FederationMode || (FederationMode = {}));
15
+ export const FederationMode = {
16
+ FEDERATED: "FEDERATED",
17
+ LOCAL: "LOCAL",
18
+ };
20
19
  export class InternalServerException extends __BaseException {
21
20
  constructor(opts) {
22
21
  super({
@@ -89,19 +88,18 @@ export class ResourceNotFoundException extends __BaseException {
89
88
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
90
89
  }
91
90
  }
92
- export var EnvironmentStatus;
93
- (function (EnvironmentStatus) {
94
- EnvironmentStatus["CREATED"] = "CREATED";
95
- EnvironmentStatus["CREATE_REQUESTED"] = "CREATE_REQUESTED";
96
- EnvironmentStatus["CREATING"] = "CREATING";
97
- EnvironmentStatus["DELETED"] = "DELETED";
98
- EnvironmentStatus["DELETE_REQUESTED"] = "DELETE_REQUESTED";
99
- EnvironmentStatus["DELETING"] = "DELETING";
100
- EnvironmentStatus["FAILED_CREATION"] = "FAILED_CREATION";
101
- EnvironmentStatus["FAILED_DELETION"] = "FAILED_DELETION";
102
- EnvironmentStatus["RETRY_DELETION"] = "RETRY_DELETION";
103
- EnvironmentStatus["SUSPENDED"] = "SUSPENDED";
104
- })(EnvironmentStatus || (EnvironmentStatus = {}));
91
+ export const EnvironmentStatus = {
92
+ CREATED: "CREATED",
93
+ CREATE_REQUESTED: "CREATE_REQUESTED",
94
+ CREATING: "CREATING",
95
+ DELETED: "DELETED",
96
+ DELETE_REQUESTED: "DELETE_REQUESTED",
97
+ DELETING: "DELETING",
98
+ FAILED_CREATION: "FAILED_CREATION",
99
+ FAILED_DELETION: "FAILED_DELETION",
100
+ RETRY_DELETION: "RETRY_DELETION",
101
+ SUSPENDED: "SUSPENDED",
102
+ };
105
103
  export class InvalidRequestException extends __BaseException {
106
104
  constructor(opts) {
107
105
  super({
@@ -26,30 +26,30 @@ export interface CreateEnvironmentCommandOutput extends CreateEnvironmentRespons
26
26
  * import { FinspaceClient, CreateEnvironmentCommand } from "@aws-sdk/client-finspace"; // ES Modules import
27
27
  * // const { FinspaceClient, CreateEnvironmentCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
28
28
  * const client = new FinspaceClient(config);
29
- * const input = {
29
+ * const input = { // CreateEnvironmentRequest
30
30
  * name: "STRING_VALUE", // required
31
31
  * description: "STRING_VALUE",
32
32
  * kmsKeyId: "STRING_VALUE",
33
- * tags: {
33
+ * tags: { // TagMap
34
34
  * "<keys>": "STRING_VALUE",
35
35
  * },
36
36
  * federationMode: "STRING_VALUE",
37
- * federationParameters: {
37
+ * federationParameters: { // FederationParameters
38
38
  * samlMetadataDocument: "STRING_VALUE",
39
39
  * samlMetadataURL: "STRING_VALUE",
40
40
  * applicationCallBackURL: "STRING_VALUE",
41
41
  * federationURN: "STRING_VALUE",
42
42
  * federationProviderName: "STRING_VALUE",
43
- * attributeMap: {
43
+ * attributeMap: { // AttributeMap
44
44
  * "<keys>": "STRING_VALUE",
45
45
  * },
46
46
  * },
47
- * superuserParameters: {
47
+ * superuserParameters: { // SuperuserParameters
48
48
  * emailAddress: "STRING_VALUE", // required
49
49
  * firstName: "STRING_VALUE", // required
50
50
  * lastName: "STRING_VALUE", // required
51
51
  * },
52
- * dataBundles: [
52
+ * dataBundles: [ // DataBundleArns
53
53
  * "STRING_VALUE",
54
54
  * ],
55
55
  * };
@@ -26,7 +26,7 @@ export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentRespons
26
26
  * import { FinspaceClient, DeleteEnvironmentCommand } from "@aws-sdk/client-finspace"; // ES Modules import
27
27
  * // const { FinspaceClient, DeleteEnvironmentCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
28
28
  * const client = new FinspaceClient(config);
29
- * const input = {
29
+ * const input = { // DeleteEnvironmentRequest
30
30
  * environmentId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteEnvironmentCommand(input);
@@ -26,7 +26,7 @@ export interface GetEnvironmentCommandOutput extends GetEnvironmentResponse, __M
26
26
  * import { FinspaceClient, GetEnvironmentCommand } from "@aws-sdk/client-finspace"; // ES Modules import
27
27
  * // const { FinspaceClient, GetEnvironmentCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
28
28
  * const client = new FinspaceClient(config);
29
- * const input = {
29
+ * const input = { // GetEnvironmentRequest
30
30
  * environmentId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetEnvironmentCommand(input);
@@ -26,7 +26,7 @@ export interface ListEnvironmentsCommandOutput extends ListEnvironmentsResponse,
26
26
  * import { FinspaceClient, ListEnvironmentsCommand } from "@aws-sdk/client-finspace"; // ES Modules import
27
27
  * // const { FinspaceClient, ListEnvironmentsCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
28
28
  * const client = new FinspaceClient(config);
29
- * const input = {
29
+ * const input = { // ListEnvironmentsRequest
30
30
  * nextToken: "STRING_VALUE",
31
31
  * maxResults: Number("int"),
32
32
  * };
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { FinspaceClient, ListTagsForResourceCommand } from "@aws-sdk/client-finspace"; // ES Modules import
27
27
  * // const { FinspaceClient, ListTagsForResourceCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
28
28
  * const client = new FinspaceClient(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
@@ -26,9 +26,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { FinspaceClient, TagResourceCommand } from "@aws-sdk/client-finspace"; // ES Modules import
27
27
  * // const { FinspaceClient, TagResourceCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
28
28
  * const client = new FinspaceClient(config);
29
- * const input = {
29
+ * const input = { // TagResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tags: { // required
31
+ * tags: { // TagMap // required
32
32
  * "<keys>": "STRING_VALUE",
33
33
  * },
34
34
  * };
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { FinspaceClient, UntagResourceCommand } from "@aws-sdk/client-finspace"; // ES Modules import
27
27
  * // const { FinspaceClient, UntagResourceCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
28
28
  * const client = new FinspaceClient(config);
29
- * const input = {
29
+ * const input = { // UntagResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tagKeys: [ // required
31
+ * tagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -26,18 +26,18 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentRespons
26
26
  * import { FinspaceClient, UpdateEnvironmentCommand } from "@aws-sdk/client-finspace"; // ES Modules import
27
27
  * // const { FinspaceClient, UpdateEnvironmentCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
28
28
  * const client = new FinspaceClient(config);
29
- * const input = {
29
+ * const input = { // UpdateEnvironmentRequest
30
30
  * environmentId: "STRING_VALUE", // required
31
31
  * name: "STRING_VALUE",
32
32
  * description: "STRING_VALUE",
33
33
  * federationMode: "STRING_VALUE",
34
- * federationParameters: {
34
+ * federationParameters: { // FederationParameters
35
35
  * samlMetadataDocument: "STRING_VALUE",
36
36
  * samlMetadataURL: "STRING_VALUE",
37
37
  * applicationCallBackURL: "STRING_VALUE",
38
38
  * federationURN: "STRING_VALUE",
39
39
  * federationProviderName: "STRING_VALUE",
40
- * attributeMap: {
40
+ * attributeMap: { // AttributeMap
41
41
  * "<keys>": "STRING_VALUE",
42
42
  * },
43
43
  * },
@@ -14,11 +14,16 @@ export declare class AccessDeniedException extends __BaseException {
14
14
  }
15
15
  /**
16
16
  * @public
17
+ * @enum
17
18
  */
18
- export declare enum FederationMode {
19
- FEDERATED = "FEDERATED",
20
- LOCAL = "LOCAL"
21
- }
19
+ export declare const FederationMode: {
20
+ readonly FEDERATED: "FEDERATED";
21
+ readonly LOCAL: "LOCAL";
22
+ };
23
+ /**
24
+ * @public
25
+ */
26
+ export type FederationMode = (typeof FederationMode)[keyof typeof FederationMode];
22
27
  /**
23
28
  * @public
24
29
  * <p>Configuration information when authentication mode is FEDERATED.</p>
@@ -244,19 +249,24 @@ export interface GetEnvironmentRequest {
244
249
  }
245
250
  /**
246
251
  * @public
252
+ * @enum
247
253
  */
248
- export declare enum EnvironmentStatus {
249
- CREATED = "CREATED",
250
- CREATE_REQUESTED = "CREATE_REQUESTED",
251
- CREATING = "CREATING",
252
- DELETED = "DELETED",
253
- DELETE_REQUESTED = "DELETE_REQUESTED",
254
- DELETING = "DELETING",
255
- FAILED_CREATION = "FAILED_CREATION",
256
- FAILED_DELETION = "FAILED_DELETION",
257
- RETRY_DELETION = "RETRY_DELETION",
258
- SUSPENDED = "SUSPENDED"
259
- }
254
+ export declare const EnvironmentStatus: {
255
+ readonly CREATED: "CREATED";
256
+ readonly CREATE_REQUESTED: "CREATE_REQUESTED";
257
+ readonly CREATING: "CREATING";
258
+ readonly DELETED: "DELETED";
259
+ readonly DELETE_REQUESTED: "DELETE_REQUESTED";
260
+ readonly DELETING: "DELETING";
261
+ readonly FAILED_CREATION: "FAILED_CREATION";
262
+ readonly FAILED_DELETION: "FAILED_DELETION";
263
+ readonly RETRY_DELETION: "RETRY_DELETION";
264
+ readonly SUSPENDED: "SUSPENDED";
265
+ };
266
+ /**
267
+ * @public
268
+ */
269
+ export type EnvironmentStatus = (typeof EnvironmentStatus)[keyof typeof EnvironmentStatus];
260
270
  /**
261
271
  * @public
262
272
  * <p>Represents an FinSpace environment.</p>
@@ -7,10 +7,12 @@ export declare class AccessDeniedException extends __BaseException {
7
7
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
8
  );
9
9
  }
10
- export declare enum FederationMode {
11
- FEDERATED = "FEDERATED",
12
- LOCAL = "LOCAL",
13
- }
10
+ export declare const FederationMode: {
11
+ readonly FEDERATED: "FEDERATED";
12
+ readonly LOCAL: "LOCAL";
13
+ };
14
+ export type FederationMode =
15
+ (typeof FederationMode)[keyof typeof FederationMode];
14
16
  export interface FederationParameters {
15
17
  samlMetadataDocument?: string;
16
18
  samlMetadataURL?: string;
@@ -88,18 +90,20 @@ export declare class ResourceNotFoundException extends __BaseException {
88
90
  export interface GetEnvironmentRequest {
89
91
  environmentId: string | undefined;
90
92
  }
91
- export declare enum EnvironmentStatus {
92
- CREATED = "CREATED",
93
- CREATE_REQUESTED = "CREATE_REQUESTED",
94
- CREATING = "CREATING",
95
- DELETED = "DELETED",
96
- DELETE_REQUESTED = "DELETE_REQUESTED",
97
- DELETING = "DELETING",
98
- FAILED_CREATION = "FAILED_CREATION",
99
- FAILED_DELETION = "FAILED_DELETION",
100
- RETRY_DELETION = "RETRY_DELETION",
101
- SUSPENDED = "SUSPENDED",
102
- }
93
+ export declare const EnvironmentStatus: {
94
+ readonly CREATED: "CREATED";
95
+ readonly CREATE_REQUESTED: "CREATE_REQUESTED";
96
+ readonly CREATING: "CREATING";
97
+ readonly DELETED: "DELETED";
98
+ readonly DELETE_REQUESTED: "DELETE_REQUESTED";
99
+ readonly DELETING: "DELETING";
100
+ readonly FAILED_CREATION: "FAILED_CREATION";
101
+ readonly FAILED_DELETION: "FAILED_DELETION";
102
+ readonly RETRY_DELETION: "RETRY_DELETION";
103
+ readonly SUSPENDED: "SUSPENDED";
104
+ };
105
+ export type EnvironmentStatus =
106
+ (typeof EnvironmentStatus)[keyof typeof EnvironmentStatus];
103
107
  export interface Environment {
104
108
  name?: string;
105
109
  environmentId?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-finspace",
3
3
  "description": "AWS SDK for JavaScript Finspace Client for Node.js, Browser and React Native",
4
- "version": "3.300.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",