@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.
@@ -0,0 +1,108 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ObservabilityAdminServiceException as __BaseException } from "./ObservabilityAdminServiceException";
3
+ /**
4
+ * <p> Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access management for Amazon Web Services resources</a> in the IAM user guide. </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
+ * <p> The name of the exception. </p>
13
+ * @public
14
+ */
15
+ amznErrorType?: string | undefined;
16
+ /**
17
+ * @internal
18
+ */
19
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
20
+ }
21
+ /**
22
+ * <p> The requested operation conflicts with the current state of the specified resource or with another request. </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
+ * @internal
31
+ */
32
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
33
+ }
34
+ /**
35
+ * <p> Indicates the request has failed to process because of an unknown server error, exception, or failure. </p>
36
+ * @public
37
+ */
38
+ export declare class InternalServerException extends __BaseException {
39
+ readonly name: "InternalServerException";
40
+ readonly $fault: "server";
41
+ Message?: string | undefined;
42
+ /**
43
+ * <p> The name of the exception. </p>
44
+ * @public
45
+ */
46
+ amznErrorType?: string | undefined;
47
+ /**
48
+ * @internal
49
+ */
50
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
51
+ }
52
+ /**
53
+ * <p> The requested operation would exceed the allowed quota for the specified resource type. </p>
54
+ * @public
55
+ */
56
+ export declare class ServiceQuotaExceededException extends __BaseException {
57
+ readonly name: "ServiceQuotaExceededException";
58
+ readonly $fault: "client";
59
+ Message?: string | undefined;
60
+ /**
61
+ * <p> The name of the exception. </p>
62
+ * @public
63
+ */
64
+ amznErrorType?: string | undefined;
65
+ /**
66
+ * @internal
67
+ */
68
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
69
+ }
70
+ /**
71
+ * <p> The request throughput limit was exceeded. </p>
72
+ * @public
73
+ */
74
+ export declare class TooManyRequestsException extends __BaseException {
75
+ readonly name: "TooManyRequestsException";
76
+ readonly $fault: "client";
77
+ Message?: string | undefined;
78
+ /**
79
+ * @internal
80
+ */
81
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
82
+ }
83
+ /**
84
+ * <p> Indicates input validation failed. Check your request parameters and retry the request. </p>
85
+ * @public
86
+ */
87
+ export declare class ValidationException extends __BaseException {
88
+ readonly name: "ValidationException";
89
+ readonly $fault: "client";
90
+ Message?: string | undefined;
91
+ /**
92
+ * @internal
93
+ */
94
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
95
+ }
96
+ /**
97
+ * <p> The specified resource (such as a telemetry rule) could not be found. </p>
98
+ * @public
99
+ */
100
+ export declare class ResourceNotFoundException extends __BaseException {
101
+ readonly name: "ResourceNotFoundException";
102
+ readonly $fault: "client";
103
+ Message?: string | undefined;
104
+ /**
105
+ * @internal
106
+ */
107
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
108
+ }
@@ -1,36 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ObservabilityAdminServiceException as __BaseException } from "./ObservabilityAdminServiceException";
3
- /**
4
- * <p> Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access management for Amazon Web Services resources</a> in the IAM user guide. </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
- * <p> The name of the exception. </p>
13
- * @public
14
- */
15
- amznErrorType?: string | undefined;
16
- /**
17
- * @internal
18
- */
19
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
20
- }
21
- /**
22
- * @public
23
- * @enum
24
- */
25
- export declare const CentralizationFailureReason: {
26
- readonly DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION: "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION";
27
- readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
28
- readonly TRUSTED_ACCESS_NOT_ENABLED: "TRUSTED_ACCESS_NOT_ENABLED";
29
- };
30
- /**
31
- * @public
32
- */
33
- export type CentralizationFailureReason = (typeof CentralizationFailureReason)[keyof typeof CentralizationFailureReason];
1
+ import { CentralizationFailureReason, DestinationType, EncryptedLogGroupStrategy, EncryptionConflictResolutionStrategy, EncryptionStrategy, ResourceType, RuleHealth, Status, TelemetryEnrichmentStatus, TelemetryState, TelemetryType } from "./enums";
34
2
  /**
35
3
  * <p>Configuration for backing up centralized log data to a secondary region.</p>
36
4
  * @public
@@ -47,30 +15,6 @@ export interface LogsBackupConfiguration {
47
15
  */
