@aws-sdk/client-qbusiness 3.721.0 → 3.723.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,6 +16,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
16
16
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
17
17
  export { __Client };
18
18
  export class QBusinessClient extends __Client {
19
+ config;
19
20
  constructor(...[configuration]) {
20
21
  const _config_0 = __getRuntimeConfig(configuration || {});
21
22
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -23,14 +23,14 @@ export var Principal;
23
23
  };
24
24
  })(Principal || (Principal = {}));
25
25
  export class AccessDeniedException extends __BaseException {
26
+ name = "AccessDeniedException";
27
+ $fault = "client";
26
28
  constructor(opts) {
27
29
  super({
28
30
  name: "AccessDeniedException",
29
31
  $fault: "client",
30
32
  ...opts,
31
33
  });
32
- this.name = "AccessDeniedException";
33
- this.$fault = "client";
34
34
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
35
35
  }
36
36
  }
@@ -100,14 +100,16 @@ export const ApplicationStatus = {
100
100
  UPDATING: "UPDATING",
101
101
  };
102
102
  export class ConflictException extends __BaseException {
103
+ name = "ConflictException";
104
+ $fault = "client";
105
+ resourceId;
106
+ resourceType;
103
107
  constructor(opts) {
104
108
  super({
105
109
  name: "ConflictException",
106
110
  $fault: "client",
107
111
  ...opts,
108
112
  });
109
- this.name = "ConflictException";
110
- this.$fault = "client";
111
113
  Object.setPrototypeOf(this, ConflictException.prototype);
112
114
  this.resourceId = opts.resourceId;
113
115
  this.resourceType = opts.resourceType;
@@ -126,54 +128,58 @@ export const QAppsControlMode = {
126
128
  ENABLED: "ENABLED",
127
129
  };
128
130
  export class InternalServerException extends __BaseException {
131
+ name = "InternalServerException";
132
+ $fault = "server";
129
133
  constructor(opts) {
130
134
  super({
131
135
  name: "InternalServerException",
132
136
  $fault: "server",
133
137
  ...opts,
134
138
  });
135
- this.name = "InternalServerException";
136
- this.$fault = "server";
137
139
  Object.setPrototypeOf(this, InternalServerException.prototype);
138
140
  }
139
141
  }
140
142
  export class ResourceNotFoundException extends __BaseException {
143
+ name = "ResourceNotFoundException";
144
+ $fault = "client";
145
+ resourceId;
146
+ resourceType;
141
147
  constructor(opts) {
142
148
  super({
143
149
  name: "ResourceNotFoundException",
144
150
  $fault: "client",
145
151
  ...opts,
146
152
  });
147
- this.name = "ResourceNotFoundException";
148
- this.$fault = "client";
149
153
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
150
154
  this.resourceId = opts.resourceId;
151
155
  this.resourceType = opts.resourceType;
152
156
  }
153
157
  }
154
158
  export class ServiceQuotaExceededException extends __BaseException {
159
+ name = "ServiceQuotaExceededException";
160
+ $fault = "client";
161
+ resourceId;
162
+ resourceType;
155
163
  constructor(opts) {
156
164
  super({
157
165
  name: "ServiceQuotaExceededException",
158
166
  $fault: "client",
159
167
  ...opts,
160
168
  });
161
- this.name = "ServiceQuotaExceededException";
162
- this.$fault = "client";
163
169
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
164
170
  this.resourceId = opts.resourceId;
165
171
  this.resourceType = opts.resourceType;
166
172
  }
167
173
  }
168
174
  export class ThrottlingException extends __BaseException {
175
+ name = "ThrottlingException";
176
+ $fault = "client";
169
177
  constructor(opts) {
170
178
  super({
171
179
  name: "ThrottlingException",
172
180
  $fault: "client",
173
181
  ...opts,
174
182
  });
175
- this.name = "ThrottlingException";
176
- this.$fault = "client";
177
183
  Object.setPrototypeOf(this, ThrottlingException.prototype);
178
184
  }
179
185
  }
@@ -183,14 +189,16 @@ export const ValidationExceptionReason = {
183
189
  UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
184
190
  };
185
191
  export class ValidationException extends __BaseException {
192
+ name = "ValidationException";
193
+ $fault = "client";
194
+ reason;
195
+ fields;
186
196
  constructor(opts) {
187
197
  super({
188
198
  name: "ValidationException",
189
199
  $fault: "client",
190
200
  ...opts,
191
201
  });
192
- this.name = "ValidationException";
193
- this.$fault = "client";
194
202
  Object.setPrototypeOf(this, ValidationException.prototype);
195
203
  this.reason = opts.reason;
196
204
  this.fields = opts.fields;
@@ -442,26 +450,26 @@ export var ChatOutputStream;
442
450
  };
443
451
  })(ChatOutputStream || (ChatOutputStream = {}));
444
452
  export class ExternalResourceException extends __BaseException {
453
+ name = "ExternalResourceException";
454
+ $fault = "client";
445
455
  constructor(opts) {
446
456
  super({
447
457
  name: "ExternalResourceException",
448
458
  $fault: "client",
449
459
  ...opts,
450
460
  });
451
- this.name = "ExternalResourceException";
452
- this.$fault = "client";
453
461
  Object.setPrototypeOf(this, ExternalResourceException.prototype);
454
462
  }
455
463
  }
456
464
  export class LicenseNotFoundException extends __BaseException {
465
+ name = "LicenseNotFoundException";
466
+ $fault = "client";
457
467
  constructor(opts) {
458
468
  super({
459
469
  name: "LicenseNotFoundException",
460
470
  $fault: "client",
461
471
  ...opts,
462
472
  });
463
- this.name = "LicenseNotFoundException";
464
- this.$fault = "client";
465
473
  Object.setPrototypeOf(this, LicenseNotFoundException.prototype);
466
474
  }
467
475
  }
@@ -518,14 +526,14 @@ export const GroupStatus = {
518
526
  SUCCEEDED: "SUCCEEDED",
519
527
  };
520
528
  export class MediaTooLargeException extends __BaseException {
529
+ name = "MediaTooLargeException";
530
+ $fault = "client";
521
531
  constructor(opts) {
522
532
  super({
523
533
  name: "MediaTooLargeException",
524
534
  $fault: "client",
525
535
  ...opts,
526
536
  });
527
- this.name = "MediaTooLargeException";
528
- this.$fault = "client";
529
537
  Object.setPrototypeOf(this, MediaTooLargeException.prototype);
530
538
  }
531
539
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: QBusinessClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
13
13
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: QBusinessClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
13
13
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
@@ -23,7 +23,7 @@ export declare const getRuntimeConfig: (config: QBusinessClientConfig) => {
23
23
  region: string | import("@smithy/types").Provider<any>;
24
24
  profile?: string | undefined;
25
25
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
26
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
26
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
27
27
  maxAttempts: number | import("@smithy/types").Provider<number>;
28
28
  retryMode: string | import("@smithy/types").Provider<string>;
29
29
  logger: import("@smithy/types").Logger;
@@ -33,7 +33,7 @@ export declare const getRuntimeConfig: (config: QBusinessClientConfig) => {
33
33
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
34
34
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
35
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
36
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
36
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
37
37
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
38
38
  logger?: import("@smithy/types").Logger | undefined;
39
39
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: QBusinessClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: QBusinessClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -29,9 +29,11 @@ export declare const getRuntimeConfig: (config: QBusinessClientConfig) => {
29
29
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
30
30
  | undefined
31
31
  ) => Promise<import("@smithy/types").UserAgent>;
32
- credentialDefaultProvider: (
33
- input: any
34
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
32
+ credentialDefaultProvider:
33
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
34
+ | ((
35
+ _: unknown
36
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
35
37
  maxAttempts: number | import("@smithy/types").Provider<number>;
36
38
  retryMode: string | import("@smithy/types").Provider<string>;
37
39
  logger: import("@smithy/types").Logger;
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (config: QBusinessClientConfig) => {
52
54
  | import("@smithy/types").RetryStrategyV2
53
55
  | undefined;
54
56
  endpoint?:
55
- | string
56
- | import("@smithy/types").Endpoint
57
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
58
- | import("@smithy/types").EndpointV2
59
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ | ((
58
+ | string
59
+ | import("@smithy/types").Endpoint
60
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
+ | import("@smithy/types").EndpointV2
62
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ ) &
64
+ (
65
+ | string
66
+ | import("@smithy/types").Provider<string>
67
+ | import("@smithy/types").Endpoint
68
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
69
+ | import("@smithy/types").EndpointV2
70
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
71
+ ))
60
72
  | undefined;
61
73
  endpointProvider: (
62
74
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-qbusiness",
3
3
  "description": "AWS SDK for JavaScript Qbusiness Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-qbusiness",
@@ -20,63 +20,63 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/eventstream-handler-node": "3.714.0",
28
- "@aws-sdk/middleware-eventstream": "3.714.0",
29
- "@aws-sdk/middleware-host-header": "3.714.0",
30
- "@aws-sdk/middleware-logger": "3.714.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
32
- "@aws-sdk/middleware-user-agent": "3.721.0",
33
- "@aws-sdk/region-config-resolver": "3.714.0",
34
- "@aws-sdk/types": "3.714.0",
35
- "@aws-sdk/util-endpoints": "3.714.0",
36
- "@aws-sdk/util-user-agent-browser": "3.714.0",
37
- "@aws-sdk/util-user-agent-node": "3.721.0",
38
- "@smithy/config-resolver": "^3.0.13",
39
- "@smithy/core": "^2.5.5",
40
- "@smithy/eventstream-serde-browser": "^3.0.14",
41
- "@smithy/eventstream-serde-config-resolver": "^3.0.11",
42
- "@smithy/eventstream-serde-node": "^3.0.13",
43
- "@smithy/fetch-http-handler": "^4.1.2",
44
- "@smithy/hash-node": "^3.0.11",
45
- "@smithy/invalid-dependency": "^3.0.11",
46
- "@smithy/middleware-content-length": "^3.0.13",
47
- "@smithy/middleware-endpoint": "^3.2.6",
48
- "@smithy/middleware-retry": "^3.0.31",
49
- "@smithy/middleware-serde": "^3.0.11",
50
- "@smithy/middleware-stack": "^3.0.11",
51
- "@smithy/node-config-provider": "^3.1.12",
52
- "@smithy/node-http-handler": "^3.3.2",
53
- "@smithy/protocol-http": "^4.1.8",
54
- "@smithy/smithy-client": "^3.5.1",
55
- "@smithy/types": "^3.7.2",
56
- "@smithy/url-parser": "^3.0.11",
57
- "@smithy/util-base64": "^3.0.0",
58
- "@smithy/util-body-length-browser": "^3.0.0",
59
- "@smithy/util-body-length-node": "^3.0.0",
60
- "@smithy/util-defaults-mode-browser": "^3.0.31",
61
- "@smithy/util-defaults-mode-node": "^3.0.31",
62
- "@smithy/util-endpoints": "^2.1.7",
63
- "@smithy/util-middleware": "^3.0.11",
64
- "@smithy/util-retry": "^3.0.11",
65
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/eventstream-handler-node": "3.723.0",
28
+ "@aws-sdk/middleware-eventstream": "3.723.0",
29
+ "@aws-sdk/middleware-host-header": "3.723.0",
30
+ "@aws-sdk/middleware-logger": "3.723.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
32
+ "@aws-sdk/middleware-user-agent": "3.723.0",
33
+ "@aws-sdk/region-config-resolver": "3.723.0",
34
+ "@aws-sdk/types": "3.723.0",
35
+ "@aws-sdk/util-endpoints": "3.723.0",
36
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
37
+ "@aws-sdk/util-user-agent-node": "3.723.0",
38
+ "@smithy/config-resolver": "^4.0.0",
39
+ "@smithy/core": "^3.0.0",
40
+ "@smithy/eventstream-serde-browser": "^4.0.0",
41
+ "@smithy/eventstream-serde-config-resolver": "^4.0.0",
42
+ "@smithy/eventstream-serde-node": "^4.0.0",
43
+ "@smithy/fetch-http-handler": "^5.0.0",
44
+ "@smithy/hash-node": "^4.0.0",
45
+ "@smithy/invalid-dependency": "^4.0.0",
46
+ "@smithy/middleware-content-length": "^4.0.0",
47
+ "@smithy/middleware-endpoint": "^4.0.0",
48
+ "@smithy/middleware-retry": "^4.0.0",
49
+ "@smithy/middleware-serde": "^4.0.0",
50
+ "@smithy/middleware-stack": "^4.0.0",
51
+ "@smithy/node-config-provider": "^4.0.0",
52
+ "@smithy/node-http-handler": "^4.0.0",
53
+ "@smithy/protocol-http": "^5.0.0",
54
+ "@smithy/smithy-client": "^4.0.0",
55
+ "@smithy/types": "^4.0.0",
56
+ "@smithy/url-parser": "^4.0.0",
57
+ "@smithy/util-base64": "^4.0.0",
58
+ "@smithy/util-body-length-browser": "^4.0.0",
59
+ "@smithy/util-body-length-node": "^4.0.0",
60
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
61
+ "@smithy/util-defaults-mode-node": "^4.0.0",
62
+ "@smithy/util-endpoints": "^3.0.0",
63
+ "@smithy/util-middleware": "^4.0.0",
64
+ "@smithy/util-retry": "^4.0.0",
65
+ "@smithy/util-utf8": "^4.0.0",
66
66
  "@types/uuid": "^9.0.1",
67
67
  "tslib": "^2.6.2",
68
68
  "uuid": "^9.0.1"
69
69
  },
70
70
  "devDependencies": {
71
- "@tsconfig/node16": "16.1.3",
72
- "@types/node": "^16.18.96",
71
+ "@tsconfig/node18": "18.2.4",
72
+ "@types/node": "^18.19.69",
73
73
  "concurrently": "7.0.0",
74
74
  "downlevel-dts": "0.10.1",
75
75
  "rimraf": "3.0.2",
76
- "typescript": "~4.9.5"
76
+ "typescript": "~5.2.2"
77
77
  },
78
78
  "engines": {
79
- "node": ">=16.0.0"
79
+ "node": ">=18.0.0"
80
80
  },
81
81
  "typesVersions": {
82
82
  "<4.0": {