@aws-sdk/client-opensearchmemory 0.0.0-stage → 3.1171.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/LICENSE +201 -0
- package/README.md +320 -2
- package/dist-cjs/index.js +1550 -0
- package/dist-es/OpenSearchMemory.js +65 -0
- package/dist-es/OpenSearchMemoryClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +9 -0
- package/dist-es/commands/BatchGetEventCommand.js +4 -0
- package/dist-es/commands/CreateEventCommand.js +4 -0
- package/dist-es/commands/CreateMemoryCommand.js +4 -0
- package/dist-es/commands/CreateSpaceCommand.js +4 -0
- package/dist-es/commands/DeleteEventCommand.js +4 -0
- package/dist-es/commands/DeleteMemoryCommand.js +4 -0
- package/dist-es/commands/DeleteSpaceCommand.js +4 -0
- package/dist-es/commands/GetEventCommand.js +4 -0
- package/dist-es/commands/GetMemoryCommand.js +4 -0
- package/dist-es/commands/GetSpaceCommand.js +4 -0
- package/dist-es/commands/ListEventsCommand.js +4 -0
- package/dist-es/commands/ListMemoriesCommand.js +4 -0
- package/dist-es/commands/ListSpacesCommand.js +4 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
- package/dist-es/commands/SearchEventsCommand.js +4 -0
- package/dist-es/commands/SearchMemoriesCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +4 -0
- package/dist-es/commands/UntagResourceCommand.js +4 -0
- package/dist-es/commands/UpdateMemoryCommand.js +4 -0
- package/dist-es/commands/UpdateSpaceCommand.js +4 -0
- package/dist-es/commands/index.js +20 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/bdd.js +33 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +11 -0
- package/dist-es/models/OpenSearchMemoryServiceException.js +9 -0
- package/dist-es/models/enums.js +61 -0
- package/dist-es/models/errors.js +114 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListEventsPaginator.js +4 -0
- package/dist-es/pagination/ListMemoriesPaginator.js +4 -0
- package/dist-es/pagination/ListSpacesPaginator.js +4 -0
- package/dist-es/pagination/SearchEventsPaginator.js +4 -0
- package/dist-es/pagination/SearchMemoriesPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +720 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForSpaceActive.js +79 -0
- package/dist-es/waiters/waitForSpaceDeleted.js +52 -0
- package/dist-types/OpenSearchMemory.d.ts +206 -0
- package/dist-types/OpenSearchMemoryClient.d.ts +207 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +22 -0
- package/dist-types/commands/BatchGetEventCommand.d.ts +140 -0
- package/dist-types/commands/CreateEventCommand.d.ts +134 -0
- package/dist-types/commands/CreateMemoryCommand.d.ts +103 -0
- package/dist-types/commands/CreateSpaceCommand.d.ts +122 -0
- package/dist-types/commands/DeleteEventCommand.d.ts +89 -0
- package/dist-types/commands/DeleteMemoryCommand.d.ts +89 -0
- package/dist-types/commands/DeleteSpaceCommand.d.ts +90 -0
- package/dist-types/commands/GetEventCommand.d.ts +129 -0
- package/dist-types/commands/GetMemoryCommand.d.ts +103 -0
- package/dist-types/commands/GetSpaceCommand.d.ts +113 -0
- package/dist-types/commands/ListEventsCommand.d.ts +105 -0
- package/dist-types/commands/ListMemoriesCommand.d.ts +120 -0
- package/dist-types/commands/ListSpacesCommand.d.ts +93 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
- package/dist-types/commands/SearchEventsCommand.d.ts +110 -0
- package/dist-types/commands/SearchMemoriesCommand.d.ts +120 -0
- package/dist-types/commands/TagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
- package/dist-types/commands/UpdateMemoryCommand.d.ts +111 -0
- package/dist-types/commands/UpdateSpaceCommand.d.ts +112 -0
- package/dist-types/commands/index.d.ts +20 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +19 -0
- package/dist-types/models/OpenSearchMemoryServiceException.d.ts +15 -0
- package/dist-types/models/enums.d.ts +258 -0
- package/dist-types/models/errors.d.ts +144 -0
- package/dist-types/models/models_0.d.ts +1629 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListMemoriesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSpacesPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchMemoriesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +57 -0
- package/dist-types/runtimeConfig.d.ts +58 -0
- package/dist-types/runtimeConfig.native.d.ts +56 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +105 -0
- package/dist-types/ts3.4/OpenSearchMemory.d.ts +371 -0
- package/dist-types/ts3.4/OpenSearchMemoryClient.d.ts +190 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +41 -0
- package/dist-types/ts3.4/commands/BatchGetEventCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateEventCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateMemoryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateSpaceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteEventCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteMemoryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteSpaceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetEventCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetMemoryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetSpaceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListMemoriesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListSpacesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SearchEventsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/SearchMemoriesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateMemoryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateSpaceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +20 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +46 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +14 -0
- package/dist-types/ts3.4/models/OpenSearchMemoryServiceException.d.ts +10 -0
- package/dist-types/ts3.4/models/enums.d.ts +73 -0
- package/dist-types/ts3.4/models/errors.d.ts +59 -0
- package/dist-types/ts3.4/models/models_0.d.ts +459 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListEventsPaginator.d.ts +8 -0
- package/dist-types/ts3.4/pagination/ListMemoriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSpacesPaginator.d.ts +8 -0
- package/dist-types/ts3.4/pagination/SearchEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchMemoriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +105 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForSpaceActive.d.ts +12 -0
- package/dist-types/ts3.4/waiters/waitForSpaceDeleted.d.ts +13 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForSpaceActive.d.ts +15 -0
- package/dist-types/waiters/waitForSpaceDeleted.d.ts +16 -0
- package/package.json +67 -4
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
3
|
+
export { __MetadataBearer };
|
|
4
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
5
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
|
|
6
|
+
declare const UntagResourceCommand_base: {
|
|
7
|
+
new (
|
|
8
|
+
input: UntagResourceCommandInput,
|
|
9
|
+
): import("@smithy/core/client").CommandImpl<
|
|
10
|
+
UntagResourceCommandInput,
|
|
11
|
+
UntagResourceCommandOutput,
|
|
12
|
+
import("..").OpenSearchMemoryClientResolvedConfig,
|
|
13
|
+
import("..").ServiceInputTypes,
|
|
14
|
+
import("..").ServiceOutputTypes
|
|
15
|
+
>;
|
|
16
|
+
new (
|
|
17
|
+
input: UntagResourceCommandInput,
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
|
+
UntagResourceCommandInput,
|
|
20
|
+
UntagResourceCommandOutput,
|
|
21
|
+
import("..").OpenSearchMemoryClientResolvedConfig,
|
|
22
|
+
import("..").ServiceInputTypes,
|
|
23
|
+
import("..").ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
28
|
+
protected static __types: {
|
|
29
|
+
api: {
|
|
30
|
+
input: UntagResourceRequest;
|
|
31
|
+
output: {};
|
|
32
|
+
};
|
|
33
|
+
sdk: {
|
|
34
|
+
input: UntagResourceCommandInput;
|
|
35
|
+
output: UntagResourceCommandOutput;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import { UpdateMemoryInput, UpdateMemoryOutput } from "../models/models_0";
|
|
3
|
+
export { __MetadataBearer };
|
|
4
|
+
export interface UpdateMemoryCommandInput extends UpdateMemoryInput {}
|
|
5
|
+
export interface UpdateMemoryCommandOutput extends UpdateMemoryOutput, __MetadataBearer {}
|
|
6
|
+
declare const UpdateMemoryCommand_base: {
|
|
7
|
+
new (
|
|
8
|
+
input: UpdateMemoryCommandInput,
|
|
9
|
+
): import("@smithy/core/client").CommandImpl<
|
|
10
|
+
UpdateMemoryCommandInput,
|
|
11
|
+
UpdateMemoryCommandOutput,
|
|
12
|
+
import("..").OpenSearchMemoryClientResolvedConfig,
|
|
13
|
+
import("..").ServiceInputTypes,
|
|
14
|
+
import("..").ServiceOutputTypes
|
|
15
|
+
>;
|
|
16
|
+
new (
|
|
17
|
+
input: UpdateMemoryCommandInput,
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
|
+
UpdateMemoryCommandInput,
|
|
20
|
+
UpdateMemoryCommandOutput,
|
|
21
|
+
import("..").OpenSearchMemoryClientResolvedConfig,
|
|
22
|
+
import("..").ServiceInputTypes,
|
|
23
|
+
import("..").ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
export declare class UpdateMemoryCommand extends UpdateMemoryCommand_base {
|
|
28
|
+
protected static __types: {
|
|
29
|
+
api: {
|
|
30
|
+
input: UpdateMemoryInput;
|
|
31
|
+
output: UpdateMemoryOutput;
|
|
32
|
+
};
|
|
33
|
+
sdk: {
|
|
34
|
+
input: UpdateMemoryCommandInput;
|
|
35
|
+
output: UpdateMemoryCommandOutput;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import { UpdateSpaceRequest, UpdateSpaceResponse } from "../models/models_0";
|
|
3
|
+
export { __MetadataBearer };
|
|
4
|
+
export interface UpdateSpaceCommandInput extends UpdateSpaceRequest {}
|
|
5
|
+
export interface UpdateSpaceCommandOutput extends UpdateSpaceResponse, __MetadataBearer {}
|
|
6
|
+
declare const UpdateSpaceCommand_base: {
|
|
7
|
+
new (
|
|
8
|
+
input: UpdateSpaceCommandInput,
|
|
9
|
+
): import("@smithy/core/client").CommandImpl<
|
|
10
|
+
UpdateSpaceCommandInput,
|
|
11
|
+
UpdateSpaceCommandOutput,
|
|
12
|
+
import("..").OpenSearchMemoryClientResolvedConfig,
|
|
13
|
+
import("..").ServiceInputTypes,
|
|
14
|
+
import("..").ServiceOutputTypes
|
|
15
|
+
>;
|
|
16
|
+
new (
|
|
17
|
+
input: UpdateSpaceCommandInput,
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
|
+
UpdateSpaceCommandInput,
|
|
20
|
+
UpdateSpaceCommandOutput,
|
|
21
|
+
import("..").OpenSearchMemoryClientResolvedConfig,
|
|
22
|
+
import("..").ServiceInputTypes,
|
|
23
|
+
import("..").ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
export declare class UpdateSpaceCommand extends UpdateSpaceCommand_base {
|
|
28
|
+
protected static __types: {
|
|
29
|
+
api: {
|
|
30
|
+
input: UpdateSpaceRequest;
|
|
31
|
+
output: UpdateSpaceResponse;
|
|
32
|
+
};
|
|
33
|
+
sdk: {
|
|
34
|
+
input: UpdateSpaceCommandInput;
|
|
35
|
+
output: UpdateSpaceCommandOutput;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export * from "./BatchGetEventCommand";
|
|
2
|
+
export * from "./CreateEventCommand";
|
|
3
|
+
export * from "./CreateMemoryCommand";
|
|
4
|
+
export * from "./CreateSpaceCommand";
|
|
5
|
+
export * from "./DeleteEventCommand";
|
|
6
|
+
export * from "./DeleteMemoryCommand";
|
|
7
|
+
export * from "./DeleteSpaceCommand";
|
|
8
|
+
export * from "./GetEventCommand";
|
|
9
|
+
export * from "./GetMemoryCommand";
|
|
10
|
+
export * from "./GetSpaceCommand";
|
|
11
|
+
export * from "./ListEventsCommand";
|
|
12
|
+
export * from "./ListMemoriesCommand";
|
|
13
|
+
export * from "./ListSpacesCommand";
|
|
14
|
+
export * from "./ListTagsForResourceCommand";
|
|
15
|
+
export * from "./SearchEventsCommand";
|
|
16
|
+
export * from "./SearchMemoriesCommand";
|
|
17
|
+
export * from "./TagResourceCommand";
|
|
18
|
+
export * from "./UntagResourceCommand";
|
|
19
|
+
export * from "./UpdateMemoryCommand";
|
|
20
|
+
export * from "./UpdateSpaceCommand";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
9
|
+
endpoint?:
|
|
10
|
+
| string
|
|
11
|
+
| Provider<string>
|
|
12
|
+
| Endpoint
|
|
13
|
+
| Provider<Endpoint>
|
|
14
|
+
| EndpointV2
|
|
15
|
+
| Provider<EndpointV2>;
|
|
16
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
17
|
+
}
|
|
18
|
+
export type ClientResolvedEndpointParameters = Pick<
|
|
19
|
+
ClientInputEndpointParameters,
|
|
20
|
+
Exclude<keyof ClientInputEndpointParameters, "endpoint">
|
|
21
|
+
> & {
|
|
22
|
+
defaultSigningName: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
25
|
+
options: T & ClientInputEndpointParameters,
|
|
26
|
+
) => T & ClientResolvedEndpointParameters;
|
|
27
|
+
export declare const commonParams: {
|
|
28
|
+
readonly UseFIPS: {
|
|
29
|
+
readonly type: "builtInParams";
|
|
30
|
+
readonly name: "useFipsEndpoint";
|
|
31
|
+
};
|
|
32
|
+
readonly Endpoint: {
|
|
33
|
+
readonly type: "builtInParams";
|
|
34
|
+
readonly name: "endpoint";
|
|
35
|
+
};
|
|
36
|
+
readonly Region: {
|
|
37
|
+
readonly type: "builtInParams";
|
|
38
|
+
readonly name: "region";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
42
|
+
Region: string;
|
|
43
|
+
Endpoint?: string | undefined;
|
|
44
|
+
SpaceId?: string | undefined;
|
|
45
|
+
UseFIPS?: boolean | undefined;
|
|
46
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
export interface OpenSearchMemoryExtensionConfiguration
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
8
|
+
DefaultExtensionConfiguration,
|
|
9
|
+
AwsRegionExtensionConfiguration,
|
|
10
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from "./OpenSearchMemoryClient";
|
|
2
|
+
export * from "./OpenSearchMemory";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { OpenSearchMemoryExtensionConfiguration } from "./extensionConfiguration";
|
|
6
|
+
export * from "./commands";
|
|
7
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
8
|
+
export * from "./pagination";
|
|
9
|
+
export * from "./waiters";
|
|
10
|
+
export * from "./schemas/schemas_0";
|
|
11
|
+
export * from "./models/enums";
|
|
12
|
+
export * from "./models/errors";
|
|
13
|
+
export * from "./models/models_0";
|
|
14
|
+
export { OpenSearchMemoryServiceException } from "./models/OpenSearchMemoryServiceException";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
3
|
+
ServiceException as __ServiceException,
|
|
4
|
+
} from "@smithy/core/client";
|
|
5
|
+
export { __ServiceExceptionOptions };
|
|
6
|
+
export { __ServiceException };
|
|
7
|
+
export declare class OpenSearchMemoryServiceException extends __ServiceException {
|
|
8
|
+
static readonly shapeId: string;
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export declare const BatchGetEventErrorCode: {
|
|
2
|
+
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
3
|
+
readonly INTERNAL_SERVER: "INTERNAL_SERVER";
|
|
4
|
+
readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
|
|
5
|
+
readonly THROTTLING: "THROTTLING";
|
|
6
|
+
};
|
|
7
|
+
export type BatchGetEventErrorCode =
|
|
8
|
+
(typeof BatchGetEventErrorCode)[keyof typeof BatchGetEventErrorCode];
|
|
9
|
+
export declare const BlobContentType: {
|
|
10
|
+
readonly JPEG: "image/jpeg";
|
|
11
|
+
readonly PDF: "application/pdf";
|
|
12
|
+
readonly PNG: "image/png";
|
|
13
|
+
};
|
|
14
|
+
export type BlobContentType = (typeof BlobContentType)[keyof typeof BlobContentType];
|
|
15
|
+
export declare const MessageRole: {
|
|
16
|
+
readonly ASSISTANT: "ASSISTANT";
|
|
17
|
+
readonly SYSTEM: "SYSTEM";
|
|
18
|
+
readonly USER: "USER";
|
|
19
|
+
};
|
|
20
|
+
export type MessageRole = (typeof MessageRole)[keyof typeof MessageRole];
|
|
21
|
+
export declare const ValidationExceptionReason: {
|
|
22
|
+
readonly DISALLOWED_QUERY_TYPE: "disallowedQueryType";
|
|
23
|
+
readonly FIELD_INDEX_MISMATCH: "fieldIndexMismatch";
|
|
24
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
25
|
+
readonly INVALID_NEXT_TOKEN: "invalidNextToken";
|
|
26
|
+
readonly MALFORMED_QUERY_BODY: "malformedQueryBody";
|
|
27
|
+
readonly NON_FILTERABLE_FIELD: "nonFilterableField";
|
|
28
|
+
readonly OTHER: "other";
|
|
29
|
+
readonly QUERY_BODY_TOO_LARGE: "queryBodyTooLarge";
|
|
30
|
+
readonly QUERY_NESTING_TOO_DEEP: "queryNestingTooDeep";
|
|
31
|
+
readonly UNBOUNDED_PATTERN: "unboundedPattern";
|
|
32
|
+
readonly UNKNOWN_FIELD: "unknownField";
|
|
33
|
+
readonly UNSUPPORTED_FIELD: "unsupportedField";
|
|
34
|
+
readonly UNSUPPORTED_PARAMETER: "unsupportedParameter";
|
|
35
|
+
};
|
|
36
|
+
export type ValidationExceptionReason =
|
|
37
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
38
|
+
export declare const MemoryStrategyType: {
|
|
39
|
+
readonly CUSTOM: "CUSTOM";
|
|
40
|
+
readonly SEMANTIC: "SEMANTIC";
|
|
41
|
+
readonly SUMMARY: "SUMMARY";
|
|
42
|
+
};
|
|
43
|
+
export type MemoryStrategyType = (typeof MemoryStrategyType)[keyof typeof MemoryStrategyType];
|
|
44
|
+
export declare const SpaceStatus: {
|
|
45
|
+
readonly ACTIVE: "ACTIVE";
|
|
46
|
+
readonly CREATING: "CREATING";
|
|
47
|
+
readonly DELETED: "DELETED";
|
|
48
|
+
readonly DELETING: "DELETING";
|
|
49
|
+
readonly FAILED: "FAILED";
|
|
50
|
+
readonly UPDATING: "UPDATING";
|
|
51
|
+
};
|
|
52
|
+
export type SpaceStatus = (typeof SpaceStatus)[keyof typeof SpaceStatus];
|
|
53
|
+
export declare const MemoryType: {
|
|
54
|
+
readonly CUSTOM: "CUSTOM";
|
|
55
|
+
readonly SEMANTIC: "SEMANTIC";
|
|
56
|
+
readonly SUMMARY: "SUMMARY";
|
|
57
|
+
};
|
|
58
|
+
export type MemoryType = (typeof MemoryType)[keyof typeof MemoryType];
|
|
59
|
+
export declare const SortOrder: {
|
|
60
|
+
readonly ASC: "ASC";
|
|
61
|
+
readonly DESC: "DESC";
|
|
62
|
+
};
|
|
63
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
64
|
+
export declare const MemorySortField: {
|
|
65
|
+
readonly CREATED_AT: "CREATED_AT";
|
|
66
|
+
readonly UPDATED_AT: "UPDATED_AT";
|
|
67
|
+
};
|
|
68
|
+
export type MemorySortField = (typeof MemorySortField)[keyof typeof MemorySortField];
|
|
69
|
+
export declare const MetadataMode: {
|
|
70
|
+
readonly MERGE: "MERGE";
|
|
71
|
+
readonly REPLACE: "REPLACE";
|
|
72
|
+
};
|
|
73
|
+
export type MetadataMode = (typeof MetadataMode)[keyof typeof MetadataMode];
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
|
+
import { ValidationExceptionReason } from "./enums";
|
|
3
|
+
import { ValidationExceptionField } from "./models_0";
|
|
4
|
+
import { OpenSearchMemoryServiceException as __BaseException } from "./OpenSearchMemoryServiceException";
|
|
5
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
6
|
+
static readonly shapeId: string;
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
10
|
+
}
|
|
11
|
+
export declare class InternalServerException extends __BaseException {
|
|
12
|
+
static readonly shapeId: string;
|
|
13
|
+
readonly name: "InternalServerException";
|
|
14
|
+
readonly $fault: "server";
|
|
15
|
+
$retryable: {};
|
|
16
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
17
|
+
}
|
|
18
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
19
|
+
static readonly shapeId: string;
|
|
20
|
+
readonly name: "ResourceNotFoundException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
resourceId?: string | undefined;
|
|
23
|
+
resourceType?: string | undefined;
|
|
24
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
25
|
+
}
|
|
26
|
+
export declare class ThrottlingException extends __BaseException {
|
|
27
|
+
static readonly shapeId: string;
|
|
28
|
+
readonly name: "ThrottlingException";
|
|
29
|
+
readonly $fault: "client";
|
|
30
|
+
$retryable: {
|
|
31
|
+
throttling: boolean;
|
|
32
|
+
};
|
|
33
|
+
retryAfterSeconds?: number | undefined;
|
|
34
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
35
|
+
}
|
|
36
|
+
export declare class ValidationException extends __BaseException {
|
|
37
|
+
static readonly shapeId: string;
|
|
38
|
+
readonly name: "ValidationException";
|
|
39
|
+
readonly $fault: "client";
|
|
40
|
+
reason?: ValidationExceptionReason | undefined;
|
|
41
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
42
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
43
|
+
}
|
|
44
|
+
export declare class ConflictException extends __BaseException {
|
|
45
|
+
static readonly shapeId: string;
|
|
46
|
+
readonly name: "ConflictException";
|
|
47
|
+
readonly $fault: "client";
|
|
48
|
+
resourceId?: string | undefined;
|
|
49
|
+
resourceType?: string | undefined;
|
|
50
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
51
|
+
}
|
|
52
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
53
|
+
static readonly shapeId: string;
|
|
54
|
+
readonly name: "ServiceQuotaExceededException";
|
|
55
|
+
readonly $fault: "client";
|
|
56
|
+
quotaCode?: string | undefined;
|
|
57
|
+
serviceCode?: string | undefined;
|
|
58
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
59
|
+
}
|