@effect-aws/client-opensearch-serverless 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/OpenSearchServerlessClientInstance.d.ts +4 -2
  4. package/dist/dts/OpenSearchServerlessClientInstance.d.ts.map +1 -1
  5. package/dist/dts/OpenSearchServerlessService.d.ts +67 -47
  6. package/dist/dts/OpenSearchServerlessService.d.ts.map +1 -1
  7. package/dist/dts/OpenSearchServerlessServiceConfig.d.ts +2 -1
  8. package/dist/dts/OpenSearchServerlessServiceConfig.d.ts.map +1 -1
  9. package/dist/esm/OpenSearchServerlessClientInstance.js +5 -3
  10. package/dist/esm/OpenSearchServerlessClientInstance.js.map +1 -1
  11. package/dist/esm/OpenSearchServerlessService.js +10 -3
  12. package/dist/esm/OpenSearchServerlessService.js.map +1 -1
  13. package/dist/esm/OpenSearchServerlessServiceConfig.js +7 -6
  14. package/dist/esm/OpenSearchServerlessServiceConfig.js.map +1 -1
  15. package/package.json +8 -14
  16. package/src/OpenSearchServerlessClientInstance.ts +9 -5
  17. package/src/OpenSearchServerlessService.ts +124 -74
  18. package/src/OpenSearchServerlessServiceConfig.ts +8 -7
  19. package/dist/cjs/Errors.d.ts +0 -13
  20. package/dist/cjs/Errors.d.ts.map +0 -1
  21. package/dist/cjs/Errors.js +0 -12
  22. package/dist/cjs/Errors.js.map +0 -1
  23. package/dist/cjs/OpenSearchServerlessClientInstance.d.ts +0 -24
  24. package/dist/cjs/OpenSearchServerlessClientInstance.d.ts.map +0 -1
  25. package/dist/cjs/OpenSearchServerlessClientInstance.js +0 -50
  26. package/dist/cjs/OpenSearchServerlessClientInstance.js.map +0 -1
  27. package/dist/cjs/OpenSearchServerlessService.d.ts +0 -210
  28. package/dist/cjs/OpenSearchServerlessService.d.ts.map +0 -1
  29. package/dist/cjs/OpenSearchServerlessService.js +0 -100
  30. package/dist/cjs/OpenSearchServerlessService.js.map +0 -1
  31. package/dist/cjs/OpenSearchServerlessServiceConfig.d.ts +0 -25
  32. package/dist/cjs/OpenSearchServerlessServiceConfig.d.ts.map +0 -1
  33. package/dist/cjs/OpenSearchServerlessServiceConfig.js +0 -35
  34. package/dist/cjs/OpenSearchServerlessServiceConfig.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
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2025 Victor Korzunin
1
+ Copyright (c) 2026 Victor Korzunin
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -16,7 +16,7 @@ With default OpenSearchServerlessClient instance:
16
16
  ```typescript
17
17
  import { OpenSearchServerless } from "@effect-aws/client-opensearch-serverless";
18
18
 
19
- const program = OpenSearchServerless.listCollections(args);
19
+ const program = OpenSearchServerless.use((svc) => svc.listCollections(args));
20
20
 
21
21
  const result = pipe(
22
22
  program,
@@ -30,7 +30,7 @@ With custom OpenSearchServerlessClient instance:
30
30
  ```typescript
31
31
  import { OpenSearchServerless } from "@effect-aws/client-opensearch-serverless";
32
32
 
33
- const program = OpenSearchServerless.listCollections(args);
33
+ const program = OpenSearchServerless.use((svc) => svc.listCollections(args));
34
34
 
