@aws-sdk/client-cloudwatch-logs 3.1073.0 → 3.1074.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/README.md +28 -0
- package/dist-cjs/index.js +47 -1
- package/dist-cjs/schemas/schemas_0.js +54 -0
- package/dist-es/CloudWatchLogs.js +6 -0
- package/dist-es/commands/DeleteSyslogConfigurationCommand.js +16 -0
- package/dist-es/commands/ListSyslogConfigurationsCommand.js +16 -0
- package/dist-es/commands/PutSyslogConfigurationCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +3 -0
- package/dist-es/schemas/schemas_0.js +49 -0
- package/dist-types/CloudWatchLogs.d.ts +29 -0
- package/dist-types/CloudWatchLogsClient.d.ts +12 -2
- package/dist-types/commands/DeleteSyslogConfigurationCommand.d.ts +97 -0
- package/dist-types/commands/ListSyslogConfigurationsCommand.d.ts +106 -0
- package/dist-types/commands/PutAccountPolicyCommand.d.ts +48 -0
- package/dist-types/commands/PutSyslogConfigurationCommand.d.ts +97 -0
- package/dist-types/commands/UntagLogGroupCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAnomalyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDeliveryConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +7 -0
- package/dist-types/models/enums.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +115 -137
- package/dist-types/models/models_1.d.ts +136 -2
- package/dist-types/schemas/schemas_0.d.ts +8 -0
- package/dist-types/ts3.4/CloudWatchLogs.d.ts +52 -0
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteSyslogConfigurationCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/ListSyslogConfigurationsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/PutSyslogConfigurationCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/UntagLogGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAnomalyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDeliveryConfigurationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +25 -28
- package/dist-types/ts3.4/models/models_1.d.ts +29 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/package.json +3 -3
|
@@ -31,6 +31,7 @@ import { type DeleteResourcePolicyCommandInput, type DeleteResourcePolicyCommand
|
|
|
31
31
|
import { type DeleteRetentionPolicyCommandInput, type DeleteRetentionPolicyCommandOutput } from "./commands/DeleteRetentionPolicyCommand";
|
|
32
32
|
import { type DeleteScheduledQueryCommandInput, type DeleteScheduledQueryCommandOutput } from "./commands/DeleteScheduledQueryCommand";
|
|
33
33
|
import { type DeleteSubscriptionFilterCommandInput, type DeleteSubscriptionFilterCommandOutput } from "./commands/DeleteSubscriptionFilterCommand";
|
|
34
|
+
import { type DeleteSyslogConfigurationCommandInput, type DeleteSyslogConfigurationCommandOutput } from "./commands/DeleteSyslogConfigurationCommand";
|
|
34
35
|
import { type DeleteTransformerCommandInput, type DeleteTransformerCommandOutput } from "./commands/DeleteTransformerCommand";
|
|
35
36
|
import { type DescribeAccountPoliciesCommandInput, type DescribeAccountPoliciesCommandOutput } from "./commands/DescribeAccountPoliciesCommand";
|
|
36
37
|
import { type DescribeConfigurationTemplatesCommandInput, type DescribeConfigurationTemplatesCommandOutput } from "./commands/DescribeConfigurationTemplatesCommand";
|
|
@@ -79,6 +80,7 @@ import { type ListLogGroupsCommandInput, type ListLogGroupsCommandOutput } from
|
|
|
79
80
|
import { type ListLogGroupsForQueryCommandInput, type ListLogGroupsForQueryCommandOutput } from "./commands/ListLogGroupsForQueryCommand";
|
|
80
81
|
import { type ListScheduledQueriesCommandInput, type ListScheduledQueriesCommandOutput } from "./commands/ListScheduledQueriesCommand";
|
|
81
82
|
import { type ListSourcesForS3TableIntegrationCommandInput, type ListSourcesForS3TableIntegrationCommandOutput } from "./commands/ListSourcesForS3TableIntegrationCommand";
|
|
83
|
+
import { type ListSyslogConfigurationsCommandInput, type ListSyslogConfigurationsCommandOutput } from "./commands/ListSyslogConfigurationsCommand";
|
|
82
84
|
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
83
85
|
import { type ListTagsLogGroupCommandInput, type ListTagsLogGroupCommandOutput } from "./commands/ListTagsLogGroupCommand";
|
|
84
86
|
import { type PutAccountPolicyCommandInput, type PutAccountPolicyCommandOutput } from "./commands/PutAccountPolicyCommand";
|
|
@@ -98,6 +100,7 @@ import { type PutQueryDefinitionCommandInput, type PutQueryDefinitionCommandOutp
|
|
|
98
100
|
import { type PutResourcePolicyCommandInput, type PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
99
101
|
import { type PutRetentionPolicyCommandInput, type PutRetentionPolicyCommandOutput } from "./commands/PutRetentionPolicyCommand";
|
|
100
102
|
import { type PutSubscriptionFilterCommandInput, type PutSubscriptionFilterCommandOutput } from "./commands/PutSubscriptionFilterCommand";
|
|
103
|
+
import { type PutSyslogConfigurationCommandInput, type PutSyslogConfigurationCommandOutput } from "./commands/PutSyslogConfigurationCommand";
|
|
101
104
|
import { type PutTransformerCommandInput, type PutTransformerCommandOutput } from "./commands/PutTransformerCommand";
|
|
102
105
|
import { type StartLiveTailCommandInput, type StartLiveTailCommandOutput } from "./commands/StartLiveTailCommand";
|
|
103
106
|
import { type StartQueryCommandInput, type StartQueryCommandOutput } from "./commands/StartQueryCommand";
|
|
@@ -301,6 +304,12 @@ export interface CloudWatchLogs {
|
|
|
301
304
|
deleteSubscriptionFilter(args: DeleteSubscriptionFilterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSubscriptionFilterCommandOutput>;
|
|
302
305
|
deleteSubscriptionFilter(args: DeleteSubscriptionFilterCommandInput, cb: (err: any, data?: DeleteSubscriptionFilterCommandOutput) => void): void;
|
|
303
306
|
deleteSubscriptionFilter(args: DeleteSubscriptionFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSubscriptionFilterCommandOutput) => void): void;
|
|
307
|
+
/**
|
|
308
|
+
* @see {@link DeleteSyslogConfigurationCommand}
|
|
309
|
+
*/
|
|
310
|
+
deleteSyslogConfiguration(args: DeleteSyslogConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSyslogConfigurationCommandOutput>;
|
|
311
|
+
deleteSyslogConfiguration(args: DeleteSyslogConfigurationCommandInput, cb: (err: any, data?: DeleteSyslogConfigurationCommandOutput) => void): void;
|
|
312
|
+
deleteSyslogConfiguration(args: DeleteSyslogConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSyslogConfigurationCommandOutput) => void): void;
|
|
304
313
|
/**
|
|
305
314
|
* @see {@link DeleteTransformerCommand}
|
|
306
315
|
*/
|
|
@@ -611,6 +620,13 @@ export interface CloudWatchLogs {
|
|
|
611
620
|
listSourcesForS3TableIntegration(args: ListSourcesForS3TableIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<ListSourcesForS3TableIntegrationCommandOutput>;
|
|
612
621
|
listSourcesForS3TableIntegration(args: ListSourcesForS3TableIntegrationCommandInput, cb: (err: any, data?: ListSourcesForS3TableIntegrationCommandOutput) => void): void;
|
|
613
622
|
listSourcesForS3TableIntegration(args: ListSourcesForS3TableIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSourcesForS3TableIntegrationCommandOutput) => void): void;
|
|
623
|
+
/**
|
|
624
|
+
* @see {@link ListSyslogConfigurationsCommand}
|
|
625
|
+
*/
|
|
626
|
+
listSyslogConfigurations(): Promise<ListSyslogConfigurationsCommandOutput>;
|
|
627
|
+
listSyslogConfigurations(args: ListSyslogConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListSyslogConfigurationsCommandOutput>;
|
|
628
|
+
listSyslogConfigurations(args: ListSyslogConfigurationsCommandInput, cb: (err: any, data?: ListSyslogConfigurationsCommandOutput) => void): void;
|
|
629
|
+
listSyslogConfigurations(args: ListSyslogConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSyslogConfigurationsCommandOutput) => void): void;
|
|
614
630
|
/**
|
|
615
631
|
* @see {@link ListTagsForResourceCommand}
|
|
616
632
|
*/
|
|
@@ -726,6 +742,12 @@ export interface CloudWatchLogs {
|
|
|
726
742
|
putSubscriptionFilter(args: PutSubscriptionFilterCommandInput, options?: __HttpHandlerOptions): Promise<PutSubscriptionFilterCommandOutput>;
|
|
727
743
|
putSubscriptionFilter(args: PutSubscriptionFilterCommandInput, cb: (err: any, data?: PutSubscriptionFilterCommandOutput) => void): void;
|
|
728
744
|
putSubscriptionFilter(args: PutSubscriptionFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutSubscriptionFilterCommandOutput) => void): void;
|
|
745
|
+
/**
|
|
746
|
+
* @see {@link PutSyslogConfigurationCommand}
|
|
747
|
+
*/
|
|
748
|
+
putSyslogConfiguration(args: PutSyslogConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutSyslogConfigurationCommandOutput>;
|
|
749
|
+
putSyslogConfiguration(args: PutSyslogConfigurationCommandInput, cb: (err: any, data?: PutSyslogConfigurationCommandOutput) => void): void;
|
|
750
|
+
putSyslogConfiguration(args: PutSyslogConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutSyslogConfigurationCommandOutput) => void): void;
|
|
729
751
|
/**
|
|
730
752
|
* @see {@link PutTransformerCommand}
|
|
731
753
|
*/
|
|
@@ -949,6 +971,8 @@ export interface CloudWatchLogs {
|
|
|
949
971
|
* log data from CloudWatch Logs using the CloudWatch console. Alternatively, you can use
|
|
950
972
|
* CloudWatch Logs commands in the Amazon Web Services CLI, CloudWatch Logs API, or CloudWatch
|
|
951
973
|
* Logs SDK.</p>
|
|
974
|
+
* <p>For more information about CloudWatch Logs features, see the
|
|
975
|
+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html">Amazon CloudWatch Logs User Guide</a>.</p>
|
|
952
976
|
* <p>You can use CloudWatch Logs to:</p>
|
|
953
977
|
* <ul>
|
|
954
978
|
* <li>
|
|
@@ -979,6 +1003,11 @@ export interface CloudWatchLogs {
|
|
|
979
1003
|
* into the log service. You can then access the raw log data when you need it.</p>
|
|
980
1004
|
* </li>
|
|
981
1005
|
* </ul>
|
|
1006
|
+
* <note>
|
|
1007
|
+
* <p>CloudWatch Logs might log request contents for fields that aren't considered
|
|
1008
|
+
* sensitive, such as API request parameters for CloudWatch Logs actions. This provides
|
|
1009
|
+
* debugging information for failed API requests.</p>
|
|
1010
|
+
* </note>
|
|
982
1011
|
* @public
|
|
983
1012
|
*/
|
|
984
1013
|
export declare class CloudWatchLogs extends CloudWatchLogsClient implements CloudWatchLogs {
|
|
@@ -38,6 +38,7 @@ import type { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutpu
|
|
|
38
38
|
import type { DeleteRetentionPolicyCommandInput, DeleteRetentionPolicyCommandOutput } from "./commands/DeleteRetentionPolicyCommand";
|
|
39
39
|
import type { DeleteScheduledQueryCommandInput, DeleteScheduledQueryCommandOutput } from "./commands/DeleteScheduledQueryCommand";
|
|
40
40
|
import type { DeleteSubscriptionFilterCommandInput, DeleteSubscriptionFilterCommandOutput } from "./commands/DeleteSubscriptionFilterCommand";
|
|
41
|
+
import type { DeleteSyslogConfigurationCommandInput, DeleteSyslogConfigurationCommandOutput } from "./commands/DeleteSyslogConfigurationCommand";
|
|
41
42
|
import type { DeleteTransformerCommandInput, DeleteTransformerCommandOutput } from "./commands/DeleteTransformerCommand";
|
|
42
43
|
import type { DescribeAccountPoliciesCommandInput, DescribeAccountPoliciesCommandOutput } from "./commands/DescribeAccountPoliciesCommand";
|
|
43
44
|
import type { DescribeConfigurationTemplatesCommandInput, DescribeConfigurationTemplatesCommandOutput } from "./commands/DescribeConfigurationTemplatesCommand";
|
|
@@ -86,6 +87,7 @@ import type { ListLogGroupsCommandInput, ListLogGroupsCommandOutput } from "./co
|
|
|
86
87
|
import type { ListLogGroupsForQueryCommandInput, ListLogGroupsForQueryCommandOutput } from "./commands/ListLogGroupsForQueryCommand";
|
|
87
88
|
import type { ListScheduledQueriesCommandInput, ListScheduledQueriesCommandOutput } from "./commands/ListScheduledQueriesCommand";
|
|
88
89
|
import type { ListSourcesForS3TableIntegrationCommandInput, ListSourcesForS3TableIntegrationCommandOutput } from "./commands/ListSourcesForS3TableIntegrationCommand";
|
|
90
|
+
import type { ListSyslogConfigurationsCommandInput, ListSyslogConfigurationsCommandOutput } from "./commands/ListSyslogConfigurationsCommand";
|
|
89
91
|
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
90
92
|
import type { ListTagsLogGroupCommandInput, ListTagsLogGroupCommandOutput } from "./commands/ListTagsLogGroupCommand";
|
|
91
93
|
import type { PutAccountPolicyCommandInput, PutAccountPolicyCommandOutput } from "./commands/PutAccountPolicyCommand";
|
|
@@ -105,6 +107,7 @@ import type { PutQueryDefinitionCommandInput, PutQueryDefinitionCommandOutput }
|
|
|
105
107
|
import type { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
106
108
|
import type { PutRetentionPolicyCommandInput, PutRetentionPolicyCommandOutput } from "./commands/PutRetentionPolicyCommand";
|
|
107
109
|
import type { PutSubscriptionFilterCommandInput, PutSubscriptionFilterCommandOutput } from "./commands/PutSubscriptionFilterCommand";
|
|
110
|
+
import type { PutSyslogConfigurationCommandInput, PutSyslogConfigurationCommandOutput } from "./commands/PutSyslogConfigurationCommand";
|
|
108
111
|
import type { PutTransformerCommandInput, PutTransformerCommandOutput } from "./commands/PutTransformerCommand";
|
|
109
112
|
import type { StartLiveTailCommandInput, StartLiveTailCommandOutput } from "./commands/StartLiveTailCommand";
|
|
110
113
|
import type { StartQueryCommandInput, StartQueryCommandOutput } from "./commands/StartQueryCommand";
|
|
@@ -126,11 +129,11 @@ export { __Client };
|
|
|
126
129
|
/**
|
|
127
130
|
* @public
|
|
128
131
|
*/
|
|
129
|
-
export type ServiceInputTypes = AssociateKmsKeyCommandInput | AssociateSourceToS3TableIntegrationCommandInput | CancelExportTaskCommandInput | CancelImportTaskCommandInput | CreateDeliveryCommandInput | CreateExportTaskCommandInput | CreateImportTaskCommandInput | CreateLogAnomalyDetectorCommandInput | CreateLogGroupCommandInput | CreateLogStreamCommandInput | CreateLookupTableCommandInput | CreateScheduledQueryCommandInput | DeleteAccountPolicyCommandInput | DeleteDataProtectionPolicyCommandInput | DeleteDeliveryCommandInput | DeleteDeliveryDestinationCommandInput | DeleteDeliveryDestinationPolicyCommandInput | DeleteDeliverySourceCommandInput | DeleteDestinationCommandInput | DeleteIndexPolicyCommandInput | DeleteIntegrationCommandInput | DeleteLogAnomalyDetectorCommandInput | DeleteLogGroupCommandInput | DeleteLogStreamCommandInput | DeleteLookupTableCommandInput | DeleteMetricFilterCommandInput | DeleteQueryDefinitionCommandInput | DeleteResourcePolicyCommandInput | DeleteRetentionPolicyCommandInput | DeleteScheduledQueryCommandInput | DeleteSubscriptionFilterCommandInput | DeleteTransformerCommandInput | DescribeAccountPoliciesCommandInput | DescribeConfigurationTemplatesCommandInput | DescribeDeliveriesCommandInput | DescribeDeliveryDestinationsCommandInput | DescribeDeliverySourcesCommandInput | DescribeDestinationsCommandInput | DescribeExportTasksCommandInput | DescribeFieldIndexesCommandInput | DescribeImportTaskBatchesCommandInput | DescribeImportTasksCommandInput | DescribeIndexPoliciesCommandInput | DescribeLogGroupsCommandInput | DescribeLogStreamsCommandInput | DescribeLookupTablesCommandInput | DescribeMetricFiltersCommandInput | DescribeQueriesCommandInput | DescribeQueryDefinitionsCommandInput | DescribeResourcePoliciesCommandInput | DescribeSubscriptionFiltersCommandInput | DisassociateKmsKeyCommandInput | DisassociateSourceFromS3TableIntegrationCommandInput | FilterLogEventsCommandInput | GetDataProtectionPolicyCommandInput | GetDeliveryCommandInput | GetDeliveryDestinationCommandInput | GetDeliveryDestinationPolicyCommandInput | GetDeliverySourceCommandInput | GetIntegrationCommandInput | GetLogAnomalyDetectorCommandInput | GetLogEventsCommandInput | GetLogFieldsCommandInput | GetLogGroupFieldsCommandInput | GetLogObjectCommandInput | GetLogRecordCommandInput | GetLookupTableCommandInput | GetQueryResultsCommandInput | GetScheduledQueryCommandInput | GetScheduledQueryHistoryCommandInput | GetTransformerCommandInput | ListAggregateLogGroupSummariesCommandInput | ListAnomaliesCommandInput | ListIntegrationsCommandInput | ListLogAnomalyDetectorsCommandInput | ListLogGroupsCommandInput | ListLogGroupsForQueryCommandInput | ListScheduledQueriesCommandInput | ListSourcesForS3TableIntegrationCommandInput | ListTagsForResourceCommandInput | ListTagsLogGroupCommandInput | PutAccountPolicyCommandInput | PutBearerTokenAuthenticationCommandInput | PutDataProtectionPolicyCommandInput | PutDeliveryDestinationCommandInput | PutDeliveryDestinationPolicyCommandInput | PutDeliverySourceCommandInput | PutDestinationCommandInput | PutDestinationPolicyCommandInput | PutIndexPolicyCommandInput | PutIntegrationCommandInput | PutLogEventsCommandInput | PutLogGroupDeletionProtectionCommandInput | PutMetricFilterCommandInput | PutQueryDefinitionCommandInput | PutResourcePolicyCommandInput | PutRetentionPolicyCommandInput | PutSubscriptionFilterCommandInput | PutTransformerCommandInput | StartLiveTailCommandInput | StartQueryCommandInput | StopQueryCommandInput | TagLogGroupCommandInput | TagResourceCommandInput | TestMetricFilterCommandInput | TestTransformerCommandInput | UntagLogGroupCommandInput | UntagResourceCommandInput | UpdateAnomalyCommandInput | UpdateDeliveryConfigurationCommandInput | UpdateLogAnomalyDetectorCommandInput | UpdateLookupTableCommandInput | UpdateScheduledQueryCommandInput;
|
|
132
|
+
export type ServiceInputTypes = AssociateKmsKeyCommandInput | AssociateSourceToS3TableIntegrationCommandInput | CancelExportTaskCommandInput | CancelImportTaskCommandInput | CreateDeliveryCommandInput | CreateExportTaskCommandInput | CreateImportTaskCommandInput | CreateLogAnomalyDetectorCommandInput | CreateLogGroupCommandInput | CreateLogStreamCommandInput | CreateLookupTableCommandInput | CreateScheduledQueryCommandInput | DeleteAccountPolicyCommandInput | DeleteDataProtectionPolicyCommandInput | DeleteDeliveryCommandInput | DeleteDeliveryDestinationCommandInput | DeleteDeliveryDestinationPolicyCommandInput | DeleteDeliverySourceCommandInput | DeleteDestinationCommandInput | DeleteIndexPolicyCommandInput | DeleteIntegrationCommandInput | DeleteLogAnomalyDetectorCommandInput | DeleteLogGroupCommandInput | DeleteLogStreamCommandInput | DeleteLookupTableCommandInput | DeleteMetricFilterCommandInput | DeleteQueryDefinitionCommandInput | DeleteResourcePolicyCommandInput | DeleteRetentionPolicyCommandInput | DeleteScheduledQueryCommandInput | DeleteSubscriptionFilterCommandInput | DeleteSyslogConfigurationCommandInput | DeleteTransformerCommandInput | DescribeAccountPoliciesCommandInput | DescribeConfigurationTemplatesCommandInput | DescribeDeliveriesCommandInput | DescribeDeliveryDestinationsCommandInput | DescribeDeliverySourcesCommandInput | DescribeDestinationsCommandInput | DescribeExportTasksCommandInput | DescribeFieldIndexesCommandInput | DescribeImportTaskBatchesCommandInput | DescribeImportTasksCommandInput | DescribeIndexPoliciesCommandInput | DescribeLogGroupsCommandInput | DescribeLogStreamsCommandInput | DescribeLookupTablesCommandInput | DescribeMetricFiltersCommandInput | DescribeQueriesCommandInput | DescribeQueryDefinitionsCommandInput | DescribeResourcePoliciesCommandInput | DescribeSubscriptionFiltersCommandInput | DisassociateKmsKeyCommandInput | DisassociateSourceFromS3TableIntegrationCommandInput | FilterLogEventsCommandInput | GetDataProtectionPolicyCommandInput | GetDeliveryCommandInput | GetDeliveryDestinationCommandInput | GetDeliveryDestinationPolicyCommandInput | GetDeliverySourceCommandInput | GetIntegrationCommandInput | GetLogAnomalyDetectorCommandInput | GetLogEventsCommandInput | GetLogFieldsCommandInput | GetLogGroupFieldsCommandInput | GetLogObjectCommandInput | GetLogRecordCommandInput | GetLookupTableCommandInput | GetQueryResultsCommandInput | GetScheduledQueryCommandInput | GetScheduledQueryHistoryCommandInput | GetTransformerCommandInput | ListAggregateLogGroupSummariesCommandInput | ListAnomaliesCommandInput | ListIntegrationsCommandInput | ListLogAnomalyDetectorsCommandInput | ListLogGroupsCommandInput | ListLogGroupsForQueryCommandInput | ListScheduledQueriesCommandInput | ListSourcesForS3TableIntegrationCommandInput | ListSyslogConfigurationsCommandInput | ListTagsForResourceCommandInput | ListTagsLogGroupCommandInput | PutAccountPolicyCommandInput | PutBearerTokenAuthenticationCommandInput | PutDataProtectionPolicyCommandInput | PutDeliveryDestinationCommandInput | PutDeliveryDestinationPolicyCommandInput | PutDeliverySourceCommandInput | PutDestinationCommandInput | PutDestinationPolicyCommandInput | PutIndexPolicyCommandInput | PutIntegrationCommandInput | PutLogEventsCommandInput | PutLogGroupDeletionProtectionCommandInput | PutMetricFilterCommandInput | PutQueryDefinitionCommandInput | PutResourcePolicyCommandInput | PutRetentionPolicyCommandInput | PutSubscriptionFilterCommandInput | PutSyslogConfigurationCommandInput | PutTransformerCommandInput | StartLiveTailCommandInput | StartQueryCommandInput | StopQueryCommandInput | TagLogGroupCommandInput | TagResourceCommandInput | TestMetricFilterCommandInput | TestTransformerCommandInput | UntagLogGroupCommandInput | UntagResourceCommandInput | UpdateAnomalyCommandInput | UpdateDeliveryConfigurationCommandInput | UpdateLogAnomalyDetectorCommandInput | UpdateLookupTableCommandInput | UpdateScheduledQueryCommandInput;
|
|
130
133
|
/**
|
|
131
134
|
* @public
|
|
132
135
|
*/
|
|
133
|
-
export type ServiceOutputTypes = AssociateKmsKeyCommandOutput | AssociateSourceToS3TableIntegrationCommandOutput | CancelExportTaskCommandOutput | CancelImportTaskCommandOutput | CreateDeliveryCommandOutput | CreateExportTaskCommandOutput | CreateImportTaskCommandOutput | CreateLogAnomalyDetectorCommandOutput | CreateLogGroupCommandOutput | CreateLogStreamCommandOutput | CreateLookupTableCommandOutput | CreateScheduledQueryCommandOutput | DeleteAccountPolicyCommandOutput | DeleteDataProtectionPolicyCommandOutput | DeleteDeliveryCommandOutput | DeleteDeliveryDestinationCommandOutput | DeleteDeliveryDestinationPolicyCommandOutput | DeleteDeliverySourceCommandOutput | DeleteDestinationCommandOutput | DeleteIndexPolicyCommandOutput | DeleteIntegrationCommandOutput | DeleteLogAnomalyDetectorCommandOutput | DeleteLogGroupCommandOutput | DeleteLogStreamCommandOutput | DeleteLookupTableCommandOutput | DeleteMetricFilterCommandOutput | DeleteQueryDefinitionCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRetentionPolicyCommandOutput | DeleteScheduledQueryCommandOutput | DeleteSubscriptionFilterCommandOutput | DeleteTransformerCommandOutput | DescribeAccountPoliciesCommandOutput | DescribeConfigurationTemplatesCommandOutput | DescribeDeliveriesCommandOutput | DescribeDeliveryDestinationsCommandOutput | DescribeDeliverySourcesCommandOutput | DescribeDestinationsCommandOutput | DescribeExportTasksCommandOutput | DescribeFieldIndexesCommandOutput | DescribeImportTaskBatchesCommandOutput | DescribeImportTasksCommandOutput | DescribeIndexPoliciesCommandOutput | DescribeLogGroupsCommandOutput | DescribeLogStreamsCommandOutput | DescribeLookupTablesCommandOutput | DescribeMetricFiltersCommandOutput | DescribeQueriesCommandOutput | DescribeQueryDefinitionsCommandOutput | DescribeResourcePoliciesCommandOutput | DescribeSubscriptionFiltersCommandOutput | DisassociateKmsKeyCommandOutput | DisassociateSourceFromS3TableIntegrationCommandOutput | FilterLogEventsCommandOutput | GetDataProtectionPolicyCommandOutput | GetDeliveryCommandOutput | GetDeliveryDestinationCommandOutput | GetDeliveryDestinationPolicyCommandOutput | GetDeliverySourceCommandOutput | GetIntegrationCommandOutput | GetLogAnomalyDetectorCommandOutput | GetLogEventsCommandOutput | GetLogFieldsCommandOutput | GetLogGroupFieldsCommandOutput | GetLogObjectCommandOutput | GetLogRecordCommandOutput | GetLookupTableCommandOutput | GetQueryResultsCommandOutput | GetScheduledQueryCommandOutput | GetScheduledQueryHistoryCommandOutput | GetTransformerCommandOutput | ListAggregateLogGroupSummariesCommandOutput | ListAnomaliesCommandOutput | ListIntegrationsCommandOutput | ListLogAnomalyDetectorsCommandOutput | ListLogGroupsCommandOutput | ListLogGroupsForQueryCommandOutput | ListScheduledQueriesCommandOutput | ListSourcesForS3TableIntegrationCommandOutput | ListTagsForResourceCommandOutput | ListTagsLogGroupCommandOutput | PutAccountPolicyCommandOutput | PutBearerTokenAuthenticationCommandOutput | PutDataProtectionPolicyCommandOutput | PutDeliveryDestinationCommandOutput | PutDeliveryDestinationPolicyCommandOutput | PutDeliverySourceCommandOutput | PutDestinationCommandOutput | PutDestinationPolicyCommandOutput | PutIndexPolicyCommandOutput | PutIntegrationCommandOutput | PutLogEventsCommandOutput | PutLogGroupDeletionProtectionCommandOutput | PutMetricFilterCommandOutput | PutQueryDefinitionCommandOutput | PutResourcePolicyCommandOutput | PutRetentionPolicyCommandOutput | PutSubscriptionFilterCommandOutput | PutTransformerCommandOutput | StartLiveTailCommandOutput | StartQueryCommandOutput | StopQueryCommandOutput | TagLogGroupCommandOutput | TagResourceCommandOutput | TestMetricFilterCommandOutput | TestTransformerCommandOutput | UntagLogGroupCommandOutput | UntagResourceCommandOutput | UpdateAnomalyCommandOutput | UpdateDeliveryConfigurationCommandOutput | UpdateLogAnomalyDetectorCommandOutput | UpdateLookupTableCommandOutput | UpdateScheduledQueryCommandOutput;
|
|
136
|
+
export type ServiceOutputTypes = AssociateKmsKeyCommandOutput | AssociateSourceToS3TableIntegrationCommandOutput | CancelExportTaskCommandOutput | CancelImportTaskCommandOutput | CreateDeliveryCommandOutput | CreateExportTaskCommandOutput | CreateImportTaskCommandOutput | CreateLogAnomalyDetectorCommandOutput | CreateLogGroupCommandOutput | CreateLogStreamCommandOutput | CreateLookupTableCommandOutput | CreateScheduledQueryCommandOutput | DeleteAccountPolicyCommandOutput | DeleteDataProtectionPolicyCommandOutput | DeleteDeliveryCommandOutput | DeleteDeliveryDestinationCommandOutput | DeleteDeliveryDestinationPolicyCommandOutput | DeleteDeliverySourceCommandOutput | DeleteDestinationCommandOutput | DeleteIndexPolicyCommandOutput | DeleteIntegrationCommandOutput | DeleteLogAnomalyDetectorCommandOutput | DeleteLogGroupCommandOutput | DeleteLogStreamCommandOutput | DeleteLookupTableCommandOutput | DeleteMetricFilterCommandOutput | DeleteQueryDefinitionCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRetentionPolicyCommandOutput | DeleteScheduledQueryCommandOutput | DeleteSubscriptionFilterCommandOutput | DeleteSyslogConfigurationCommandOutput | DeleteTransformerCommandOutput | DescribeAccountPoliciesCommandOutput | DescribeConfigurationTemplatesCommandOutput | DescribeDeliveriesCommandOutput | DescribeDeliveryDestinationsCommandOutput | DescribeDeliverySourcesCommandOutput | DescribeDestinationsCommandOutput | DescribeExportTasksCommandOutput | DescribeFieldIndexesCommandOutput | DescribeImportTaskBatchesCommandOutput | DescribeImportTasksCommandOutput | DescribeIndexPoliciesCommandOutput | DescribeLogGroupsCommandOutput | DescribeLogStreamsCommandOutput | DescribeLookupTablesCommandOutput | DescribeMetricFiltersCommandOutput | DescribeQueriesCommandOutput | DescribeQueryDefinitionsCommandOutput | DescribeResourcePoliciesCommandOutput | DescribeSubscriptionFiltersCommandOutput | DisassociateKmsKeyCommandOutput | DisassociateSourceFromS3TableIntegrationCommandOutput | FilterLogEventsCommandOutput | GetDataProtectionPolicyCommandOutput | GetDeliveryCommandOutput | GetDeliveryDestinationCommandOutput | GetDeliveryDestinationPolicyCommandOutput | GetDeliverySourceCommandOutput | GetIntegrationCommandOutput | GetLogAnomalyDetectorCommandOutput | GetLogEventsCommandOutput | GetLogFieldsCommandOutput | GetLogGroupFieldsCommandOutput | GetLogObjectCommandOutput | GetLogRecordCommandOutput | GetLookupTableCommandOutput | GetQueryResultsCommandOutput | GetScheduledQueryCommandOutput | GetScheduledQueryHistoryCommandOutput | GetTransformerCommandOutput | ListAggregateLogGroupSummariesCommandOutput | ListAnomaliesCommandOutput | ListIntegrationsCommandOutput | ListLogAnomalyDetectorsCommandOutput | ListLogGroupsCommandOutput | ListLogGroupsForQueryCommandOutput | ListScheduledQueriesCommandOutput | ListSourcesForS3TableIntegrationCommandOutput | ListSyslogConfigurationsCommandOutput | ListTagsForResourceCommandOutput | ListTagsLogGroupCommandOutput | PutAccountPolicyCommandOutput | PutBearerTokenAuthenticationCommandOutput | PutDataProtectionPolicyCommandOutput | PutDeliveryDestinationCommandOutput | PutDeliveryDestinationPolicyCommandOutput | PutDeliverySourceCommandOutput | PutDestinationCommandOutput | PutDestinationPolicyCommandOutput | PutIndexPolicyCommandOutput | PutIntegrationCommandOutput | PutLogEventsCommandOutput | PutLogGroupDeletionProtectionCommandOutput | PutMetricFilterCommandOutput | PutQueryDefinitionCommandOutput | PutResourcePolicyCommandOutput | PutRetentionPolicyCommandOutput | PutSubscriptionFilterCommandOutput | PutSyslogConfigurationCommandOutput | PutTransformerCommandOutput | StartLiveTailCommandOutput | StartQueryCommandOutput | StopQueryCommandOutput | TagLogGroupCommandOutput | TagResourceCommandOutput | TestMetricFilterCommandOutput | TestTransformerCommandOutput | UntagLogGroupCommandOutput | UntagResourceCommandOutput | UpdateAnomalyCommandOutput | UpdateDeliveryConfigurationCommandOutput | UpdateLogAnomalyDetectorCommandOutput | UpdateLookupTableCommandOutput | UpdateScheduledQueryCommandOutput;
|
|
134
137
|
/**
|
|
135
138
|
* @public
|
|
136
139
|
*/
|
|
@@ -291,6 +294,8 @@ export interface CloudWatchLogsClientResolvedConfig extends CloudWatchLogsClient
|
|
|
291
294
|
* log data from CloudWatch Logs using the CloudWatch console. Alternatively, you can use
|
|
292
295
|
* CloudWatch Logs commands in the Amazon Web Services CLI, CloudWatch Logs API, or CloudWatch
|
|
293
296
|
* Logs SDK.</p>
|
|
297
|
+
* <p>For more information about CloudWatch Logs features, see the
|
|
298
|
+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html">Amazon CloudWatch Logs User Guide</a>.</p>
|
|
294
299
|
* <p>You can use CloudWatch Logs to:</p>
|
|
295
300
|
* <ul>
|
|
296
301
|
* <li>
|
|
@@ -321,6 +326,11 @@ export interface CloudWatchLogsClientResolvedConfig extends CloudWatchLogsClient
|
|
|
321
326
|
* into the log service. You can then access the raw log data when you need it.</p>
|
|
322
327
|
* </li>
|
|
323
328
|
* </ul>
|
|
329
|
+
* <note>
|
|
330
|
+
* <p>CloudWatch Logs might log request contents for fields that aren't considered
|
|
331
|
+
* sensitive, such as API request parameters for CloudWatch Logs actions. This provides
|
|
332
|
+
* debugging information for failed API requests.</p>
|
|
333
|
+
* </note>
|
|
324
334
|
* @public
|
|
325
335
|
*/
|
|
326
336
|
export declare class CloudWatchLogsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudWatchLogsClientResolvedConfig> {
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
4
|
+
import type { DeleteSyslogConfigurationRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteSyslogConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteSyslogConfigurationCommandInput extends DeleteSyslogConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteSyslogConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteSyslogConfigurationCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteSyslogConfigurationCommand_base: {
|
|
25
|
+
new (input: DeleteSyslogConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DeleteSyslogConfigurationCommandInput, DeleteSyslogConfigurationCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteSyslogConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DeleteSyslogConfigurationCommandInput, DeleteSyslogConfigurationCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Deletes a syslog configuration for a log group. After deletion, syslog data is no
|
|
33
|
+
* longer ingested through the specified VPC endpoint.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { CloudWatchLogsClient, DeleteSyslogConfigurationCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
38
|
+
* // const { CloudWatchLogsClient, DeleteSyslogConfigurationCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
39
|
+
* // import type { CloudWatchLogsClientConfig } from "@aws-sdk/client-cloudwatch-logs";
|
|
40
|
+
* const config = {}; // type is CloudWatchLogsClientConfig
|
|
41
|
+
* const client = new CloudWatchLogsClient(config);
|
|
42
|
+
* const input = { // DeleteSyslogConfigurationRequest
|
|
43
|
+
* logGroupIdentifier: "STRING_VALUE", // required
|
|
44
|
+
* vpcEndpointId: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new DeleteSyslogConfigurationCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param DeleteSyslogConfigurationCommandInput - {@link DeleteSyslogConfigurationCommandInput}
|
|
53
|
+
* @returns {@link DeleteSyslogConfigurationCommandOutput}
|
|
54
|
+
* @see {@link DeleteSyslogConfigurationCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link DeleteSyslogConfigurationCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>You don't have sufficient permissions to perform this action.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidOperationException} (client fault)
|
|
62
|
+
* <p>The operation is not valid on the specified resource.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
65
|
+
* <p>A parameter is specified incorrectly.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link OperationAbortedException} (client fault)
|
|
68
|
+
* <p>Multiple concurrent requests to update the same resource were in conflict.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* <p>The specified resource does not exist.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
74
|
+
* <p>The service cannot complete the request.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>The request was throttled because of quota limits.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class DeleteSyslogConfigurationCommand extends DeleteSyslogConfigurationCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: DeleteSyslogConfigurationRequest;
|
|
90
|
+
output: {};
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: DeleteSyslogConfigurationCommandInput;
|
|
94
|
+
output: DeleteSyslogConfigurationCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
4
|
+
import type { ListSyslogConfigurationsRequest, ListSyslogConfigurationsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListSyslogConfigurationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListSyslogConfigurationsCommandInput extends ListSyslogConfigurationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListSyslogConfigurationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListSyslogConfigurationsCommandOutput extends ListSyslogConfigurationsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListSyslogConfigurationsCommand_base: {
|
|
25
|
+
new (input: ListSyslogConfigurationsCommandInput): import("@smithy/core/client").CommandImpl<ListSyslogConfigurationsCommandInput, ListSyslogConfigurationsCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListSyslogConfigurationsCommandInput]): import("@smithy/core/client").CommandImpl<ListSyslogConfigurationsCommandInput, ListSyslogConfigurationsCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Returns a list of syslog configurations. You can optionally filter the results by log
|
|
33
|
+
* group or VPC endpoint.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { CloudWatchLogsClient, ListSyslogConfigurationsCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
38
|
+
* // const { CloudWatchLogsClient, ListSyslogConfigurationsCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
39
|
+
* // import type { CloudWatchLogsClientConfig } from "@aws-sdk/client-cloudwatch-logs";
|
|
40
|
+
* const config = {}; // type is CloudWatchLogsClientConfig
|
|
41
|
+
* const client = new CloudWatchLogsClient(config);
|
|
42
|
+
* const input = { // ListSyslogConfigurationsRequest
|
|
43
|
+
* logGroupIdentifier: "STRING_VALUE",
|
|
44
|
+
* vpcEndpointId: "STRING_VALUE",
|
|
45
|
+
* nextToken: "STRING_VALUE",
|
|
46
|
+
* maxResults: Number("int"),
|
|
47
|
+
* };
|
|
48
|
+
* const command = new ListSyslogConfigurationsCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // ListSyslogConfigurationsResponse
|
|
51
|
+
* // syslogConfigurations: [ // SyslogConfigurations
|
|
52
|
+
* // { // SyslogConfiguration
|
|
53
|
+
* // logGroupArn: "STRING_VALUE",
|
|
54
|
+
* // sourceType: "VPCE",
|
|
55
|
+
* // vpcEndpointId: "STRING_VALUE",
|
|
56
|
+
* // createdAt: Number("long"),
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // nextToken: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param ListSyslogConfigurationsCommandInput - {@link ListSyslogConfigurationsCommandInput}
|
|
65
|
+
* @returns {@link ListSyslogConfigurationsCommandOutput}
|
|
66
|
+
* @see {@link ListSyslogConfigurationsCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link ListSyslogConfigurationsCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>You don't have sufficient permissions to perform this action.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InvalidOperationException} (client fault)
|
|
74
|
+
* <p>The operation is not valid on the specified resource.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
77
|
+
* <p>A parameter is specified incorrectly.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
|
+
* <p>The specified resource does not exist.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
83
|
+
* <p>The service cannot complete the request.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* <p>The request was throttled because of quota limits.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class ListSyslogConfigurationsCommand extends ListSyslogConfigurationsCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: ListSyslogConfigurationsRequest;
|
|
99
|
+
output: ListSyslogConfigurationsResponse;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: ListSyslogConfigurationsCommandInput;
|
|
103
|
+
output: ListSyslogConfigurationsCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -32,6 +32,54 @@ declare const PutAccountPolicyCommand_base: {
|
|
|
32
32
|
* <p>Creates an account-level data protection policy, subscription filter policy, field index
|
|
33
33
|
* policy, transformer policy, or metric extraction policy that applies to all log groups, a
|
|
34
34
|
* subset of log groups, or a data source name and type combination in the account.</p>
|
|
35
|
+
* <important>
|
|
36
|
+
* <p>
|
|
37
|
+
* <code>PutAccountPolicy</code> is an account-wide administrative operation intended for
|
|
38
|
+
* CloudWatch Logs administrators. Because it affects all log groups (or a broad subset) in
|
|
39
|
+
* the account, you should grant <code>logs:PutAccountPolicy</code> permissions only to
|
|
40
|
+
* administrators who manage logging configuration across the account, not to application teams
|
|
41
|
+
* or individual log group owners.</p>
|
|
42
|
+
* </important>
|
|
43
|
+
* <p>
|
|
44
|
+
* <b>Conflict resolution between account-level and log-group-level
|
|
45
|
+
* policies</b>
|
|
46
|
+
* </p>
|
|
47
|
+
* <p>When both an account-level policy and a log-group-level policy of the same type apply to a
|
|
48
|
+
* log group, the resolution depends on the policy type:</p>
|
|
49
|
+
* <ul>
|
|
50
|
+
* <li>
|
|
51
|
+
* <p>
|
|
52
|
+
* <i>Data protection</i> — The two policies are cumulative. Any sensitive
|
|
53
|
+
* term specified in either the account-level or the log-group-level policy is masked.</p>
|
|
54
|
+
* </li>
|
|
55
|
+
* <li>
|
|
56
|
+
* <p>
|
|
57
|
+
* <i>Subscription filters</i> — Account-level and log-group-level
|
|
58
|
+
* subscription filters are additive. A log group can have up to 1 account-level and up to 2
|
|
59
|
+
* log-group-level subscription filters.</p>
|
|
60
|
+
* </li>
|
|
61
|
+
* <li>
|
|
62
|
+
* <p>
|
|
63
|
+
* <i>Transformers</i> — A log-group-level transformer overrides the
|
|
64
|
+
* account-level transformer. If a log group has its own transformer, it ignores the
|
|
65
|
+
* account-level transformer policy.</p>
|
|
66
|
+
* </li>
|
|
67
|
+
* <li>
|
|
68
|
+
* <p>
|
|
69
|
+
* <i>Field index policies</i> — If a log group has its own field index
|
|
70
|
+
* policy (created with <code>PutIndexPolicy</code>), any account-level policy that uses
|
|
71
|
+
* <code>LogGroupNamePrefix</code> selection criteria or has no selection criteria is ignored
|
|
72
|
+
* for that log group. However, account-level policies that use <code>DataSourceName</code>
|
|
73
|
+
* and <code>DataSourceType</code> selection criteria still apply alongside the log-group-level
|
|
74
|
+
* policy.</p>
|
|
75
|
+
* </li>
|
|
76
|
+
* <li>
|
|
77
|
+
* <p>
|
|
78
|
+
* <i>Metric extraction policies</i> — Metric extraction policies are
|
|
79
|
+
* account-level only and have no log-group-level equivalent, so no conflict resolution
|
|
80
|
+
* applies.</p>
|
|
81
|
+
* </li>
|
|
82
|
+
* </ul>
|
|
35
83
|
* <p>For field index policies, you can configure indexed fields as <i>facets</i>
|
|
36
84
|
* to enable interactive exploration of your logs. Facets provide value distributions and counts
|
|
37
85
|
* for indexed fields in the CloudWatch Logs Insights console without requiring query
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
4
|
+
import type { PutSyslogConfigurationRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutSyslogConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutSyslogConfigurationCommandInput extends PutSyslogConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutSyslogConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutSyslogConfigurationCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutSyslogConfigurationCommand_base: {
|
|
25
|
+
new (input: PutSyslogConfigurationCommandInput): import("@smithy/core/client").CommandImpl<PutSyslogConfigurationCommandInput, PutSyslogConfigurationCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutSyslogConfigurationCommandInput): import("@smithy/core/client").CommandImpl<PutSyslogConfigurationCommandInput, PutSyslogConfigurationCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Creates or updates a syslog configuration for a log group. This enables ingestion of
|
|
33
|
+
* syslog data through the specified VPC endpoint into the log group.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { CloudWatchLogsClient, PutSyslogConfigurationCommand } from "@aws-sdk/client-cloudwatch-logs"; // ES Modules import
|
|
38
|
+
* // const { CloudWatchLogsClient, PutSyslogConfigurationCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
39
|
+
* // import type { CloudWatchLogsClientConfig } from "@aws-sdk/client-cloudwatch-logs";
|
|
40
|
+
* const config = {}; // type is CloudWatchLogsClientConfig
|
|
41
|
+
* const client = new CloudWatchLogsClient(config);
|
|
42
|
+
* const input = { // PutSyslogConfigurationRequest
|
|
43
|
+
* logGroupIdentifier: "STRING_VALUE", // required
|
|
44
|
+
* vpcEndpointId: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new PutSyslogConfigurationCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param PutSyslogConfigurationCommandInput - {@link PutSyslogConfigurationCommandInput}
|
|
53
|
+
* @returns {@link PutSyslogConfigurationCommandOutput}
|
|
54
|
+
* @see {@link PutSyslogConfigurationCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link PutSyslogConfigurationCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link CloudWatchLogsClientResolvedConfig | config} for CloudWatchLogsClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>You don't have sufficient permissions to perform this action.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidOperationException} (client fault)
|
|
62
|
+
* <p>The operation is not valid on the specified resource.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
65
|
+
* <p>A parameter is specified incorrectly.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link OperationAbortedException} (client fault)
|
|
68
|
+
* <p>Multiple concurrent requests to update the same resource were in conflict.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* <p>The specified resource does not exist.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
74
|
+
* <p>The service cannot complete the request.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>The request was throttled because of quota limits.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link CloudWatchLogsServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class PutSyslogConfigurationCommand extends PutSyslogConfigurationCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: PutSyslogConfigurationRequest;
|
|
90
|
+
output: {};
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: PutSyslogConfigurationCommandInput;
|
|
94
|
+
output: PutSyslogConfigurationCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
4
|
-
import type { UntagLogGroupRequest } from "../models/
|
|
4
|
+
import type { UntagLogGroupRequest } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
4
|
-
import type { UntagResourceRequest } from "../models/
|
|
4
|
+
import type { UntagResourceRequest } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
4
|
-
import type { UpdateAnomalyRequest } from "../models/
|
|
4
|
+
import type { UpdateAnomalyRequest } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
4
|
-
import type { UpdateDeliveryConfigurationRequest } from "../models/
|
|
5
|
-
import type { UpdateDeliveryConfigurationResponse } from "../models/models_1";
|
|
4
|
+
import type { UpdateDeliveryConfigurationRequest, UpdateDeliveryConfigurationResponse } from "../models/models_1";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -29,6 +29,7 @@ export * from "./DeleteResourcePolicyCommand";
|
|
|
29
29
|
export * from "./DeleteRetentionPolicyCommand";
|
|
30
30
|
export * from "./DeleteScheduledQueryCommand";
|
|
31
31
|
export * from "./DeleteSubscriptionFilterCommand";
|
|
32
|
+
export * from "./DeleteSyslogConfigurationCommand";
|
|
32
33
|
export * from "./DeleteTransformerCommand";
|
|
33
34
|
export * from "./DescribeAccountPoliciesCommand";
|
|
34
35
|
export * from "./DescribeConfigurationTemplatesCommand";
|
|
@@ -77,6 +78,7 @@ export * from "./ListLogGroupsCommand";
|
|
|
77
78
|
export * from "./ListLogGroupsForQueryCommand";
|
|
78
79
|
export * from "./ListScheduledQueriesCommand";
|
|
79
80
|
export * from "./ListSourcesForS3TableIntegrationCommand";
|
|
81
|
+
export * from "./ListSyslogConfigurationsCommand";
|
|
80
82
|
export * from "./ListTagsForResourceCommand";
|
|
81
83
|
export * from "./ListTagsLogGroupCommand";
|
|
82
84
|
export * from "./PutAccountPolicyCommand";
|
|
@@ -96,6 +98,7 @@ export * from "./PutQueryDefinitionCommand";
|
|
|
96
98
|
export * from "./PutResourcePolicyCommand";
|
|
97
99
|
export * from "./PutRetentionPolicyCommand";
|
|
98
100
|
export * from "./PutSubscriptionFilterCommand";
|
|
101
|
+
export * from "./PutSyslogConfigurationCommand";
|
|
99
102
|
export * from "./PutTransformerCommand";
|
|
100
103
|
export * from "./StartLiveTailCommand";
|
|
101
104
|
export * from "./StartQueryCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
* log data from CloudWatch Logs using the CloudWatch console. Alternatively, you can use
|
|
5
5
|
* CloudWatch Logs commands in the Amazon Web Services CLI, CloudWatch Logs API, or CloudWatch
|
|
6
6
|
* Logs SDK.</p>
|
|
7
|
+
* <p>For more information about CloudWatch Logs features, see the
|
|
8
|
+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html">Amazon CloudWatch Logs User Guide</a>.</p>
|
|
7
9
|
* <p>You can use CloudWatch Logs to:</p>
|
|
8
10
|
* <ul>
|
|
9
11
|
* <li>
|
|
@@ -34,6 +36,11 @@
|
|
|
34
36
|
* into the log service. You can then access the raw log data when you need it.</p>
|
|
35
37
|
* </li>
|
|
36
38
|
* </ul>
|
|
39
|
+
* <note>
|
|
40
|
+
* <p>CloudWatch Logs might log request contents for fields that aren't considered
|
|
41
|
+
* sensitive, such as API request parameters for CloudWatch Logs actions. This provides
|
|
42
|
+
* debugging information for failed API requests.</p>
|
|
43
|
+
* </note>
|
|
37
44
|
*
|
|
38
45
|
* @packageDocumentation
|
|
39
46
|
*/
|
|
@@ -540,6 +540,17 @@ export declare const S3TableIntegrationSourceStatus: {
|
|
|
540
540
|
* @public
|
|
541
541
|
*/
|
|
542
542
|
export type S3TableIntegrationSourceStatus = (typeof S3TableIntegrationSourceStatus)[keyof typeof S3TableIntegrationSourceStatus];
|
|
543
|
+
/**
|
|
544
|
+
* @public
|
|
545
|
+
* @enum
|
|
546
|
+
*/
|
|
547
|
+
export declare const SyslogSourceType: {
|
|
548
|
+
readonly VPCE: "VPCE";
|
|
549
|
+
};
|
|
550
|
+
/**
|
|
551
|
+
* @public
|
|
552
|
+
*/
|
|
553
|
+
export type SyslogSourceType = (typeof SyslogSourceType)[keyof typeof SyslogSourceType];
|
|
543
554
|
/**
|
|
544
555
|
* @public
|
|
545
556
|
* @enum
|