@aws-sdk/client-observabilityadmin 3.974.0 → 3.978.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
CHANGED
|
@@ -1725,6 +1725,20 @@ class ValidateTelemetryPipelineConfigurationCommand extends smithyClient.Command
|
|
|
1725
1725
|
.build() {
|
|
1726
1726
|
}
|
|
1727
1727
|
|
|
1728
|
+
const paginateListCentralizationRulesForOrganization = core.createPaginator(ObservabilityAdminClient, ListCentralizationRulesForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
|
|
1729
|
+
|
|
1730
|
+
const paginateListResourceTelemetryForOrganization = core.createPaginator(ObservabilityAdminClient, ListResourceTelemetryForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
|
|
1731
|
+
|
|
1732
|
+
const paginateListResourceTelemetry = core.createPaginator(ObservabilityAdminClient, ListResourceTelemetryCommand, "NextToken", "NextToken", "MaxResults");
|
|
1733
|
+
|
|
1734
|
+
const paginateListS3TableIntegrations = core.createPaginator(ObservabilityAdminClient, ListS3TableIntegrationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1735
|
+
|
|
1736
|
+
const paginateListTelemetryPipelines = core.createPaginator(ObservabilityAdminClient, ListTelemetryPipelinesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1737
|
+
|
|
1738
|
+
const paginateListTelemetryRulesForOrganization = core.createPaginator(ObservabilityAdminClient, ListTelemetryRulesForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
|
|
1739
|
+
|
|
1740
|
+
const paginateListTelemetryRules = core.createPaginator(ObservabilityAdminClient, ListTelemetryRulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1741
|
+
|
|
1728
1742
|
const commands = {
|
|
1729
1743
|
CreateCentralizationRuleForOrganizationCommand,
|
|
1730
1744
|
CreateS3TableIntegrationCommand,
|
|
@@ -1767,23 +1781,18 @@ const commands = {
|
|
|
1767
1781
|
UpdateTelemetryRuleForOrganizationCommand,
|
|
1768
1782
|
ValidateTelemetryPipelineConfigurationCommand,
|
|
1769
1783
|
};
|
|
1784
|
+
const paginators = {
|
|
1785
|
+
paginateListCentralizationRulesForOrganization,
|
|
1786
|
+
paginateListResourceTelemetry,
|
|
1787
|
+
paginateListResourceTelemetryForOrganization,
|
|
1788
|
+
paginateListS3TableIntegrations,
|
|
1789
|
+
paginateListTelemetryPipelines,
|
|
1790
|
+
paginateListTelemetryRules,
|
|
1791
|
+
paginateListTelemetryRulesForOrganization,
|
|
1792
|
+
};
|
|
1770
1793
|
class ObservabilityAdmin extends ObservabilityAdminClient {
|
|
1771
1794
|
}
|
|
1772
|
-
smithyClient.createAggregatedClient(commands, ObservabilityAdmin);
|
|
1773
|
-
|
|
1774
|
-
const paginateListCentralizationRulesForOrganization = core.createPaginator(ObservabilityAdminClient, ListCentralizationRulesForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
|
|
1775
|
-
|
|
1776
|
-
const paginateListResourceTelemetry = core.createPaginator(ObservabilityAdminClient, ListResourceTelemetryCommand, "NextToken", "NextToken", "MaxResults");
|
|
1777
|
-
|
|
1778
|
-
const paginateListResourceTelemetryForOrganization = core.createPaginator(ObservabilityAdminClient, ListResourceTelemetryForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
|
|
1779
|
-
|
|
1780
|
-
const paginateListS3TableIntegrations = core.createPaginator(ObservabilityAdminClient, ListS3TableIntegrationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1781
|
-
|
|
1782
|
-
const paginateListTelemetryPipelines = core.createPaginator(ObservabilityAdminClient, ListTelemetryPipelinesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1783
|
-
|
|
1784
|
-
const paginateListTelemetryRules = core.createPaginator(ObservabilityAdminClient, ListTelemetryRulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1785
|
-
|
|
1786
|
-
const paginateListTelemetryRulesForOrganization = core.createPaginator(ObservabilityAdminClient, ListTelemetryRulesForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
|
|
1795
|
+
smithyClient.createAggregatedClient(commands, ObservabilityAdmin, { paginators });
|
|
1787
1796
|
|
|
1788
1797
|
const Action = {
|
|
1789
1798
|
ALLOW: "ALLOW",
|
|
@@ -40,6 +40,13 @@ import { UpdateTelemetryRuleCommand, } from "./commands/UpdateTelemetryRuleComma
|
|
|
40
40
|
import { UpdateTelemetryRuleForOrganizationCommand, } from "./commands/UpdateTelemetryRuleForOrganizationCommand";
|
|
41
41
|
import { ValidateTelemetryPipelineConfigurationCommand, } from "./commands/ValidateTelemetryPipelineConfigurationCommand";
|
|
42
42
|
import { ObservabilityAdminClient } from "./ObservabilityAdminClient";
|
|
43
|
+
import { paginateListCentralizationRulesForOrganization, } from "./pagination/ListCentralizationRulesForOrganizationPaginator";
|
|
44
|
+
import { paginateListResourceTelemetryForOrganization, } from "./pagination/ListResourceTelemetryForOrganizationPaginator";
|
|
45
|
+
import { paginateListResourceTelemetry } from "./pagination/ListResourceTelemetryPaginator";
|
|
46
|
+
import { paginateListS3TableIntegrations } from "./pagination/ListS3TableIntegrationsPaginator";
|
|
47
|
+
import { paginateListTelemetryPipelines } from "./pagination/ListTelemetryPipelinesPaginator";
|
|
48
|
+
import { paginateListTelemetryRulesForOrganization } from "./pagination/ListTelemetryRulesForOrganizationPaginator";
|
|
49
|
+
import { paginateListTelemetryRules } from "./pagination/ListTelemetryRulesPaginator";
|
|
43
50
|
const commands = {
|
|
44
51
|
CreateCentralizationRuleForOrganizationCommand,
|
|
45
52
|
CreateS3TableIntegrationCommand,
|
|
@@ -82,6 +89,15 @@ const commands = {
|
|
|
82
89
|
UpdateTelemetryRuleForOrganizationCommand,
|
|
83
90
|
ValidateTelemetryPipelineConfigurationCommand,
|
|
84
91
|
};
|
|
92
|
+
const paginators = {
|
|
93
|
+
paginateListCentralizationRulesForOrganization,
|
|
94
|
+
paginateListResourceTelemetry,
|
|
95
|
+
paginateListResourceTelemetryForOrganization,
|
|
96
|
+
paginateListS3TableIntegrations,
|
|
97
|
+
paginateListTelemetryPipelines,
|
|
98
|
+
paginateListTelemetryRules,
|
|
99
|
+
paginateListTelemetryRulesForOrganization,
|
|
100
|
+
};
|
|
85
101
|
export class ObservabilityAdmin extends ObservabilityAdminClient {
|
|
86
102
|
}
|
|
87
|
-
createAggregatedClient(commands, ObservabilityAdmin);
|
|
103
|
+
createAggregatedClient(commands, ObservabilityAdmin, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CreateCentralizationRuleForOrganizationCommandInput, CreateCentralizationRuleForOrganizationCommandOutput } from "./commands/CreateCentralizationRuleForOrganizationCommand";
|
|
3
3
|
import { CreateS3TableIntegrationCommandInput, CreateS3TableIntegrationCommandOutput } from "./commands/CreateS3TableIntegrationCommand";
|
|
4
4
|
import { CreateTelemetryPipelineCommandInput, CreateTelemetryPipelineCommandOutput } from "./commands/CreateTelemetryPipelineCommand";
|
|
@@ -297,6 +297,55 @@ export interface ObservabilityAdmin {
|
|
|
297
297
|
validateTelemetryPipelineConfiguration(args: ValidateTelemetryPipelineConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<ValidateTelemetryPipelineConfigurationCommandOutput>;
|
|
298
298
|
validateTelemetryPipelineConfiguration(args: ValidateTelemetryPipelineConfigurationCommandInput, cb: (err: any, data?: ValidateTelemetryPipelineConfigurationCommandOutput) => void): void;
|
|
299
299
|
validateTelemetryPipelineConfiguration(args: ValidateTelemetryPipelineConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ValidateTelemetryPipelineConfigurationCommandOutput) => void): void;
|
|
300
|
+
/**
|
|
301
|
+
* @see {@link ListCentralizationRulesForOrganizationCommand}
|
|
302
|
+
* @param args - command input.
|
|
303
|
+
* @param paginationConfig - optional pagination config.
|
|
304
|
+
* @returns AsyncIterable of {@link ListCentralizationRulesForOrganizationCommandOutput}.
|
|
305
|
+
*/
|
|
306
|
+
paginateListCentralizationRulesForOrganization(args?: ListCentralizationRulesForOrganizationCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCentralizationRulesForOrganizationCommandOutput>;
|
|
307
|
+
/**
|
|
308
|
+
* @see {@link ListResourceTelemetryCommand}
|
|
309
|
+
* @param args - command input.
|
|
310
|
+
* @param paginationConfig - optional pagination config.
|
|
311
|
+
* @returns AsyncIterable of {@link ListResourceTelemetryCommandOutput}.
|
|
312
|
+
*/
|
|
313
|
+
paginateListResourceTelemetry(args?: ListResourceTelemetryCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListResourceTelemetryCommandOutput>;
|
|
314
|
+
/**
|
|
315
|
+
* @see {@link ListResourceTelemetryForOrganizationCommand}
|
|
316
|
+
* @param args - command input.
|
|
317
|
+
* @param paginationConfig - optional pagination config.
|
|
318
|
+
* @returns AsyncIterable of {@link ListResourceTelemetryForOrganizationCommandOutput}.
|
|
319
|
+
*/
|
|
320
|
+
paginateListResourceTelemetryForOrganization(args?: ListResourceTelemetryForOrganizationCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListResourceTelemetryForOrganizationCommandOutput>;
|
|
321
|
+
/**
|
|
322
|
+
* @see {@link ListS3TableIntegrationsCommand}
|
|
323
|
+
* @param args - command input.
|
|
324
|
+
* @param paginationConfig - optional pagination config.
|
|
325
|
+
* @returns AsyncIterable of {@link ListS3TableIntegrationsCommandOutput}.
|
|
326
|
+
*/
|
|
327
|
+
paginateListS3TableIntegrations(args?: ListS3TableIntegrationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListS3TableIntegrationsCommandOutput>;
|
|
328
|
+
/**
|
|
329
|
+
* @see {@link ListTelemetryPipelinesCommand}
|
|
330
|
+
* @param args - command input.
|
|
331
|
+
* @param paginationConfig - optional pagination config.
|
|
332
|
+
* @returns AsyncIterable of {@link ListTelemetryPipelinesCommandOutput}.
|
|
333
|
+
*/
|
|
334
|
+
paginateListTelemetryPipelines(args?: ListTelemetryPipelinesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTelemetryPipelinesCommandOutput>;
|
|
335
|
+
/**
|
|
336
|
+
* @see {@link ListTelemetryRulesCommand}
|
|
337
|
+
* @param args - command input.
|
|
338
|
+
* @param paginationConfig - optional pagination config.
|
|
339
|
+
* @returns AsyncIterable of {@link ListTelemetryRulesCommandOutput}.
|
|
340
|
+
*/
|
|
341
|
+
paginateListTelemetryRules(args?: ListTelemetryRulesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTelemetryRulesCommandOutput>;
|
|
342
|
+
/**
|
|
343
|
+
* @see {@link ListTelemetryRulesForOrganizationCommand}
|
|
344
|
+
* @param args - command input.
|
|
345
|
+
* @param paginationConfig - optional pagination config.
|
|
346
|
+
* @returns AsyncIterable of {@link ListTelemetryRulesForOrganizationCommandOutput}.
|
|
347
|
+
*/
|
|
348
|
+
paginateListTelemetryRulesForOrganization(args?: ListTelemetryRulesForOrganizationCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTelemetryRulesForOrganizationCommandOutput>;
|
|
300
349
|
}
|
|
301
350
|
/**
|
|
302
351
|
* <p> You can use Amazon CloudWatch Observability Admin to discover and understand the state of telemetry configuration in CloudWatch for your Amazon Web Services Organization or account. This simplifies the process of auditing your telemetry collection configurations across multiple resource types within your Amazon Web Services Organization or account. By providing a consolidated view, it allows you to easily review and manage telemetry settings, helping you ensure proper monitoring and data collection across your Amazon Web Services environment. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/telemetry-config-cloudwatch.html">Auditing CloudWatch telemetry configurations</a> in the CloudWatch User Guide.</p> <p>For information on the permissions you need to use this API, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/auth-and-access-control-cw.html">Identity and access management for Amazon CloudWatch</a> in the CloudWatch User Guide.</p>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CreateCentralizationRuleForOrganizationCommandInput,
|
|
4
8
|
CreateCentralizationRuleForOrganizationCommandOutput,
|
|
@@ -781,6 +785,55 @@ export interface ObservabilityAdmin {
|
|
|
781
785
|
data?: ValidateTelemetryPipelineConfigurationCommandOutput
|
|
782
786
|
) => void
|
|
783
787
|
): void;
|
|
788
|
+
paginateListCentralizationRulesForOrganization(
|
|
789
|
+
args?: ListCentralizationRulesForOrganizationCommandInput,
|
|
790
|
+
paginationConfig?: Pick<
|
|
791
|
+
PaginationConfiguration,
|
|
792
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
793
|
+
>
|
|
794
|
+
): Paginator<ListCentralizationRulesForOrganizationCommandOutput>;
|
|
795
|
+
paginateListResourceTelemetry(
|
|
796
|
+
args?: ListResourceTelemetryCommandInput,
|
|
797
|
+
paginationConfig?: Pick<
|
|
798
|
+
PaginationConfiguration,
|
|
799
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
800
|
+
>
|
|
801
|
+
): Paginator<ListResourceTelemetryCommandOutput>;
|
|
802
|
+
paginateListResourceTelemetryForOrganization(
|
|
803
|
+
args?: ListResourceTelemetryForOrganizationCommandInput,
|
|
804
|
+
paginationConfig?: Pick<
|
|
805
|
+
PaginationConfiguration,
|
|
806
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
807
|
+
>
|
|
808
|
+
): Paginator<ListResourceTelemetryForOrganizationCommandOutput>;
|
|
809
|
+
paginateListS3TableIntegrations(
|
|
810
|
+
args?: ListS3TableIntegrationsCommandInput,
|
|
811
|
+
paginationConfig?: Pick<
|
|
812
|
+
PaginationConfiguration,
|
|
813
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
814
|
+
>
|
|
815
|
+
): Paginator<ListS3TableIntegrationsCommandOutput>;
|
|
816
|
+
paginateListTelemetryPipelines(
|
|
817
|
+
args?: ListTelemetryPipelinesCommandInput,
|
|
818
|
+
paginationConfig?: Pick<
|
|
819
|
+
PaginationConfiguration,
|
|
820
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
821
|
+
>
|
|
822
|
+
): Paginator<ListTelemetryPipelinesCommandOutput>;
|
|
823
|
+
paginateListTelemetryRules(
|
|
824
|
+
args?: ListTelemetryRulesCommandInput,
|
|
825
|
+
paginationConfig?: Pick<
|
|
826
|
+
PaginationConfiguration,
|
|
827
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
828
|
+
>
|
|
829
|
+
): Paginator<ListTelemetryRulesCommandOutput>;
|
|
830
|
+
paginateListTelemetryRulesForOrganization(
|
|
831
|
+
args?: ListTelemetryRulesForOrganizationCommandInput,
|
|
832
|
+
paginationConfig?: Pick<
|
|
833
|
+
PaginationConfiguration,
|
|
834
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
835
|
+
>
|
|
836
|
+
): Paginator<ListTelemetryRulesForOrganizationCommandOutput>;
|
|
784
837
|
}
|
|
785
838
|
export declare class ObservabilityAdmin
|
|
786
839
|
extends ObservabilityAdminClient
|
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.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-observabilityadmin",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|