@aws-sdk/client-opensearch 3.934.0 → 3.936.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +530 -530
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +439 -0
- package/dist-es/models/errors.js +171 -0
- package/dist-es/models/models_0.js +1 -574
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/ListDataSourcesCommand.d.ts +1 -2
- package/dist-types/commands/ListDirectQueryDataSourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListDomainMaintenancesCommand.d.ts +1 -1
- package/dist-types/commands/ListDomainNamesCommand.d.ts +1 -1
- package/dist-types/commands/ListDomainsForPackageCommand.d.ts +1 -1
- package/dist-types/commands/ListInstanceTypeDetailsCommand.d.ts +1 -1
- package/dist-types/commands/ListPackagesForDomainCommand.d.ts +1 -1
- package/dist-types/commands/ListScheduledActionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/commands/ListVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListVpcEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/ListVpcEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/ListVpcEndpointsForDomainCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseReservedInstanceOfferingCommand.d.ts +1 -1
- package/dist-types/commands/PutDefaultApplicationSettingCommand.d.ts +1 -1
- package/dist-types/commands/RejectInboundConnectionCommand.d.ts +1 -1
- package/dist-types/commands/RemoveTagsCommand.d.ts +1 -1
- package/dist-types/commands/RevokeVpcEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/StartDomainMaintenanceCommand.d.ts +1 -1
- package/dist-types/commands/StartServiceSoftwareUpdateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApplicationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDirectQueryDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDomainConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateIndexCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePackageCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePackageScopeCommand.d.ts +1 -1
- package/dist-types/commands/UpdateScheduledActionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +1 -1
- package/dist-types/commands/UpgradeDomainCommand.d.ts +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +927 -0
- package/dist-types/models/errors.d.ts +175 -0
- package/dist-types/models/models_0.d.ts +1523 -1031
- package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListDirectQueryDataSourcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDomainMaintenancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDomainsForPackageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInstanceTypeDetailsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPackagesForDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListScheduledActionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListVpcEndpointAccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListVpcEndpointsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListVpcEndpointsForDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PurchaseReservedInstanceOfferingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutDefaultApplicationSettingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectInboundConnectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RevokeVpcEndpointAccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartDomainMaintenanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartServiceSoftwareUpdateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDirectQueryDataSourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDomainConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePackageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePackageScopeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateScheduledActionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateVpcEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpgradeDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +535 -0
- package/dist-types/ts3.4/models/errors.d.ts +98 -0
- package/dist-types/ts3.4/models/models_0.d.ts +381 -597
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -2
- package/dist-es/models/models_1.js +0 -37
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/models/models_1.d.ts +0 -1597
- package/dist-types/ts3.4/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/models_1.d.ts +0 -406
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { OpenSearchServiceException as __BaseException } from "./OpenSearchServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class DisabledOperationException extends __BaseException {
|
|
8
|
+
readonly name: "DisabledOperationException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<DisabledOperationException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>An exception for trying to create more than the allowed number of resources or sub-resources.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class LimitExceededException extends __BaseException {
|
|
20
|
+
readonly name: "LimitExceededException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
32
|
+
readonly name: "ResourceNotFoundException";
|
|
33
|
+
readonly $fault: "client";
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* <p>An error occurred because you don't have permissions to access the resource.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
44
|
+
readonly name: "AccessDeniedException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* <p>An error occurred while processing the request.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
export declare class BaseException extends __BaseException {
|
|
56
|
+
readonly name: "BaseException";
|
|
57
|
+
readonly $fault: "client";
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
constructor(opts: __ExceptionOptionType<BaseException, __BaseException>);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* <p>An exception for when a failure in one of the dependencies results in the service being unable to fetch details about the resource.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export declare class DependencyFailureException extends __BaseException {
|
|
68
|
+
readonly name: "DependencyFailureException";
|
|
69
|
+
readonly $fault: "client";
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
constructor(opts: __ExceptionOptionType<DependencyFailureException, __BaseException>);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class InternalException extends __BaseException {
|
|
80
|
+
readonly name: "InternalException";
|
|
81
|
+
readonly $fault: "server";
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class ValidationException extends __BaseException {
|
|
92
|
+
readonly name: "ValidationException";
|
|
93
|
+
readonly $fault: "client";
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* <p>An error occurred because the client attempts to remove a resource that is currently in use.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export declare class ConflictException extends __BaseException {
|
|
104
|
+
readonly name: "ConflictException";
|
|
105
|
+
readonly $fault: "client";
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* <p>An exception for trying to create or access a sub-resource that's either invalid or not supported.</p>
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export declare class InvalidTypeException extends __BaseException {
|
|
116
|
+
readonly name: "InvalidTypeException";
|
|
117
|
+
readonly $fault: "client";
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
constructor(opts: __ExceptionOptionType<InvalidTypeException, __BaseException>);
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* <p>An exception for creating a resource that already exists.</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
128
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
129
|
+
readonly $fault: "client";
|
|
130
|
+
/**
|
|
131
|
+
* @internal
|
|
132
|
+
*/
|
|
133
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* <p>The request was denied due to request throttling. Reduce the frequency of your requests and try again.</p>
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
export declare class ThrottlingException extends __BaseException {
|
|
140
|
+
readonly name: "ThrottlingException";
|
|
141
|
+
readonly $fault: "client";
|
|
142
|
+
/**
|
|
143
|
+
* @internal
|
|
144
|
+
*/
|
|
145
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* <p>Request processing failed because you provided an invalid pagination token.</p>
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
export declare class InvalidPaginationTokenException extends __BaseException {
|
|
152
|
+
readonly name: "InvalidPaginationTokenException";
|
|
153
|
+
readonly $fault: "client";
|
|
154
|
+
/**
|
|
155
|
+
* @internal
|
|
156
|
+
*/
|
|
157
|
+
constructor(opts: __ExceptionOptionType<InvalidPaginationTokenException, __BaseException>);
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* <p>An exception for attempting to schedule a domain action during an unavailable time slot.</p>
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
export declare class SlotNotAvailableException extends __BaseException {
|
|
164
|
+
readonly name: "SlotNotAvailableException";
|
|
165
|
+
readonly $fault: "client";
|
|
166
|
+
/**
|
|
167
|
+
* <p>Alternate time slots during which OpenSearch Service has available capacity to schedule a domain action.</p>
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
SlotSuggestions?: number[] | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* @internal
|
|
173
|
+
*/
|
|
174
|
+
constructor(opts: __ExceptionOptionType<SlotNotAvailableException, __BaseException>);
|
|
175
|
+
}
|