@aws-sdk/client-appstream 3.716.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.
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class AppStreamClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -88,105 +88,113 @@ export const AppVisibility = {
88
88
  ASSOCIATED: "ASSOCIATED",
89
89
  };
90
90
  export class ConcurrentModificationException extends __BaseException {
91
+ name = "ConcurrentModificationException";
92
+ $fault = "client";
93
+ Message;
91
94
  constructor(opts) {
92
95
  super({
93
96
  name: "ConcurrentModificationException",
94
97
  $fault: "client",
95
98
  ...opts,
96
99
  });
97
- this.name = "ConcurrentModificationException";
98
- this.$fault = "client";
99
100
  Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
100
101
  this.Message = opts.Message;
101
102
  }
102
103
  }
103
104
  export class InvalidParameterCombinationException extends __BaseException {
105
+ name = "InvalidParameterCombinationException";
106
+ $fault = "client";
107
+ Message;
104
108
  constructor(opts) {
105
109
  super({
106
110
  name: "InvalidParameterCombinationException",
107
111
  $fault: "client",
108
112
  ...opts,
109
113
  });
110
- this.name = "InvalidParameterCombinationException";
111
- this.$fault = "client";
112
114
  Object.setPrototypeOf(this, InvalidParameterCombinationException.prototype);
113
115
  this.Message = opts.Message;
114
116
  }
115
117
  }
116
118
  export class LimitExceededException extends __BaseException {
119
+ name = "LimitExceededException";
120
+ $fault = "client";
121
+ Message;
117
122
  constructor(opts) {
118
123
  super({
119
124
  name: "LimitExceededException",
120
125
  $fault: "client",
121
126
  ...opts,
122
127
  });
123
- this.name = "LimitExceededException";
124
- this.$fault = "client";
125
128
  Object.setPrototypeOf(this, LimitExceededException.prototype);
126
129
  this.Message = opts.Message;
127
130
  }
128
131
  }
129
132
  export class OperationNotPermittedException extends __BaseException {
133
+ name = "OperationNotPermittedException";
134
+ $fault = "client";
135
+ Message;
130
136
  constructor(opts) {
131
137
  super({
132
138
  name: "OperationNotPermittedException",
133
139
  $fault: "client",
134
140
  ...opts,
135
141
  });
136
- this.name = "OperationNotPermittedException";
137
- this.$fault = "client";
138
142
  Object.setPrototypeOf(this, OperationNotPermittedException.prototype);
139
143
  this.Message = opts.Message;
140
144
  }
141
145
  }
142
146
  export class ResourceNotFoundException extends __BaseException {
147
+ name = "ResourceNotFoundException";
148
+ $fault = "client";
149
+ Message;
143
150
  constructor(opts) {
144
151
  super({
145
152
  name: "ResourceNotFoundException",
146
153
  $fault: "client",
147
154
  ...opts,
148
155
  });
149
- this.name = "ResourceNotFoundException";
150
- this.$fault = "client";
151
156
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
152
157
  this.Message = opts.Message;
153
158
  }
154
159
  }
155
160
  export class EntitlementNotFoundException extends __BaseException {
161
+ name = "EntitlementNotFoundException";
162
+ $fault = "client";
163
+ Message;
156
164
  constructor(opts) {
157
165
  super({
158
166
  name: "EntitlementNotFoundException",
159
167
  $fault: "client",
160
168
  ...opts,
161
169
  });
162
- this.name = "EntitlementNotFoundException";
163
- this.$fault = "client";
164
170
  Object.setPrototypeOf(this, EntitlementNotFoundException.prototype);
165
171
  this.Message = opts.Message;
166
172
  }
167
173
  }
168
174
  export class IncompatibleImageException extends __BaseException {
175
+ name = "IncompatibleImageException";
176
+ $fault = "client";
177
+ Message;
169
178
  constructor(opts) {
170
179
  super({
171
180
  name: "IncompatibleImageException",
172
181
  $fault: "client",
173
182
  ...opts,
174
183
  });
175
- this.name = "IncompatibleImageException";
176
- this.$fault = "client";
177
184
  Object.setPrototypeOf(this, IncompatibleImageException.prototype);
178
185
  this.Message = opts.Message;
179
186
  }
180
187
  }
