@aws-sdk/client-observabilityadmin 3.1170.0 → 3.1172.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.
Files changed (74) hide show
  1. package/README.md +98 -7
  2. package/dist-cjs/index.js +821 -55
  3. package/dist-es/ObservabilityAdmin.js +30 -0
  4. package/dist-es/commands/CreateConnectorCommand.js +4 -0
  5. package/dist-es/commands/DeleteConnectorCommand.js +4 -0
  6. package/dist-es/commands/GetConnectorCommand.js +4 -0
  7. package/dist-es/commands/GetConnectorTelemetryManifestCommand.js +4 -0
  8. package/dist-es/commands/GetConnectorTelemetrySetupCommand.js +4 -0
  9. package/dist-es/commands/GetThirdPartyTelemetryEnrichmentCommand.js +4 -0
  10. package/dist-es/commands/ListConnectorsCommand.js +4 -0
  11. package/dist-es/commands/ListResourcesByConnectorCommand.js +4 -0
  12. package/dist-es/commands/ListThirdPartyTelemetryEnrichmentsCommand.js +4 -0
  13. package/dist-es/commands/PutConnectorTelemetryManifestCommand.js +4 -0
  14. package/dist-es/commands/StartTelemetryPipelineRefreshCommand.js +4 -0
  15. package/dist-es/commands/StartThirdPartyTelemetryEnrichmentCommand.js +4 -0
  16. package/dist-es/commands/StopThirdPartyTelemetryEnrichmentCommand.js +4 -0
  17. package/dist-es/commands/index.js +13 -0
  18. package/dist-es/models/enums.js +24 -0
  19. package/dist-es/pagination/ListConnectorsPaginator.js +4 -0
  20. package/dist-es/pagination/ListThirdPartyTelemetryEnrichmentsPaginator.js +4 -0
  21. package/dist-es/pagination/index.js +2 -0
  22. package/dist-es/schemas/schemas_0.js +643 -54
  23. package/dist-types/ObservabilityAdmin.d.ts +107 -0
  24. package/dist-types/ObservabilityAdminClient.d.ts +15 -2
  25. package/dist-types/commands/CreateCentralizationRuleForOrganizationCommand.d.ts +8 -0
  26. package/dist-types/commands/CreateConnectorCommand.d.ts +112 -0
  27. package/dist-types/commands/DeleteConnectorCommand.d.ts +87 -0
  28. package/dist-types/commands/GetCentralizationRuleForOrganizationCommand.d.ts +8 -0
  29. package/dist-types/commands/GetConnectorCommand.d.ts +98 -0
  30. package/dist-types/commands/GetConnectorTelemetryManifestCommand.d.ts +154 -0
  31. package/dist-types/commands/GetConnectorTelemetrySetupCommand.d.ts +100 -0
  32. package/dist-types/commands/GetTelemetryPipelineCommand.d.ts +25 -0
  33. package/dist-types/commands/GetThirdPartyTelemetryEnrichmentCommand.d.ts +98 -0
  34. package/dist-types/commands/ListConnectorsCommand.d.ts +92 -0
  35. package/dist-types/commands/ListResourcesByConnectorCommand.d.ts +188 -0
  36. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  37. package/dist-types/commands/ListThirdPartyTelemetryEnrichmentsCommand.d.ts +93 -0
  38. package/dist-types/commands/PutConnectorTelemetryManifestCommand.d.ts +158 -0
  39. package/dist-types/commands/StartTelemetryPipelineRefreshCommand.d.ts +87 -0
  40. package/dist-types/commands/StartThirdPartyTelemetryEnrichmentCommand.d.ts +109 -0
  41. package/dist-types/commands/StopThirdPartyTelemetryEnrichmentCommand.d.ts +92 -0
  42. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  43. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  44. package/dist-types/commands/UpdateCentralizationRuleForOrganizationCommand.d.ts +8 -0
  45. package/dist-types/commands/index.d.ts +13 -0
  46. package/dist-types/models/enums.d.ts +87 -0
  47. package/dist-types/models/models_0.d.ts +1662 -47
  48. package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
  49. package/dist-types/pagination/ListThirdPartyTelemetryEnrichmentsPaginator.d.ts +7 -0
  50. package/dist-types/pagination/index.d.ts +2 -0
  51. package/dist-types/schemas/schemas_0.d.ts +84 -1
  52. package/dist-types/ts3.4/ObservabilityAdmin.d.ts +237 -0
  53. package/dist-types/ts3.4/ObservabilityAdminClient.d.ts +78 -0
  54. package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +38 -0
  55. package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +38 -0
  56. package/dist-types/ts3.4/commands/GetConnectorCommand.d.ts +38 -0
  57. package/dist-types/ts3.4/commands/GetConnectorTelemetryManifestCommand.d.ts +42 -0
  58. package/dist-types/ts3.4/commands/GetConnectorTelemetrySetupCommand.d.ts +42 -0
  59. package/dist-types/ts3.4/commands/GetThirdPartyTelemetryEnrichmentCommand.d.ts +42 -0
  60. package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +38 -0
  61. package/dist-types/ts3.4/commands/ListResourcesByConnectorCommand.d.ts +39 -0
  62. package/dist-types/ts3.4/commands/ListThirdPartyTelemetryEnrichmentsCommand.d.ts +42 -0
  63. package/dist-types/ts3.4/commands/PutConnectorTelemetryManifestCommand.d.ts +42 -0
  64. package/dist-types/ts3.4/commands/StartTelemetryPipelineRefreshCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/StartThirdPartyTelemetryEnrichmentCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/StopThirdPartyTelemetryEnrichmentCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  68. package/dist-types/ts3.4/models/enums.d.ts +32 -0
  69. package/dist-types/ts3.4/models/models_0.d.ts +602 -0
  70. package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +11 -0
  71. package/dist-types/ts3.4/pagination/ListThirdPartyTelemetryEnrichmentsPaginator.d.ts +11 -0
  72. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  73. package/dist-types/ts3.4/schemas/schemas_0.d.ts +89 -1
  74. package/package.json +1 -1
