@aws-sdk/client-observabilityadmin 3.934.0 → 3.936.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 +55 -54
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +54 -0
- package/dist-es/models/errors.js +105 -0
- package/dist-es/models/models_0.js +1 -159
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +142 -0
- package/dist-types/models/errors.d.ts +108 -0
- package/dist-types/models/models_0.d.ts +1 -250
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +72 -0
- package/dist-types/ts3.4/models/errors.d.ts +59 -0
- package/dist-types/ts3.4/models/models_0.d.ts +13 -131
- package/package.json +19 -19
- 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
package/dist-cjs/index.js
CHANGED
|
@@ -133,28 +133,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends ObservabilityA
|
|
|
133
133
|
this.amznErrorType = opts.amznErrorType;
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
|
-
const CentralizationFailureReason = {
|
|
137
|
-
DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION: "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION",
|
|
138
|
-
INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
|
|
139
|
-
TRUSTED_ACCESS_NOT_ENABLED: "TRUSTED_ACCESS_NOT_ENABLED",
|
|
140
|
-
};
|
|
141
|
-
const EncryptionConflictResolutionStrategy = {
|
|
142
|
-
ALLOW: "ALLOW",
|
|
143
|
-
SKIP: "SKIP",
|
|
144
|
-
};
|
|
145
|
-
const EncryptionStrategy = {
|
|
146
|
-
AWS_OWNED: "AWS_OWNED",
|
|
147
|
-
CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
|
|
148
|
-
};
|
|
149
|
-
const EncryptedLogGroupStrategy = {
|
|
150
|
-
ALLOW: "ALLOW",
|
|
151
|
-
SKIP: "SKIP",
|
|
152
|
-
};
|
|
153
|
-
const RuleHealth = {
|
|
154
|
-
HEALTHY: "Healthy",
|
|
155
|
-
PROVISIONING: "Provisioning",
|
|
156
|
-
UNHEALTHY: "Unhealthy",
|
|
157
|
-
};
|
|
158
136
|
let ConflictException$1 = class ConflictException extends ObservabilityAdminServiceException$1 {
|
|
159
137
|
name = "ConflictException";
|
|
160
138
|
$fault = "client";
|
|
@@ -229,19 +207,6 @@ let ValidationException$1 = class ValidationException extends ObservabilityAdmin
|
|
|
229
207
|
this.Message = opts.Message;
|
|
230
208
|
}
|
|
231
209
|
};
|
|
232
|
-
const DestinationType = {
|
|
233
|
-
CLOUDWATCH_LOGS: "cloud-watch-logs",
|
|
234
|
-
};
|
|
235
|
-
const ResourceType = {
|
|
236
|
-
AWS_EC2_INSTANCE: "AWS::EC2::Instance",
|
|
237
|
-
AWS_EC2_VPC: "AWS::EC2::VPC",
|
|
238
|
-
AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function",
|
|
239
|
-
};
|
|
240
|
-
const TelemetryType = {
|
|
241
|
-
LOGS: "Logs",
|
|
242
|
-
METRICS: "Metrics",
|
|
243
|
-
TRACES: "Traces",
|
|
244
|
-
};
|
|
245
210
|
let ResourceNotFoundException$1 = class ResourceNotFoundException extends ObservabilityAdminServiceException$1 {
|
|
246
211
|
name = "ResourceNotFoundException";
|
|
247
212
|
$fault = "client";
|
|
@@ -256,25 +221,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Observ
|
|
|
256
221
|
this.Message = opts.Message;
|
|
257
222
|
}
|
|
258
223
|
};
|
|
259
|
-
const TelemetryEnrichmentStatus = {
|
|
260
|
-
IMPAIRED: "Impaired",
|
|
261
|
-
RUNNING: "Running",
|
|
262
|
-
STOPPED: "Stopped",
|
|
263
|
-
};
|
|
264
|
-
const Status = {
|
|
265
|
-
FAILED_START: "FAILED_START",
|
|
266
|
-
FAILED_STOP: "FAILED_STOP",
|
|
267
|
-
NOT_STARTED: "NOT_STARTED",
|
|
268
|
-
RUNNING: "RUNNING",
|
|
269
|
-
STARTING: "STARTING",
|
|
270
|
-
STOPPED: "STOPPED",
|
|
271
|
-
STOPPING: "STOPPING",
|
|
272
|
-
};
|
|
273
|
-
const TelemetryState = {
|
|
274
|
-
DISABLED: "Disabled",
|
|
275
|
-
ENABLED: "Enabled",
|
|
276
|
-
NOT_APPLICABLE: "NotApplicable",
|
|
277
|
-
};
|
|
278
224
|
|
|
279
225
|
const _A = "Account";
|
|
280
226
|
const _ADE = "AccessDeniedException";
|
|
@@ -1478,6 +1424,61 @@ const paginateListTelemetryRulesForOrganization = core.createPaginator(Observabi
|
|
|
1478
1424
|
|
|
1479
1425
|
const paginateListTelemetryRules = core.createPaginator(ObservabilityAdminClient, ListTelemetryRulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1480
1426
|
|
|
1427
|
+
const CentralizationFailureReason = {
|
|
1428
|
+
DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION: "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION",
|
|
1429
|
+
INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
|
|
1430
|
+
TRUSTED_ACCESS_NOT_ENABLED: "TRUSTED_ACCESS_NOT_ENABLED",
|
|
1431
|
+
};
|
|
1432
|
+
const EncryptionConflictResolutionStrategy = {
|
|
1433
|
+
ALLOW: "ALLOW",
|
|
1434
|
+
SKIP: "SKIP",
|
|
1435
|
+
};
|
|
1436
|
+
const EncryptionStrategy = {
|
|
1437
|
+
AWS_OWNED: "AWS_OWNED",
|
|
1438
|
+
CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
|
|
1439
|
+
};
|
|
1440
|
+
const EncryptedLogGroupStrategy = {
|
|
1441
|
+
ALLOW: "ALLOW",
|
|
1442
|
+
SKIP: "SKIP",
|
|
1443
|
+
};
|
|
1444
|
+
const RuleHealth = {
|
|
1445
|
+
HEALTHY: "Healthy",
|
|
1446
|
+
PROVISIONING: "Provisioning",
|
|
1447
|
+
UNHEALTHY: "Unhealthy",
|
|
1448
|
+
};
|
|
1449
|
+
const DestinationType = {
|
|
1450
|
+
CLOUDWATCH_LOGS: "cloud-watch-logs",
|
|
1451
|
+
};
|
|
1452
|
+
const ResourceType = {
|
|
1453
|
+
AWS_EC2_INSTANCE: "AWS::EC2::Instance",
|
|
1454
|
+
AWS_EC2_VPC: "AWS::EC2::VPC",
|
|
1455
|
+
AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function",
|
|
1456
|
+
};
|
|
1457
|
+
const TelemetryType = {
|
|
1458
|
+
LOGS: "Logs",
|
|
1459
|
+
METRICS: "Metrics",
|
|
1460
|
+
TRACES: "Traces",
|
|
1461
|
+
};
|
|
1462
|
+
const TelemetryEnrichmentStatus = {
|
|
1463
|
+
IMPAIRED: "Impaired",
|
|
1464
|
+
RUNNING: "Running",
|
|
1465
|
+
STOPPED: "Stopped",
|
|
1466
|
+
};
|
|
1467
|
+
const Status = {
|
|
1468
|
+
FAILED_START: "FAILED_START",
|
|
1469
|
+
FAILED_STOP: "FAILED_STOP",
|
|
1470
|
+
NOT_STARTED: "NOT_STARTED",
|
|
1471
|
+
RUNNING: "RUNNING",
|
|
1472
|
+
STARTING: "STARTING",
|
|
1473
|
+
STOPPED: "STOPPED",
|
|
1474
|
+
STOPPING: "STOPPING",
|
|
1475
|
+
};
|
|
1476
|
+
const TelemetryState = {
|
|
1477
|
+
DISABLED: "Disabled",
|
|
1478
|
+
ENABLED: "Enabled",
|
|
1479
|
+
NOT_APPLICABLE: "NotApplicable",
|
|
1480
|
+
};
|
|
1481
|
+
|
|
1481
1482
|
Object.defineProperty(exports, "$Command", {
|
|
1482
1483
|
enumerable: true,
|
|
1483
1484
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./ObservabilityAdminClient";
|
|
|
2
2
|
export * from "./ObservabilityAdmin";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { ObservabilityAdminServiceException } from "./models/ObservabilityAdminServiceException";
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export const CentralizationFailureReason = {
|
|
2
|
+
DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION: "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION",
|
|
3
|
+
INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
|
|
4
|
+
TRUSTED_ACCESS_NOT_ENABLED: "TRUSTED_ACCESS_NOT_ENABLED",
|
|
5
|
+
};
|
|
6
|
+
export const EncryptionConflictResolutionStrategy = {
|
|
7
|
+
ALLOW: "ALLOW",
|
|
8
|
+
SKIP: "SKIP",
|
|
9
|
+
};
|
|
10
|
+
export const EncryptionStrategy = {
|
|
11
|
+
AWS_OWNED: "AWS_OWNED",
|
|
12
|
+
CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
|
|
13
|
+
};
|
|
14
|
+
export const EncryptedLogGroupStrategy = {
|
|
15
|
+
ALLOW: "ALLOW",
|
|
16
|
+
SKIP: "SKIP",
|
|
17
|
+
};
|
|
18
|
+
export const RuleHealth = {
|
|
19
|
+
HEALTHY: "Healthy",
|
|
20
|
+
PROVISIONING: "Provisioning",
|
|
21
|
+
UNHEALTHY: "Unhealthy",
|
|
22
|
+
};
|
|
23
|
+
export const DestinationType = {
|
|
24
|
+
CLOUDWATCH_LOGS: "cloud-watch-logs",
|
|
25
|
+
};
|
|
26
|
+
export const ResourceType = {
|
|
27
|
+
AWS_EC2_INSTANCE: "AWS::EC2::Instance",
|
|
28
|
+
AWS_EC2_VPC: "AWS::EC2::VPC",
|
|
29
|
+
AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function",
|
|
30
|
+
};
|
|
31
|
+
export const TelemetryType = {
|
|
32
|
+
LOGS: "Logs",
|
|
33
|
+
METRICS: "Metrics",
|
|
34
|
+
TRACES: "Traces",
|
|
35
|
+
};
|
|
36
|
+
export const TelemetryEnrichmentStatus = {
|
|
37
|
+
IMPAIRED: "Impaired",
|
|
38
|
+
RUNNING: "Running",
|
|
39
|
+
STOPPED: "Stopped",
|
|
40
|
+
};
|
|
41
|
+
export const Status = {
|
|
42
|
+
FAILED_START: "FAILED_START",
|
|
43
|
+
FAILED_STOP: "FAILED_STOP",
|
|
44
|
+
NOT_STARTED: "NOT_STARTED",
|
|
45
|
+
RUNNING: "RUNNING",
|
|
46
|
+
STARTING: "STARTING",
|
|
47
|
+
STOPPED: "STOPPED",
|
|
48
|
+
STOPPING: "STOPPING",
|
|
49
|
+
};
|
|
50
|
+
export const TelemetryState = {
|
|
51
|
+
DISABLED: "Disabled",
|
|
52
|
+
ENABLED: "Enabled",
|
|
53
|
+
NOT_APPLICABLE: "NotApplicable",
|
|
54
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { ObservabilityAdminServiceException as __BaseException } from "./ObservabilityAdminServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
amznErrorType;
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "AccessDeniedException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
14
|
+
this.Message = opts.Message;
|
|
15
|
+
this.amznErrorType = opts.amznErrorType;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export class ConflictException extends __BaseException {
|
|
19
|
+
name = "ConflictException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
Message;
|
|
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
|
+
}
|
|
31
|
+
}
|
|
32
|
+
export class InternalServerException extends __BaseException {
|
|
33
|
+
name = "InternalServerException";
|
|
34
|
+
$fault = "server";
|
|
35
|
+
Message;
|
|
36
|
+
amznErrorType;
|
|
37
|
+
constructor(opts) {
|
|
38
|
+
super({
|
|
39
|
+
name: "InternalServerException",
|
|
40
|
+
$fault: "server",
|
|
41
|
+
...opts,
|
|
42
|
+
});
|
|
43
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
44
|
+
this.Message = opts.Message;
|
|
45
|
+
this.amznErrorType = opts.amznErrorType;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
49
|
+
name = "ServiceQuotaExceededException";
|
|
50
|
+
$fault = "client";
|
|
51
|
+
Message;
|
|
52
|
+
amznErrorType;
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "ServiceQuotaExceededException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
60
|
+
this.Message = opts.Message;
|
|
61
|
+
this.amznErrorType = opts.amznErrorType;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
export class TooManyRequestsException extends __BaseException {
|
|
65
|
+
name = "TooManyRequestsException";
|
|
66
|
+
$fault = "client";
|
|
67
|
+
Message;
|
|
68
|
+
constructor(opts) {
|
|
69
|
+
super({
|
|
70
|
+
name: "TooManyRequestsException",
|
|
71
|
+
$fault: "client",
|
|
72
|
+
...opts,
|
|
73
|
+
});
|
|
74
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
75
|
+
this.Message = opts.Message;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
export class ValidationException extends __BaseException {
|
|
79
|
+
name = "ValidationException";
|
|
80
|
+
$fault = "client";
|
|
81
|
+
Message;
|
|
82
|
+
constructor(opts) {
|
|
83
|
+
super({
|
|
84
|
+
name: "ValidationException",
|
|
85
|
+
$fault: "client",
|
|
86
|
+
...opts,
|
|
87
|
+
});
|
|
88
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
89
|
+
this.Message = opts.Message;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
93
|
+
name = "ResourceNotFoundException";
|
|
94
|
+
$fault = "client";
|
|
95
|
+
Message;
|
|
96
|
+
constructor(opts) {
|
|
97
|
+
super({
|
|
98
|
+
name: "ResourceNotFoundException",
|
|
99
|
+
$fault: "client",
|
|
100
|
+
...opts,
|
|
101
|
+
});
|
|
102
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
103
|
+
this.Message = opts.Message;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -1,159 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
amznErrorType;
|
|
7
|
-
constructor(opts) {
|
|
8
|
-
super({
|
|
9
|
-
name: "AccessDeniedException",
|
|
10
|
-
$fault: "client",
|
|
11
|
-
...opts,
|
|
12
|
-
});
|
|
13
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
14
|
-
this.Message = opts.Message;
|
|
15
|
-
this.amznErrorType = opts.amznErrorType;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export const CentralizationFailureReason = {
|
|
19
|
-
DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION: "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION",
|
|
20
|
-
INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
|
|
21
|
-
TRUSTED_ACCESS_NOT_ENABLED: "TRUSTED_ACCESS_NOT_ENABLED",
|
|
22
|
-
};
|
|
23
|
-
export const EncryptionConflictResolutionStrategy = {
|
|
24
|
-
ALLOW: "ALLOW",
|
|
25
|
-
SKIP: "SKIP",
|
|
26
|
-
};
|
|
27
|
-
export const EncryptionStrategy = {
|
|
28
|
-
AWS_OWNED: "AWS_OWNED",
|
|
29
|
-
CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
|
|
30
|
-
};
|
|
31
|
-
export const EncryptedLogGroupStrategy = {
|
|
32
|
-
ALLOW: "ALLOW",
|
|
33
|
-
SKIP: "SKIP",
|
|
34
|
-
};
|
|
35
|
-
export const RuleHealth = {
|
|
36
|
-
HEALTHY: "Healthy",
|
|
37
|
-
PROVISIONING: "Provisioning",
|
|
38
|
-
UNHEALTHY: "Unhealthy",
|
|
39
|
-
};
|
|
40
|
-
export class ConflictException extends __BaseException {
|
|
41
|
-
name = "ConflictException";
|
|
42
|
-
$fault = "client";
|
|
43
|
-
Message;
|
|
44
|
-
constructor(opts) {
|
|
45
|
-
super({
|
|
46
|
-
name: "ConflictException",
|
|
47
|
-
$fault: "client",
|
|
48
|
-
...opts,
|
|
49
|
-
});
|
|
50
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
51
|
-
this.Message = opts.Message;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
export class InternalServerException extends __BaseException {
|
|
55
|
-
name = "InternalServerException";
|
|
56
|
-
$fault = "server";
|
|
57
|
-
Message;
|
|
58
|
-
amznErrorType;
|
|
59
|
-
constructor(opts) {
|
|
60
|
-
super({
|
|
61
|
-
name: "InternalServerException",
|
|
62
|
-
$fault: "server",
|
|
63
|
-
...opts,
|
|
64
|
-
});
|
|
65
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
66
|
-
this.Message = opts.Message;
|
|
67
|
-
this.amznErrorType = opts.amznErrorType;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
71
|
-
name = "ServiceQuotaExceededException";
|
|
72
|
-
$fault = "client";
|
|
73
|
-
Message;
|
|
74
|
-
amznErrorType;
|
|
75
|
-
constructor(opts) {
|
|
76
|
-
super({
|
|
77
|
-
name: "ServiceQuotaExceededException",
|
|
78
|
-
$fault: "client",
|
|
79
|
-
...opts,
|
|
80
|
-
});
|
|
81
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
82
|
-
this.Message = opts.Message;
|
|
83
|
-
this.amznErrorType = opts.amznErrorType;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
export class TooManyRequestsException extends __BaseException {
|
|
87
|
-
name = "TooManyRequestsException";
|
|
88
|
-
$fault = "client";
|
|
89
|
-
Message;
|
|
90
|
-
constructor(opts) {
|
|
91
|
-
super({
|
|
92
|
-
name: "TooManyRequestsException",
|
|
93
|
-
$fault: "client",
|
|
94
|
-
...opts,
|
|
95
|
-
});
|
|
96
|
-
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
97
|
-
this.Message = opts.Message;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
export class ValidationException extends __BaseException {
|
|
101
|
-
name = "ValidationException";
|
|
102
|
-
$fault = "client";
|
|
103
|
-
Message;
|
|
104
|
-
constructor(opts) {
|
|
105
|
-
super({
|
|
106
|
-
name: "ValidationException",
|
|
107
|
-
$fault: "client",
|
|
108
|
-
...opts,
|
|
109
|
-
});
|
|
110
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
111
|
-
this.Message = opts.Message;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
export const DestinationType = {
|
|
115
|
-
CLOUDWATCH_LOGS: "cloud-watch-logs",
|
|
116
|
-
};
|
|
117
|
-
export const ResourceType = {
|
|
118
|
-
AWS_EC2_INSTANCE: "AWS::EC2::Instance",
|
|
119
|
-
AWS_EC2_VPC: "AWS::EC2::VPC",
|
|
120
|
-
AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function",
|
|
121
|
-
};
|
|
122
|
-
export const TelemetryType = {
|
|
123
|
-
LOGS: "Logs",
|
|
124
|
-
METRICS: "Metrics",
|
|
125
|
-
TRACES: "Traces",
|
|
126
|
-
};
|
|
127
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
128
|
-
name = "ResourceNotFoundException";
|
|
129
|
-
$fault = "client";
|
|
130
|
-
Message;
|
|
131
|
-
constructor(opts) {
|
|
132
|
-
super({
|
|
133
|
-
name: "ResourceNotFoundException",
|
|
134
|
-
$fault: "client",
|
|
135
|
-
...opts,
|
|
136
|
-
});
|
|
137
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
138
|
-
this.Message = opts.Message;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
export const TelemetryEnrichmentStatus = {
|
|
142
|
-
IMPAIRED: "Impaired",
|
|
143
|
-
RUNNING: "Running",
|
|
144
|
-
STOPPED: "Stopped",
|
|
145
|
-
};
|
|
146
|
-
export const Status = {
|
|
147
|
-
FAILED_START: "FAILED_START",
|
|
148
|
-
FAILED_STOP: "FAILED_STOP",
|
|
149
|
-
NOT_STARTED: "NOT_STARTED",
|
|
150
|
-
RUNNING: "RUNNING",
|
|
151
|
-
STARTING: "STARTING",
|
|
152
|
-
STOPPED: "STOPPED",
|
|
153
|
-
STOPPING: "STOPPING",
|
|
154
|
-
};
|
|
155
|
-
export const TelemetryState = {
|
|
156
|
-
DISABLED: "Disabled",
|
|
157
|
-
ENABLED: "Enabled",
|
|
158
|
-
NOT_APPLICABLE: "NotApplicable",
|
|
159
|
-
};
|
|
1
|
+
export {};
|
|
@@ -154,7 +154,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.observabilityadmin";
|
|
|
154
154
|
const _xaE = "x-amzn-ErrorType";
|
|
155
155
|
const n0 = "com.amazonaws.observabilityadmin";
|
|
156
156
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
157
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, TooManyRequestsException as __TooManyRequestsException, ValidationException as __ValidationException, } from "../models/
|
|
157
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, TooManyRequestsException as __TooManyRequestsException, ValidationException as __ValidationException, } from "../models/errors";
|
|
158
158
|
import { ObservabilityAdminServiceException as __ObservabilityAdminServiceException } from "../models/ObservabilityAdminServiceException";
|
|
159
159
|
export var AccessDeniedException = [
|
|
160
160
|
-3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { ObservabilityAdminExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/enums";
|
|
14
|
+
export * from "./models/errors";
|
|
15
|
+
export type * from "./models/models_0";
|
|
14
16
|
export { ObservabilityAdminServiceException } from "./models/ObservabilityAdminServiceException";
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const CentralizationFailureReason: {
|
|
6
|
+
readonly DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION: "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION";
|
|
7
|
+
readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
|
|
8
|
+
readonly TRUSTED_ACCESS_NOT_ENABLED: "TRUSTED_ACCESS_NOT_ENABLED";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type CentralizationFailureReason = (typeof CentralizationFailureReason)[keyof typeof CentralizationFailureReason];
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* @enum
|
|
17
|
+
*/
|
|
18
|
+
export declare const EncryptionConflictResolutionStrategy: {
|
|
19
|
+
readonly ALLOW: "ALLOW";
|
|
20
|
+
readonly SKIP: "SKIP";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export type EncryptionConflictResolutionStrategy = (typeof EncryptionConflictResolutionStrategy)[keyof typeof EncryptionConflictResolutionStrategy];
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
* @enum
|
|
29
|
+
*/
|
|
30
|
+
export declare const EncryptionStrategy: {
|
|
31
|
+
readonly AWS_OWNED: "AWS_OWNED";
|
|
32
|
+
readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export type EncryptionStrategy = (typeof EncryptionStrategy)[keyof typeof EncryptionStrategy];
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
* @enum
|
|
41
|
+
*/
|
|
42
|
+
export declare const EncryptedLogGroupStrategy: {
|
|
43
|
+
readonly ALLOW: "ALLOW";
|
|
44
|
+
readonly SKIP: "SKIP";
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export type EncryptedLogGroupStrategy = (typeof EncryptedLogGroupStrategy)[keyof typeof EncryptedLogGroupStrategy];
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
* @enum
|
|
53
|
+
*/
|
|
54
|
+
export declare const RuleHealth: {
|
|
55
|
+
readonly HEALTHY: "Healthy";
|
|
56
|
+
readonly PROVISIONING: "Provisioning";
|
|
57
|
+
readonly UNHEALTHY: "Unhealthy";
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export type RuleHealth = (typeof RuleHealth)[keyof typeof RuleHealth];
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
* @enum
|
|
66
|
+
*/
|
|
67
|
+
export declare const DestinationType: {
|
|
68
|
+
readonly CLOUDWATCH_LOGS: "cloud-watch-logs";
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export type DestinationType = (typeof DestinationType)[keyof typeof DestinationType];
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
* @enum
|
|
77
|
+
*/
|
|
78
|
+
export declare const ResourceType: {
|
|
79
|
+
readonly AWS_EC2_INSTANCE: "AWS::EC2::Instance";
|
|
80
|
+
readonly AWS_EC2_VPC: "AWS::EC2::VPC";
|
|
81
|
+
readonly AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function";
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
* @enum
|
|
90
|
+
*/
|
|
91
|
+
export declare const TelemetryType: {
|
|
92
|
+
readonly LOGS: "Logs";
|
|
93
|
+
readonly METRICS: "Metrics";
|
|
94
|
+
readonly TRACES: "Traces";
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export type TelemetryType = (typeof TelemetryType)[keyof typeof TelemetryType];
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
* @enum
|
|
103
|
+
*/
|
|
104
|
+
export declare const TelemetryEnrichmentStatus: {
|
|
105
|
+
readonly IMPAIRED: "Impaired";
|
|
106
|
+
readonly RUNNING: "Running";
|
|
107
|
+
readonly STOPPED: "Stopped";
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export type TelemetryEnrichmentStatus = (typeof TelemetryEnrichmentStatus)[keyof typeof TelemetryEnrichmentStatus];
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
* @enum
|
|
116
|
+
*/
|
|
117
|
+
export declare const Status: {
|
|
118
|
+
readonly FAILED_START: "FAILED_START";
|
|
119
|
+
readonly FAILED_STOP: "FAILED_STOP";
|
|
120
|
+
readonly NOT_STARTED: "NOT_STARTED";
|
|
121
|
+
readonly RUNNING: "RUNNING";
|
|
122
|
+
readonly STARTING: "STARTING";
|
|
123
|
+
readonly STOPPED: "STOPPED";
|
|
124
|
+
readonly STOPPING: "STOPPING";
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
* @enum
|
|
133
|
+
*/
|
|
134
|
+
export declare const TelemetryState: {
|
|
135
|
+
readonly DISABLED: "Disabled";
|
|
136
|
+
readonly ENABLED: "Enabled";
|
|
137
|
+
readonly NOT_APPLICABLE: "NotApplicable";
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
export type TelemetryState = (typeof TelemetryState)[keyof typeof TelemetryState];
|