@aws-sdk/client-opensearchserverless 3.301.0 → 3.303.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +57 -33
- package/dist-cjs/protocols/Aws_json1_0.js +56 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +54 -32
- package/dist-es/protocols/Aws_json1_0.js +57 -1
- package/dist-types/OpenSearchServerless.d.ts +5 -5
- package/dist-types/OpenSearchServerlessClient.d.ts +2 -2
- package/dist-types/commands/CreateAccessPolicyCommand.d.ts +5 -2
- package/dist-types/commands/CreateCollectionCommand.d.ts +8 -2
- package/dist-types/commands/CreateSecurityConfigCommand.d.ts +5 -2
- package/dist-types/commands/CreateSecurityPolicyCommand.d.ts +5 -2
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +5 -2
- package/dist-types/commands/DeleteAccessPolicyCommand.d.ts +2 -2
- package/dist-types/commands/DeleteCollectionCommand.d.ts +2 -2
- package/dist-types/commands/DeleteSecurityConfigCommand.d.ts +2 -2
- package/dist-types/commands/DeleteSecurityPolicyCommand.d.ts +2 -2
- package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +2 -2
- package/dist-types/commands/ListCollectionsCommand.d.ts +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +5 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAccessPolicyCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCollectionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateSecurityConfigCommand.d.ts +2 -2
- package/dist-types/commands/UpdateSecurityPolicyCommand.d.ts +5 -2
- package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +2 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +109 -36
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +56 -26
- package/package.json +34 -34
|
@@ -51,13 +51,16 @@ export interface CreateSecurityConfigCommandOutput extends CreateSecurityConfigR
|
|
|
51
51
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link ConflictException} (client fault)
|
|
54
|
-
* <p>When creating a
|
|
55
|
-
* or is being created. When deleting a
|
|
54
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists
|
|
55
|
+
* or is being created. When deleting a resource, thrown when the resource is not in
|
|
56
56
|
* the ACTIVE or FAILED state.</p>
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link InternalServerException} (server fault)
|
|
59
59
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
60
60
|
*
|
|
61
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
62
|
+
* <p>Thrown when you attempt to create more resources than the service allows based on service quotas.</p>
|
|
63
|
+
*
|
|
61
64
|
* @throws {@link ValidationException} (client fault)
|
|
62
65
|
* <p>Thrown when the HTTP request contains invalid input or is missing required
|
|
63
66
|
* input.</p>
|
|
@@ -49,13 +49,16 @@ export interface CreateSecurityPolicyCommandOutput extends CreateSecurityPolicyR
|
|
|
49
49
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
50
50
|
*
|
|
51
51
|
* @throws {@link ConflictException} (client fault)
|
|
52
|
-
* <p>When creating a
|
|
53
|
-
* or is being created. When deleting a
|
|
52
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists
|
|
53
|
+
* or is being created. When deleting a resource, thrown when the resource is not in
|
|
54
54
|
* the ACTIVE or FAILED state.</p>
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link InternalServerException} (server fault)
|
|
57
57
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
58
58
|
*
|
|
59
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
60
|
+
* <p>Thrown when you attempt to create more resources than the service allows based on service quotas.</p>
|
|
61
|
+
*
|
|
59
62
|
* @throws {@link ValidationException} (client fault)
|
|
60
63
|
* <p>Thrown when the HTTP request contains invalid input or is missing required
|
|
61
64
|
* input.</p>
|
|
@@ -49,13 +49,16 @@ export interface CreateVpcEndpointCommandOutput extends CreateVpcEndpointRespons
|
|
|
49
49
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
50
50
|
*
|
|
51
51
|
* @throws {@link ConflictException} (client fault)
|
|
52
|
-
* <p>When creating a
|
|
53
|
-
* or is being created. When deleting a
|
|
52
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists
|
|
53
|
+
* or is being created. When deleting a resource, thrown when the resource is not in
|
|
54
54
|
* the ACTIVE or FAILED state.</p>
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link InternalServerException} (server fault)
|
|
57
57
|
* <p>Thrown when an error internal to the service occurs while processing a request.</p>
|
|
58
58
|
*
|
|
59
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
60
|
+
* <p>Thrown when you attempt to create more resources than the service allows based on service quotas.</p>
|
|
61
|
+
*
|
|
59
62
|
* @throws {@link ValidationException} (client fault)
|
|
60
63
|
* <p>Thrown when the HTTP request contains invalid input or is missing required
|
|
61
64
|
* input.</p>
|
|
@@ -43,8 +43,8 @@ export interface DeleteAccessPolicyCommandOutput extends DeleteAccessPolicyRespo
|
|
|
43
43
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
44
44
|
*
|
|
45
45
|
* @throws {@link ConflictException} (client fault)
|
|
46
|
-
* <p>When creating a
|
|
47
|
-
* or is being created. When deleting a
|
|
46
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists
|
|
47
|
+
* or is being created. When deleting a resource, thrown when the resource is not in
|
|
48
48
|
* the ACTIVE or FAILED state.</p>
|
|
49
49
|
*
|
|
50
50
|
* @throws {@link InternalServerException} (server fault)
|
|
@@ -42,8 +42,8 @@ export interface DeleteCollectionCommandOutput extends DeleteCollectionResponse,
|
|
|
42
42
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
43
43
|
*
|
|
44
44
|
* @throws {@link ConflictException} (client fault)
|
|
45
|
-
* <p>When creating a
|
|
46
|
-
* or is being created. When deleting a
|
|
45
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists
|
|
46
|
+
* or is being created. When deleting a resource, thrown when the resource is not in
|
|
47
47
|
* the ACTIVE or FAILED state.</p>
|
|
48
48
|
*
|
|
49
49
|
* @throws {@link InternalServerException} (server fault)
|
|
@@ -43,8 +43,8 @@ export interface DeleteSecurityConfigCommandOutput extends DeleteSecurityConfigR
|
|
|
43
43
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
44
44
|
*
|
|
45
45
|
* @throws {@link ConflictException} (client fault)
|
|
46
|
-
* <p>When creating a
|
|
47
|
-
* or is being created. When deleting a
|
|
46
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists
|
|
47
|
+
* or is being created. When deleting a resource, thrown when the resource is not in
|
|
48
48
|
* the ACTIVE or FAILED state.</p>
|
|
49
49
|
*
|
|
50
50
|
* @throws {@link InternalServerException} (server fault)
|
|
@@ -42,8 +42,8 @@ export interface DeleteSecurityPolicyCommandOutput extends DeleteSecurityPolicyR
|
|
|
42
42
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
43
43
|
*
|
|
44
44
|
* @throws {@link ConflictException} (client fault)
|
|
45
|
-
* <p>When creating a
|
|
46
|
-
* or is being created. When deleting a
|
|
45
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists
|
|
46
|
+
* or is being created. When deleting a resource, thrown when the resource is not in
|
|
47
47
|
* the ACTIVE or FAILED state.</p>
|
|
48
48
|
*
|
|
49
49
|
* @throws {@link InternalServerException} (server fault)
|
|
@@ -42,8 +42,8 @@ export interface DeleteVpcEndpointCommandOutput extends DeleteVpcEndpointRespons
|
|
|
42
42
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
43
43
|
*
|
|
44
44
|
* @throws {@link ConflictException} (client fault)
|
|
45
|
-
* <p>When creating a
|
|
46
|
-
* or is being created. When deleting a
|
|
45
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists
|
|
46
|
+
* or is being created. When deleting a resource, thrown when the resource is not in
|
|
47
47
|
* the ACTIVE or FAILED state.</p>
|
|
48
48
|
*
|
|
49
49
|
* @throws {@link InternalServerException} (server fault)
|
|
@@ -21,10 +21,10 @@ export interface ListCollectionsCommandOutput extends ListCollectionsResponse, _
|
|
|
21
21
|
* @public
|
|
22
22
|
* <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
|
|
23
23
|
* managing Amazon OpenSearch Serverless collections</a>.</p>
|
|
24
|
-
*
|
|
24
|
+
* <note>
|
|
25
25
|
* <p>Make sure to include an empty request body \{\} if you don't include any collection
|
|
26
26
|
* filters in the request.</p>
|
|
27
|
-
*
|
|
27
|
+
* </note>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -46,8 +46,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
46
46
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
47
47
|
*
|
|
48
48
|
* @throws {@link ConflictException} (client fault)
|
|
49
|
-
* <p>When creating a
|
|
50
|
-
* or is being created. When deleting a
|
|
49
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists
|
|
50
|
+
* or is being created. When deleting a resource, thrown when the resource is not in
|
|
51
51
|
* the ACTIVE or FAILED state.</p>
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link InternalServerException} (server fault)
|
|
@@ -56,6 +56,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
56
56
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
57
57
|
* <p>Thrown when accessing or deleting a resource that does not exist.</p>
|
|
58
58
|
*
|
|
59
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
60
|
+
* <p>Thrown when you attempt to create more resources than the service allows based on service quotas.</p>
|
|
61
|
+
*
|
|
59
62
|
* @throws {@link ValidationException} (client fault)
|
|
60
63
|
* <p>Thrown when the HTTP request contains invalid input or is missing required
|
|
61
64
|
* input.</p>
|
|
@@ -43,8 +43,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
43
43
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
44
44
|
*
|
|
45
45
|
* @throws {@link ConflictException} (client fault)
|
|
46
|
-
* <p>When creating a
|
|
47
|
-
* or is being created. When deleting a
|
|
46
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists
|
|
47
|
+
* or is being created. When deleting a resource, thrown when the resource is not in
|
|
48
48
|
* the ACTIVE or FAILED state.</p>
|
|
49
49
|
*
|
|
50
50
|
* @throws {@link InternalServerException} (server fault)
|
|
@@ -46,8 +46,8 @@ export interface UpdateAccessPolicyCommandOutput extends UpdateAccessPolicyRespo
|
|
|
46
46
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
47
47
|
*
|
|
48
48
|
* @throws {@link ConflictException} (client fault)
|
|
49
|
-
* <p>When creating a
|
|
50
|
-
* or is being created. When deleting a
|
|
49
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists
|
|
50
|
+
* or is being created. When deleting a resource, thrown when the resource is not in
|
|
51
51
|
* the ACTIVE or FAILED state.</p>
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link InternalServerException} (server fault)
|
|
@@ -20,7 +20,7 @@ export interface UpdateAccountSettingsCommandOutput extends UpdateAccountSetting
|
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
* <p>Update the OpenSearch Serverless settings for the current Amazon Web Services account. For more
|
|
23
|
-
* information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-
|
|
23
|
+
* 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>
|
|
24
24
|
* @example
|
|
25
25
|
* Use a bare-bones client and the command you need to make an API call.
|
|
26
26
|
* ```javascript
|
|
@@ -42,8 +42,8 @@ export interface UpdateCollectionCommandOutput extends UpdateCollectionResponse,
|
|
|
42
42
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
43
43
|
*
|
|
44
44
|
* @throws {@link ConflictException} (client fault)
|
|
45
|
-
* <p>When creating a
|
|
46
|
-
* or is being created. When deleting a
|
|
45
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists
|
|
46
|
+
* or is being created. When deleting a resource, thrown when the resource is not in
|
|
47
47
|
* the ACTIVE or FAILED state.</p>
|
|
48
48
|
*
|
|
49
49
|
* @throws {@link InternalServerException} (server fault)
|
|
@@ -51,8 +51,8 @@ export interface UpdateSecurityConfigCommandOutput extends UpdateSecurityConfigR
|
|
|
51
51
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link ConflictException} (client fault)
|
|
54
|
-
* <p>When creating a
|
|
55
|
-
* or is being created. When deleting a
|
|
54
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists
|
|
55
|
+
* or is being created. When deleting a resource, thrown when the resource is not in
|
|
56
56
|
* the ACTIVE or FAILED state.</p>
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link InternalServerException} (server fault)
|
|
@@ -47,8 +47,8 @@ export interface UpdateSecurityPolicyCommandOutput extends UpdateSecurityPolicyR
|
|
|
47
47
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
48
48
|
*
|
|
49
49
|
* @throws {@link ConflictException} (client fault)
|
|
50
|
-
* <p>When creating a
|
|
51
|
-
* or is being created. When deleting a
|
|
50
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists
|
|
51
|
+
* or is being created. When deleting a resource, thrown when the resource is not in
|
|
52
52
|
* the ACTIVE or FAILED state.</p>
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link InternalServerException} (server fault)
|
|
@@ -57,6 +57,9 @@ export interface UpdateSecurityPolicyCommandOutput extends UpdateSecurityPolicyR
|
|
|
57
57
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
58
|
* <p>Thrown when accessing or deleting a resource that does not exist.</p>
|
|
59
59
|
*
|
|
60
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
61
|
+
* <p>Thrown when you attempt to create more resources than the service allows based on service quotas.</p>
|
|
62
|
+
*
|
|
60
63
|
* @throws {@link ValidationException} (client fault)
|
|
61
64
|
* <p>Thrown when the HTTP request contains invalid input or is missing required
|
|
62
65
|
* input.</p>
|
|
@@ -54,8 +54,8 @@ export interface UpdateVpcEndpointCommandOutput extends UpdateVpcEndpointRespons
|
|
|
54
54
|
* @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ConflictException} (client fault)
|
|
57
|
-
* <p>When creating a
|
|
58
|
-
* or is being created. When deleting a
|
|
57
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists
|
|
58
|
+
* or is being created. When deleting a resource, thrown when the resource is not in
|
|
59
59
|
* the ACTIVE or FAILED state.</p>
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link InternalServerException} (server fault)
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -3,17 +3,22 @@ import { DocumentType as __DocumentType } from "@aws-sdk/types";
|
|
|
3
3
|
import { OpenSearchServerlessServiceException as __BaseException } from "./OpenSearchServerlessServiceException";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
|
+
* @enum
|
|
6
7
|
*/
|
|
7
|
-
export declare
|
|
8
|
+
export declare const AccessPolicyType: {
|
|
8
9
|
/**
|
|
9
10
|
* data policy type
|
|
10
11
|
*/
|
|
11
|
-
data
|
|
12
|
-
}
|
|
12
|
+
readonly data: "data";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export type AccessPolicyType = (typeof AccessPolicyType)[keyof typeof AccessPolicyType];
|
|
13
18
|
/**
|
|
14
19
|
* @public
|
|
15
|
-
* <p>When creating a
|
|
16
|
-
* or is being created. When deleting a
|
|
20
|
+
* <p>When creating a resource, thrown when a resource with the same name already exists
|
|
21
|
+
* or is being created. When deleting a resource, thrown when the resource is not in
|
|
17
22
|
* the ACTIVE or FAILED state.</p>
|
|
18
23
|
*/
|
|
19
24
|
export declare class ConflictException extends __BaseException {
|
|
@@ -105,6 +110,34 @@ export declare class InternalServerException extends __BaseException {
|
|
|
105
110
|
*/
|
|
106
111
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
107
112
|
}
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
* <p>Thrown when you attempt to create more resources than the service allows based on service quotas.</p>
|
|
116
|
+
*/
|
|
117
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
118
|
+
readonly name: "ServiceQuotaExceededException";
|
|
119
|
+
readonly $fault: "client";
|
|
120
|
+
/**
|
|
121
|
+
* Identifier of the resource affected.
|
|
122
|
+
*/
|
|
123
|
+
resourceId?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Type of the resource affected.
|
|
126
|
+
*/
|
|
127
|
+
resourceType?: string;
|
|
128
|
+
/**
|
|
129
|
+
* Service Quotas requirement to identify originating service.
|
|
130
|
+
*/
|
|
131
|
+
serviceCode: string | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* Service Quotas requirement to identify originating quota.
|
|
134
|
+
*/
|
|
135
|
+
quotaCode?: string;
|
|
136
|
+
/**
|
|
137
|
+
* @internal
|
|
138
|
+
*/
|
|
139
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
140
|
+
}
|
|
108
141
|
/**
|
|
109
142
|
* @public
|
|
110
143
|
* <p>Thrown when the HTTP request contains invalid input or is missing required
|
|
@@ -183,7 +216,7 @@ export interface ListAccessPoliciesRequest {
|
|
|
183
216
|
*/
|
|
184
217
|
type: AccessPolicyType | string | undefined;
|
|
185
218
|
/**
|
|
186
|
-
* <p>Resource filters (can be
|
|
219
|
+
* <p>Resource filters (can be collections or indexes) that policies can apply to.</p>
|
|
187
220
|
*/
|
|
188
221
|
resource?: string[];
|
|
189
222
|
/**
|
|
@@ -297,7 +330,8 @@ export interface AccessPolicyStats {
|
|
|
297
330
|
* @public
|
|
298
331
|
* <p>The maximum capacity limits for all OpenSearch Serverless collections, in OpenSearch Compute Units
|
|
299
332
|
* (OCUs). These limits are used to scale your collections based on the current workload.
|
|
300
|
-
* For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-
|
|
333
|
+
* For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-scaling.html">Managing
|
|
334
|
+
* capacity limits for Amazon OpenSearch Serverless</a>.</p>
|
|
301
335
|
*/
|
|
302
336
|
export interface CapacityLimits {
|
|
303
337
|
/**
|
|
@@ -317,7 +351,8 @@ export interface AccountSettingsDetail {
|
|
|
317
351
|
/**
|
|
318
352
|
* <p>The maximum capacity limits for all OpenSearch Serverless collections, in OpenSearch Compute Units
|
|
319
353
|
* (OCUs). These limits are used to scale your collections based on the current workload.
|
|
320
|
-
* For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-
|
|
354
|
+
* For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-scaling.html">Managing
|
|
355
|
+
* capacity limits for Amazon OpenSearch Serverless</a>.</p>
|
|
321
356
|
*/
|
|
322
357
|
capacityLimits?: CapacityLimits;
|
|
323
358
|
}
|
|
@@ -337,38 +372,48 @@ export interface BatchGetCollectionRequest {
|
|
|
337
372
|
}
|
|
338
373
|
/**
|
|
339
374
|
* @public
|
|
375
|
+
* @enum
|
|
340
376
|
*/
|
|
341
|
-
export declare
|
|
377
|
+
export declare const CollectionStatus: {
|
|
342
378
|
/**
|
|
343
379
|
* Collection resource is ready to use
|
|
344
380
|
*/
|
|
345
|
-
ACTIVE
|
|
381
|
+
readonly ACTIVE: "ACTIVE";
|
|
346
382
|
/**
|
|
347
383
|
* Creating collection resource
|
|
348
384
|
*/
|
|
349
|
-
CREATING
|
|
385
|
+
readonly CREATING: "CREATING";
|
|
350
386
|
/**
|
|
351
387
|
* Deleting collection resource
|
|
352
388
|
*/
|
|
353
|
-
DELETING
|
|
389
|
+
readonly DELETING: "DELETING";
|
|
354
390
|
/**
|
|
355
391
|
* Collection resource create or delete failed
|
|
356
392
|
*/
|
|
357
|
-
FAILED
|
|
358
|
-
}
|
|
393
|
+
readonly FAILED: "FAILED";
|
|
394
|
+
};
|
|
395
|
+
/**
|
|
396
|
+
* @public
|
|
397
|
+
*/
|
|
398
|
+
export type CollectionStatus = (typeof CollectionStatus)[keyof typeof CollectionStatus];
|
|
359
399
|
/**
|
|
360
400
|
* @public
|
|
401
|
+
* @enum
|
|
361
402
|
*/
|
|
362
|
-
export declare
|
|
403
|
+
export declare const CollectionType: {
|
|
363
404
|
/**
|
|
364
405
|
* Search collection type
|
|
365
406
|
*/
|
|
366
|
-
SEARCH
|
|
407
|
+
readonly SEARCH: "SEARCH";
|
|
367
408
|
/**
|
|
368
409
|
* Timeseries collection type
|
|
369
410
|
*/
|
|
370
|
-
TIMESERIES
|
|
371
|
-
}
|
|
411
|
+
readonly TIMESERIES: "TIMESERIES";
|
|
412
|
+
};
|
|
413
|
+
/**
|
|
414
|
+
* @public
|
|
415
|
+
*/
|
|
416
|
+
export type CollectionType = (typeof CollectionType)[keyof typeof CollectionType];
|
|
372
417
|
/**
|
|
373
418
|
* @public
|
|
374
419
|
* <p>Details about each OpenSearch Serverless collection, including the collection endpoint and the
|
|
@@ -471,25 +516,30 @@ export interface BatchGetVpcEndpointRequest {
|
|
|
471
516
|
}
|
|
472
517
|
/**
|
|
473
518
|
* @public
|
|
519
|
+
* @enum
|
|
474
520
|
*/
|
|
475
|
-
export declare
|
|
521
|
+
export declare const VpcEndpointStatus: {
|
|
476
522
|
/**
|
|
477
523
|
* VPCEndpoint resource is ready to use
|
|
478
524
|
*/
|
|
479
|
-
ACTIVE
|
|
525
|
+
readonly ACTIVE: "ACTIVE";
|
|
480
526
|
/**
|
|
481
527
|
* Deleting VPCEndpoint resource
|
|
482
528
|
*/
|
|
483
|
-
DELETING
|
|
529
|
+
readonly DELETING: "DELETING";
|
|
484
530
|
/**
|
|
485
531
|
* VPCEndpoint resource create or delete failed
|
|
486
532
|
*/
|
|
487
|
-
FAILED
|
|
533
|
+
readonly FAILED: "FAILED";
|
|
488
534
|
/**
|
|
489
535
|
* Pending VPCEndpoint resource
|
|
490
536
|
*/
|
|
491
|
-
PENDING
|
|
492
|
-
}
|
|
537
|
+
readonly PENDING: "PENDING";
|
|
538
|
+
};
|
|
539
|
+
/**
|
|
540
|
+
* @public
|
|
541
|
+
*/
|
|
542
|
+
export type VpcEndpointStatus = (typeof VpcEndpointStatus)[keyof typeof VpcEndpointStatus];
|
|
493
543
|
/**
|
|
494
544
|
* @public
|
|
495
545
|
* <p>Details about an OpenSearch Serverless-managed interface endpoint.</p>
|
|
@@ -504,7 +554,7 @@ export interface VpcEndpointDetail {
|
|
|
504
554
|
*/
|
|
505
555
|
name?: string;
|
|
506
556
|
/**
|
|
507
|
-
* <p>The ID of the VPC from which you access OpenSearch Serverless
|
|
557
|
+
* <p>The ID of the VPC from which you access OpenSearch Serverless.</p>
|
|
508
558
|
*/
|
|
509
559
|
vpcId?: string;
|
|
510
560
|
/**
|
|
@@ -646,6 +696,18 @@ export interface CreateCollectionResponse {
|
|
|
646
696
|
*/
|
|
647
697
|
createCollectionDetail?: CreateCollectionDetail;
|
|
648
698
|
}
|
|
699
|
+
/**
|
|
700
|
+
* @public
|
|
701
|
+
* OCU Limit Exceeded for service limits
|
|
702
|
+
*/
|
|
703
|
+
export declare class OcuLimitExceededException extends __BaseException {
|
|
704
|
+
readonly name: "OcuLimitExceededException";
|
|
705
|
+
readonly $fault: "client";
|
|
706
|
+
/**
|
|
707
|
+
* @internal
|
|
708
|
+
*/
|
|
709
|
+
constructor(opts: __ExceptionOptionType<OcuLimitExceededException, __BaseException>);
|
|
710
|
+
}
|
|
649
711
|
/**
|
|
650
712
|
* @public
|
|
651
713
|
*/
|
|
@@ -842,20 +904,24 @@ export interface SamlConfigOptions {
|
|
|
842
904
|
*/
|
|
843
905
|
groupAttribute?: string;
|
|
844
906
|
/**
|
|
845
|
-
* <p>The session timeout, in minutes.
|
|
846
|
-
* hours or 1 day). Default is 60 minutes.</p>
|
|
907
|
+
* <p>The session timeout, in minutes. Default is 60 minutes (12 hours).</p>
|
|
847
908
|
*/
|
|
848
909
|
sessionTimeout?: number;
|
|
849
910
|
}
|
|
850
911
|
/**
|
|
851
912
|
* @public
|
|
913
|
+
* @enum
|
|
852
914
|
*/
|
|
853
|
-
export declare
|
|
915
|
+
export declare const SecurityConfigType: {
|
|
854
916
|
/**
|
|
855
917
|
* saml provider
|
|
856
918
|
*/
|
|
857
|
-
saml
|
|
858
|
-
}
|
|
919
|
+
readonly saml: "saml";
|
|
920
|
+
};
|
|
921
|
+
/**
|
|
922
|
+
* @public
|
|
923
|
+
*/
|
|
924
|
+
export type SecurityConfigType = (typeof SecurityConfigType)[keyof typeof SecurityConfigType];
|
|
859
925
|
/**
|
|
860
926
|
* @public
|
|
861
927
|
*/
|
|
@@ -873,7 +939,8 @@ export interface CreateSecurityConfigRequest {
|
|
|
873
939
|
*/
|
|
874
940
|
description?: string;
|
|
875
941
|
/**
|
|
876
|
-
* <p>Describes SAML options in in the form of a key-value map
|
|
942
|
+
* <p>Describes SAML options in in the form of a key-value map. This field is required if
|
|
943
|
+
* you specify <code>saml</code> for the <code>type</code> parameter.</p>
|
|
877
944
|
*/
|
|
878
945
|
samlOptions?: SamlConfigOptions;
|
|
879
946
|
/**
|
|
@@ -926,17 +993,22 @@ export interface CreateSecurityConfigResponse {
|
|
|
926
993
|
}
|
|
927
994
|
/**
|
|
928
995
|
* @public
|
|
996
|
+
* @enum
|
|
929
997
|
*/
|
|
930
|
-
export declare
|
|
998
|
+
export declare const SecurityPolicyType: {
|
|
931
999
|
/**
|
|
932
1000
|
* encryption policy type
|
|
933
1001
|
*/
|
|
934
|
-
encryption
|
|
1002
|
+
readonly encryption: "encryption";
|
|
935
1003
|
/**
|
|
936
1004
|
* network policy type
|
|
937
1005
|
*/
|
|
938
|
-
network
|
|
939
|
-
}
|
|
1006
|
+
readonly network: "network";
|
|
1007
|
+
};
|
|
1008
|
+
/**
|
|
1009
|
+
* @public
|
|
1010
|
+
*/
|
|
1011
|
+
export type SecurityPolicyType = (typeof SecurityPolicyType)[keyof typeof SecurityPolicyType];
|
|
940
1012
|
/**
|
|
941
1013
|
* @public
|
|
942
1014
|
*/
|
|
@@ -1595,7 +1667,8 @@ export interface UpdateAccountSettingsRequest {
|
|
|
1595
1667
|
/**
|
|
1596
1668
|
* <p>The maximum capacity limits for all OpenSearch Serverless collections, in OpenSearch Compute Units
|
|
1597
1669
|
* (OCUs). These limits are used to scale your collections based on the current workload.
|
|
1598
|
-
* For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-
|
|
1670
|
+
* For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-scaling.html">Managing
|
|
1671
|
+
* capacity limits for Amazon OpenSearch Serverless</a>.</p>
|
|
1599
1672
|
*/
|
|
1600
1673
|
capacityLimits?: CapacityLimits;
|
|
1601
1674
|
}
|
|
@@ -26,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
26
26
|
defaultSigningName: string;
|
|
27
27
|
};
|
|
28
28
|
export interface EndpointParameters extends __EndpointParameters {
|
|
29
|
-
Region
|
|
29
|
+
Region?: string;
|
|
30
30
|
UseDualStack?: boolean;
|
|
31
31
|
UseFIPS?: boolean;
|
|
32
32
|
Endpoint?: string;
|