@aws-sdk/client-cloudwatch-logs 3.477.0 → 3.481.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/commands/AssociateKmsKeyCommand.js +18 -41
- package/dist-cjs/commands/CancelExportTaskCommand.js +18 -41
- package/dist-cjs/commands/CreateDeliveryCommand.js +18 -41
- package/dist-cjs/commands/CreateExportTaskCommand.js +18 -41
- package/dist-cjs/commands/CreateLogAnomalyDetectorCommand.js +18 -41
- package/dist-cjs/commands/CreateLogGroupCommand.js +18 -41
- package/dist-cjs/commands/CreateLogStreamCommand.js +18 -41
- package/dist-cjs/commands/DeleteAccountPolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteDataProtectionPolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteDeliveryCommand.js +18 -41
- package/dist-cjs/commands/DeleteDeliveryDestinationCommand.js +18 -41
- package/dist-cjs/commands/DeleteDeliveryDestinationPolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteDeliverySourceCommand.js +18 -41
- package/dist-cjs/commands/DeleteDestinationCommand.js +18 -41
- package/dist-cjs/commands/DeleteLogAnomalyDetectorCommand.js +18 -41
- package/dist-cjs/commands/DeleteLogGroupCommand.js +18 -41
- package/dist-cjs/commands/DeleteLogStreamCommand.js +18 -41
- package/dist-cjs/commands/DeleteMetricFilterCommand.js +18 -41
- package/dist-cjs/commands/DeleteQueryDefinitionCommand.js +18 -41
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteRetentionPolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteSubscriptionFilterCommand.js +18 -41
- package/dist-cjs/commands/DescribeAccountPoliciesCommand.js +18 -41
- package/dist-cjs/commands/DescribeDeliveriesCommand.js +18 -41
- package/dist-cjs/commands/DescribeDeliveryDestinationsCommand.js +18 -41
- package/dist-cjs/commands/DescribeDeliverySourcesCommand.js +18 -41
- package/dist-cjs/commands/DescribeDestinationsCommand.js +18 -41
- package/dist-cjs/commands/DescribeExportTasksCommand.js +18 -41
- package/dist-cjs/commands/DescribeLogGroupsCommand.js +18 -41
- package/dist-cjs/commands/DescribeLogStreamsCommand.js +18 -41
- package/dist-cjs/commands/DescribeMetricFiltersCommand.js +18 -41
- package/dist-cjs/commands/DescribeQueriesCommand.js +18 -41
- package/dist-cjs/commands/DescribeQueryDefinitionsCommand.js +18 -41
- package/dist-cjs/commands/DescribeResourcePoliciesCommand.js +18 -41
- package/dist-cjs/commands/DescribeSubscriptionFiltersCommand.js +18 -41
- package/dist-cjs/commands/DisassociateKmsKeyCommand.js +18 -41
- package/dist-cjs/commands/FilterLogEventsCommand.js +18 -41
- package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +18 -41
- package/dist-cjs/commands/GetDeliveryCommand.js +18 -41
- package/dist-cjs/commands/GetDeliveryDestinationCommand.js +18 -41
- package/dist-cjs/commands/GetDeliveryDestinationPolicyCommand.js +18 -41
- package/dist-cjs/commands/GetDeliverySourceCommand.js +18 -41
- package/dist-cjs/commands/GetLogAnomalyDetectorCommand.js +18 -41
- package/dist-cjs/commands/GetLogEventsCommand.js +18 -41
- package/dist-cjs/commands/GetLogGroupFieldsCommand.js +18 -41
- package/dist-cjs/commands/GetLogRecordCommand.js +18 -41
- package/dist-cjs/commands/GetQueryResultsCommand.js +18 -41
- package/dist-cjs/commands/ListAnomaliesCommand.js +18 -41
- package/dist-cjs/commands/ListLogAnomalyDetectorsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListTagsLogGroupCommand.js +18 -41
- package/dist-cjs/commands/PutAccountPolicyCommand.js +18 -41
- package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +18 -41
- package/dist-cjs/commands/PutDeliveryDestinationCommand.js +18 -41
- package/dist-cjs/commands/PutDeliveryDestinationPolicyCommand.js +18 -41
- package/dist-cjs/commands/PutDeliverySourceCommand.js +18 -41
- package/dist-cjs/commands/PutDestinationCommand.js +18 -41
- package/dist-cjs/commands/PutDestinationPolicyCommand.js +18 -41
- package/dist-cjs/commands/PutLogEventsCommand.js +18 -41
- package/dist-cjs/commands/PutMetricFilterCommand.js +18 -41
- package/dist-cjs/commands/PutQueryDefinitionCommand.js +18 -41
- package/dist-cjs/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/PutRetentionPolicyCommand.js +18 -41
- package/dist-cjs/commands/PutSubscriptionFilterCommand.js +18 -41
- package/dist-cjs/commands/StartLiveTailCommand.js +22 -44
- package/dist-cjs/commands/StartQueryCommand.js +18 -41
- package/dist-cjs/commands/StopQueryCommand.js +18 -41
- package/dist-cjs/commands/TagLogGroupCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/TestMetricFilterCommand.js +18 -41
- package/dist-cjs/commands/UntagLogGroupCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateAnomalyCommand.js +18 -41
- package/dist-cjs/commands/UpdateLogAnomalyDetectorCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/DescribeDeliveriesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDeliveryDestinationsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDeliverySourcesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDestinationsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeLogGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeLogStreamsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeMetricFiltersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeSubscriptionFiltersPaginator.js +2 -24
- package/dist-cjs/pagination/FilterLogEventsPaginator.js +2 -24
- package/dist-cjs/pagination/GetLogEventsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAnomaliesPaginator.js +2 -24
- package/dist-cjs/pagination/ListLogAnomalyDetectorsPaginator.js +2 -24
- package/dist-es/commands/AssociateKmsKeyCommand.js +18 -41
- package/dist-es/commands/CancelExportTaskCommand.js +18 -41
- package/dist-es/commands/CreateDeliveryCommand.js +18 -41
- package/dist-es/commands/CreateExportTaskCommand.js +18 -41
- package/dist-es/commands/CreateLogAnomalyDetectorCommand.js +18 -41
- package/dist-es/commands/CreateLogGroupCommand.js +18 -41
- package/dist-es/commands/CreateLogStreamCommand.js +18 -41
- package/dist-es/commands/DeleteAccountPolicyCommand.js +18 -41
- package/dist-es/commands/DeleteDataProtectionPolicyCommand.js +18 -41
- package/dist-es/commands/DeleteDeliveryCommand.js +18 -41
- package/dist-es/commands/DeleteDeliveryDestinationCommand.js +18 -41
- package/dist-es/commands/DeleteDeliveryDestinationPolicyCommand.js +18 -41
- package/dist-es/commands/DeleteDeliverySourceCommand.js +18 -41
- package/dist-es/commands/DeleteDestinationCommand.js +18 -41
- package/dist-es/commands/DeleteLogAnomalyDetectorCommand.js +18 -41
- package/dist-es/commands/DeleteLogGroupCommand.js +18 -41
- package/dist-es/commands/DeleteLogStreamCommand.js +18 -41
- package/dist-es/commands/DeleteMetricFilterCommand.js +18 -41
- package/dist-es/commands/DeleteQueryDefinitionCommand.js +18 -41
- package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-es/commands/DeleteRetentionPolicyCommand.js +18 -41
- package/dist-es/commands/DeleteSubscriptionFilterCommand.js +18 -41
- package/dist-es/commands/DescribeAccountPoliciesCommand.js +18 -41
- package/dist-es/commands/DescribeDeliveriesCommand.js +18 -41
- package/dist-es/commands/DescribeDeliveryDestinationsCommand.js +18 -41
- package/dist-es/commands/DescribeDeliverySourcesCommand.js +18 -41
- package/dist-es/commands/DescribeDestinationsCommand.js +18 -41
- package/dist-es/commands/DescribeExportTasksCommand.js +18 -41
- package/dist-es/commands/DescribeLogGroupsCommand.js +18 -41
- package/dist-es/commands/DescribeLogStreamsCommand.js +18 -41
- package/dist-es/commands/DescribeMetricFiltersCommand.js +18 -41
- package/dist-es/commands/DescribeQueriesCommand.js +18 -41
- package/dist-es/commands/DescribeQueryDefinitionsCommand.js +18 -41
- package/dist-es/commands/DescribeResourcePoliciesCommand.js +18 -41
- package/dist-es/commands/DescribeSubscriptionFiltersCommand.js +18 -41
- package/dist-es/commands/DisassociateKmsKeyCommand.js +18 -41
- package/dist-es/commands/FilterLogEventsCommand.js +18 -41
- package/dist-es/commands/GetDataProtectionPolicyCommand.js +18 -41
- package/dist-es/commands/GetDeliveryCommand.js +18 -41
- package/dist-es/commands/GetDeliveryDestinationCommand.js +18 -41
- package/dist-es/commands/GetDeliveryDestinationPolicyCommand.js +18 -41
- package/dist-es/commands/GetDeliverySourceCommand.js +18 -41
- package/dist-es/commands/GetLogAnomalyDetectorCommand.js +18 -41
- package/dist-es/commands/GetLogEventsCommand.js +18 -41
- package/dist-es/commands/GetLogGroupFieldsCommand.js +18 -41
- package/dist-es/commands/GetLogRecordCommand.js +18 -41
- package/dist-es/commands/GetQueryResultsCommand.js +18 -41
- package/dist-es/commands/ListAnomaliesCommand.js +18 -41
- package/dist-es/commands/ListLogAnomalyDetectorsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListTagsLogGroupCommand.js +18 -41
- package/dist-es/commands/PutAccountPolicyCommand.js +18 -41
- package/dist-es/commands/PutDataProtectionPolicyCommand.js +18 -41
- package/dist-es/commands/PutDeliveryDestinationCommand.js +18 -41
- package/dist-es/commands/PutDeliveryDestinationPolicyCommand.js +18 -41
- package/dist-es/commands/PutDeliverySourceCommand.js +18 -41
- package/dist-es/commands/PutDestinationCommand.js +18 -41
- package/dist-es/commands/PutDestinationPolicyCommand.js +18 -41
- package/dist-es/commands/PutLogEventsCommand.js +18 -41
- package/dist-es/commands/PutMetricFilterCommand.js +18 -41
- package/dist-es/commands/PutQueryDefinitionCommand.js +18 -41
- package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-es/commands/PutRetentionPolicyCommand.js +18 -41
- package/dist-es/commands/PutSubscriptionFilterCommand.js +18 -41
- package/dist-es/commands/StartLiveTailCommand.js +22 -44
- package/dist-es/commands/StartQueryCommand.js +18 -41
- package/dist-es/commands/StopQueryCommand.js +18 -41
- package/dist-es/commands/TagLogGroupCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/TestMetricFilterCommand.js +18 -41
- package/dist-es/commands/UntagLogGroupCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateAnomalyCommand.js +18 -41
- package/dist-es/commands/UpdateLogAnomalyDetectorCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/DescribeDeliveriesPaginator.js +2 -23
- package/dist-es/pagination/DescribeDeliveryDestinationsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDeliverySourcesPaginator.js +2 -23
- package/dist-es/pagination/DescribeDestinationsPaginator.js +2 -23
- package/dist-es/pagination/DescribeLogGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeLogStreamsPaginator.js +2 -23
- package/dist-es/pagination/DescribeMetricFiltersPaginator.js +2 -23
- package/dist-es/pagination/DescribeSubscriptionFiltersPaginator.js +2 -23
- package/dist-es/pagination/FilterLogEventsPaginator.js +2 -23
- package/dist-es/pagination/GetLogEventsPaginator.js +2 -23
- package/dist-es/pagination/ListAnomaliesPaginator.js +2 -23
- package/dist-es/pagination/ListLogAnomalyDetectorsPaginator.js +2 -23
- package/dist-types/commands/AssociateKmsKeyCommand.d.ts +6 -21
- package/dist-types/commands/CancelExportTaskCommand.d.ts +6 -21
- package/dist-types/commands/CreateDeliveryCommand.d.ts +6 -21
- package/dist-types/commands/CreateExportTaskCommand.d.ts +6 -21
- package/dist-types/commands/CreateLogAnomalyDetectorCommand.d.ts +6 -21
- package/dist-types/commands/CreateLogGroupCommand.d.ts +6 -21
- package/dist-types/commands/CreateLogStreamCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAccountPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDataProtectionPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDeliveryCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDeliveryDestinationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDeliveryDestinationPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDeliverySourceCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDestinationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteLogAnomalyDetectorCommand.d.ts +6 -21
- package/dist-types/commands/DeleteLogGroupCommand.d.ts +6 -21
- package/dist-types/commands/DeleteLogStreamCommand.d.ts +6 -21
- package/dist-types/commands/DeleteMetricFilterCommand.d.ts +6 -21
- package/dist-types/commands/DeleteQueryDefinitionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSubscriptionFilterCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAccountPoliciesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDeliveriesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDeliveryDestinationsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDeliverySourcesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDestinationsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeExportTasksCommand.d.ts +6 -21
- package/dist-types/commands/DescribeLogGroupsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeLogStreamsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeMetricFiltersCommand.d.ts +6 -21
- package/dist-types/commands/DescribeQueriesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeResourcePoliciesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateKmsKeyCommand.d.ts +6 -21
- package/dist-types/commands/FilterLogEventsCommand.d.ts +6 -21
- package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetDeliveryCommand.d.ts +6 -21
- package/dist-types/commands/GetDeliveryDestinationCommand.d.ts +6 -21
- package/dist-types/commands/GetDeliveryDestinationPolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetDeliverySourceCommand.d.ts +6 -21
- package/dist-types/commands/GetLogAnomalyDetectorCommand.d.ts +6 -21
- package/dist-types/commands/GetLogEventsCommand.d.ts +6 -21
- package/dist-types/commands/GetLogGroupFieldsCommand.d.ts +6 -21
- package/dist-types/commands/GetLogRecordCommand.d.ts +6 -21
- package/dist-types/commands/GetQueryResultsCommand.d.ts +6 -21
- package/dist-types/commands/ListAnomaliesCommand.d.ts +6 -21
- package/dist-types/commands/ListLogAnomalyDetectorsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsLogGroupCommand.d.ts +6 -21
- package/dist-types/commands/PutAccountPolicyCommand.d.ts +6 -21
- package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +6 -21
- package/dist-types/commands/PutDeliveryDestinationCommand.d.ts +6 -21
- package/dist-types/commands/PutDeliveryDestinationPolicyCommand.d.ts +6 -21
- package/dist-types/commands/PutDeliverySourceCommand.d.ts +6 -21
- package/dist-types/commands/PutDestinationCommand.d.ts +6 -21
- package/dist-types/commands/PutDestinationPolicyCommand.d.ts +6 -21
- package/dist-types/commands/PutLogEventsCommand.d.ts +6 -21
- package/dist-types/commands/PutMetricFilterCommand.d.ts +6 -21
- package/dist-types/commands/PutQueryDefinitionCommand.d.ts +6 -21
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/PutRetentionPolicyCommand.d.ts +6 -21
- package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +6 -21
- package/dist-types/commands/StartLiveTailCommand.d.ts +6 -21
- package/dist-types/commands/StartQueryCommand.d.ts +6 -21
- package/dist-types/commands/StopQueryCommand.d.ts +6 -21
- package/dist-types/commands/TagLogGroupCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/TestMetricFilterCommand.d.ts +6 -21
- package/dist-types/commands/UntagLogGroupCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateAnomalyCommand.d.ts +6 -21
- package/dist-types/commands/UpdateLogAnomalyDetectorCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/DescribeDeliveriesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDeliveryDestinationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDeliverySourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDestinationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeLogGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeLogStreamsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeMetricFiltersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeSubscriptionFiltersPaginator.d.ts +1 -1
- package/dist-types/pagination/FilterLogEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetLogEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAnomaliesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLogAnomalyDetectorsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AssociateKmsKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CancelExportTaskCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateDeliveryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateExportTaskCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateLogAnomalyDetectorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateLogGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateLogStreamCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteAccountPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteDataProtectionPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteDeliveryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteDeliveryDestinationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteDeliveryDestinationPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteDeliverySourceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteDestinationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteLogAnomalyDetectorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteLogGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteLogStreamCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteMetricFilterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteQueryDefinitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteSubscriptionFilterCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeAccountPoliciesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDeliveriesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeDeliveryDestinationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDeliverySourcesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDestinationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeExportTasksCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeLogGroupsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeLogStreamsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeMetricFiltersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeQueriesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeQueryDefinitionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeResourcePoliciesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeSubscriptionFiltersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateKmsKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/FilterLogEventsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDeliveryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDeliveryDestinationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDeliveryDestinationPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDeliverySourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetLogAnomalyDetectorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetLogEventsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetLogGroupFieldsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetLogRecordCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAnomaliesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListLogAnomalyDetectorsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsLogGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutAccountPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutDeliveryDestinationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutDeliveryDestinationPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutDeliverySourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutDestinationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutDestinationPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutLogEventsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutMetricFilterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutQueryDefinitionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutSubscriptionFilterCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartLiveTailCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopQueryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagLogGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TestMetricFilterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagLogGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateAnomalyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateLogAnomalyDetectorCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/DescribeDeliveriesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDeliveryDestinationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDeliverySourcesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDestinationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeLogGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeLogStreamsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeMetricFiltersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeSubscriptionFiltersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/FilterLogEventsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetLogEventsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAnomaliesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLogAnomalyDetectorsPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateLogAnomalyDetectorCommand, se_UpdateLogAnomalyDetectorCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateLogAnomalyDetectorCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CloudWatchLogsClient";
|
|
26
|
-
const commandName = "UpdateLogAnomalyDetectorCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Logs_20140328",
|
|
35
|
-
operation: "UpdateLogAnomalyDetector",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateLogAnomalyDetectorCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateLogAnomalyDetectorCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateLogAnomalyDetectorCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Logs_20140328", "UpdateLogAnomalyDetector", {})
|
|
19
|
+
.n("CloudWatchLogsClient", "UpdateLogAnomalyDetectorCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateLogAnomalyDetectorCommand)
|
|
22
|
+
.de(de_UpdateLogAnomalyDetectorCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "logs",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudWatchLogsClient } from "../CloudWatchLogsClient";
|
|
2
3
|
import { DescribeDeliveriesCommand, } from "../commands/DescribeDeliveriesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeDeliveriesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeDeliveries(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudWatchLogsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudWatchLogs | CloudWatchLogsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeDeliveries = createPaginator(CloudWatchLogsClient, DescribeDeliveriesCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudWatchLogsClient } from "../CloudWatchLogsClient";
|
|
2
3
|
import { DescribeDeliveryDestinationsCommand, } from "../commands/DescribeDeliveryDestinationsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeDeliveryDestinationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeDeliveryDestinations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudWatchLogsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudWatchLogs | CloudWatchLogsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeDeliveryDestinations = createPaginator(CloudWatchLogsClient, DescribeDeliveryDestinationsCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudWatchLogsClient } from "../CloudWatchLogsClient";
|
|
2
3
|
import { DescribeDeliverySourcesCommand, } from "../commands/DescribeDeliverySourcesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeDeliverySourcesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeDeliverySources(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudWatchLogsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudWatchLogs | CloudWatchLogsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeDeliverySources = createPaginator(CloudWatchLogsClient, DescribeDeliverySourcesCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudWatchLogsClient } from "../CloudWatchLogsClient";
|
|
2
3
|
import { DescribeDestinationsCommand, } from "../commands/DescribeDestinationsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeDestinationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeDestinations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudWatchLogsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudWatchLogs | CloudWatchLogsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeDestinations = createPaginator(CloudWatchLogsClient, DescribeDestinationsCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudWatchLogsClient } from "../CloudWatchLogsClient";
|
|
2
3
|
import { DescribeLogGroupsCommand, } from "../commands/DescribeLogGroupsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeLogGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeLogGroups(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudWatchLogsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudWatchLogs | CloudWatchLogsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeLogGroups = createPaginator(CloudWatchLogsClient, DescribeLogGroupsCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudWatchLogsClient } from "../CloudWatchLogsClient";
|
|
2
3
|
import { DescribeLogStreamsCommand, } from "../commands/DescribeLogStreamsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeLogStreamsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeLogStreams(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudWatchLogsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudWatchLogs | CloudWatchLogsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeLogStreams = createPaginator(CloudWatchLogsClient, DescribeLogStreamsCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudWatchLogsClient } from "../CloudWatchLogsClient";
|
|
2
3
|
import { DescribeMetricFiltersCommand, } from "../commands/DescribeMetricFiltersCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeMetricFiltersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeMetricFilters(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudWatchLogsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudWatchLogs | CloudWatchLogsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeMetricFilters = createPaginator(CloudWatchLogsClient, DescribeMetricFiltersCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudWatchLogsClient } from "../CloudWatchLogsClient";
|
|
2
3
|
import { DescribeSubscriptionFiltersCommand, } from "../commands/DescribeSubscriptionFiltersCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeSubscriptionFiltersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeSubscriptionFilters(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudWatchLogsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudWatchLogs | CloudWatchLogsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeSubscriptionFilters = createPaginator(CloudWatchLogsClient, DescribeSubscriptionFiltersCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudWatchLogsClient } from "../CloudWatchLogsClient";
|
|
2
3
|
import { FilterLogEventsCommand, } from "../commands/FilterLogEventsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new FilterLogEventsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateFilterLogEvents(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudWatchLogsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudWatchLogs | CloudWatchLogsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateFilterLogEvents = createPaginator(CloudWatchLogsClient, FilterLogEventsCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudWatchLogsClient } from "../CloudWatchLogsClient";
|
|
2
3
|
import { GetLogEventsCommand, } from "../commands/GetLogEventsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetLogEventsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetLogEvents(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudWatchLogsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudWatchLogs | CloudWatchLogsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextForwardToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetLogEvents = createPaginator(CloudWatchLogsClient, GetLogEventsCommand, "nextToken", "nextForwardToken", "limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudWatchLogsClient } from "../CloudWatchLogsClient";
|
|
2
3
|
import { ListAnomaliesCommand, } from "../commands/ListAnomaliesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAnomaliesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAnomalies(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudWatchLogsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudWatchLogs | CloudWatchLogsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAnomalies = createPaginator(CloudWatchLogsClient, ListAnomaliesCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudWatchLogsClient } from "../CloudWatchLogsClient";
|
|
2
3
|
import { ListLogAnomalyDetectorsCommand, } from "../commands/ListLogAnomalyDetectorsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListLogAnomalyDetectorsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListLogAnomalyDetectors(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["limit"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudWatchLogsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudWatchLogs | CloudWatchLogsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListLogAnomalyDetectors = createPaginator(CloudWatchLogsClient, ListLogAnomalyDetectorsCommand, "nextToken", "nextToken", "limit");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
4
|
import { AssociateKmsKeyRequest } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AssociateKmsKeyCommandInput extends AssociateKmsKeyRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AssociateKmsKeyCommandOutput extends __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AssociateKmsKeyCommand_base: {
|
|
24
|
+
new (input: AssociateKmsKeyCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Associates the specified KMS key with either one log group in the account, or with all stored
|
|
@@ -106,23 +109,5 @@ export interface AssociateKmsKeyCommandOutput extends __MetadataBearer {
|
|
|
106
109
|
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
107
110
|
*
|
|
108
111
|
*/
|
|
109
|
-
export declare class AssociateKmsKeyCommand extends
|
|
110
|
-
readonly input: AssociateKmsKeyCommandInput;
|
|
111
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
112
|
-
/**
|
|
113
|
-
* @public
|
|
114
|
-
*/
|
|
115
|
-
constructor(input: AssociateKmsKeyCommandInput);
|
|
116
|
-
/**
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
119
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput>;
|
|
120
|
-
/**
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
123
|
-
private serialize;
|
|
124
|
-
/**
|
|
125
|
-
* @internal
|
|
126
|
-
*/
|
|
127
|
-
private deserialize;
|
|
112
|
+
export declare class AssociateKmsKeyCommand extends AssociateKmsKeyCommand_base {
|
|
128
113
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
4
|
import { CancelExportTaskRequest } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CancelExportTaskCommandInput extends CancelExportTaskRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CancelExportTaskCommandOutput extends __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CancelExportTaskCommand_base: {
|
|
24
|
+
new (input: CancelExportTaskCommandInput): import("@smithy/smithy-client").CommandImpl<CancelExportTaskCommandInput, CancelExportTaskCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Cancels the specified export task.</p>
|
|
@@ -62,23 +65,5 @@ export interface CancelExportTaskCommandOutput extends __MetadataBearer {
|
|
|
62
65
|
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
63
66
|
*
|
|
64
67
|
*/
|
|
65
|
-
export declare class CancelExportTaskCommand extends
|
|
66
|
-
readonly input: CancelExportTaskCommandInput;
|
|
67
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
68
|
-
/**
|
|
69
|
-
* @public
|
|
70
|
-
*/
|
|
71
|
-
constructor(input: CancelExportTaskCommandInput);
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
75
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelExportTaskCommandInput, CancelExportTaskCommandOutput>;
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
79
|
-
private serialize;
|
|
80
|
-
/**
|
|
81
|
-
* @internal
|
|
82
|
-
*/
|
|
83
|
-
private deserialize;
|
|
68
|
+
export declare class CancelExportTaskCommand extends CancelExportTaskCommand_base {
|
|
84
69
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
4
|
import { CreateDeliveryRequest, CreateDeliveryResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateDeliveryCommandInput extends CreateDeliveryRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateDeliveryCommandOutput extends CreateDeliveryResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateDeliveryCommand_base: {
|
|
24
|
+
new (input: CreateDeliveryCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDeliveryCommandInput, CreateDeliveryCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a <i>delivery</i>. A delivery is a connection between a logical <i>delivery source</i> and a logical
|
|
@@ -120,23 +123,5 @@ export interface CreateDeliveryCommandOutput extends CreateDeliveryResponse, __M
|
|
|
120
123
|
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
121
124
|
*
|
|
122
125
|
*/
|
|
123
|
-
export declare class CreateDeliveryCommand extends
|
|
124
|
-
readonly input: CreateDeliveryCommandInput;
|
|
125
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
126
|
-
/**
|
|
127
|
-
* @public
|
|
128
|
-
*/
|
|
129
|
-
constructor(input: CreateDeliveryCommandInput);
|
|
130
|
-
/**
|
|
131
|
-
* @internal
|
|
132
|
-
*/
|
|
133
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDeliveryCommandInput, CreateDeliveryCommandOutput>;
|
|
134
|
-
/**
|
|
135
|
-
* @internal
|
|
136
|
-
*/
|
|
137
|
-
private serialize;
|
|
138
|
-
/**
|
|
139
|
-
* @internal
|
|
140
|
-
*/
|
|
141
|
-
private deserialize;
|
|
126
|
+
export declare class CreateDeliveryCommand extends CreateDeliveryCommand_base {
|
|
142
127
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
4
|
import { CreateExportTaskRequest, CreateExportTaskResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateExportTaskCommandInput extends CreateExportTaskRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateExportTaskCommandOutput extends CreateExportTaskResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateExportTaskCommand_base: {
|
|
24
|
+
new (input: CreateExportTaskCommandInput): import("@smithy/smithy-client").CommandImpl<CreateExportTaskCommandInput, CreateExportTaskCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates an export task so that you can efficiently export data from a log group to an
|
|
@@ -94,23 +97,5 @@ export interface CreateExportTaskCommandOutput extends CreateExportTaskResponse,
|
|
|
94
97
|
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
95
98
|
*
|
|
96
99
|
*/
|
|
97
|
-
export declare class CreateExportTaskCommand extends
|
|
98
|
-
readonly input: CreateExportTaskCommandInput;
|
|
99
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
100
|
-
/**
|
|
101
|
-
* @public
|
|
102
|
-
*/
|
|
103
|
-
constructor(input: CreateExportTaskCommandInput);
|
|
104
|
-
/**
|
|
105
|
-
* @internal
|
|
106
|
-
*/
|
|
107
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateExportTaskCommandInput, CreateExportTaskCommandOutput>;
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
*/
|
|
111
|
-
private serialize;
|
|
112
|
-
/**
|
|
113
|
-
* @internal
|
|
114
|
-
*/
|
|
115
|
-
private deserialize;
|
|
100
|
+
export declare class CreateExportTaskCommand extends CreateExportTaskCommand_base {
|
|
116
101
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
4
|
import { CreateLogAnomalyDetectorRequest, CreateLogAnomalyDetectorResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateLogAnomalyDetectorCommandInput extends CreateLogAnomalyDe
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateLogAnomalyDetectorCommandOutput extends CreateLogAnomalyDetectorResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateLogAnomalyDetectorCommand_base: {
|
|
24
|
+
new (input: CreateLogAnomalyDetectorCommandInput): import("@smithy/smithy-client").CommandImpl<CreateLogAnomalyDetectorCommandInput, CreateLogAnomalyDetectorCommandOutput, CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates an <i>anomaly detector</i> that regularly scans one or more
|
|
@@ -107,23 +110,5 @@ export interface CreateLogAnomalyDetectorCommandOutput extends CreateLogAnomalyD
|
|
|
107
110
|
* <p>Base exception class for all service exceptions from CloudWatchLogs service.</p>
|
|
108
111
|
*
|
|
109
112
|
*/
|
|
110
|
-
export declare class CreateLogAnomalyDetectorCommand extends
|
|
111
|
-
readonly input: CreateLogAnomalyDetectorCommandInput;
|
|
112
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
113
|
-
/**
|
|
114
|
-
* @public
|
|
115
|
-
*/
|
|
116
|
-
constructor(input: CreateLogAnomalyDetectorCommandInput);
|
|
117
|
-
/**
|
|
118
|
-
* @internal
|
|
119
|
-
*/
|
|
120
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLogAnomalyDetectorCommandInput, CreateLogAnomalyDetectorCommandOutput>;
|
|
121
|
-
/**
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
124
|
-
private serialize;
|
|
125
|
-
/**
|
|
126
|
-
* @internal
|
|
127
|
-
*/
|
|
128
|
-
private deserialize;
|
|
113
|
+
export declare class CreateLogAnomalyDetectorCommand extends CreateLogAnomalyDetectorCommand_base {
|
|
129
114
|
}
|