@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.
Files changed (157) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +320 -2
  3. package/dist-cjs/index.js +1550 -0
  4. package/dist-es/OpenSearchMemory.js +65 -0
  5. package/dist-es/OpenSearchMemoryClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +9 -0
  9. package/dist-es/commands/BatchGetEventCommand.js +4 -0
  10. package/dist-es/commands/CreateEventCommand.js +4 -0
  11. package/dist-es/commands/CreateMemoryCommand.js +4 -0
  12. package/dist-es/commands/CreateSpaceCommand.js +4 -0
  13. package/dist-es/commands/DeleteEventCommand.js +4 -0
  14. package/dist-es/commands/DeleteMemoryCommand.js +4 -0
  15. package/dist-es/commands/DeleteSpaceCommand.js +4 -0
  16. package/dist-es/commands/GetEventCommand.js +4 -0
  17. package/dist-es/commands/GetMemoryCommand.js +4 -0
  18. package/dist-es/commands/GetSpaceCommand.js +4 -0
  19. package/dist-es/commands/ListEventsCommand.js +4 -0
  20. package/dist-es/commands/ListMemoriesCommand.js +4 -0
  21. package/dist-es/commands/ListSpacesCommand.js +4 -0
  22. package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
  23. package/dist-es/commands/SearchEventsCommand.js +4 -0
  24. package/dist-es/commands/SearchMemoriesCommand.js +4 -0
  25. package/dist-es/commands/TagResourceCommand.js +4 -0
  26. package/dist-es/commands/UntagResourceCommand.js +4 -0
  27. package/dist-es/commands/UpdateMemoryCommand.js +4 -0
  28. package/dist-es/commands/UpdateSpaceCommand.js +4 -0
  29. package/dist-es/commands/index.js +20 -0
  30. package/dist-es/endpoint/EndpointParameters.js +11 -0
  31. package/dist-es/endpoint/bdd.js +33 -0
  32. package/dist-es/endpoint/endpointResolver.js +14 -0
  33. package/dist-es/extensionConfiguration.js +1 -0
  34. package/dist-es/index.js +11 -0
  35. package/dist-es/models/OpenSearchMemoryServiceException.js +9 -0
  36. package/dist-es/models/enums.js +61 -0
  37. package/dist-es/models/errors.js +114 -0
  38. package/dist-es/models/models_0.js +1 -0
  39. package/dist-es/pagination/Interfaces.js +1 -0
  40. package/dist-es/pagination/ListEventsPaginator.js +4 -0
  41. package/dist-es/pagination/ListMemoriesPaginator.js +4 -0
  42. package/dist-es/pagination/ListSpacesPaginator.js +4 -0
  43. package/dist-es/pagination/SearchEventsPaginator.js +4 -0
  44. package/dist-es/pagination/SearchMemoriesPaginator.js +4 -0
  45. package/dist-es/pagination/index.js +6 -0
  46. package/dist-es/runtimeConfig.browser.js +29 -0
  47. package/dist-es/runtimeConfig.js +44 -0
  48. package/dist-es/runtimeConfig.native.js +9 -0
  49. package/dist-es/runtimeConfig.shared.js +40 -0
  50. package/dist-es/runtimeExtensions.js +9 -0
  51. package/dist-es/schemas/schemas_0.js +720 -0
  52. package/dist-es/waiters/index.js +2 -0
  53. package/dist-es/waiters/waitForSpaceActive.js +79 -0
  54. package/dist-es/waiters/waitForSpaceDeleted.js +52 -0
  55. package/dist-types/OpenSearchMemory.d.ts +206 -0
  56. package/dist-types/OpenSearchMemoryClient.d.ts +207 -0
  57. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  58. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  59. package/dist-types/commandBuilder.d.ts +22 -0
  60. package/dist-types/commands/BatchGetEventCommand.d.ts +140 -0
  61. package/dist-types/commands/CreateEventCommand.d.ts +134 -0
  62. package/dist-types/commands/CreateMemoryCommand.d.ts +103 -0
  63. package/dist-types/commands/CreateSpaceCommand.d.ts +122 -0
  64. package/dist-types/commands/DeleteEventCommand.d.ts +89 -0
  65. package/dist-types/commands/DeleteMemoryCommand.d.ts +89 -0
  66. package/dist-types/commands/DeleteSpaceCommand.d.ts +90 -0
  67. package/dist-types/commands/GetEventCommand.d.ts +129 -0
  68. package/dist-types/commands/GetMemoryCommand.d.ts +103 -0
  69. package/dist-types/commands/GetSpaceCommand.d.ts +113 -0
  70. package/dist-types/commands/ListEventsCommand.d.ts +105 -0
  71. package/dist-types/commands/ListMemoriesCommand.d.ts +120 -0
  72. package/dist-types/commands/ListSpacesCommand.d.ts +93 -0
  73. package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
  74. package/dist-types/commands/SearchEventsCommand.d.ts +110 -0
  75. package/dist-types/commands/SearchMemoriesCommand.d.ts +120 -0
  76. package/dist-types/commands/TagResourceCommand.d.ts +90 -0
  77. package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
  78. package/dist-types/commands/UpdateMemoryCommand.d.ts +111 -0
  79. package/dist-types/commands/UpdateSpaceCommand.d.ts +112 -0
  80. package/dist-types/commands/index.d.ts +20 -0
  81. package/dist-types/endpoint/EndpointParameters.d.ts +45 -0
  82. package/dist-types/endpoint/bdd.d.ts +2 -0
  83. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  84. package/dist-types/extensionConfiguration.d.ts +9 -0
  85. package/dist-types/index.d.ts +19 -0
  86. package/dist-types/models/OpenSearchMemoryServiceException.d.ts +15 -0
  87. package/dist-types/models/enums.d.ts +258 -0
  88. package/dist-types/models/errors.d.ts +144 -0
  89. package/dist-types/models/models_0.d.ts +1629 -0
  90. package/dist-types/pagination/Interfaces.d.ts +8 -0
  91. package/dist-types/pagination/ListEventsPaginator.d.ts +7 -0
  92. package/dist-types/pagination/ListMemoriesPaginator.d.ts +7 -0
  93. package/dist-types/pagination/ListSpacesPaginator.d.ts +7 -0
  94. package/dist-types/pagination/SearchEventsPaginator.d.ts +7 -0
  95. package/dist-types/pagination/SearchMemoriesPaginator.d.ts +7 -0
  96. package/dist-types/pagination/index.d.ts +6 -0
  97. package/dist-types/runtimeConfig.browser.d.ts +57 -0
  98. package/dist-types/runtimeConfig.d.ts +58 -0
  99. package/dist-types/runtimeConfig.native.d.ts +56 -0
  100. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  101. package/dist-types/runtimeExtensions.d.ts +17 -0
  102. package/dist-types/schemas/schemas_0.d.ts +105 -0
  103. package/dist-types/ts3.4/OpenSearchMemory.d.ts +371 -0
  104. package/dist-types/ts3.4/OpenSearchMemoryClient.d.ts +190 -0
  105. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
  106. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  107. package/dist-types/ts3.4/commandBuilder.d.ts +41 -0
  108. package/dist-types/ts3.4/commands/BatchGetEventCommand.d.ts +38 -0
  109. package/dist-types/ts3.4/commands/CreateEventCommand.d.ts +38 -0
  110. package/dist-types/ts3.4/commands/CreateMemoryCommand.d.ts +38 -0
  111. package/dist-types/ts3.4/commands/CreateSpaceCommand.d.ts +38 -0
  112. package/dist-types/ts3.4/commands/DeleteEventCommand.d.ts +38 -0
  113. package/dist-types/ts3.4/commands/DeleteMemoryCommand.d.ts +38 -0
  114. package/dist-types/ts3.4/commands/DeleteSpaceCommand.d.ts +38 -0
  115. package/dist-types/ts3.4/commands/GetEventCommand.d.ts +38 -0
  116. package/dist-types/ts3.4/commands/GetMemoryCommand.d.ts +38 -0
  117. package/dist-types/ts3.4/commands/GetSpaceCommand.d.ts +38 -0
  118. package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +38 -0
  119. package/dist-types/ts3.4/commands/ListMemoriesCommand.d.ts +38 -0
  120. package/dist-types/ts3.4/commands/ListSpacesCommand.d.ts +38 -0
  121. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  122. package/dist-types/ts3.4/commands/SearchEventsCommand.d.ts +38 -0
  123. package/dist-types/ts3.4/commands/SearchMemoriesCommand.d.ts +38 -0
  124. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
  125. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  126. package/dist-types/ts3.4/commands/UpdateMemoryCommand.d.ts +38 -0
  127. package/dist-types/ts3.4/commands/UpdateSpaceCommand.d.ts +38 -0
  128. package/dist-types/ts3.4/commands/index.d.ts +20 -0
  129. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +46 -0
  130. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  131. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  132. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  133. package/dist-types/ts3.4/index.d.ts +14 -0
  134. package/dist-types/ts3.4/models/OpenSearchMemoryServiceException.d.ts +10 -0
  135. package/dist-types/ts3.4/models/enums.d.ts +73 -0
  136. package/dist-types/ts3.4/models/errors.d.ts +59 -0
  137. package/dist-types/ts3.4/models/models_0.d.ts +459 -0
  138. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  139. package/dist-types/ts3.4/pagination/ListEventsPaginator.d.ts +8 -0
  140. package/dist-types/ts3.4/pagination/ListMemoriesPaginator.d.ts +11 -0
  141. package/dist-types/ts3.4/pagination/ListSpacesPaginator.d.ts +8 -0
  142. package/dist-types/ts3.4/pagination/SearchEventsPaginator.d.ts +11 -0
  143. package/dist-types/ts3.4/pagination/SearchMemoriesPaginator.d.ts +11 -0
  144. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  145. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  146. package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
  147. package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
  148. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  149. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  150. package/dist-types/ts3.4/schemas/schemas_0.d.ts +105 -0
  151. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  152. package/dist-types/ts3.4/waiters/waitForSpaceActive.d.ts +12 -0
  153. package/dist-types/ts3.4/waiters/waitForSpaceDeleted.d.ts +13 -0
  154. package/dist-types/waiters/index.d.ts +2 -0
  155. package/dist-types/waiters/waitForSpaceActive.d.ts +15 -0
  156. package/dist-types/waiters/waitForSpaceDeleted.d.ts +16 -0
  157. package/package.json +67 -4