@@ -0,0 +1,92 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { StopThirdPartyTelemetryEnrichmentInput, StopThirdPartyTelemetryEnrichmentOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link StopThirdPartyTelemetryEnrichmentCommand}.
11
+ */
12
+ export interface StopThirdPartyTelemetryEnrichmentCommandInput extends StopThirdPartyTelemetryEnrichmentInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link StopThirdPartyTelemetryEnrichmentCommand}.
18
+ */
19
+ export interface StopThirdPartyTelemetryEnrichmentCommandOutput extends StopThirdPartyTelemetryEnrichmentOutput, __MetadataBearer {
20
+ }
21
+ declare const StopThirdPartyTelemetryEnrichmentCommand_base: {
22
+ new (input: StopThirdPartyTelemetryEnrichmentCommandInput): import("@smithy/core/client").CommandImpl<StopThirdPartyTelemetryEnrichmentCommandInput, StopThirdPartyTelemetryEnrichmentCommandOutput, import("..").ObservabilityAdminClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StopThirdPartyTelemetryEnrichmentCommandInput): import("@smithy/core/client").CommandImpl<StopThirdPartyTelemetryEnrichmentCommandInput, StopThirdPartyTelemetryEnrichmentCommandOutput, import("..").ObservabilityAdminClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Stops a third-party telemetry enrichment. CloudWatch stops adding resource metadata from the third-party telemetry source to your telemetry.</p> <p>To use this operation, you must have the <code>config:DeleteServiceLinkedConfigurationRecorder</code> permission.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ObservabilityAdminClient, StopThirdPartyTelemetryEnrichmentCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
32
+ * // const { ObservabilityAdminClient, StopThirdPartyTelemetryEnrichmentCommand } = require("@aws-sdk/client-observabilityadmin"); // CommonJS import
33
+ * // import type { ObservabilityAdminClientConfig } from "@aws-sdk/client-observabilityadmin";
34
+ * const config = {}; // type is ObservabilityAdminClientConfig
35
+ * const client = new ObservabilityAdminClient(config);
36
+ * const input = { // StopThirdPartyTelemetryEnrichmentInput
37
+ * TelemetryEnrichmentIdentifier: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new StopThirdPartyTelemetryEnrichmentCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // StopThirdPartyTelemetryEnrichmentOutput
42
+ * // Name: "STRING_VALUE", // required
43
+ * // TelemetrySource: "Azure", // required
44
+ * // Status: "Initializing" || "Running" || "Stopped" || "Impaired", // required
45
+ * // StatusReason: "STRING_VALUE",
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param StopThirdPartyTelemetryEnrichmentCommandInput - {@link StopThirdPartyTelemetryEnrichmentCommandInput}
51
+ * @returns {@link StopThirdPartyTelemetryEnrichmentCommandOutput}
52
+ * @see {@link StopThirdPartyTelemetryEnrichmentCommandInput} for command's `input` shape.
53
+ * @see {@link StopThirdPartyTelemetryEnrichmentCommandOutput} for command's `response` shape.
54
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <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>
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p> The requested operation conflicts with the current state of the specified resource or with another request. </p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p> Indicates the request has failed to process because of an unknown server error, exception, or failure. </p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p> The specified resource (such as a telemetry rule) could not be found. </p>
67
+ *
68
+ * @throws {@link TooManyRequestsException} (client fault)
69
+ * <p> The request throughput limit was exceeded. </p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p> Indicates input validation failed. Check your request parameters and retry the request. </p>
73
+ *
74
+ * @throws {@link ObservabilityAdminServiceException}
75
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class StopThirdPartyTelemetryEnrichmentCommand extends StopThirdPartyTelemetryEnrichmentCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: StopThirdPartyTelemetryEnrichmentInput;
85
+ output: StopThirdPartyTelemetryEnrichmentOutput;
86
+ };
87
+ sdk: {
88
+ input: StopThirdPartyTelemetryEnrichmentCommandInput;
89
+ output: StopThirdPartyTelemetryEnrichmentCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -24,7 +24,7 @@ declare const TagResourceCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p> Adds or updates tags for a resource. Supports telemetry rule resources and telemetry pipeline resources. </p>
27
+ * <p> Adds or updates tags for a resource. Supports telemetry rule resources, telemetry pipeline resources, and third-party telemetry enrichment resources. </p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -24,7 +24,7 @@ declare const UntagResourceCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p> Removes tags from a resource. Supports telemetry rule resources and telemetry pipeline resources. </p>
27
+ * <p> Removes tags from a resource. Supports telemetry rule resources, telemetry pipeline resources, and third-party telemetry enrichment resources. </p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -49,6 +49,9 @@ declare const UpdateCentralizationRuleForOrganizationCommand_base: {
49
49
  * SourceMetricsConfiguration: { // SourceMetricsConfiguration
50
50
  * MetricsSelectionCriteria: "STRING_VALUE",
51
51
  * },
52
+ * SourceProfilesConfiguration: { // SourceProfilesConfiguration
53
+ * ProfilesSelectionCriteria: "STRING_VALUE",
54
+ * },
52
55
  * SourceContextGraphConfiguration: {},
53
56
  * },
54
57
  * Destination: { // CentralizationRuleDestination
@@ -79,6 +82,11 @@ declare const UpdateCentralizationRuleForOrganizationCommand_base: {
79
82
  * Region: "STRING_VALUE", // required
80
83
  * },
81
84
  * },
85
+ * DestinationProfilesConfiguration: { // DestinationProfilesConfiguration
86
+ * BackupConfiguration: { // ProfilesBackupConfiguration
87
+ * Region: "STRING_VALUE", // required
88
+ * },
89
+ * },
82
90
  * },
