@effect-aws/client-cloudsearch 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/CloudSearchService.d.ts +30 -29
- package/dist/cjs/CloudSearchService.d.ts.map +1 -1
- package/dist/cjs/CloudSearchService.js +1 -1
- package/dist/cjs/CloudSearchService.js.map +1 -1
- 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/dts/CloudSearchService.d.ts +30 -29
- package/dist/dts/CloudSearchService.d.ts.map +1 -1
- package/dist/dts/Errors.d.ts +3 -3
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/esm/CloudSearchService.js +1 -1
- package/dist/esm/CloudSearchService.js.map +1 -1
- package/dist/esm/Errors.js +0 -2
- package/dist/esm/Errors.js.map +1 -1
- package/package.json +2 -2
- package/src/CloudSearchService.ts +66 -19
- package/src/Errors.ts +1 -4
|
@@ -2,116 +2,117 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { type BuildSuggestersCommandInput, type BuildSuggestersCommandOutput, type CloudSearchClient, type CloudSearchClientConfig, type CreateDomainCommandInput, type CreateDomainCommandOutput, type DefineAnalysisSchemeCommandInput, type DefineAnalysisSchemeCommandOutput, type DefineExpressionCommandInput, type DefineExpressionCommandOutput, type DefineIndexFieldCommandInput, type DefineIndexFieldCommandOutput, type DefineSuggesterCommandInput, type DefineSuggesterCommandOutput, type DeleteAnalysisSchemeCommandInput, type DeleteAnalysisSchemeCommandOutput, type DeleteDomainCommandInput, type DeleteDomainCommandOutput, type DeleteExpressionCommandInput, type DeleteExpressionCommandOutput, type DeleteIndexFieldCommandInput, type DeleteIndexFieldCommandOutput, type DeleteSuggesterCommandInput, type DeleteSuggesterCommandOutput, type DescribeAnalysisSchemesCommandInput, type DescribeAnalysisSchemesCommandOutput, type DescribeAvailabilityOptionsCommandInput, type DescribeAvailabilityOptionsCommandOutput, type DescribeDomainEndpointOptionsCommandInput, type DescribeDomainEndpointOptionsCommandOutput, type DescribeDomainsCommandInput, type DescribeDomainsCommandOutput, type DescribeExpressionsCommandInput, type DescribeExpressionsCommandOutput, type DescribeIndexFieldsCommandInput, type DescribeIndexFieldsCommandOutput, type DescribeScalingParametersCommandInput, type DescribeScalingParametersCommandOutput, type DescribeServiceAccessPoliciesCommandInput, type DescribeServiceAccessPoliciesCommandOutput, type DescribeSuggestersCommandInput, type DescribeSuggestersCommandOutput, type IndexDocumentsCommandInput, type IndexDocumentsCommandOutput, type ListDomainNamesCommandInput, type ListDomainNamesCommandOutput, type UpdateAvailabilityOptionsCommandInput, type UpdateAvailabilityOptionsCommandOutput, type UpdateDomainEndpointOptionsCommandInput, type UpdateDomainEndpointOptionsCommandOutput, type UpdateScalingParametersCommandInput, type UpdateScalingParametersCommandOutput, type UpdateServiceAccessPoliciesCommandInput, type UpdateServiceAccessPoliciesCommandOutput } from "@aws-sdk/client-cloudsearch";
|
|
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
8
|
import * as Instance from "./CloudSearchClientInstance.js";
|
|
8
|
-
import type { BaseError, DisabledOperationError, InternalError, InvalidTypeError, LimitExceededError, ResourceAlreadyExistsError, ResourceNotFoundError, ValidationError } from "./Errors.js";
|
|
9
|
+
import type { BaseError, DisabledOperationError, InternalError, InvalidTypeError, LimitExceededError, ResourceAlreadyExistsError, ResourceNotFoundError, SdkError, ValidationError } from "./Errors.js";
|
|
9
10
|
interface CloudSearchService$ {
|
|
10
11
|
readonly _: unique symbol;
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link BuildSuggestersCommand}
|
|
13
14
|
*/
|
|
14
|
-
buildSuggesters(args: BuildSuggestersCommandInput, options?: HttpHandlerOptions): Effect.Effect<BuildSuggestersCommandOutput, SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError>;
|
|
15
|
+
buildSuggesters(args: BuildSuggestersCommandInput, options?: HttpHandlerOptions): Effect.Effect<BuildSuggestersCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link CreateDomainCommand}
|
|
17
18
|
*/
|
|
18
|
-
createDomain(args: CreateDomainCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDomainCommandOutput, SdkError | BaseError | InternalError | LimitExceededError | ResourceAlreadyExistsError | ValidationError>;
|
|
19
|
+
createDomain(args: CreateDomainCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDomainCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | LimitExceededError | ResourceAlreadyExistsError | ValidationError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link DefineAnalysisSchemeCommand}
|
|
21
22
|
*/
|
|
22
|
-
defineAnalysisScheme(args: DefineAnalysisSchemeCommandInput, options?: HttpHandlerOptions): Effect.Effect<DefineAnalysisSchemeCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
23
|
+
defineAnalysisScheme(args: DefineAnalysisSchemeCommandInput, options?: HttpHandlerOptions): Effect.Effect<DefineAnalysisSchemeCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
23
24
|
/**
|
|
24
25
|
* @see {@link DefineExpressionCommand}
|
|
25
26
|
*/
|
|
26
|
-
defineExpression(args: DefineExpressionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DefineExpressionCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
27
|
+
defineExpression(args: DefineExpressionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DefineExpressionCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
27
28
|
/**
|
|
28
29
|
* @see {@link DefineIndexFieldCommand}
|
|
29
30
|
*/
|
|
30
|
-
defineIndexField(args: DefineIndexFieldCommandInput, options?: HttpHandlerOptions): Effect.Effect<DefineIndexFieldCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
31
|
+
defineIndexField(args: DefineIndexFieldCommandInput, options?: HttpHandlerOptions): Effect.Effect<DefineIndexFieldCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
31
32
|
/**
|
|
32
33
|
* @see {@link DefineSuggesterCommand}
|
|
33
34
|
*/
|
|
34
|
-
defineSuggester(args: DefineSuggesterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DefineSuggesterCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
35
|
+
defineSuggester(args: DefineSuggesterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DefineSuggesterCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
35
36
|
/**
|
|
36
37
|
* @see {@link DeleteAnalysisSchemeCommand}
|
|
37
38
|
*/
|
|
38
|
-
deleteAnalysisScheme(args: DeleteAnalysisSchemeCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAnalysisSchemeCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | ResourceNotFoundError | ValidationError>;
|
|
39
|
+
deleteAnalysisScheme(args: DeleteAnalysisSchemeCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAnalysisSchemeCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | ResourceNotFoundError | ValidationError>;
|
|
39
40
|
/**
|
|
40
41
|
* @see {@link DeleteDomainCommand}
|
|
41
42
|
*/
|
|
42
|
-
deleteDomain(args: DeleteDomainCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDomainCommandOutput, SdkError | BaseError | InternalError>;
|
|
43
|
+
deleteDomain(args: DeleteDomainCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDomainCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError>;
|
|
43
44
|
/**
|
|
44
45
|
* @see {@link DeleteExpressionCommand}
|
|
45
46
|
*/
|
|
46
|
-
deleteExpression(args: DeleteExpressionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteExpressionCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | ResourceNotFoundError | ValidationError>;
|
|
47
|
+
deleteExpression(args: DeleteExpressionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteExpressionCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | ResourceNotFoundError | ValidationError>;
|
|
47
48
|
/**
|
|
48
49
|
* @see {@link DeleteIndexFieldCommand}
|
|
49
50
|
*/
|
|
50
|
-
deleteIndexField(args: DeleteIndexFieldCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteIndexFieldCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | ResourceNotFoundError | ValidationError>;
|
|
51
|
+
deleteIndexField(args: DeleteIndexFieldCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteIndexFieldCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | ResourceNotFoundError | ValidationError>;
|
|
51
52
|
/**
|
|
52
53
|
* @see {@link DeleteSuggesterCommand}
|
|
53
54
|
*/
|
|
54
|
-
deleteSuggester(args: DeleteSuggesterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSuggesterCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | ResourceNotFoundError | ValidationError>;
|
|
55
|
+
deleteSuggester(args: DeleteSuggesterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSuggesterCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | ResourceNotFoundError | ValidationError>;
|
|
55
56
|
/**
|
|
56
57
|
* @see {@link DescribeAnalysisSchemesCommand}
|
|
57
58
|
*/
|
|
58
|
-
describeAnalysisSchemes(args: DescribeAnalysisSchemesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeAnalysisSchemesCommandOutput, SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
59
|
+
describeAnalysisSchemes(args: DescribeAnalysisSchemesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeAnalysisSchemesCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
59
60
|
/**
|
|
60
61
|
* @see {@link DescribeAvailabilityOptionsCommand}
|
|
61
62
|
*/
|
|
62
|
-
describeAvailabilityOptions(args: DescribeAvailabilityOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeAvailabilityOptionsCommandOutput, SdkError | BaseError | DisabledOperationError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError>;
|
|
63
|
+
describeAvailabilityOptions(args: DescribeAvailabilityOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeAvailabilityOptionsCommandOutput, Cause.TimeoutException | SdkError | BaseError | DisabledOperationError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError>;
|
|
63
64
|
/**
|
|
64
65
|
* @see {@link DescribeDomainEndpointOptionsCommand}
|
|
65
66
|
*/
|
|
66
|
-
describeDomainEndpointOptions(args: DescribeDomainEndpointOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDomainEndpointOptionsCommandOutput, SdkError | BaseError | DisabledOperationError | InternalError | LimitExceededError | ResourceNotFoundError>;
|
|
67
|
+
describeDomainEndpointOptions(args: DescribeDomainEndpointOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDomainEndpointOptionsCommandOutput, Cause.TimeoutException | SdkError | BaseError | DisabledOperationError | InternalError | LimitExceededError | ResourceNotFoundError>;
|
|
67
68
|
/**
|
|
68
69
|
* @see {@link DescribeDomainsCommand}
|
|
69
70
|
*/
|
|
70
|
-
describeDomains(args: DescribeDomainsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDomainsCommandOutput, SdkError | BaseError | InternalError>;
|
|
71
|
+
describeDomains(args: DescribeDomainsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDomainsCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError>;
|
|
71
72
|
/**
|
|
72
73
|
* @see {@link DescribeExpressionsCommand}
|
|
73
74
|
*/
|
|
74
|
-
describeExpressions(args: DescribeExpressionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeExpressionsCommandOutput, SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
75
|
+
describeExpressions(args: DescribeExpressionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeExpressionsCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
75
76
|
/**
|
|
76
77
|
* @see {@link DescribeIndexFieldsCommand}
|
|
77
78
|
*/
|
|
78
|
-
describeIndexFields(args: DescribeIndexFieldsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeIndexFieldsCommandOutput, SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
79
|
+
describeIndexFields(args: DescribeIndexFieldsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeIndexFieldsCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
79
80
|
/**
|
|
80
81
|
* @see {@link DescribeScalingParametersCommand}
|
|
81
82
|
*/
|
|
82
|
-
describeScalingParameters(args: DescribeScalingParametersCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeScalingParametersCommandOutput, SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
83
|
+
describeScalingParameters(args: DescribeScalingParametersCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeScalingParametersCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
83
84
|
/**
|
|
84
85
|
* @see {@link DescribeServiceAccessPoliciesCommand}
|
|
85
86
|
*/
|
|
86
|
-
describeServiceAccessPolicies(args: DescribeServiceAccessPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeServiceAccessPoliciesCommandOutput, SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
87
|
+
describeServiceAccessPolicies(args: DescribeServiceAccessPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeServiceAccessPoliciesCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
87
88
|
/**
|
|
88
89
|
* @see {@link DescribeSuggestersCommand}
|
|
89
90
|
*/
|
|
90
|
-
describeSuggesters(args: DescribeSuggestersCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeSuggestersCommandOutput, SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
91
|
+
describeSuggesters(args: DescribeSuggestersCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeSuggestersCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
91
92
|
/**
|
|
92
93
|
* @see {@link IndexDocumentsCommand}
|
|
93
94
|
*/
|
|
94
|
-
indexDocuments(args: IndexDocumentsCommandInput, options?: HttpHandlerOptions): Effect.Effect<IndexDocumentsCommandOutput, SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError>;
|
|
95
|
+
indexDocuments(args: IndexDocumentsCommandInput, options?: HttpHandlerOptions): Effect.Effect<IndexDocumentsCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError>;
|
|
95
96
|
/**
|
|
96
97
|
* @see {@link ListDomainNamesCommand}
|
|
97
98
|
*/
|
|
98
|
-
listDomainNames(args: ListDomainNamesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDomainNamesCommandOutput, SdkError | BaseError>;
|
|
99
|
+
listDomainNames(args: ListDomainNamesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDomainNamesCommandOutput, Cause.TimeoutException | SdkError | BaseError>;
|
|
99
100
|
/**
|
|
100
101
|
* @see {@link UpdateAvailabilityOptionsCommand}
|
|
101
102
|
*/
|
|
102
|
-
updateAvailabilityOptions(args: UpdateAvailabilityOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAvailabilityOptionsCommandOutput, SdkError | BaseError | DisabledOperationError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
103
|
+
updateAvailabilityOptions(args: UpdateAvailabilityOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAvailabilityOptionsCommandOutput, Cause.TimeoutException | SdkError | BaseError | DisabledOperationError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
103
104
|
/**
|
|
104
105
|
* @see {@link UpdateDomainEndpointOptionsCommand}
|
|
105
106
|
*/
|
|
106
|
-
updateDomainEndpointOptions(args: UpdateDomainEndpointOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDomainEndpointOptionsCommandOutput, SdkError | BaseError | DisabledOperationError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
107
|
+
updateDomainEndpointOptions(args: UpdateDomainEndpointOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDomainEndpointOptionsCommandOutput, Cause.TimeoutException | SdkError | BaseError | DisabledOperationError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
107
108
|
/**
|
|
108
109
|
* @see {@link UpdateScalingParametersCommand}
|
|
109
110
|
*/
|
|
110
|
-
updateScalingParameters(args: UpdateScalingParametersCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateScalingParametersCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
111
|
+
updateScalingParameters(args: UpdateScalingParametersCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateScalingParametersCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
111
112
|
/**
|
|
112
113
|
* @see {@link UpdateServiceAccessPoliciesCommand}
|
|
113
114
|
*/
|
|
114
|
-
updateServiceAccessPolicies(args: UpdateServiceAccessPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateServiceAccessPoliciesCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
115
|
+
updateServiceAccessPolicies(args: UpdateServiceAccessPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateServiceAccessPoliciesCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
115
116
|
}
|
|
116
117
|
/**
|
|
117
118
|
* @since 1.0.0
|
|
@@ -119,7 +120,7 @@ interface CloudSearchService$ {
|
|
|
119
120
|
*/
|
|
120
121
|
export declare const makeCloudSearchService: Effect.Effect<CloudSearchService$, never, Instance.CloudSearchClientInstance>;
|
|
121
122
|
declare const CloudSearchService_base: import("effect/Context").TagClass<CloudSearchService, "@effect-aws/client-cloudsearch/CloudSearchService", CloudSearchService$> & Effect.Tag.Proxy<CloudSearchService, CloudSearchService$> & {
|
|
122
|
-
use: <X>(body: (_: CloudSearchService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, CloudSearchService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1,
|
|
123
|
+
use: <X>(body: (_: CloudSearchService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, CloudSearchService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, CloudSearchService> : Effect.Effect<X, never, CloudSearchService>;
|
|
123
124
|
};
|
|
124
125
|
/**
|
|
125
126
|
* @since 1.0.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloudSearchService.d.ts","sourceRoot":"","sources":["../../src/CloudSearchService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAE5B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,EAEzC,KAAK,uCAAuC,EAC5C,KAAK,wCAAwC,EAE7C,KAAK,yCAAyC,EAC9C,KAAK,0CAA0C,EAE/C,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAE3C,KAAK,yCAAyC,EAC9C,KAAK,0CAA0C,EAE/C,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,0BAA0B,EAC/B,KAAK,2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
|
|
@@ -67,7 +67,7 @@ const commands = {
|
|
|
67
67
|
*/
|
|
68
68
|
exports.makeCloudSearchService = effect_1.Effect.gen(function* () {
|
|
69
69
|
const client = yield* Instance.CloudSearchClientInstance;
|
|
70
|
-
return commons_1.Service.fromClientAndCommands(client, commands, {
|
|
70
|
+
return yield* commons_1.Service.fromClientAndCommands(client, commands, {
|
|
71
71
|
errorTags: Errors_js_1.AllServiceErrors,
|
|
72
72
|
resolveClientConfig: CloudSearchServiceConfig.toCloudSearchClientConfig,
|
|
73
73
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloudSearchService.js","sourceRoot":"","sources":["../../src/CloudSearchService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,oEAiFqC;AAErC,iDAA8C;
|
|
1
|
+
{"version":3,"file":"CloudSearchService.js","sourceRoot":"","sources":["../../src/CloudSearchService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,oEAiFqC;AAErC,iDAA8C;AAE9C,mCAAuC;AACvC,yEAA2D;AAC3D,wFAA0E;AAY1E,2CAA+C;AAE/C,MAAM,QAAQ,GAAG;IACf,sBAAsB,EAAtB,2CAAsB;IACtB,mBAAmB,EAAnB,wCAAmB;IACnB,2BAA2B,EAA3B,gDAA2B;IAC3B,uBAAuB,EAAvB,4CAAuB;IACvB,uBAAuB,EAAvB,4CAAuB;IACvB,sBAAsB,EAAtB,2CAAsB;IACtB,2BAA2B,EAA3B,gDAA2B;IAC3B,mBAAmB,EAAnB,wCAAmB;IACnB,uBAAuB,EAAvB,4CAAuB;IACvB,uBAAuB,EAAvB,4CAAuB;IACvB,sBAAsB,EAAtB,2CAAsB;IACtB,8BAA8B,EAA9B,mDAA8B;IAC9B,kCAAkC,EAAlC,uDAAkC;IAClC,oCAAoC,EAApC,yDAAoC;IACpC,sBAAsB,EAAtB,2CAAsB;IACtB,0BAA0B,EAA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ACvE,EAAE,CACF,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,8BAAsB,CAAC,CAAC,IAAI,CAC7C,cAAK,CAAC,OAAO,CACX,cAAK,CAAC,MAAM,CACV,QAAQ,CAAC,yBAAyB,EAClC,eAAM,CAAC,GAAG,CAAC,wBAAwB,CAAC,yBAAyB,EAAE,QAAQ,CAAC,CACzE,CACF,CACF,CAAC;;AApBN,gDAqBC"}
|
package/dist/cjs/Errors.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { BaseException, DisabledOperationException, InternalException, InvalidTypeException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, ValidationException } from "@aws-sdk/client-cloudsearch";
|
|
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 ["BaseException", "DisabledOperationException", "InternalException", "InvalidTypeException", "LimitExceededException", "ResourceAlreadyExistsException", "ResourceNotFoundException", "ValidationException"];
|
|
5
4
|
export type BaseError = TaggedException<BaseException>;
|
|
6
5
|
export type DisabledOperationError = TaggedException<DisabledOperationException>;
|
|
@@ -10,6 +9,7 @@ export type LimitExceededError = TaggedException<LimitExceededException>;
|
|
|
10
9
|
export type ResourceAlreadyExistsError = TaggedException<ResourceAlreadyExistsException>;
|
|
11
10
|
export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
12
11
|
export type ValidationError = TaggedException<ValidationException>;
|
|
13
|
-
export type SdkError =
|
|
14
|
-
|
|
12
|
+
export type SdkError = TaggedException<Error & {
|
|
13
|
+
name: "SdkError";
|
|
14
|
+
}>;
|
|
15
15
|
//# 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,E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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
|
"BaseException",
|
|
7
6
|
"DisabledOperationException",
|
|
@@ -12,5 +11,4 @@ exports.AllServiceErrors = [
|
|
|
12
11
|
"ResourceNotFoundException",
|
|
13
12
|
"ValidationException",
|
|
14
13
|
];
|
|
15
|
-
exports.SdkError = commons_1.SdkError;
|
|
16
14
|
//# 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":";;;AAYa,QAAA,gBAAgB,GAAG;IAC9B,eAAe;IACf,4BAA4B;IAC5B,mBAAmB;IACnB,sBAAsB;IACtB,wBAAwB;IACxB,gCAAgC;IAChC,2BAA2B;IAC3B,qBAAqB;CACb,CAAC"}
|
|
@@ -2,116 +2,117 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { type BuildSuggestersCommandInput, type BuildSuggestersCommandOutput, type CloudSearchClient, type CloudSearchClientConfig, type CreateDomainCommandInput, type CreateDomainCommandOutput, type DefineAnalysisSchemeCommandInput, type DefineAnalysisSchemeCommandOutput, type DefineExpressionCommandInput, type DefineExpressionCommandOutput, type DefineIndexFieldCommandInput, type DefineIndexFieldCommandOutput, type DefineSuggesterCommandInput, type DefineSuggesterCommandOutput, type DeleteAnalysisSchemeCommandInput, type DeleteAnalysisSchemeCommandOutput, type DeleteDomainCommandInput, type DeleteDomainCommandOutput, type DeleteExpressionCommandInput, type DeleteExpressionCommandOutput, type DeleteIndexFieldCommandInput, type DeleteIndexFieldCommandOutput, type DeleteSuggesterCommandInput, type DeleteSuggesterCommandOutput, type DescribeAnalysisSchemesCommandInput, type DescribeAnalysisSchemesCommandOutput, type DescribeAvailabilityOptionsCommandInput, type DescribeAvailabilityOptionsCommandOutput, type DescribeDomainEndpointOptionsCommandInput, type DescribeDomainEndpointOptionsCommandOutput, type DescribeDomainsCommandInput, type DescribeDomainsCommandOutput, type DescribeExpressionsCommandInput, type DescribeExpressionsCommandOutput, type DescribeIndexFieldsCommandInput, type DescribeIndexFieldsCommandOutput, type DescribeScalingParametersCommandInput, type DescribeScalingParametersCommandOutput, type DescribeServiceAccessPoliciesCommandInput, type DescribeServiceAccessPoliciesCommandOutput, type DescribeSuggestersCommandInput, type DescribeSuggestersCommandOutput, type IndexDocumentsCommandInput, type IndexDocumentsCommandOutput, type ListDomainNamesCommandInput, type ListDomainNamesCommandOutput, type UpdateAvailabilityOptionsCommandInput, type UpdateAvailabilityOptionsCommandOutput, type UpdateDomainEndpointOptionsCommandInput, type UpdateDomainEndpointOptionsCommandOutput, type UpdateScalingParametersCommandInput, type UpdateScalingParametersCommandOutput, type UpdateServiceAccessPoliciesCommandInput, type UpdateServiceAccessPoliciesCommandOutput } from "@aws-sdk/client-cloudsearch";
|
|
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
8
|
import * as Instance from "./CloudSearchClientInstance.js";
|
|
8
|
-
import type { BaseError, DisabledOperationError, InternalError, InvalidTypeError, LimitExceededError, ResourceAlreadyExistsError, ResourceNotFoundError, ValidationError } from "./Errors.js";
|
|
9
|
+
import type { BaseError, DisabledOperationError, InternalError, InvalidTypeError, LimitExceededError, ResourceAlreadyExistsError, ResourceNotFoundError, SdkError, ValidationError } from "./Errors.js";
|
|
9
10
|
interface CloudSearchService$ {
|
|
10
11
|
readonly _: unique symbol;
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link BuildSuggestersCommand}
|
|
13
14
|
*/
|
|
14
|
-
buildSuggesters(args: BuildSuggestersCommandInput, options?: HttpHandlerOptions): Effect.Effect<BuildSuggestersCommandOutput, SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError>;
|
|
15
|
+
buildSuggesters(args: BuildSuggestersCommandInput, options?: HttpHandlerOptions): Effect.Effect<BuildSuggestersCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link CreateDomainCommand}
|
|
17
18
|
*/
|
|
18
|
-
createDomain(args: CreateDomainCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDomainCommandOutput, SdkError | BaseError | InternalError | LimitExceededError | ResourceAlreadyExistsError | ValidationError>;
|
|
19
|
+
createDomain(args: CreateDomainCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDomainCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | LimitExceededError | ResourceAlreadyExistsError | ValidationError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link DefineAnalysisSchemeCommand}
|
|
21
22
|
*/
|
|
22
|
-
defineAnalysisScheme(args: DefineAnalysisSchemeCommandInput, options?: HttpHandlerOptions): Effect.Effect<DefineAnalysisSchemeCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
23
|
+
defineAnalysisScheme(args: DefineAnalysisSchemeCommandInput, options?: HttpHandlerOptions): Effect.Effect<DefineAnalysisSchemeCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
23
24
|
/**
|
|
24
25
|
* @see {@link DefineExpressionCommand}
|
|
25
26
|
*/
|
|
26
|
-
defineExpression(args: DefineExpressionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DefineExpressionCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
27
|
+
defineExpression(args: DefineExpressionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DefineExpressionCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
27
28
|
/**
|
|
28
29
|
* @see {@link DefineIndexFieldCommand}
|
|
29
30
|
*/
|
|
30
|
-
defineIndexField(args: DefineIndexFieldCommandInput, options?: HttpHandlerOptions): Effect.Effect<DefineIndexFieldCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
31
|
+
defineIndexField(args: DefineIndexFieldCommandInput, options?: HttpHandlerOptions): Effect.Effect<DefineIndexFieldCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
31
32
|
/**
|
|
32
33
|
* @see {@link DefineSuggesterCommand}
|
|
33
34
|
*/
|
|
34
|
-
defineSuggester(args: DefineSuggesterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DefineSuggesterCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
35
|
+
defineSuggester(args: DefineSuggesterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DefineSuggesterCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
35
36
|
/**
|
|
36
37
|
* @see {@link DeleteAnalysisSchemeCommand}
|
|
37
38
|
*/
|
|
38
|
-
deleteAnalysisScheme(args: DeleteAnalysisSchemeCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAnalysisSchemeCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | ResourceNotFoundError | ValidationError>;
|
|
39
|
+
deleteAnalysisScheme(args: DeleteAnalysisSchemeCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAnalysisSchemeCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | ResourceNotFoundError | ValidationError>;
|
|
39
40
|
/**
|
|
40
41
|
* @see {@link DeleteDomainCommand}
|
|
41
42
|
*/
|
|
42
|
-
deleteDomain(args: DeleteDomainCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDomainCommandOutput, SdkError | BaseError | InternalError>;
|
|
43
|
+
deleteDomain(args: DeleteDomainCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDomainCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError>;
|
|
43
44
|
/**
|
|
44
45
|
* @see {@link DeleteExpressionCommand}
|
|
45
46
|
*/
|
|
46
|
-
deleteExpression(args: DeleteExpressionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteExpressionCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | ResourceNotFoundError | ValidationError>;
|
|
47
|
+
deleteExpression(args: DeleteExpressionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteExpressionCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | ResourceNotFoundError | ValidationError>;
|
|
47
48
|
/**
|
|
48
49
|
* @see {@link DeleteIndexFieldCommand}
|
|
49
50
|
*/
|
|
50
|
-
deleteIndexField(args: DeleteIndexFieldCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteIndexFieldCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | ResourceNotFoundError | ValidationError>;
|
|
51
|
+
deleteIndexField(args: DeleteIndexFieldCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteIndexFieldCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | ResourceNotFoundError | ValidationError>;
|
|
51
52
|
/**
|
|
52
53
|
* @see {@link DeleteSuggesterCommand}
|
|
53
54
|
*/
|
|
54
|
-
deleteSuggester(args: DeleteSuggesterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSuggesterCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | ResourceNotFoundError | ValidationError>;
|
|
55
|
+
deleteSuggester(args: DeleteSuggesterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteSuggesterCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | ResourceNotFoundError | ValidationError>;
|
|
55
56
|
/**
|
|
56
57
|
* @see {@link DescribeAnalysisSchemesCommand}
|
|
57
58
|
*/
|
|
58
|
-
describeAnalysisSchemes(args: DescribeAnalysisSchemesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeAnalysisSchemesCommandOutput, SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
59
|
+
describeAnalysisSchemes(args: DescribeAnalysisSchemesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeAnalysisSchemesCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
59
60
|
/**
|
|
60
61
|
* @see {@link DescribeAvailabilityOptionsCommand}
|
|
61
62
|
*/
|
|
62
|
-
describeAvailabilityOptions(args: DescribeAvailabilityOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeAvailabilityOptionsCommandOutput, SdkError | BaseError | DisabledOperationError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError>;
|
|
63
|
+
describeAvailabilityOptions(args: DescribeAvailabilityOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeAvailabilityOptionsCommandOutput, Cause.TimeoutException | SdkError | BaseError | DisabledOperationError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError>;
|
|
63
64
|
/**
|
|
64
65
|
* @see {@link DescribeDomainEndpointOptionsCommand}
|
|
65
66
|
*/
|
|
66
|
-
describeDomainEndpointOptions(args: DescribeDomainEndpointOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDomainEndpointOptionsCommandOutput, SdkError | BaseError | DisabledOperationError | InternalError | LimitExceededError | ResourceNotFoundError>;
|
|
67
|
+
describeDomainEndpointOptions(args: DescribeDomainEndpointOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDomainEndpointOptionsCommandOutput, Cause.TimeoutException | SdkError | BaseError | DisabledOperationError | InternalError | LimitExceededError | ResourceNotFoundError>;
|
|
67
68
|
/**
|
|
68
69
|
* @see {@link DescribeDomainsCommand}
|
|
69
70
|
*/
|
|
70
|
-
describeDomains(args: DescribeDomainsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDomainsCommandOutput, SdkError | BaseError | InternalError>;
|
|
71
|
+
describeDomains(args: DescribeDomainsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDomainsCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError>;
|
|
71
72
|
/**
|
|
72
73
|
* @see {@link DescribeExpressionsCommand}
|
|
73
74
|
*/
|
|
74
|
-
describeExpressions(args: DescribeExpressionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeExpressionsCommandOutput, SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
75
|
+
describeExpressions(args: DescribeExpressionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeExpressionsCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
75
76
|
/**
|
|
76
77
|
* @see {@link DescribeIndexFieldsCommand}
|
|
77
78
|
*/
|
|
78
|
-
describeIndexFields(args: DescribeIndexFieldsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeIndexFieldsCommandOutput, SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
79
|
+
describeIndexFields(args: DescribeIndexFieldsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeIndexFieldsCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
79
80
|
/**
|
|
80
81
|
* @see {@link DescribeScalingParametersCommand}
|
|
81
82
|
*/
|
|
82
|
-
describeScalingParameters(args: DescribeScalingParametersCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeScalingParametersCommandOutput, SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
83
|
+
describeScalingParameters(args: DescribeScalingParametersCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeScalingParametersCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
83
84
|
/**
|
|
84
85
|
* @see {@link DescribeServiceAccessPoliciesCommand}
|
|
85
86
|
*/
|
|
86
|
-
describeServiceAccessPolicies(args: DescribeServiceAccessPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeServiceAccessPoliciesCommandOutput, SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
87
|
+
describeServiceAccessPolicies(args: DescribeServiceAccessPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeServiceAccessPoliciesCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
87
88
|
/**
|
|
88
89
|
* @see {@link DescribeSuggestersCommand}
|
|
89
90
|
*/
|
|
90
|
-
describeSuggesters(args: DescribeSuggestersCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeSuggestersCommandOutput, SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
91
|
+
describeSuggesters(args: DescribeSuggestersCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeSuggestersCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError>;
|
|
91
92
|
/**
|
|
92
93
|
* @see {@link IndexDocumentsCommand}
|
|
93
94
|
*/
|
|
94
|
-
indexDocuments(args: IndexDocumentsCommandInput, options?: HttpHandlerOptions): Effect.Effect<IndexDocumentsCommandOutput, SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError>;
|
|
95
|
+
indexDocuments(args: IndexDocumentsCommandInput, options?: HttpHandlerOptions): Effect.Effect<IndexDocumentsCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError>;
|
|
95
96
|
/**
|
|
96
97
|
* @see {@link ListDomainNamesCommand}
|
|
97
98
|
*/
|
|
98
|
-
listDomainNames(args: ListDomainNamesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDomainNamesCommandOutput, SdkError | BaseError>;
|
|
99
|
+
listDomainNames(args: ListDomainNamesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDomainNamesCommandOutput, Cause.TimeoutException | SdkError | BaseError>;
|
|
99
100
|
/**
|
|
100
101
|
* @see {@link UpdateAvailabilityOptionsCommand}
|
|
101
102
|
*/
|
|
102
|
-
updateAvailabilityOptions(args: UpdateAvailabilityOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAvailabilityOptionsCommandOutput, SdkError | BaseError | DisabledOperationError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
103
|
+
updateAvailabilityOptions(args: UpdateAvailabilityOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAvailabilityOptionsCommandOutput, Cause.TimeoutException | SdkError | BaseError | DisabledOperationError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
103
104
|
/**
|
|
104
105
|
* @see {@link UpdateDomainEndpointOptionsCommand}
|
|
105
106
|
*/
|
|
106
|
-
updateDomainEndpointOptions(args: UpdateDomainEndpointOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDomainEndpointOptionsCommandOutput, SdkError | BaseError | DisabledOperationError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
107
|
+
updateDomainEndpointOptions(args: UpdateDomainEndpointOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDomainEndpointOptionsCommandOutput, Cause.TimeoutException | SdkError | BaseError | DisabledOperationError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
107
108
|
/**
|
|
108
109
|
* @see {@link UpdateScalingParametersCommand}
|
|
109
110
|
*/
|
|
110
|
-
updateScalingParameters(args: UpdateScalingParametersCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateScalingParametersCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
111
|
+
updateScalingParameters(args: UpdateScalingParametersCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateScalingParametersCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
111
112
|
/**
|
|
112
113
|
* @see {@link UpdateServiceAccessPoliciesCommand}
|
|
113
114
|
*/
|
|
114
|
-
updateServiceAccessPolicies(args: UpdateServiceAccessPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateServiceAccessPoliciesCommandOutput, SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
115
|
+
updateServiceAccessPolicies(args: UpdateServiceAccessPoliciesCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateServiceAccessPoliciesCommandOutput, Cause.TimeoutException | SdkError | BaseError | InternalError | InvalidTypeError | LimitExceededError | ResourceNotFoundError | ValidationError>;
|
|
115
116
|
}
|
|
116
117
|
/**
|
|
117
118
|
* @since 1.0.0
|
|
@@ -119,7 +120,7 @@ interface CloudSearchService$ {
|
|
|
119
120
|
*/
|
|
120
121
|
export declare const makeCloudSearchService: Effect.Effect<CloudSearchService$, never, Instance.CloudSearchClientInstance>;
|
|
121
122
|
declare const CloudSearchService_base: import("effect/Context").TagClass<CloudSearchService, "@effect-aws/client-cloudsearch/CloudSearchService", CloudSearchService$> & Effect.Tag.Proxy<CloudSearchService, CloudSearchService$> & {
|
|
122
|
-
use: <X>(body: (_: CloudSearchService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, CloudSearchService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1,
|
|
123
|
+
use: <X>(body: (_: CloudSearchService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, CloudSearchService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, CloudSearchService> : Effect.Effect<X, never, CloudSearchService>;
|
|
123
124
|
};
|
|
124
125
|
/**
|
|
125
126
|
* @since 1.0.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloudSearchService.d.ts","sourceRoot":"","sources":["../../src/CloudSearchService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAE5B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,EAEzC,KAAK,uCAAuC,EAC5C,KAAK,wCAAwC,EAE7C,KAAK,yCAAyC,EAC9C,KAAK,0CAA0C,EAE/C,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAE3C,KAAK,yCAAyC,EAC9C,KAAK,0CAA0C,EAE/C,KAAK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AM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
|
package/dist/dts/Errors.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { BaseException, DisabledOperationException, InternalException, InvalidTypeException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, ValidationException } from "@aws-sdk/client-cloudsearch";
|
|
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 ["BaseException", "DisabledOperationException", "InternalException", "InvalidTypeException", "LimitExceededException", "ResourceAlreadyExistsException", "ResourceNotFoundException", "ValidationException"];
|
|
5
4
|
export type BaseError = TaggedException<BaseException>;
|
|
6
5
|
export type DisabledOperationError = TaggedException<DisabledOperationException>;
|
|
@@ -10,6 +9,7 @@ export type LimitExceededError = TaggedException<LimitExceededException>;
|
|
|
10
9
|
export type ResourceAlreadyExistsError = TaggedException<ResourceAlreadyExistsException>;
|
|
11
10
|
export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
12
11
|
export type ValidationError = TaggedException<ValidationException>;
|
|
13
|
-
export type SdkError =
|
|
14
|
-
|
|
12
|
+
export type SdkError = TaggedException<Error & {
|
|
13
|
+
name: "SdkError";
|
|
14
|
+
}>;
|
|
15
15
|
//# 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,aAAa,EACb,0BAA0B,EAC1B,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,8BAA8B,EAC9B,yBAAyB,EACzB,mBAAmB,EACpB,MAAM,6BAA6B,CAAC;AACrC,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,aAAa,EACb,0BAA0B,EAC1B,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,8BAA8B,EAC9B,yBAAyB,EACzB,mBAAmB,EACpB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,uNASnB,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,eAAe,CAAC,aAAa,CAAC,CAAC;AACvD,MAAM,MAAM,sBAAsB,GAAG,eAAe,CAAC,0BAA0B,CAAC,CAAC;AACjF,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAC/D,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;AACrE,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,0BAA0B,GAAG,eAAe,CAAC,8BAA8B,CAAC,CAAC;AACzF,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,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"}
|
|
@@ -41,7 +41,7 @@ const commands = {
|
|
|
41
41
|
*/
|
|
42
42
|
export const makeCloudSearchService = Effect.gen(function* () {
|
|
43
43
|
const client = yield* Instance.CloudSearchClientInstance;
|
|
44
|
-
return Service.fromClientAndCommands(client, commands, {
|
|
44
|
+
return yield* Service.fromClientAndCommands(client, commands, {
|
|
45
45
|
errorTags: AllServiceErrors,
|
|
46
46
|
resolveClientConfig: CloudSearchServiceConfig.toCloudSearchClientConfig,
|
|
47
47
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloudSearchService.js","sourceRoot":"","sources":["../../src/CloudSearchService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,sBAAsB,EAKtB,mBAAmB,EAGnB,2BAA2B,EAG3B,uBAAuB,EAGvB,uBAAuB,EAGvB,sBAAsB,EAGtB,2BAA2B,EAG3B,mBAAmB,EAGnB,uBAAuB,EAGvB,uBAAuB,EAGvB,sBAAsB,EAGtB,8BAA8B,EAG9B,kCAAkC,EAGlC,oCAAoC,EAGpC,sBAAsB,EAGtB,0BAA0B,EAG1B,0BAA0B,EAG1B,gCAAgC,EAGhC,oCAAoC,EAGpC,yBAAyB,EAGzB,qBAAqB,EAGrB,sBAAsB,EAGtB,gCAAgC,EAGhC,kCAAkC,EAGlC,8BAA8B,EAG9B,kCAAkC,GAGnC,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"CloudSearchService.js","sourceRoot":"","sources":["../../src/CloudSearchService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,sBAAsB,EAKtB,mBAAmB,EAGnB,2BAA2B,EAG3B,uBAAuB,EAGvB,uBAAuB,EAGvB,sBAAsB,EAGtB,2BAA2B,EAG3B,mBAAmB,EAGnB,uBAAuB,EAGvB,uBAAuB,EAGvB,sBAAsB,EAGtB,8BAA8B,EAG9B,kCAAkC,EAGlC,oCAAoC,EAGpC,sBAAsB,EAGtB,0BAA0B,EAG1B,0BAA0B,EAG1B,gCAAgC,EAGhC,oCAAoC,EAGpC,yBAAyB,EAGzB,qBAAqB,EAGrB,sBAAsB,EAGtB,gCAAgC,EAGhC,kCAAkC,EAGlC,8BAA8B,EAG9B,kCAAkC,GAGnC,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE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G,MAAM,CAAU,KAAK,GAAG,CAAC,MAAiC,EAAE,EAAE,CAC5D,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC,IAAI,CAC7C,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC7B,KAAK,CAAC,OAAO,CAAC,wBAAwB,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAC,CAC5E,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAAuE,EACvE,EAAE,CACF,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC,IAAI,CAC7C,KAAK,CAAC,OAAO,CACX,KAAK,CAAC,MAAM,CACV,QAAQ,CAAC,yBAAyB,EAClC,MAAM,CAAC,GAAG,CAAC,wBAAwB,CAAC,yBAAyB,EAAE,QAAQ,CAAC,CACzE,CACF,CACF,CAAC"}
|
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
|
"BaseException",
|
|
4
3
|
"DisabledOperationException",
|
|
@@ -9,5 +8,4 @@ export const AllServiceErrors = [
|
|
|
9
8
|
"ResourceNotFoundException",
|
|
10
9
|
"ValidationException",
|
|
11
10
|
];
|
|
12
|
-
export const SdkError = CommonSdkError;
|
|
13
11
|
//# 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":"AAYA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,eAAe;IACf,4BAA4B;IAC5B,mBAAmB;IACnB,sBAAsB;IACtB,wBAAwB;IACxB,gCAAgC;IAChC,2BAA2B;IAC3B,qBAAqB;CACb,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-aws/client-cloudsearch",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.2",
|
|
4
4
|
"description": "Effectful AWS CloudSearch client",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"homepage": "https://floydspace.github.io/effect-aws/docs/client-cloudsearch",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@aws-sdk/client-cloudsearch": "^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"
|
|
@@ -83,8 +83,9 @@ import {
|
|
|
83
83
|
type UpdateServiceAccessPoliciesCommandInput,
|
|
84
84
|
type UpdateServiceAccessPoliciesCommandOutput,
|
|
85
85
|
} from "@aws-sdk/client-cloudsearch";
|
|
86
|
-
import type { HttpHandlerOptions,
|
|
86
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
87
87
|
import { Service } from "@effect-aws/commons";
|
|
88
|
+
import type { Cause } from "effect";
|
|
88
89
|
import { Effect, Layer } from "effect";
|
|
89
90
|
import * as Instance from "./CloudSearchClientInstance.js";
|
|
90
91
|
import * as CloudSearchServiceConfig from "./CloudSearchServiceConfig.js";
|
|
@@ -96,6 +97,7 @@ import type {
|
|
|
96
97
|
LimitExceededError,
|
|
97
98
|
ResourceAlreadyExistsError,
|
|
98
99
|
ResourceNotFoundError,
|
|
100
|
+
SdkError,
|
|
99
101
|
ValidationError,
|
|
100
102
|
} from "./Errors.js";
|
|
101
103
|
import { AllServiceErrors } from "./Errors.js";
|
|
@@ -140,7 +142,7 @@ interface CloudSearchService$ {
|
|
|
140
142
|
options?: HttpHandlerOptions,
|
|
141
143
|
): Effect.Effect<
|
|
142
144
|
BuildSuggestersCommandOutput,
|
|
143
|
-
SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
145
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
144
146
|
>;
|
|
145
147
|
|
|
146
148
|
/**
|
|
@@ -151,7 +153,13 @@ interface CloudSearchService$ {
|
|
|
151
153
|
options?: HttpHandlerOptions,
|
|
152
154
|
): Effect.Effect<
|
|
153
155
|
CreateDomainCommandOutput,
|
|
154
|
-
|
|
156
|
+
| Cause.TimeoutException
|
|
157
|
+
| SdkError
|
|
158
|
+
| BaseError
|
|
159
|
+
| InternalError
|
|
160
|
+
| LimitExceededError
|
|
161
|
+
| ResourceAlreadyExistsError
|
|
162
|
+
| ValidationError
|
|
155
163
|
>;
|
|
156
164
|
|
|
157
165
|
/**
|
|
@@ -162,6 +170,7 @@ interface CloudSearchService$ {
|
|
|
162
170
|
options?: HttpHandlerOptions,
|
|
163
171
|
): Effect.Effect<
|
|
164
172
|
DefineAnalysisSchemeCommandOutput,
|
|
173
|
+
| Cause.TimeoutException
|
|
165
174
|
| SdkError
|
|
166
175
|
| BaseError
|
|
167
176
|
| InternalError
|
|
@@ -179,6 +188,7 @@ interface CloudSearchService$ {
|
|
|
179
188
|
options?: HttpHandlerOptions,
|
|
180
189
|
): Effect.Effect<
|
|
181
190
|
DefineExpressionCommandOutput,
|
|
191
|
+
| Cause.TimeoutException
|
|
182
192
|
| SdkError
|
|
183
193
|
| BaseError
|
|
184
194
|
| InternalError
|
|
@@ -196,6 +206,7 @@ interface CloudSearchService$ {
|
|
|
196
206
|
options?: HttpHandlerOptions,
|
|
197
207
|
): Effect.Effect<
|
|
198
208
|
DefineIndexFieldCommandOutput,
|
|
209
|
+
| Cause.TimeoutException
|
|
199
210
|
| SdkError
|
|
200
211
|
| BaseError
|
|
201
212
|
| InternalError
|
|
@@ -213,6 +224,7 @@ interface CloudSearchService$ {
|
|
|
213
224
|
options?: HttpHandlerOptions,
|
|
214
225
|
): Effect.Effect<
|
|
215
226
|
DefineSuggesterCommandOutput,
|
|
227
|
+
| Cause.TimeoutException
|
|
216
228
|
| SdkError
|
|
217
229
|
| BaseError
|
|
218
230
|
| InternalError
|
|
@@ -230,7 +242,13 @@ interface CloudSearchService$ {
|
|
|
230
242
|
options?: HttpHandlerOptions,
|
|
231
243
|
): Effect.Effect<
|
|
232
244
|
DeleteAnalysisSchemeCommandOutput,
|
|
233
|
-
|
|
245
|
+
| Cause.TimeoutException
|
|
246
|
+
| SdkError
|
|
247
|
+
| BaseError
|
|
248
|
+
| InternalError
|
|
249
|
+
| InvalidTypeError
|
|
250
|
+
| ResourceNotFoundError
|
|
251
|
+
| ValidationError
|
|
234
252
|
>;
|
|
235
253
|
|
|
236
254
|
/**
|
|
@@ -241,7 +259,7 @@ interface CloudSearchService$ {
|
|
|
241
259
|
options?: HttpHandlerOptions,
|
|
242
260
|
): Effect.Effect<
|
|
243
261
|
DeleteDomainCommandOutput,
|
|
244
|
-
SdkError | BaseError | InternalError
|
|
262
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError
|
|
245
263
|
>;
|
|
246
264
|
|
|
247
265
|
/**
|
|
@@ -252,7 +270,13 @@ interface CloudSearchService$ {
|
|
|
252
270
|
options?: HttpHandlerOptions,
|
|
253
271
|
): Effect.Effect<
|
|
254
272
|
DeleteExpressionCommandOutput,
|
|
255
|
-
|
|
273
|
+
| Cause.TimeoutException
|
|
274
|
+
| SdkError
|
|
275
|
+
| BaseError
|
|
276
|
+
| InternalError
|
|
277
|
+
| InvalidTypeError
|
|
278
|
+
| ResourceNotFoundError
|
|
279
|
+
| ValidationError
|
|
256
280
|
>;
|
|
257
281
|
|
|
258
282
|
/**
|
|
@@ -263,7 +287,13 @@ interface CloudSearchService$ {
|
|
|
263
287
|
options?: HttpHandlerOptions,
|
|
264
288
|
): Effect.Effect<
|
|
265
289
|
DeleteIndexFieldCommandOutput,
|
|
266
|
-
|
|
290
|
+
| Cause.TimeoutException
|
|
291
|
+
| SdkError
|
|
292
|
+
| BaseError
|
|
293
|
+
| InternalError
|
|
294
|
+
| InvalidTypeError
|
|
295
|
+
| ResourceNotFoundError
|
|
296
|
+
| ValidationError
|
|
267
297
|
>;
|
|
268
298
|
|
|
269
299
|
/**
|
|
@@ -274,7 +304,13 @@ interface CloudSearchService$ {
|
|
|
274
304
|
options?: HttpHandlerOptions,
|
|
275
305
|
): Effect.Effect<
|
|
276
306
|
DeleteSuggesterCommandOutput,
|
|
277
|
-
|
|
307
|
+
| Cause.TimeoutException
|
|
308
|
+
| SdkError
|
|
309
|
+
| BaseError
|
|
310
|
+
| InternalError
|
|
311
|
+
| InvalidTypeError
|
|
312
|
+
| ResourceNotFoundError
|
|
313
|
+
| ValidationError
|
|
278
314
|
>;
|
|
279
315
|
|
|
280
316
|
/**
|
|
@@ -285,7 +321,7 @@ interface CloudSearchService$ {
|
|
|
285
321
|
options?: HttpHandlerOptions,
|
|
286
322
|
): Effect.Effect<
|
|
287
323
|
DescribeAnalysisSchemesCommandOutput,
|
|
288
|
-
SdkError | BaseError | InternalError | ResourceNotFoundError
|
|
324
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError
|
|
289
325
|
>;
|
|
290
326
|
|
|
291
327
|
/**
|
|
@@ -296,6 +332,7 @@ interface CloudSearchService$ {
|
|
|
296
332
|
options?: HttpHandlerOptions,
|
|
297
333
|
): Effect.Effect<
|
|
298
334
|
DescribeAvailabilityOptionsCommandOutput,
|
|
335
|
+
| Cause.TimeoutException
|
|
299
336
|
| SdkError
|
|
300
337
|
| BaseError
|
|
301
338
|
| DisabledOperationError
|
|
@@ -313,7 +350,13 @@ interface CloudSearchService$ {
|
|
|
313
350
|
options?: HttpHandlerOptions,
|
|
314
351
|
): Effect.Effect<
|
|
315
352
|
DescribeDomainEndpointOptionsCommandOutput,
|
|
316
|
-
|
|
353
|
+
| Cause.TimeoutException
|
|
354
|
+
| SdkError
|
|
355
|
+
| BaseError
|
|
356
|
+
| DisabledOperationError
|
|
357
|
+
| InternalError
|
|
358
|
+
| LimitExceededError
|
|
359
|
+
| ResourceNotFoundError
|
|
317
360
|
>;
|
|
318
361
|
|
|
319
362
|
/**
|
|
@@ -324,7 +367,7 @@ interface CloudSearchService$ {
|
|
|
324
367
|
options?: HttpHandlerOptions,
|
|
325
368
|
): Effect.Effect<
|
|
326
369
|
DescribeDomainsCommandOutput,
|
|
327
|
-
SdkError | BaseError | InternalError
|
|
370
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError
|
|
328
371
|
>;
|
|
329
372
|
|
|
330
373
|
/**
|
|
@@ -335,7 +378,7 @@ interface CloudSearchService$ {
|
|
|
335
378
|
options?: HttpHandlerOptions,
|
|
336
379
|
): Effect.Effect<
|
|
337
380
|
DescribeExpressionsCommandOutput,
|
|
338
|
-
SdkError | BaseError | InternalError | ResourceNotFoundError
|
|
381
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError
|
|
339
382
|
>;
|
|
340
383
|
|
|
341
384
|
/**
|
|
@@ -346,7 +389,7 @@ interface CloudSearchService$ {
|
|
|
346
389
|
options?: HttpHandlerOptions,
|
|
347
390
|
): Effect.Effect<
|
|
348
391
|
DescribeIndexFieldsCommandOutput,
|
|
349
|
-
SdkError | BaseError | InternalError | ResourceNotFoundError
|
|
392
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError
|
|
350
393
|
>;
|
|
351
394
|
|
|
352
395
|
/**
|
|
@@ -357,7 +400,7 @@ interface CloudSearchService$ {
|
|
|
357
400
|
options?: HttpHandlerOptions,
|
|
358
401
|
): Effect.Effect<
|
|
359
402
|
DescribeScalingParametersCommandOutput,
|
|
360
|
-
SdkError | BaseError | InternalError | ResourceNotFoundError
|
|
403
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError
|
|
361
404
|
>;
|
|
362
405
|
|
|
363
406
|
/**
|
|
@@ -368,7 +411,7 @@ interface CloudSearchService$ {
|
|
|
368
411
|
options?: HttpHandlerOptions,
|
|
369
412
|
): Effect.Effect<
|
|
370
413
|
DescribeServiceAccessPoliciesCommandOutput,
|
|
371
|
-
SdkError | BaseError | InternalError | ResourceNotFoundError
|
|
414
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError
|
|
372
415
|
>;
|
|
373
416
|
|
|
374
417
|
/**
|
|
@@ -379,7 +422,7 @@ interface CloudSearchService$ {
|
|
|
379
422
|
options?: HttpHandlerOptions,
|
|
380
423
|
): Effect.Effect<
|
|
381
424
|
DescribeSuggestersCommandOutput,
|
|
382
|
-
SdkError | BaseError | InternalError | ResourceNotFoundError
|
|
425
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError
|
|
383
426
|
>;
|
|
384
427
|
|
|
385
428
|
/**
|
|
@@ -390,7 +433,7 @@ interface CloudSearchService$ {
|
|
|
390
433
|
options?: HttpHandlerOptions,
|
|
391
434
|
): Effect.Effect<
|
|
392
435
|
IndexDocumentsCommandOutput,
|
|
393
|
-
SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
436
|
+
Cause.TimeoutException | SdkError | BaseError | InternalError | ResourceNotFoundError | ValidationError
|
|
394
437
|
>;
|
|
395
438
|
|
|
396
439
|
/**
|
|
@@ -401,7 +444,7 @@ interface CloudSearchService$ {
|
|
|
401
444
|
options?: HttpHandlerOptions,
|
|
402
445
|
): Effect.Effect<
|
|
403
446
|
ListDomainNamesCommandOutput,
|
|
404
|
-
SdkError | BaseError
|
|
447
|
+
Cause.TimeoutException | SdkError | BaseError
|
|
405
448
|
>;
|
|
406
449
|
|
|
407
450
|
/**
|
|
@@ -412,6 +455,7 @@ interface CloudSearchService$ {
|
|
|
412
455
|
options?: HttpHandlerOptions,
|
|
413
456
|
): Effect.Effect<
|
|
414
457
|
UpdateAvailabilityOptionsCommandOutput,
|
|
458
|
+
| Cause.TimeoutException
|
|
415
459
|
| SdkError
|
|
416
460
|
| BaseError
|
|
417
461
|
| DisabledOperationError
|
|
@@ -430,6 +474,7 @@ interface CloudSearchService$ {
|
|
|
430
474
|
options?: HttpHandlerOptions,
|
|
431
475
|
): Effect.Effect<
|
|
432
476
|
UpdateDomainEndpointOptionsCommandOutput,
|
|
477
|
+
| Cause.TimeoutException
|
|
433
478
|
| SdkError
|
|
434
479
|
| BaseError
|
|
435
480
|
| DisabledOperationError
|
|
@@ -448,6 +493,7 @@ interface CloudSearchService$ {
|
|
|
448
493
|
options?: HttpHandlerOptions,
|
|
449
494
|
): Effect.Effect<
|
|
450
495
|
UpdateScalingParametersCommandOutput,
|
|
496
|
+
| Cause.TimeoutException
|
|
451
497
|
| SdkError
|
|
452
498
|
| BaseError
|
|
453
499
|
| InternalError
|
|
@@ -465,6 +511,7 @@ interface CloudSearchService$ {
|
|
|
465
511
|
options?: HttpHandlerOptions,
|
|
466
512
|
): Effect.Effect<
|
|
467
513
|
UpdateServiceAccessPoliciesCommandOutput,
|
|
514
|
+
| Cause.TimeoutException
|
|
468
515
|
| SdkError
|
|
469
516
|
| BaseError
|
|
470
517
|
| InternalError
|
|
@@ -482,7 +529,7 @@ interface CloudSearchService$ {
|
|
|
482
529
|
export const makeCloudSearchService = Effect.gen(function*() {
|
|
483
530
|
const client = yield* Instance.CloudSearchClientInstance;
|
|
484
531
|
|
|
485
|
-
return Service.fromClientAndCommands<CloudSearchService$>(
|
|
532
|
+
return yield* Service.fromClientAndCommands<CloudSearchService$>(
|
|
486
533
|
client,
|
|
487
534
|
commands,
|
|
488
535
|
{
|
package/src/Errors.ts
CHANGED
|
@@ -9,7 +9,6 @@ import type {
|
|
|
9
9
|
ValidationException,
|
|
10
10
|
} from "@aws-sdk/client-cloudsearch";
|
|
11
11
|
import type { TaggedException } from "@effect-aws/commons";
|
|
12
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
13
12
|
|
|
14
13
|
export const AllServiceErrors = [
|
|
15
14
|
"BaseException",
|
|
@@ -30,6 +29,4 @@ export type LimitExceededError = TaggedException<LimitExceededException>;
|
|
|
30
29
|
export type ResourceAlreadyExistsError = TaggedException<ResourceAlreadyExistsException>;
|
|
31
30
|
export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
32
31
|
export type ValidationError = TaggedException<ValidationException>;
|
|
33
|
-
|
|
34
|
-
export type SdkError = CommonSdkError;
|
|
35
|
-
export const SdkError = CommonSdkError;
|
|
32
|
+
export type SdkError = TaggedException<Error & { name: "SdkError" }>;
|