35
35
  const result = await pipe(
36
36
  program,
@@ -46,7 +46,7 @@ With custom OpenSearchServerlessClient configuration:
46
46
  ```typescript
47
47
  import { OpenSearchServerless } from "@effect-aws/client-opensearch-serverless";
48
48
 
49
- const program = OpenSearchServerless.listCollections(args);
49
+ const program = OpenSearchServerless.use((svc) => svc.listCollections(args));
50
50
 
51
51
  const result = await pipe(
52
52
  program,
@@ -2,8 +2,10 @@
2
2
  * @since 1.0.0
3
3
  */
4
4
  import { OpenSearchServerlessClient } from "@aws-sdk/client-opensearchserverless";
5
- import { Context, Effect, Layer } from "effect";
6
- declare const OpenSearchServerlessClientInstance_base: Context.TagClass<OpenSearchServerlessClientInstance, "@effect-aws/client-opensearch-serverless/OpenSearchServerlessClientInstance", OpenSearchServerlessClient>;
5
+ import * as Effect from "effect/Effect";
6
+ import * as Layer from "effect/Layer";
7
+ import * as ServiceMap from "effect/ServiceMap";
8
+ declare const OpenSearchServerlessClientInstance_base: ServiceMap.ServiceClass<OpenSearchServerlessClientInstance, "@effect-aws/client-opensearch-serverless/OpenSearchServerlessClientInstance", OpenSearchServerlessClient>;
7
9
  /**
8
10
  * @since 1.0.0
9
11
  * @category tags
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSearchServerlessClientInstance.d.ts","sourceRoot":"","sources":["../../src/OpenSearchServerlessClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,kCAAmC,SAAQ,uCAEW;CAAG;AAEtE;;;GAGG;AACH,eAAO,MAAM,IAAI,gFAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,+DAAyD,CAAC"}
1
+ {"version":3,"file":"OpenSearchServerlessClientInstance.d.ts","sourceRoot":"","sources":["../../src/OpenSearchServerlessClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,kCACX,SAAQ,uCAEP;CACD;AAEF;;;GAGG;AACH,eAAO,MAAM,IAAI,gFAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,+DAAyD,CAAC"}
@@ -1,10 +1,12 @@
1
1
  /**
2
2
  * @since 1.0.0
3
3
  */
4
- import { type BatchGetCollectionCommandInput, type BatchGetCollectionCommandOutput, type BatchGetEffectiveLifecyclePolicyCommandInput, type BatchGetEffectiveLifecyclePolicyCommandOutput, type BatchGetLifecyclePolicyCommandInput, type BatchGetLifecyclePolicyCommandOutput, type BatchGetVpcEndpointCommandInput, type BatchGetVpcEndpointCommandOutput, type CreateAccessPolicyCommandInput, type CreateAccessPolicyCommandOutput, type CreateCollectionCommandInput, type CreateCollectionCommandOutput, type CreateIndexCommandInput, type CreateIndexCommandOutput, type CreateLifecyclePolicyCommandInput, type CreateLifecyclePolicyCommandOutput, type CreateSecurityConfigCommandInput, type CreateSecurityConfigCommandOutput, type CreateSecurityPolicyCommandInput, type CreateSecurityPolicyCommandOutput, type CreateVpcEndpointCommandInput, type CreateVpcEndpointCommandOutput, type DeleteAccessPolicyCommandInput, type DeleteAccessPolicyCommandOutput, type DeleteCollectionCommandInput, type DeleteCollectionCommandOutput, type DeleteIndexCommandInput, type DeleteIndexCommandOutput, type DeleteLifecyclePolicyCommandInput, type DeleteLifecyclePolicyCommandOutput, type DeleteSecurityConfigCommandInput, type DeleteSecurityConfigCommandOutput, type DeleteSecurityPolicyCommandInput, type DeleteSecurityPolicyCommandOutput, type DeleteVpcEndpointCommandInput, type DeleteVpcEndpointCommandOutput, type GetAccessPolicyCommandInput, type GetAccessPolicyCommandOutput, type GetAccountSettingsCommandInput, type GetAccountSettingsCommandOutput, type GetIndexCommandInput, type GetIndexCommandOutput, type GetPoliciesStatsCommandInput, type GetPoliciesStatsCommandOutput, type GetSecurityConfigCommandInput, type GetSecurityConfigCommandOutput, type GetSecurityPolicyCommandInput, type GetSecurityPolicyCommandOutput, type ListAccessPoliciesCommandInput, type ListAccessPoliciesCommandOutput, type ListCollectionsCommandInput, type ListCollectionsCommandOutput, type ListLifecyclePoliciesCommandInput, type ListLifecyclePoliciesCommandOutput, type ListSecurityConfigsCommandInput, type ListSecurityConfigsCommandOutput, type ListSecurityPoliciesCommandInput, type ListSecurityPoliciesCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type ListVpcEndpointsCommandInput, type ListVpcEndpointsCommandOutput, type OpenSearchServerlessClient, type OpenSearchServerlessClientConfig, type TagResourceCommandInput, type TagResourceCommandOutput, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateAccessPolicyCommandInput, type UpdateAccessPolicyCommandOutput, type UpdateAccountSettingsCommandInput, type UpdateAccountSettingsCommandOutput, type UpdateCollectionCommandInput, type UpdateCollectionCommandOutput, type UpdateIndexCommandInput, type UpdateIndexCommandOutput, type UpdateLifecyclePolicyCommandInput, type UpdateLifecyclePolicyCommandOutput, type UpdateSecurityConfigCommandInput, type UpdateSecurityConfigCommandOutput, type UpdateSecurityPolicyCommandInput, type UpdateSecurityPolicyCommandOutput, type UpdateVpcEndpointCommandInput, type UpdateVpcEndpointCommandOutput } from "@aws-sdk/client-opensearchserverless";
4
+ import { type BatchGetCollectionCommandInput, type BatchGetCollectionCommandOutput, type BatchGetCollectionGroupCommandInput, type BatchGetCollectionGroupCommandOutput, type BatchGetEffectiveLifecyclePolicyCommandInput, type BatchGetEffectiveLifecyclePolicyCommandOutput, type BatchGetLifecyclePolicyCommandInput, type BatchGetLifecyclePolicyCommandOutput, type BatchGetVpcEndpointCommandInput, type BatchGetVpcEndpointCommandOutput, type CreateAccessPolicyCommandInput, type CreateAccessPolicyCommandOutput, type CreateCollectionCommandInput, type CreateCollectionCommandOutput, type CreateCollectionGroupCommandInput, type CreateCollectionGroupCommandOutput, type CreateIndexCommandInput, type CreateIndexCommandOutput, type CreateLifecyclePolicyCommandInput, type CreateLifecyclePolicyCommandOutput, type CreateSecurityConfigCommandInput, type CreateSecurityConfigCommandOutput, type CreateSecurityPolicyCommandInput, type CreateSecurityPolicyCommandOutput, type CreateVpcEndpointCommandInput, type CreateVpcEndpointCommandOutput, type DeleteAccessPolicyCommandInput, type DeleteAccessPolicyCommandOutput, type DeleteCollectionCommandInput, type DeleteCollectionCommandOutput, type DeleteCollectionGroupCommandInput, type DeleteCollectionGroupCommandOutput, type DeleteIndexCommandInput, type DeleteIndexCommandOutput, type DeleteLifecyclePolicyCommandInput, type DeleteLifecyclePolicyCommandOutput, type DeleteSecurityConfigCommandInput, type DeleteSecurityConfigCommandOutput, type DeleteSecurityPolicyCommandInput, type DeleteSecurityPolicyCommandOutput, type DeleteVpcEndpointCommandInput, type DeleteVpcEndpointCommandOutput, type GetAccessPolicyCommandInput, type GetAccessPolicyCommandOutput, type GetAccountSettingsCommandInput, type GetAccountSettingsCommandOutput, type GetIndexCommandInput, type GetIndexCommandOutput, type GetPoliciesStatsCommandInput, type GetPoliciesStatsCommandOutput, type GetSecurityConfigCommandInput, type GetSecurityConfigCommandOutput, type GetSecurityPolicyCommandInput, type GetSecurityPolicyCommandOutput, type ListAccessPoliciesCommandInput, type ListAccessPoliciesCommandOutput, type ListCollectionGroupsCommandInput, type ListCollectionGroupsCommandOutput, type ListCollectionsCommandInput, type ListCollectionsCommandOutput, type ListLifecyclePoliciesCommandInput, type ListLifecyclePoliciesCommandOutput, type ListSecurityConfigsCommandInput, type ListSecurityConfigsCommandOutput, type ListSecurityPoliciesCommandInput, type ListSecurityPoliciesCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type ListVpcEndpointsCommandInput, type ListVpcEndpointsCommandOutput, type OpenSearchServerlessClient, type OpenSearchServerlessClientConfig, type TagResourceCommandInput, type TagResourceCommandOutput, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateAccessPolicyCommandInput, type UpdateAccessPolicyCommandOutput, type UpdateAccountSettingsCommandInput, type UpdateAccountSettingsCommandOutput, type UpdateCollectionCommandInput, type UpdateCollectionCommandOutput, type UpdateCollectionGroupCommandInput, type UpdateCollectionGroupCommandOutput, type UpdateIndexCommandInput, type UpdateIndexCommandOutput, type UpdateLifecyclePolicyCommandInput, type UpdateLifecyclePolicyCommandOutput, type UpdateSecurityConfigCommandInput, type UpdateSecurityConfigCommandOutput, type UpdateSecurityPolicyCommandInput, type UpdateSecurityPolicyCommandOutput, type UpdateVpcEndpointCommandInput, type UpdateVpcEndpointCommandOutput } from "@aws-sdk/client-opensearchserverless";
5
5
  import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
6
- import type { Cause } from "effect";
7
- import { Effect, Layer } from "effect";
6
+ import type * as Cause from "effect/Cause";
7
+ import * as Effect from "effect/Effect";
8
+ import * as Layer from "effect/Layer";
9
+ import * as ServiceMap from "effect/ServiceMap";
8
10
  import type { ConflictError, InternalServerError, OcuLimitExceededError, ResourceNotFoundError, SdkError, ServiceQuotaExceededError, ValidationError } from "./Errors.js";
9
11
  import * as Instance from "./OpenSearchServerlessClientInstance.js";
10
12
  interface OpenSearchServerlessService$ {
@@ -12,176 +14,194 @@ interface OpenSearchServerlessService$ {
12
14
  /**
13
15
  * @see {@link BatchGetCollectionCommand}
14
16
  */
15
- batchGetCollection(args: BatchGetCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetCollectionCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
17
+ batchGetCollection(args: BatchGetCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetCollectionCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ValidationError>;
18
+ /**
19
+ * @see {@link BatchGetCollectionGroupCommand}
20
+ */
21
+ batchGetCollectionGroup(args: BatchGetCollectionGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetCollectionGroupCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ValidationError>;
16
22
  /**
17
23
  * @see {@link BatchGetEffectiveLifecyclePolicyCommand}
18
24
  */
19
- batchGetEffectiveLifecyclePolicy(args: BatchGetEffectiveLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetEffectiveLifecyclePolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
25
+ batchGetEffectiveLifecyclePolicy(args: BatchGetEffectiveLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetEffectiveLifecyclePolicyCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ValidationError>;
20
26
  /**
21
27
  * @see {@link BatchGetLifecyclePolicyCommand}
22
28
  */
23
- batchGetLifecyclePolicy(args: BatchGetLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetLifecyclePolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
29
+ batchGetLifecyclePolicy(args: BatchGetLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetLifecyclePolicyCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ValidationError>;
24
30
  /**
25
31
  * @see {@link BatchGetVpcEndpointCommand}
26
32
  */
27
- batchGetVpcEndpoint(args: BatchGetVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetVpcEndpointCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
33
+ batchGetVpcEndpoint(args: BatchGetVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetVpcEndpointCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ValidationError>;
28
34
  /**
29
35
  * @see {@link CreateAccessPolicyCommand}
30
36
  */
31
- createAccessPolicy(args: CreateAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateAccessPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
37
+ createAccessPolicy(args: CreateAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateAccessPolicyCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
32
38
  /**
33
39
  * @see {@link CreateCollectionCommand}
34
40
  */
35
- createCollection(args: CreateCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateCollectionCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | OcuLimitExceededError | ServiceQuotaExceededError | ValidationError>;
41
+ createCollection(args: CreateCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateCollectionCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | OcuLimitExceededError | ServiceQuotaExceededError | ValidationError>;
42
+ /**
43
+ * @see {@link CreateCollectionGroupCommand}
44
+ */
45
+ createCollectionGroup(args: CreateCollectionGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateCollectionGroupCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
36
46
  /**
37
47
  * @see {@link CreateIndexCommand}
38
48
  */
39
- createIndex(args: CreateIndexCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateIndexCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
49
+ createIndex(args: CreateIndexCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateIndexCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
40
50
  /**
41
51
  * @see {@link CreateLifecyclePolicyCommand}
42
52
  */
43
- createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateLifecyclePolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
53
+ createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateLifecyclePolicyCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
44
54
  /**
45
55
  * @see {@link CreateSecurityConfigCommand}
46
56
  */
47
- createSecurityConfig(args: CreateSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateSecurityConfigCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
57
+ createSecurityConfig(args: CreateSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateSecurityConfigCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
48
58
  /**
49
59
  * @see {@link CreateSecurityPolicyCommand}
50
60
  */
51
- createSecurityPolicy(args: CreateSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateSecurityPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
61
+ createSecurityPolicy(args: CreateSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateSecurityPolicyCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
52
62
  /**
53
63
  * @see {@link CreateVpcEndpointCommand}
54
64
  */
55
- createVpcEndpoint(args: CreateVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateVpcEndpointCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
65
+ createVpcEndpoint(args: CreateVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateVpcEndpointCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
56
66
  /**
57
67
  * @see {@link DeleteAccessPolicyCommand}
58
68
  */
59
- deleteAccessPolicy(args: DeleteAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAccessPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
69
+ deleteAccessPolicy(args: DeleteAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAccessPolicyCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
60
70
  /**
61
71
  * @see {@link DeleteCollectionCommand}
62
72
  */
63
- deleteCollection(args: DeleteCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteCollectionCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
73
+ deleteCollection(args: DeleteCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteCollectionCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
74
+ /**
75
+ * @see {@link DeleteCollectionGroupCommand}
76
+ */
77
+ deleteCollectionGroup(args: DeleteCollectionGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteCollectionGroupCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
64
78
  /**
65
79
  * @see {@link DeleteIndexCommand}
66
80
  */
67
- deleteIndex(args: DeleteIndexCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteIndexCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
81
+ deleteIndex(args: DeleteIndexCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteIndexCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
68
82
  /**
69
83
  * @see {@link DeleteLifecyclePolicyCommand}
70
84
  */
71
- deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteLifecyclePolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
85
+ deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteLifecyclePolicyCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
72
86
  /**
73
87
  * @see {@link DeleteSecurityConfigCommand}
74
88
  */
75
- deleteSecurityConfig(args: DeleteSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSecurityConfigCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
89
+ deleteSecurityConfig(args: DeleteSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSecurityConfigCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
76
90
  /**
77
91
  * @see {@link DeleteSecurityPolicyCommand}
78
92
  */
79
- deleteSecurityPolicy(args: DeleteSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSecurityPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
93
+ deleteSecurityPolicy(args: DeleteSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSecurityPolicyCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
80
94
  /**
81
95
  * @see {@link DeleteVpcEndpointCommand}
82
96
  */
83
- deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteVpcEndpointCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
97
+ deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteVpcEndpointCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
84
98
  /**
85
99
  * @see {@link GetAccessPolicyCommand}
86
100
  */
87
- getAccessPolicy(args: GetAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAccessPolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
101
+ getAccessPolicy(args: GetAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAccessPolicyCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
88
102
  /**
89
103
  * @see {@link GetAccountSettingsCommand}
90
104
  */
91
- getAccountSettings(args: GetAccountSettingsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAccountSettingsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
105
+ getAccountSettings(args: GetAccountSettingsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAccountSettingsCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ValidationError>;
92
106
  /**
93
107
  * @see {@link GetIndexCommand}
94
108
  */
95
- getIndex(args: GetIndexCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetIndexCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
109
+ getIndex(args: GetIndexCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetIndexCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
96
110
  /**
97
111
  * @see {@link GetPoliciesStatsCommand}
98
112
  */
99
- getPoliciesStats(args: GetPoliciesStatsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPoliciesStatsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError>;
113
+ getPoliciesStats(args: GetPoliciesStatsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPoliciesStatsCommandOutput, Cause.TimeoutError | SdkError | InternalServerError>;
100
114
  /**
101
115
  * @see {@link GetSecurityConfigCommand}
102
116
  */
103
- getSecurityConfig(args: GetSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSecurityConfigCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
117
+ getSecurityConfig(args: GetSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSecurityConfigCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
104
118
  /**
105
119
  * @see {@link GetSecurityPolicyCommand}
106
120
  */
107
- getSecurityPolicy(args: GetSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSecurityPolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
121
+ getSecurityPolicy(args: GetSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSecurityPolicyCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
108
122
  /**
109
123
  * @see {@link ListAccessPoliciesCommand}
110
124
  */
111
- listAccessPolicies(args: ListAccessPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAccessPoliciesCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
125
+ listAccessPolicies(args: ListAccessPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAccessPoliciesCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ValidationError>;
126
+ /**
127
+ * @see {@link ListCollectionGroupsCommand}
128
+ */
129
+ listCollectionGroups(args: ListCollectionGroupsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListCollectionGroupsCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ValidationError>;
112
130
  /**
113
131
  * @see {@link ListCollectionsCommand}
114
132
  */
115
- listCollections(args: ListCollectionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListCollectionsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
133
+ listCollections(args: ListCollectionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListCollectionsCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ValidationError>;
116
134
  /**
117
135
  * @see {@link ListLifecyclePoliciesCommand}
118
136
  */
119
- listLifecyclePolicies(args: ListLifecyclePoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListLifecyclePoliciesCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
137
+ listLifecyclePolicies(args: ListLifecyclePoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListLifecyclePoliciesCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ValidationError>;
120
138
  /**
121
139
  * @see {@link ListSecurityConfigsCommand}
122
140
  */
123
- listSecurityConfigs(args: ListSecurityConfigsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecurityConfigsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
141
+ listSecurityConfigs(args: ListSecurityConfigsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecurityConfigsCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ValidationError>;
124
142
  /**
125
143
  * @see {@link ListSecurityPoliciesCommand}
126
144
  */
127
- listSecurityPolicies(args: ListSecurityPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecurityPoliciesCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
145
+ listSecurityPolicies(args: ListSecurityPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecurityPoliciesCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ValidationError>;
128
146
  /**
129
147
  * @see {@link ListTagsForResourceCommand}
130
148
  */
131
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
149
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
132
150
  /**
133
151
  * @see {@link ListVpcEndpointsCommand}
134
152
  */
135
- listVpcEndpoints(args: ListVpcEndpointsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListVpcEndpointsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
153
+ listVpcEndpoints(args: ListVpcEndpointsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListVpcEndpointsCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ValidationError>;
136
154
  /**
137
155
  * @see {@link TagResourceCommand}
138
156
  */
139
- tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
157
+ tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
140
158
  /**
141
159
  * @see {@link UntagResourceCommand}
142
160
  */
143
- untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
161
+ untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
144
162
  /**
145
163
  * @see {@link UpdateAccessPolicyCommand}
146
164
  */
147
- updateAccessPolicy(args: UpdateAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAccessPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
165
+ updateAccessPolicy(args: UpdateAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAccessPolicyCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
148
166
  /**
149
167
  * @see {@link UpdateAccountSettingsCommand}
150
168
  */
151
- updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAccountSettingsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
169
+ updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAccountSettingsCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
152
170
  /**
153
171
  * @see {@link UpdateCollectionCommand}
154
172
  */
155
- updateCollection(args: UpdateCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateCollectionCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ValidationError>;
173
+ updateCollection(args: UpdateCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateCollectionCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ValidationError>;
174
+ /**
175
+ * @see {@link UpdateCollectionGroupCommand}
176
+ */
177
+ updateCollectionGroup(args: UpdateCollectionGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateCollectionGroupCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
156
178
  /**
157
179
  * @see {@link UpdateIndexCommand}
158
180
  */
159
- updateIndex(args: UpdateIndexCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateIndexCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
181
+ updateIndex(args: UpdateIndexCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateIndexCommandOutput, Cause.TimeoutError | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
160
182
  /**
161
183
  * @see {@link UpdateLifecyclePolicyCommand}
162
184
  */
163
- updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateLifecyclePolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
185
+ updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateLifecyclePolicyCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
164
186
  /**
165
187
  * @see {@link UpdateSecurityConfigCommand}
166
188
  */
167
- updateSecurityConfig(args: UpdateSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecurityConfigCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
189
+ updateSecurityConfig(args: UpdateSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecurityConfigCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
168
190
  /**
169
191
  * @see {@link UpdateSecurityPolicyCommand}
170
192
  */
171
- updateSecurityPolicy(args: UpdateSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecurityPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
193
+ updateSecurityPolicy(args: UpdateSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecurityPolicyCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
172
194
  /**
173
195
  * @see {@link UpdateVpcEndpointCommand}
174
196
  */
175
- updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateVpcEndpointCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ValidationError>;
197
+ updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateVpcEndpointCommandOutput, Cause.TimeoutError | SdkError | ConflictError | InternalServerError | ValidationError>;
176
198
  }
177
199
  /**
178
200
  * @since 1.0.0
179
201
  * @category constructors
180
202
  */
181
203
  export declare const makeOpenSearchServerlessService: Effect.Effect<OpenSearchServerlessService$, never, Instance.OpenSearchServerlessClientInstance>;
182
- declare const OpenSearchServerlessService_base: import("effect/Context").TagClass<OpenSearchServerlessService, "@effect-aws/client-opensearch-serverless/OpenSearchServerlessService", OpenSearchServerlessService$> & Effect.Tag.Proxy<OpenSearchServerlessService, OpenSearchServerlessService$> & {
183
- use: <X>(body: (_: OpenSearchServerlessService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, OpenSearchServerlessService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, OpenSearchServerlessService> : Effect.Effect<X, never, OpenSearchServerlessService>;
184
- };
204
+ declare const OpenSearchServerlessService_base: ServiceMap.ServiceClass<OpenSearchServerlessService, "@effect-aws/client-opensearch-serverless/OpenSearchServerlessService", OpenSearchServerlessService$>;
185
205
  /**
186
206
  * @since 1.0.0
187
207
  * @category models
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSearchServerlessService.d.ts","sourceRoot":"","sources":["../../src/OpenSearchServerlessService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,4CAA4C,EACjD,KAAK,6CAA6C,EAElD,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,EAEzC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,uBAAuB,EAC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Q,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;IAED;;OAEG;IACH,KAAY,IAAI,GAAG,4BAA4B,CAAC;CACjD"}
1
+ {"version":3,"file":"OpenSearchServerlessService.d.ts","sourceRoot":"","sources":["../../src/OpenSearchServerlessService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,EAEzC,KAAK,4CAA4C,EACjD,KAAK,6CAA6C,EAElD,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,EAEzC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,oBAAoB,E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O,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,iCAAiC,EAC/B,KAAK,CAAC,YAAY,GAClB,QAAQ,GACR,aAAa,GACb,mBAAmB,GACnB,qBAAqB,GACrB,yBAAyB,GACzB,eAAe,CAClB,CAAC;IAEF;;OAEG;IACH,iBAAiB,CACf,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,8BAA8B,EAC9B,KAAK,CAAC,YAAY,GAAG,QAAQ,GAAG,aAAa,GAAG,mBAAmB,GAAG,eAAe,CACtF,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,+BAA+B,iGAW1C,CAAC;;AAEH;;;GAGG;AACH,qBAAa,2BAA4B,SAAQ,gCAG0B;IACzE,MAAM,CAAC,QAAQ,CAAC,YAAY,yDAE1B;IACF,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,4BAA4B,MAAM,4DAI/D;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,gCAAgC,KAAK,0BAA0B,4DASvF;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,2BAA2B,CAAC;IACnD;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,gCAAgC,EAAE,QAAQ,CAAC;QAC9E,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;IAED;;OAEG;IACH,KAAY,IAAI,GAAG,4BAA4B,CAAC;CACjD"}
@@ -2,7 +2,8 @@
2
2
  * @since 1.0.0
3
3
  */
4
4
  import type { OpenSearchServerlessClientConfig } from "@aws-sdk/client-opensearchserverless";
5
- import { Effect, Layer } from "effect";
5
+ import * as Effect from "effect/Effect";
6
+ import * as Layer from "effect/Layer";
6
7
  import type { OpenSearchServerlessService } from "./OpenSearchServerlessService.js";
7
8
  /**
8
9
  * @since 1.0.0
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSearchServerlessServiceConfig.d.ts","sourceRoot":"","sources":["../../src/OpenSearchServerlessServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,sCAAsC,CAAC;AAE7F,OAAO,EAAE,MAAM,EAAY,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGjD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAWpF;;;GAGG;AACH,eAAO,MAAM,qCAAqC,EAAE;IAClD,CAAC,MAAM,EAAE,2BAA2B,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAClH,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,2BAA2B,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAK/G,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oCAAoC,WAAY,4BAA4B,MAAM,qCACxB,CAAC;AAExE;;;GAGG;AACH,eAAO,MAAM,kCAAkC,EAAE,MAAM,CAAC,MAAM,CAAC,gCAAgC,CAU9F,CAAC"}
1
+ {"version":3,"file":"OpenSearchServerlessServiceConfig.d.ts","sourceRoot":"","sources":["../../src/OpenSearchServerlessServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,sCAAsC,CAAC;AAE7F,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAEtC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAWpF;;;GAGG;AACH,eAAO,MAAM,qCAAqC,EAAE;IAClD,CAAC,MAAM,EAAE,2BAA2B,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAClH,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,2BAA2B,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAK/G,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oCAAoC,WAAY,4BAA4B,MAAM,qCAC9B,CAAC;AAElE;;;GAGG;AACH,eAAO,MAAM,kCAAkC,EAAE,MAAM,CAAC,MAAM,CAAC,gCAAgC,CAU9F,CAAC"}
@@ -2,13 +2,15 @@
2
2
  * @since 1.0.0
3
3
  */
4
4
  import { OpenSearchServerlessClient } from "@aws-sdk/client-opensearchserverless";
5
- import { Context, Effect, Layer } from "effect";
5
+ import * as Effect from "effect/Effect";
6
+ import * as Layer from "effect/Layer";
7
+ import * as ServiceMap from "effect/ServiceMap";
6
8
  import * as OpenSearchServerlessServiceConfig from "./OpenSearchServerlessServiceConfig.js";
7
9
  /**
8
10
  * @since 1.0.0
9
11
  * @category tags
10
12
  */
11
- export class OpenSearchServerlessClientInstance extends Context.Tag("@effect-aws/client-opensearch-serverless/OpenSearchServerlessClientInstance")() {
13
+ export class OpenSearchServerlessClientInstance extends ServiceMap.Service()("@effect-aws/client-opensearch-serverless/OpenSearchServerlessClientInstance") {
12
14
  }
13
15
  /**
14
16
  * @since 1.0.0
@@ -19,5 +21,5 @@ export const make = Effect.flatMap(OpenSearchServerlessServiceConfig.toOpenSearc
19
21
  * @since 1.0.0
20
22
  * @category layers
21
23
  */
22
- export const layer = Layer.scoped(OpenSearchServerlessClientInstance, make);
24
+ export const layer = Layer.effect(OpenSearchServerlessClientInstance, make);
23
25
  //# sourceMappingURL=OpenSearchServerlessClientInstance.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSearchServerlessClientInstance.js","sourceRoot":"","sources":["../../src/OpenSearchServerlessClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,KAAK,iCAAiC,MAAM,wCAAwC,CAAC;AAE5F;;;GAGG;AACH,MAAM,OAAO,kCAAmC,SAAQ,OAAO,CAAC,GAAG,CACjE,6EAA6E,CAC9E,EAAkE;CAAG;AAEtE;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAChC,iCAAiC,CAAC,kCAAkC,EACpE,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,CAAC,cAAc,CACnB,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,0BAA0B,CAAC,MAAM,CAAC,CAAC,EACzD,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,kCAAkC,EAAE,IAAI,CAAC,CAAC"}
1
+ {"version":3,"file":"OpenSearchServerlessClientInstance.js","sourceRoot":"","sources":["../../src/OpenSearchServerlessClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,iCAAiC,MAAM,wCAAwC,CAAC;AAE5F;;;GAGG;AACH,MAAM,OAAO,kCACX,SAAQ,UAAU,CAAC,OAAO,EAAkE,CAC1F,6EAA6E,CAC9E;CACD;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAChC,iCAAiC,CAAC,kCAAkC,EACpE,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,CAAC,cAAc,CACnB,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,0BAA0B,CAAC,MAAM,CAAC,CAAC,EACzD,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,kCAAkC,EAAE,IAAI,CAAC,CAAC"}
@@ -1,19 +1,23 @@
1
1
  /**
2
2
  * @since 1.0.0
3
3
  */
4
- import { BatchGetCollectionCommand, BatchGetEffectiveLifecyclePolicyCommand, BatchGetLifecyclePolicyCommand, BatchGetVpcEndpointCommand, CreateAccessPolicyCommand, CreateCollectionCommand, CreateIndexCommand, CreateLifecyclePolicyCommand, CreateSecurityConfigCommand, CreateSecurityPolicyCommand, CreateVpcEndpointCommand, DeleteAccessPolicyCommand, DeleteCollectionCommand, DeleteIndexCommand, DeleteLifecyclePolicyCommand, DeleteSecurityConfigCommand, DeleteSecurityPolicyCommand, DeleteVpcEndpointCommand, GetAccessPolicyCommand, GetAccountSettingsCommand, GetIndexCommand, GetPoliciesStatsCommand, GetSecurityConfigCommand, GetSecurityPolicyCommand, ListAccessPoliciesCommand, ListCollectionsCommand, ListLifecyclePoliciesCommand, ListSecurityConfigsCommand, ListSecurityPoliciesCommand, ListTagsForResourceCommand, ListVpcEndpointsCommand, TagResourceCommand, UntagResourceCommand, UpdateAccessPolicyCommand, UpdateAccountSettingsCommand, UpdateCollectionCommand, UpdateIndexCommand, UpdateLifecyclePolicyCommand, UpdateSecurityConfigCommand, UpdateSecurityPolicyCommand, UpdateVpcEndpointCommand, } from "@aws-sdk/client-opensearchserverless";
4
+ import { BatchGetCollectionCommand, BatchGetCollectionGroupCommand, BatchGetEffectiveLifecyclePolicyCommand, BatchGetLifecyclePolicyCommand, BatchGetVpcEndpointCommand, CreateAccessPolicyCommand, CreateCollectionCommand, CreateCollectionGroupCommand, CreateIndexCommand, CreateLifecyclePolicyCommand, CreateSecurityConfigCommand, CreateSecurityPolicyCommand, CreateVpcEndpointCommand, DeleteAccessPolicyCommand, DeleteCollectionCommand, DeleteCollectionGroupCommand, DeleteIndexCommand, DeleteLifecyclePolicyCommand, DeleteSecurityConfigCommand, DeleteSecurityPolicyCommand, DeleteVpcEndpointCommand, GetAccessPolicyCommand, GetAccountSettingsCommand, GetIndexCommand, GetPoliciesStatsCommand, GetSecurityConfigCommand, GetSecurityPolicyCommand, ListAccessPoliciesCommand, ListCollectionGroupsCommand, ListCollectionsCommand, ListLifecyclePoliciesCommand, ListSecurityConfigsCommand, ListSecurityPoliciesCommand, ListTagsForResourceCommand, ListVpcEndpointsCommand, TagResourceCommand, UntagResourceCommand, UpdateAccessPolicyCommand, UpdateAccountSettingsCommand, UpdateCollectionCommand, UpdateCollectionGroupCommand, UpdateIndexCommand, UpdateLifecyclePolicyCommand, UpdateSecurityConfigCommand, UpdateSecurityPolicyCommand, UpdateVpcEndpointCommand, } from "@aws-sdk/client-opensearchserverless";
5
5
  import { Service } from "@effect-aws/commons";
6
- import { Effect, Layer } from "effect";
6
+ import * as Effect from "effect/Effect";
7
+ import * as Layer from "effect/Layer";
8
+ import * as ServiceMap from "effect/ServiceMap";
7
9
  import { AllServiceErrors } from "./Errors.js";
8
10
  import * as Instance from "./OpenSearchServerlessClientInstance.js";
9
11
  import * as OpenSearchServerlessServiceConfig from "./OpenSearchServerlessServiceConfig.js";
10
12
  const commands = {
11
13
  BatchGetCollectionCommand,
14
+ BatchGetCollectionGroupCommand,
12
15
  BatchGetEffectiveLifecyclePolicyCommand,
13
16
  BatchGetLifecyclePolicyCommand,
14
17
  BatchGetVpcEndpointCommand,
15
18
  CreateAccessPolicyCommand,
16
19
  CreateCollectionCommand,
20
+ CreateCollectionGroupCommand,
17
21
  CreateIndexCommand,
18
22
  CreateLifecyclePolicyCommand,
19
23
  CreateSecurityConfigCommand,
@@ -21,6 +25,7 @@ const commands = {
21
25
  CreateVpcEndpointCommand,
22
26
  DeleteAccessPolicyCommand,
23
27
  DeleteCollectionCommand,
28
+ DeleteCollectionGroupCommand,
24
29
  DeleteIndexCommand,
25
30
  DeleteLifecyclePolicyCommand,
26
31
  DeleteSecurityConfigCommand,
@@ -33,6 +38,7 @@ const commands = {
33
38
  GetSecurityConfigCommand,
34
39
  GetSecurityPolicyCommand,
35
40
  ListAccessPoliciesCommand,
41
+ ListCollectionGroupsCommand,
36
42
  ListCollectionsCommand,
37
43
  ListLifecyclePoliciesCommand,
38
44
  ListSecurityConfigsCommand,
@@ -44,6 +50,7 @@ const commands = {
44
50
  UpdateAccessPolicyCommand,
45
51
  UpdateAccountSettingsCommand,
46
52
  UpdateCollectionCommand,
53
+ UpdateCollectionGroupCommand,
47
54
  UpdateIndexCommand,
48
55
  UpdateLifecyclePolicyCommand,
49
56
  UpdateSecurityConfigCommand,
@@ -65,7 +72,7 @@ export const makeOpenSearchServerlessService = Effect.gen(function* () {
65
72
  * @since 1.0.0
66
73
  * @category models
67
74
  */
68
- export class OpenSearchServerlessService extends Effect.Tag("@effect-aws/client-opensearch-serverless/OpenSearchServerlessService")() {
75
+ export class OpenSearchServerlessService extends ServiceMap.Service()("@effect-aws/client-opensearch-serverless/OpenSearchServerlessService") {
69
76
  static defaultLayer = Layer.effect(this, makeOpenSearchServerlessService).pipe(Layer.provide(Instance.layer));
70
77
  static layer = (config) => Layer.effect(this, makeOpenSearchServerlessService).pipe(Layer.provide(Instance.layer), Layer.provide(OpenSearchServerlessServiceConfig.setOpenSearchServerlessServiceConfig(config)));
71
78
  static baseLayer = (evaluate) => Layer.effect(this, makeOpenSearchServerlessService).pipe(Layer.provide(Layer.effect(Instance.OpenSearchServerlessClientInstance, Effect.map(OpenSearchServerlessServiceConfig.toOpenSearchServerlessClientConfig, evaluate))));
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSearchServerlessService.js","sourceRoot":"","sources":["../../src/OpenSearchServerlessService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,yBAAyB,EAGzB,uCAAuC,EAGvC,8BAA8B,EAG9B,0BAA0B,EAG1B,yBAAyB,EAGzB,uBAAuB,EAGvB,kBAAkB,EAGlB,4BAA4B,EAG5B,2BAA2B,EAG3B,2BAA2B,EAG3B,wBAAwB,EAGxB,yBAAyB,EAGzB,uBAAuB,EAGvB,kBAAkB,EAGlB,4BAA4B,EAG5B,2BAA2B,EAG3B,2BAA2B,EAG3B,wBAAwB,EAGxB,sBAAsB,EAGtB,yBAAyB,EAGzB,eAAe,EAGf,uBAAuB,EAGvB,wBAAwB,EAGxB,wBAAwB,EAGxB,yBAAyB,EAGzB,sBAAsB,EAGtB,4BAA4B,EAG5B,0BAA0B,EAG1B,2BAA2B,EAG3B,0BAA0B,EAG1B,uBAAuB,EAKvB,kBAAkB,EAGlB,oBAAoB,EAGpB,yBAAyB,EAGzB,4BAA4B,EAG5B,uBAAuB,EAGvB,kBAAkB,EAGlB,4BAA4B,EAG5B,2BAA2B,EAG3B,2BAA2B,EAG3B,wBAAwB,GAGzB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,O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+BAA+B,CAAC,CAAC,IAAI,CACtD,KAAK,CAAC,OAAO,CACX,KAAK,CAAC,MAAM,CACV,QAAQ,CAAC,kCAAkC,EAC3C,MAAM,CAAC,GAAG,CAAC,iCAAiC,CAAC,kCAAkC,EAAE,QAAQ,CAAC,CAC3F,CACF,CACF,CAAC"}
@@ -1,28 +1,29 @@
1
1
  import { ServiceLogger } from "@effect-aws/commons";
2
- import { Effect, FiberRef, Layer } from "effect";
2
+ import * as Effect from "effect/Effect";
3
3
  import { dual } from "effect/Function";
4
- import { globalValue } from "effect/GlobalValue";
4
+ import * as Layer from "effect/Layer";
5
+ import * as ServiceMap from "effect/ServiceMap";
5
6
  /**
6
7
  * @since 1.0.0
7
8
  * @category opensearch-serverless service config
8
9
  */
9
- const currentOpenSearchServerlessServiceConfig = globalValue("@effect-aws/client-opensearch-serverless/currentOpenSearchServerlessServiceConfig", () => FiberRef.unsafeMake({}));
10
+ const currentOpenSearchServerlessServiceConfig = ServiceMap.Reference("@effect-aws/client-opensearch-serverless/currentOpenSearchServerlessServiceConfig", { defaultValue: () => ({}) });
10
11
  /**
11
12
  * @since 1.0.0
12
13
  * @category opensearch-serverless service config
13
14
  */
14
- export const withOpenSearchServerlessServiceConfig = dual(2, (effect, config) => Effect.locally(effect, currentOpenSearchServerlessServiceConfig, config));
15
+ export const withOpenSearchServerlessServiceConfig = dual(2, (effect, config) => Effect.provideService(effect, currentOpenSearchServerlessServiceConfig, config));
15
16
  /**
16
17
  * @since 1.0.0
17
18
  * @category opensearch-serverless service config
18
19
  */
19
- export const setOpenSearchServerlessServiceConfig = (config) => Layer.locallyScoped(currentOpenSearchServerlessServiceConfig, config);
20
+ export const setOpenSearchServerlessServiceConfig = (config) => Layer.succeed(currentOpenSearchServerlessServiceConfig, config);
20
21
  /**
21
22
  * @since 1.0.0
22
23
  * @category adapters
23
24
  */
24
25
  export const toOpenSearchServerlessClientConfig = Effect.gen(function* () {
25
- const { logger: serviceLogger, ...config } = yield* FiberRef.get(currentOpenSearchServerlessServiceConfig);
26
+ const { logger: serviceLogger, ...config } = yield* currentOpenSearchServerlessServiceConfig;
26
27
  const logger = serviceLogger === true
27
28
  ? yield* ServiceLogger.toClientLogger(ServiceLogger.defaultServiceLogger)
28
29
  : (serviceLogger ? yield* ServiceLogger.toClientLogger(ServiceLogger.make(serviceLogger)) : undefined);
@@ -1 +1 @@
1
- {"version":3,"file":"OpenSearchServerlessServiceConfig.js","sourceRoot":"","sources":["../../src/OpenSearchServerlessServiceConfig.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD;;;GAGG;AACH,MAAM,wCAAwC,GAAG,WAAW,CAC1D,mFAAmF,EACnF,GAAG,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAqC,EAAE,CAAC,CAClE,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAG9C,IAAI,CACN,CAAC,EACD,CAAU,MAA8B,EAAE,MAA0C,EAA0B,EAAE,CAC9G,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,wCAAwC,EAAE,MAAM,CAAC,CAC3E,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,MAA0C,EAAE,EAAE,CACjG,KAAK,CAAC,aAAa,CAAC,wCAAwC,EAAE,MAAM,CAAC,CAAC;AAExE;;;GAGG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAoD,MAAM,CAAC,GAAG,CAC3G,QAAQ,CAAC;IACP,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,wC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