83
91
  * },
84
92
  * };
@@ -1,16 +1,21 @@
1
1
  export * from "./CreateCentralizationRuleForOrganizationCommand";
2
+ export * from "./CreateConnectorCommand";
2
3
  export * from "./CreateDatasetIntegrationCommand";
3
4
  export * from "./CreateS3TableIntegrationCommand";
4
5
  export * from "./CreateTelemetryPipelineCommand";
5
6
  export * from "./CreateTelemetryRuleCommand";
6
7
  export * from "./CreateTelemetryRuleForOrganizationCommand";
7
8
  export * from "./DeleteCentralizationRuleForOrganizationCommand";
9
+ export * from "./DeleteConnectorCommand";
8
10
  export * from "./DeleteDatasetIntegrationCommand";
9
11
  export * from "./DeleteS3TableIntegrationCommand";
10
12
  export * from "./DeleteTelemetryPipelineCommand";
11
13
  export * from "./DeleteTelemetryRuleCommand";
12
14
  export * from "./DeleteTelemetryRuleForOrganizationCommand";
13
15
  export * from "./GetCentralizationRuleForOrganizationCommand";
16
+ export * from "./GetConnectorCommand";
17
+ export * from "./GetConnectorTelemetryManifestCommand";
18
+ export * from "./GetConnectorTelemetrySetupCommand";
14
19
  export * from "./GetDatasetIntegrationCommand";