@@ -0,0 +1,96 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { OpenSearchMemoryClientConfig } from "./OpenSearchMemoryClient";
3
+ export declare const getRuntimeConfig: (config: OpenSearchMemoryClientConfig) => {
4
+ cacheMiddleware?: boolean;
5
+ endpoint?:
6
+ | ((
7
+ | string
8
+ | import("@smithy/types").Endpoint
9
+ | import("@smithy/types").EndpointV2
10
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
11
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
12
+ ) &
13
+ (
14
+ | string
15
+ | import("@smithy/types").Endpoint
16
+ | import("@smithy/types").EndpointV2
17
+ | import("@smithy/types").Provider<string>
18
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
19
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
20
+ ))
21
+ | undefined;
22
+ tls?: boolean;
23
+ ignoreConfiguredEndpointUrls?: boolean;
24
+ serviceConfiguredEndpoint?: never;
25
+ customUserAgent?: string | import("@smithy/types").UserAgent;
26
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
27
+ credentials?:
28
+ | import("@smithy/types").AwsCredentialIdentity
29
+ | import("@smithy/types").AwsCredentialIdentityProvider;
30
+ signer?:
31
+ | import("@smithy/types").RequestSigner
32
+ | ((
33
+ authScheme?: import("@smithy/types").AuthScheme,
34
+ ) => Promise<import("@smithy/types").RequestSigner>);
35
+ signingEscapePath?: boolean;
36
+ systemClockOffset?: number;
37
+ signingRegion?: string;
38
+ signerConstructor?: new (
39
+ options: import("@smithy/signature-v4").SignatureV4Init &
40
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
41
+ ) => import("@smithy/types").RequestSigner;
42
+ disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
43
+ apiVersion: string;
44
+ base64Decoder: import("@smithy/types").Decoder;
45
+ base64Encoder: (_input: Uint8Array | string) => string;
46
+ disableHostPrefix: boolean;
47
+ endpointProvider: (
48
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
49
+ context?: {
50
+ logger?: import("@smithy/types").Logger;
51
+ },
52
+ ) => import("@smithy/types").EndpointV2;
53
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
54
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").OpenSearchMemoryHttpAuthSchemeProvider;
55
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
56
+ logger: import("@smithy/types").Logger;
57
+ protocol:
58
+ | import("@smithy/types").$ClientProtocol<any, any>
59
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
60
+ | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
61
+ protocolSettings: {
62
+ [setting: string]: unknown;
63
+ defaultNamespace?: string;
64
+ };
65
+ serviceId: string;
66
+ sha256: import("@smithy/types").HashConstructor;
67
+ urlParser: import("@smithy/types").UrlParser;
68
+ utf8Decoder: import("@smithy/types").Decoder;
69
+ utf8Encoder: (input: Uint8Array | string) => string;
70
+ runtime: string;
71
+ defaultsMode: import("@smithy/types").Provider<
72
+ import("@smithy/core/client").ResolvedDefaultsMode
73
+ >;
74
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
75
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
76
+ credentialDefaultProvider:
77
+ | ((
78
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
79
+ ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider)
80
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
81
+ defaultSocketTimeout: number | undefined;
82
+ defaultUserAgentProvider: (
83
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
84
+ ) => Promise<import("@smithy/types").UserAgent>;
85
+ maxAttempts: number | import("@smithy/types").Provider<number>;
86
+ region: string | import("@smithy/types").Provider<string>;
87
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
88
+ retryMode: string | import("@smithy/types").Provider<string>;
89
+ streamCollector: (
90
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
91
+ ) => Promise<Uint8Array>;
92
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
93
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
94
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
95
+ profile?: string;
96
+ };
@@ -0,0 +1,97 @@
1
+ import { OpenSearchMemoryClientConfig } from "./OpenSearchMemoryClient";
2
+ export declare const getRuntimeConfig: (config: OpenSearchMemoryClientConfig) => {
3
+ cacheMiddleware?: boolean;
4
+ endpoint?:
5
+ | ((
6
+ | string
7
+ | import("@smithy/types").Endpoint
8
+ | import("@smithy/types").EndpointV2
9
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
10
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
11
+ ) &
12
+ (
13
+ | string
14
+ | import("@smithy/types").Endpoint
15
+ | import("@smithy/types").EndpointV2
16
+ | import("@smithy/types").Provider<string>
17
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
18
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
19
+ ))
20
+ | undefined;
21
+ tls?: boolean;
22
+ ignoreConfiguredEndpointUrls?: boolean;
23
+ serviceConfiguredEndpoint?: never;
24
+ customUserAgent?: string | import("@smithy/types").UserAgent;
25
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
26
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
27
+ credentials?:
28
+ | import("@smithy/types").AwsCredentialIdentity
29
+ | import("@smithy/types").AwsCredentialIdentityProvider;
30
+ signer?:
31
+ | import("@smithy/types").RequestSigner
32
+ | ((
33
+ authScheme?: import("@smithy/types").AuthScheme,
34
+ ) => Promise<import("@smithy/types").RequestSigner>);
35
+ signingEscapePath?: boolean;
36
+ systemClockOffset?: number;
37
+ signingRegion?: string;
38
+ signerConstructor?: new (
39
+ options: import("@smithy/signature-v4").SignatureV4Init &
40
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
41
+ ) => import("@smithy/types").RequestSigner;
42
+ disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
43
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
44
+ apiVersion: string;
45
+ base64Decoder: import("@smithy/types").Decoder;
46
+ base64Encoder: (_input: Uint8Array | string) => string;
47
+ disableHostPrefix: boolean;
48
+ endpointProvider: (
49
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
50
+ context?: {
51
+ logger?: import("@smithy/types").Logger;
52
+ },
53
+ ) => import("@smithy/types").EndpointV2;
54
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
55
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").OpenSearchMemoryHttpAuthSchemeProvider;
56
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
57
+ logger: import("@smithy/types").Logger;
58
+ protocol:
59
+ | import("@smithy/types").$ClientProtocol<any, any>
60
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
61
+ | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
62
+ protocolSettings: {
63
+ [setting: string]: unknown;
64
+ defaultNamespace?: string;
65
+ };
66
+ serviceId: string;
67
+ sha256: import("@smithy/types").HashConstructor;
68
+ urlParser: import("@smithy/types").UrlParser;
69
+ utf8Decoder: import("@smithy/types").Decoder;
70
+ utf8Encoder: (input: Uint8Array | string) => string;
71
+ profile?: string;
72
+ defaultsMode:
73
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>
74
+ | import("@smithy/core/client").DefaultsMode;
75
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
76
+ credentialDefaultProvider:
77
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
78
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
79
+ defaultUserAgentProvider: (
80
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
81
+ ) => Promise<import("@smithy/types").UserAgent>;
82
+ maxAttempts: number | import("@smithy/types").Provider<number>;
83
+ region: string | import("@smithy/types").Provider<any>;
84
+ requestHandler:
85
+ | import("@smithy/fetch-http-handler").FetchHttpHandler
86
+ | import("@smithy/types").FetchHttpHandlerOptions
87
+ | import("@smithy/types").NodeHttpHandlerOptions
88
+ | Record<string, unknown>
89
+ | import("@smithy/core/protocols").HttpHandler<any>;
90
+ retryMode: string | import("@smithy/types").Provider<string>;
91
+ streamCollector: (
92
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
93
+ ) => Promise<Uint8Array>;
94
+ useDualstackEndpoint: boolean | (() => Promise<boolean>);
95
+ useFipsEndpoint: boolean | (() => Promise<boolean>);
96
+ runtime: string;
97
+ };
@@ -0,0 +1,31 @@
1
+ import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
2
+ import { OpenSearchMemoryClientConfig } from "./OpenSearchMemoryClient";
3
+ export declare const getRuntimeConfig: (config: OpenSearchMemoryClientConfig) => {
4
+ apiVersion: string;
5
+ base64Decoder: import("@smithy/types").Decoder;
6
+ base64Encoder: (_input: Uint8Array | string) => string;
7
+ disableHostPrefix: boolean;
8
+ endpointProvider: (
9
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
10
+ context?: {
11
+ logger?: import("@smithy/types").Logger;
12
+ },
13
+ ) => import("@smithy/types").EndpointV2;
14
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
15
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").OpenSearchMemoryHttpAuthSchemeProvider;
16
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
17
+ logger: import("@smithy/types").Logger;
18
+ protocol:
19
+ | import("@smithy/types").$ClientProtocol<any, any>
20
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
21
+ | typeof AwsJson1_0Protocol;
22
+ protocolSettings: {
23
+ [setting: string]: unknown;
24
+ defaultNamespace?: string;
25
+ };
26
+ serviceId: string;
27
+ sha256: import("@smithy/types").HashConstructor;
28
+ urlParser: import("@smithy/types").UrlParser;
29
+ utf8Decoder: import("@smithy/types").Decoder;
30
+ utf8Encoder: (input: Uint8Array | string) => string;
31
+ };
@@ -0,0 +1,11 @@
1
+ import { OpenSearchMemoryExtensionConfiguration } from "./extensionConfiguration";
2
+ export interface RuntimeExtension {
3
+ configure(extensionConfiguration: OpenSearchMemoryExtensionConfiguration): void;
4
+ }
5
+ export interface RuntimeExtensionsConfig {
6
+ extensions: RuntimeExtension[];
7
+ }
8
+ export declare const resolveRuntimeExtensions: (
9
+ runtimeConfig: any,
10
+ extensions: RuntimeExtension[],
11
+ ) => any;
@@ -0,0 +1,105 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
2
+ import {
3
+ StaticErrorSchema,
4
+ StaticOperationSchema,
5
+ StaticStructureSchema,
6
+ StaticUnionSchema,
7
+ } from "@smithy/types";
8
+ export declare var OpenSearchMemoryServiceException$: StaticErrorSchema;
9
+ export declare var AccessDeniedException$: StaticErrorSchema;
10
+ export declare var ConflictException$: StaticErrorSchema;
11
+ export declare var InternalServerException$: StaticErrorSchema;
12
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
13
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
14
+ export declare var ThrottlingException$: StaticErrorSchema;
15
+ export declare var ValidationException$: StaticErrorSchema;
16
+ export declare const errorTypeRegistries: TypeRegistry[];
17
+ export declare var BatchGetEventError$: StaticStructureSchema;
18
+ export declare var BatchGetEventInput$: StaticStructureSchema;
19
+ export declare var BatchGetEventOutput$: StaticStructureSchema;
20
+ export declare var BlobPayload$: StaticStructureSchema;
21
+ export declare var CreateEventInput$: StaticStructureSchema;
22
+ export declare var CreateEventOutput$: StaticStructureSchema;
23
+ export declare var CreateMemoryDetail$: StaticStructureSchema;
24
+ export declare var CreateMemoryInput$: StaticStructureSchema;
25
+ export declare var CreateMemoryOutput$: StaticStructureSchema;
26
+ export declare var CreateSpaceRequest$: StaticStructureSchema;
27
+ export declare var CreateSpaceResponse$: StaticStructureSchema;
28
+ export declare var DeleteEventInput$: StaticStructureSchema;
29
+ export declare var DeleteEventOutput$: StaticStructureSchema;
30
+ export declare var DeleteMemoryInput$: StaticStructureSchema;
31
+ export declare var DeleteMemoryOutput$: StaticStructureSchema;
32
+ export declare var DeleteSpaceRequest$: StaticStructureSchema;
33
+ export declare var DeleteSpaceResponse$: StaticStructureSchema;
34
+ export declare var EncryptionConfiguration$: StaticStructureSchema;
35
+ export declare var Event$: StaticStructureSchema;
36
+ export declare var EventDetail$: StaticStructureSchema;
37
+ export declare var EventSearchSummary$: StaticStructureSchema;
38
+ export declare var EventSummary$: StaticStructureSchema;
39
+ export declare var GetEventInput$: StaticStructureSchema;
40
+ export declare var GetEventOutput$: StaticStructureSchema;
41
+ export declare var GetMemoryInput$: StaticStructureSchema;
42
+ export declare var GetMemoryOutput$: StaticStructureSchema;
43
+ export declare var GetSpaceRequest$: StaticStructureSchema;
44
+ export declare var GetSpaceResponse$: StaticStructureSchema;
45
+ export declare var ListEventsInput$: StaticStructureSchema;
46
+ export declare var ListEventsOutput$: StaticStructureSchema;
47
+ export declare var ListMemoriesInput$: StaticStructureSchema;
48
+ export declare var ListMemoriesOutput$: StaticStructureSchema;
49
+ export declare var ListSpacesRequest$: StaticStructureSchema;
50
+ export declare var ListSpacesResponse$: StaticStructureSchema;
51
+ export declare var ListTagsForResourceRequest$: StaticStructureSchema;
52
+ export declare var ListTagsForResourceResponse$: StaticStructureSchema;
53
+ export declare var Memory$: StaticStructureSchema;
54
+ export declare var MemoryListSummary$: StaticStructureSchema;
55
+ export declare var MemorySearchSummary$: StaticStructureSchema;
56
+ export declare var MemoryStrategy$: StaticStructureSchema;
57
+ export declare var MemoryStrategyConfiguration$: StaticStructureSchema;
58
+ export declare var Message$: StaticStructureSchema;
59
+ export declare var MessageContent$: StaticStructureSchema;
60
+ export declare var S3Location$: StaticStructureSchema;
61
+ export declare var SearchEventsInput$: StaticStructureSchema;
62
+ export declare var SearchEventsOutput$: StaticStructureSchema;
63
+ export declare var SearchMemoriesInput$: StaticStructureSchema;
64
+ export declare var SearchMemoriesOutput$: StaticStructureSchema;
65
+ export declare var SpaceSummary$: StaticStructureSchema;
66
+ export declare var StrategySelector$: StaticStructureSchema;
67
+ export declare var StructuredDataPayload$: StaticStructureSchema;
68
+ export declare var SystemMetadata$: StaticStructureSchema;
69
+ export declare var Tag$: StaticStructureSchema;
70
+ export declare var TagResourceRequest$: StaticStructureSchema;
71
+ export declare var TagResourceResponse$: StaticStructureSchema;
72
+ export declare var UnifiedConversational$: StaticStructureSchema;
73
+ export declare var UnifiedConversationalObject$: StaticStructureSchema;
74
+ export declare var UntagResourceRequest$: StaticStructureSchema;
75
+ export declare var UntagResourceResponse$: StaticStructureSchema;
76
+ export declare var UpdateMemoryInput$: StaticStructureSchema;
77
+ export declare var UpdateMemoryOutput$: StaticStructureSchema;
78
+ export declare var UpdateSpaceRequest$: StaticStructureSchema;
79
+ export declare var UpdateSpaceResponse$: StaticStructureSchema;
80
+ export declare var ValidationExceptionField$: StaticStructureSchema;
81
+ export declare var BlobSource$: StaticUnionSchema;
82
+ export declare var ConversationalPayload$: StaticUnionSchema;
83
+ export declare var EventPayload$: StaticUnionSchema;
84
+ export declare var StructuredDataSource$: StaticUnionSchema;
85
+ export declare var UnifiedConversationalSource$: StaticUnionSchema;
86
+ export declare var BatchGetEvent$: StaticOperationSchema;
87
+ export declare var CreateEvent$: StaticOperationSchema;
88
+ export declare var CreateMemory$: StaticOperationSchema;
89
+ export declare var CreateSpace$: StaticOperationSchema;
90
+ export declare var DeleteEvent$: StaticOperationSchema;
91
+ export declare var DeleteMemory$: StaticOperationSchema;
92
+ export declare var DeleteSpace$: StaticOperationSchema;
93
+ export declare var GetEvent$: StaticOperationSchema;
94
+ export declare var GetMemory$: StaticOperationSchema;
95
+ export declare var GetSpace$: StaticOperationSchema;
96
+ export declare var ListEvents$: StaticOperationSchema;
97
+ export declare var ListMemories$: StaticOperationSchema;
98
+ export declare var ListSpaces$: StaticOperationSchema;
99
+ export declare var ListTagsForResource$: StaticOperationSchema;
100
+ export declare var SearchEvents$: StaticOperationSchema;
101
+ export declare var SearchMemories$: StaticOperationSchema;
102
+ export declare var TagResource$: StaticOperationSchema;
103
+ export declare var UntagResource$: StaticOperationSchema;
104
+ export declare var UpdateMemory$: StaticOperationSchema;
105
+ export declare var UpdateSpace$: StaticOperationSchema;
@@ -0,0 +1,2 @@
1
+ export * from "./waitForSpaceActive";
2
+ export * from "./waitForSpaceDeleted";
@@ -0,0 +1,12 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
2
+ import { GetSpaceCommandInput, GetSpaceCommandOutput } from "../commands/GetSpaceCommand";
3
+ import { OpenSearchMemoryServiceException } from "../models/OpenSearchMemoryServiceException";
4
+ import { OpenSearchMemoryClient } from "../OpenSearchMemoryClient";
5
+ export declare const waitForSpaceActive: (
6
+ params: WaiterConfiguration<OpenSearchMemoryClient>,
7
+ input: GetSpaceCommandInput,
8
+ ) => Promise<WaiterResult<GetSpaceCommandOutput | OpenSearchMemoryServiceException>>;
9
+ export declare const waitUntilSpaceActive: (
10
+ params: WaiterConfiguration<OpenSearchMemoryClient>,
11
+ input: GetSpaceCommandInput,
12
+ ) => Promise<WaiterResult<GetSpaceCommandOutput>>;
@@ -0,0 +1,13 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
2
+ import { GetSpaceCommandInput, GetSpaceCommandOutput } from "../commands/GetSpaceCommand";
3
+ import { ResourceNotFoundException } from "../models/errors";
4
+ import { OpenSearchMemoryServiceException } from "../models/OpenSearchMemoryServiceException";
5
+ import { OpenSearchMemoryClient } from "../OpenSearchMemoryClient";
6
+ export declare const waitForSpaceDeleted: (
7
+ params: WaiterConfiguration<OpenSearchMemoryClient>,
8
+ input: GetSpaceCommandInput,
9
+ ) => Promise<WaiterResult<GetSpaceCommandOutput | OpenSearchMemoryServiceException>>;
10
+ export declare const waitUntilSpaceDeleted: (
11
+ params: WaiterConfiguration<OpenSearchMemoryClient>,
12
+ input: GetSpaceCommandInput,
13
+ ) => Promise<WaiterResult<GetSpaceCommandOutput | ResourceNotFoundException>>;
@@ -0,0 +1,2 @@
1
+ export * from "./waitForSpaceActive";
2
+ export * from "./waitForSpaceDeleted";
@@ -0,0 +1,15 @@
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
2
+ import { type GetSpaceCommandInput, type GetSpaceCommandOutput } from "../commands/GetSpaceCommand";
3
+ import type { OpenSearchMemoryServiceException } from "../models/OpenSearchMemoryServiceException";
4
+ import type { OpenSearchMemoryClient } from "../OpenSearchMemoryClient";
5
+ /**
6
+ * Waits until the space is `ACTIVE`.
7
+ * @deprecated Use waitUntilSpaceActive instead. waitForSpaceActive does not throw error in non-success cases.
8
+ */
9
+ export declare const waitForSpaceActive: (params: WaiterConfiguration<OpenSearchMemoryClient>, input: GetSpaceCommandInput) => Promise<WaiterResult<GetSpaceCommandOutput | OpenSearchMemoryServiceException>>;
10
+ /**
11
+ * Waits until the space is `ACTIVE`.
12
+ * @param params - Waiter configuration options.
13
+ * @param input - The input to GetSpaceCommand for polling.
14
+ */
15
+ export declare const waitUntilSpaceActive: (params: WaiterConfiguration<OpenSearchMemoryClient>, input: GetSpaceCommandInput) => Promise<WaiterResult<GetSpaceCommandOutput>>;
@@ -0,0 +1,16 @@
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
2
+ import { type GetSpaceCommandInput, type GetSpaceCommandOutput } from "../commands/GetSpaceCommand";
3
+ import type { ResourceNotFoundException } from "../models/errors";
4
+ import type { OpenSearchMemoryServiceException } from "../models/OpenSearchMemoryServiceException";
5
+ import type { OpenSearchMemoryClient } from "../OpenSearchMemoryClient";
6
+ /**
7
+ * Waits until the space is deleted.
8
+ * @deprecated Use waitUntilSpaceDeleted instead. waitForSpaceDeleted does not throw error in non-success cases.
9
+ */
10
+ export declare const waitForSpaceDeleted: (params: WaiterConfiguration<OpenSearchMemoryClient>, input: GetSpaceCommandInput) => Promise<WaiterResult<GetSpaceCommandOutput | OpenSearchMemoryServiceException>>;
11
+ /**
12
+ * Waits until the space is deleted.
13
+ * @param params - Waiter configuration options.
14
+ * @param input - The input to GetSpaceCommand for polling.
15
+ */
16
+ export declare const waitUntilSpaceDeleted: (params: WaiterConfiguration<OpenSearchMemoryClient>, input: GetSpaceCommandInput) => Promise<WaiterResult<GetSpaceCommandOutput | ResourceNotFoundException>>;
package/package.json CHANGED
@@ -1,6 +1,69 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-opensearchmemory",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "3.1171.0",
4
+ "description": "AWS SDK for JavaScript Opensearchmemory Client for Node.js, Browser and React Native",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-opensearchmemory",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-opensearchmemory"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
36
+ "scripts": {
37
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
38
+ "build:cjs": "node ../../scripts/compilation/inline",
39
+ "build:es": "premove dist-es && tsc -p tsconfig.es.json",
40
+ "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
41
+ "build:types": "premove dist-types && tsc -p tsconfig.types.json",
42
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
43
+ "clean": "premove dist-cjs dist-es dist-types",
44
+ "extract:docs": "api-extractor run --local",
45
+ "generate:client": "node ../../scripts/generate-clients/single-service",
46
+ "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
+ },
48
+ "dependencies": {
49
+ "@aws-sdk/core": "^3.981.0",
50
+ "@aws-sdk/credential-provider-node": "^3.972.97",
51
+ "@aws-sdk/types": "^3.975.1",
52
+ "@smithy/core": "^3.40.0",
53
+ "@smithy/fetch-http-handler": "^5.8.1",
54
+ "@smithy/node-http-handler": "^4.14.2",
55
+ "@smithy/types": "^4.20.0",
56
+ "tslib": "^2.6.2"
57
+ },
58
+ "devDependencies": {
59
+ "@tsconfig/node20": "20.1.8",
60
+ "@types/node": "^20.14.8",
61
+ "concurrently": "7.0.0",
62
+ "downlevel-dts": "0.10.1",
63
+ "premove": "4.0.0",
64
+ "typescript": "~7.0.2"
65
+ },
66
+ "engines": {
67
+ "node": ">=20.0.0"
68
+ }
69
+ }