@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,188 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListResourcesByConnectorInput, ListResourcesByConnectorOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListResourcesByConnectorCommand}.
11
+ */
12
+ export interface ListResourcesByConnectorCommandInput extends ListResourcesByConnectorInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListResourcesByConnectorCommand}.
18
+ */
19
+ export interface ListResourcesByConnectorCommandOutput extends ListResourcesByConnectorOutput, __MetadataBearer {
20
+ }
21
+ declare const ListResourcesByConnectorCommand_base: {
22
+ new (input: ListResourcesByConnectorCommandInput): import("@smithy/core/client").CommandImpl<ListResourcesByConnectorCommandInput, ListResourcesByConnectorCommandOutput, import("..").ObservabilityAdminClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListResourcesByConnectorCommandInput): import("@smithy/core/client").CommandImpl<ListResourcesByConnectorCommandInput, ListResourcesByConnectorCommandOutput, import("..").ObservabilityAdminClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists resources in your cloud provider that the connector can access, such as management groups, subscriptions, resource types, Regions, resources, and Event Hubs. Use the results to build a telemetry manifest. This operation returns results in pages. To get the next page, pass the returned <code>NextToken</code> in the next call. We recommend that you use pagination to ensure that the operation returns quickly and successfully.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ObservabilityAdminClient, ListResourcesByConnectorCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
32
+ * // const { ObservabilityAdminClient, ListResourcesByConnectorCommand } = 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 = { // ListResourcesByConnectorInput
37
+ * ConnectorIdentifier: "STRING_VALUE", // required
38
+ * Selector: { // ConnectorQuery Union: only one key present
39
+ * Azure: { // AzureConnectorQuery Union: only one key present
40
+ * ManagementGroups: { // AzureManagementGroupsQuery
41
+ * ParentManagementGroupId: "STRING_VALUE",
42
+ * },
43
+ * Subscriptions: { // AzureSubscriptionsQuery
44
+ * ManagementGroupId: "STRING_VALUE",
45
+ * },
46
+ * ResourceTypes: { // AzureResourceTypesQuery
47
+ * Scope: { // AzureQueryScope
48
+ * ManagementGroupId: "STRING_VALUE",
49
+ * SubscriptionIds: [ // AzureSubscriptionIdList
50
+ * "STRING_VALUE",
51
+ * ],
52
+ * },
53
+ * },
54
+ * Regions: { // AzureRegionsQuery
55
+ * Scope: {
56
+ * ManagementGroupId: "STRING_VALUE",
57
+ * SubscriptionIds: [
58
+ * "STRING_VALUE",
59
+ * ],
60
+ * },
61
+ * },
62
+ * ResourceIds: { // AzureResourceIdsQuery
63
+ * Scope: {
64
+ * ManagementGroupId: "STRING_VALUE",
65
+ * SubscriptionIds: [
66
+ * "STRING_VALUE",
67
+ * ],
68
+ * },
69
+ * ResourceType: "STRING_VALUE",
70
+ * Region: "STRING_VALUE",
71
+ * TagFilters: [ // TagFilterList
72
+ * { // TagFilter
73
+ * Key: "STRING_VALUE", // required
74
+ * Values: [ // TagFilterValues // required
75
+ * "STRING_VALUE",
76
+ * ],
77
+ * },
78
+ * ],
79
+ * },
80
+ * EventHubs: { // AzureEventHubsQuery
81
+ * Scope: {
82
+ * ManagementGroupId: "STRING_VALUE",
83
+ * SubscriptionIds: [
84
+ * "STRING_VALUE",
85
+ * ],
86
+ * },
87
+ * NamespaceName: "STRING_VALUE",
88
+ * Region: "STRING_VALUE",
89
+ * },
90
+ * },
91
+ * },
92
+ * MaxResults: Number("int"),
93
+ * NextToken: "STRING_VALUE",
94
+ * };
95
+ * const command = new ListResourcesByConnectorCommand(input);
96
+ * const response = await client.send(command);
97
+ * // { // ListResourcesByConnectorOutput
98
+ * // Results: { // ConnectorQueryResults Union: only one key present
99
+ * // Azure: { // AzureConnectorQueryResults Union: only one key present
100
+ * // ManagementGroups: [ // AzureManagementGroupSummaries
101
+ * // { // AzureManagementGroupSummary
102
+ * // Id: "STRING_VALUE", // required
103
+ * // Name: "STRING_VALUE",
104
+ * // DisplayName: "STRING_VALUE",
105
+ * // },
106
+ * // ],
107
+ * // Subscriptions: [ // AzureSubscriptionSummaries
108
+ * // { // AzureSubscriptionSummary
109
+ * // SubscriptionId: "STRING_VALUE", // required
110
+ * // DisplayName: "STRING_VALUE",
111
+ * // State: "STRING_VALUE",
112
+ * // ManagementGroupId: "STRING_VALUE",
113
+ * // },
114
+ * // ],
115
+ * // ResourceTypes: [ // AzureResourceTypeList
116
+ * // "STRING_VALUE",
117
+ * // ],
118
+ * // Regions: [ // AzureRegionList
119
+ * // "STRING_VALUE",
120
+ * // ],
121
+ * // ResourceIds: [ // AzureResourceIdentifierSummaries
122
+ * // { // AzureResourceIdentifierSummary
123
+ * // ResourceId: "STRING_VALUE", // required
124
+ * // ResourceType: "STRING_VALUE",
125
+ * // Region: "STRING_VALUE",
126
+ * // SubscriptionId: "STRING_VALUE",
127
+ * // Tags: { // AzureResourceTags
128
+ * // "<keys>": "STRING_VALUE",
129
+ * // },
130
+ * // },
131
+ * // ],
132
+ * // EventHubs: [ // AzureEventHubSummaries
133
+ * // { // AzureEventHubSummary
134
+ * // ResourceId: "STRING_VALUE", // required
135
+ * // EventHubName: "STRING_VALUE", // required
136
+ * // NamespaceName: "STRING_VALUE", // required
137
+ * // FullyQualifiedNamespace: "STRING_VALUE", // required
138
+ * // Region: "STRING_VALUE",
139
+ * // SubscriptionId: "STRING_VALUE",
140
+ * // },
141
+ * // ],
142
+ * // },
143
+ * // },
144
+ * // NextToken: "STRING_VALUE",
145
+ * // };
146
+ *
147
+ * ```
148
+ *
149
+ * @param ListResourcesByConnectorCommandInput - {@link ListResourcesByConnectorCommandInput}
150
+ * @returns {@link ListResourcesByConnectorCommandOutput}
151
+ * @see {@link ListResourcesByConnectorCommandInput} for command's `input` shape.
152
+ * @see {@link ListResourcesByConnectorCommandOutput} for command's `response` shape.
153
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
154
+ *
155
+ * @throws {@link AccessDeniedException} (client fault)
156
+ * <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>
157
+ *
158
+ * @throws {@link InternalServerException} (server fault)
159
+ * <p> Indicates the request has failed to process because of an unknown server error, exception, or failure. </p>
160
+ *
161
+ * @throws {@link ResourceNotFoundException} (client fault)
162
+ * <p> The specified resource (such as a telemetry rule) could not be found. </p>
163
+ *
164
+ * @throws {@link TooManyRequestsException} (client fault)
165
+ * <p> The request throughput limit was exceeded. </p>
166
+ *
167
+ * @throws {@link ValidationException} (client fault)
168
+ * <p> Indicates input validation failed. Check your request parameters and retry the request. </p>
169
+ *
170
+ * @throws {@link ObservabilityAdminServiceException}
171
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
172
+ *
173
+ *
174
+ * @public
175
+ */
176
+ export declare class ListResourcesByConnectorCommand extends ListResourcesByConnectorCommand_base {
177
+ /** @internal type navigation helper, not in runtime. */
178
+ protected static __types: {
179
+ api: {
180
+ input: ListResourcesByConnectorInput;
181
+ output: ListResourcesByConnectorOutput;
182
+ };
183
+ sdk: {
184
+ input: ListResourcesByConnectorCommandInput;
185
+ output: ListResourcesByConnectorCommandOutput;
186
+ };
187
+ };
188
+ }
@@ -24,7 +24,7 @@ declare const ListTagsForResourceCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p> Lists all tags attached to the specified resource. Supports telemetry rule resources and telemetry pipeline resources. </p>
27
+ * <p> Lists all tags attached to the specified 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
@@ -0,0 +1,93 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListThirdPartyTelemetryEnrichmentsInput, ListThirdPartyTelemetryEnrichmentsOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListThirdPartyTelemetryEnrichmentsCommand}.
11
+ */
12
+ export interface ListThirdPartyTelemetryEnrichmentsCommandInput extends ListThirdPartyTelemetryEnrichmentsInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListThirdPartyTelemetryEnrichmentsCommand}.
18
+ */
19
+ export interface ListThirdPartyTelemetryEnrichmentsCommandOutput extends ListThirdPartyTelemetryEnrichmentsOutput, __MetadataBearer {
20
+ }
21
+ declare const ListThirdPartyTelemetryEnrichmentsCommand_base: {
22
+ new (input: ListThirdPartyTelemetryEnrichmentsCommandInput): import("@smithy/core/client").CommandImpl<ListThirdPartyTelemetryEnrichmentsCommandInput, ListThirdPartyTelemetryEnrichmentsCommandOutput, import("..").ObservabilityAdminClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListThirdPartyTelemetryEnrichmentsCommandInput]): import("@smithy/core/client").CommandImpl<ListThirdPartyTelemetryEnrichmentsCommandInput, ListThirdPartyTelemetryEnrichmentsCommandOutput, import("..").ObservabilityAdminClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns a summary of each third-party telemetry enrichment in your account and Region. To get the full configuration of an enrichment, use <code>GetThirdPartyTelemetryEnrichment</code>. The results are paginated. To get the next page of results, use <code>NextToken</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ObservabilityAdminClient, ListThirdPartyTelemetryEnrichmentsCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
32
+ * // const { ObservabilityAdminClient, ListThirdPartyTelemetryEnrichmentsCommand } = 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 = { // ListThirdPartyTelemetryEnrichmentsInput
37
+ * Status: "Initializing" || "Running" || "Stopped" || "Impaired",
38
+ * TelemetrySource: "Azure",
39
+ * MaxResults: Number("int"),
40
+ * NextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListThirdPartyTelemetryEnrichmentsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListThirdPartyTelemetryEnrichmentsOutput
45
+ * // TelemetryEnrichments: [ // ThirdPartyTelemetryEnrichmentSummaries
46
+ * // { // ThirdPartyTelemetryEnrichmentSummary
47
+ * // Name: "STRING_VALUE",
48
+ * // TelemetrySource: "Azure",
49
+ * // Status: "Initializing" || "Running" || "Stopped" || "Impaired",
50
+ * // },
51
+ * // ],
52
+ * // NextToken: "STRING_VALUE",
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param ListThirdPartyTelemetryEnrichmentsCommandInput - {@link ListThirdPartyTelemetryEnrichmentsCommandInput}
58
+ * @returns {@link ListThirdPartyTelemetryEnrichmentsCommandOutput}
59
+ * @see {@link ListThirdPartyTelemetryEnrichmentsCommandInput} for command's `input` shape.
60
+ * @see {@link ListThirdPartyTelemetryEnrichmentsCommandOutput} for command's `response` shape.
61
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <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>
65
+ *
66
+ * @throws {@link InternalServerException} (server fault)
67
+ * <p> Indicates the request has failed to process because of an unknown server error, exception, or failure. </p>
68
+ *
69
+ * @throws {@link TooManyRequestsException} (client fault)
70
+ * <p> The request throughput limit was exceeded. </p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p> Indicates input validation failed. Check your request parameters and retry the request. </p>
74
+ *
75
+ * @throws {@link ObservabilityAdminServiceException}
76
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
77
+ *
78
+ *
79
+ * @public
80
+ */
81
+ export declare class ListThirdPartyTelemetryEnrichmentsCommand extends ListThirdPartyTelemetryEnrichmentsCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: ListThirdPartyTelemetryEnrichmentsInput;
86
+ output: ListThirdPartyTelemetryEnrichmentsOutput;
87
+ };
88
+ sdk: {
89
+ input: ListThirdPartyTelemetryEnrichmentsCommandInput;
90
+ output: ListThirdPartyTelemetryEnrichmentsCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -0,0 +1,158 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { PutConnectorTelemetryManifestInput, PutConnectorTelemetryManifestOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link PutConnectorTelemetryManifestCommand}.
11
+ */
12
+ export interface PutConnectorTelemetryManifestCommandInput extends PutConnectorTelemetryManifestInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link PutConnectorTelemetryManifestCommand}.
18
+ */
19
+ export interface PutConnectorTelemetryManifestCommandOutput extends PutConnectorTelemetryManifestOutput, __MetadataBearer {
20
+ }
21
+ declare const PutConnectorTelemetryManifestCommand_base: {
22
+ new (input: PutConnectorTelemetryManifestCommandInput): import("@smithy/core/client").CommandImpl<PutConnectorTelemetryManifestCommandInput, PutConnectorTelemetryManifestCommandOutput, import("..").ObservabilityAdminClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: PutConnectorTelemetryManifestCommandInput): import("@smithy/core/client").CommandImpl<PutConnectorTelemetryManifestCommandInput, PutConnectorTelemetryManifestCommandOutput, import("..").ObservabilityAdminClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates or replaces the telemetry manifest of a connector. The telemetry manifest declares which resources in your cloud provider to collect telemetry from and which telemetry types to collect. To avoid overwriting changes made by another caller, specify <code>ExpectedVersion</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ObservabilityAdminClient, PutConnectorTelemetryManifestCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
32
+ * // const { ObservabilityAdminClient, PutConnectorTelemetryManifestCommand } = 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 = { // PutConnectorTelemetryManifestInput
37
+ * ConnectorIdentifier: "STRING_VALUE", // required
38
+ * Manifest: { // TelemetryManifest
39
+ * Source: { // TelemetryManifestSource Union: only one key present
40
+ * Azure: [ // AzureSources
41
+ * { // AzureScopeItem
42
+ * TelemetryTypes: [ // AzureTelemetryTypeList // required
43
+ * "ResourceLogs" || "Metrics" || "FlowLogs",
44
+ * ],
45
+ * Scope: { // AzureScope
46
+ * Subscriptions: { // AzureSubscriptionScope Union: only one key present
47
+ * All: {},
48
+ * Ids: [ // AzureSubscriptionIdList
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * },
52
+ * Regions: [ // AzureRegionList
53
+ * "STRING_VALUE",
54
+ * ],
55
+ * ResourceTypes: [ // AzureResourceTypeList
56
+ * "STRING_VALUE",
57
+ * ],
58
+ * TagFilters: [ // TagFilterList
59
+ * { // TagFilter
60
+ * Key: "STRING_VALUE", // required
61
+ * Values: [ // TagFilterValues // required
62
+ * "STRING_VALUE",
63
+ * ],
64
+ * },
65
+ * ],
66
+ * Resources: [ // AzureResourceIdScopeList
67
+ * { // AzureResourceIdScope
68
+ * Region: "STRING_VALUE", // required
69
+ * ResourceIds: [ // AzureResourceIdList // required
70
+ * "STRING_VALUE",
71
+ * ],
72
+ * },
73
+ * ],
74
+ * },
75
+ * },
76
+ * ],
77
+ * },
78
+ * Infrastructure: { // TelemetryManifestInfrastructure Union: only one key present
79
+ * Azure: { // AzureInfrastructure
80
+ * SubscriptionId: "STRING_VALUE",
81
+ * EventHubs: [ // AzureEventHubConfigurationList
82
+ * { // AzureEventHubConfiguration
83
+ * Tier: "Standard" || "Premium", // required
84
+ * PartitionCount: Number("int"), // required
85
+ * },
86
+ * ],
87
+ * FlowLogs: { // AzureFlowLogsInfrastructure Union: only one key present
88
+ * CustomerManaged: { // AzureCustomerManagedFlowLogs
89
+ * StorageAccounts: [ // AzureFlowLogStorageAccountScopeList // required
90
+ * { // AzureFlowLogStorageAccountScope
91
+ * Region: "STRING_VALUE", // required
92
+ * StorageAccountIds: [ // AzureStorageAccountIdList // required
93
+ * "STRING_VALUE",
94
+ * ],
95
+ * },
96
+ * ],
97
+ * },
98
+ * AwsManaged: { // AzureAwsManagedFlowLogs
99
+ * RetentionDays: Number("int"), // required
100
+ * },
101
+ * },
102
+ * },
103
+ * },
104
+ * },
105
+ * ExpectedVersion: Number("long"),
106
+ * ClientToken: "STRING_VALUE",
107
+ * };
108
+ * const command = new PutConnectorTelemetryManifestCommand(input);
109
+ * const response = await client.send(command);
110
+ * // { // PutConnectorTelemetryManifestOutput
111
+ * // Version: Number("long"), // required
112
+ * // };
113
+ *
114
+ * ```
115
+ *
116
+ * @param PutConnectorTelemetryManifestCommandInput - {@link PutConnectorTelemetryManifestCommandInput}
117
+ * @returns {@link PutConnectorTelemetryManifestCommandOutput}
118
+ * @see {@link PutConnectorTelemetryManifestCommandInput} for command's `input` shape.
119
+ * @see {@link PutConnectorTelemetryManifestCommandOutput} for command's `response` shape.
120
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
121
+ *
122
+ * @throws {@link AccessDeniedException} (client fault)
123
+ * <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>
124
+ *
125
+ * @throws {@link ConflictException} (client fault)
126
+ * <p> The requested operation conflicts with the current state of the specified resource or with another request. </p>
127
+ *
128
+ * @throws {@link InternalServerException} (server fault)
129
+ * <p> Indicates the request has failed to process because of an unknown server error, exception, or failure. </p>
130
+ *
131
+ * @throws {@link ResourceNotFoundException} (client fault)
132
+ * <p> The specified resource (such as a telemetry rule) could not be found. </p>
133
+ *
134
+ * @throws {@link TooManyRequestsException} (client fault)
135
+ * <p> The request throughput limit was exceeded. </p>
136
+ *
137
+ * @throws {@link ValidationException} (client fault)
138
+ * <p> Indicates input validation failed. Check your request parameters and retry the request. </p>
139
+ *
140
+ * @throws {@link ObservabilityAdminServiceException}
141
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
142
+ *
143
+ *
144
+ * @public
145
+ */
146
+ export declare class PutConnectorTelemetryManifestCommand extends PutConnectorTelemetryManifestCommand_base {
147
+ /** @internal type navigation helper, not in runtime. */
148
+ protected static __types: {
149
+ api: {
150
+ input: PutConnectorTelemetryManifestInput;
151
+ output: PutConnectorTelemetryManifestOutput;
152
+ };
153
+ sdk: {
154
+ input: PutConnectorTelemetryManifestCommandInput;
155
+ output: PutConnectorTelemetryManifestCommandOutput;
156
+ };
157
+ };
158
+ }
@@ -0,0 +1,87 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { StartTelemetryPipelineRefreshInput, StartTelemetryPipelineRefreshOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link StartTelemetryPipelineRefreshCommand}.
11
+ */
12
+ export interface StartTelemetryPipelineRefreshCommandInput extends StartTelemetryPipelineRefreshInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link StartTelemetryPipelineRefreshCommand}.
18
+ */
19
+ export interface StartTelemetryPipelineRefreshCommandOutput extends StartTelemetryPipelineRefreshOutput, __MetadataBearer {
20
+ }
21
+ declare const StartTelemetryPipelineRefreshCommand_base: {
22
+ new (input: StartTelemetryPipelineRefreshCommandInput): import("@smithy/core/client").CommandImpl<StartTelemetryPipelineRefreshCommandInput, StartTelemetryPipelineRefreshCommandOutput, import("..").ObservabilityAdminClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StartTelemetryPipelineRefreshCommandInput): import("@smithy/core/client").CommandImpl<StartTelemetryPipelineRefreshCommandInput, StartTelemetryPipelineRefreshCommandOutput, import("..").ObservabilityAdminClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Starts a refresh of an external-cloud telemetry pipeline. The refresh re-reads the connector's telemetry manifest and re-discovers the sources in scope.</p> <p>The pipeline must be in the <code>ACTIVE</code> or <code>UPDATE_FAILED</code> state, with no refresh already running. You can use <code>GetTelemetryPipeline</code> to track the refresh.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ObservabilityAdminClient, StartTelemetryPipelineRefreshCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
32
+ * // const { ObservabilityAdminClient, StartTelemetryPipelineRefreshCommand } = 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 = { // StartTelemetryPipelineRefreshInput
37
+ * PipelineIdentifier: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new StartTelemetryPipelineRefreshCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param StartTelemetryPipelineRefreshCommandInput - {@link StartTelemetryPipelineRefreshCommandInput}
46
+ * @returns {@link StartTelemetryPipelineRefreshCommandOutput}
47
+ * @see {@link StartTelemetryPipelineRefreshCommandInput} for command's `input` shape.
48
+ * @see {@link StartTelemetryPipelineRefreshCommandOutput} for command's `response` shape.
49
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
50
+ *
51
+ * @throws {@link AccessDeniedException} (client fault)
52
+ * <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>
53
+ *
54
+ * @throws {@link ConflictException} (client fault)
55
+ * <p> The requested operation conflicts with the current state of the specified resource or with another request. </p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p> Indicates the request has failed to process because of an unknown server error, exception, or failure. </p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p> The specified resource (such as a telemetry rule) could not be found. </p>
62
+ *
63
+ * @throws {@link TooManyRequestsException} (client fault)
64
+ * <p> The request throughput limit was exceeded. </p>
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ * <p> Indicates input validation failed. Check your request parameters and retry the request. </p>
68
+ *
69
+ * @throws {@link ObservabilityAdminServiceException}
70
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
71
+ *
72
+ *
73
+ * @public
74
+ */
75
+ export declare class StartTelemetryPipelineRefreshCommand extends StartTelemetryPipelineRefreshCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: StartTelemetryPipelineRefreshInput;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: StartTelemetryPipelineRefreshCommandInput;
84
+ output: StartTelemetryPipelineRefreshCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -0,0 +1,109 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { StartThirdPartyTelemetryEnrichmentInput, StartThirdPartyTelemetryEnrichmentOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link StartThirdPartyTelemetryEnrichmentCommand}.
11
+ */
12
+ export interface StartThirdPartyTelemetryEnrichmentCommandInput extends StartThirdPartyTelemetryEnrichmentInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link StartThirdPartyTelemetryEnrichmentCommand}.
18
+ */
19
+ export interface StartThirdPartyTelemetryEnrichmentCommandOutput extends StartThirdPartyTelemetryEnrichmentOutput, __MetadataBearer {
20
+ }
21
+ declare const StartThirdPartyTelemetryEnrichmentCommand_base: {
22
+ new (input: StartThirdPartyTelemetryEnrichmentCommandInput): import("@smithy/core/client").CommandImpl<StartThirdPartyTelemetryEnrichmentCommandInput, StartThirdPartyTelemetryEnrichmentCommandOutput, import("..").ObservabilityAdminClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StartThirdPartyTelemetryEnrichmentCommandInput): import("@smithy/core/client").CommandImpl<StartThirdPartyTelemetryEnrichmentCommandInput, StartThirdPartyTelemetryEnrichmentCommandOutput, import("..").ObservabilityAdminClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Starts a third-party telemetry enrichment. An enrichment adds resource metadata, such as tags, from a third-party telemetry source to the telemetry that CloudWatch receives from the resources of that source.</p> <p>You specify an Amazon Web Services Config connector for your third-party environment, such as a Microsoft Azure tenant. You can use each connector for only one enrichment.</p> <p>To use this operation, you must have the <code>config:PutThirdPartyServiceLinkedConfigurationRecorder</code> permission. If the Amazon Web Services Config service-linked role does not exist in your account, you must also have the <code>iam:CreateServiceLinkedRole</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, StartThirdPartyTelemetryEnrichmentCommand } from "@aws-sdk/client-observabilityadmin"; // ES Modules import
32
+ * // const { ObservabilityAdminClient, StartThirdPartyTelemetryEnrichmentCommand } = 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 = { // StartThirdPartyTelemetryEnrichmentInput
37
+ * Name: "STRING_VALUE", // required
38
+ * TelemetrySourceConfiguration: { // TelemetrySourceConfigurationInput Union: only one key present
39
+ * Azure: { // AzureTelemetrySourceConfigurationInput
40
+ * AwsConfigConnectorArn: "STRING_VALUE", // required
41
+ * },
42
+ * },
43
+ * Tags: { // TagMapInput
44
+ * "<keys>": "STRING_VALUE",
45
+ * },
46
+ * };
47
+ * const command = new StartThirdPartyTelemetryEnrichmentCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // StartThirdPartyTelemetryEnrichmentOutput
50
+ * // Arn: "STRING_VALUE", // required
51
+ * // Name: "STRING_VALUE", // required
52
+ * // Status: "Initializing" || "Running" || "Stopped" || "Impaired", // required
53
+ * // StatusReason: "STRING_VALUE",
54
+ * // TelemetrySourceConfiguration: { // TelemetrySourceConfigurationOutput Union: only one key present
55
+ * // Azure: { // AzureTelemetrySourceConfigurationOutput
56
+ * // AwsConfigConnectorArn: "STRING_VALUE",
57
+ * // ServiceLinkedRecorderArn: "STRING_VALUE",
58
+ * // },
59
+ * // },
60
+ * // Tags: { // TagMapOutput
61
+ * // "<keys>": "STRING_VALUE",
62
+ * // },
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param StartThirdPartyTelemetryEnrichmentCommandInput - {@link StartThirdPartyTelemetryEnrichmentCommandInput}
68
+ * @returns {@link StartThirdPartyTelemetryEnrichmentCommandOutput}
69
+ * @see {@link StartThirdPartyTelemetryEnrichmentCommandInput} for command's `input` shape.
70
+ * @see {@link StartThirdPartyTelemetryEnrichmentCommandOutput} for command's `response` shape.
71
+ * @see {@link ObservabilityAdminClientResolvedConfig | config} for ObservabilityAdminClient's `config` shape.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * <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>
75
+ *
76
+ * @throws {@link ConflictException} (client fault)
77
+ * <p> The requested operation conflicts with the current state of the specified resource or with another request. </p>
78
+ *
79
+ * @throws {@link InternalServerException} (server fault)
80
+ * <p> Indicates the request has failed to process because of an unknown server error, exception, or failure. </p>
81
+ *
82
+ * @throws {@link ServiceQuotaExceededException} (client fault)
83
+ * <p> The requested operation would exceed the allowed quota for the specified resource type. </p>
84
+ *
85
+ * @throws {@link TooManyRequestsException} (client fault)
86
+ * <p> The request throughput limit was exceeded. </p>
87
+ *
88
+ * @throws {@link ValidationException} (client fault)
89
+ * <p> Indicates input validation failed. Check your request parameters and retry the request. </p>
90
+ *
91
+ * @throws {@link ObservabilityAdminServiceException}
92
+ * <p>Base exception class for all service exceptions from ObservabilityAdmin service.</p>
93
+ *
94
+ *
95
+ * @public
96
+ */
97
+ export declare class StartThirdPartyTelemetryEnrichmentCommand extends StartThirdPartyTelemetryEnrichmentCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: StartThirdPartyTelemetryEnrichmentInput;
102
+ output: StartThirdPartyTelemetryEnrichmentOutput;
103
+ };
104
+ sdk: {
105
+ input: StartThirdPartyTelemetryEnrichmentCommandInput;
106
+ output: StartThirdPartyTelemetryEnrichmentCommandOutput;
107
+ };
108
+ };
109
+ }