@aws-sdk/client-service-quotas 3.934.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.
- package/dist-cjs/index.js +49 -48
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +48 -0
- package/dist-es/models/errors.js +239 -0
- package/dist-es/models/models_0.js +1 -287
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +120 -0
- package/dist-types/models/errors.d.ts +229 -0
- package/dist-types/models/models_0.d.ts +1 -349
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +60 -0
- package/dist-types/ts3.4/models/errors.d.ts +157 -0
- package/dist-types/ts3.4/models/models_0.d.ts +11 -217
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -166,7 +166,7 @@ const _s = "server";
|
|
|
166
166
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.servicequotas";
|
|
167
167
|
const n0 = "com.amazonaws.servicequotas";
|
|
168
168
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
169
|
-
import { AccessDeniedException as __AccessDeniedException, AWSServiceAccessNotEnabledException as __AWSServiceAccessNotEnabledException, DependencyAccessDeniedException as __DependencyAccessDeniedException, IllegalArgumentException as __IllegalArgumentException, InvalidPaginationTokenException as __InvalidPaginationTokenException, InvalidResourceStateException as __InvalidResourceStateException, NoAvailableOrganizationException as __NoAvailableOrganizationException, NoSuchResourceException as __NoSuchResourceException, OrganizationNotInAllFeaturesModeException as __OrganizationNotInAllFeaturesModeException, QuotaExceededException as __QuotaExceededException, ResourceAlreadyExistsException as __ResourceAlreadyExistsException, ServiceException as __ServiceException, ServiceQuotaTemplateNotInUseException as __ServiceQuotaTemplateNotInUseException, TagPolicyViolationException as __TagPolicyViolationException, TemplatesNotAvailableInRegionException as __TemplatesNotAvailableInRegionException, TooManyRequestsException as __TooManyRequestsException, TooManyTagsException as __TooManyTagsException, } from "../models/
|
|
169
|
+
import { AccessDeniedException as __AccessDeniedException, AWSServiceAccessNotEnabledException as __AWSServiceAccessNotEnabledException, DependencyAccessDeniedException as __DependencyAccessDeniedException, IllegalArgumentException as __IllegalArgumentException, InvalidPaginationTokenException as __InvalidPaginationTokenException, InvalidResourceStateException as __InvalidResourceStateException, NoAvailableOrganizationException as __NoAvailableOrganizationException, NoSuchResourceException as __NoSuchResourceException, OrganizationNotInAllFeaturesModeException as __OrganizationNotInAllFeaturesModeException, QuotaExceededException as __QuotaExceededException, ResourceAlreadyExistsException as __ResourceAlreadyExistsException, ServiceException as __ServiceException, ServiceQuotaTemplateNotInUseException as __ServiceQuotaTemplateNotInUseException, TagPolicyViolationException as __TagPolicyViolationException, TemplatesNotAvailableInRegionException as __TemplatesNotAvailableInRegionException, TooManyRequestsException as __TooManyRequestsException, TooManyTagsException as __TooManyTagsException, } from "../models/errors";
|
|
170
170
|
import { ServiceQuotasServiceException as __ServiceQuotasServiceException } from "../models/ServiceQuotasServiceException";
|
|
171
171
|
export var AccessDeniedException = [
|
|
172
172
|
-3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -14,5 +14,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
14
14
|
export type { ServiceQuotasExtensionConfiguration } from "./extensionConfiguration";
|
|
15
15
|
export * from "./commands";
|
|
16
16
|
export * from "./pagination";
|
|
17
|
-
export * from "./models";
|
|
17
|
+
export * from "./models/enums";
|
|
18
|
+
export * from "./models/errors";
|
|
19
|
+
export type * from "./models/models_0";
|
|
18
20
|
export { ServiceQuotasServiceException } from "./models/ServiceQuotasServiceException";
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const AppliedLevelEnum: {
|
|
6
|
+
readonly ACCOUNT: "ACCOUNT";
|
|
7
|
+
readonly ALL: "ALL";
|
|
8
|
+
readonly RESOURCE: "RESOURCE";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type AppliedLevelEnum = (typeof AppliedLevelEnum)[keyof typeof AppliedLevelEnum];
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* @enum
|
|
17
|
+
*/
|
|
18
|
+
export declare const ErrorCode: {
|
|
19
|
+
readonly DEPENDENCY_ACCESS_DENIED_ERROR: "DEPENDENCY_ACCESS_DENIED_ERROR";
|
|
20
|
+
readonly DEPENDENCY_SERVICE_ERROR: "DEPENDENCY_SERVICE_ERROR";
|
|
21
|
+
readonly DEPENDENCY_THROTTLING_ERROR: "DEPENDENCY_THROTTLING_ERROR";
|
|
22
|
+
readonly SERVICE_QUOTA_NOT_AVAILABLE_ERROR: "SERVICE_QUOTA_NOT_AVAILABLE_ERROR";
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
* @enum
|
|
31
|
+
*/
|
|
32
|
+
export declare const ServiceQuotaTemplateAssociationStatus: {
|
|
33
|
+
readonly ASSOCIATED: "ASSOCIATED";
|
|
34
|
+
readonly DISASSOCIATED: "DISASSOCIATED";
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export type ServiceQuotaTemplateAssociationStatus = (typeof ServiceQuotaTemplateAssociationStatus)[keyof typeof ServiceQuotaTemplateAssociationStatus];
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
* @enum
|
|
43
|
+
*/
|
|
44
|
+
export declare const OptInLevel: {
|
|
45
|
+
readonly ACCOUNT: "ACCOUNT";
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export type OptInLevel = (typeof OptInLevel)[keyof typeof OptInLevel];
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
* @enum
|
|
54
|
+
*/
|
|
55
|
+
export declare const OptInStatus: {
|
|
56
|
+
readonly DISABLED: "DISABLED";
|
|
57
|
+
readonly ENABLED: "ENABLED";
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export type OptInStatus = (typeof OptInStatus)[keyof typeof OptInStatus];
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
* @enum
|
|
66
|
+
*/
|
|
67
|
+
export declare const OptInType: {
|
|
68
|
+
readonly NotifyAndAdjust: "NotifyAndAdjust";
|
|
69
|
+
readonly NotifyOnly: "NotifyOnly";
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export type OptInType = (typeof OptInType)[keyof typeof OptInType];
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
* @enum
|
|
78
|
+
*/
|
|
79
|
+
export declare const PeriodUnit: {
|
|
80
|
+
readonly DAY: "DAY";
|
|
81
|
+
readonly HOUR: "HOUR";
|
|
82
|
+
readonly MICROSECOND: "MICROSECOND";
|
|
83
|
+
readonly MILLISECOND: "MILLISECOND";
|
|
84
|
+
readonly MINUTE: "MINUTE";
|
|
85
|
+
readonly SECOND: "SECOND";
|
|
86
|
+
readonly WEEK: "WEEK";
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export type PeriodUnit = (typeof PeriodUnit)[keyof typeof PeriodUnit];
|
|
92
|
+
/**
|
|
93
|
+
* @public
|
|
94
|
+
* @enum
|
|
95
|
+
*/
|
|
96
|
+
export declare const QuotaContextScope: {
|
|
97
|
+
readonly ACCOUNT: "ACCOUNT";
|
|
98
|
+
readonly RESOURCE: "RESOURCE";
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export type QuotaContextScope = (typeof QuotaContextScope)[keyof typeof QuotaContextScope];
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
* @enum
|
|
107
|
+
*/
|
|
108
|
+
export declare const RequestStatus: {
|
|
109
|
+
readonly APPROVED: "APPROVED";
|
|
110
|
+
readonly CASE_CLOSED: "CASE_CLOSED";
|
|
111
|
+
readonly CASE_OPENED: "CASE_OPENED";
|
|
112
|
+
readonly DENIED: "DENIED";
|
|
113
|
+
readonly INVALID_REQUEST: "INVALID_REQUEST";
|
|
114
|
+
readonly NOT_APPROVED: "NOT_APPROVED";
|
|
115
|
+
readonly PENDING: "PENDING";
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
export type RequestStatus = (typeof RequestStatus)[keyof typeof RequestStatus];
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ServiceQuotasServiceException as __BaseException } from "./ServiceQuotasServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You do not have sufficient permission to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
Message?: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>The action you attempted is not allowed unless Service Access with Service Quotas is enabled in
|
|
18
|
+
* your organization.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare class AWSServiceAccessNotEnabledException extends __BaseException {
|
|
22
|
+
readonly name: "AWSServiceAccessNotEnabledException";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
Message?: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
constructor(opts: __ExceptionOptionType<AWSServiceAccessNotEnabledException, __BaseException>);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* <p>You can't perform this action because a dependency does not have access.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export declare class DependencyAccessDeniedException extends __BaseException {
|
|
35
|
+
readonly name: "DependencyAccessDeniedException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
Message?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
constructor(opts: __ExceptionOptionType<DependencyAccessDeniedException, __BaseException>);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* <p>The Amazon Web Services account making this call is not a member of an organization.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export declare class NoAvailableOrganizationException extends __BaseException {
|
|
48
|
+
readonly name: "NoAvailableOrganizationException";
|
|
49
|
+
readonly $fault: "client";
|
|
50
|
+
Message?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
constructor(opts: __ExceptionOptionType<NoAvailableOrganizationException, __BaseException>);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* <p>The organization that your Amazon Web Services account belongs to is not in All Features
|
|
58
|
+
* mode.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export declare class OrganizationNotInAllFeaturesModeException extends __BaseException {
|
|
62
|
+
readonly name: "OrganizationNotInAllFeaturesModeException";
|
|
63
|
+
readonly $fault: "client";
|
|
64
|
+
Message?: string | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
constructor(opts: __ExceptionOptionType<OrganizationNotInAllFeaturesModeException, __BaseException>);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* <p>Something went wrong.</p>
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export declare class ServiceException extends __BaseException {
|
|
75
|
+
readonly name: "ServiceException";
|
|
76
|
+
readonly $fault: "server";
|
|
77
|
+
Message?: string | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* <p>The Service Quotas template is not available in this Amazon Web Services Region.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class TemplatesNotAvailableInRegionException extends __BaseException {
|
|
88
|
+
readonly name: "TemplatesNotAvailableInRegionException";
|
|
89
|
+
readonly $fault: "client";
|
|
90
|
+
Message?: string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
constructor(opts: __ExceptionOptionType<TemplatesNotAvailableInRegionException, __BaseException>);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* <p>Due to throttling, the request was denied. Slow down the rate of request calls, or
|
|
98
|
+
* request an increase for this quota.</p>
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
102
|
+
readonly name: "TooManyRequestsException";
|
|
103
|
+
readonly $fault: "client";
|
|
104
|
+
Message?: string | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* <p>Invalid input was provided.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export declare class IllegalArgumentException extends __BaseException {
|
|
115
|
+
readonly name: "IllegalArgumentException";
|
|
116
|
+
readonly $fault: "client";
|
|
117
|
+
Message?: string | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
constructor(opts: __ExceptionOptionType<IllegalArgumentException, __BaseException>);
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* <p>The resource is in an invalid state.</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
export declare class InvalidResourceStateException extends __BaseException {
|
|
128
|
+
readonly name: "InvalidResourceStateException";
|
|
129
|
+
readonly $fault: "client";
|
|
130
|
+
Message?: string | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
constructor(opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>);
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* <p>The specified resource does not exist.</p>
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
export declare class NoSuchResourceException extends __BaseException {
|
|
141
|
+
readonly name: "NoSuchResourceException";
|
|
142
|
+
readonly $fault: "client";
|
|
143
|
+
Message?: string | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* @internal
|
|
146
|
+
*/
|
|
147
|
+
constructor(opts: __ExceptionOptionType<NoSuchResourceException, __BaseException>);
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* <p>The specified resource already exists.</p>
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
154
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
155
|
+
readonly $fault: "client";
|
|
156
|
+
Message?: string | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* @internal
|
|
159
|
+
*/
|
|
160
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* <p>The quota request template is not associated with your organization.</p>
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
export declare class ServiceQuotaTemplateNotInUseException extends __BaseException {
|
|
167
|
+
readonly name: "ServiceQuotaTemplateNotInUseException";
|
|
168
|
+
readonly $fault: "client";
|
|
169
|
+
Message?: string | undefined;
|
|
170
|
+
/**
|
|
171
|
+
* @internal
|
|
172
|
+
*/
|
|
173
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaTemplateNotInUseException, __BaseException>);
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* <p>Invalid input was provided.</p>
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
export declare class InvalidPaginationTokenException extends __BaseException {
|
|
180
|
+
readonly name: "InvalidPaginationTokenException";
|
|
181
|
+
readonly $fault: "client";
|
|
182
|
+
Message?: string | undefined;
|
|
183
|
+
/**
|
|
184
|
+
* @internal
|
|
185
|
+
*/
|
|
186
|
+
constructor(opts: __ExceptionOptionType<InvalidPaginationTokenException, __BaseException>);
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* <p>You have exceeded your service quota. To perform the requested action, remove some of
|
|
190
|
+
* the relevant resources, or use Service Quotas to request a service quota increase.</p>
|
|
191
|
+
* @public
|
|
192
|
+
*/
|
|
193
|
+
export declare class QuotaExceededException extends __BaseException {
|
|
194
|
+
readonly name: "QuotaExceededException";
|
|
195
|
+
readonly $fault: "client";
|
|
196
|
+
Message?: string | undefined;
|
|
197
|
+
/**
|
|
198
|
+
* @internal
|
|
199
|
+
*/
|
|
200
|
+
constructor(opts: __ExceptionOptionType<QuotaExceededException, __BaseException>);
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* <p>The specified tag is a reserved word and cannot be used.</p>
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
export declare class TagPolicyViolationException extends __BaseException {
|
|
207
|
+
readonly name: "TagPolicyViolationException";
|
|
208
|
+
readonly $fault: "client";
|
|
209
|
+
Message?: string | undefined;
|
|
210
|
+
/**
|
|
211
|
+
* @internal
|
|
212
|
+
*/
|
|
213
|
+
constructor(opts: __ExceptionOptionType<TagPolicyViolationException, __BaseException>);
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* <p>You've exceeded the number of tags allowed for a resource. For more information, see
|
|
217
|
+
* <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/sq-tagging.html#sq-tagging-restrictions">Tag
|
|
218
|
+
* restrictions</a> in the <i>Service Quotas User Guide</i>.</p>
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
222
|
+
readonly name: "TooManyTagsException";
|
|
223
|
+
readonly $fault: "client";
|
|
224
|
+
Message?: string | undefined;
|
|
225
|
+
/**
|
|
226
|
+
* @internal
|
|
227
|
+
*/
|
|
228
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
229
|
+
}
|