48
16
  KmsKeyArn?: string | undefined;
49
17
  }
50
- /**
51
- * @public
52
- * @enum
53
- */
54
- export declare const EncryptionConflictResolutionStrategy: {
55
- readonly ALLOW: "ALLOW";
56
- readonly SKIP: "SKIP";
57
- };
58
- /**
59
- * @public
60
- */
61
- export type EncryptionConflictResolutionStrategy = (typeof EncryptionConflictResolutionStrategy)[keyof typeof EncryptionConflictResolutionStrategy];
62
- /**
63
- * @public
64
- * @enum
65
- */
66
- export declare const EncryptionStrategy: {
67
- readonly AWS_OWNED: "AWS_OWNED";
68
- readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
69
- };
70
- /**
71
- * @public
72
- */
73
- export type EncryptionStrategy = (typeof EncryptionStrategy)[keyof typeof EncryptionStrategy];
74
18
  /**
75
19
  * <p>Configuration for encrypting centralized log groups. This configuration is only applied to destination log groups for which the corresponding source log groups are encrypted using Customer Managed KMS Keys.</p>
76
20
  * @public
@@ -129,18 +73,6 @@ export interface CentralizationRuleDestination {
129
73
  */
130
74
  DestinationLogsConfiguration?: DestinationLogsConfiguration | undefined;
131
75
  }
132
- /**
133
- * @public
134
- * @enum
135
- */
136
- export declare const EncryptedLogGroupStrategy: {
137
- readonly ALLOW: "ALLOW";
138
- readonly SKIP: "SKIP";
139
- };
140
- /**
141
- * @public
142
- */
143
- export type EncryptedLogGroupStrategy = (typeof EncryptedLogGroupStrategy)[keyof typeof EncryptedLogGroupStrategy];
144
76
  /**
145
77
  * <p>Configuration for selecting and handling source log groups for centralization.</p>
146
78
  * @public
@@ -194,19 +126,6 @@ export interface CentralizationRule {
194
126
  */
195
127
  Destination: CentralizationRuleDestination | undefined;
196
128
  }
197
- /**
198
- * @public
199
- * @enum
200
- */
201
- export declare const RuleHealth: {
202
- readonly HEALTHY: "Healthy";
203
- readonly PROVISIONING: "Provisioning";
204
- readonly UNHEALTHY: "Unhealthy";
205
- };
206
- /**
207
- * @public
208
- */
209
- export type RuleHealth = (typeof RuleHealth)[keyof typeof RuleHealth];
210
129
  /**
211
130
  * <p>A summary of a centralization rule's key properties and status.</p>
212
131
  * @public
@@ -263,19 +182,6 @@ export interface CentralizationRuleSummary {
263
182
  */
264
183
  DestinationRegion?: string | undefined;
265
184
  }
266
- /**
267
- * <p> The requested operation conflicts with the current state of the specified resource or with another request. </p>
268
- * @public
269
- */
270
- export declare class ConflictException extends __BaseException {
271
- readonly name: "ConflictException";
272
- readonly $fault: "client";
273
- Message?: string | undefined;
274
- /**
275
- * @internal
276
- */
277
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
278
- }
279
185
  /**
280
186
  * @public
281
187
  */
@@ -306,79 +212,6 @@ export interface CreateCentralizationRuleForOrganizationOutput {
306
212
  */
307
213
  RuleArn?: string | undefined;
308
214
  }