181
188
  export class InvalidAccountStatusException extends __BaseException {
189
+ name = "InvalidAccountStatusException";
190
+ $fault = "client";
191
+ Message;
182
192
  constructor(opts) {
183
193
  super({
184
194
  name: "InvalidAccountStatusException",
185
195
  $fault: "client",
186
196
  ...opts,
187
197
  });
188
- this.name = "InvalidAccountStatusException";
189
- this.$fault = "client";
190
198
  Object.setPrototypeOf(this, InvalidAccountStatusException.prototype);
191
199
  this.Message = opts.Message;
192
200
  }
@@ -209,66 +217,71 @@ export const CertificateBasedAuthStatus = {
209
217
  ENABLED_NO_DIRECTORY_LOGIN_FALLBACK: "ENABLED_NO_DIRECTORY_LOGIN_FALLBACK",
210
218
  };
211
219
  export class ResourceAlreadyExistsException extends __BaseException {
220
+ name = "ResourceAlreadyExistsException";
221
+ $fault = "client";
222
+ Message;
212
223
  constructor(opts) {
213
224
  super({
214
225
  name: "ResourceAlreadyExistsException",
215
226
  $fault: "client",
216
227
  ...opts,
217
228
  });
218
- this.name = "ResourceAlreadyExistsException";
219
- this.$fault = "client";
220
229
  Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
221
230
  this.Message = opts.Message;
222
231
  }
223
232
  }
224
233
  export class ResourceNotAvailableException extends __BaseException {
234
+ name = "ResourceNotAvailableException";
235
+ $fault = "client";
236
+ Message;
225
237
  constructor(opts) {
226
238
  super({
227
239
  name: "ResourceNotAvailableException",
228
240
  $fault: "client",
229
241
  ...opts,
230
242
  });
231
- this.name = "ResourceNotAvailableException";
232
- this.$fault = "client";
233
243
  Object.setPrototypeOf(this, ResourceNotAvailableException.prototype);
234
244
  this.Message = opts.Message;
235
245
  }
236
246
  }
237
247
  export class InvalidRoleException extends __BaseException {
248
+ name = "InvalidRoleException";
249
+ $fault = "client";
250
+ Message;
238
251
  constructor(opts) {
239
252
  super({
240
253
  name: "InvalidRoleException",
241
254
  $fault: "client",
242
255
  ...opts,
243
256
  });
244
- this.name = "InvalidRoleException";
245
- this.$fault = "client";
246
257
  Object.setPrototypeOf(this, InvalidRoleException.prototype);
247
258
  this.Message = opts.Message;
248
259
  }
249
260
  }
250
261
  export class RequestLimitExceededException extends __BaseException {
262
+ name = "RequestLimitExceededException";
263
+ $fault = "client";
264
+ Message;
251
265
  constructor(opts) {
252
266
  super({
253
267
  name: "RequestLimitExceededException",
254
268
  $fault: "client",
255
269
  ...opts,
256
270
  });
257
- this.name = "RequestLimitExceededException";
258
- this.$fault = "client";
259
271
  Object.setPrototypeOf(this, RequestLimitExceededException.prototype);
260
272
  this.Message = opts.Message;
261
273
  }
262
274
  }
263
275
  export class EntitlementAlreadyExistsException extends __BaseException {
276
+ name = "EntitlementAlreadyExistsException";
277
+ $fault = "client";
278
+ Message;
264
279
  constructor(opts) {
265
280
  super({
266
281
  name: "EntitlementAlreadyExistsException",
267
282
  $fault: "client",
268
283
  ...opts,
269
284
  });
270
- this.name = "EntitlementAlreadyExistsException";
271
- this.$fault = "client";
272
285
  Object.setPrototypeOf(this, EntitlementAlreadyExistsException.prototype);
273
286
  this.Message = opts.Message;
274
287
  }
@@ -371,14 +384,15 @@ export const MessageAction = {
371
384
  SUPPRESS: "SUPPRESS",
372
385
  };
373
386
  export class ResourceInUseException extends __BaseException {
387
+ name = "ResourceInUseException";
388
+ $fault = "client";
389
+ Message;
374
390
  constructor(opts) {
375
391
  super({
376
392
  name: "ResourceInUseException",
377
393
  $fault: "client",
378
394
  ...opts,
379
395
  });
380
- this.name = "ResourceInUseException";
381
- this.$fault = "client";
382
396
  Object.setPrototypeOf(this, ResourceInUseException.prototype);
383
397
  this.Message = opts.Message;
384
398
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: AppStreamClientConfig) => {
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
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: AppStreamClientConfig) => {
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
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: AppStreamClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: AppStreamClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- 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;
34
+ 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;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: AppStreamClientConfig) => {
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: AppStreamClientConfig) => {
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
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: AppStreamClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: AppStreamClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appstream",
3
3
  "description": "AWS SDK for JavaScript Appstream Client for Node.js, Browser and React Native",
4
- "version": "3.716.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-appstream",
@@ -20,57 +20,57 @@
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.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.716.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.716.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
61
- "@smithy/util-waiter": "^3.2.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/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
+ "@smithy/util-waiter": "^4.0.0",
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {
65
- "@tsconfig/node16": "16.1.3",
66
- "@types/node": "^16.18.96",
65
+ "@tsconfig/node18": "18.2.4",
66
+ "@types/node": "^18.19.69",
67
67
  "concurrently": "7.0.0",
68
68
  "downlevel-dts": "0.10.1",
69
69
  "rimraf": "3.0.2",
70
- "typescript": "~4.9.5"
70
+ "typescript": "~5.2.2"
71
71
  },
72
72
  "engines": {
73
- "node": ">=16.0.0"
73
+ "node": ">=18.0.0"
74
74
  },
75
75
  "typesVersions": {
76
76
  "<4.0": {