@aws-sdk/client-opensearchserverless 3.315.0 → 3.319.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/OpenSearchServerless.js +35 -434
- package/dist-cjs/protocols/Aws_json1_0.js +15 -15
- package/dist-es/OpenSearchServerless.js +35 -434
- package/dist-es/protocols/Aws_json1_0.js +15 -15
- package/dist-types/OpenSearchServerless.d.ts +47 -119
- package/dist-types/ts3.4/OpenSearchServerless.d.ts +4 -1
- package/package.json +8 -8
|
@@ -31,278 +31,206 @@ import { UpdateSecurityConfigCommandInput, UpdateSecurityConfigCommandOutput } f
|
|
|
31
31
|
import { UpdateSecurityPolicyCommandInput, UpdateSecurityPolicyCommandOutput } from "./commands/UpdateSecurityPolicyCommand";
|
|
32
32
|
import { UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput } from "./commands/UpdateVpcEndpointCommand";
|
|
33
33
|
import { OpenSearchServerlessClient } from "./OpenSearchServerlessClient";
|
|
34
|
-
|
|
35
|
-
* @public
|
|
36
|
-
* <p>Use the Amazon OpenSearch Serverless API to create, configure, and manage OpenSearch Serverless collections and
|
|
37
|
-
* security policies.</p>
|
|
38
|
-
* <p>OpenSearch Serverless is an on-demand, pre-provisioned serverless configuration for
|
|
39
|
-
* Amazon OpenSearch Service. OpenSearch Serverless removes the operational complexities of provisioning,
|
|
40
|
-
* configuring, and tuning your OpenSearch clusters. It enables you to easily search and
|
|
41
|
-
* analyze petabytes of data without having to worry about the underlying infrastructure
|
|
42
|
-
* and data management.</p>
|
|
43
|
-
* <p> To learn more about OpenSearch Serverless, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-overview.html">What is
|
|
44
|
-
* Amazon OpenSearch Serverless?</a>
|
|
45
|
-
* </p>
|
|
46
|
-
*/
|
|
47
|
-
export declare class OpenSearchServerless extends OpenSearchServerlessClient {
|
|
34
|
+
export interface OpenSearchServerless {
|
|
48
35
|
/**
|
|
49
|
-
* @
|
|
50
|
-
* <p>Returns attributes for one or more collections, including the collection endpoint and
|
|
51
|
-
* the OpenSearch Dashboards endpoint. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-manage.html">Creating and
|
|
52
|
-
* managing Amazon OpenSearch Serverless collections</a>.</p>
|
|
36
|
+
* @see {@link BatchGetCollectionCommand}
|
|
53
37
|
*/
|
|
54
38
|
batchGetCollection(args: BatchGetCollectionCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetCollectionCommandOutput>;
|
|
55
39
|
batchGetCollection(args: BatchGetCollectionCommandInput, cb: (err: any, data?: BatchGetCollectionCommandOutput) => void): void;
|
|
56
40
|
batchGetCollection(args: BatchGetCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetCollectionCommandOutput) => void): void;
|
|
57
41
|
/**
|
|
58
|
-
* @
|
|
59
|
-
* <p>Returns attributes for one or more VPC endpoints associated with the current account.
|
|
60
|
-
* For more information, see
|
|
61
|
-
* <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-vpc.html">Access Amazon OpenSearch Serverless using an interface endpoint</a>.</p>
|
|
42
|
+
* @see {@link BatchGetVpcEndpointCommand}
|
|
62
43
|
*/
|
|
63
44
|
batchGetVpcEndpoint(args: BatchGetVpcEndpointCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetVpcEndpointCommandOutput>;
|
|
64
45
|
batchGetVpcEndpoint(args: BatchGetVpcEndpointCommandInput, cb: (err: any, data?: BatchGetVpcEndpointCommandOutput) => void): void;
|
|
65
46
|
batchGetVpcEndpoint(args: BatchGetVpcEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetVpcEndpointCommandOutput) => void): void;
|
|
66
47
|
/**
|
|
67
|
-
* @
|
|
68
|
-
* <p>Creates a data access policy for OpenSearch Serverless. Access policies limit access to collections
|
|
69
|
-
* and the resources within them, and allow a user to access that data irrespective of the
|
|
70
|
-
* access mechanism or network source. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-data-access.html">Data access
|
|
71
|
-
* control for Amazon OpenSearch Serverless</a>.</p>
|
|
48
|
+
* @see {@link CreateAccessPolicyCommand}
|
|
72
49
|
*/
|
|
73
50
|
createAccessPolicy(args: CreateAccessPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateAccessPolicyCommandOutput>;
|
|
74
51
|
createAccessPolicy(args: CreateAccessPolicyCommandInput, cb: (err: any, data?: CreateAccessPolicyCommandOutput) => void): void;
|
|
75
52
|
createAccessPolicy(args: CreateAccessPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAccessPolicyCommandOutput) => void): void;
|
|
76
53
|
/**
|
|
77
|
-
* @
|
|
78
|
-
* <p>Creates a new OpenSearch Serverless collection. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-manage.html">Creating and
|
|
79
|
-
* managing Amazon OpenSearch Serverless collections</a>.</p>
|
|
54
|
+
* @see {@link CreateCollectionCommand}
|
|
80
55
|
*/
|
|
81
56
|
createCollection(args: CreateCollectionCommandInput, options?: __HttpHandlerOptions): Promise<CreateCollectionCommandOutput>;
|
|
82
57
|
createCollection(args: CreateCollectionCommandInput, cb: (err: any, data?: CreateCollectionCommandOutput) => void): void;
|
|
83
58
|
createCollection(args: CreateCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCollectionCommandOutput) => void): void;
|
|
84
59
|
/**
|
|
85
|
-
* @
|
|
86
|
-
* <p>Specifies a security configuration for OpenSearch Serverless. For more information, see
|
|
87
|
-
* <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-saml.html">SAML
|
|
88
|
-
* authentication for Amazon OpenSearch Serverless</a>. </p>
|
|
60
|
+
* @see {@link CreateSecurityConfigCommand}
|
|
89
61
|
*/
|
|
90
62
|
createSecurityConfig(args: CreateSecurityConfigCommandInput, options?: __HttpHandlerOptions): Promise<CreateSecurityConfigCommandOutput>;
|
|
91
63
|
createSecurityConfig(args: CreateSecurityConfigCommandInput, cb: (err: any, data?: CreateSecurityConfigCommandOutput) => void): void;
|
|
92
64
|
createSecurityConfig(args: CreateSecurityConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSecurityConfigCommandOutput) => void): void;
|
|
93
65
|
/**
|
|
94
|
-
* @
|
|
95
|
-
* <p>Creates a security policy to be used by one or more OpenSearch Serverless collections. Security
|
|
96
|
-
* policies provide access to a collection and its OpenSearch Dashboards endpoint from
|
|
97
|
-
* public networks or specific VPC endpoints. They also allow you to secure a collection
|
|
98
|
-
* with a KMS encryption key. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-network.html">Network access
|
|
99
|
-
* for Amazon OpenSearch Serverless</a> and <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-encryption.html">Encryption at
|
|
100
|
-
* rest for Amazon OpenSearch Serverless</a>.</p>
|
|
66
|
+
* @see {@link CreateSecurityPolicyCommand}
|
|
101
67
|
*/
|
|
102
68
|
createSecurityPolicy(args: CreateSecurityPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateSecurityPolicyCommandOutput>;
|
|
103
69
|
createSecurityPolicy(args: CreateSecurityPolicyCommandInput, cb: (err: any, data?: CreateSecurityPolicyCommandOutput) => void): void;
|
|
104
70
|
createSecurityPolicy(args: CreateSecurityPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSecurityPolicyCommandOutput) => void): void;
|
|
105
71
|
/**
|
|
106
|
-
* @
|
|
107
|
-
* <p>Creates an OpenSearch Serverless-managed interface VPC endpoint. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-vpc.html">Access
|
|
108
|
-
* Amazon OpenSearch Serverless using an interface endpoint</a>.</p>
|
|
72
|
+
* @see {@link CreateVpcEndpointCommand}
|
|
109
73
|
*/
|
|
110
74
|
createVpcEndpoint(args: CreateVpcEndpointCommandInput, options?: __HttpHandlerOptions): Promise<CreateVpcEndpointCommandOutput>;
|
|
111
75
|
createVpcEndpoint(args: CreateVpcEndpointCommandInput, cb: (err: any, data?: CreateVpcEndpointCommandOutput) => void): void;
|
|
112
76
|
createVpcEndpoint(args: CreateVpcEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVpcEndpointCommandOutput) => void): void;
|
|
113
77
|
/**
|
|
114
|
-
* @
|
|
115
|
-
* <p>Deletes an OpenSearch Serverless access policy. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-data-access.html">Data
|
|
116
|
-
* access control for Amazon OpenSearch Serverless</a>.</p>
|
|
78
|
+
* @see {@link DeleteAccessPolicyCommand}
|
|
117
79
|
*/
|
|
118
80
|
deleteAccessPolicy(args: DeleteAccessPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAccessPolicyCommandOutput>;
|
|
119
81
|
deleteAccessPolicy(args: DeleteAccessPolicyCommandInput, cb: (err: any, data?: DeleteAccessPolicyCommandOutput) => void): void;
|
|
120
82
|
deleteAccessPolicy(args: DeleteAccessPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAccessPolicyCommandOutput) => void): void;
|
|
121
83
|
/**
|
|
122
|
-
* @
|
|
123
|
-
* <p>Deletes an OpenSearch Serverless collection. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-manage.html">Creating and
|
|
124
|
-
* managing Amazon OpenSearch Serverless collections</a>.</p>
|
|
84
|
+
* @see {@link DeleteCollectionCommand}
|
|
125
85
|
*/
|
|
126
86
|
deleteCollection(args: DeleteCollectionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCollectionCommandOutput>;
|
|
127
87
|
deleteCollection(args: DeleteCollectionCommandInput, cb: (err: any, data?: DeleteCollectionCommandOutput) => void): void;
|
|
128
88
|
deleteCollection(args: DeleteCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCollectionCommandOutput) => void): void;
|
|
129
89
|
/**
|
|
130
|
-
* @
|
|
131
|
-
* <p>Deletes a security configuration for OpenSearch Serverless. For more information, see
|
|
132
|
-
* <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-saml.html">SAML
|
|
133
|
-
* authentication for Amazon OpenSearch Serverless</a>.</p>
|
|
90
|
+
* @see {@link DeleteSecurityConfigCommand}
|
|
134
91
|
*/
|
|
135
92
|
deleteSecurityConfig(args: DeleteSecurityConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSecurityConfigCommandOutput>;
|
|
136
93
|
deleteSecurityConfig(args: DeleteSecurityConfigCommandInput, cb: (err: any, data?: DeleteSecurityConfigCommandOutput) => void): void;
|
|
137
94
|
deleteSecurityConfig(args: DeleteSecurityConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSecurityConfigCommandOutput) => void): void;
|
|
138
95
|
/**
|
|
139
|
-
* @
|
|
140
|
-
* <p>Deletes an OpenSearch Serverless security policy.</p>
|
|
96
|
+
* @see {@link DeleteSecurityPolicyCommand}
|
|
141
97
|
*/
|
|
142
98
|
deleteSecurityPolicy(args: DeleteSecurityPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSecurityPolicyCommandOutput>;
|
|
143
99
|
deleteSecurityPolicy(args: DeleteSecurityPolicyCommandInput, cb: (err: any, data?: DeleteSecurityPolicyCommandOutput) => void): void;
|
|
144
100
|
deleteSecurityPolicy(args: DeleteSecurityPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSecurityPolicyCommandOutput) => void): void;
|
|
145
101
|
/**
|
|
146
|
-
* @
|
|
147
|
-
* <p>Deletes an OpenSearch Serverless-managed interface endpoint. For more information, see
|
|
148
|
-
* <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-vpc.html">Access Amazon OpenSearch Serverless using an interface endpoint</a>.</p>
|
|
102
|
+
* @see {@link DeleteVpcEndpointCommand}
|
|
149
103
|
*/
|
|
150
104
|
deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVpcEndpointCommandOutput>;
|
|
151
105
|
deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, cb: (err: any, data?: DeleteVpcEndpointCommandOutput) => void): void;
|
|
152
106
|
deleteVpcEndpoint(args: DeleteVpcEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVpcEndpointCommandOutput) => void): void;
|
|
153
107
|
/**
|
|
154
|
-
* @
|
|
155
|
-
* <p>Returns an OpenSearch Serverless access policy. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-data-access.html">Data
|
|
156
|
-
* access control for Amazon OpenSearch Serverless</a>.</p>
|
|
108
|
+
* @see {@link GetAccessPolicyCommand}
|
|
157
109
|
*/
|
|
158
110
|
getAccessPolicy(args: GetAccessPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetAccessPolicyCommandOutput>;
|
|
159
111
|
getAccessPolicy(args: GetAccessPolicyCommandInput, cb: (err: any, data?: GetAccessPolicyCommandOutput) => void): void;
|
|
160
112
|
getAccessPolicy(args: GetAccessPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccessPolicyCommandOutput) => void): void;
|
|
161
113
|
/**
|
|
162
|
-
* @
|
|
163
|
-
* <p>Returns account-level settings related to OpenSearch Serverless.</p>
|
|
114
|
+
* @see {@link GetAccountSettingsCommand}
|
|
164
115
|
*/
|
|
165
116
|
getAccountSettings(args: GetAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetAccountSettingsCommandOutput>;
|
|
166
117
|
getAccountSettings(args: GetAccountSettingsCommandInput, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
|
|
167
118
|
getAccountSettings(args: GetAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
|
|
168
119
|
/**
|
|
169
|
-
* @
|
|
170
|
-
* <p>Returns statistical information about your OpenSearch Serverless access policies, security
|
|
171
|
-
* configurations, and security policies.</p>
|
|
120
|
+
* @see {@link GetPoliciesStatsCommand}
|
|
172
121
|
*/
|
|
173
122
|
getPoliciesStats(args: GetPoliciesStatsCommandInput, options?: __HttpHandlerOptions): Promise<GetPoliciesStatsCommandOutput>;
|
|
174
123
|
getPoliciesStats(args: GetPoliciesStatsCommandInput, cb: (err: any, data?: GetPoliciesStatsCommandOutput) => void): void;
|
|
175
124
|
getPoliciesStats(args: GetPoliciesStatsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPoliciesStatsCommandOutput) => void): void;
|
|
176
125
|
/**
|
|
177
|
-
* @
|
|
178
|
-
* <p>Returns information about an OpenSearch Serverless security configuration. For more information, see
|
|
179
|
-
* <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-saml.html">SAML
|
|
180
|
-
* authentication for Amazon OpenSearch Serverless</a>.</p>
|
|
126
|
+
* @see {@link GetSecurityConfigCommand}
|
|
181
127
|
*/
|
|
182
128
|
getSecurityConfig(args: GetSecurityConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetSecurityConfigCommandOutput>;
|
|
183
129
|
getSecurityConfig(args: GetSecurityConfigCommandInput, cb: (err: any, data?: GetSecurityConfigCommandOutput) => void): void;
|
|
184
130
|
getSecurityConfig(args: GetSecurityConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSecurityConfigCommandOutput) => void): void;
|
|
185
131
|
/**
|
|
186
|
-
* @
|
|
187
|
-
* <p>Returns information about a configured OpenSearch Serverless security policy. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-network.html">Network access
|
|
188
|
-
* for Amazon OpenSearch Serverless</a> and <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-encryption.html">Encryption at
|
|
189
|
-
* rest for Amazon OpenSearch Serverless</a>.</p>
|
|
132
|
+
* @see {@link GetSecurityPolicyCommand}
|
|
190
133
|
*/
|
|
191
134
|
getSecurityPolicy(args: GetSecurityPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetSecurityPolicyCommandOutput>;
|
|
192
135
|
getSecurityPolicy(args: GetSecurityPolicyCommandInput, cb: (err: any, data?: GetSecurityPolicyCommandOutput) => void): void;
|
|
193
136
|
getSecurityPolicy(args: GetSecurityPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSecurityPolicyCommandOutput) => void): void;
|
|
194
137
|
/**
|
|
195
|
-
* @
|
|
196
|
-
* <p>Returns information about a list of OpenSearch Serverless access policies.</p>
|
|
138
|
+
* @see {@link ListAccessPoliciesCommand}
|
|
197
139
|
*/
|
|
198
140
|
listAccessPolicies(args: ListAccessPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListAccessPoliciesCommandOutput>;
|
|
199
141
|
listAccessPolicies(args: ListAccessPoliciesCommandInput, cb: (err: any, data?: ListAccessPoliciesCommandOutput) => void): void;
|
|
200
142
|
listAccessPolicies(args: ListAccessPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccessPoliciesCommandOutput) => void): void;
|
|
201
143
|
/**
|
|
202
|
-
* @
|
|
203
|
-
* <p>Lists all OpenSearch Serverless collections. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-manage.html">Creating and
|
|
204
|
-
* managing Amazon OpenSearch Serverless collections</a>.</p>
|
|
205
|
-
* <note>
|
|
206
|
-
* <p>Make sure to include an empty request body \{\} if you don't include any collection
|
|
207
|
-
* filters in the request.</p>
|
|
208
|
-
* </note>
|
|
144
|
+
* @see {@link ListCollectionsCommand}
|
|
209
145
|
*/
|
|
210
146
|
listCollections(args: ListCollectionsCommandInput, options?: __HttpHandlerOptions): Promise<ListCollectionsCommandOutput>;
|
|
211
147
|
listCollections(args: ListCollectionsCommandInput, cb: (err: any, data?: ListCollectionsCommandOutput) => void): void;
|
|
212
148
|
listCollections(args: ListCollectionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCollectionsCommandOutput) => void): void;
|
|
213
149
|
/**
|
|
214
|
-
* @
|
|
215
|
-
* <p>Returns information about configured OpenSearch Serverless security configurations. For more information, see
|
|
216
|
-
* <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-saml.html">SAML
|
|
217
|
-
* authentication for Amazon OpenSearch Serverless</a>.</p>
|
|
150
|
+
* @see {@link ListSecurityConfigsCommand}
|
|
218
151
|
*/
|
|
219
152
|
listSecurityConfigs(args: ListSecurityConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListSecurityConfigsCommandOutput>;
|
|
220
153
|
listSecurityConfigs(args: ListSecurityConfigsCommandInput, cb: (err: any, data?: ListSecurityConfigsCommandOutput) => void): void;
|
|
221
154
|
listSecurityConfigs(args: ListSecurityConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSecurityConfigsCommandOutput) => void): void;
|
|
222
155
|
/**
|
|
223
|
-
* @
|
|
224
|
-
* <p>Returns information about configured OpenSearch Serverless security policies.</p>
|
|
156
|
+
* @see {@link ListSecurityPoliciesCommand}
|
|
225
157
|
*/
|
|
226
158
|
listSecurityPolicies(args: ListSecurityPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListSecurityPoliciesCommandOutput>;
|
|
227
159
|
listSecurityPolicies(args: ListSecurityPoliciesCommandInput, cb: (err: any, data?: ListSecurityPoliciesCommandOutput) => void): void;
|
|
228
160
|
listSecurityPolicies(args: ListSecurityPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSecurityPoliciesCommandOutput) => void): void;
|
|
229
161
|
/**
|
|
230
|
-
* @
|
|
231
|
-
* <p>Returns the tags for an OpenSearch Serverless resource. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/tag-collection.html">Tagging Amazon OpenSearch Serverless collections</a>.</p>
|
|
162
|
+
* @see {@link ListTagsForResourceCommand}
|
|
232
163
|
*/
|
|
233
164
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
234
165
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
235
166
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
236
167
|
/**
|
|
237
|
-
* @
|
|
238
|
-
* <p>Returns the OpenSearch Serverless-managed interface VPC endpoints associated with the current
|
|
239
|
-
* account. For more information, see
|
|
240
|
-
* <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-vpc.html">Access Amazon OpenSearch Serverless using an interface endpoint</a>.</p>
|
|
168
|
+
* @see {@link ListVpcEndpointsCommand}
|
|
241
169
|
*/
|
|
242
170
|
listVpcEndpoints(args: ListVpcEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<ListVpcEndpointsCommandOutput>;
|
|
243
171
|
listVpcEndpoints(args: ListVpcEndpointsCommandInput, cb: (err: any, data?: ListVpcEndpointsCommandOutput) => void): void;
|
|
244
172
|
listVpcEndpoints(args: ListVpcEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVpcEndpointsCommandOutput) => void): void;
|
|
245
173
|
/**
|
|
246
|
-
* @
|
|
247
|
-
* <p>Associates tags with an OpenSearch Serverless resource. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/tag-collection.html">Tagging Amazon OpenSearch Serverless collections</a>.</p>
|
|
174
|
+
* @see {@link TagResourceCommand}
|
|
248
175
|
*/
|
|
249
176
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
250
177
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
251
178
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
252
179
|
/**
|
|
253
|
-
* @
|
|
254
|
-
* <p>Removes a tag or set of tags from an OpenSearch Serverless resource. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/tag-collection.html">Tagging Amazon OpenSearch Serverless collections</a>.</p>
|
|
180
|
+
* @see {@link UntagResourceCommand}
|
|
255
181
|
*/
|
|
256
182
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
257
183
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
258
184
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
259
185
|
/**
|
|
260
|
-
* @
|
|
261
|
-
* <p>Updates an OpenSearch Serverless access policy. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-data-access.html">Data
|
|
262
|
-
* access control for Amazon OpenSearch Serverless</a>.</p>
|
|
186
|
+
* @see {@link UpdateAccessPolicyCommand}
|
|
263
187
|
*/
|
|
264
188
|
updateAccessPolicy(args: UpdateAccessPolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAccessPolicyCommandOutput>;
|
|
265
189
|
updateAccessPolicy(args: UpdateAccessPolicyCommandInput, cb: (err: any, data?: UpdateAccessPolicyCommandOutput) => void): void;
|
|
266
190
|
updateAccessPolicy(args: UpdateAccessPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAccessPolicyCommandOutput) => void): void;
|
|
267
191
|
/**
|
|
268
|
-
* @
|
|
269
|
-
* <p>Update the OpenSearch Serverless settings for the current Amazon Web Services account. For more
|
|
270
|
-
* information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-scaling.html">Managing capacity limits for Amazon OpenSearch Serverless</a>.</p>
|
|
192
|
+
* @see {@link UpdateAccountSettingsCommand}
|
|
271
193
|
*/
|
|
272
194
|
updateAccountSettings(args: UpdateAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAccountSettingsCommandOutput>;
|
|
273
195
|
updateAccountSettings(args: UpdateAccountSettingsCommandInput, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
|
|
274
196
|
updateAccountSettings(args: UpdateAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void): void;
|
|
275
197
|
/**
|
|
276
|
-
* @
|
|
277
|
-
* <p>Updates an OpenSearch Serverless collection.</p>
|
|
198
|
+
* @see {@link UpdateCollectionCommand}
|
|
278
199
|
*/
|
|
279
200
|
updateCollection(args: UpdateCollectionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCollectionCommandOutput>;
|
|
280
201
|
updateCollection(args: UpdateCollectionCommandInput, cb: (err: any, data?: UpdateCollectionCommandOutput) => void): void;
|
|
281
202
|
updateCollection(args: UpdateCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCollectionCommandOutput) => void): void;
|
|
282
203
|
/**
|
|
283
|
-
* @
|
|
284
|
-
* <p>Updates a security configuration for OpenSearch Serverless. For more information, see
|
|
285
|
-
* <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-saml.html">SAML
|
|
286
|
-
* authentication for Amazon OpenSearch Serverless</a>.</p>
|
|
204
|
+
* @see {@link UpdateSecurityConfigCommand}
|
|
287
205
|
*/
|
|
288
206
|
updateSecurityConfig(args: UpdateSecurityConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSecurityConfigCommandOutput>;
|
|
289
207
|
updateSecurityConfig(args: UpdateSecurityConfigCommandInput, cb: (err: any, data?: UpdateSecurityConfigCommandOutput) => void): void;
|
|
290
208
|
updateSecurityConfig(args: UpdateSecurityConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSecurityConfigCommandOutput) => void): void;
|
|
291
209
|
/**
|
|
292
|
-
* @
|
|
293
|
-
* <p>Updates an OpenSearch Serverless security policy. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-network.html">Network access
|
|
294
|
-
* for Amazon OpenSearch Serverless</a> and <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-encryption.html">Encryption at
|
|
295
|
-
* rest for Amazon OpenSearch Serverless</a>.</p>
|
|
210
|
+
* @see {@link UpdateSecurityPolicyCommand}
|
|
296
211
|
*/
|
|
297
212
|
updateSecurityPolicy(args: UpdateSecurityPolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSecurityPolicyCommandOutput>;
|
|
298
213
|
updateSecurityPolicy(args: UpdateSecurityPolicyCommandInput, cb: (err: any, data?: UpdateSecurityPolicyCommandOutput) => void): void;
|
|
299
214
|
updateSecurityPolicy(args: UpdateSecurityPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSecurityPolicyCommandOutput) => void): void;
|
|
300
215
|
/**
|
|
301
|
-
* @
|
|
302
|
-
* <p>Updates an OpenSearch Serverless-managed interface endpoint. For more information, see
|
|
303
|
-
* <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-vpc.html">Access Amazon OpenSearch Serverless using an interface endpoint</a>.</p>
|
|
216
|
+
* @see {@link UpdateVpcEndpointCommand}
|
|
304
217
|
*/
|
|
305
218
|
updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, options?: __HttpHandlerOptions): Promise<UpdateVpcEndpointCommandOutput>;
|
|
306
219
|
updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, cb: (err: any, data?: UpdateVpcEndpointCommandOutput) => void): void;
|
|
307
220
|
updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateVpcEndpointCommandOutput) => void): void;
|
|
308
221
|
}
|
|
222
|
+
/**
|
|
223
|
+
* @public
|
|
224
|
+
* <p>Use the Amazon OpenSearch Serverless API to create, configure, and manage OpenSearch Serverless collections and
|
|
225
|
+
* security policies.</p>
|
|
226
|
+
* <p>OpenSearch Serverless is an on-demand, pre-provisioned serverless configuration for
|
|
227
|
+
* Amazon OpenSearch Service. OpenSearch Serverless removes the operational complexities of provisioning,
|
|
228
|
+
* configuring, and tuning your OpenSearch clusters. It enables you to easily search and
|
|
229
|
+
* analyze petabytes of data without having to worry about the underlying infrastructure
|
|
230
|
+
* and data management.</p>
|
|
231
|
+
* <p> To learn more about OpenSearch Serverless, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-overview.html">What is
|
|
232
|
+
* Amazon OpenSearch Serverless?</a>
|
|
233
|
+
* </p>
|
|
234
|
+
*/
|
|
235
|
+
export declare class OpenSearchServerless extends OpenSearchServerlessClient implements OpenSearchServerless {
|
|
236
|
+
}
|
|
@@ -124,7 +124,7 @@ import {
|
|
|
124
124
|
UpdateVpcEndpointCommandOutput,
|
|
125
125
|
} from "./commands/UpdateVpcEndpointCommand";
|
|
126
126
|
import { OpenSearchServerlessClient } from "./OpenSearchServerlessClient";
|
|
127
|
-
export
|
|
127
|
+
export interface OpenSearchServerless {
|
|
128
128
|
batchGetCollection(
|
|
129
129
|
args: BatchGetCollectionCommandInput,
|
|
130
130
|
options?: __HttpHandlerOptions
|
|
@@ -529,3 +529,6 @@ export declare class OpenSearchServerless extends OpenSearchServerlessClient {
|
|
|
529
529
|
cb: (err: any, data?: UpdateVpcEndpointCommandOutput) => void
|
|
530
530
|
): void;
|
|
531
531
|
}
|
|
532
|
+
export declare class OpenSearchServerless
|
|
533
|
+
extends OpenSearchServerlessClient
|
|
534
|
+
implements OpenSearchServerless {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-opensearchserverless",
|
|
3
3
|
"description": "AWS SDK for JavaScript Opensearchserverless Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.319.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|