309
- /**
310
- * <p> Indicates the request has failed to process because of an unknown server error, exception, or failure. </p>
311
- * @public
312
- */
313
- export declare class InternalServerException extends __BaseException {
314
- readonly name: "InternalServerException";
315
- readonly $fault: "server";
316
- Message?: string | undefined;
317
- /**
318
- * <p> The name of the exception. </p>
319
- * @public
320
- */
321
- amznErrorType?: string | undefined;
322
- /**
323
- * @internal
324
- */
325
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
326
- }
327
- /**
328
- * <p> The requested operation would exceed the allowed quota for the specified resource type. </p>
329
- * @public
330
- */
331
- export declare class ServiceQuotaExceededException extends __BaseException {
332
- readonly name: "ServiceQuotaExceededException";
333
- readonly $fault: "client";
334
- Message?: string | undefined;
335
- /**
336
- * <p> The name of the exception. </p>
337
- * @public
338
- */
339
- amznErrorType?: string | undefined;
340
- /**
341
- * @internal
342
- */
343
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
344
- }
345
- /**
346
- * <p> The request throughput limit was exceeded. </p>
347
- * @public
348
- */
349
- export declare class TooManyRequestsException extends __BaseException {
350
- readonly name: "TooManyRequestsException";
351
- readonly $fault: "client";
352
- Message?: string | undefined;
353
- /**
354
- * @internal
355
- */
356
- constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
357
- }
358
- /**
359
- * <p> Indicates input validation failed. Check your request parameters and retry the request. </p>
360
- * @public
361
- */
362
- export declare class ValidationException extends __BaseException {
363
- readonly name: "ValidationException";
364
- readonly $fault: "client";
365
- Message?: string | undefined;
366
- /**
367
- * @internal
368
- */
369
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
370
- }
371
- /**
372
- * @public
373
- * @enum
374
- */
375
- export declare const DestinationType: {
376
- readonly CLOUDWATCH_LOGS: "cloud-watch-logs";
377
- };
378
- /**
379
- * @public
380
- */
381
- export type DestinationType = (typeof DestinationType)[keyof typeof DestinationType];
382
215
  /**
383
216
  * <p> Configuration parameters specific to VPC Flow Logs. </p>
384
217
  * @public
@@ -426,32 +259,6 @@ export interface TelemetryDestinationConfiguration {
426
259
  */
427
260
  VPCFlowLogParameters?: VPCFlowLogParameters | undefined;
428
261
  }
429
- /**
430
- * @public
431
- * @enum
432
- */
433
- export declare const ResourceType: {
434
- readonly AWS_EC2_INSTANCE: "AWS::EC2::Instance";
435
- readonly AWS_EC2_VPC: "AWS::EC2::VPC";
436
- readonly AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function";
437
- };
438
- /**
439
- * @public
440
- */
441
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
442
- /**
443
- * @public
444
- * @enum
445
- */
446
- export declare const TelemetryType: {
447
- readonly LOGS: "Logs";
448
- readonly METRICS: "Metrics";
449
- readonly TRACES: "Traces";
450
- };
451
- /**
452
- * @public
453
- */
454
- export type TelemetryType = (typeof TelemetryType)[keyof typeof TelemetryType];
455
262
  /**
456
263
  * <p> Defines how telemetry should be configured for specific Amazon Web Services resources. </p>
457
264
  * @public
@@ -553,19 +360,6 @@ export interface DeleteCentralizationRuleForOrganizationInput {
553
360
  */
554
361
  RuleIdentifier: string | undefined;
555
362
  }
556
- /**
557
- * <p> The specified resource (such as a telemetry rule) could not be found. </p>
558
- * @public
559
- */
560
- export declare class ResourceNotFoundException extends __BaseException {
561
- readonly name: "ResourceNotFoundException";
562
- readonly $fault: "client";
563
- Message?: string | undefined;
564
- /**
565
- * @internal
566
- */
567
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
568
- }
569
363
  /**
570
364
  * @public
571
365
  */
@@ -646,19 +440,6 @@ export interface GetCentralizationRuleForOrganizationOutput {
646
440
  */
647
441
  CentralizationRule?: CentralizationRule | undefined;
648
442
  }
