@aws-sdk/client-cloudwatch-logs 3.975.0 → 3.980.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 +57 -37
- package/dist-es/CloudWatchLogs.js +39 -1
- package/dist-types/CloudWatchLogs.d.ts +127 -1
- package/dist-types/ts3.4/CloudWatchLogs.d.ts +131 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -4613,6 +4613,42 @@ class UpdateScheduledQueryCommand extends smithyClient.Command
|
|
|
4613
4613
|
.build() {
|
|
4614
4614
|
}
|
|
4615
4615
|
|
|
4616
|
+
const paginateDescribeConfigurationTemplates = core.createPaginator(CloudWatchLogsClient, DescribeConfigurationTemplatesCommand, "nextToken", "nextToken", "limit");
|
|
4617
|
+
|
|
4618
|
+
const paginateDescribeDeliveries = core.createPaginator(CloudWatchLogsClient, DescribeDeliveriesCommand, "nextToken", "nextToken", "limit");
|
|
4619
|
+
|
|
4620
|
+
const paginateDescribeDeliveryDestinations = core.createPaginator(CloudWatchLogsClient, DescribeDeliveryDestinationsCommand, "nextToken", "nextToken", "limit");
|
|
4621
|
+
|
|
4622
|
+
const paginateDescribeDeliverySources = core.createPaginator(CloudWatchLogsClient, DescribeDeliverySourcesCommand, "nextToken", "nextToken", "limit");
|
|
4623
|
+
|
|
4624
|
+
const paginateDescribeDestinations = core.createPaginator(CloudWatchLogsClient, DescribeDestinationsCommand, "nextToken", "nextToken", "limit");
|
|
4625
|
+
|
|
4626
|
+
const paginateDescribeLogGroups = core.createPaginator(CloudWatchLogsClient, DescribeLogGroupsCommand, "nextToken", "nextToken", "limit");
|
|
4627
|
+
|
|
4628
|
+
const paginateDescribeLogStreams = core.createPaginator(CloudWatchLogsClient, DescribeLogStreamsCommand, "nextToken", "nextToken", "limit");
|
|
4629
|
+
|
|
4630
|
+
const paginateDescribeMetricFilters = core.createPaginator(CloudWatchLogsClient, DescribeMetricFiltersCommand, "nextToken", "nextToken", "limit");
|
|
4631
|
+
|
|
4632
|
+
const paginateDescribeSubscriptionFilters = core.createPaginator(CloudWatchLogsClient, DescribeSubscriptionFiltersCommand, "nextToken", "nextToken", "limit");
|
|
4633
|
+
|
|
4634
|
+
const paginateFilterLogEvents = core.createPaginator(CloudWatchLogsClient, FilterLogEventsCommand, "nextToken", "nextToken", "limit");
|
|
4635
|
+
|
|
4636
|
+
const paginateGetLogEvents = core.createPaginator(CloudWatchLogsClient, GetLogEventsCommand, "nextToken", "nextForwardToken", "limit");
|
|
4637
|
+
|
|
4638
|
+
const paginateGetScheduledQueryHistory = core.createPaginator(CloudWatchLogsClient, GetScheduledQueryHistoryCommand, "nextToken", "nextToken", "maxResults");
|
|
4639
|
+
|
|
4640
|
+
const paginateListAggregateLogGroupSummaries = core.createPaginator(CloudWatchLogsClient, ListAggregateLogGroupSummariesCommand, "nextToken", "nextToken", "limit");
|
|
4641
|
+
|
|
4642
|
+
const paginateListAnomalies = core.createPaginator(CloudWatchLogsClient, ListAnomaliesCommand, "nextToken", "nextToken", "limit");
|
|
4643
|
+
|
|
4644
|
+
const paginateListLogAnomalyDetectors = core.createPaginator(CloudWatchLogsClient, ListLogAnomalyDetectorsCommand, "nextToken", "nextToken", "limit");
|
|
4645
|
+
|
|
4646
|
+
const paginateListLogGroupsForQuery = core.createPaginator(CloudWatchLogsClient, ListLogGroupsForQueryCommand, "nextToken", "nextToken", "maxResults");
|
|
4647
|
+
|
|
4648
|
+
const paginateListScheduledQueries = core.createPaginator(CloudWatchLogsClient, ListScheduledQueriesCommand, "nextToken", "nextToken", "maxResults");
|
|
4649
|
+
|
|
4650
|
+
const paginateListSourcesForS3TableIntegration = core.createPaginator(CloudWatchLogsClient, ListSourcesForS3TableIntegrationCommand, "nextToken", "nextToken", "maxResults");
|
|
4651
|
+
|
|
4616
4652
|
const commands = {
|
|
4617
4653
|
AssociateKmsKeyCommand,
|
|
4618
4654
|
AssociateSourceToS3TableIntegrationCommand,
|
|
@@ -4722,45 +4758,29 @@ const commands = {
|
|
|
4722
4758
|
UpdateLogAnomalyDetectorCommand,
|
|
4723
4759
|
UpdateScheduledQueryCommand,
|
|
4724
4760
|
};
|
|
4761
|
+
const paginators = {
|
|
4762
|
+
paginateDescribeConfigurationTemplates,
|
|
4763
|
+
paginateDescribeDeliveries,
|
|
4764
|
+
paginateDescribeDeliveryDestinations,
|
|
4765
|
+
paginateDescribeDeliverySources,
|
|
4766
|
+
paginateDescribeDestinations,
|
|
4767
|
+
paginateDescribeLogGroups,
|
|
4768
|
+
paginateDescribeLogStreams,
|
|
4769
|
+
paginateDescribeMetricFilters,
|
|
4770
|
+
paginateDescribeSubscriptionFilters,
|
|
4771
|
+
paginateFilterLogEvents,
|
|
4772
|
+
paginateGetLogEvents,
|
|
4773
|
+
paginateGetScheduledQueryHistory,
|
|
4774
|
+
paginateListAggregateLogGroupSummaries,
|
|
4775
|
+
paginateListAnomalies,
|
|
4776
|
+
paginateListLogAnomalyDetectors,
|
|
4777
|
+
paginateListLogGroupsForQuery,
|
|
4778
|
+
paginateListScheduledQueries,
|
|
4779
|
+
paginateListSourcesForS3TableIntegration,
|
|
4780
|
+
};
|
|
4725
4781
|
class CloudWatchLogs extends CloudWatchLogsClient {
|
|
4726
4782
|
}
|
|
4727
|
-
smithyClient.createAggregatedClient(commands, CloudWatchLogs);
|
|
4728
|
-
|
|
4729
|
-
const paginateDescribeConfigurationTemplates = core.createPaginator(CloudWatchLogsClient, DescribeConfigurationTemplatesCommand, "nextToken", "nextToken", "limit");
|
|
4730
|
-
|
|
4731
|
-
const paginateDescribeDeliveries = core.createPaginator(CloudWatchLogsClient, DescribeDeliveriesCommand, "nextToken", "nextToken", "limit");
|
|
4732
|
-
|
|
4733
|
-
const paginateDescribeDeliveryDestinations = core.createPaginator(CloudWatchLogsClient, DescribeDeliveryDestinationsCommand, "nextToken", "nextToken", "limit");
|
|
4734
|
-
|
|
4735
|
-
const paginateDescribeDeliverySources = core.createPaginator(CloudWatchLogsClient, DescribeDeliverySourcesCommand, "nextToken", "nextToken", "limit");
|
|
4736
|
-
|
|
4737
|
-
const paginateDescribeDestinations = core.createPaginator(CloudWatchLogsClient, DescribeDestinationsCommand, "nextToken", "nextToken", "limit");
|
|
4738
|
-
|
|
4739
|
-
const paginateDescribeLogGroups = core.createPaginator(CloudWatchLogsClient, DescribeLogGroupsCommand, "nextToken", "nextToken", "limit");
|
|
4740
|
-
|
|
4741
|
-
const paginateDescribeLogStreams = core.createPaginator(CloudWatchLogsClient, DescribeLogStreamsCommand, "nextToken", "nextToken", "limit");
|
|
4742
|
-
|
|
4743
|
-
const paginateDescribeMetricFilters = core.createPaginator(CloudWatchLogsClient, DescribeMetricFiltersCommand, "nextToken", "nextToken", "limit");
|
|
4744
|
-
|
|
4745
|
-
const paginateDescribeSubscriptionFilters = core.createPaginator(CloudWatchLogsClient, DescribeSubscriptionFiltersCommand, "nextToken", "nextToken", "limit");
|
|
4746
|
-
|
|
4747
|
-
const paginateFilterLogEvents = core.createPaginator(CloudWatchLogsClient, FilterLogEventsCommand, "nextToken", "nextToken", "limit");
|
|
4748
|
-
|
|
4749
|
-
const paginateGetLogEvents = core.createPaginator(CloudWatchLogsClient, GetLogEventsCommand, "nextToken", "nextForwardToken", "limit");
|
|
4750
|
-
|
|
4751
|
-
const paginateGetScheduledQueryHistory = core.createPaginator(CloudWatchLogsClient, GetScheduledQueryHistoryCommand, "nextToken", "nextToken", "maxResults");
|
|
4752
|
-
|
|
4753
|
-
const paginateListAggregateLogGroupSummaries = core.createPaginator(CloudWatchLogsClient, ListAggregateLogGroupSummariesCommand, "nextToken", "nextToken", "limit");
|
|
4754
|
-
|
|
4755
|
-
const paginateListAnomalies = core.createPaginator(CloudWatchLogsClient, ListAnomaliesCommand, "nextToken", "nextToken", "limit");
|
|
4756
|
-
|
|
4757
|
-
const paginateListLogAnomalyDetectors = core.createPaginator(CloudWatchLogsClient, ListLogAnomalyDetectorsCommand, "nextToken", "nextToken", "limit");
|
|
4758
|
-
|
|
4759
|
-
const paginateListLogGroupsForQuery = core.createPaginator(CloudWatchLogsClient, ListLogGroupsForQueryCommand, "nextToken", "nextToken", "maxResults");
|
|
4760
|
-
|
|
4761
|
-
const paginateListScheduledQueries = core.createPaginator(CloudWatchLogsClient, ListScheduledQueriesCommand, "nextToken", "nextToken", "maxResults");
|
|
4762
|
-
|
|
4763
|
-
const paginateListSourcesForS3TableIntegration = core.createPaginator(CloudWatchLogsClient, ListSourcesForS3TableIntegrationCommand, "nextToken", "nextToken", "maxResults");
|
|
4783
|
+
smithyClient.createAggregatedClient(commands, CloudWatchLogs, { paginators });
|
|
4764
4784
|
|
|
4765
4785
|
const PolicyType = {
|
|
4766
4786
|
DATA_PROTECTION_POLICY: "DATA_PROTECTION_POLICY",
|
|
@@ -107,6 +107,24 @@ import { UpdateAnomalyCommand, } from "./commands/UpdateAnomalyCommand";
|
|
|
107
107
|
import { UpdateDeliveryConfigurationCommand, } from "./commands/UpdateDeliveryConfigurationCommand";
|
|
108
108
|
import { UpdateLogAnomalyDetectorCommand, } from "./commands/UpdateLogAnomalyDetectorCommand";
|
|
109
109
|
import { UpdateScheduledQueryCommand, } from "./commands/UpdateScheduledQueryCommand";
|
|
110
|
+
import { paginateDescribeConfigurationTemplates } from "./pagination/DescribeConfigurationTemplatesPaginator";
|
|
111
|
+
import { paginateDescribeDeliveries } from "./pagination/DescribeDeliveriesPaginator";
|
|
112
|
+
import { paginateDescribeDeliveryDestinations } from "./pagination/DescribeDeliveryDestinationsPaginator";
|
|
113
|
+
import { paginateDescribeDeliverySources } from "./pagination/DescribeDeliverySourcesPaginator";
|
|
114
|
+
import { paginateDescribeDestinations } from "./pagination/DescribeDestinationsPaginator";
|
|
115
|
+
import { paginateDescribeLogGroups } from "./pagination/DescribeLogGroupsPaginator";
|
|
116
|
+
import { paginateDescribeLogStreams } from "./pagination/DescribeLogStreamsPaginator";
|
|
117
|
+
import { paginateDescribeMetricFilters } from "./pagination/DescribeMetricFiltersPaginator";
|
|
118
|
+
import { paginateDescribeSubscriptionFilters } from "./pagination/DescribeSubscriptionFiltersPaginator";
|
|
119
|
+
import { paginateFilterLogEvents } from "./pagination/FilterLogEventsPaginator";
|
|
120
|
+
import { paginateGetLogEvents } from "./pagination/GetLogEventsPaginator";
|
|
121
|
+
import { paginateGetScheduledQueryHistory } from "./pagination/GetScheduledQueryHistoryPaginator";
|
|
122
|
+
import { paginateListAggregateLogGroupSummaries } from "./pagination/ListAggregateLogGroupSummariesPaginator";
|
|
123
|
+
import { paginateListAnomalies } from "./pagination/ListAnomaliesPaginator";
|
|
124
|
+
import { paginateListLogAnomalyDetectors } from "./pagination/ListLogAnomalyDetectorsPaginator";
|
|
125
|
+
import { paginateListLogGroupsForQuery } from "./pagination/ListLogGroupsForQueryPaginator";
|
|
126
|
+
import { paginateListScheduledQueries } from "./pagination/ListScheduledQueriesPaginator";
|
|
127
|
+
import { paginateListSourcesForS3TableIntegration } from "./pagination/ListSourcesForS3TableIntegrationPaginator";
|
|
110
128
|
const commands = {
|
|
111
129
|
AssociateKmsKeyCommand,
|
|
112
130
|
AssociateSourceToS3TableIntegrationCommand,
|
|
@@ -216,6 +234,26 @@ const commands = {
|
|
|
216
234
|
UpdateLogAnomalyDetectorCommand,
|
|
217
235
|
UpdateScheduledQueryCommand,
|
|
218
236
|
};
|
|
237
|
+
const paginators = {
|
|
238
|
+
paginateDescribeConfigurationTemplates,
|
|
239
|
+
paginateDescribeDeliveries,
|
|
240
|
+
paginateDescribeDeliveryDestinations,
|
|
241
|
+
paginateDescribeDeliverySources,
|
|
242
|
+
paginateDescribeDestinations,
|
|
243
|
+
paginateDescribeLogGroups,
|
|
244
|
+
paginateDescribeLogStreams,
|
|
245
|
+
paginateDescribeMetricFilters,
|
|
246
|
+
paginateDescribeSubscriptionFilters,
|
|
247
|
+
paginateFilterLogEvents,
|
|
248
|
+
paginateGetLogEvents,
|
|
249
|
+
paginateGetScheduledQueryHistory,
|
|
250
|
+
paginateListAggregateLogGroupSummaries,
|
|
251
|
+
paginateListAnomalies,
|
|
252
|
+
paginateListLogAnomalyDetectors,
|
|
253
|
+
paginateListLogGroupsForQuery,
|
|
254
|
+
paginateListScheduledQueries,
|
|
255
|
+
paginateListSourcesForS3TableIntegration,
|
|
256
|
+
};
|
|
219
257
|
export class CloudWatchLogs extends CloudWatchLogsClient {
|
|
220
258
|
}
|
|
221
|
-
createAggregatedClient(commands, CloudWatchLogs);
|
|
259
|
+
createAggregatedClient(commands, CloudWatchLogs, { 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 { CloudWatchLogsClient } from "./CloudWatchLogsClient";
|
|
3
3
|
import { AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput } from "./commands/AssociateKmsKeyCommand";
|
|
4
4
|
import { AssociateSourceToS3TableIntegrationCommandInput, AssociateSourceToS3TableIntegrationCommandOutput } from "./commands/AssociateSourceToS3TableIntegrationCommand";
|
|
@@ -773,6 +773,132 @@ export interface CloudWatchLogs {
|
|
|
773
773
|
updateScheduledQuery(args: UpdateScheduledQueryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateScheduledQueryCommandOutput>;
|
|
774
774
|
updateScheduledQuery(args: UpdateScheduledQueryCommandInput, cb: (err: any, data?: UpdateScheduledQueryCommandOutput) => void): void;
|
|
775
775
|
updateScheduledQuery(args: UpdateScheduledQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScheduledQueryCommandOutput) => void): void;
|
|
776
|
+
/**
|
|
777
|
+
* @see {@link DescribeConfigurationTemplatesCommand}
|
|
778
|
+
* @param args - command input.
|
|
779
|
+
* @param paginationConfig - optional pagination config.
|
|
780
|
+
* @returns AsyncIterable of {@link DescribeConfigurationTemplatesCommandOutput}.
|
|
781
|
+
*/
|
|
782
|
+
paginateDescribeConfigurationTemplates(args?: DescribeConfigurationTemplatesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeConfigurationTemplatesCommandOutput>;
|
|
783
|
+
/**
|
|
784
|
+
* @see {@link DescribeDeliveriesCommand}
|
|
785
|
+
* @param args - command input.
|
|
786
|
+
* @param paginationConfig - optional pagination config.
|
|
787
|
+
* @returns AsyncIterable of {@link DescribeDeliveriesCommandOutput}.
|
|
788
|
+
*/
|
|
789
|
+
paginateDescribeDeliveries(args?: DescribeDeliveriesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeDeliveriesCommandOutput>;
|
|
790
|
+
/**
|
|
791
|
+
* @see {@link DescribeDeliveryDestinationsCommand}
|
|
792
|
+
* @param args - command input.
|
|
793
|
+
* @param paginationConfig - optional pagination config.
|
|
794
|
+
* @returns AsyncIterable of {@link DescribeDeliveryDestinationsCommandOutput}.
|
|
795
|
+
*/
|
|
796
|
+
paginateDescribeDeliveryDestinations(args?: DescribeDeliveryDestinationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeDeliveryDestinationsCommandOutput>;
|
|
797
|
+
/**
|
|
798
|
+
* @see {@link DescribeDeliverySourcesCommand}
|
|
799
|
+
* @param args - command input.
|
|
800
|
+
* @param paginationConfig - optional pagination config.
|
|
801
|
+
* @returns AsyncIterable of {@link DescribeDeliverySourcesCommandOutput}.
|
|
802
|
+
*/
|
|
803
|
+
paginateDescribeDeliverySources(args?: DescribeDeliverySourcesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeDeliverySourcesCommandOutput>;
|
|
804
|
+
/**
|
|
805
|
+
* @see {@link DescribeDestinationsCommand}
|
|
806
|
+
* @param args - command input.
|
|
807
|
+
* @param paginationConfig - optional pagination config.
|
|
808
|
+
* @returns AsyncIterable of {@link DescribeDestinationsCommandOutput}.
|
|
809
|
+
*/
|
|
810
|
+
paginateDescribeDestinations(args?: DescribeDestinationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeDestinationsCommandOutput>;
|
|
811
|
+
/**
|
|
812
|
+
* @see {@link DescribeLogGroupsCommand}
|
|
813
|
+
* @param args - command input.
|
|
814
|
+
* @param paginationConfig - optional pagination config.
|
|
815
|
+
* @returns AsyncIterable of {@link DescribeLogGroupsCommandOutput}.
|
|
816
|
+
*/
|
|
817
|
+
paginateDescribeLogGroups(args?: DescribeLogGroupsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeLogGroupsCommandOutput>;
|
|
818
|
+
/**
|
|
819
|
+
* @see {@link DescribeLogStreamsCommand}
|
|
820
|
+
* @param args - command input.
|
|
821
|
+
* @param paginationConfig - optional pagination config.
|
|
822
|
+
* @returns AsyncIterable of {@link DescribeLogStreamsCommandOutput}.
|
|
823
|
+
*/
|
|
824
|
+
paginateDescribeLogStreams(args?: DescribeLogStreamsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeLogStreamsCommandOutput>;
|
|
825
|
+
/**
|
|
826
|
+
* @see {@link DescribeMetricFiltersCommand}
|
|
827
|
+
* @param args - command input.
|
|
828
|
+
* @param paginationConfig - optional pagination config.
|
|
829
|
+
* @returns AsyncIterable of {@link DescribeMetricFiltersCommandOutput}.
|
|
830
|
+
*/
|
|
831
|
+
paginateDescribeMetricFilters(args?: DescribeMetricFiltersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeMetricFiltersCommandOutput>;
|
|
832
|
+
/**
|
|
833
|
+
* @see {@link DescribeSubscriptionFiltersCommand}
|
|
834
|
+
* @param args - command input.
|
|
835
|
+
* @param paginationConfig - optional pagination config.
|
|
836
|
+
* @returns AsyncIterable of {@link DescribeSubscriptionFiltersCommandOutput}.
|
|
837
|
+
*/
|
|
838
|
+
paginateDescribeSubscriptionFilters(args: DescribeSubscriptionFiltersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeSubscriptionFiltersCommandOutput>;
|
|
839
|
+
/**
|
|
840
|
+
* @see {@link FilterLogEventsCommand}
|
|
841
|
+
* @param args - command input.
|
|
842
|
+
* @param paginationConfig - optional pagination config.
|
|
843
|
+
* @returns AsyncIterable of {@link FilterLogEventsCommandOutput}.
|
|
844
|
+
*/
|
|
845
|
+
paginateFilterLogEvents(args?: FilterLogEventsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<FilterLogEventsCommandOutput>;
|
|
846
|
+
/**
|
|
847
|
+
* @see {@link GetLogEventsCommand}
|
|
848
|
+
* @param args - command input.
|
|
849
|
+
* @param paginationConfig - optional pagination config.
|
|
850
|
+
* @returns AsyncIterable of {@link GetLogEventsCommandOutput}.
|
|
851
|
+
*/
|
|
852
|
+
paginateGetLogEvents(args: GetLogEventsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetLogEventsCommandOutput>;
|
|
853
|
+
/**
|
|
854
|
+
* @see {@link GetScheduledQueryHistoryCommand}
|
|
855
|
+
* @param args - command input.
|
|
856
|
+
* @param paginationConfig - optional pagination config.
|
|
857
|
+
* @returns AsyncIterable of {@link GetScheduledQueryHistoryCommandOutput}.
|
|
858
|
+
*/
|
|
859
|
+
paginateGetScheduledQueryHistory(args: GetScheduledQueryHistoryCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetScheduledQueryHistoryCommandOutput>;
|
|
860
|
+
/**
|
|
861
|
+
* @see {@link ListAggregateLogGroupSummariesCommand}
|
|
862
|
+
* @param args - command input.
|
|
863
|
+
* @param paginationConfig - optional pagination config.
|
|
864
|
+
* @returns AsyncIterable of {@link ListAggregateLogGroupSummariesCommandOutput}.
|
|
865
|
+
*/
|
|
866
|
+
paginateListAggregateLogGroupSummaries(args: ListAggregateLogGroupSummariesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAggregateLogGroupSummariesCommandOutput>;
|
|
867
|
+
/**
|
|
868
|
+
* @see {@link ListAnomaliesCommand}
|
|
869
|
+
* @param args - command input.
|
|
870
|
+
* @param paginationConfig - optional pagination config.
|
|
871
|
+
* @returns AsyncIterable of {@link ListAnomaliesCommandOutput}.
|
|
872
|
+
*/
|
|
873
|
+
paginateListAnomalies(args?: ListAnomaliesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAnomaliesCommandOutput>;
|
|
874
|
+
/**
|
|
875
|
+
* @see {@link ListLogAnomalyDetectorsCommand}
|
|
876
|
+
* @param args - command input.
|
|
877
|
+
* @param paginationConfig - optional pagination config.
|
|
878
|
+
* @returns AsyncIterable of {@link ListLogAnomalyDetectorsCommandOutput}.
|
|
879
|
+
*/
|
|
880
|
+
paginateListLogAnomalyDetectors(args?: ListLogAnomalyDetectorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListLogAnomalyDetectorsCommandOutput>;
|
|
881
|
+
/**
|
|
882
|
+
* @see {@link ListLogGroupsForQueryCommand}
|
|
883
|
+
* @param args - command input.
|
|
884
|
+
* @param paginationConfig - optional pagination config.
|
|
885
|
+
* @returns AsyncIterable of {@link ListLogGroupsForQueryCommandOutput}.
|
|
886
|
+
*/
|
|
887
|
+
paginateListLogGroupsForQuery(args: ListLogGroupsForQueryCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListLogGroupsForQueryCommandOutput>;
|
|
888
|
+
/**
|
|
889
|
+
* @see {@link ListScheduledQueriesCommand}
|
|
890
|
+
* @param args - command input.
|
|
891
|
+
* @param paginationConfig - optional pagination config.
|
|
892
|
+
* @returns AsyncIterable of {@link ListScheduledQueriesCommandOutput}.
|
|
893
|
+
*/
|
|
894
|
+
paginateListScheduledQueries(args?: ListScheduledQueriesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListScheduledQueriesCommandOutput>;
|
|
895
|
+
/**
|
|
896
|
+
* @see {@link ListSourcesForS3TableIntegrationCommand}
|
|
897
|
+
* @param args - command input.
|
|
898
|
+
* @param paginationConfig - optional pagination config.
|
|
899
|
+
* @returns AsyncIterable of {@link ListSourcesForS3TableIntegrationCommandOutput}.
|
|
900
|
+
*/
|
|
901
|
+
paginateListSourcesForS3TableIntegration(args: ListSourcesForS3TableIntegrationCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSourcesForS3TableIntegrationCommandOutput>;
|
|
776
902
|
}
|
|
777
903
|
/**
|
|
778
904
|
* <p>You can use Amazon CloudWatch Logs to monitor, store, and access your log files from
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import { CloudWatchLogsClient } from "./CloudWatchLogsClient";
|
|
3
7
|
import {
|
|
4
8
|
AssociateKmsKeyCommandInput,
|
|
@@ -1855,6 +1859,132 @@ export interface CloudWatchLogs {
|
|
|
1855
1859
|
options: __HttpHandlerOptions,
|
|
1856
1860
|
cb: (err: any, data?: UpdateScheduledQueryCommandOutput) => void
|
|
1857
1861
|
): void;
|
|
1862
|
+
paginateDescribeConfigurationTemplates(
|
|
1863
|
+
args?: DescribeConfigurationTemplatesCommandInput,
|
|
1864
|
+
paginationConfig?: Pick<
|
|
1865
|
+
PaginationConfiguration,
|
|
1866
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1867
|
+
>
|
|
1868
|
+
): Paginator<DescribeConfigurationTemplatesCommandOutput>;
|
|
1869
|
+
paginateDescribeDeliveries(
|
|
1870
|
+
args?: DescribeDeliveriesCommandInput,
|
|
1871
|
+
paginationConfig?: Pick<
|
|
1872
|
+
PaginationConfiguration,
|
|
1873
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1874
|
+
>
|
|
1875
|
+
): Paginator<DescribeDeliveriesCommandOutput>;
|
|
1876
|
+
paginateDescribeDeliveryDestinations(
|
|
1877
|
+
args?: DescribeDeliveryDestinationsCommandInput,
|
|
1878
|
+
paginationConfig?: Pick<
|
|
1879
|
+
PaginationConfiguration,
|
|
1880
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1881
|
+
>
|
|
1882
|
+
): Paginator<DescribeDeliveryDestinationsCommandOutput>;
|
|
1883
|
+
paginateDescribeDeliverySources(
|
|
1884
|
+
args?: DescribeDeliverySourcesCommandInput,
|
|
1885
|
+
paginationConfig?: Pick<
|
|
1886
|
+
PaginationConfiguration,
|
|
1887
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1888
|
+
>
|
|
1889
|
+
): Paginator<DescribeDeliverySourcesCommandOutput>;
|
|
1890
|
+
paginateDescribeDestinations(
|
|
1891
|
+
args?: DescribeDestinationsCommandInput,
|
|
1892
|
+
paginationConfig?: Pick<
|
|
1893
|
+
PaginationConfiguration,
|
|
1894
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1895
|
+
>
|
|
1896
|
+
): Paginator<DescribeDestinationsCommandOutput>;
|
|
1897
|
+
paginateDescribeLogGroups(
|
|
1898
|
+
args?: DescribeLogGroupsCommandInput,
|
|
1899
|
+
paginationConfig?: Pick<
|
|
1900
|
+
PaginationConfiguration,
|
|
1901
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1902
|
+
>
|
|
1903
|
+
): Paginator<DescribeLogGroupsCommandOutput>;
|
|
1904
|
+
paginateDescribeLogStreams(
|
|
1905
|
+
args?: DescribeLogStreamsCommandInput,
|
|
1906
|
+
paginationConfig?: Pick<
|
|
1907
|
+
PaginationConfiguration,
|
|
1908
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1909
|
+
>
|
|
1910
|
+
): Paginator<DescribeLogStreamsCommandOutput>;
|
|
1911
|
+
paginateDescribeMetricFilters(
|
|
1912
|
+
args?: DescribeMetricFiltersCommandInput,
|
|
1913
|
+
paginationConfig?: Pick<
|
|
1914
|
+
PaginationConfiguration,
|
|
1915
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1916
|
+
>
|
|
1917
|
+
): Paginator<DescribeMetricFiltersCommandOutput>;
|
|
1918
|
+
paginateDescribeSubscriptionFilters(
|
|
1919
|
+
args: DescribeSubscriptionFiltersCommandInput,
|
|
1920
|
+
paginationConfig?: Pick<
|
|
1921
|
+
PaginationConfiguration,
|
|
1922
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1923
|
+
>
|
|
1924
|
+
): Paginator<DescribeSubscriptionFiltersCommandOutput>;
|
|
1925
|
+
paginateFilterLogEvents(
|
|
1926
|
+
args?: FilterLogEventsCommandInput,
|
|
1927
|
+
paginationConfig?: Pick<
|
|
1928
|
+
PaginationConfiguration,
|
|
1929
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1930
|
+
>
|
|
1931
|
+
): Paginator<FilterLogEventsCommandOutput>;
|
|
1932
|
+
paginateGetLogEvents(
|
|
1933
|
+
args: GetLogEventsCommandInput,
|
|
1934
|
+
paginationConfig?: Pick<
|
|
1935
|
+
PaginationConfiguration,
|
|
1936
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1937
|
+
>
|
|
1938
|
+
): Paginator<GetLogEventsCommandOutput>;
|
|
1939
|
+
paginateGetScheduledQueryHistory(
|
|
1940
|
+
args: GetScheduledQueryHistoryCommandInput,
|
|
1941
|
+
paginationConfig?: Pick<
|
|
1942
|
+
PaginationConfiguration,
|
|
1943
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1944
|
+
>
|
|
1945
|
+
): Paginator<GetScheduledQueryHistoryCommandOutput>;
|
|
1946
|
+
paginateListAggregateLogGroupSummaries(
|
|
1947
|
+
args: ListAggregateLogGroupSummariesCommandInput,
|
|
1948
|
+
paginationConfig?: Pick<
|
|
1949
|
+
PaginationConfiguration,
|
|
1950
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1951
|
+
>
|
|
1952
|
+
): Paginator<ListAggregateLogGroupSummariesCommandOutput>;
|
|
1953
|
+
paginateListAnomalies(
|
|
1954
|
+
args?: ListAnomaliesCommandInput,
|
|
1955
|
+
paginationConfig?: Pick<
|
|
1956
|
+
PaginationConfiguration,
|
|
1957
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1958
|
+
>
|
|
1959
|
+
): Paginator<ListAnomaliesCommandOutput>;
|
|
1960
|
+
paginateListLogAnomalyDetectors(
|
|
1961
|
+
args?: ListLogAnomalyDetectorsCommandInput,
|
|
1962
|
+
paginationConfig?: Pick<
|
|
1963
|
+
PaginationConfiguration,
|
|
1964
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1965
|
+
>
|
|
1966
|
+
): Paginator<ListLogAnomalyDetectorsCommandOutput>;
|
|
1967
|
+
paginateListLogGroupsForQuery(
|
|
1968
|
+
args: ListLogGroupsForQueryCommandInput,
|
|
1969
|
+
paginationConfig?: Pick<
|
|
1970
|
+
PaginationConfiguration,
|
|
1971
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1972
|
+
>
|
|
1973
|
+
): Paginator<ListLogGroupsForQueryCommandOutput>;
|
|
1974
|
+
paginateListScheduledQueries(
|
|
1975
|
+
args?: ListScheduledQueriesCommandInput,
|
|
1976
|
+
paginationConfig?: Pick<
|
|
1977
|
+
PaginationConfiguration,
|
|
1978
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1979
|
+
>
|
|
1980
|
+
): Paginator<ListScheduledQueriesCommandOutput>;
|
|
1981
|
+
paginateListSourcesForS3TableIntegration(
|
|
1982
|
+
args: ListSourcesForS3TableIntegrationCommandInput,
|
|
1983
|
+
paginationConfig?: Pick<
|
|
1984
|
+
PaginationConfiguration,
|
|
1985
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
1986
|
+
>
|
|
1987
|
+
): Paginator<ListSourcesForS3TableIntegrationCommandOutput>;
|
|
1858
1988
|
}
|
|
1859
1989
|
export declare class CloudWatchLogs
|
|
1860
1990
|
extends CloudWatchLogsClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudwatch-logs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudwatch Logs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.980.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-cloudwatch-logs",
|
|
@@ -23,19 +23,19 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.973.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
33
|
-
"@aws-sdk/types": "^3.973.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
26
|
+
"@aws-sdk/core": "^3.973.5",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
33
|
+
"@aws-sdk/types": "^3.973.1",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.6",
|
|
38
|
-
"@smithy/core": "^3.
|
|
38
|
+
"@smithy/core": "^3.22.0",
|
|
39
39
|
"@smithy/eventstream-serde-browser": "^4.2.8",
|
|
40
40
|
"@smithy/eventstream-serde-config-resolver": "^4.3.8",
|
|
41
41
|
"@smithy/eventstream-serde-node": "^4.2.8",
|
|
@@ -43,21 +43,21 @@
|
|
|
43
43
|
"@smithy/hash-node": "^4.2.8",
|
|
44
44
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
45
45
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
46
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
47
|
-
"@smithy/middleware-retry": "^4.4.
|
|
46
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
47
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
48
48
|
"@smithy/middleware-serde": "^4.2.9",
|
|
49
49
|
"@smithy/middleware-stack": "^4.2.8",
|
|
50
50
|
"@smithy/node-config-provider": "^4.3.8",
|
|
51
51
|
"@smithy/node-http-handler": "^4.4.8",
|
|
52
52
|
"@smithy/protocol-http": "^5.3.8",
|
|
53
|
-
"@smithy/smithy-client": "^4.
|
|
53
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
54
54
|
"@smithy/types": "^4.12.0",
|
|
55
55
|
"@smithy/url-parser": "^4.2.8",
|
|
56
56
|
"@smithy/util-base64": "^4.3.0",
|
|
57
57
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
58
58
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
59
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
60
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
59
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
60
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
61
61
|
"@smithy/util-endpoints": "^3.2.8",
|
|
62
62
|
"@smithy/util-middleware": "^4.2.8",
|
|
63
63
|
"@smithy/util-retry": "^4.2.8",
|