@aws-sdk/client-deadline 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.
@@ -17,6 +17,7 @@ const EndpointParameters_1 = require("./endpoint/EndpointParameters");
17
17
  const runtimeConfig_1 = require("./runtimeConfig");
18
18
  const runtimeExtensions_1 = require("./runtimeExtensions");
19
19
  class DeadlineClient extends smithy_client_1.Client {
20
+ config;
20
21
  constructor(...[configuration]) {
21
22
  const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
22
23
  const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
@@ -15,14 +15,15 @@ exports.AcceleratorType = {
15
15
  GPU: "gpu",
16
16
  };
17
17
  class AccessDeniedException extends DeadlineServiceException_1.DeadlineServiceException {
18
+ name = "AccessDeniedException";
19
+ $fault = "client";
20
+ context;
18
21
  constructor(opts) {
19
22
  super({
20
23
  name: "AccessDeniedException",
21
24
  $fault: "client",
22
25
  ...opts,
23
26
  });
24
- this.name = "AccessDeniedException";
25
- this.$fault = "client";
26
27
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
27
28
  this.context = opts.context;
28
29
  }
@@ -41,7 +42,7 @@ var TaskParameterValue;
41
42
  return visitor.path(value.path);
42
43
  return visitor._(value.$unknown[0], value.$unknown[1]);
43
44
  };
44
- })(TaskParameterValue = exports.TaskParameterValue || (exports.TaskParameterValue = {}));
45
+ })(TaskParameterValue || (exports.TaskParameterValue = TaskParameterValue = {}));
45
46
  var AssignedSessionActionDefinition;
46
47
  (function (AssignedSessionActionDefinition) {
47
48
  AssignedSessionActionDefinition.visit = (value, visitor) => {
@@ -55,7 +56,7 @@ var AssignedSessionActionDefinition;
55
56
  return visitor.syncInputJobAttachments(value.syncInputJobAttachments);
56
57
  return visitor._(value.$unknown[0], value.$unknown[1]);
57
58
  };
58
- })(AssignedSessionActionDefinition = exports.AssignedSessionActionDefinition || (exports.AssignedSessionActionDefinition = {}));
59
+ })(AssignedSessionActionDefinition || (exports.AssignedSessionActionDefinition = AssignedSessionActionDefinition = {}));
59
60
  exports.MembershipLevel = {
60
61
  CONTRIBUTOR: "CONTRIBUTOR",
61
62
  MANAGER: "MANAGER",
@@ -67,29 +68,33 @@ exports.DeadlinePrincipalType = {
67
68
  USER: "USER",
68
69
  };
69
70
  class InternalServerErrorException extends DeadlineServiceException_1.DeadlineServiceException {
71
+ name = "InternalServerErrorException";
72
+ $fault = "server";
73
+ $retryable = {};
74
+ retryAfterSeconds;
70
75
  constructor(opts) {
71
76
  super({
72
77
  name: "InternalServerErrorException",
73
78
  $fault: "server",
74
79
  ...opts,
75
80
  });
76
- this.name = "InternalServerErrorException";
77
- this.$fault = "server";
78
- this.$retryable = {};
79
81
  Object.setPrototypeOf(this, InternalServerErrorException.prototype);
80
82
  this.retryAfterSeconds = opts.retryAfterSeconds;
81
83
  }
82
84
  }
83
85
  exports.InternalServerErrorException = InternalServerErrorException;
84
86
  class ResourceNotFoundException extends DeadlineServiceException_1.DeadlineServiceException {
87
+ name = "ResourceNotFoundException";
88
+ $fault = "client";
89
+ resourceId;
90
+ resourceType;
91
+ context;
85
92
  constructor(opts) {
86
93
  super({
87
94
  name: "ResourceNotFoundException",
88
95
  $fault: "client",
89
96
  ...opts,
90
97
  });
91
- this.name = "ResourceNotFoundException";
92
- this.$fault = "client";
93
98
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
94
99
  this.resourceId = opts.resourceId;
95
100
  this.resourceType = opts.resourceType;
@@ -102,14 +107,20 @@ exports.ServiceQuotaExceededExceptionReason = {
102
107
  SERVICE_QUOTA_EXCEEDED_EXCEPTION: "SERVICE_QUOTA_EXCEEDED_EXCEPTION",
103
108
  };
104
109
  class ServiceQuotaExceededException extends DeadlineServiceException_1.DeadlineServiceException {
110
+ name = "ServiceQuotaExceededException";
111
+ $fault = "client";
112
+ reason;
113
+ resourceType;
114
+ serviceCode;
115
+ quotaCode;
116
+ resourceId;
117
+ context;
105
118
  constructor(opts) {
106
119
  super({
107
120
  name: "ServiceQuotaExceededException",
108
121
  $fault: "client",
109
122
  ...opts,
110
123
  });
111
- this.name = "ServiceQuotaExceededException";
112
- this.$fault = "client";
113
124
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
114
125
  this.reason = opts.reason;
115
126
  this.resourceType = opts.resourceType;
@@ -121,17 +132,21 @@ class ServiceQuotaExceededException extends DeadlineServiceException_1.DeadlineS
121
132
  }
122
133
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
123
134
  class ThrottlingException extends DeadlineServiceException_1.DeadlineServiceException {
135
+ name = "ThrottlingException";
136
+ $fault = "client";
137
+ $retryable = {
138
+ throttling: true,
139
+ };
140
+ serviceCode;
141
+ quotaCode;
142
+ retryAfterSeconds;
143
+ context;
124
144
  constructor(opts) {
125
145
  super({
126
146
  name: "ThrottlingException",
127
147
  $fault: "client",
128
148
  ...opts,
129
149
  });
130
- this.name = "ThrottlingException";
131
- this.$fault = "client";
132
- this.$retryable = {
133
- throttling: true,
134
- };
135
150
  Object.setPrototypeOf(this, ThrottlingException.prototype);
136
151
  this.serviceCode = opts.serviceCode;
137
152
  this.quotaCode = opts.quotaCode;
@@ -147,14 +162,17 @@ exports.ValidationExceptionReason = {
147
162
  UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
148
163
  };
149
164
  class ValidationException extends DeadlineServiceException_1.DeadlineServiceException {
165
+ name = "ValidationException";
166
+ $fault = "client";
167
+ reason;
168
+ fieldList;
169
+ context;
150
170
  constructor(opts) {
151
171
  super({
152
172
  name: "ValidationException",
153
173
  $fault: "client",
154
174
  ...opts,
155
175
  });
156
- this.name = "ValidationException";
157
- this.$fault = "client";
158
176
  Object.setPrototypeOf(this, ValidationException.prototype);
159
177
  this.reason = opts.reason;
160
178
  this.fieldList = opts.fieldList;
@@ -170,14 +188,18 @@ exports.ConflictExceptionReason = {
170
188
  STATUS_CONFLICT: "STATUS_CONFLICT",
171
189
  };
172
190
  class ConflictException extends DeadlineServiceException_1.DeadlineServiceException {
191
+ name = "ConflictException";
192
+ $fault = "client";
193
+ reason;
194
+ resourceId;
195
+ resourceType;
196
+ context;
173
197
  constructor(opts) {
174
198
  super({
175
199
  name: "ConflictException",
176
200
  $fault: "client",
177
201
  ...opts,
178
202
  });
179
- this.name = "ConflictException";
180
- this.$fault = "client";
181
203
  Object.setPrototypeOf(this, ConflictException.prototype);
182
204
  this.reason = opts.reason;
183
205
  this.resourceId = opts.resourceId;
@@ -216,7 +238,7 @@ var JobEntityIdentifiersUnion;
216
238
  return visitor.environmentDetails(value.environmentDetails);
217
239
  return visitor._(value.$unknown[0], value.$unknown[1]);
218
240
  };
219
- })(JobEntityIdentifiersUnion = exports.JobEntityIdentifiersUnion || (exports.JobEntityIdentifiersUnion = {}));
241
+ })(JobEntityIdentifiersUnion || (exports.JobEntityIdentifiersUnion = JobEntityIdentifiersUnion = {}));
220
242
  exports.RunAs = {
221
243
  QUEUE_CONFIGURED_USER: "QUEUE_CONFIGURED_USER",
222
244
  WORKER_AGENT_USER: "WORKER_AGENT_USER",
@@ -234,7 +256,7 @@ var JobParameter;
234
256
  return visitor.path(value.path);
235
257
  return visitor._(value.$unknown[0], value.$unknown[1]);
236
258
  };
237
- })(JobParameter = exports.JobParameter || (exports.JobParameter = {}));
259
+ })(JobParameter || (exports.JobParameter = JobParameter = {}));
238
260
  var JobEntity;
239
261
  (function (JobEntity) {
240
262
  JobEntity.visit = (value, visitor) => {
@@ -248,7 +270,7 @@ var JobEntity;
248
270
  return visitor.environmentDetails(value.environmentDetails);
249
271
  return visitor._(value.$unknown[0], value.$unknown[1]);
250
272
  };
251
- })(JobEntity = exports.JobEntity || (exports.JobEntity = {}));
273
+ })(JobEntity || (exports.JobEntity = JobEntity = {}));
252
274
  exports.JobEntityErrorCode = {
253
275
  AccessDeniedException: "AccessDeniedException",
254
276
  ConflictException: "ConflictException",
@@ -270,7 +292,7 @@ var GetJobEntityError;
270
292
  return visitor.environmentDetails(value.environmentDetails);
271
293
  return visitor._(value.$unknown[0], value.$unknown[1]);
272
294
  };
273
- })(GetJobEntityError = exports.GetJobEntityError || (exports.GetJobEntityError = {}));
295
+ })(GetJobEntityError || (exports.GetJobEntityError = GetJobEntityError = {}));
274
296
  exports.BudgetActionType = {
275
297
  STOP_SCHEDULING_AND_CANCEL_TASKS: "STOP_SCHEDULING_AND_CANCEL_TASKS",
276
298
  STOP_SCHEDULING_AND_COMPLETE_TASKS: "STOP_SCHEDULING_AND_COMPLETE_TASKS",
@@ -282,7 +304,7 @@ var BudgetSchedule;
282
304
  return visitor.fixed(value.fixed);
283
305
  return visitor._(value.$unknown[0], value.$unknown[1]);
284
306
  };
285
- })(BudgetSchedule = exports.BudgetSchedule || (exports.BudgetSchedule = {}));
307
+ })(BudgetSchedule || (exports.BudgetSchedule = BudgetSchedule = {}));
286
308
  var UsageTrackingResource;
287
309
  (function (UsageTrackingResource) {
288
310
  UsageTrackingResource.visit = (value, visitor) => {
@@ -290,7 +312,7 @@ var UsageTrackingResource;
290
312
  return visitor.queueId(value.queueId);
291
313
  return visitor._(value.$unknown[0], value.$unknown[1]);
292
314
  };
293
- })(UsageTrackingResource = exports.UsageTrackingResource || (exports.UsageTrackingResource = {}));
315
+ })(UsageTrackingResource || (exports.UsageTrackingResource = UsageTrackingResource = {}));
294
316
  exports.BudgetStatus = {
295
317
  ACTIVE: "ACTIVE",
296
318
  INACTIVE: "INACTIVE",
@@ -340,7 +362,7 @@ var FleetConfiguration;
340
362
  return visitor.serviceManagedEc2(value.serviceManagedEc2);
341
363
  return visitor._(value.$unknown[0], value.$unknown[1]);
342
364
  };
343
- })(FleetConfiguration = exports.FleetConfiguration || (exports.FleetConfiguration = {}));
365
+ })(FleetConfiguration || (exports.FleetConfiguration = FleetConfiguration = {}));
344
366
  exports.CreateJobTargetTaskRunStatus = {
345
367
  READY: "READY",
346
368
  SUSPENDED: "SUSPENDED",
@@ -453,7 +475,7 @@ var SessionActionDefinition;
453
475
  return visitor.syncInputJobAttachments(value.syncInputJobAttachments);
454
476
  return visitor._(value.$unknown[0], value.$unknown[1]);
455
477
  };
456
- })(SessionActionDefinition = exports.SessionActionDefinition || (exports.SessionActionDefinition = {}));
478
+ })(SessionActionDefinition || (exports.SessionActionDefinition = SessionActionDefinition = {}));
457
479
  exports.SessionActionStatus = {
458
480
  ASSIGNED: "ASSIGNED",
459
481
  CANCELED: "CANCELED",
@@ -508,7 +530,7 @@ var SessionActionDefinitionSummary;
508
530
  return visitor.syncInputJobAttachments(value.syncInputJobAttachments);
509
531
  return visitor._(value.$unknown[0], value.$unknown[1]);
510
532
  };
511
- })(SessionActionDefinitionSummary = exports.SessionActionDefinitionSummary || (exports.SessionActionDefinitionSummary = {}));
533
+ })(SessionActionDefinitionSummary || (exports.SessionActionDefinitionSummary = SessionActionDefinitionSummary = {}));
512
534
  exports.DependencyConsumerResolutionStatus = {
513
535
  RESOLVED: "RESOLVED",
514
536
  UNRESOLVED: "UNRESOLVED",
@@ -43,7 +43,7 @@ var SearchSortExpression;
43
43
  return visitor.parameterSort(value.parameterSort);
44
44
  return visitor._(value.$unknown[0], value.$unknown[1]);
45
45
  };
46
- })(SearchSortExpression = exports.SearchSortExpression || (exports.SearchSortExpression = {}));
46
+ })(SearchSortExpression || (exports.SearchSortExpression = SearchSortExpression = {}));
47
47
  exports.UsageGroupByField = {
48
48
  FLEET_ID: "FLEET_ID",
49
49
  INSTANCE_TYPE: "INSTANCE_TYPE",
@@ -68,7 +68,7 @@ var SessionsStatisticsResources;
68
68
  return visitor.fleetIds(value.fleetIds);
69
69
  return visitor._(value.$unknown[0], value.$unknown[1]);
70
70
  };
71
- })(SessionsStatisticsResources = exports.SessionsStatisticsResources || (exports.SessionsStatisticsResources = {}));
71
+ })(SessionsStatisticsResources || (exports.SessionsStatisticsResources = SessionsStatisticsResources = {}));
72
72
  exports.UsageStatistic = {
73
73
  AVG: "AVG",
74
74
  MAX: "MAX",
@@ -95,7 +95,7 @@ var SearchFilterExpression;
95
95
  return visitor.groupFilter(value.groupFilter);
96
96
  return visitor._(value.$unknown[0], value.$unknown[1]);
97
97
  };
98
- })(SearchFilterExpression = exports.SearchFilterExpression || (exports.SearchFilterExpression = {}));
98
+ })(SearchFilterExpression || (exports.SearchFilterExpression = SearchFilterExpression = {}));
99
99
  const UpdateQueueRequestFilterSensitiveLog = (obj) => ({
100
100
  ...obj,
101
101
  ...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class DeadlineClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -10,14 +10,15 @@ export const AcceleratorType = {
10
10
  GPU: "gpu",
11
11
  };
12
12
  export class AccessDeniedException extends __BaseException {
13
+ name = "AccessDeniedException";
14
+ $fault = "client";
15
+ context;
13
16
  constructor(opts) {
14
17
  super({
15
18
  name: "AccessDeniedException",
16
19
  $fault: "client",
17
20
  ...opts,
18
21
  });
19
- this.name = "AccessDeniedException";
20
- this.$fault = "client";
21
22
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
22
23
  this.context = opts.context;
23
24
  }
@@ -61,28 +62,32 @@ export const DeadlinePrincipalType = {
61
62
  USER: "USER",
62
63
  };
63
64
  export class InternalServerErrorException extends __BaseException {
65
+ name = "InternalServerErrorException";
66
+ $fault = "server";
67
+ $retryable = {};
68
+ retryAfterSeconds;
64
69
  constructor(opts) {
65
70
  super({
66
71
  name: "InternalServerErrorException",
67
72
  $fault: "server",
68
73
  ...opts,
69
74
  });
70
- this.name = "InternalServerErrorException";
71
- this.$fault = "server";
72
- this.$retryable = {};
73
75
  Object.setPrototypeOf(this, InternalServerErrorException.prototype);
74
76
  this.retryAfterSeconds = opts.retryAfterSeconds;
75
77
  }
76
78
  }
77
79
  export class ResourceNotFoundException extends __BaseException {
80
+ name = "ResourceNotFoundException";
81
+ $fault = "client";
82
+ resourceId;
83
+ resourceType;
84
+ context;
78
85
  constructor(opts) {
79
86
  super({
80
87
  name: "ResourceNotFoundException",
81
88
  $fault: "client",
82
89
  ...opts,
83
90
  });
84
- this.name = "ResourceNotFoundException";
85
- this.$fault = "client";
86
91
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
87
92
  this.resourceId = opts.resourceId;
88
93
  this.resourceType = opts.resourceType;
@@ -94,14 +99,20 @@ export const ServiceQuotaExceededExceptionReason = {
94
99
  SERVICE_QUOTA_EXCEEDED_EXCEPTION: "SERVICE_QUOTA_EXCEEDED_EXCEPTION",
95
100
  };
96
101
  export class ServiceQuotaExceededException extends __BaseException {
102
+ name = "ServiceQuotaExceededException";
103
+ $fault = "client";
104
+ reason;
105
+ resourceType;
106
+ serviceCode;
107
+ quotaCode;
108
+ resourceId;
109
+ context;
97
110
  constructor(opts) {
98
111
  super({
99
112
  name: "ServiceQuotaExceededException",
100
113
  $fault: "client",
101
114
  ...opts,
102
115
  });
103
- this.name = "ServiceQuotaExceededException";
104
- this.$fault = "client";
105
116
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
106
117
  this.reason = opts.reason;
107
118
  this.resourceType = opts.resourceType;
@@ -112,17 +123,21 @@ export class ServiceQuotaExceededException extends __BaseException {
112
123
  }
113
124
  }
114
125
  export class ThrottlingException extends __BaseException {
126
+ name = "ThrottlingException";
127
+ $fault = "client";
128
+ $retryable = {
129
+ throttling: true,
130
+ };
131
+ serviceCode;
132
+ quotaCode;
133
+ retryAfterSeconds;
134
+ context;
115
135
  constructor(opts) {
116
136
  super({
117
137
  name: "ThrottlingException",
118
138
  $fault: "client",
119
139
  ...opts,
120
140
  });
121
- this.name = "ThrottlingException";
122
- this.$fault = "client";
123
- this.$retryable = {
124
- throttling: true,
125
- };
126
141
  Object.setPrototypeOf(this, ThrottlingException.prototype);
127
142
  this.serviceCode = opts.serviceCode;
128
143
  this.quotaCode = opts.quotaCode;
@@ -137,14 +152,17 @@ export const ValidationExceptionReason = {
137
152
  UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
138
153
  };
139
154
  export class ValidationException extends __BaseException {
155
+ name = "ValidationException";
156
+ $fault = "client";
157
+ reason;
158
+ fieldList;
159
+ context;
140
160
  constructor(opts) {
141
161
  super({
142
162
  name: "ValidationException",
143
163
  $fault: "client",
144
164
  ...opts,
145
165
  });
146
- this.name = "ValidationException";
147
- this.$fault = "client";
148
166
  Object.setPrototypeOf(this, ValidationException.prototype);
149
167
  this.reason = opts.reason;
150
168
  this.fieldList = opts.fieldList;
@@ -159,14 +177,18 @@ export const ConflictExceptionReason = {
159
177
  STATUS_CONFLICT: "STATUS_CONFLICT",
160
178
  };
161
179
  export class ConflictException extends __BaseException {
180
+ name = "ConflictException";
181
+ $fault = "client";
182
+ reason;
183
+ resourceId;
184
+ resourceType;
185
+ context;
162
186
  constructor(opts) {
163
187
  super({
164
188
  name: "ConflictException",
165
189
  $fault: "client",
166
190
  ...opts,
167
191
  });
168
- this.name = "ConflictException";
169
- this.$fault = "client";
170
192
  Object.setPrototypeOf(this, ConflictException.prototype);
171
193
  this.reason = opts.reason;
172
194
  this.resourceId = opts.resourceId;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: DeadlineClientConfig) => {
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: DeadlineClientConfig) => {
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: DeadlineClientConfig) => {
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: DeadlineClientConfig) => {
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: DeadlineClientConfig) => {
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: DeadlineClientConfig) => {
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: DeadlineClientConfig) => {
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: DeadlineClientConfig) => {
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-deadline",
3
3
  "description": "AWS SDK for JavaScript Deadline 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": "tsc -p tsconfig.cjs.json",
@@ -20,59 +20,59 @@
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/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.721.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.721.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
  "@types/uuid": "^9.0.1",
63
63
  "tslib": "^2.6.2",
64
64
  "uuid": "^9.0.1"
65
65
  },
66
66
  "devDependencies": {
67
- "@tsconfig/node16": "16.1.3",
68
- "@types/node": "^16.18.96",
67
+ "@tsconfig/node18": "18.2.4",
68
+ "@types/node": "^18.19.69",
69
69
  "concurrently": "7.0.0",
70
70
  "downlevel-dts": "0.10.1",
71
71
  "rimraf": "3.0.2",
72
- "typescript": "~4.9.5"
72
+ "typescript": "~5.2.2"
73
73
  },
74
74
  "engines": {
75
- "node": ">=16.0.0"
75
+ "node": ">=18.0.0"
76
76
  },
77
77
  "typesVersions": {
78
78
  "<4.0": {