649
- /**
650
- * @public
651
- * @enum
652
- */
653
- export declare const TelemetryEnrichmentStatus: {
654
- readonly IMPAIRED: "Impaired";
655
- readonly RUNNING: "Running";
656
- readonly STOPPED: "Stopped";
657
- };
658
- /**
659
- * @public
660
- */
661
- export type TelemetryEnrichmentStatus = (typeof TelemetryEnrichmentStatus)[keyof typeof TelemetryEnrichmentStatus];
662
443
  /**
663
444
  * @public
664
445
  */
@@ -674,23 +455,6 @@ export interface GetTelemetryEnrichmentStatusOutput {
674
455
  */
675
456
  AwsResourceExplorerManagedViewArn?: string | undefined;
676
457
  }
677
- /**
678
- * @public
679
- * @enum
680
- */
681
- export declare const Status: {
682
- readonly FAILED_START: "FAILED_START";
683
- readonly FAILED_STOP: "FAILED_STOP";
684
- readonly NOT_STARTED: "NOT_STARTED";
685
- readonly RUNNING: "RUNNING";
686
- readonly STARTING: "STARTING";
687
- readonly STOPPED: "STOPPED";
688
- readonly STOPPING: "STOPPING";
689
- };
690
- /**
691
- * @public
692
- */
693
- export type Status = (typeof Status)[keyof typeof Status];
694
458
  /**
695
459
  * @public
696
460
  */
@@ -841,19 +605,6 @@ export interface ListCentralizationRulesForOrganizationOutput {
841
605
  */
842
606
  NextToken?: string | undefined;
843
607
  }
