@effect-aws/client-cloudwatch-logs 1.10.9 → 2.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -3
  3. package/dist/dts/CloudWatchLogsClientInstance.d.ts +4 -2
  4. package/dist/dts/CloudWatchLogsClientInstance.d.ts.map +1 -1
  5. package/dist/dts/CloudWatchLogsService.d.ts +112 -112
  6. package/dist/dts/CloudWatchLogsService.d.ts.map +1 -1
  7. package/dist/dts/CloudWatchLogsServiceConfig.d.ts +2 -1
  8. package/dist/dts/CloudWatchLogsServiceConfig.d.ts.map +1 -1
  9. package/dist/esm/CloudWatchLogsClientInstance.js +5 -3
  10. package/dist/esm/CloudWatchLogsClientInstance.js.map +1 -1
  11. package/dist/esm/CloudWatchLogsService.js +4 -2
  12. package/dist/esm/CloudWatchLogsService.js.map +1 -1
  13. package/dist/esm/CloudWatchLogsServiceConfig.js +7 -6
  14. package/dist/esm/CloudWatchLogsServiceConfig.js.map +1 -1
  15. package/package.json +8 -14
  16. package/src/CloudWatchLogsClientInstance.ts +9 -5
  17. package/src/CloudWatchLogsService.ts +113 -126
  18. package/src/CloudWatchLogsServiceConfig.ts +8 -7
  19. package/dist/cjs/CloudWatchLogsClientInstance.d.ts +0 -24
  20. package/dist/cjs/CloudWatchLogsClientInstance.d.ts.map +0 -1
  21. package/dist/cjs/CloudWatchLogsClientInstance.js +0 -50
  22. package/dist/cjs/CloudWatchLogsClientInstance.js.map +0 -1
  23. package/dist/cjs/CloudWatchLogsService.d.ts +0 -474
  24. package/dist/cjs/CloudWatchLogsService.d.ts.map +0 -1
  25. package/dist/cjs/CloudWatchLogsService.js +0 -166
  26. package/dist/cjs/CloudWatchLogsService.js.map +0 -1
  27. package/dist/cjs/CloudWatchLogsServiceConfig.d.ts +0 -25
  28. package/dist/cjs/CloudWatchLogsServiceConfig.d.ts.map +0 -1
  29. package/dist/cjs/CloudWatchLogsServiceConfig.js +0 -35
  30. package/dist/cjs/CloudWatchLogsServiceConfig.js.map +0 -1
  31. package/dist/cjs/Errors.d.ts +0 -28
  32. package/dist/cjs/Errors.d.ts.map +0 -1
  33. package/dist/cjs/Errors.js +0 -27
  34. package/dist/cjs/Errors.js.map +0 -1
  35. package/dist/cjs/index.d.ts +0 -44
  36. package/dist/cjs/index.d.ts.map +0 -1
  37. package/dist/cjs/index.js +0 -56
  38. package/dist/cjs/index.js.map +0 -1
@@ -3,18 +3,19 @@
3
3
  */
4
4
  import type { CloudWatchLogsClientConfig } from "@aws-sdk/client-cloudwatch-logs";
5
5
  import { ServiceLogger } from "@effect-aws/commons";
6
- import { Effect, FiberRef, Layer } from "effect";
6
+ import * as Effect from "effect/Effect";
7
7
  import { dual } from "effect/Function";
8
- import { globalValue } from "effect/GlobalValue";
8
+ import * as Layer from "effect/Layer";
9
+ import * as ServiceMap from "effect/ServiceMap";
9
10
  import type { CloudWatchLogsService } from "./CloudWatchLogsService.js";
10
11
 
11
12
  /**
12
13
  * @since 1.0.0
13
14
  * @category cloudwatch-logs service config
14
15
  */
