@aws-sdk/client-observabilityadmin 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.
- 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 +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
|
@@ -1,37 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
|
|
15
|
-
readonly TRUSTED_ACCESS_NOT_ENABLED: "TRUSTED_ACCESS_NOT_ENABLED";
|
|
16
|
-
};
|
|
17
|
-
export type CentralizationFailureReason =
|
|
18
|
-
(typeof CentralizationFailureReason)[keyof typeof CentralizationFailureReason];
|
|
1
|
+
import {
|
|
2
|
+
CentralizationFailureReason,
|
|
3
|
+
DestinationType,
|
|
4
|
+
EncryptedLogGroupStrategy,
|
|
5
|
+
EncryptionConflictResolutionStrategy,
|
|
6
|
+
EncryptionStrategy,
|
|
7
|
+
ResourceType,
|
|
8
|
+
RuleHealth,
|
|
9
|
+
Status,
|
|
10
|
+
TelemetryEnrichmentStatus,
|
|
11
|
+
TelemetryState,
|
|
12
|
+
TelemetryType,
|
|
13
|
+
} from "./enums";
|
|
19
14
|
export interface LogsBackupConfiguration {
|
|
20
15
|
Region: string | undefined;
|
|
21
16
|
KmsKeyArn?: string | undefined;
|
|
22
17
|
}
|
|
23
|
-
export declare const EncryptionConflictResolutionStrategy: {
|
|
24
|
-
readonly ALLOW: "ALLOW";
|
|
25
|
-
readonly SKIP: "SKIP";
|
|
26
|
-
};
|
|
27
|
-
export type EncryptionConflictResolutionStrategy =
|
|
28
|
-
(typeof EncryptionConflictResolutionStrategy)[keyof typeof EncryptionConflictResolutionStrategy];
|
|
29
|
-
export declare const EncryptionStrategy: {
|
|
30
|
-
readonly AWS_OWNED: "AWS_OWNED";
|
|
31
|
-
readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
|
|
32
|
-
};
|
|
33
|
-
export type EncryptionStrategy =
|
|
34
|
-
(typeof EncryptionStrategy)[keyof typeof EncryptionStrategy];
|
|
35
18
|
export interface LogsEncryptionConfiguration {
|
|
36
19
|
EncryptionStrategy: EncryptionStrategy | undefined;
|
|
37
20
|
KmsKeyArn?: string | undefined;
|
|
@@ -48,12 +31,6 @@ export interface CentralizationRuleDestination {
|
|
|
48
31
|
Account?: string | undefined;
|
|
49
32
|
DestinationLogsConfiguration?: DestinationLogsConfiguration | undefined;
|
|
50
33
|
}
|
|
51
|
-
export declare const EncryptedLogGroupStrategy: {
|
|
52
|
-
readonly ALLOW: "ALLOW";
|
|
53
|
-
readonly SKIP: "SKIP";
|
|
54
|
-
};
|
|
55
|
-
export type EncryptedLogGroupStrategy =
|
|
56
|
-
(typeof EncryptedLogGroupStrategy)[keyof typeof EncryptedLogGroupStrategy];
|
|
57
34
|
export interface SourceLogsConfiguration {
|
|
58
35
|
LogGroupSelectionCriteria: string | undefined;
|
|
59
36
|
EncryptedLogGroupStrategy: EncryptedLogGroupStrategy | undefined;
|
|
@@ -67,12 +44,6 @@ export interface CentralizationRule {
|
|
|
67
44
|
Source: CentralizationRuleSource | undefined;
|
|
68
45
|
Destination: CentralizationRuleDestination | undefined;
|
|
69
46
|
}
|
|
70
|
-
export declare const RuleHealth: {
|
|
71
|
-
readonly HEALTHY: "Healthy";
|
|
72
|
-
readonly PROVISIONING: "Provisioning";
|
|
73
|
-
readonly UNHEALTHY: "Unhealthy";
|
|
74
|
-
};
|
|
75
|
-
export type RuleHealth = (typeof RuleHealth)[keyof typeof RuleHealth];
|
|
76
47
|
export interface CentralizationRuleSummary {
|
|
77
48
|
RuleName?: string | undefined;
|
|
78
49
|
RuleArn?: string | undefined;
|
|
@@ -85,12 +56,6 @@ export interface CentralizationRuleSummary {
|
|
|
85
56
|
DestinationAccountId?: string | undefined;
|
|
86
57
|
DestinationRegion?: string | undefined;
|
|
87
58
|
}
|
|
88
|
-
export declare class ConflictException extends __BaseException {
|
|
89
|
-
readonly name: "ConflictException";
|
|
90
|
-
readonly $fault: "client";
|
|
91
|
-
Message?: string | undefined;
|
|
92
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
93
|
-
}
|
|
94
59
|
export interface CreateCentralizationRuleForOrganizationInput {
|
|
95
60
|
RuleName: string | undefined;
|
|
96
61
|
Rule: CentralizationRule | undefined;
|
|
@@ -99,45 +64,6 @@ export interface CreateCentralizationRuleForOrganizationInput {
|
|
|
99
64
|
export interface CreateCentralizationRuleForOrganizationOutput {
|
|
100
65
|
RuleArn?: string | undefined;
|
|
101
66
|
}
|
|
102
|
-
export declare class InternalServerException extends __BaseException {
|
|
103
|
-
readonly name: "InternalServerException";
|
|
104
|
-
readonly $fault: "server";
|
|
105
|
-
Message?: string | undefined;
|
|
106
|
-
amznErrorType?: string | undefined;
|
|
107
|
-
constructor(
|
|
108
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
112
|
-
readonly name: "ServiceQuotaExceededException";
|
|
113
|
-
readonly $fault: "client";
|
|
114
|
-
Message?: string | undefined;
|
|
115
|
-
amznErrorType?: string | undefined;
|
|
116
|
-
constructor(
|
|
117
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
118
|
-
);
|
|
119
|
-
}
|
|
120
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
121
|
-
readonly name: "TooManyRequestsException";
|
|
122
|
-
readonly $fault: "client";
|
|
123
|
-
Message?: string | undefined;
|
|
124
|
-
constructor(
|
|
125
|
-
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
126
|
-
);
|
|
127
|
-
}
|
|
128
|
-
export declare class ValidationException extends __BaseException {
|
|
129
|
-
readonly name: "ValidationException";
|
|
130
|
-
readonly $fault: "client";
|
|
131
|
-
Message?: string | undefined;
|
|
132
|
-
constructor(
|
|
133
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
134
|
-
);
|
|
135
|
-
}
|
|
136
|
-
export declare const DestinationType: {
|
|
137
|
-
readonly CLOUDWATCH_LOGS: "cloud-watch-logs";
|
|
138
|
-
};
|
|
139
|
-
export type DestinationType =
|
|
140
|
-
(typeof DestinationType)[keyof typeof DestinationType];
|
|
141
67
|
export interface VPCFlowLogParameters {
|
|
142
68
|
LogFormat?: string | undefined;
|
|
143
69
|
TrafficType?: string | undefined;
|
|
@@ -149,18 +75,6 @@ export interface TelemetryDestinationConfiguration {
|
|
|
149
75
|
RetentionInDays?: number | undefined;
|
|
150
76
|
VPCFlowLogParameters?: VPCFlowLogParameters | undefined;
|
|
151
77
|
}
|
|
152
|
-
export declare const ResourceType: {
|
|
153
|
-
readonly AWS_EC2_INSTANCE: "AWS::EC2::Instance";
|
|
154
|
-
readonly AWS_EC2_VPC: "AWS::EC2::VPC";
|
|
155
|
-
readonly AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function";
|
|
156
|
-
};
|
|
157
|
-
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
158
|
-
export declare const TelemetryType: {
|
|
159
|
-
readonly LOGS: "Logs";
|
|
160
|
-
readonly METRICS: "Metrics";
|
|
161
|
-
readonly TRACES: "Traces";
|
|
162
|
-
};
|
|
163
|
-
export type TelemetryType = (typeof TelemetryType)[keyof typeof TelemetryType];
|
|
164
78
|
export interface TelemetryRule {
|
|
165
79
|
ResourceType?: ResourceType | undefined;
|
|
166
80
|
TelemetryType: TelemetryType | undefined;
|
|
@@ -187,14 +101,6 @@ export interface CreateTelemetryRuleForOrganizationOutput {
|
|
|
187
101
|
export interface DeleteCentralizationRuleForOrganizationInput {
|
|
188
102
|
RuleIdentifier: string | undefined;
|
|
189
103
|
}
|
|
190
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
191
|
-
readonly name: "ResourceNotFoundException";
|
|
192
|
-
readonly $fault: "client";
|
|
193
|
-
Message?: string | undefined;
|
|
194
|
-
constructor(
|
|
195
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
196
|
-
);
|
|
197
|
-
}
|
|
198
104
|
export interface DeleteTelemetryRuleInput {
|
|
199
105
|
RuleIdentifier: string | undefined;
|
|
200
106
|
}
|
|
@@ -215,27 +121,10 @@ export interface GetCentralizationRuleForOrganizationOutput {
|
|
|
215
121
|
FailureReason?: CentralizationFailureReason | undefined;
|
|
216
122
|
CentralizationRule?: CentralizationRule | undefined;
|
|
217
123
|
}
|
|
218
|
-
export declare const TelemetryEnrichmentStatus: {
|
|
219
|
-
readonly IMPAIRED: "Impaired";
|
|
220
|
-
readonly RUNNING: "Running";
|
|
221
|
-
readonly STOPPED: "Stopped";
|
|
222
|
-
};
|
|
223
|
-
export type TelemetryEnrichmentStatus =
|
|
224
|
-
(typeof TelemetryEnrichmentStatus)[keyof typeof TelemetryEnrichmentStatus];
|
|
225
124
|
export interface GetTelemetryEnrichmentStatusOutput {
|
|
226
125
|
Status?: TelemetryEnrichmentStatus | undefined;
|
|
227
126
|
AwsResourceExplorerManagedViewArn?: string | undefined;
|
|
228
127
|
}
|
|
229
|
-
export declare const Status: {
|
|
230
|
-
readonly FAILED_START: "FAILED_START";
|
|
231
|
-
readonly FAILED_STOP: "FAILED_STOP";
|
|
232
|
-
readonly NOT_STARTED: "NOT_STARTED";
|
|
233
|
-
readonly RUNNING: "RUNNING";
|
|
234
|
-
readonly STARTING: "STARTING";
|
|
235
|
-
readonly STOPPED: "STOPPED";
|
|
236
|
-
readonly STOPPING: "STOPPING";
|
|
237
|
-
};
|
|
238
|
-
export type Status = (typeof Status)[keyof typeof Status];
|
|
239
128
|
export interface GetTelemetryEvaluationStatusOutput {
|
|
240
129
|
Status?: Status | undefined;
|
|
241
130
|
FailureReason?: string | undefined;
|
|
@@ -274,13 +163,6 @@ export interface ListCentralizationRulesForOrganizationOutput {
|
|
|
274
163
|
CentralizationRuleSummaries?: CentralizationRuleSummary[] | undefined;
|
|
275
164
|
NextToken?: string | undefined;
|
|
276
165
|
}
|
|
277
|
-
export declare const TelemetryState: {
|
|
278
|
-
readonly DISABLED: "Disabled";
|
|
279
|
-
readonly ENABLED: "Enabled";
|
|
280
|
-
readonly NOT_APPLICABLE: "NotApplicable";
|
|
281
|
-
};
|
|
282
|
-
export type TelemetryState =
|
|
283
|
-
(typeof TelemetryState)[keyof typeof TelemetryState];
|
|
284
166
|
export interface ListResourceTelemetryInput {
|
|
285
167
|
ResourceIdentifierPrefix?: string | undefined;
|
|
286
168
|
ResourceTypes?: ResourceType[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-observabilityadmin",
|
|
3
3
|
"description": "AWS SDK for JavaScript Observabilityadmin Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-observabilityadmin",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|