844
- /**
845
- * @public
846
- * @enum
847
- */
848
- export declare const TelemetryState: {
849
- readonly DISABLED: "Disabled";
850
- readonly ENABLED: "Enabled";
851
- readonly NOT_APPLICABLE: "NotApplicable";
852
- };
853
- /**
854
- * @public
855
- */
856
- export type TelemetryState = (typeof TelemetryState)[keyof typeof TelemetryState];
857
608
  /**
858
609
  * @public
859
610
  */
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ObservabilityAdminExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { ObservabilityAdminServiceException } from "./models/ObservabilityAdminServiceException";
@@ -0,0 +1,72 @@
1
+ export declare const CentralizationFailureReason: {
2
+ readonly DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION: "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION";
3
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
4
+ readonly TRUSTED_ACCESS_NOT_ENABLED: "TRUSTED_ACCESS_NOT_ENABLED";
5
+ };
6
+ export type CentralizationFailureReason =
7
+ (typeof CentralizationFailureReason)[keyof typeof CentralizationFailureReason];
8
+ export declare const EncryptionConflictResolutionStrategy: {
9
+ readonly ALLOW: "ALLOW";
10
+ readonly SKIP: "SKIP";
11
+ };
12
+ export type EncryptionConflictResolutionStrategy =
13
+ (typeof EncryptionConflictResolutionStrategy)[keyof typeof EncryptionConflictResolutionStrategy];
14
+ export declare const EncryptionStrategy: {
15
+ readonly AWS_OWNED: "AWS_OWNED";
16
+ readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
17
+ };
18
+ export type EncryptionStrategy =
19
+ (typeof EncryptionStrategy)[keyof typeof EncryptionStrategy];
20
+ export declare const EncryptedLogGroupStrategy: {
21
+ readonly ALLOW: "ALLOW";
22
+ readonly SKIP: "SKIP";
23
+ };
24
+ export type EncryptedLogGroupStrategy =
25
+ (typeof EncryptedLogGroupStrategy)[keyof typeof EncryptedLogGroupStrategy];
26
+ export declare const RuleHealth: {
27
+ readonly HEALTHY: "Healthy";
28
+ readonly PROVISIONING: "Provisioning";
29
+ readonly UNHEALTHY: "Unhealthy";
30
+ };
31
+ export type RuleHealth = (typeof RuleHealth)[keyof typeof RuleHealth];
32
+ export declare const DestinationType: {
33
+ readonly CLOUDWATCH_LOGS: "cloud-watch-logs";
34
+ };
35
+ export type DestinationType =
36
+ (typeof DestinationType)[keyof typeof DestinationType];
37
+ export declare const ResourceType: {
38
+ readonly AWS_EC2_INSTANCE: "AWS::EC2::Instance";
39
+ readonly AWS_EC2_VPC: "AWS::EC2::VPC";
40
+ readonly AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function";
41
+ };
42
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
43
+ export declare const TelemetryType: {
44
+ readonly LOGS: "Logs";
45
+ readonly METRICS: "Metrics";
46
+ readonly TRACES: "Traces";
47
+ };
48
+ export type TelemetryType = (typeof TelemetryType)[keyof typeof TelemetryType];
49
+ export declare const TelemetryEnrichmentStatus: {
50
+ readonly IMPAIRED: "Impaired";
51
+ readonly RUNNING: "Running";
52
+ readonly STOPPED: "Stopped";
53
+ };
54
+ export type TelemetryEnrichmentStatus =
55
+ (typeof TelemetryEnrichmentStatus)[keyof typeof TelemetryEnrichmentStatus];
56
+ export declare const Status: {
57
+ readonly FAILED_START: "FAILED_START";
58
+ readonly FAILED_STOP: "FAILED_STOP";
59
+ readonly NOT_STARTED: "NOT_STARTED";
60
+ readonly RUNNING: "RUNNING";
61
+ readonly STARTING: "STARTING";
62
+ readonly STOPPED: "STOPPED";
63
+ readonly STOPPING: "STOPPING";
64
+ };
65
+ export type Status = (typeof Status)[keyof typeof Status];
66
+ export declare const TelemetryState: {
67
+ readonly DISABLED: "Disabled";
68
+ readonly ENABLED: "Enabled";
69
+ readonly NOT_APPLICABLE: "NotApplicable";
70
+ };
71
+ export type TelemetryState =
72
+ (typeof TelemetryState)[keyof typeof TelemetryState];
@@ -0,0 +1,59 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ObservabilityAdminServiceException as __BaseException } from "./ObservabilityAdminServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ Message?: string | undefined;
7
+ amznErrorType?: string | undefined;
8
+ constructor(
9
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
10
+ );
11
+ }
12
+ export declare class ConflictException extends __BaseException {
13
+ readonly name: "ConflictException";
14
+ readonly $fault: "client";
15
+ Message?: string | undefined;
16
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
17
+ }
18
+ export declare class InternalServerException extends __BaseException {
19
+ readonly name: "InternalServerException";
20
+ readonly $fault: "server";
21
+ Message?: string | undefined;
22
+ amznErrorType?: string | undefined;
23
+ constructor(
24
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
25
+ );
26
+ }
27
+ export declare class ServiceQuotaExceededException extends __BaseException {
28
+ readonly name: "ServiceQuotaExceededException";
29
+ readonly $fault: "client";
30
+ Message?: string | undefined;
31
+ amznErrorType?: string | undefined;
32
+ constructor(
33
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
34
+ );
35
+ }
36
+ export declare class TooManyRequestsException extends __BaseException {
37
+ readonly name: "TooManyRequestsException";
38
+ readonly $fault: "client";
39
+ Message?: string | undefined;
40
+ constructor(
41
+ opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
42
+ );
43
+ }
44
+ export declare class ValidationException extends __BaseException {
45
+ readonly name: "ValidationException";
46
+ readonly $fault: "client";
47
+ Message?: string | undefined;
48
+ constructor(
49
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
50
+ );
51
+ }
52
+ export declare class ResourceNotFoundException extends __BaseException {
53
+ readonly name: "ResourceNotFoundException";
54
+ readonly $fault: "client";
55
+ Message?: string | undefined;
56
+ constructor(
57
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
58
+ );
59
+ }