@aws-sdk/client-devops-guru 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.
@@ -0,0 +1,400 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const NotificationMessageType: {
6
+ readonly CLOSED_INSIGHT: "CLOSED_INSIGHT";
7
+ readonly NEW_ASSOCIATION: "NEW_ASSOCIATION";
8
+ readonly NEW_INSIGHT: "NEW_INSIGHT";
9
+ readonly NEW_RECOMMENDATION: "NEW_RECOMMENDATION";
10
+ readonly SEVERITY_UPGRADED: "SEVERITY_UPGRADED";
11
+ };
12
+ /**
13
+ * @public
14
+ */
15
+ export type NotificationMessageType = (typeof NotificationMessageType)[keyof typeof NotificationMessageType];
16
+ /**
17
+ * @public
18
+ * @enum
19
+ */
20
+ export declare const InsightSeverity: {
21
+ readonly HIGH: "HIGH";
22
+ readonly LOW: "LOW";
23
+ readonly MEDIUM: "MEDIUM";
24
+ };
25
+ /**
26
+ * @public
27
+ */
28
+ export type InsightSeverity = (typeof InsightSeverity)[keyof typeof InsightSeverity];
29
+ /**
30
+ * @public
31
+ * @enum
32
+ */
33
+ export declare const ValidationExceptionReason: {
34
+ readonly CANNOT_PARSE: "CANNOT_PARSE";
35
+ readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
36
+ readonly INVALID_PARAMETER_COMBINATION: "INVALID_PARAMETER_COMBINATION";
37
+ readonly OTHER: "OTHER";
38
+ readonly PARAMETER_INCONSISTENT_WITH_SERVICE_STATE: "PARAMETER_INCONSISTENT_WITH_SERVICE_STATE";
39
+ readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
40
+ };
41
+ /**
42
+ * @public
43
+ */
44
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
45
+ /**
46
+ * @public
47
+ * @enum
48
+ */
49
+ export declare const EventSourceOptInStatus: {
50
+ readonly DISABLED: "DISABLED";
51
+ readonly ENABLED: "ENABLED";
52
+ };
53
+ /**
54
+ * @public
55
+ */
56
+ export type EventSourceOptInStatus = (typeof EventSourceOptInStatus)[keyof typeof EventSourceOptInStatus];
57
+ /**
58
+ * @public
59
+ * @enum
60
+ */
61
+ export declare const LogAnomalyType: {
62
+ readonly BLOCK_FORMAT: "BLOCK_FORMAT";
63
+ readonly FORMAT: "FORMAT";
64
+ readonly HTTP_CODE: "HTTP_CODE";
65
+ readonly KEYWORD: "KEYWORD";
66
+ readonly KEYWORD_TOKEN: "KEYWORD_TOKEN";
67
+ readonly NEW_FIELD_NAME: "NEW_FIELD_NAME";
68
+ readonly NUMERICAL_NAN: "NUMERICAL_NAN";
69
+ readonly NUMERICAL_POINT: "NUMERICAL_POINT";
70
+ };
71
+ /**
72
+ * @public
73
+ */
74
+ export type LogAnomalyType = (typeof LogAnomalyType)[keyof typeof LogAnomalyType];
75
+ /**
76
+ * @public
77
+ * @enum
78
+ */
79
+ export declare const AnomalySeverity: {
80
+ readonly HIGH: "HIGH";
81
+ readonly LOW: "LOW";
82
+ readonly MEDIUM: "MEDIUM";
83
+ };
84
+ /**
85
+ * @public
86
+ */
87
+ export type AnomalySeverity = (typeof AnomalySeverity)[keyof typeof AnomalySeverity];
88
+ /**
89
+ * @public
90
+ * @enum
91
+ */
92
+ export declare const CloudWatchMetricDataStatusCode: {
93
+ readonly COMPLETE: "Complete";
94
+ readonly INTERNAL_ERROR: "InternalError";
95
+ readonly PARTIAL_DATA: "PartialData";
96
+ };
97
+ /**
98
+ * @public
99
+ */
100
+ export type CloudWatchMetricDataStatusCode = (typeof CloudWatchMetricDataStatusCode)[keyof typeof CloudWatchMetricDataStatusCode];
101
+ /**
102
+ * @public
103
+ * @enum
104
+ */
105
+ export declare const CloudWatchMetricsStat: {
106
+ readonly AVERAGE: "Average";
107
+ readonly MAXIMUM: "Maximum";
108
+ readonly MINIMUM: "Minimum";
109
+ readonly P50: "p50";
110
+ readonly P90: "p90";
111
+ readonly P99: "p99";
112
+ readonly SAMPLE_COUNT: "SampleCount";
113
+ readonly SUM: "Sum";
114
+ };
115
+ /**
116
+ * @public
117
+ */
118
+ export type CloudWatchMetricsStat = (typeof CloudWatchMetricsStat)[keyof typeof CloudWatchMetricsStat];
119
+ /**
120
+ * @public
121
+ * @enum
122
+ */
123
+ export declare const AnomalyStatus: {
124
+ readonly CLOSED: "CLOSED";
125
+ readonly ONGOING: "ONGOING";
126
+ };
127
+ /**
128
+ * @public
129
+ */
130
+ export type AnomalyStatus = (typeof AnomalyStatus)[keyof typeof AnomalyStatus];
131
+ /**
132
+ * @public
133
+ * @enum
134
+ */
135
+ export declare const AnomalyType: {
136
+ readonly CAUSAL: "CAUSAL";
137
+ readonly CONTEXTUAL: "CONTEXTUAL";
138
+ };
139
+ /**
140
+ * @public
141
+ */
142
+ export type AnomalyType = (typeof AnomalyType)[keyof typeof AnomalyType];
143
+ /**
144
+ * @public
145
+ * @enum
146
+ */
147
+ export declare const InsightFeedbackOption: {
148
+ readonly ALERT_TOO_SENSITIVE: "ALERT_TOO_SENSITIVE";
149
+ readonly DATA_INCORRECT: "DATA_INCORRECT";
150
+ readonly DATA_NOISY_ANOMALY: "DATA_NOISY_ANOMALY";
151
+ readonly RECOMMENDATION_USEFUL: "RECOMMENDATION_USEFUL";
152
+ readonly VALID_COLLECTION: "VALID_COLLECTION";
153
+ };
154
+ /**
155
+ * @public
156
+ */
157
+ export type InsightFeedbackOption = (typeof InsightFeedbackOption)[keyof typeof InsightFeedbackOption];
158
+ /**
159
+ * @public
160
+ * @enum
161
+ */
162
+ export declare const InsightStatus: {
163
+ readonly CLOSED: "CLOSED";
164
+ readonly ONGOING: "ONGOING";
165
+ };
166
+ /**
167
+ * @public
168
+ */
169
+ export type InsightStatus = (typeof InsightStatus)[keyof typeof InsightStatus];
170
+ /**
171
+ * @public
172
+ * @enum
173
+ */
174
+ export declare const OrganizationResourceCollectionType: {
175
+ readonly AWS_ACCOUNT: "AWS_ACCOUNT";
176
+ readonly AWS_CLOUD_FORMATION: "AWS_CLOUD_FORMATION";
177
+ readonly AWS_SERVICE: "AWS_SERVICE";
178
+ readonly AWS_TAGS: "AWS_TAGS";
179
+ };
180
+ /**
181
+ * @public
182
+ */
183
+ export type OrganizationResourceCollectionType = (typeof OrganizationResourceCollectionType)[keyof typeof OrganizationResourceCollectionType];
184
+ /**
185
+ * @public
186
+ * @enum
187
+ */
188
+ export declare const ServiceName: {
189
+ readonly API_GATEWAY: "API_GATEWAY";
190
+ readonly APPLICATION_ELB: "APPLICATION_ELB";
191
+ readonly AUTO_SCALING_GROUP: "AUTO_SCALING_GROUP";
192
+ readonly CLOUD_FRONT: "CLOUD_FRONT";
193
+ readonly DYNAMO_DB: "DYNAMO_DB";
194
+ readonly EC2: "EC2";
195
+ readonly ECS: "ECS";
196
+ readonly EKS: "EKS";
197
+ readonly ELASTIC_BEANSTALK: "ELASTIC_BEANSTALK";
198
+ readonly ELASTI_CACHE: "ELASTI_CACHE";
199
+ readonly ELB: "ELB";
200
+ readonly ES: "ES";
201
+ readonly KINESIS: "KINESIS";
202
+ readonly LAMBDA: "LAMBDA";
203
+ readonly NAT_GATEWAY: "NAT_GATEWAY";
204
+ readonly NETWORK_ELB: "NETWORK_ELB";
205
+ readonly RDS: "RDS";
206
+ readonly REDSHIFT: "REDSHIFT";
207
+ readonly ROUTE_53: "ROUTE_53";
208
+ readonly S3: "S3";
209
+ readonly SAGE_MAKER: "SAGE_MAKER";
210
+ readonly SNS: "SNS";
211
+ readonly SQS: "SQS";
212
+ readonly STEP_FUNCTIONS: "STEP_FUNCTIONS";
213
+ readonly SWF: "SWF";
214
+ };
215
+ /**
216
+ * @public
217
+ */
218
+ export type ServiceName = (typeof ServiceName)[keyof typeof ServiceName];
219
+ /**
220
+ * @public
221
+ * @enum
222
+ */
223
+ export declare const ResourceCollectionType: {
224
+ readonly AWS_CLOUD_FORMATION: "AWS_CLOUD_FORMATION";
225
+ readonly AWS_SERVICE: "AWS_SERVICE";
226
+ readonly AWS_TAGS: "AWS_TAGS";
227
+ };
228
+ /**
229
+ * @public
230
+ */
231
+ export type ResourceCollectionType = (typeof ResourceCollectionType)[keyof typeof ResourceCollectionType];
232
+ /**
233
+ * @public
234
+ * @enum
235
+ */
236
+ export declare const OptInStatus: {
237
+ readonly DISABLED: "DISABLED";
238
+ readonly ENABLED: "ENABLED";
239
+ };
240
+ /**
241
+ * @public
242
+ */
243
+ export type OptInStatus = (typeof OptInStatus)[keyof typeof OptInStatus];
244
+ /**
245
+ * @public
246
+ * @enum
247
+ */
248
+ export declare const ServerSideEncryptionType: {
249
+ readonly AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY";
250
+ readonly CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY";
251
+ };
252
+ /**
253
+ * @public
254
+ */
255
+ export type ServerSideEncryptionType = (typeof ServerSideEncryptionType)[keyof typeof ServerSideEncryptionType];
256
+ /**
257
+ * @public
258
+ * @enum
259
+ */
260
+ export declare const CostEstimationServiceResourceState: {
261
+ readonly ACTIVE: "ACTIVE";
262
+ readonly INACTIVE: "INACTIVE";
263
+ };
264
+ /**
265
+ * @public
266
+ */
267
+ export type CostEstimationServiceResourceState = (typeof CostEstimationServiceResourceState)[keyof typeof CostEstimationServiceResourceState];
268
+ /**
269
+ * @public
270
+ * @enum
271
+ */
272
+ export declare const CostEstimationStatus: {
273
+ readonly COMPLETED: "COMPLETED";
274
+ readonly ONGOING: "ONGOING";
275
+ };
276
+ /**
277
+ * @public
278
+ */
279
+ export type CostEstimationStatus = (typeof CostEstimationStatus)[keyof typeof CostEstimationStatus];
280
+ /**
281
+ * @public
282
+ * @enum
283
+ */
284
+ export declare const EventDataSource: {
285
+ readonly AWS_CLOUD_TRAIL: "AWS_CLOUD_TRAIL";
286
+ readonly AWS_CODE_DEPLOY: "AWS_CODE_DEPLOY";
287
+ };
288
+ /**
289
+ * @public
290
+ */
291
+ export type EventDataSource = (typeof EventDataSource)[keyof typeof EventDataSource];
292
+ /**
293
+ * @public
294
+ * @enum
295
+ */
296
+ export declare const EventClass: {
297
+ readonly CONFIG_CHANGE: "CONFIG_CHANGE";
298
+ readonly DEPLOYMENT: "DEPLOYMENT";
299
+ readonly INFRASTRUCTURE: "INFRASTRUCTURE";
300
+ readonly SCHEMA_CHANGE: "SCHEMA_CHANGE";
301
+ readonly SECURITY_CHANGE: "SECURITY_CHANGE";
302
+ };
303
+ /**
304
+ * @public
305
+ */
306
+ export type EventClass = (typeof EventClass)[keyof typeof EventClass];
307
+ /**
308
+ * @public
309
+ * @enum
310
+ */
311
+ export declare const InsightType: {
312
+ readonly PROACTIVE: "PROACTIVE";
313
+ readonly REACTIVE: "REACTIVE";
314
+ };
315
+ /**
316
+ * @public
317
+ */
318
+ export type InsightType = (typeof InsightType)[keyof typeof InsightType];
319
+ /**
320
+ * @public
321
+ * @enum
322
+ */
323
+ export declare const ResourcePermission: {
324
+ readonly FULL_PERMISSION: "FULL_PERMISSION";
325
+ readonly MISSING_PERMISSION: "MISSING_PERMISSION";
326
+ };
327
+ /**
328
+ * @public
329
+ */
330
+ export type ResourcePermission = (typeof ResourcePermission)[keyof typeof ResourcePermission];
331
+ /**
332
+ * @public
333
+ * @enum
334
+ */
335
+ export declare const ResourceTypeFilter: {
336
+ readonly CLOUDFRONT_DISTRIBUTION: "CLOUDFRONT_DISTRIBUTION";
337
+ readonly DYNAMODB_TABLE: "DYNAMODB_TABLE";
338
+ readonly EC2_NAT_GATEWAY: "EC2_NAT_GATEWAY";
339
+ readonly ECS_CLUSTER: "ECS_CLUSTER";
340
+ readonly ECS_SERVICE: "ECS_SERVICE";
341
+ readonly EKS_CLUSTER: "EKS_CLUSTER";
342
+ readonly ELASTICACHE_CACHE_CLUSTER: "ELASTICACHE_CACHE_CLUSTER";
343
+ readonly ELASTICSEARCH_DOMAIN: "ELASTICSEARCH_DOMAIN";
344
+ readonly ELASTIC_BEANSTALK_ENVIRONMENT: "ELASTIC_BEANSTALK_ENVIRONMENT";
345
+ readonly ELASTIC_LOAD_BALANCER_LOAD_BALANCER: "ELASTIC_LOAD_BALANCER_LOAD_BALANCER";
346
+ readonly ELASTIC_LOAD_BALANCING_V2_LOAD_BALANCER: "ELASTIC_LOAD_BALANCING_V2_LOAD_BALANCER";
347
+ readonly ELASTIC_LOAD_BALANCING_V2_TARGET_GROUP: "ELASTIC_LOAD_BALANCING_V2_TARGET_GROUP";
348
+ readonly KINESIS_STREAM: "KINESIS_STREAM";
349
+ readonly LAMBDA_FUNCTION: "LAMBDA_FUNCTION";
350
+ readonly LOG_GROUPS: "LOG_GROUPS";
351
+ readonly OPEN_SEARCH_SERVICE_DOMAIN: "OPEN_SEARCH_SERVICE_DOMAIN";
352
+ readonly RDS_DB_CLUSTER: "RDS_DB_CLUSTER";
353
+ readonly RDS_DB_INSTANCE: "RDS_DB_INSTANCE";
354
+ readonly REDSHIFT_CLUSTER: "REDSHIFT_CLUSTER";
355
+ readonly ROUTE53_HEALTH_CHECK: "ROUTE53_HEALTH_CHECK";
356
+ readonly ROUTE53_HOSTED_ZONE: "ROUTE53_HOSTED_ZONE";
357
+ readonly S3_BUCKET: "S3_BUCKET";
358
+ readonly SAGEMAKER_ENDPOINT: "SAGEMAKER_ENDPOINT";
359
+ readonly SNS_TOPIC: "SNS_TOPIC";
360
+ readonly SQS_QUEUE: "SQS_QUEUE";
361
+ readonly STEP_FUNCTIONS_ACTIVITY: "STEP_FUNCTIONS_ACTIVITY";
362
+ readonly STEP_FUNCTIONS_STATE_MACHINE: "STEP_FUNCTIONS_STATE_MACHINE";
363
+ };
364
+ /**
365
+ * @public
366
+ */
367
+ export type ResourceTypeFilter = (typeof ResourceTypeFilter)[keyof typeof ResourceTypeFilter];
368
+ /**
369
+ * @public
370
+ * @enum
371
+ */
372
+ export declare const Locale: {
373
+ readonly DE_DE: "DE_DE";
374
+ readonly EN_GB: "EN_GB";
375
+ readonly EN_US: "EN_US";
376
+ readonly ES_ES: "ES_ES";
377
+ readonly FR_FR: "FR_FR";
378
+ readonly IT_IT: "IT_IT";
379
+ readonly JA_JP: "JA_JP";
380
+ readonly KO_KR: "KO_KR";
381
+ readonly PT_BR: "PT_BR";
382
+ readonly ZH_CN: "ZH_CN";
383
+ readonly ZH_TW: "ZH_TW";
384
+ };
385
+ /**
386
+ * @public
387
+ */
388
+ export type Locale = (typeof Locale)[keyof typeof Locale];
389
+ /**
390
+ * @public
391
+ * @enum
392
+ */
393
+ export declare const UpdateResourceCollectionAction: {
394
+ readonly ADD: "ADD";
395
+ readonly REMOVE: "REMOVE";
396
+ };
397
+ /**
398
+ * @public
399
+ */
400
+ export type UpdateResourceCollectionAction = (typeof UpdateResourceCollectionAction)[keyof typeof UpdateResourceCollectionAction];
@@ -0,0 +1,155 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { DevOpsGuruServiceException as __BaseException } from "./DevOpsGuruServiceException";
3
+ import { ValidationExceptionReason } from "./enums";
4
+ import { ValidationExceptionField } from "./models_0";
5
+ /**
6
+ * <p> You don't have permissions to perform the requested operation. The user or role that
7
+ * is making the request must have at least one IAM permissions policy attached that grants
8
+ * the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access Management</a> in the
9
+ * <i>IAM User Guide</i>. </p>
10
+ * @public
11
+ */
12
+ export declare class AccessDeniedException extends __BaseException {
13
+ readonly name: "AccessDeniedException";
14
+ readonly $fault: "client";
15
+ Message: string | undefined;
16
+ /**
17
+ * @internal
18
+ */
19
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
20
+ }
21
+ /**
22
+ * <p> An exception that is thrown when a conflict occurs. </p>
23
+ * @public
24
+ */
25
+ export declare class ConflictException extends __BaseException {
26
+ readonly name: "ConflictException";
27
+ readonly $fault: "client";
28
+ Message: string | undefined;
29
+ /**
30
+ * <p> The ID of the Amazon Web Services resource in which a conflict occurred. </p>
31
+ * @public
32
+ */
33
+ ResourceId: string | undefined;
34
+ /**
35
+ * <p> The type of the Amazon Web Services resource in which a conflict occurred. </p>
36
+ * @public
37
+ */
38
+ ResourceType: string | undefined;
39
+ /**
40
+ * @internal
41
+ */
42
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
43
+ }
44
+ /**
45
+ * <p>An internal failure in an Amazon service occurred.</p>
46
+ * @public
47
+ */
48
+ export declare class InternalServerException extends __BaseException {
49
+ readonly name: "InternalServerException";
50
+ readonly $fault: "server";
51
+ Message: string | undefined;
52
+ /**
53
+ * <p> The number of seconds after which the action that caused the internal server
54
+ * exception can be retried. </p>
55
+ * @public
56
+ */
57
+ RetryAfterSeconds?: number | undefined;
58
+ /**
59
+ * @internal
60
+ */
61
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
62
+ }
63
+ /**
64
+ * <p>A requested resource could not be found</p>
65
+ * @public
66
+ */
67
+ export declare class ResourceNotFoundException extends __BaseException {
68
+ readonly name: "ResourceNotFoundException";
69
+ readonly $fault: "client";
70
+ Message: string | undefined;
71
+ /**
72
+ * <p> The ID of the Amazon Web Services resource that could not be found. </p>
73
+ * @public
74
+ */
75
+ ResourceId: string | undefined;
76
+ /**
77
+ * <p> The type of the Amazon Web Services resource that could not be found. </p>
78
+ * @public
79
+ */
80
+ ResourceType: string | undefined;
81
+ /**
82
+ * @internal
83
+ */
84
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
85
+ }
86
+ /**
87
+ * <p>The request contains a value that exceeds a maximum quota.</p>
88
+ * @public
89
+ */
90
+ export declare class ServiceQuotaExceededException extends __BaseException {
91
+ readonly name: "ServiceQuotaExceededException";
92
+ readonly $fault: "client";
93
+ Message?: string | undefined;
94
+ /**
95
+ * @internal
96
+ */
97
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
98
+ }
99
+ /**
100
+ * <p>The request was denied due to a request throttling.</p>
101
+ * @public
102
+ */
103
+ export declare class ThrottlingException extends __BaseException {
104
+ readonly name: "ThrottlingException";
105
+ readonly $fault: "client";
106
+ Message: string | undefined;
107
+ /**
108
+ * <p> The code of the quota that was exceeded, causing the throttling exception. </p>
109
+ * @public
110
+ */
111
+ QuotaCode?: string | undefined;
112
+ /**
113
+ * <p> The code of the service that caused the throttling exception. </p>
114
+ * @public
115
+ */
116
+ ServiceCode?: string | undefined;
117
+ /**
118
+ * <p> The number of seconds after which the action that caused the throttling exception can
119
+ * be retried. </p>
120
+ * @public
121
+ */
122
+ RetryAfterSeconds?: number | undefined;
123
+ /**
124
+ * @internal
125
+ */
126
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
127
+ }
128
+ /**
129
+ * <p> Contains information about data passed in to a field during a request that is not
130
+ * valid. </p>
131
+ * @public
132
+ */
133
+ export declare class ValidationException extends __BaseException {
134
+ readonly name: "ValidationException";
135
+ readonly $fault: "client";
136
+ /**
137
+ * <p> A message that describes the validation exception. </p>
138
+ * @public
139
+ */
140
+ Message: string | undefined;
141
+ /**
142
+ * <p> The reason the validation exception was thrown. </p>
143
+ * @public
144
+ */
145
+ Reason?: ValidationExceptionReason | undefined;
146
+ /**
147
+ * <p> An array of fields that are associated with the validation exception. </p>
148
+ * @public
149
+ */
150
+ Fields?: ValidationExceptionField[] | undefined;
151
+ /**
152
+ * @internal
153
+ */
154
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
155
+ }