15
- const currentCloudWatchLogsServiceConfig = globalValue(
16
+ const currentCloudWatchLogsServiceConfig = ServiceMap.Reference<CloudWatchLogsService.Config>(
16
17
  "@effect-aws/client-cloudwatch-logs/currentCloudWatchLogsServiceConfig",
17
- () => FiberRef.unsafeMake<CloudWatchLogsService.Config>({}),
18
+ { defaultValue: () => ({}) },
18
19
  );
19
20
 
20
21
  /**
@@ -27,7 +28,7 @@ export const withCloudWatchLogsServiceConfig: {
27
28
  } = dual(
28
29
  2,
29
30
  <A, E, R>(effect: Effect.Effect<A, E, R>, config: CloudWatchLogsService.Config): Effect.Effect<A, E, R> =>
30
- Effect.locally(effect, currentCloudWatchLogsServiceConfig, config),
31
+ Effect.provideService(effect, currentCloudWatchLogsServiceConfig, config),
31
32
  );
32
33
 
33
34
  /**
@@ -35,14 +36,14 @@ export const withCloudWatchLogsServiceConfig: {
35
36
  * @category cloudwatch-logs service config
36
37
  */
37
38
  export const setCloudWatchLogsServiceConfig = (config: CloudWatchLogsService.Config) =>
38
- Layer.locallyScoped(currentCloudWatchLogsServiceConfig, config);
39
+ Layer.succeed(currentCloudWatchLogsServiceConfig, config);
39
40
 
40
41
  /**
41
42
  * @since 1.0.0
42
43
  * @category adapters
43
44
  */
44
45
  export const toCloudWatchLogsClientConfig: Effect.Effect<CloudWatchLogsClientConfig> = Effect.gen(function*() {
45
- const { logger: serviceLogger, ...config } = yield* FiberRef.get(currentCloudWatchLogsServiceConfig);
46
+ const { logger: serviceLogger, ...config } = yield* currentCloudWatchLogsServiceConfig;
46
47
 
47
48
  const logger = serviceLogger === true
48
49
  ? yield* ServiceLogger.toClientLogger(ServiceLogger.defaultServiceLogger)
@@ -1,24 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- import { CloudWatchLogsClient } from "@aws-sdk/client-cloudwatch-logs";
5
- import { Context, Effect, Layer } from "effect";
6
- declare const CloudWatchLogsClientInstance_base: Context.TagClass<CloudWatchLogsClientInstance, "@effect-aws/client-cloudwatch-logs/CloudWatchLogsClientInstance", CloudWatchLogsClient>;
7
- /**
8
- * @since 1.0.0
9
- * @category tags
10
- */
11
- export declare class CloudWatchLogsClientInstance extends CloudWatchLogsClientInstance_base {
12
- }
13
- /**
14
- * @since 1.0.0
15
- * @category constructors
16
- */
17
- export declare const make: Effect.Effect<CloudWatchLogsClient, never, import("effect/Scope").Scope>;
18
- /**
19
- * @since 1.0.0
20
- * @category layers
21
- */
22
- export declare const layer: Layer.Layer<CloudWatchLogsClientInstance, never, never>;
23
- export {};
24
- //# sourceMappingURL=CloudWatchLogsClientInstance.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CloudWatchLogsClientInstance.d.ts","sourceRoot":"","sources":["../../src/CloudWatchLogsClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,4BAA6B,SAAQ,iCAEK;CAAG;AAE1D;;;GAGG;AACH,eAAO,MAAM,IAAI,0EAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,yDAAmD,CAAC"}
@@ -1,50 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.layer = exports.make = exports.CloudWatchLogsClientInstance = void 0;
27
- /**
28
- * @since 1.0.0
29
- */
30
- const client_cloudwatch_logs_1 = require("@aws-sdk/client-cloudwatch-logs");
31
- const effect_1 = require("effect");
32
- const CloudWatchLogsServiceConfig = __importStar(require("./CloudWatchLogsServiceConfig.js"));
33
- /**
34
- * @since 1.0.0
35
- * @category tags
36
- */
37
- class CloudWatchLogsClientInstance extends effect_1.Context.Tag("@effect-aws/client-cloudwatch-logs/CloudWatchLogsClientInstance")() {
38
- }
39
- exports.CloudWatchLogsClientInstance = CloudWatchLogsClientInstance;
40
- /**
41
- * @since 1.0.0
42
- * @category constructors
43
- */
44
- exports.make = effect_1.Effect.flatMap(CloudWatchLogsServiceConfig.toCloudWatchLogsClientConfig, (config) => effect_1.Effect.acquireRelease(effect_1.Effect.sync(() => new client_cloudwatch_logs_1.CloudWatchLogsClient(config)), (client) => effect_1.Effect.sync(() => client.destroy())));
45
- /**
46
- * @since 1.0.0
47
- * @category layers
48
- */
49
- exports.layer = effect_1.Layer.scoped(CloudWatchLogsClientInstance, exports.make);
50
- //# sourceMappingURL=CloudWatchLogsClientInstance.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CloudWatchLogsClientInstance.js","sourceRoot":"","sources":["../../src/CloudWatchLogsClientInstance.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,4EAAuE;AACvE,mCAAgD;AAChD,8FAAgF;AAEhF;;;GAGG;AACH,MAAa,4BAA6B,SAAQ,gBAAO,CAAC,GAAG,CAC3D,iEAAiE,CAClE,EAAsD;CAAG;AAF1D,oEAE0D;AAE1D;;;GAGG;AACU,QAAA,IAAI,GAAG,eAAM,CAAC,OAAO,CAChC,2BAA2B,CAAC,4BAA4B,EACxD,CAAC,MAAM,EAAE,EAAE,CACT,eAAM,CAAC,cAAc,CACnB,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,6CAAoB,CAAC,MAAM,CAAC,CAAC,EACnD,CAAC,MAAM,EAAE,EAAE,CAAC,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACU,QAAA,KAAK,GAAG,cAAK,CAAC,MAAM,CAAC,4BAA4B,EAAE,YAAI,CAAC,CAAC"}
@@ -1,474 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- import { type AssociateKmsKeyCommandInput, type AssociateKmsKeyCommandOutput, type AssociateSourceToS3TableIntegrationCommandInput, type AssociateSourceToS3TableIntegrationCommandOutput, type CancelExportTaskCommandInput, type CancelExportTaskCommandOutput, type CancelImportTaskCommandInput, type CancelImportTaskCommandOutput, type CloudWatchLogsClient, type CloudWatchLogsClientConfig, type CreateDeliveryCommandInput, type CreateDeliveryCommandOutput, type CreateExportTaskCommandInput, type CreateExportTaskCommandOutput, type CreateImportTaskCommandInput, type CreateImportTaskCommandOutput, type CreateLogAnomalyDetectorCommandInput, type CreateLogAnomalyDetectorCommandOutput, type CreateLogGroupCommandInput, type CreateLogGroupCommandOutput, type CreateLogStreamCommandInput, type CreateLogStreamCommandOutput, type CreateScheduledQueryCommandInput, type CreateScheduledQueryCommandOutput, type DeleteAccountPolicyCommandInput, type DeleteAccountPolicyCommandOutput, type DeleteDataProtectionPolicyCommandInput, type DeleteDataProtectionPolicyCommandOutput, type DeleteDeliveryCommandInput, type DeleteDeliveryCommandOutput, type DeleteDeliveryDestinationCommandInput, type DeleteDeliveryDestinationCommandOutput, type DeleteDeliveryDestinationPolicyCommandInput, type DeleteDeliveryDestinationPolicyCommandOutput, type DeleteDeliverySourceCommandInput, type DeleteDeliverySourceCommandOutput, type DeleteDestinationCommandInput, type DeleteDestinationCommandOutput, type DeleteIndexPolicyCommandInput, type DeleteIndexPolicyCommandOutput, type DeleteIntegrationCommandInput, type DeleteIntegrationCommandOutput, type DeleteLogAnomalyDetectorCommandInput, type DeleteLogAnomalyDetectorCommandOutput, type DeleteLogGroupCommandInput, type DeleteLogGroupCommandOutput, type DeleteLogStreamCommandInput, type DeleteLogStreamCommandOutput, type DeleteMetricFilterCommandInput, type DeleteMetricFilterCommandOutput, type DeleteQueryDefinitionCommandInput, type DeleteQueryDefinitionCommandOutput, type DeleteResourcePolicyCommandInput, type DeleteResourcePolicyCommandOutput, type DeleteRetentionPolicyCommandInput, type DeleteRetentionPolicyCommandOutput, type DeleteScheduledQueryCommandInput, type DeleteScheduledQueryCommandOutput, type DeleteSubscriptionFilterCommandInput, type DeleteSubscriptionFilterCommandOutput, type DeleteTransformerCommandInput, type DeleteTransformerCommandOutput, type DescribeAccountPoliciesCommandInput, type DescribeAccountPoliciesCommandOutput, type DescribeConfigurationTemplatesCommandInput, type DescribeConfigurationTemplatesCommandOutput, type DescribeDeliveriesCommandInput, type DescribeDeliveriesCommandOutput, type DescribeDeliveryDestinationsCommandInput, type DescribeDeliveryDestinationsCommandOutput, type DescribeDeliverySourcesCommandInput, type DescribeDeliverySourcesCommandOutput, type DescribeDestinationsCommandInput, type DescribeDestinationsCommandOutput, type DescribeExportTasksCommandInput, type DescribeExportTasksCommandOutput, type DescribeFieldIndexesCommandInput, type DescribeFieldIndexesCommandOutput, type DescribeImportTaskBatchesCommandInput, type DescribeImportTaskBatchesCommandOutput, type DescribeImportTasksCommandInput, type DescribeImportTasksCommandOutput, type DescribeIndexPoliciesCommandInput, type DescribeIndexPoliciesCommandOutput, type DescribeLogGroupsCommandInput, type DescribeLogGroupsCommandOutput, type DescribeLogStreamsCommandInput, type DescribeLogStreamsCommandOutput, type DescribeMetricFiltersCommandInput, type DescribeMetricFiltersCommandOutput, type DescribeQueriesCommandInput, type DescribeQueriesCommandOutput, type DescribeQueryDefinitionsCommandInput, type DescribeQueryDefinitionsCommandOutput, type DescribeResourcePoliciesCommandInput, type DescribeResourcePoliciesCommandOutput, type DescribeSubscriptionFiltersCommandInput, type DescribeSubscriptionFiltersCommandOutput, type DisassociateKmsKeyCommandInput, type DisassociateKmsKeyCommandOutput, type DisassociateSourceFromS3TableIntegrationCommandInput, type DisassociateSourceFromS3TableIntegrationCommandOutput, type FilterLogEventsCommandInput, type FilterLogEventsCommandOutput, type GetDataProtectionPolicyCommandInput, type GetDataProtectionPolicyCommandOutput, type GetDeliveryCommandInput, type GetDeliveryCommandOutput, type GetDeliveryDestinationCommandInput, type GetDeliveryDestinationCommandOutput, type GetDeliveryDestinationPolicyCommandInput, type GetDeliveryDestinationPolicyCommandOutput, type GetDeliverySourceCommandInput, type GetDeliverySourceCommandOutput, type GetIntegrationCommandInput, type GetIntegrationCommandOutput, type GetLogAnomalyDetectorCommandInput, type GetLogAnomalyDetectorCommandOutput, type GetLogEventsCommandInput, type GetLogEventsCommandOutput, type GetLogFieldsCommandInput, type GetLogFieldsCommandOutput, type GetLogGroupFieldsCommandInput, type GetLogGroupFieldsCommandOutput, type GetLogObjectCommandInput, type GetLogObjectCommandOutput, type GetLogRecordCommandInput, type GetLogRecordCommandOutput, type GetQueryResultsCommandInput, type GetQueryResultsCommandOutput, type GetScheduledQueryCommandInput, type GetScheduledQueryCommandOutput, type GetScheduledQueryHistoryCommandInput, type GetScheduledQueryHistoryCommandOutput, type GetTransformerCommandInput, type GetTransformerCommandOutput, type ListAggregateLogGroupSummariesCommandInput, type ListAggregateLogGroupSummariesCommandOutput, type ListAnomaliesCommandInput, type ListAnomaliesCommandOutput, type ListIntegrationsCommandInput, type ListIntegrationsCommandOutput, type ListLogAnomalyDetectorsCommandInput, type ListLogAnomalyDetectorsCommandOutput, type ListLogGroupsCommandInput, type ListLogGroupsCommandOutput, type ListLogGroupsForQueryCommandInput, type ListLogGroupsForQueryCommandOutput, type ListScheduledQueriesCommandInput, type ListScheduledQueriesCommandOutput, type ListSourcesForS3TableIntegrationCommandInput, type ListSourcesForS3TableIntegrationCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type ListTagsLogGroupCommandInput, type ListTagsLogGroupCommandOutput, type PutAccountPolicyCommandInput, type PutAccountPolicyCommandOutput, type PutDataProtectionPolicyCommandInput, type PutDataProtectionPolicyCommandOutput, type PutDeliveryDestinationCommandInput, type PutDeliveryDestinationCommandOutput, type PutDeliveryDestinationPolicyCommandInput, type PutDeliveryDestinationPolicyCommandOutput, type PutDeliverySourceCommandInput, type PutDeliverySourceCommandOutput, type PutDestinationCommandInput, type PutDestinationCommandOutput, type PutDestinationPolicyCommandInput, type PutDestinationPolicyCommandOutput, type PutIndexPolicyCommandInput, type PutIndexPolicyCommandOutput, type PutIntegrationCommandInput, type PutIntegrationCommandOutput, type PutLogEventsCommandInput, type PutLogEventsCommandOutput, type PutLogGroupDeletionProtectionCommandInput, type PutLogGroupDeletionProtectionCommandOutput, type PutMetricFilterCommandInput, type PutMetricFilterCommandOutput, type PutQueryDefinitionCommandInput, type PutQueryDefinitionCommandOutput, type PutResourcePolicyCommandInput, type PutResourcePolicyCommandOutput, type PutRetentionPolicyCommandInput, type PutRetentionPolicyCommandOutput, type PutSubscriptionFilterCommandInput, type PutSubscriptionFilterCommandOutput, type PutTransformerCommandInput, type PutTransformerCommandOutput, type StartLiveTailCommandInput, type StartLiveTailCommandOutput, type StartQueryCommandInput, type StartQueryCommandOutput, type StopQueryCommandInput, type StopQueryCommandOutput, type TagLogGroupCommandInput, type TagLogGroupCommandOutput, type TagResourceCommandInput, type TagResourceCommandOutput, type TestMetricFilterCommandInput, type TestMetricFilterCommandOutput, type TestTransformerCommandInput, type TestTransformerCommandOutput, type UntagLogGroupCommandInput, type UntagLogGroupCommandOutput, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateAnomalyCommandInput, type UpdateAnomalyCommandOutput, type UpdateDeliveryConfigurationCommandInput, type UpdateDeliveryConfigurationCommandOutput, type UpdateLogAnomalyDetectorCommandInput, type UpdateLogAnomalyDetectorCommandOutput, type UpdateScheduledQueryCommandInput, type UpdateScheduledQueryCommandOutput } from "@aws-sdk/client-cloudwatch-logs";
5
- import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
6
- import type { Cause } from "effect";
7
- import { Effect, Layer } from "effect";
8
- import * as Instance from "./CloudWatchLogsClientInstance.js";
9
- import type { AccessDeniedError, ConflictError, DataAlreadyAcceptedError, InternalServerError, InvalidOperationError, InvalidParameterError, InvalidSequenceTokenError, LimitExceededError, MalformedQueryError, OperationAbortedError, ResourceAlreadyExistsError, ResourceNotFoundError, SdkError, ServiceQuotaExceededError, ServiceUnavailableError, ThrottlingError, TooManyTagsError, UnrecognizedClientError, ValidationError } from "./Errors.js";
10
- interface CloudWatchLogsService$ {
11
- readonly _: unique symbol;
12
- /**
13
- * @see {@link AssociateKmsKeyCommand}
14
- */
15
- associateKmsKey(args: AssociateKmsKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<AssociateKmsKeyCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
16
- /**
17
- * @see {@link AssociateSourceToS3TableIntegrationCommand}
18
- */
19
- associateSourceToS3TableIntegration(args: AssociateSourceToS3TableIntegrationCommandInput, options?: HttpHandlerOptions): Effect.Effect<AssociateSourceToS3TableIntegrationCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
20
- /**
21
- * @see {@link CancelExportTaskCommand}
22
- */
23
- cancelExportTask(args: CancelExportTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<CancelExportTaskCommandOutput, Cause.TimeoutException | SdkError | InvalidOperationError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
24
- /**
25
- * @see {@link CancelImportTaskCommand}
26
- */
27
- cancelImportTask(args: CancelImportTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<CancelImportTaskCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InvalidOperationError | InvalidParameterError | ResourceNotFoundError | ThrottlingError>;
28
- /**
29
- * @see {@link CreateDeliveryCommand}
30
- */
31
- createDelivery(args: CreateDeliveryCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDeliveryCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
32
- /**
33
- * @see {@link CreateExportTaskCommand}
34
- */
35
- createExportTask(args: CreateExportTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateExportTaskCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceAlreadyExistsError | ResourceNotFoundError | ServiceUnavailableError>;
36
- /**
37
- * @see {@link CreateImportTaskCommand}
38
- */
39
- createImportTask(args: CreateImportTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateImportTaskCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InvalidOperationError | InvalidParameterError | ResourceNotFoundError | ThrottlingError | ValidationError>;
40
- /**
41
- * @see {@link CreateLogAnomalyDetectorCommand}
42
- */
43
- createLogAnomalyDetector(args: CreateLogAnomalyDetectorCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateLogAnomalyDetectorCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
44
- /**
45
- * @see {@link CreateLogGroupCommand}
46
- */
47
- createLogGroup(args: CreateLogGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateLogGroupCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceAlreadyExistsError | ServiceUnavailableError>;
48
- /**
49
- * @see {@link CreateLogStreamCommand}
50
- */
51
- createLogStream(args: CreateLogStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateLogStreamCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ResourceAlreadyExistsError | ResourceNotFoundError | ServiceUnavailableError>;
52
- /**
53
- * @see {@link CreateScheduledQueryCommand}
54
- */
55
- createScheduledQuery(args: CreateScheduledQueryCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateScheduledQueryCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
56
- /**
57
- * @see {@link DeleteAccountPolicyCommand}
58
- */
59
- deleteAccountPolicy(args: DeleteAccountPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAccountPolicyCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
60
- /**
61
- * @see {@link DeleteDataProtectionPolicyCommand}
62
- */
63
- deleteDataProtectionPolicy(args: DeleteDataProtectionPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDataProtectionPolicyCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
64
- /**
65
- * @see {@link DeleteDeliveryCommand}
66
- */
67
- deleteDelivery(args: DeleteDeliveryCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDeliveryCommandOutput, Cause.TimeoutException | SdkError | ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
68
- /**
69
- * @see {@link DeleteDeliveryDestinationCommand}
70
- */
71
- deleteDeliveryDestination(args: DeleteDeliveryDestinationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDeliveryDestinationCommandOutput, Cause.TimeoutException | SdkError | ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
72
- /**
73
- * @see {@link DeleteDeliveryDestinationPolicyCommand}
74
- */
75
- deleteDeliveryDestinationPolicy(args: DeleteDeliveryDestinationPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDeliveryDestinationPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | ResourceNotFoundError | ServiceUnavailableError | ValidationError>;
76
- /**
77
- * @see {@link DeleteDeliverySourceCommand}
78
- */
79
- deleteDeliverySource(args: DeleteDeliverySourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDeliverySourceCommandOutput, Cause.TimeoutException | SdkError | ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
80
- /**
81
- * @see {@link DeleteDestinationCommand}
82
- */
83
- deleteDestination(args: DeleteDestinationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDestinationCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
84
- /**
85
- * @see {@link DeleteIndexPolicyCommand}
86
- */
87
- deleteIndexPolicy(args: DeleteIndexPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteIndexPolicyCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
88
- /**
89
- * @see {@link DeleteIntegrationCommand}
90
- */
91
- deleteIntegration(args: DeleteIntegrationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteIntegrationCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | ValidationError>;
92
- /**
93
- * @see {@link DeleteLogAnomalyDetectorCommand}
94
- */
95
- deleteLogAnomalyDetector(args: DeleteLogAnomalyDetectorCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteLogAnomalyDetectorCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
96
- /**
97
- * @see {@link DeleteLogGroupCommand}
98
- */
99
- deleteLogGroup(args: DeleteLogGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteLogGroupCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | ValidationError>;
100
- /**
101
- * @see {@link DeleteLogStreamCommand}
102
- */
103
- deleteLogStream(args: DeleteLogStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteLogStreamCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError | ValidationError>;
104
- /**
105
- * @see {@link DeleteMetricFilterCommand}
106
- */
107
- deleteMetricFilter(args: DeleteMetricFilterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteMetricFilterCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
108
- /**
109
- * @see {@link DeleteQueryDefinitionCommand}
110
- */
111
- deleteQueryDefinition(args: DeleteQueryDefinitionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteQueryDefinitionCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
112
- /**
113
- * @see {@link DeleteResourcePolicyCommand}
114
- */
115
- deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteResourcePolicyCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
116
- /**
117
- * @see {@link DeleteRetentionPolicyCommand}
118
- */
119
- deleteRetentionPolicy(args: DeleteRetentionPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteRetentionPolicyCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
120
- /**
121
- * @see {@link DeleteScheduledQueryCommand}
122
- */
123
- deleteScheduledQuery(args: DeleteScheduledQueryCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteScheduledQueryCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
124
- /**
125
- * @see {@link DeleteSubscriptionFilterCommand}
126
- */
127
- deleteSubscriptionFilter(args: DeleteSubscriptionFilterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSubscriptionFilterCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
128
- /**
129
- * @see {@link DeleteTransformerCommand}
130
- */
131
- deleteTransformer(args: DeleteTransformerCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteTransformerCommandOutput, Cause.TimeoutException | SdkError | InvalidOperationError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
132
- /**
133
- * @see {@link DescribeAccountPoliciesCommand}
134
- */
135
- describeAccountPolicies(args: DescribeAccountPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeAccountPoliciesCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
136
- /**
137
- * @see {@link DescribeConfigurationTemplatesCommand}
138
- */
139
- describeConfigurationTemplates(args: DescribeConfigurationTemplatesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeConfigurationTemplatesCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError | ServiceUnavailableError | ThrottlingError | ValidationError>;
140
- /**
141
- * @see {@link DescribeDeliveriesCommand}
142
- */
143
- describeDeliveries(args: DescribeDeliveriesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDeliveriesCommandOutput, Cause.TimeoutException | SdkError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
144
- /**
145
- * @see {@link DescribeDeliveryDestinationsCommand}
146
- */
147
- describeDeliveryDestinations(args: DescribeDeliveryDestinationsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDeliveryDestinationsCommandOutput, Cause.TimeoutException | SdkError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
148
- /**
149
- * @see {@link DescribeDeliverySourcesCommand}
150
- */
151
- describeDeliverySources(args: DescribeDeliverySourcesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDeliverySourcesCommandOutput, Cause.TimeoutException | SdkError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
152
- /**
153
- * @see {@link DescribeDestinationsCommand}
154
- */
155
- describeDestinations(args: DescribeDestinationsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDestinationsCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError>;
156
- /**
157
- * @see {@link DescribeExportTasksCommand}
158
- */
159
- describeExportTasks(args: DescribeExportTasksCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeExportTasksCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError>;
160
- /**
161
- * @see {@link DescribeFieldIndexesCommand}
162
- */
163
- describeFieldIndexes(args: DescribeFieldIndexesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeFieldIndexesCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
164
- /**
165
- * @see {@link DescribeImportTaskBatchesCommand}
166
- */
167
- describeImportTaskBatches(args: DescribeImportTaskBatchesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeImportTaskBatchesCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InvalidOperationError | InvalidParameterError | ResourceNotFoundError | ThrottlingError>;
168
- /**
169
- * @see {@link DescribeImportTasksCommand}
170
- */
171
- describeImportTasks(args: DescribeImportTasksCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeImportTasksCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InvalidOperationError | InvalidParameterError | ResourceNotFoundError | ThrottlingError>;
172
- /**
173
- * @see {@link DescribeIndexPoliciesCommand}
174
- */
175
- describeIndexPolicies(args: DescribeIndexPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeIndexPoliciesCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
176
- /**
177
- * @see {@link DescribeLogGroupsCommand}
178
- */
179
- describeLogGroups(args: DescribeLogGroupsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeLogGroupsCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError>;
180
- /**
181
- * @see {@link DescribeLogStreamsCommand}
182
- */
183
- describeLogStreams(args: DescribeLogStreamsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeLogStreamsCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
184
- /**
185
- * @see {@link DescribeMetricFiltersCommand}
186
- */
187
- describeMetricFilters(args: DescribeMetricFiltersCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeMetricFiltersCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
188
- /**
189
- * @see {@link DescribeQueriesCommand}
190
- */
191
- describeQueries(args: DescribeQueriesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeQueriesCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
192
- /**
193
- * @see {@link DescribeQueryDefinitionsCommand}
194
- */
195
- describeQueryDefinitions(args: DescribeQueryDefinitionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeQueryDefinitionsCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError>;
196
- /**
197
- * @see {@link DescribeResourcePoliciesCommand}
198
- */
199
- describeResourcePolicies(args: DescribeResourcePoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeResourcePoliciesCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError>;
200
- /**
201
- * @see {@link DescribeSubscriptionFiltersCommand}
202
- */
203
- describeSubscriptionFilters(args: DescribeSubscriptionFiltersCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeSubscriptionFiltersCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
204
- /**
205
- * @see {@link DisassociateKmsKeyCommand}
206
- */
207
- disassociateKmsKey(args: DisassociateKmsKeyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DisassociateKmsKeyCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
208
- /**
209
- * @see {@link DisassociateSourceFromS3TableIntegrationCommand}
210
- */
211
- disassociateSourceFromS3TableIntegration(args: DisassociateSourceFromS3TableIntegrationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DisassociateSourceFromS3TableIntegrationCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
212
- /**
213
- * @see {@link FilterLogEventsCommand}
214
- */
215
- filterLogEvents(args: FilterLogEventsCommandInput, options?: HttpHandlerOptions): Effect.Effect<FilterLogEventsCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
216
- /**
217
- * @see {@link GetDataProtectionPolicyCommand}
218
- */
219
- getDataProtectionPolicy(args: GetDataProtectionPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDataProtectionPolicyCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
220
- /**
221
- * @see {@link GetDeliveryCommand}
222
- */
223
- getDelivery(args: GetDeliveryCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDeliveryCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
224
- /**
225
- * @see {@link GetDeliveryDestinationCommand}
226
- */
227
- getDeliveryDestination(args: GetDeliveryDestinationCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDeliveryDestinationCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
228
- /**
229
- * @see {@link GetDeliveryDestinationPolicyCommand}
230
- */
231
- getDeliveryDestinationPolicy(args: GetDeliveryDestinationPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDeliveryDestinationPolicyCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError | ServiceUnavailableError | ValidationError>;
232
- /**
233
- * @see {@link GetDeliverySourceCommand}
234
- */
235
- getDeliverySource(args: GetDeliverySourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDeliverySourceCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
236
- /**
237
- * @see {@link GetIntegrationCommand}
238
- */
239
- getIntegration(args: GetIntegrationCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetIntegrationCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
240
- /**
241
- * @see {@link GetLogAnomalyDetectorCommand}
242
- */
243
- getLogAnomalyDetector(args: GetLogAnomalyDetectorCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLogAnomalyDetectorCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
244
- /**
245
- * @see {@link GetLogEventsCommand}
246
- */
247
- getLogEvents(args: GetLogEventsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLogEventsCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
248
- /**
249
- * @see {@link GetLogFieldsCommand}
250
- */
251
- getLogFields(args: GetLogFieldsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLogFieldsCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
252
- /**
253
- * @see {@link GetLogGroupFieldsCommand}
254
- */
255
- getLogGroupFields(args: GetLogGroupFieldsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLogGroupFieldsCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | LimitExceededError | ResourceNotFoundError | ServiceUnavailableError>;
256
- /**
257
- * @see {@link GetLogObjectCommand}
258
- */
259
- getLogObject(args: GetLogObjectCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLogObjectCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InvalidOperationError | InvalidParameterError | LimitExceededError | ResourceNotFoundError>;
260
- /**
261
- * @see {@link GetLogRecordCommand}
262
- */
263
- getLogRecord(args: GetLogRecordCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLogRecordCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | LimitExceededError | ResourceNotFoundError | ServiceUnavailableError>;
264
- /**
265
- * @see {@link GetQueryResultsCommand}
266
- */
267
- getQueryResults(args: GetQueryResultsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetQueryResultsCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
268
- /**
269
- * @see {@link GetScheduledQueryCommand}
270
- */
271
- getScheduledQuery(args: GetScheduledQueryCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetScheduledQueryCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
272
- /**
273
- * @see {@link GetScheduledQueryHistoryCommand}
274
- */
275
- getScheduledQueryHistory(args: GetScheduledQueryHistoryCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetScheduledQueryHistoryCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
276
- /**
277
- * @see {@link GetTransformerCommand}
278
- */
279
- getTransformer(args: GetTransformerCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetTransformerCommandOutput, Cause.TimeoutException | SdkError | InvalidOperationError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
280
- /**
281
- * @see {@link ListAggregateLogGroupSummariesCommand}
282
- */
283
- listAggregateLogGroupSummaries(args: ListAggregateLogGroupSummariesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAggregateLogGroupSummariesCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError | ValidationError>;
284
- /**
285
- * @see {@link ListAnomaliesCommand}
286
- */
287
- listAnomalies(args: ListAnomaliesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAnomaliesCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
288
- /**
289
- * @see {@link ListIntegrationsCommand}
290
- */
291
- listIntegrations(args: ListIntegrationsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListIntegrationsCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError>;
292
- /**
293
- * @see {@link ListLogAnomalyDetectorsCommand}
294
- */
295
- listLogAnomalyDetectors(args: ListLogAnomalyDetectorsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListLogAnomalyDetectorsCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
296
- /**
297
- * @see {@link ListLogGroupsCommand}
298
- */
299
- listLogGroups(args: ListLogGroupsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListLogGroupsCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError>;
300
- /**
301
- * @see {@link ListLogGroupsForQueryCommand}
302
- */
303
- listLogGroupsForQuery(args: ListLogGroupsForQueryCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListLogGroupsForQueryCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
304
- /**
305
- * @see {@link ListScheduledQueriesCommand}
306
- */
307
- listScheduledQueries(args: ListScheduledQueriesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListScheduledQueriesCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError>;
308
- /**
309
- * @see {@link ListSourcesForS3TableIntegrationCommand}
310
- */
311
- listSourcesForS3TableIntegration(args: ListSourcesForS3TableIntegrationCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSourcesForS3TableIntegrationCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
312
- /**
313
- * @see {@link ListTagsForResourceCommand}
314
- */
315
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
316
- /**
317
- * @see {@link ListTagsLogGroupCommand}
318
- */
319
- listTagsLogGroup(args: ListTagsLogGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsLogGroupCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError | ServiceUnavailableError>;
320
- /**
321
- * @see {@link PutAccountPolicyCommand}
322
- */
323
- putAccountPolicy(args: PutAccountPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutAccountPolicyCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ServiceUnavailableError>;
324
- /**
325
- * @see {@link PutDataProtectionPolicyCommand}
326
- */
327
- putDataProtectionPolicy(args: PutDataProtectionPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutDataProtectionPolicyCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
328
- /**
329
- * @see {@link PutDeliveryDestinationCommand}
330
- */
331
- putDeliveryDestination(args: PutDeliveryDestinationCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutDeliveryDestinationCommandOutput, Cause.TimeoutException | SdkError | ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
332
- /**
333
- * @see {@link PutDeliveryDestinationPolicyCommand}
334
- */
335
- putDeliveryDestinationPolicy(args: PutDeliveryDestinationPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutDeliveryDestinationPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | ResourceNotFoundError | ServiceUnavailableError | ValidationError>;
336
- /**
337
- * @see {@link PutDeliverySourceCommand}
338
- */
339
- putDeliverySource(args: PutDeliverySourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutDeliverySourceCommandOutput, Cause.TimeoutException | SdkError | ConflictError | ResourceNotFoundError | ServiceQuotaExceededError | ServiceUnavailableError | ThrottlingError | ValidationError>;
340
- /**
341
- * @see {@link PutDestinationCommand}
342
- */
343
- putDestination(args: PutDestinationCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutDestinationCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ServiceUnavailableError>;
344
- /**
345
- * @see {@link PutDestinationPolicyCommand}
346
- */
347
- putDestinationPolicy(args: PutDestinationPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutDestinationPolicyCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ServiceUnavailableError>;
348
- /**
349
- * @see {@link PutIndexPolicyCommand}
350
- */
351
- putIndexPolicy(args: PutIndexPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutIndexPolicyCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
352
- /**
353
- * @see {@link PutIntegrationCommand}
354
- */
355
- putIntegration(args: PutIntegrationCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutIntegrationCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | LimitExceededError | ServiceUnavailableError | ValidationError>;
356
- /**
357
- * @see {@link PutLogEventsCommand}
358
- */
359
- putLogEvents(args: PutLogEventsCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutLogEventsCommandOutput, Cause.TimeoutException | SdkError | DataAlreadyAcceptedError | InvalidParameterError | InvalidSequenceTokenError | ResourceNotFoundError | ServiceUnavailableError | UnrecognizedClientError>;
360
- /**
361
- * @see {@link PutLogGroupDeletionProtectionCommand}
362
- */
363
- putLogGroupDeletionProtection(args: PutLogGroupDeletionProtectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutLogGroupDeletionProtectionCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InvalidOperationError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
364
- /**
365
- * @see {@link PutMetricFilterCommand}
366
- */
367
- putMetricFilter(args: PutMetricFilterCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutMetricFilterCommandOutput, Cause.TimeoutException | SdkError | InvalidOperationError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
368
- /**
369
- * @see {@link PutQueryDefinitionCommand}
370
- */
371
- putQueryDefinition(args: PutQueryDefinitionCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutQueryDefinitionCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | LimitExceededError | ResourceNotFoundError | ServiceUnavailableError>;
372
- /**
373
- * @see {@link PutResourcePolicyCommand}
374
- */
375
- putResourcePolicy(args: PutResourcePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutResourcePolicyCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
376
- /**
377
- * @see {@link PutRetentionPolicyCommand}
378
- */
379
- putRetentionPolicy(args: PutRetentionPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutRetentionPolicyCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
380
- /**
381
- * @see {@link PutSubscriptionFilterCommand}
382
- */
383
- putSubscriptionFilter(args: PutSubscriptionFilterCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutSubscriptionFilterCommandOutput, Cause.TimeoutException | SdkError | InvalidOperationError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
384
- /**
385
- * @see {@link PutTransformerCommand}
386
- */
387
- putTransformer(args: PutTransformerCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutTransformerCommandOutput, Cause.TimeoutException | SdkError | InvalidOperationError | InvalidParameterError | LimitExceededError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
388
- /**
389
- * @see {@link StartLiveTailCommand}
390
- */
391
- startLiveTail(args: StartLiveTailCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartLiveTailCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InvalidOperationError | InvalidParameterError | LimitExceededError | ResourceNotFoundError>;
392
- /**
393
- * @see {@link StartQueryCommand}
394
- */
395
- startQuery(args: StartQueryCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartQueryCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | LimitExceededError | MalformedQueryError | ResourceNotFoundError | ServiceUnavailableError>;
396
- /**
397
- * @see {@link StopQueryCommand}
398
- */
399
- stopQuery(args: StopQueryCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopQueryCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
400
- /**
401
- * @see {@link TagLogGroupCommand}
402
- */
403
- tagLogGroup(args: TagLogGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagLogGroupCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError>;
404
- /**
405
- * @see {@link TagResourceCommand}
406
- */
407
- tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError | TooManyTagsError>;
408
- /**
409
- * @see {@link TestMetricFilterCommand}
410
- */
411
- testMetricFilter(args: TestMetricFilterCommandInput, options?: HttpHandlerOptions): Effect.Effect<TestMetricFilterCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ServiceUnavailableError>;
412
- /**
413
- * @see {@link TestTransformerCommand}
414
- */
415
- testTransformer(args: TestTransformerCommandInput, options?: HttpHandlerOptions): Effect.Effect<TestTransformerCommandOutput, Cause.TimeoutException | SdkError | InvalidOperationError | InvalidParameterError | ServiceUnavailableError>;
416
- /**
417
- * @see {@link UntagLogGroupCommand}
418
- */
419
- untagLogGroup(args: UntagLogGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagLogGroupCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError>;
420
- /**
421
- * @see {@link UntagResourceCommand}
422
- */
423
- untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | ResourceNotFoundError | ServiceUnavailableError>;
424
- /**
425
- * @see {@link UpdateAnomalyCommand}
426
- */
427
- updateAnomaly(args: UpdateAnomalyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAnomalyCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
428
- /**
429
- * @see {@link UpdateDeliveryConfigurationCommand}
430
- */
431
- updateDeliveryConfiguration(args: UpdateDeliveryConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDeliveryConfigurationCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | ResourceNotFoundError | ServiceUnavailableError | ThrottlingError | ValidationError>;
432
- /**
433
- * @see {@link UpdateLogAnomalyDetectorCommand}
434
- */
435
- updateLogAnomalyDetector(args: UpdateLogAnomalyDetectorCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateLogAnomalyDetectorCommandOutput, Cause.TimeoutException | SdkError | InvalidParameterError | OperationAbortedError | ResourceNotFoundError | ServiceUnavailableError>;
436
- /**
437
- * @see {@link UpdateScheduledQueryCommand}
438
- */
439
- updateScheduledQuery(args: UpdateScheduledQueryCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateScheduledQueryCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
440
- }
441
- /**
442
- * @since 1.0.0
443
- * @category constructors
444
- */
445
- export declare const makeCloudWatchLogsService: Effect.Effect<CloudWatchLogsService$, never, Instance.CloudWatchLogsClientInstance>;
446
- declare const CloudWatchLogsService_base: import("effect/Context").TagClass<CloudWatchLogsService, "@effect-aws/client-cloudwatch-logs/CloudWatchLogsService", CloudWatchLogsService$> & Effect.Tag.Proxy<CloudWatchLogsService, CloudWatchLogsService$> & {
447
- use: <X>(body: (_: CloudWatchLogsService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, CloudWatchLogsService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, CloudWatchLogsService> : Effect.Effect<X, never, CloudWatchLogsService>;
448
- };
449
- /**
450
- * @since 1.0.0
451
- * @category models
452
- */
453
- export declare class CloudWatchLogsService extends CloudWatchLogsService_base {
454
- static readonly defaultLayer: Layer.Layer<CloudWatchLogsService, never, never>;
455
- static readonly layer: (config: CloudWatchLogsService.Config) => Layer.Layer<CloudWatchLogsService, never, never>;
456
- static readonly baseLayer: (evaluate: (defaultConfig: CloudWatchLogsClientConfig) => CloudWatchLogsClient) => Layer.Layer<CloudWatchLogsService, never, never>;
457
- }
458
- /**
459
- * @since 1.0.0
460
- */
461
- export declare namespace CloudWatchLogsService {
462
- /**
463
- * @since 1.0.0
464
- */
465
- interface Config extends Omit<CloudWatchLogsClientConfig, "logger"> {
466
- readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
467
- }
468
- /**
469
- * @since 1.0.0
470
- */
471
- type Type = CloudWatchLogsService$;
472
- }
473
- export {};
474
- //# sourceMappingURL=CloudWatchLogsService.d.ts.map