@aws-sdk/client-device-farm 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 DeviceFarmClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -5,14 +5,14 @@ export const DevicePlatform = {
5
5
  IOS: "IOS",
6
6
  };
7
7
  export class ArgumentException extends __BaseException {
8
+ name = "ArgumentException";
9
+ $fault = "client";
8
10
  constructor(opts) {
9
11
  super({
10
12
  name: "ArgumentException",
11
13
  $fault: "client",
12
14
  ...opts,
13
15
  });
14
- this.name = "ArgumentException";
15
- this.$fault = "client";
16
16
  Object.setPrototypeOf(this, ArgumentException.prototype);
17
17
  }
18
18
  }
@@ -56,14 +56,14 @@ export const BillingMethod = {
56
56
  UNMETERED: "UNMETERED",
57
57
  };
58
58
  export class CannotDeleteException extends __BaseException {
59
+ name = "CannotDeleteException";
60
+ $fault = "client";
59
61
  constructor(opts) {
60
62
  super({
61
63
  name: "CannotDeleteException",
62
64
  $fault: "client",
63
65
  ...opts,
64
66
  });
65
- this.name = "CannotDeleteException";
66
- this.$fault = "client";
67
67
  Object.setPrototypeOf(this, CannotDeleteException.prototype);
68
68
  }
69
69
  }
@@ -97,38 +97,38 @@ export const DevicePoolType = {
97
97
  PRIVATE: "PRIVATE",
98
98
  };
99
99
  export class LimitExceededException extends __BaseException {
100
+ name = "LimitExceededException";
101
+ $fault = "client";
100
102
  constructor(opts) {
101
103
  super({
102
104
  name: "LimitExceededException",
103
105
  $fault: "client",
104
106
  ...opts,
105
107
  });
106
- this.name = "LimitExceededException";
107
- this.$fault = "client";
108
108
  Object.setPrototypeOf(this, LimitExceededException.prototype);
109
109
  }
110
110
  }
111
111
  export class NotFoundException extends __BaseException {
112
+ name = "NotFoundException";
113
+ $fault = "client";
112
114
  constructor(opts) {
113
115
  super({
114
116
  name: "NotFoundException",
115
117
  $fault: "client",
116
118
  ...opts,
117
119
  });
118
- this.name = "NotFoundException";
119
- this.$fault = "client";
120
120
  Object.setPrototypeOf(this, NotFoundException.prototype);
121
121
  }
122
122
  }
123
123
  export class ServiceAccountException extends __BaseException {
124
+ name = "ServiceAccountException";
125
+ $fault = "client";
124
126
  constructor(opts) {
125
127
  super({
126
128
  name: "ServiceAccountException",
127
129
  $fault: "client",
128
130
  ...opts,
129
131
  });
130
- this.name = "ServiceAccountException";
131
- this.$fault = "client";
132
132
  Object.setPrototypeOf(this, ServiceAccountException.prototype);
133
133
  }
134
134
  }
@@ -137,14 +137,15 @@ export const NetworkProfileType = {
137
137
  PRIVATE: "PRIVATE",
138
138
  };
