@effect-aws/client-opensearch-serverless 1.9.5 → 1.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Errors.d.ts +3 -3
- package/dist/cjs/Errors.d.ts.map +1 -1
- package/dist/cjs/Errors.js +1 -3
- package/dist/cjs/Errors.js.map +1 -1
- package/dist/cjs/OpenSearchServerlessService.d.ts +41 -40
- package/dist/cjs/OpenSearchServerlessService.d.ts.map +1 -1
- package/dist/cjs/OpenSearchServerlessService.js +1 -1
- package/dist/cjs/OpenSearchServerlessService.js.map +1 -1
- package/dist/dts/Errors.d.ts +3 -3
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/OpenSearchServerlessService.d.ts +41 -40
- package/dist/dts/OpenSearchServerlessService.d.ts.map +1 -1
- package/dist/esm/Errors.js +0 -2
- package/dist/esm/Errors.js.map +1 -1
- package/dist/esm/OpenSearchServerlessService.js +1 -1
- package/dist/esm/OpenSearchServerlessService.js.map +1 -1
- package/package.json +2 -2
- package/src/Errors.ts +1 -4
- package/src/OpenSearchServerlessService.ts +90 -39
package/dist/cjs/Errors.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { ConflictException, InternalServerException, OcuLimitExceededException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException } from "@aws-sdk/client-opensearchserverless";
|
|
2
2
|
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
4
3
|
export declare const AllServiceErrors: readonly ["ConflictException", "InternalServerException", "OcuLimitExceededException", "ResourceNotFoundException", "ServiceQuotaExceededException", "ValidationException"];
|
|
5
4
|
export type ConflictError = TaggedException<ConflictException>;
|
|
6
5
|
export type InternalServerError = TaggedException<InternalServerException>;
|
|
@@ -8,6 +7,7 @@ export type OcuLimitExceededError = TaggedException<OcuLimitExceededException>;
|
|
|
8
7
|
export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
9
8
|
export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
|
|
10
9
|
export type ValidationError = TaggedException<ValidationException>;
|
|
11
|
-
export type SdkError =
|
|
12
|
-
|
|
10
|
+
export type SdkError = TaggedException<Error & {
|
|
11
|
+
name: "SdkError";
|
|
12
|
+
}>;
|
|
13
13
|
//# sourceMappingURL=Errors.d.ts.map
|
package/dist/cjs/Errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,EACzB,6BAA6B,EAC7B,mBAAmB,EACpB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,EACzB,6BAA6B,EAC7B,mBAAmB,EACpB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,6KAOnB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAC/D,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,6BAA6B,CAAC,CAAC;AACvF,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC"}
|
package/dist/cjs/Errors.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
const commons_1 = require("@effect-aws/commons");
|
|
3
|
+
exports.AllServiceErrors = void 0;
|
|
5
4
|
exports.AllServiceErrors = [
|
|
6
5
|
"ConflictException",
|
|
7
6
|
"InternalServerException",
|
|
@@ -10,5 +9,4 @@ exports.AllServiceErrors = [
|
|
|
10
9
|
"ServiceQuotaExceededException",
|
|
11
10
|
"ValidationException",
|
|
12
11
|
];
|
|
13
|
-
exports.SdkError = commons_1.SdkError;
|
|
14
12
|
//# sourceMappingURL=Errors.js.map
|
package/dist/cjs/Errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AAUa,QAAA,gBAAgB,GAAG;IAC9B,mBAAmB;IACnB,yBAAyB;IACzB,2BAA2B;IAC3B,2BAA2B;IAC3B,+BAA+B;IAC/B,qBAAqB;CACb,CAAC"}
|
|
@@ -2,160 +2,161 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
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 CreateLifecyclePolicyCommandInput, type CreateLifecyclePolicyCommandOutput, type CreateSecurityConfigCommandInput, type CreateSecurityConfigCommandOutput, type CreateSecurityPolicyCommandInput, type CreateSecurityPolicyCommandOutput, type CreateVpcEndpointCommandInput, type CreateVpcEndpointCommandOutput, type DeleteAccessPolicyCommandInput, type DeleteAccessPolicyCommandOutput, type DeleteCollectionCommandInput, type DeleteCollectionCommandOutput, 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 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 UpdateLifecyclePolicyCommandInput, type UpdateLifecyclePolicyCommandOutput, type UpdateSecurityConfigCommandInput, type UpdateSecurityConfigCommandOutput, type UpdateSecurityPolicyCommandInput, type UpdateSecurityPolicyCommandOutput, type UpdateVpcEndpointCommandInput, type UpdateVpcEndpointCommandOutput } from "@aws-sdk/client-opensearchserverless";
|
|
5
|
-
import type { HttpHandlerOptions,
|
|
5
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
|
-
import type { ConflictError, InternalServerError, OcuLimitExceededError, ResourceNotFoundError, ServiceQuotaExceededError, ValidationError } from "./Errors.js";
|
|
8
|
+
import type { ConflictError, InternalServerError, OcuLimitExceededError, ResourceNotFoundError, SdkError, ServiceQuotaExceededError, ValidationError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./OpenSearchServerlessClientInstance.js";
|
|
9
10
|
interface OpenSearchServerlessService$ {
|
|
10
11
|
readonly _: unique symbol;
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link BatchGetCollectionCommand}
|
|
13
14
|
*/
|
|
14
|
-
batchGetCollection(args: BatchGetCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetCollectionCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
15
|
+
batchGetCollection(args: BatchGetCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetCollectionCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link BatchGetEffectiveLifecyclePolicyCommand}
|
|
17
18
|
*/
|
|
18
|
-
batchGetEffectiveLifecyclePolicy(args: BatchGetEffectiveLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetEffectiveLifecyclePolicyCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
19
|
+
batchGetEffectiveLifecyclePolicy(args: BatchGetEffectiveLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetEffectiveLifecyclePolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link BatchGetLifecyclePolicyCommand}
|
|
21
22
|
*/
|
|
22
|
-
batchGetLifecyclePolicy(args: BatchGetLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetLifecyclePolicyCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
23
|
+
batchGetLifecyclePolicy(args: BatchGetLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetLifecyclePolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
23
24
|
/**
|
|
24
25
|
* @see {@link BatchGetVpcEndpointCommand}
|
|
25
26
|
*/
|
|
26
|
-
batchGetVpcEndpoint(args: BatchGetVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetVpcEndpointCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
27
|
+
batchGetVpcEndpoint(args: BatchGetVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetVpcEndpointCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
27
28
|
/**
|
|
28
29
|
* @see {@link CreateAccessPolicyCommand}
|
|
29
30
|
*/
|
|
30
|
-
createAccessPolicy(args: CreateAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateAccessPolicyCommandOutput, SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
31
|
+
createAccessPolicy(args: CreateAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateAccessPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
31
32
|
/**
|
|
32
33
|
* @see {@link CreateCollectionCommand}
|
|
33
34
|
*/
|
|
34
|
-
createCollection(args: CreateCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateCollectionCommandOutput, SdkError | ConflictError | InternalServerError | OcuLimitExceededError | ServiceQuotaExceededError | ValidationError>;
|
|
35
|
+
createCollection(args: CreateCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateCollectionCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | OcuLimitExceededError | ServiceQuotaExceededError | ValidationError>;
|
|
35
36
|
/**
|
|
36
37
|
* @see {@link CreateLifecyclePolicyCommand}
|
|
37
38
|
*/
|
|
38
|
-
createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateLifecyclePolicyCommandOutput, SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
39
|
+
createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateLifecyclePolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
39
40
|
/**
|
|
40
41
|
* @see {@link CreateSecurityConfigCommand}
|
|
41
42
|
*/
|
|
42
|
-
createSecurityConfig(args: CreateSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateSecurityConfigCommandOutput, SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
43
|
+
createSecurityConfig(args: CreateSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateSecurityConfigCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
43
44
|
/**
|
|
44
45
|
* @see {@link CreateSecurityPolicyCommand}
|
|
45
46
|
*/
|
|
46
|
-
createSecurityPolicy(args: CreateSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateSecurityPolicyCommandOutput, SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
47
|
+
createSecurityPolicy(args: CreateSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateSecurityPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
47
48
|
/**
|
|
48
49
|
* @see {@link CreateVpcEndpointCommand}
|
|
49
50
|
*/
|
|
50
|
-
createVpcEndpoint(args: CreateVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateVpcEndpointCommandOutput, SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
51
|
+
createVpcEndpoint(args: CreateVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateVpcEndpointCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
51
52
|
/**
|
|
52
53
|
* @see {@link DeleteAccessPolicyCommand}
|
|
53
54
|
*/
|
|
54
|
-
deleteAccessPolicy(args: DeleteAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAccessPolicyCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
55
|
+
deleteAccessPolicy(args: DeleteAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAccessPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
55
56
|
/**
|
|
56
57
|
* @see {@link DeleteCollectionCommand}
|
|
57
58
|
*/
|
|
58
|
-
deleteCollection(args: DeleteCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteCollectionCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
59
|
+
deleteCollection(args: DeleteCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteCollectionCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
59
60
|
/**
|
|
60
61
|
* @see {@link DeleteLifecyclePolicyCommand}
|
|
61
62
|
*/
|
|
62
|
-
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteLifecyclePolicyCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
63
|
+
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteLifecyclePolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
63
64
|
/**
|
|
64
65
|
* @see {@link DeleteSecurityConfigCommand}
|
|
65
66
|
*/
|
|
66
|
-
deleteSecurityConfig(args: DeleteSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSecurityConfigCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
67
|
+
deleteSecurityConfig(args: DeleteSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSecurityConfigCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
67
68
|
/**
|
|
68
69
|
* @see {@link DeleteSecurityPolicyCommand}
|
|
69
70
|
*/
|
|
70
|
-
deleteSecurityPolicy(args: DeleteSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSecurityPolicyCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
71
|
+
deleteSecurityPolicy(args: DeleteSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSecurityPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
71
72
|
/**
|
|
72
73
|
* @see {@link DeleteVpcEndpointCommand}
|
|
73
74
|
*/
|
|
74
|
-
deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteVpcEndpointCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
75
|
+
deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteVpcEndpointCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
75
76
|
/**
|
|
76
77
|
* @see {@link GetAccessPolicyCommand}
|
|
77
78
|
*/
|
|
78
|
-
getAccessPolicy(args: GetAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAccessPolicyCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
79
|
+
getAccessPolicy(args: GetAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAccessPolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
79
80
|
/**
|
|
80
81
|
* @see {@link GetAccountSettingsCommand}
|
|
81
82
|
*/
|
|
82
|
-
getAccountSettings(args: GetAccountSettingsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAccountSettingsCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
83
|
+
getAccountSettings(args: GetAccountSettingsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAccountSettingsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
83
84
|
/**
|
|
84
85
|
* @see {@link GetPoliciesStatsCommand}
|
|
85
86
|
*/
|
|
86
|
-
getPoliciesStats(args: GetPoliciesStatsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPoliciesStatsCommandOutput, SdkError | InternalServerError>;
|
|
87
|
+
getPoliciesStats(args: GetPoliciesStatsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPoliciesStatsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError>;
|
|
87
88
|
/**
|
|
88
89
|
* @see {@link GetSecurityConfigCommand}
|
|
89
90
|
*/
|
|
90
|
-
getSecurityConfig(args: GetSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSecurityConfigCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
91
|
+
getSecurityConfig(args: GetSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSecurityConfigCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
91
92
|
/**
|
|
92
93
|
* @see {@link GetSecurityPolicyCommand}
|
|
93
94
|
*/
|
|
94
|
-
getSecurityPolicy(args: GetSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSecurityPolicyCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
95
|
+
getSecurityPolicy(args: GetSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSecurityPolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
95
96
|
/**
|
|
96
97
|
* @see {@link ListAccessPoliciesCommand}
|
|
97
98
|
*/
|
|
98
|
-
listAccessPolicies(args: ListAccessPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAccessPoliciesCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
99
|
+
listAccessPolicies(args: ListAccessPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAccessPoliciesCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
99
100
|
/**
|
|
100
101
|
* @see {@link ListCollectionsCommand}
|
|
101
102
|
*/
|
|
102
|
-
listCollections(args: ListCollectionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListCollectionsCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
103
|
+
listCollections(args: ListCollectionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListCollectionsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
103
104
|
/**
|
|
104
105
|
* @see {@link ListLifecyclePoliciesCommand}
|
|
105
106
|
*/
|
|
106
|
-
listLifecyclePolicies(args: ListLifecyclePoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListLifecyclePoliciesCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
107
|
+
listLifecyclePolicies(args: ListLifecyclePoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListLifecyclePoliciesCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
107
108
|
/**
|
|
108
109
|
* @see {@link ListSecurityConfigsCommand}
|
|
109
110
|
*/
|
|
110
|
-
listSecurityConfigs(args: ListSecurityConfigsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecurityConfigsCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
111
|
+
listSecurityConfigs(args: ListSecurityConfigsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecurityConfigsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
111
112
|
/**
|
|
112
113
|
* @see {@link ListSecurityPoliciesCommand}
|
|
113
114
|
*/
|
|
114
|
-
listSecurityPolicies(args: ListSecurityPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecurityPoliciesCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
115
|
+
listSecurityPolicies(args: ListSecurityPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecurityPoliciesCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
115
116
|
/**
|
|
116
117
|
* @see {@link ListTagsForResourceCommand}
|
|
117
118
|
*/
|
|
118
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
119
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
119
120
|
/**
|
|
120
121
|
* @see {@link ListVpcEndpointsCommand}
|
|
121
122
|
*/
|
|
122
|
-
listVpcEndpoints(args: ListVpcEndpointsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListVpcEndpointsCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
123
|
+
listVpcEndpoints(args: ListVpcEndpointsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListVpcEndpointsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
123
124
|
/**
|
|
124
125
|
* @see {@link TagResourceCommand}
|
|
125
126
|
*/
|
|
126
|
-
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
|
|
127
|
+
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
|
|
127
128
|
/**
|
|
128
129
|
* @see {@link UntagResourceCommand}
|
|
129
130
|
*/
|
|
130
|
-
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
131
|
+
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
131
132
|
/**
|
|
132
133
|
* @see {@link UpdateAccessPolicyCommand}
|
|
133
134
|
*/
|
|
134
|
-
updateAccessPolicy(args: UpdateAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAccessPolicyCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
135
|
+
updateAccessPolicy(args: UpdateAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAccessPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
135
136
|
/**
|
|
136
137
|
* @see {@link UpdateAccountSettingsCommand}
|
|
137
138
|
*/
|
|
138
|
-
updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAccountSettingsCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
139
|
+
updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAccountSettingsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
139
140
|
/**
|
|
140
141
|
* @see {@link UpdateCollectionCommand}
|
|
141
142
|
*/
|
|
142
|
-
updateCollection(args: UpdateCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateCollectionCommandOutput, SdkError | ConflictError | InternalServerError | ValidationError>;
|
|
143
|
+
updateCollection(args: UpdateCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateCollectionCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ValidationError>;
|
|
143
144
|
/**
|
|
144
145
|
* @see {@link UpdateLifecyclePolicyCommand}
|
|
145
146
|
*/
|
|
146
|
-
updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateLifecyclePolicyCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
|
|
147
|
+
updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateLifecyclePolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
|
|
147
148
|
/**
|
|
148
149
|
* @see {@link UpdateSecurityConfigCommand}
|
|
149
150
|
*/
|
|
150
|
-
updateSecurityConfig(args: UpdateSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecurityConfigCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
151
|
+
updateSecurityConfig(args: UpdateSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecurityConfigCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
151
152
|
/**
|
|
152
153
|
* @see {@link UpdateSecurityPolicyCommand}
|
|
153
154
|
*/
|
|
154
|
-
updateSecurityPolicy(args: UpdateSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecurityPolicyCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
|
|
155
|
+
updateSecurityPolicy(args: UpdateSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecurityPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
|
|
155
156
|
/**
|
|
156
157
|
* @see {@link UpdateVpcEndpointCommand}
|
|
157
158
|
*/
|
|
158
|
-
updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateVpcEndpointCommandOutput, SdkError | ConflictError | InternalServerError | ValidationError>;
|
|
159
|
+
updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateVpcEndpointCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ValidationError>;
|
|
159
160
|
}
|
|
160
161
|
/**
|
|
161
162
|
* @since 1.0.0
|
|
@@ -163,7 +164,7 @@ interface OpenSearchServerlessService$ {
|
|
|
163
164
|
*/
|
|
164
165
|
export declare const makeOpenSearchServerlessService: Effect.Effect<OpenSearchServerlessService$, never, Instance.OpenSearchServerlessClientInstance>;
|
|
165
166
|
declare const OpenSearchServerlessService_base: import("effect/Context").TagClass<OpenSearchServerlessService, "@effect-aws/client-opensearch-serverless/OpenSearchServerlessService", OpenSearchServerlessService$> & Effect.Tag.Proxy<OpenSearchServerlessService, OpenSearchServerlessService$> & {
|
|
166
|
-
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,
|
|
167
|
+
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>;
|
|
167
168
|
};
|
|
168
169
|
/**
|
|
169
170
|
* @since 1.0.0
|
|
@@ -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,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,KA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,MAAM,CAAC,MAAM,CACd,iCAAiC,EAC/B,KAAK,CAAC,gBAAgB,GACtB,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,gBAAgB,GAAG,QAAQ,GAAG,aAAa,GAAG,mBAAmB,GAAG,eAAe,CAC1F,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,+BAA+B,iGAW1C,CAAC;;;;AAEH;;;GAGG;AACH,qBAAa,2BACX,SAAQ,gCAGL;IAEH,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;CACF"}
|
|
@@ -78,7 +78,7 @@ const commands = {
|
|
|
78
78
|
*/
|
|
79
79
|
exports.makeOpenSearchServerlessService = effect_1.Effect.gen(function* () {
|
|
80
80
|
const client = yield* Instance.OpenSearchServerlessClientInstance;
|
|
81
|
-
return commons_1.Service.fromClientAndCommands(client, commands, {
|
|
81
|
+
return yield* commons_1.Service.fromClientAndCommands(client, commands, {
|
|
82
82
|
errorTags: Errors_js_1.AllServiceErrors,
|
|
83
83
|
resolveClientConfig: OpenSearchServerlessServiceConfig.toOpenSearchServerlessClientConfig,
|
|
84
84
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenSearchServerlessService.js","sourceRoot":"","sources":["../../src/OpenSearchServerlessService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,sFAkH8C;AAE9C,iDAA8C;
|
|
1
|
+
{"version":3,"file":"OpenSearchServerlessService.js","sourceRoot":"","sources":["../../src/OpenSearchServerlessService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,sFAkH8C;AAE9C,iDAA8C;AAE9C,mCAAuC;AAUvC,2CAA+C;AAC/C,kFAAoE;AACpE,0GAA4F;AAE5F,MAAM,QAAQ,GAAG;IACf,yBAAyB,EAAzB,uDAAyB;IACzB,uCAAuC,EAAvC,qEAAuC;IACvC,8BAA8B,EAA9B,4DAA8B;IAC9B,0BAA0B,EAA1B,wDAA0B;IAC1B,yBAAyB,EAAzB,uDAAyB;IACzB,uBAAuB,EAAvB,qDAAuB;IACvB,4BAA4B,EAA5B,0DAA4B;IAC5B,2BAA2B,EAA3B,yDAA2B;IAC3B,2BAA2B,EAA3B,yDAA2B;IAC3B,wBAAwB,EAAxB,sDAAwB;IACxB,yBAAyB,EAAzB,uDAAyB;IACzB,uBAAuB,EAAvB,qDAAuB;IACvB,4BAA4B,EAA5B,0DAA4B;IAC5B,2BAA2B,EAA3B,yDAA2B;IAC3B,2BAA2B,EAA3B,yDAA2B;IAC3B,wBAAwB,EAAxB,sDAAwB;IACxB,sBAAsB,EAAtB,oDAAsB;IACtB,yBAAyB,EAAzB,uDAAyB;IACzB,uBAAuB,EAAvB,qDAAuB;IACvB,wBAAwB,EAAxB,sDAAwB;IACxB,wBAAwB,EAAxB,sDAAwB;IACxB,yBAAyB,EAAzB,uDAAyB;IACzB,sBAAsB,EAAtB,oDAAsB;IACtB,4BAA4B,EAA5B,0DAA4B;IAC5B,0BAA0B,EAA1B,wDAA0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CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAAyF,EACzF,EAAE,CACF,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,uCAA+B,CAAC,CAAC,IAAI,CACtD,cAAK,CAAC,OAAO,CACX,cAAK,CAAC,MAAM,CACV,QAAQ,CAAC,kCAAkC,EAC3C,eAAM,CAAC,GAAG,CAAC,iCAAiC,CAAC,kCAAkC,EAAE,QAAQ,CAAC,CAC3F,CACF,CACF,CAAC;;AAxBN,kEAyBC"}
|
package/dist/dts/Errors.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { ConflictException, InternalServerException, OcuLimitExceededException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException } from "@aws-sdk/client-opensearchserverless";
|
|
2
2
|
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
4
3
|
export declare const AllServiceErrors: readonly ["ConflictException", "InternalServerException", "OcuLimitExceededException", "ResourceNotFoundException", "ServiceQuotaExceededException", "ValidationException"];
|
|
5
4
|
export type ConflictError = TaggedException<ConflictException>;
|
|
6
5
|
export type InternalServerError = TaggedException<InternalServerException>;
|
|
@@ -8,6 +7,7 @@ export type OcuLimitExceededError = TaggedException<OcuLimitExceededException>;
|
|
|
8
7
|
export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
9
8
|
export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
|
|
10
9
|
export type ValidationError = TaggedException<ValidationException>;
|
|
11
|
-
export type SdkError =
|
|
12
|
-
|
|
10
|
+
export type SdkError = TaggedException<Error & {
|
|
11
|
+
name: "SdkError";
|
|
12
|
+
}>;
|
|
13
13
|
//# sourceMappingURL=Errors.d.ts.map
|
package/dist/dts/Errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,EACzB,6BAA6B,EAC7B,mBAAmB,EACpB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,EACzB,6BAA6B,EAC7B,mBAAmB,EACpB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,6KAOnB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAC/D,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,6BAA6B,CAAC,CAAC;AACvF,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC"}
|
|
@@ -2,160 +2,161 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
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 CreateLifecyclePolicyCommandInput, type CreateLifecyclePolicyCommandOutput, type CreateSecurityConfigCommandInput, type CreateSecurityConfigCommandOutput, type CreateSecurityPolicyCommandInput, type CreateSecurityPolicyCommandOutput, type CreateVpcEndpointCommandInput, type CreateVpcEndpointCommandOutput, type DeleteAccessPolicyCommandInput, type DeleteAccessPolicyCommandOutput, type DeleteCollectionCommandInput, type DeleteCollectionCommandOutput, 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 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 UpdateLifecyclePolicyCommandInput, type UpdateLifecyclePolicyCommandOutput, type UpdateSecurityConfigCommandInput, type UpdateSecurityConfigCommandOutput, type UpdateSecurityPolicyCommandInput, type UpdateSecurityPolicyCommandOutput, type UpdateVpcEndpointCommandInput, type UpdateVpcEndpointCommandOutput } from "@aws-sdk/client-opensearchserverless";
|
|
5
|
-
import type { HttpHandlerOptions,
|
|
5
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
|
-
import type { ConflictError, InternalServerError, OcuLimitExceededError, ResourceNotFoundError, ServiceQuotaExceededError, ValidationError } from "./Errors.js";
|
|
8
|
+
import type { ConflictError, InternalServerError, OcuLimitExceededError, ResourceNotFoundError, SdkError, ServiceQuotaExceededError, ValidationError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./OpenSearchServerlessClientInstance.js";
|
|
9
10
|
interface OpenSearchServerlessService$ {
|
|
10
11
|
readonly _: unique symbol;
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link BatchGetCollectionCommand}
|
|
13
14
|
*/
|
|
14
|
-
batchGetCollection(args: BatchGetCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetCollectionCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
15
|
+
batchGetCollection(args: BatchGetCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetCollectionCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link BatchGetEffectiveLifecyclePolicyCommand}
|
|
17
18
|
*/
|
|
18
|
-
batchGetEffectiveLifecyclePolicy(args: BatchGetEffectiveLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetEffectiveLifecyclePolicyCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
19
|
+
batchGetEffectiveLifecyclePolicy(args: BatchGetEffectiveLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetEffectiveLifecyclePolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link BatchGetLifecyclePolicyCommand}
|
|
21
22
|
*/
|
|
22
|
-
batchGetLifecyclePolicy(args: BatchGetLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetLifecyclePolicyCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
23
|
+
batchGetLifecyclePolicy(args: BatchGetLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetLifecyclePolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
23
24
|
/**
|
|
24
25
|
* @see {@link BatchGetVpcEndpointCommand}
|
|
25
26
|
*/
|
|
26
|
-
batchGetVpcEndpoint(args: BatchGetVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetVpcEndpointCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
27
|
+
batchGetVpcEndpoint(args: BatchGetVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchGetVpcEndpointCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
27
28
|
/**
|
|
28
29
|
* @see {@link CreateAccessPolicyCommand}
|
|
29
30
|
*/
|
|
30
|
-
createAccessPolicy(args: CreateAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateAccessPolicyCommandOutput, SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
31
|
+
createAccessPolicy(args: CreateAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateAccessPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
31
32
|
/**
|
|
32
33
|
* @see {@link CreateCollectionCommand}
|
|
33
34
|
*/
|
|
34
|
-
createCollection(args: CreateCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateCollectionCommandOutput, SdkError | ConflictError | InternalServerError | OcuLimitExceededError | ServiceQuotaExceededError | ValidationError>;
|
|
35
|
+
createCollection(args: CreateCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateCollectionCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | OcuLimitExceededError | ServiceQuotaExceededError | ValidationError>;
|
|
35
36
|
/**
|
|
36
37
|
* @see {@link CreateLifecyclePolicyCommand}
|
|
37
38
|
*/
|
|
38
|
-
createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateLifecyclePolicyCommandOutput, SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
39
|
+
createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateLifecyclePolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
39
40
|
/**
|
|
40
41
|
* @see {@link CreateSecurityConfigCommand}
|
|
41
42
|
*/
|
|
42
|
-
createSecurityConfig(args: CreateSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateSecurityConfigCommandOutput, SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
43
|
+
createSecurityConfig(args: CreateSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateSecurityConfigCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
43
44
|
/**
|
|
44
45
|
* @see {@link CreateSecurityPolicyCommand}
|
|
45
46
|
*/
|
|
46
|
-
createSecurityPolicy(args: CreateSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateSecurityPolicyCommandOutput, SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
47
|
+
createSecurityPolicy(args: CreateSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateSecurityPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
47
48
|
/**
|
|
48
49
|
* @see {@link CreateVpcEndpointCommand}
|
|
49
50
|
*/
|
|
50
|
-
createVpcEndpoint(args: CreateVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateVpcEndpointCommandOutput, SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
51
|
+
createVpcEndpoint(args: CreateVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateVpcEndpointCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ValidationError>;
|
|
51
52
|
/**
|
|
52
53
|
* @see {@link DeleteAccessPolicyCommand}
|
|
53
54
|
*/
|
|
54
|
-
deleteAccessPolicy(args: DeleteAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAccessPolicyCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
55
|
+
deleteAccessPolicy(args: DeleteAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAccessPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
55
56
|
/**
|
|
56
57
|
* @see {@link DeleteCollectionCommand}
|
|
57
58
|
*/
|
|
58
|
-
deleteCollection(args: DeleteCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteCollectionCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
59
|
+
deleteCollection(args: DeleteCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteCollectionCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
59
60
|
/**
|
|
60
61
|
* @see {@link DeleteLifecyclePolicyCommand}
|
|
61
62
|
*/
|
|
62
|
-
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteLifecyclePolicyCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
63
|
+
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteLifecyclePolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
63
64
|
/**
|
|
64
65
|
* @see {@link DeleteSecurityConfigCommand}
|
|
65
66
|
*/
|
|
66
|
-
deleteSecurityConfig(args: DeleteSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSecurityConfigCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
67
|
+
deleteSecurityConfig(args: DeleteSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSecurityConfigCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
67
68
|
/**
|
|
68
69
|
* @see {@link DeleteSecurityPolicyCommand}
|
|
69
70
|
*/
|
|
70
|
-
deleteSecurityPolicy(args: DeleteSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSecurityPolicyCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
71
|
+
deleteSecurityPolicy(args: DeleteSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSecurityPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
71
72
|
/**
|
|
72
73
|
* @see {@link DeleteVpcEndpointCommand}
|
|
73
74
|
*/
|
|
74
|
-
deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteVpcEndpointCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
75
|
+
deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteVpcEndpointCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
75
76
|
/**
|
|
76
77
|
* @see {@link GetAccessPolicyCommand}
|
|
77
78
|
*/
|
|
78
|
-
getAccessPolicy(args: GetAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAccessPolicyCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
79
|
+
getAccessPolicy(args: GetAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAccessPolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
79
80
|
/**
|
|
80
81
|
* @see {@link GetAccountSettingsCommand}
|
|
81
82
|
*/
|
|
82
|
-
getAccountSettings(args: GetAccountSettingsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAccountSettingsCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
83
|
+
getAccountSettings(args: GetAccountSettingsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAccountSettingsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
83
84
|
/**
|
|
84
85
|
* @see {@link GetPoliciesStatsCommand}
|
|
85
86
|
*/
|
|
86
|
-
getPoliciesStats(args: GetPoliciesStatsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPoliciesStatsCommandOutput, SdkError | InternalServerError>;
|
|
87
|
+
getPoliciesStats(args: GetPoliciesStatsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPoliciesStatsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError>;
|
|
87
88
|
/**
|
|
88
89
|
* @see {@link GetSecurityConfigCommand}
|
|
89
90
|
*/
|
|
90
|
-
getSecurityConfig(args: GetSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSecurityConfigCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
91
|
+
getSecurityConfig(args: GetSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSecurityConfigCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
91
92
|
/**
|
|
92
93
|
* @see {@link GetSecurityPolicyCommand}
|
|
93
94
|
*/
|
|
94
|
-
getSecurityPolicy(args: GetSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSecurityPolicyCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
95
|
+
getSecurityPolicy(args: GetSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetSecurityPolicyCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
95
96
|
/**
|
|
96
97
|
* @see {@link ListAccessPoliciesCommand}
|
|
97
98
|
*/
|
|
98
|
-
listAccessPolicies(args: ListAccessPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAccessPoliciesCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
99
|
+
listAccessPolicies(args: ListAccessPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAccessPoliciesCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
99
100
|
/**
|
|
100
101
|
* @see {@link ListCollectionsCommand}
|
|
101
102
|
*/
|
|
102
|
-
listCollections(args: ListCollectionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListCollectionsCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
103
|
+
listCollections(args: ListCollectionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListCollectionsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
103
104
|
/**
|
|
104
105
|
* @see {@link ListLifecyclePoliciesCommand}
|
|
105
106
|
*/
|
|
106
|
-
listLifecyclePolicies(args: ListLifecyclePoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListLifecyclePoliciesCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
107
|
+
listLifecyclePolicies(args: ListLifecyclePoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListLifecyclePoliciesCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
107
108
|
/**
|
|
108
109
|
* @see {@link ListSecurityConfigsCommand}
|
|
109
110
|
*/
|
|
110
|
-
listSecurityConfigs(args: ListSecurityConfigsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecurityConfigsCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
111
|
+
listSecurityConfigs(args: ListSecurityConfigsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecurityConfigsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
111
112
|
/**
|
|
112
113
|
* @see {@link ListSecurityPoliciesCommand}
|
|
113
114
|
*/
|
|
114
|
-
listSecurityPolicies(args: ListSecurityPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecurityPoliciesCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
115
|
+
listSecurityPolicies(args: ListSecurityPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSecurityPoliciesCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
115
116
|
/**
|
|
116
117
|
* @see {@link ListTagsForResourceCommand}
|
|
117
118
|
*/
|
|
118
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
119
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
119
120
|
/**
|
|
120
121
|
* @see {@link ListVpcEndpointsCommand}
|
|
121
122
|
*/
|
|
122
|
-
listVpcEndpoints(args: ListVpcEndpointsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListVpcEndpointsCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
123
|
+
listVpcEndpoints(args: ListVpcEndpointsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListVpcEndpointsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
123
124
|
/**
|
|
124
125
|
* @see {@link TagResourceCommand}
|
|
125
126
|
*/
|
|
126
|
-
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
|
|
127
|
+
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
|
|
127
128
|
/**
|
|
128
129
|
* @see {@link UntagResourceCommand}
|
|
129
130
|
*/
|
|
130
|
-
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
131
|
+
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
131
132
|
/**
|
|
132
133
|
* @see {@link UpdateAccessPolicyCommand}
|
|
133
134
|
*/
|
|
134
|
-
updateAccessPolicy(args: UpdateAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAccessPolicyCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
135
|
+
updateAccessPolicy(args: UpdateAccessPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAccessPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
135
136
|
/**
|
|
136
137
|
* @see {@link UpdateAccountSettingsCommand}
|
|
137
138
|
*/
|
|
138
|
-
updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAccountSettingsCommandOutput, SdkError | InternalServerError | ValidationError>;
|
|
139
|
+
updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAccountSettingsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ValidationError>;
|
|
139
140
|
/**
|
|
140
141
|
* @see {@link UpdateCollectionCommand}
|
|
141
142
|
*/
|
|
142
|
-
updateCollection(args: UpdateCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateCollectionCommandOutput, SdkError | ConflictError | InternalServerError | ValidationError>;
|
|
143
|
+
updateCollection(args: UpdateCollectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateCollectionCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ValidationError>;
|
|
143
144
|
/**
|
|
144
145
|
* @see {@link UpdateLifecyclePolicyCommand}
|
|
145
146
|
*/
|
|
146
|
-
updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateLifecyclePolicyCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
|
|
147
|
+
updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateLifecyclePolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
|
|
147
148
|
/**
|
|
148
149
|
* @see {@link UpdateSecurityConfigCommand}
|
|
149
150
|
*/
|
|
150
|
-
updateSecurityConfig(args: UpdateSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecurityConfigCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
151
|
+
updateSecurityConfig(args: UpdateSecurityConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecurityConfigCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError>;
|
|
151
152
|
/**
|
|
152
153
|
* @see {@link UpdateSecurityPolicyCommand}
|
|
153
154
|
*/
|
|
154
|
-
updateSecurityPolicy(args: UpdateSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecurityPolicyCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
|
|
155
|
+
updateSecurityPolicy(args: UpdateSecurityPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecurityPolicyCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ValidationError>;
|
|
155
156
|
/**
|
|
156
157
|
* @see {@link UpdateVpcEndpointCommand}
|
|
157
158
|
*/
|
|
158
|
-
updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateVpcEndpointCommandOutput, SdkError | ConflictError | InternalServerError | ValidationError>;
|
|
159
|
+
updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateVpcEndpointCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ValidationError>;
|
|
159
160
|
}
|
|
160
161
|
/**
|
|
161
162
|
* @since 1.0.0
|
|
@@ -163,7 +164,7 @@ interface OpenSearchServerlessService$ {
|
|
|
163
164
|
*/
|
|
164
165
|
export declare const makeOpenSearchServerlessService: Effect.Effect<OpenSearchServerlessService$, never, Instance.OpenSearchServerlessClientInstance>;
|
|
165
166
|
declare const OpenSearchServerlessService_base: import("effect/Context").TagClass<OpenSearchServerlessService, "@effect-aws/client-opensearch-serverless/OpenSearchServerlessService", OpenSearchServerlessService$> & Effect.Tag.Proxy<OpenSearchServerlessService, OpenSearchServerlessService$> & {
|
|
166
|
-
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,
|
|
167
|
+
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>;
|
|
167
168
|
};
|
|
168
169
|
/**
|
|
169
170
|
* @since 1.0.0
|
|
@@ -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,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,6BAA6B,EAClC,KAAK,8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,kBAAkB,EAAE,
|
|
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,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,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,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,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IAAI,EAAE,gCAAgC,EACtC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,iCAAiC,EAC/B,KAAK,CAAC,gBAAgB,GACtB,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,gBAAgB,GAAG,QAAQ,GAAG,aAAa,GAAG,mBAAmB,GAAG,eAAe,CAC1F,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,+BAA+B,iGAW1C,CAAC;;;;AAEH;;;GAGG;AACH,qBAAa,2BACX,SAAQ,gCAGL;IAEH,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;CACF"}
|
package/dist/esm/Errors.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
2
1
|
export const AllServiceErrors = [
|
|
3
2
|
"ConflictException",
|
|
4
3
|
"InternalServerException",
|
|
@@ -7,5 +6,4 @@ export const AllServiceErrors = [
|
|
|
7
6
|
"ServiceQuotaExceededException",
|
|
8
7
|
"ValidationException",
|
|
9
8
|
];
|
|
10
|
-
export const SdkError = CommonSdkError;
|
|
11
9
|
//# sourceMappingURL=Errors.js.map
|
package/dist/esm/Errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAUA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,mBAAmB;IACnB,yBAAyB;IACzB,2BAA2B;IAC3B,2BAA2B;IAC3B,+BAA+B;IAC/B,qBAAqB;CACb,CAAC"}
|
|
@@ -52,7 +52,7 @@ const commands = {
|
|
|
52
52
|
*/
|
|
53
53
|
export const makeOpenSearchServerlessService = Effect.gen(function* () {
|
|
54
54
|
const client = yield* Instance.OpenSearchServerlessClientInstance;
|
|
55
|
-
return Service.fromClientAndCommands(client, commands, {
|
|
55
|
+
return yield* Service.fromClientAndCommands(client, commands, {
|
|
56
56
|
errorTags: AllServiceErrors,
|
|
57
57
|
resolveClientConfig: OpenSearchServerlessServiceConfig.toOpenSearchServerlessClientConfig,
|
|
58
58
|
});
|
|
@@ -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,4BAA4B,EAG5B,2BAA2B,EAG3B,2BAA2B,EAG3B,wBAAwB,EAGxB,yBAAyB,EAGzB,uBAAuB,EAGvB,4BAA4B,EAG5B,2BAA2B,EAG3B,2BAA2B,EAG3B,wBAAwB,EAGxB,sBAAsB,EAGtB,yBAAyB,EAGzB,uBAAuB,EAGvB,wBAAwB,EAGxB,wBAAwB,EAGxB,yBAAyB,EAGzB,s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AAC,CAC9B,CAAC;IACF,MAAM,CAAU,KAAK,GAAG,CAAC,MAA0C,EAAE,EAAE,CACrE,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,+BAA+B,CAAC,CAAC,IAAI,CACtD,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC7B,KAAK,CAAC,OAAO,CAAC,iCAAiC,CAAC,oCAAoC,CAAC,MAAM,CAAC,CAAC,CAC9F,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAAyF,EACzF,EAAE,CACF,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,+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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-aws/client-opensearch-serverless",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.2",
|
|
4
4
|
"description": "Effectful AWS OpenSearch Serverless client",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"homepage": "https://floydspace.github.io/effect-aws/docs/client-opensearch-serverless",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@aws-sdk/client-opensearchserverless": "^3",
|
|
19
|
-
"@effect-aws/commons": "^0.
|
|
19
|
+
"@effect-aws/commons": "^0.3.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"effect": ">=3.0.4 <4.0.0"
|
package/src/Errors.ts
CHANGED
|
@@ -7,7 +7,6 @@ import type {
|
|
|
7
7
|
ValidationException,
|
|
8
8
|
} from "@aws-sdk/client-opensearchserverless";
|
|
9
9
|
import type { TaggedException } from "@effect-aws/commons";
|
|
10
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
11
10
|
|
|
12
11
|
export const AllServiceErrors = [
|
|
13
12
|
"ConflictException",
|
|
@@ -24,6 +23,4 @@ export type OcuLimitExceededError = TaggedException<OcuLimitExceededException>;
|
|
|
24
23
|
export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
25
24
|
export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
|
|
26
25
|
export type ValidationError = TaggedException<ValidationException>;
|
|
27
|
-
|
|
28
|
-
export type SdkError = CommonSdkError;
|
|
29
|
-
export const SdkError = CommonSdkError;
|
|
26
|
+
export type SdkError = TaggedException<Error & { name: "SdkError" }>;
|
|
@@ -116,14 +116,16 @@ import {
|
|
|
116
116
|
type UpdateVpcEndpointCommandInput,
|
|
117
117
|
type UpdateVpcEndpointCommandOutput,
|
|
118
118
|
} from "@aws-sdk/client-opensearchserverless";
|
|
119
|
-
import type { HttpHandlerOptions,
|
|
119
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
120
120
|
import { Service } from "@effect-aws/commons";
|
|
121
|
+
import type { Cause } from "effect";
|
|
121
122
|
import { Effect, Layer } from "effect";
|
|
122
123
|
import type {
|
|
123
124
|
ConflictError,
|
|
124
125
|
InternalServerError,
|
|
125
126
|
OcuLimitExceededError,
|
|
126
127
|
ResourceNotFoundError,
|
|
128
|
+
SdkError,
|
|
127
129
|
ServiceQuotaExceededError,
|
|
128
130
|
ValidationError,
|
|
129
131
|
} from "./Errors.js";
|
|
@@ -182,7 +184,7 @@ interface OpenSearchServerlessService$ {
|
|
|
182
184
|
options?: HttpHandlerOptions,
|
|
183
185
|
): Effect.Effect<
|
|
184
186
|
BatchGetCollectionCommandOutput,
|
|
185
|
-
SdkError | InternalServerError | ValidationError
|
|
187
|
+
Cause.TimeoutException | SdkError | InternalServerError | ValidationError
|
|
186
188
|
>;
|
|
187
189
|
|
|
188
190
|
/**
|
|
@@ -193,7 +195,7 @@ interface OpenSearchServerlessService$ {
|
|
|
193
195
|
options?: HttpHandlerOptions,
|
|
194
196
|
): Effect.Effect<
|
|
195
197
|
BatchGetEffectiveLifecyclePolicyCommandOutput,
|
|
196
|
-
SdkError | InternalServerError | ValidationError
|
|
198
|
+
Cause.TimeoutException | SdkError | InternalServerError | ValidationError
|
|
197
199
|
>;
|
|
198
200
|
|
|
199
201
|
/**
|
|
@@ -204,7 +206,7 @@ interface OpenSearchServerlessService$ {
|
|
|
204
206
|
options?: HttpHandlerOptions,
|
|
205
207
|
): Effect.Effect<
|
|
206
208
|
BatchGetLifecyclePolicyCommandOutput,
|
|
207
|
-
SdkError | InternalServerError | ValidationError
|
|
209
|
+
Cause.TimeoutException | SdkError | InternalServerError | ValidationError
|
|
208
210
|
>;
|
|
209
211
|
|
|
210
212
|
/**
|
|
@@ -215,7 +217,7 @@ interface OpenSearchServerlessService$ {
|
|
|
215
217
|
options?: HttpHandlerOptions,
|
|
216
218
|
): Effect.Effect<
|
|
217
219
|
BatchGetVpcEndpointCommandOutput,
|
|
218
|
-
SdkError | InternalServerError | ValidationError
|
|
220
|
+
Cause.TimeoutException | SdkError | InternalServerError | ValidationError
|
|
219
221
|
>;
|
|
220
222
|
|
|
221
223
|
/**
|
|
@@ -226,7 +228,12 @@ interface OpenSearchServerlessService$ {
|
|
|
226
228
|
options?: HttpHandlerOptions,
|
|
227
229
|
): Effect.Effect<
|
|
228
230
|
CreateAccessPolicyCommandOutput,
|
|
229
|
-
|
|
231
|
+
| Cause.TimeoutException
|
|
232
|
+
| SdkError
|
|
233
|
+
| ConflictError
|
|
234
|
+
| InternalServerError
|
|
235
|
+
| ServiceQuotaExceededError
|
|
236
|
+
| ValidationError
|
|
230
237
|
>;
|
|
231
238
|
|
|
232
239
|
/**
|
|
@@ -237,7 +244,13 @@ interface OpenSearchServerlessService$ {
|
|
|
237
244
|
options?: HttpHandlerOptions,
|
|
238
245
|
): Effect.Effect<
|
|
239
246
|
CreateCollectionCommandOutput,
|
|
240
|
-
|
|
247
|
+
| Cause.TimeoutException
|
|
248
|
+
| SdkError
|
|
249
|
+
| ConflictError
|
|
250
|
+
| InternalServerError
|
|
251
|
+
| OcuLimitExceededError
|
|
252
|
+
| ServiceQuotaExceededError
|
|
253
|
+
| ValidationError
|
|
241
254
|
>;
|
|
242
255
|
|
|
243
256
|
/**
|
|
@@ -248,7 +261,12 @@ interface OpenSearchServerlessService$ {
|
|
|
248
261
|
options?: HttpHandlerOptions,
|
|
249
262
|
): Effect.Effect<
|
|
250
263
|
CreateLifecyclePolicyCommandOutput,
|
|
251
|
-
|
|
264
|
+
| Cause.TimeoutException
|
|
265
|
+
| SdkError
|
|
266
|
+
| ConflictError
|
|
267
|
+
| InternalServerError
|
|
268
|
+
| ServiceQuotaExceededError
|
|
269
|
+
| ValidationError
|
|
252
270
|
>;
|
|
253
271
|
|
|
254
272
|
/**
|
|
@@ -259,7 +277,12 @@ interface OpenSearchServerlessService$ {
|
|
|
259
277
|
options?: HttpHandlerOptions,
|
|
260
278
|
): Effect.Effect<
|
|
261
279
|
CreateSecurityConfigCommandOutput,
|
|
262
|
-
|
|
280
|
+
| Cause.TimeoutException
|
|
281
|
+
| SdkError
|
|
282
|
+
| ConflictError
|
|
283
|
+
| InternalServerError
|
|
284
|
+
| ServiceQuotaExceededError
|
|
285
|
+
| ValidationError
|
|
263
286
|
>;
|
|
264
287
|
|
|
265
288
|
/**
|
|
@@ -270,7 +293,12 @@ interface OpenSearchServerlessService$ {
|
|
|
270
293
|
options?: HttpHandlerOptions,
|
|
271
294
|
): Effect.Effect<
|
|
272
295
|
CreateSecurityPolicyCommandOutput,
|
|
273
|
-
|
|
296
|
+
| Cause.TimeoutException
|
|
297
|
+
| SdkError
|
|
298
|
+
| ConflictError
|
|
299
|
+
| InternalServerError
|
|
300
|
+
| ServiceQuotaExceededError
|
|
301
|
+
| ValidationError
|
|
274
302
|
>;
|
|
275
303
|
|
|
276
304
|
/**
|
|
@@ -281,7 +309,12 @@ interface OpenSearchServerlessService$ {
|
|
|
281
309
|
options?: HttpHandlerOptions,
|
|
282
310
|
): Effect.Effect<
|
|
283
311
|
CreateVpcEndpointCommandOutput,
|
|
284
|
-
|
|
312
|
+
| Cause.TimeoutException
|
|
313
|
+
| SdkError
|
|
314
|
+
| ConflictError
|
|
315
|
+
| InternalServerError
|
|
316
|
+
| ServiceQuotaExceededError
|
|
317
|
+
| ValidationError
|
|
285
318
|
>;
|
|
286
319
|
|
|
287
320
|
/**
|
|
@@ -292,7 +325,7 @@ interface OpenSearchServerlessService$ {
|
|
|
292
325
|
options?: HttpHandlerOptions,
|
|
293
326
|
): Effect.Effect<
|
|
294
327
|
DeleteAccessPolicyCommandOutput,
|
|
295
|
-
SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
328
|
+
Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
296
329
|
>;
|
|
297
330
|
|
|
298
331
|
/**
|
|
@@ -303,7 +336,7 @@ interface OpenSearchServerlessService$ {
|
|
|
303
336
|
options?: HttpHandlerOptions,
|
|
304
337
|
): Effect.Effect<
|
|
305
338
|
DeleteCollectionCommandOutput,
|
|
306
|
-
SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
339
|
+
Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
307
340
|
>;
|
|
308
341
|
|
|
309
342
|
/**
|
|
@@ -314,7 +347,7 @@ interface OpenSearchServerlessService$ {
|
|
|
314
347
|
options?: HttpHandlerOptions,
|
|
315
348
|
): Effect.Effect<
|
|
316
349
|
DeleteLifecyclePolicyCommandOutput,
|
|
317
|
-
SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
350
|
+
Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
318
351
|
>;
|
|
319
352
|
|
|
320
353
|
/**
|
|
@@ -325,7 +358,7 @@ interface OpenSearchServerlessService$ {
|
|
|
325
358
|
options?: HttpHandlerOptions,
|
|
326
359
|
): Effect.Effect<
|
|
327
360
|
DeleteSecurityConfigCommandOutput,
|
|
328
|
-
SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
361
|
+
Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
329
362
|
>;
|
|
330
363
|
|
|
331
364
|
/**
|
|
@@ -336,7 +369,7 @@ interface OpenSearchServerlessService$ {
|
|
|
336
369
|
options?: HttpHandlerOptions,
|
|
337
370
|
): Effect.Effect<
|
|
338
371
|
DeleteSecurityPolicyCommandOutput,
|
|
339
|
-
SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
372
|
+
Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
340
373
|
>;
|
|
341
374
|
|
|
342
375
|
/**
|
|
@@ -347,7 +380,7 @@ interface OpenSearchServerlessService$ {
|
|
|
347
380
|
options?: HttpHandlerOptions,
|
|
348
381
|
): Effect.Effect<
|
|
349
382
|
DeleteVpcEndpointCommandOutput,
|
|
350
|
-
SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
383
|
+
Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
351
384
|
>;
|
|
352
385
|
|
|
353
386
|
/**
|
|
@@ -358,7 +391,7 @@ interface OpenSearchServerlessService$ {
|
|
|
358
391
|
options?: HttpHandlerOptions,
|
|
359
392
|
): Effect.Effect<
|
|
360
393
|
GetAccessPolicyCommandOutput,
|
|
361
|
-
SdkError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
394
|
+
Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
362
395
|
>;
|
|
363
396
|
|
|
364
397
|
/**
|
|
@@ -369,7 +402,7 @@ interface OpenSearchServerlessService$ {
|
|
|
369
402
|
options?: HttpHandlerOptions,
|
|
370
403
|
): Effect.Effect<
|
|
371
404
|
GetAccountSettingsCommandOutput,
|
|
372
|
-
SdkError | InternalServerError | ValidationError
|
|
405
|
+
Cause.TimeoutException | SdkError | InternalServerError | ValidationError
|
|
373
406
|
>;
|
|
374
407
|
|
|
375
408
|
/**
|
|
@@ -380,7 +413,7 @@ interface OpenSearchServerlessService$ {
|
|
|
380
413
|
options?: HttpHandlerOptions,
|
|
381
414
|
): Effect.Effect<
|
|
382
415
|
GetPoliciesStatsCommandOutput,
|
|
383
|
-
SdkError | InternalServerError
|
|
416
|
+
Cause.TimeoutException | SdkError | InternalServerError
|
|
384
417
|
>;
|
|
385
418
|
|
|
386
419
|
/**
|
|
@@ -391,7 +424,7 @@ interface OpenSearchServerlessService$ {
|
|
|
391
424
|
options?: HttpHandlerOptions,
|
|
392
425
|
): Effect.Effect<
|
|
393
426
|
GetSecurityConfigCommandOutput,
|
|
394
|
-
SdkError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
427
|
+
Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
395
428
|
>;
|
|
396
429
|
|
|
397
430
|
/**
|
|
@@ -402,7 +435,7 @@ interface OpenSearchServerlessService$ {
|
|
|
402
435
|
options?: HttpHandlerOptions,
|
|
403
436
|
): Effect.Effect<
|
|
404
437
|
GetSecurityPolicyCommandOutput,
|
|
405
|
-
SdkError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
438
|
+
Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
406
439
|
>;
|
|
407
440
|
|
|
408
441
|
/**
|
|
@@ -413,7 +446,7 @@ interface OpenSearchServerlessService$ {
|
|
|
413
446
|
options?: HttpHandlerOptions,
|
|
414
447
|
): Effect.Effect<
|
|
415
448
|
ListAccessPoliciesCommandOutput,
|
|
416
|
-
SdkError | InternalServerError | ValidationError
|
|
449
|
+
Cause.TimeoutException | SdkError | InternalServerError | ValidationError
|
|
417
450
|
>;
|
|
418
451
|
|
|
419
452
|
/**
|
|
@@ -424,7 +457,7 @@ interface OpenSearchServerlessService$ {
|
|
|
424
457
|
options?: HttpHandlerOptions,
|
|
425
458
|
): Effect.Effect<
|
|
426
459
|
ListCollectionsCommandOutput,
|
|
427
|
-
SdkError | InternalServerError | ValidationError
|
|
460
|
+
Cause.TimeoutException | SdkError | InternalServerError | ValidationError
|
|
428
461
|
>;
|
|
429
462
|
|
|
430
463
|
/**
|
|
@@ -435,7 +468,7 @@ interface OpenSearchServerlessService$ {
|
|
|
435
468
|
options?: HttpHandlerOptions,
|
|
436
469
|
): Effect.Effect<
|
|
437
470
|
ListLifecyclePoliciesCommandOutput,
|
|
438
|
-
SdkError | InternalServerError | ValidationError
|
|
471
|
+
Cause.TimeoutException | SdkError | InternalServerError | ValidationError
|
|
439
472
|
>;
|
|
440
473
|
|
|
441
474
|
/**
|
|
@@ -446,7 +479,7 @@ interface OpenSearchServerlessService$ {
|
|
|
446
479
|
options?: HttpHandlerOptions,
|
|
447
480
|
): Effect.Effect<
|
|
448
481
|
ListSecurityConfigsCommandOutput,
|
|
449
|
-
SdkError | InternalServerError | ValidationError
|
|
482
|
+
Cause.TimeoutException | SdkError | InternalServerError | ValidationError
|
|
450
483
|
>;
|
|
451
484
|
|
|
452
485
|
/**
|
|
@@ -457,7 +490,7 @@ interface OpenSearchServerlessService$ {
|
|
|
457
490
|
options?: HttpHandlerOptions,
|
|
458
491
|
): Effect.Effect<
|
|
459
492
|
ListSecurityPoliciesCommandOutput,
|
|
460
|
-
SdkError | InternalServerError | ValidationError
|
|
493
|
+
Cause.TimeoutException | SdkError | InternalServerError | ValidationError
|
|
461
494
|
>;
|
|
462
495
|
|
|
463
496
|
/**
|
|
@@ -468,7 +501,7 @@ interface OpenSearchServerlessService$ {
|
|
|
468
501
|
options?: HttpHandlerOptions,
|
|
469
502
|
): Effect.Effect<
|
|
470
503
|
ListTagsForResourceCommandOutput,
|
|
471
|
-
SdkError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
504
|
+
Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
472
505
|
>;
|
|
473
506
|
|
|
474
507
|
/**
|
|
@@ -479,7 +512,7 @@ interface OpenSearchServerlessService$ {
|
|
|
479
512
|
options?: HttpHandlerOptions,
|
|
480
513
|
): Effect.Effect<
|
|
481
514
|
ListVpcEndpointsCommandOutput,
|
|
482
|
-
SdkError | InternalServerError | ValidationError
|
|
515
|
+
Cause.TimeoutException | SdkError | InternalServerError | ValidationError
|
|
483
516
|
>;
|
|
484
517
|
|
|
485
518
|
/**
|
|
@@ -490,7 +523,13 @@ interface OpenSearchServerlessService$ {
|
|
|
490
523
|
options?: HttpHandlerOptions,
|
|
491
524
|
): Effect.Effect<
|
|
492
525
|
TagResourceCommandOutput,
|
|
493
|
-
|
|
526
|
+
| Cause.TimeoutException
|
|
527
|
+
| SdkError
|
|
528
|
+
| ConflictError
|
|
529
|
+
| InternalServerError
|
|
530
|
+
| ResourceNotFoundError
|
|
531
|
+
| ServiceQuotaExceededError
|
|
532
|
+
| ValidationError
|
|
494
533
|
>;
|
|
495
534
|
|
|
496
535
|
/**
|
|
@@ -501,7 +540,7 @@ interface OpenSearchServerlessService$ {
|
|
|
501
540
|
options?: HttpHandlerOptions,
|
|
502
541
|
): Effect.Effect<
|
|
503
542
|
UntagResourceCommandOutput,
|
|
504
|
-
SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
543
|
+
Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
505
544
|
>;
|
|
506
545
|
|
|
507
546
|
/**
|
|
@@ -512,7 +551,7 @@ interface OpenSearchServerlessService$ {
|
|
|
512
551
|
options?: HttpHandlerOptions,
|
|
513
552
|
): Effect.Effect<
|
|
514
553
|
UpdateAccessPolicyCommandOutput,
|
|
515
|
-
SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
554
|
+
Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
516
555
|
>;
|
|
517
556
|
|
|
518
557
|
/**
|
|
@@ -523,7 +562,7 @@ interface OpenSearchServerlessService$ {
|
|
|
523
562
|
options?: HttpHandlerOptions,
|
|
524
563
|
): Effect.Effect<
|
|
525
564
|
UpdateAccountSettingsCommandOutput,
|
|
526
|
-
SdkError | InternalServerError | ValidationError
|
|
565
|
+
Cause.TimeoutException | SdkError | InternalServerError | ValidationError
|
|
527
566
|
>;
|
|
528
567
|
|
|
529
568
|
/**
|
|
@@ -534,7 +573,7 @@ interface OpenSearchServerlessService$ {
|
|
|
534
573
|
options?: HttpHandlerOptions,
|
|
535
574
|
): Effect.Effect<
|
|
536
575
|
UpdateCollectionCommandOutput,
|
|
537
|
-
SdkError | ConflictError | InternalServerError | ValidationError
|
|
576
|
+
Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ValidationError
|
|
538
577
|
>;
|
|
539
578
|
|
|
540
579
|
/**
|
|
@@ -545,7 +584,13 @@ interface OpenSearchServerlessService$ {
|
|
|
545
584
|
options?: HttpHandlerOptions,
|
|
546
585
|
): Effect.Effect<
|
|
547
586
|
UpdateLifecyclePolicyCommandOutput,
|
|
548
|
-
|
|
587
|
+
| Cause.TimeoutException
|
|
588
|
+
| SdkError
|
|
589
|
+
| ConflictError
|
|
590
|
+
| InternalServerError
|
|
591
|
+
| ResourceNotFoundError
|
|
592
|
+
| ServiceQuotaExceededError
|
|
593
|
+
| ValidationError
|
|
549
594
|
>;
|
|
550
595
|
|
|
551
596
|
/**
|
|
@@ -556,7 +601,7 @@ interface OpenSearchServerlessService$ {
|
|
|
556
601
|
options?: HttpHandlerOptions,
|
|
557
602
|
): Effect.Effect<
|
|
558
603
|
UpdateSecurityConfigCommandOutput,
|
|
559
|
-
SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
604
|
+
Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ValidationError
|
|
560
605
|
>;
|
|
561
606
|
|
|
562
607
|
/**
|
|
@@ -567,7 +612,13 @@ interface OpenSearchServerlessService$ {
|
|
|
567
612
|
options?: HttpHandlerOptions,
|
|
568
613
|
): Effect.Effect<
|
|
569
614
|
UpdateSecurityPolicyCommandOutput,
|
|
570
|
-
|
|
615
|
+
| Cause.TimeoutException
|
|
616
|
+
| SdkError
|
|
617
|
+
| ConflictError
|
|
618
|
+
| InternalServerError
|
|
619
|
+
| ResourceNotFoundError
|
|
620
|
+
| ServiceQuotaExceededError
|
|
621
|
+
| ValidationError
|
|
571
622
|
>;
|
|
572
623
|
|
|
573
624
|
/**
|
|
@@ -578,7 +629,7 @@ interface OpenSearchServerlessService$ {
|
|
|
578
629
|
options?: HttpHandlerOptions,
|
|
579
630
|
): Effect.Effect<
|
|
580
631
|
UpdateVpcEndpointCommandOutput,
|
|
581
|
-
SdkError | ConflictError | InternalServerError | ValidationError
|
|
632
|
+
Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ValidationError
|
|
582
633
|
>;
|
|
583
634
|
}
|
|
584
635
|
|
|
@@ -589,7 +640,7 @@ interface OpenSearchServerlessService$ {
|
|
|
589
640
|
export const makeOpenSearchServerlessService = Effect.gen(function*() {
|
|
590
641
|
const client = yield* Instance.OpenSearchServerlessClientInstance;
|
|
591
642
|
|
|
592
|
-
return Service.fromClientAndCommands<OpenSearchServerlessService$>(
|
|
643
|
+
return yield* Service.fromClientAndCommands<OpenSearchServerlessService$>(
|
|
593
644
|
client,
|
|
594
645
|
commands,
|
|
595
646
|
{
|