15
20
  export * from "./GetS3TableIntegrationCommand";
16
21
  export * from "./GetTelemetryEnrichmentStatusCommand";
@@ -19,21 +24,29 @@ export * from "./GetTelemetryEvaluationStatusForOrganizationCommand";
19
24
  export * from "./GetTelemetryPipelineCommand";
20
25
  export * from "./GetTelemetryRuleCommand";
21
26
  export * from "./GetTelemetryRuleForOrganizationCommand";
27
+ export * from "./GetThirdPartyTelemetryEnrichmentCommand";
22
28
  export * from "./ListCentralizationRulesForOrganizationCommand";
29
+ export * from "./ListConnectorsCommand";
23
30
  export * from "./ListDatasetIntegrationsCommand";
24
31
  export * from "./ListResourceTelemetryCommand";
25
32
  export * from "./ListResourceTelemetryForOrganizationCommand";
33
+ export * from "./ListResourcesByConnectorCommand";
26
34
  export * from "./ListS3TableIntegrationsCommand";
27
35
  export * from "./ListTagsForResourceCommand";
28
36
  export * from "./ListTelemetryPipelinesCommand";
29
37
  export * from "./ListTelemetryRulesCommand";
30
38
  export * from "./ListTelemetryRulesForOrganizationCommand";
39
+ export * from "./ListThirdPartyTelemetryEnrichmentsCommand";
40
+ export * from "./PutConnectorTelemetryManifestCommand";
31
41
  export * from "./StartTelemetryEnrichmentCommand";
32
42
  export * from "./StartTelemetryEvaluationCommand";
33
43
  export * from "./StartTelemetryEvaluationForOrganizationCommand";
44
+ export * from "./StartTelemetryPipelineRefreshCommand";
45
+ export * from "./StartThirdPartyTelemetryEnrichmentCommand";
34
46
  export * from "./StopTelemetryEnrichmentCommand";
35
47
  export * from "./StopTelemetryEvaluationCommand";
36
48
  export * from "./StopTelemetryEvaluationForOrganizationCommand";
49
+ export * from "./StopThirdPartyTelemetryEnrichmentCommand";
37
50
  export * from "./TagResourceCommand";
38
51
  export * from "./TestTelemetryPipelineCommand";
39
52
  export * from "./UntagResourceCommand";