139
139
  export class TagOperationException extends __BaseException {
140
+ name = "TagOperationException";
141
+ $fault = "client";
142
+ resourceName;
140
143
  constructor(opts) {
141
144
  super({
142
145
  name: "TagOperationException",
143
146
  $fault: "client",
144
147
  ...opts,
145
148
  });
146
- this.name = "TagOperationException";
147
- this.$fault = "client";
148
149
  Object.setPrototypeOf(this, TagOperationException.prototype);
149
150
  this.resourceName = opts.resourceName;
150
151
  }
@@ -191,14 +192,14 @@ export const ExecutionStatus = {
191
192
  STOPPING: "STOPPING",
192
193
  };
193
194
  export class InternalServiceException extends __BaseException {
195
+ name = "InternalServiceException";
196
+ $fault = "server";
194
197
  constructor(opts) {
195
198
  super({
196
199
  name: "InternalServiceException",
197
200
  $fault: "server",
198
201
  ...opts,
199
202
  });
200
- this.name = "InternalServiceException";
201
- this.$fault = "server";
202
203
  Object.setPrototypeOf(this, InternalServiceException.prototype);
203
204
  }
204
205
  }
@@ -250,14 +251,14 @@ export const CurrencyCode = {
250
251
  USD: "USD",
251
252
  };
252
253
  export class InvalidOperationException extends __BaseException {
254
+ name = "InvalidOperationException";
255
+ $fault = "client";
253
256
  constructor(opts) {
254
257
  super({
255
258
  name: "InvalidOperationException",
256
259
  $fault: "client",
257
260
  ...opts,
258
261
  });
259
- this.name = "InvalidOperationException";
260
- this.$fault = "client";
261
262
  Object.setPrototypeOf(this, InvalidOperationException.prototype);
262
263
  }
263
264
  }
@@ -289,14 +290,14 @@ export const OfferingTransactionType = {
289
290
  SYSTEM: "SYSTEM",
290
291
  };
291
292
  export class NotEligibleException extends __BaseException {
293
+ name = "NotEligibleException";
294
+ $fault = "client";
292
295
  constructor(opts) {
293
296
  super({
294
297
  name: "NotEligibleException",
295
298
  $fault: "client",
296
299
  ...opts,
297
300
  });
298
- this.name = "NotEligibleException";
299
- this.$fault = "client";
300
301
  Object.setPrototypeOf(this, NotEligibleException.prototype);
301
302
  }
302
303
  }
@@ -352,39 +353,41 @@ export const TestGridSessionArtifactType = {
352
353
  VIDEO: "VIDEO",
353
354
  };
354
355
  export class IdempotencyException extends __BaseException {
356
+ name = "IdempotencyException";
357
+ $fault = "client";
355
358
  constructor(opts) {
356
359
  super({
357
360
  name: "IdempotencyException",
358
361
  $fault: "client",
359
362
  ...opts,
360
363
  });
361
- this.name = "IdempotencyException";
362
- this.$fault = "client";
363
364
  Object.setPrototypeOf(this, IdempotencyException.prototype);
364
365
  }
365
366
  }
366
367
  export class TagPolicyException extends __BaseException {
368
+ name = "TagPolicyException";
369
+ $fault = "client";
370
+ resourceName;
367
371
  constructor(opts) {
368
372
  super({
369
373
  name: "TagPolicyException",
370
374
  $fault: "client",
371
375
  ...opts,
372
376
  });
373
- this.name = "TagPolicyException";
374
- this.$fault = "client";
375
377
  Object.setPrototypeOf(this, TagPolicyException.prototype);
376
378
  this.resourceName = opts.resourceName;
377
379
  }
378
380
  }
379
381
  export class TooManyTagsException extends __BaseException {
382
+ name = "TooManyTagsException";
383
+ $fault = "client";
384
+ resourceName;
380
385
  constructor(opts) {
381
386
  super({
382
387
  name: "TooManyTagsException",
383
388
  $fault: "client",
384
389
  ...opts,
385
390
  });
386
- this.name = "TooManyTagsException";
387
- this.$fault = "client";
388
391
  Object.setPrototypeOf(this, TooManyTagsException.prototype);
389
392
  this.resourceName = opts.resourceName;
390
393
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: DeviceFarmClientConfig) => {
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: DeviceFarmClientConfig) => {
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: DeviceFarmClientConfig) => {
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: DeviceFarmClientConfig) => {
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: DeviceFarmClientConfig) => {
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: DeviceFarmClientConfig) => {
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: DeviceFarmClientConfig) => {
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: DeviceFarmClientConfig) => {
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-device-farm",
3
3
  "description": "AWS SDK for JavaScript Device Farm 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-device-farm",
@@ -20,56 +20,56 @@
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",
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
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {