@aws-sdk/client-deadline 3.933.0 → 3.935.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.
Files changed (67) hide show
  1. package/dist-cjs/index.js +336 -336
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +335 -0
  4. package/dist-es/models/errors.js +133 -0
  5. package/dist-es/models/models_0.js +1 -394
  6. package/dist-es/models/models_1.js +1 -74
  7. package/dist-es/schemas/schemas_0.js +1 -1
  8. package/dist-types/commands/DeleteLicenseEndpointCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteMeteredProductCommand.d.ts +1 -1
  10. package/dist-types/commands/GetLicenseEndpointCommand.d.ts +1 -1
  11. package/dist-types/commands/GetQueueFleetAssociationCommand.d.ts +1 -1
  12. package/dist-types/commands/GetQueueLimitAssociationCommand.d.ts +1 -1
  13. package/dist-types/commands/GetSessionsStatisticsAggregationCommand.d.ts +1 -1
  14. package/dist-types/commands/ListLicenseEndpointsCommand.d.ts +1 -1
  15. package/dist-types/commands/ListMeteredProductsCommand.d.ts +2 -1
  16. package/dist-types/commands/ListQueueEnvironmentsCommand.d.ts +1 -1
  17. package/dist-types/commands/ListQueueMembersCommand.d.ts +1 -1
  18. package/dist-types/commands/ListQueuesCommand.d.ts +1 -1
  19. package/dist-types/commands/ListStepsCommand.d.ts +1 -2
  20. package/dist-types/commands/ListStorageProfilesForQueueCommand.d.ts +1 -1
  21. package/dist-types/commands/ListTasksCommand.d.ts +1 -1
  22. package/dist-types/commands/UpdateFarmCommand.d.ts +1 -1
  23. package/dist-types/commands/UpdateJobCommand.d.ts +1 -1
  24. package/dist-types/commands/UpdateLimitCommand.d.ts +1 -1
  25. package/dist-types/commands/UpdateQueueCommand.d.ts +1 -1
  26. package/dist-types/commands/UpdateQueueEnvironmentCommand.d.ts +1 -1
  27. package/dist-types/commands/UpdateSessionCommand.d.ts +1 -1
  28. package/dist-types/commands/UpdateStepCommand.d.ts +1 -1
  29. package/dist-types/commands/UpdateStorageProfileCommand.d.ts +1 -1
  30. package/dist-types/commands/UpdateTaskCommand.d.ts +1 -1
  31. package/dist-types/index.d.ts +4 -1
  32. package/dist-types/models/enums.d.ts +810 -0
  33. package/dist-types/models/errors.d.ts +205 -0
  34. package/dist-types/models/models_0.d.ts +1440 -827
  35. package/dist-types/models/models_1.d.ts +2 -1626
  36. package/dist-types/ts3.4/commands/DeleteLicenseEndpointCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/DeleteMeteredProductCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/GetLicenseEndpointCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/GetQueueFleetAssociationCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/GetQueueLimitAssociationCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/GetSessionsStatisticsAggregationCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/ListLicenseEndpointsCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/ListMeteredProductsCommand.d.ts +2 -4
  44. package/dist-types/ts3.4/commands/ListQueueEnvironmentsCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/ListQueueMembersCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ListStepsCommand.d.ts +1 -2
  48. package/dist-types/ts3.4/commands/ListStorageProfilesForQueueCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/UpdateFarmCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/UpdateJobCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/UpdateLimitCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/UpdateQueueCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/UpdateQueueEnvironmentCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/UpdateStepCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/UpdateStorageProfileCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/UpdateTaskCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/index.d.ts +4 -1
  60. package/dist-types/ts3.4/models/enums.d.ts +442 -0
  61. package/dist-types/ts3.4/models/errors.d.ts +81 -0
  62. package/dist-types/ts3.4/models/models_0.d.ts +355 -418
  63. package/dist-types/ts3.4/models/models_1.d.ts +17 -422
  64. package/package.json +12 -12
  65. package/dist-es/models/index.js +0 -2
  66. package/dist-types/models/index.d.ts +0 -2
  67. package/dist-types/ts3.4/models/index.d.ts +0 -2
@@ -0,0 +1,205 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { DeadlineServiceException as __BaseException } from "./DeadlineServiceException";
3
+ import { ConflictExceptionReason, ServiceQuotaExceededExceptionReason, ValidationExceptionReason } from "./enums";
4
+ import { ValidationExceptionField } from "./models_0";
5
+ /**
6
+ * <p>You don't have permission to perform the action.</p>
7
+ * @public
8
+ */
9
+ export declare class AccessDeniedException extends __BaseException {
10
+ readonly name: "AccessDeniedException";
11
+ readonly $fault: "client";
12
+ /**
13
+ * <p>Information about the resources in use when the exception was thrown.</p>
14
+ * @public
15
+ */
16
+ context?: Record<string, string> | undefined;
17
+ /**
18
+ * @internal
19
+ */
20
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
21
+ }
22
+ /**
23
+ * <p>Deadline Cloud can't process your request right now. Try again later.</p>
24
+ * @public
25
+ */
26
+ export declare class InternalServerErrorException extends __BaseException {
27
+ readonly name: "InternalServerErrorException";
28
+ readonly $fault: "server";
29
+ $retryable: {};
30
+ /**
31
+ * <p>The number of seconds a client should wait before retrying the request.</p>
32
+ * @public
33
+ */
34
+ retryAfterSeconds?: number | undefined;
35
+ /**
36
+ * @internal
37
+ */
38
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
39
+ }
40
+ /**
41
+ * <p>The requested resource can't be found.</p>
42
+ * @public
43
+ */
44
+ export declare class ResourceNotFoundException extends __BaseException {
45
+ readonly name: "ResourceNotFoundException";
46
+ readonly $fault: "client";
47
+ /**
48
+ * <p>The identifier of the resource that couldn't be found.</p>
49
+ * @public
50
+ */
51
+ resourceId: string | undefined;
52
+ /**
53
+ * <p>The type of the resource that couldn't be found.</p>
54
+ * @public
55
+ */
56
+ resourceType: string | undefined;
57
+ /**
58
+ * <p>Information about the resources in use when the exception was thrown.</p>
59
+ * @public
60
+ */
61
+ context?: Record<string, string> | undefined;
62
+ /**
63
+ * @internal
64
+ */
65
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
66
+ }
67
+ /**
68
+ * <p>You exceeded your service quota. Service quotas, also referred to as limits, are the
69
+ * maximum number of service resources or operations for your Amazon Web Services account.</p>
70
+ * @public
71
+ */
72
+ export declare class ServiceQuotaExceededException extends __BaseException {
73
+ readonly name: "ServiceQuotaExceededException";
74
+ readonly $fault: "client";
75
+ /**
76
+ * <p>A string that describes the reason the quota was exceeded.</p>
77
+ * @public
78
+ */
79
+ reason: ServiceQuotaExceededExceptionReason | undefined;
80
+ /**
81
+ * <p>The type of the affected resource</p>
82
+ * @public
83
+ */
84
+ resourceType: string | undefined;
85
+ /**
86
+ * <p>Identifies the service that exceeded the quota.</p>
87
+ * @public
88
+ */
89
+ serviceCode: string | undefined;
90
+ /**
91
+ * <p>Identifies the quota that has been exceeded.</p>
92
+ * @public
93
+ */
94
+ quotaCode: string | undefined;
95
+ /**
96
+ * <p>The identifier of the affected resource.</p>
97
+ * @public
98
+ */
99
+ resourceId?: string | undefined;
100
+ /**
101
+ * <p>Information about the resources in use when the exception was thrown.</p>
102
+ * @public
103
+ */
104
+ context?: Record<string, string> | undefined;
105
+ /**
106
+ * @internal
107
+ */
108
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
109
+ }
110
+ /**
111
+ * <p>Your request exceeded a request rate quota.</p>
112
+ * @public
113
+ */
114
+ export declare class ThrottlingException extends __BaseException {
115
+ readonly name: "ThrottlingException";
116
+ readonly $fault: "client";
117
+ $retryable: {
118
+ throttling: boolean;
119
+ };
120
+ /**
121
+ * <p>Identifies the service that is being throttled.</p>
122
+ * @public
123
+ */
124
+ serviceCode?: string | undefined;
125
+ /**
126
+ * <p>Identifies the quota that is being throttled.</p>
127
+ * @public
128
+ */
129
+ quotaCode?: string | undefined;
130
+ /**
131
+ * <p>The number of seconds a client should wait before retrying the request.</p>
132
+ * @public
133
+ */
134
+ retryAfterSeconds?: number | undefined;
135
+ /**
136
+ * <p>Information about the resources in use when the exception was thrown.</p>
137
+ * @public
138
+ */
139
+ context?: Record<string, string> | undefined;
140
+ /**
141
+ * @internal
142
+ */
143
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
144
+ }
145
+ /**
146
+ * <p>The request isn't valid. This can occur if your request contains malformed JSON or
147
+ * unsupported characters.</p>
148
+ * @public
149
+ */
150
+ export declare class ValidationException extends __BaseException {
151
+ readonly name: "ValidationException";
152
+ readonly $fault: "client";
153
+ /**
154
+ * <p>The reason that the request failed validation.</p>
155
+ * @public
156
+ */
157
+ reason: ValidationExceptionReason | undefined;
158
+ /**
159
+ * <p>A list of fields that failed validation.</p>
160
+ * @public
161
+ */
162
+ fieldList?: ValidationExceptionField[] | undefined;
163
+ /**
164
+ * <p>Information about the resources in use when the exception was thrown.</p>
165
+ * @public
166
+ */
167
+ context?: Record<string, string> | undefined;
168
+ /**
169
+ * @internal
170
+ */
171
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
172
+ }
173
+ /**
174
+ * <p>Your request has conflicting operations. This can occur if you're trying to perform more
175
+ * than one operation on the same resource at the same time.</p>
176
+ * @public
177
+ */
178
+ export declare class ConflictException extends __BaseException {
179
+ readonly name: "ConflictException";
180
+ readonly $fault: "client";
181
+ /**
182
+ * <p>A description of the error.</p>
183
+ * @public
184
+ */
185
+ reason: ConflictExceptionReason | undefined;
186
+ /**
187
+ * <p>The identifier of the resource in use.</p>
188
+ * @public
189
+ */
190
+ resourceId: string | undefined;
191
+ /**
192
+ * <p>The type of the resource in use.</p>
193
+ * @public
194
+ */
195
+ resourceType: string | undefined;
196
+ /**
197
+ * <p>Information about the resources in use when the exception was thrown.</p>
198
+ * @public
199
+ */
200
+ context?: Record<string, string> | undefined;
201
+ /**
202
+ * @internal
203
+ */
204
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
205
+ }