@@ -14,6 +14,31 @@ export declare const Action: {
14
14
  * @public
15
15
  */
16
16
  export type Action = (typeof Action)[keyof typeof Action];
17
+ /**
18
+ * @public
19
+ * @enum
20
+ */
21
+ export declare const AzureEventHubTier: {
22
+ readonly PREMIUM: "Premium";
23
+ readonly STANDARD: "Standard";
24
+ };
25
+ /**
26
+ * @public
27
+ */
28
+ export type AzureEventHubTier = (typeof AzureEventHubTier)[keyof typeof AzureEventHubTier];
29
+ /**
30
+ * @public
31
+ * @enum
32
+ */
33
+ export declare const AzureTelemetryType: {
34
+ readonly FLOW_LOGS: "FlowLogs";
35
+ readonly METRICS: "Metrics";
36
+ readonly RESOURCE_LOGS: "ResourceLogs";
37
+ };
38
+ /**
39
+ * @public
40
+ */
41
+ export type AzureTelemetryType = (typeof AzureTelemetryType)[keyof typeof AzureTelemetryType];
17
42
  /**
18
43
  * @public
19
44
  * @enum
@@ -155,6 +180,17 @@ export declare const TagPropagationStatus: {
155
180
  * @public
156
181
  */
157
182
  export type TagPropagationStatus = (typeof TagPropagationStatus)[keyof typeof TagPropagationStatus];
183
+ /**
184
+ * @public
185
+ * @enum
186
+ */
187
+ export declare const ConnectorProvider: {
188
+ readonly AZURE: "AZURE";
189
+ };
190
+ /**
191
+ * @public
192
+ */
193
+ export type ConnectorProvider = (typeof ConnectorProvider)[keyof typeof ConnectorProvider];
158
194
  /**
159
195
  * @public
160
196
  * @enum
@@ -322,6 +358,17 @@ export declare const TelemetryType: {
322
358
  * @public
323
359
  */
324
360
  export type TelemetryType = (typeof TelemetryType)[keyof typeof TelemetryType];
361
+ /**
362
+ * @public
363
+ * @enum
364
+ */
365
+ export declare const SetupFormat: {
366
+ readonly BICEP: "BICEP";
367
+ };
368
+ /**
369
+ * @public
370
+ */
371
+ export type SetupFormat = (typeof SetupFormat)[keyof typeof SetupFormat];
325
372
  /**
326
373
  * @public
327
374
  * @enum
@@ -380,6 +427,32 @@ export declare const TelemetryPipelineStatus: {
380
427
  * @public
381
428
  */
382
429
  export type TelemetryPipelineStatus = (typeof TelemetryPipelineStatus)[keyof typeof TelemetryPipelineStatus];
430
+ /**
431
+ * @public
432
+ * @enum
433
+ */
434
+ export declare const ThirdPartyTelemetryEnrichmentStatus: {
435
+ /**
436
+ * <p>The enrichment has a problem that prevents it from working as expected. <code>StatusReason</code> describes the problem.</p>
437
+ */
438
+ readonly IMPAIRED: "Impaired";
439
+ /**
440
+ * <p>CloudWatch is setting up the enrichment. Some telemetry can be enriched before setup completes.</p>
441
+ */
442
+ readonly INITIALIZING: "Initializing";
443
+ /**
444
+ * <p>The enrichment is active. CloudWatch adds resource metadata from the telemetry source to your telemetry.</p>
445
+ */
446
+ readonly RUNNING: "Running";
447
+ /**
448
+ * <p>The enrichment is stopped. CloudWatch no longer adds resource metadata from the telemetry source to your telemetry.</p>
449
+ */
450
+ readonly STOPPED: "Stopped";
451
+ };
452
+ /**
453
+ * @public
454
+ */
455
+ export type ThirdPartyTelemetryEnrichmentStatus = (typeof ThirdPartyTelemetryEnrichmentStatus)[keyof typeof ThirdPartyTelemetryEnrichmentStatus];
383
456
  /**
384
457
  * @public
385
458
  * @enum
@@ -393,6 +466,20 @@ export declare const TelemetryState: {
393
466
  * @public
394
467
  */
395
468
  export type TelemetryState = (typeof TelemetryState)[keyof typeof TelemetryState];
469
+ /**
470
+ * @public
471
+ * @enum
472
+ */
473
+ export declare const ThirdPartyTelemetrySource: {
474
+ /**
475
+ * <p> <code>AZURE</code> - Microsoft Azure.</p>
476
+ */
477
+ readonly AZURE: "Azure";
478
+ };
479
+ /**
480
+ * @public
481
+ */
482
+ export type ThirdPartyTelemetrySource = (typeof ThirdPartyTelemetrySource)[keyof typeof ThirdPartyTelemetrySource];
396
483
  /**
397
484
  * @public
398
485
  * @enum