@aws-sdk/client-devops-guru 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.
@@ -0,0 +1,119 @@
1
+ import { DevOpsGuruServiceException as __BaseException } from "./DevOpsGuruServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "AccessDeniedException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class ConflictException extends __BaseException {
17
+ name = "ConflictException";
18
+ $fault = "client";
19
+ Message;
20
+ ResourceId;
21
+ ResourceType;
22
+ constructor(opts) {
23
+ super({
24
+ name: "ConflictException",
25
+ $fault: "client",
26
+ ...opts,
27
+ });
28
+ Object.setPrototypeOf(this, ConflictException.prototype);
29
+ this.Message = opts.Message;
30
+ this.ResourceId = opts.ResourceId;
31
+ this.ResourceType = opts.ResourceType;
32
+ }
33
+ }
34
+ export class InternalServerException extends __BaseException {
35
+ name = "InternalServerException";
36
+ $fault = "server";
37
+ Message;
38
+ RetryAfterSeconds;
39
+ constructor(opts) {
40
+ super({
41
+ name: "InternalServerException",
42
+ $fault: "server",
43
+ ...opts,
44
+ });
45
+ Object.setPrototypeOf(this, InternalServerException.prototype);
46
+ this.Message = opts.Message;
47
+ this.RetryAfterSeconds = opts.RetryAfterSeconds;
48
+ }
49
+ }
50
+ export class ResourceNotFoundException extends __BaseException {
51
+ name = "ResourceNotFoundException";
52
+ $fault = "client";
53
+ Message;
54
+ ResourceId;
55
+ ResourceType;
56
+ constructor(opts) {
57
+ super({
58
+ name: "ResourceNotFoundException",
59
+ $fault: "client",
60
+ ...opts,
61
+ });
62
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
63
+ this.Message = opts.Message;
64
+ this.ResourceId = opts.ResourceId;
65
+ this.ResourceType = opts.ResourceType;
66
+ }
67
+ }
68
+ export class ServiceQuotaExceededException extends __BaseException {
69
+ name = "ServiceQuotaExceededException";
70
+ $fault = "client";
71
+ Message;
72
+ constructor(opts) {
73
+ super({
74
+ name: "ServiceQuotaExceededException",
75
+ $fault: "client",
76
+ ...opts,
77
+ });
78
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
79
+ this.Message = opts.Message;
80
+ }
81
+ }
82
+ export class ThrottlingException extends __BaseException {
83
+ name = "ThrottlingException";
84
+ $fault = "client";
85
+ Message;
86
+ QuotaCode;
87
+ ServiceCode;
88
+ RetryAfterSeconds;
89
+ constructor(opts) {
90
+ super({
91
+ name: "ThrottlingException",
92
+ $fault: "client",
93
+ ...opts,
94
+ });
95
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
96
+ this.Message = opts.Message;
97
+ this.QuotaCode = opts.QuotaCode;
98
+ this.ServiceCode = opts.ServiceCode;
99
+ this.RetryAfterSeconds = opts.RetryAfterSeconds;
100
+ }
101
+ }
102
+ export class ValidationException extends __BaseException {
103
+ name = "ValidationException";
104
+ $fault = "client";
105
+ Message;
106
+ Reason;
107
+ Fields;
108
+ constructor(opts) {
109
+ super({
110
+ name: "ValidationException",
111
+ $fault: "client",
112
+ ...opts,
113
+ });
114
+ Object.setPrototypeOf(this, ValidationException.prototype);
115
+ this.Message = opts.Message;
116
+ this.Reason = opts.Reason;
117
+ this.Fields = opts.Fields;
118
+ }
119
+ }
@@ -1,311 +1 @@
1
- import { DevOpsGuruServiceException as __BaseException } from "./DevOpsGuruServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- Message;
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
- this.Message = opts.Message;
14
- }
15
- }
16
- export const NotificationMessageType = {
17
- CLOSED_INSIGHT: "CLOSED_INSIGHT",
18
- NEW_ASSOCIATION: "NEW_ASSOCIATION",
19
- NEW_INSIGHT: "NEW_INSIGHT",
20
- NEW_RECOMMENDATION: "NEW_RECOMMENDATION",
21
- SEVERITY_UPGRADED: "SEVERITY_UPGRADED",
22
- };
23
- export const InsightSeverity = {
24
- HIGH: "HIGH",
25
- LOW: "LOW",
26
- MEDIUM: "MEDIUM",
27
- };
28
- export class ConflictException extends __BaseException {
29
- name = "ConflictException";
30
- $fault = "client";
31
- Message;
32
- ResourceId;
33
- ResourceType;
34
- constructor(opts) {
35
- super({
36
- name: "ConflictException",
37
- $fault: "client",
38
- ...opts,
39
- });
40
- Object.setPrototypeOf(this, ConflictException.prototype);
41
- this.Message = opts.Message;
42
- this.ResourceId = opts.ResourceId;
43
- this.ResourceType = opts.ResourceType;
44
- }
45
- }
46
- export class InternalServerException extends __BaseException {
47
- name = "InternalServerException";
48
- $fault = "server";
49
- Message;
50
- RetryAfterSeconds;
51
- constructor(opts) {
52
- super({
53
- name: "InternalServerException",
54
- $fault: "server",
55
- ...opts,
56
- });
57
- Object.setPrototypeOf(this, InternalServerException.prototype);
58
- this.Message = opts.Message;
59
- this.RetryAfterSeconds = opts.RetryAfterSeconds;
60
- }
61
- }
62
- export class ResourceNotFoundException extends __BaseException {
63
- name = "ResourceNotFoundException";
64
- $fault = "client";
65
- Message;
66
- ResourceId;
67
- ResourceType;
68
- constructor(opts) {
69
- super({
70
- name: "ResourceNotFoundException",
71
- $fault: "client",
72
- ...opts,
73
- });
74
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
75
- this.Message = opts.Message;
76
- this.ResourceId = opts.ResourceId;
77
- this.ResourceType = opts.ResourceType;
78
- }
79
- }
80
- export class ServiceQuotaExceededException extends __BaseException {
81
- name = "ServiceQuotaExceededException";
82
- $fault = "client";
83
- Message;
84
- constructor(opts) {
85
- super({
86
- name: "ServiceQuotaExceededException",
87
- $fault: "client",
88
- ...opts,
89
- });
90
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
91
- this.Message = opts.Message;
92
- }
93
- }
94
- export class ThrottlingException extends __BaseException {
95
- name = "ThrottlingException";
96
- $fault = "client";
97
- Message;
98
- QuotaCode;
99
- ServiceCode;
100
- RetryAfterSeconds;
101
- constructor(opts) {
102
- super({
103
- name: "ThrottlingException",
104
- $fault: "client",
105
- ...opts,
106
- });
107
- Object.setPrototypeOf(this, ThrottlingException.prototype);
108
- this.Message = opts.Message;
109
- this.QuotaCode = opts.QuotaCode;
110
- this.ServiceCode = opts.ServiceCode;
111
- this.RetryAfterSeconds = opts.RetryAfterSeconds;
112
- }
113
- }
114
- export const ValidationExceptionReason = {
115
- CANNOT_PARSE: "CANNOT_PARSE",
116
- FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
117
- INVALID_PARAMETER_COMBINATION: "INVALID_PARAMETER_COMBINATION",
118
- OTHER: "OTHER",
119
- PARAMETER_INCONSISTENT_WITH_SERVICE_STATE: "PARAMETER_INCONSISTENT_WITH_SERVICE_STATE",
120
- UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
121
- };
122
- export class ValidationException extends __BaseException {
123
- name = "ValidationException";
124
- $fault = "client";
125
- Message;
126
- Reason;
127
- Fields;
128
- constructor(opts) {
129
- super({
130
- name: "ValidationException",
131
- $fault: "client",
132
- ...opts,
133
- });
134
- Object.setPrototypeOf(this, ValidationException.prototype);
135
- this.Message = opts.Message;
136
- this.Reason = opts.Reason;
137
- this.Fields = opts.Fields;
138
- }
139
- }
140
- export const EventSourceOptInStatus = {
141
- DISABLED: "DISABLED",
142
- ENABLED: "ENABLED",
143
- };
144
- export const LogAnomalyType = {
145
- BLOCK_FORMAT: "BLOCK_FORMAT",
146
- FORMAT: "FORMAT",
147
- HTTP_CODE: "HTTP_CODE",
148
- KEYWORD: "KEYWORD",
149
- KEYWORD_TOKEN: "KEYWORD_TOKEN",
150
- NEW_FIELD_NAME: "NEW_FIELD_NAME",
151
- NUMERICAL_NAN: "NUMERICAL_NAN",
152
- NUMERICAL_POINT: "NUMERICAL_POINT",
153
- };
154
- export const AnomalySeverity = {
155
- HIGH: "HIGH",
156
- LOW: "LOW",
157
- MEDIUM: "MEDIUM",
158
- };
159
- export const CloudWatchMetricDataStatusCode = {
160
- COMPLETE: "Complete",
161
- INTERNAL_ERROR: "InternalError",
162
- PARTIAL_DATA: "PartialData",
163
- };
164
- export const CloudWatchMetricsStat = {
165
- AVERAGE: "Average",
166
- MAXIMUM: "Maximum",
167
- MINIMUM: "Minimum",
168
- P50: "p50",
169
- P90: "p90",
170
- P99: "p99",
171
- SAMPLE_COUNT: "SampleCount",
172
- SUM: "Sum",
173
- };
174
- export const AnomalyStatus = {
175
- CLOSED: "CLOSED",
176
- ONGOING: "ONGOING",
177
- };
178
- export const AnomalyType = {
179
- CAUSAL: "CAUSAL",
180
- CONTEXTUAL: "CONTEXTUAL",
181
- };
182
- export const InsightFeedbackOption = {
183
- ALERT_TOO_SENSITIVE: "ALERT_TOO_SENSITIVE",
184
- DATA_INCORRECT: "DATA_INCORRECT",
185
- DATA_NOISY_ANOMALY: "DATA_NOISY_ANOMALY",
186
- RECOMMENDATION_USEFUL: "RECOMMENDATION_USEFUL",
187
- VALID_COLLECTION: "VALID_COLLECTION",
188
- };
189
- export const InsightStatus = {
190
- CLOSED: "CLOSED",
191
- ONGOING: "ONGOING",
192
- };
193
- export const OrganizationResourceCollectionType = {
194
- AWS_ACCOUNT: "AWS_ACCOUNT",
195
- AWS_CLOUD_FORMATION: "AWS_CLOUD_FORMATION",
196
- AWS_SERVICE: "AWS_SERVICE",
197
- AWS_TAGS: "AWS_TAGS",
198
- };
199
- export const ServiceName = {
200
- API_GATEWAY: "API_GATEWAY",
201
- APPLICATION_ELB: "APPLICATION_ELB",
202
- AUTO_SCALING_GROUP: "AUTO_SCALING_GROUP",
203
- CLOUD_FRONT: "CLOUD_FRONT",
204
- DYNAMO_DB: "DYNAMO_DB",
205
- EC2: "EC2",
206
- ECS: "ECS",
207
- EKS: "EKS",
208
- ELASTIC_BEANSTALK: "ELASTIC_BEANSTALK",
209
- ELASTI_CACHE: "ELASTI_CACHE",
210
- ELB: "ELB",
211
- ES: "ES",
212
- KINESIS: "KINESIS",
213
- LAMBDA: "LAMBDA",
214
- NAT_GATEWAY: "NAT_GATEWAY",
215
- NETWORK_ELB: "NETWORK_ELB",
216
- RDS: "RDS",
217
- REDSHIFT: "REDSHIFT",
218
- ROUTE_53: "ROUTE_53",
219
- S3: "S3",
220
- SAGE_MAKER: "SAGE_MAKER",
221
- SNS: "SNS",
222
- SQS: "SQS",
223
- STEP_FUNCTIONS: "STEP_FUNCTIONS",
224
- SWF: "SWF",
225
- };
226
- export const ResourceCollectionType = {
227
- AWS_CLOUD_FORMATION: "AWS_CLOUD_FORMATION",
228
- AWS_SERVICE: "AWS_SERVICE",
229
- AWS_TAGS: "AWS_TAGS",
230
- };
231
- export const OptInStatus = {
232
- DISABLED: "DISABLED",
233
- ENABLED: "ENABLED",
234
- };
235
- export const ServerSideEncryptionType = {
236
- AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
237
- CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY",
238
- };
239
- export const CostEstimationServiceResourceState = {
240
- ACTIVE: "ACTIVE",
241
- INACTIVE: "INACTIVE",
242
- };
243
- export const CostEstimationStatus = {
244
- COMPLETED: "COMPLETED",
245
- ONGOING: "ONGOING",
246
- };
247
- export const EventDataSource = {
248
- AWS_CLOUD_TRAIL: "AWS_CLOUD_TRAIL",
249
- AWS_CODE_DEPLOY: "AWS_CODE_DEPLOY",
250
- };
251
- export const EventClass = {
252
- CONFIG_CHANGE: "CONFIG_CHANGE",
253
- DEPLOYMENT: "DEPLOYMENT",
254
- INFRASTRUCTURE: "INFRASTRUCTURE",
255
- SCHEMA_CHANGE: "SCHEMA_CHANGE",
256
- SECURITY_CHANGE: "SECURITY_CHANGE",
257
- };
258
- export const InsightType = {
259
- PROACTIVE: "PROACTIVE",
260
- REACTIVE: "REACTIVE",
261
- };
262
- export const ResourcePermission = {
263
- FULL_PERMISSION: "FULL_PERMISSION",
264
- MISSING_PERMISSION: "MISSING_PERMISSION",
265
- };
266
- export const ResourceTypeFilter = {
267
- CLOUDFRONT_DISTRIBUTION: "CLOUDFRONT_DISTRIBUTION",
268
- DYNAMODB_TABLE: "DYNAMODB_TABLE",
269
- EC2_NAT_GATEWAY: "EC2_NAT_GATEWAY",
270
- ECS_CLUSTER: "ECS_CLUSTER",
271
- ECS_SERVICE: "ECS_SERVICE",
272
- EKS_CLUSTER: "EKS_CLUSTER",
273
- ELASTICACHE_CACHE_CLUSTER: "ELASTICACHE_CACHE_CLUSTER",
274
- ELASTICSEARCH_DOMAIN: "ELASTICSEARCH_DOMAIN",
275
- ELASTIC_BEANSTALK_ENVIRONMENT: "ELASTIC_BEANSTALK_ENVIRONMENT",
276
- ELASTIC_LOAD_BALANCER_LOAD_BALANCER: "ELASTIC_LOAD_BALANCER_LOAD_BALANCER",
277
- ELASTIC_LOAD_BALANCING_V2_LOAD_BALANCER: "ELASTIC_LOAD_BALANCING_V2_LOAD_BALANCER",
278
- ELASTIC_LOAD_BALANCING_V2_TARGET_GROUP: "ELASTIC_LOAD_BALANCING_V2_TARGET_GROUP",
279
- KINESIS_STREAM: "KINESIS_STREAM",
280
- LAMBDA_FUNCTION: "LAMBDA_FUNCTION",
281
- LOG_GROUPS: "LOG_GROUPS",
282
- OPEN_SEARCH_SERVICE_DOMAIN: "OPEN_SEARCH_SERVICE_DOMAIN",
283
- RDS_DB_CLUSTER: "RDS_DB_CLUSTER",
284
- RDS_DB_INSTANCE: "RDS_DB_INSTANCE",
285
- REDSHIFT_CLUSTER: "REDSHIFT_CLUSTER",
286
- ROUTE53_HEALTH_CHECK: "ROUTE53_HEALTH_CHECK",
287
- ROUTE53_HOSTED_ZONE: "ROUTE53_HOSTED_ZONE",
288
- S3_BUCKET: "S3_BUCKET",
289
- SAGEMAKER_ENDPOINT: "SAGEMAKER_ENDPOINT",
290
- SNS_TOPIC: "SNS_TOPIC",
291
- SQS_QUEUE: "SQS_QUEUE",
292
- STEP_FUNCTIONS_ACTIVITY: "STEP_FUNCTIONS_ACTIVITY",
293
- STEP_FUNCTIONS_STATE_MACHINE: "STEP_FUNCTIONS_STATE_MACHINE",
294
- };
295
- export const Locale = {
296
- DE_DE: "DE_DE",
297
- EN_GB: "EN_GB",
298
- EN_US: "EN_US",
299
- ES_ES: "ES_ES",
300
- FR_FR: "FR_FR",
301
- IT_IT: "IT_IT",
302
- JA_JP: "JA_JP",
303
- KO_KR: "KO_KR",
304
- PT_BR: "PT_BR",
305
- ZH_CN: "ZH_CN",
306
- ZH_TW: "ZH_TW",
307
- };
308
- export const UpdateResourceCollectionAction = {
309
- ADD: "ADD",
310
- REMOVE: "REMOVE",
311
- };
1
+ export {};
@@ -378,7 +378,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.devopsguru";
378
378
  const n0 = "com.amazonaws.devopsguru";
379
379
  import { TypeRegistry } from "@smithy/core/schema";
380
380
  import { DevOpsGuruServiceException as __DevOpsGuruServiceException } from "../models/DevOpsGuruServiceException";
381
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
381
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
382
382
  export var AccessDeniedException = [
383
383
  -3,
384
384
  n0,
@@ -21,5 +21,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
21
21
  export type { DevOpsGuruExtensionConfiguration } from "./extensionConfiguration";
22
22
  export * from "./commands";
23
23
  export * from "./pagination";
24
- export * from "./models";
24
+ export * from "./models/enums";
25
+ export * from "./models/errors";
26
+ export type * from "./models/models_0";
25
27
  export { DevOpsGuruServiceException } from "./models/DevOpsGuruServiceException";