@aws-sdk/client-opensearchserverless 3.289.0 → 3.290.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 (32) hide show
  1. package/dist-types/commands/BatchGetCollectionCommand.d.ts +8 -0
  2. package/dist-types/commands/BatchGetVpcEndpointCommand.d.ts +8 -0
  3. package/dist-types/commands/CreateAccessPolicyCommand.d.ts +13 -0
  4. package/dist-types/commands/CreateCollectionCommand.d.ts +13 -0
  5. package/dist-types/commands/CreateSecurityConfigCommand.d.ts +13 -0
  6. package/dist-types/commands/CreateSecurityPolicyCommand.d.ts +13 -0
  7. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +13 -0
  8. package/dist-types/commands/DeleteAccessPolicyCommand.d.ts +16 -0
  9. package/dist-types/commands/DeleteCollectionCommand.d.ts +16 -0
  10. package/dist-types/commands/DeleteSecurityConfigCommand.d.ts +16 -0
  11. package/dist-types/commands/DeleteSecurityPolicyCommand.d.ts +16 -0
  12. package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +16 -0
  13. package/dist-types/commands/GetAccessPolicyCommand.d.ts +11 -0
  14. package/dist-types/commands/GetAccountSettingsCommand.d.ts +8 -0
  15. package/dist-types/commands/GetPoliciesStatsCommand.d.ts +4 -0
  16. package/dist-types/commands/GetSecurityConfigCommand.d.ts +11 -0
  17. package/dist-types/commands/GetSecurityPolicyCommand.d.ts +11 -0
  18. package/dist-types/commands/ListAccessPoliciesCommand.d.ts +8 -0
  19. package/dist-types/commands/ListCollectionsCommand.d.ts +8 -0
  20. package/dist-types/commands/ListSecurityConfigsCommand.d.ts +8 -0
  21. package/dist-types/commands/ListSecurityPoliciesCommand.d.ts +8 -0
  22. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  23. package/dist-types/commands/ListVpcEndpointsCommand.d.ts +8 -0
  24. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  25. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  26. package/dist-types/commands/UpdateAccessPolicyCommand.d.ts +16 -0
  27. package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +8 -0
  28. package/dist-types/commands/UpdateCollectionCommand.d.ts +13 -0
  29. package/dist-types/commands/UpdateSecurityConfigCommand.d.ts +16 -0
  30. package/dist-types/commands/UpdateSecurityPolicyCommand.d.ts +16 -0
  31. package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +13 -0
  32. package/package.json +29 -29
@@ -31,6 +31,14 @@ export interface BatchGetCollectionCommandOutput extends BatchGetCollectionRespo
31
31
  * @see {@link BatchGetCollectionCommandOutput} for command's `response` shape.
32
32
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
33
33
  *
34
+ * @throws {@link InternalServerException} (server fault)
35
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
36
+ *
37
+ * @throws {@link ValidationException} (client fault)
38
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
39
+ * input.</p>
40
+ *
41
+ *
34
42
  */
35
43
  export declare class BatchGetCollectionCommand extends $Command<BatchGetCollectionCommandInput, BatchGetCollectionCommandOutput, OpenSearchServerlessClientResolvedConfig> {
36
44
  readonly input: BatchGetCollectionCommandInput;
@@ -31,6 +31,14 @@ export interface BatchGetVpcEndpointCommandOutput extends BatchGetVpcEndpointRes
31
31
  * @see {@link BatchGetVpcEndpointCommandOutput} for command's `response` shape.
32
32
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
33
33
  *
34
+ * @throws {@link InternalServerException} (server fault)
35
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
36
+ *
37
+ * @throws {@link ValidationException} (client fault)
38
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
39
+ * input.</p>
40
+ *
41
+ *
34
42
  */
35
43
  export declare class BatchGetVpcEndpointCommand extends $Command<BatchGetVpcEndpointCommandInput, BatchGetVpcEndpointCommandOutput, OpenSearchServerlessClientResolvedConfig> {
36
44
  readonly input: BatchGetVpcEndpointCommandInput;
@@ -32,6 +32,19 @@ export interface CreateAccessPolicyCommandOutput extends CreateAccessPolicyRespo
32
32
  * @see {@link CreateAccessPolicyCommandOutput} for command's `response` shape.
33
33
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
34
34
  *
35
+ * @throws {@link ConflictException} (client fault)
36
+ * <p>When creating a collection, thrown when a collection with the same name already exists
37
+ * or is being created. When deleting a collection, thrown when the collection is not in
38
+ * the ACTIVE or FAILED state.</p>
39
+ *
40
+ * @throws {@link InternalServerException} (server fault)
41
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
42
+ *
43
+ * @throws {@link ValidationException} (client fault)
44
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
45
+ * input.</p>
46
+ *
47
+ *
35
48
  */
36
49
  export declare class CreateAccessPolicyCommand extends $Command<CreateAccessPolicyCommandInput, CreateAccessPolicyCommandOutput, OpenSearchServerlessClientResolvedConfig> {
37
50
  readonly input: CreateAccessPolicyCommandInput;
@@ -30,6 +30,19 @@ export interface CreateCollectionCommandOutput extends CreateCollectionResponse,
30
30
  * @see {@link CreateCollectionCommandOutput} for command's `response` shape.
31
31
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
32
32
  *
33
+ * @throws {@link ConflictException} (client fault)
34
+ * <p>When creating a collection, thrown when a collection with the same name already exists
35
+ * or is being created. When deleting a collection, thrown when the collection is not in
36
+ * the ACTIVE or FAILED state.</p>
37
+ *
38
+ * @throws {@link InternalServerException} (server fault)
39
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
40
+ *
41
+ * @throws {@link ValidationException} (client fault)
42
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
43
+ * input.</p>
44
+ *
45
+ *
33
46
  */
34
47
  export declare class CreateCollectionCommand extends $Command<CreateCollectionCommandInput, CreateCollectionCommandOutput, OpenSearchServerlessClientResolvedConfig> {
35
48
  readonly input: CreateCollectionCommandInput;
@@ -31,6 +31,19 @@ export interface CreateSecurityConfigCommandOutput extends CreateSecurityConfigR
31
31
  * @see {@link CreateSecurityConfigCommandOutput} for command's `response` shape.
32
32
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
33
33
  *
34
+ * @throws {@link ConflictException} (client fault)
35
+ * <p>When creating a collection, thrown when a collection with the same name already exists
36
+ * or is being created. When deleting a collection, thrown when the collection is not in
37
+ * the ACTIVE or FAILED state.</p>
38
+ *
39
+ * @throws {@link InternalServerException} (server fault)
40
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
41
+ *
42
+ * @throws {@link ValidationException} (client fault)
43
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
44
+ * input.</p>
45
+ *
46
+ *
34
47
  */
35
48
  export declare class CreateSecurityConfigCommand extends $Command<CreateSecurityConfigCommandInput, CreateSecurityConfigCommandOutput, OpenSearchServerlessClientResolvedConfig> {
36
49
  readonly input: CreateSecurityConfigCommandInput;
@@ -34,6 +34,19 @@ export interface CreateSecurityPolicyCommandOutput extends CreateSecurityPolicyR
34
34
  * @see {@link CreateSecurityPolicyCommandOutput} for command's `response` shape.
35
35
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
36
36
  *
37
+ * @throws {@link ConflictException} (client fault)
38
+ * <p>When creating a collection, thrown when a collection with the same name already exists
39
+ * or is being created. When deleting a collection, thrown when the collection is not in
40
+ * the ACTIVE or FAILED state.</p>
41
+ *
42
+ * @throws {@link InternalServerException} (server fault)
43
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
44
+ *
45
+ * @throws {@link ValidationException} (client fault)
46
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
47
+ * input.</p>
48
+ *
49
+ *
37
50
  */
38
51
  export declare class CreateSecurityPolicyCommand extends $Command<CreateSecurityPolicyCommandInput, CreateSecurityPolicyCommandOutput, OpenSearchServerlessClientResolvedConfig> {
39
52
  readonly input: CreateSecurityPolicyCommandInput;
@@ -30,6 +30,19 @@ export interface CreateVpcEndpointCommandOutput extends CreateVpcEndpointRespons
30
30
  * @see {@link CreateVpcEndpointCommandOutput} for command's `response` shape.
31
31
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
32
32
  *
33
+ * @throws {@link ConflictException} (client fault)
34
+ * <p>When creating a collection, thrown when a collection with the same name already exists
35
+ * or is being created. When deleting a collection, thrown when the collection is not in
36
+ * the ACTIVE or FAILED state.</p>
37
+ *
38
+ * @throws {@link InternalServerException} (server fault)
39
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
40
+ *
41
+ * @throws {@link ValidationException} (client fault)
42
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
43
+ * input.</p>
44
+ *
45
+ *
33
46
  */
34
47
  export declare class CreateVpcEndpointCommand extends $Command<CreateVpcEndpointCommandInput, CreateVpcEndpointCommandOutput, OpenSearchServerlessClientResolvedConfig> {
35
48
  readonly input: CreateVpcEndpointCommandInput;
@@ -30,6 +30,22 @@ export interface DeleteAccessPolicyCommandOutput extends DeleteAccessPolicyRespo
30
30
  * @see {@link DeleteAccessPolicyCommandOutput} for command's `response` shape.
31
31
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
32
32
  *
33
+ * @throws {@link ConflictException} (client fault)
34
+ * <p>When creating a collection, thrown when a collection with the same name already exists
35
+ * or is being created. When deleting a collection, thrown when the collection is not in
36
+ * the ACTIVE or FAILED state.</p>
37
+ *
38
+ * @throws {@link InternalServerException} (server fault)
39
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
40
+ *
41
+ * @throws {@link ResourceNotFoundException} (client fault)
42
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
43
+ *
44
+ * @throws {@link ValidationException} (client fault)
45
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
46
+ * input.</p>
47
+ *
48
+ *
33
49
  */
34
50
  export declare class DeleteAccessPolicyCommand extends $Command<DeleteAccessPolicyCommandInput, DeleteAccessPolicyCommandOutput, OpenSearchServerlessClientResolvedConfig> {
35
51
  readonly input: DeleteAccessPolicyCommandInput;
@@ -30,6 +30,22 @@ export interface DeleteCollectionCommandOutput extends DeleteCollectionResponse,
30
30
  * @see {@link DeleteCollectionCommandOutput} for command's `response` shape.
31
31
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
32
32
  *
33
+ * @throws {@link ConflictException} (client fault)
34
+ * <p>When creating a collection, thrown when a collection with the same name already exists
35
+ * or is being created. When deleting a collection, thrown when the collection is not in
36
+ * the ACTIVE or FAILED state.</p>
37
+ *
38
+ * @throws {@link InternalServerException} (server fault)
39
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
40
+ *
41
+ * @throws {@link ResourceNotFoundException} (client fault)
42
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
43
+ *
44
+ * @throws {@link ValidationException} (client fault)
45
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
46
+ * input.</p>
47
+ *
48
+ *
33
49
  */
34
50
  export declare class DeleteCollectionCommand extends $Command<DeleteCollectionCommandInput, DeleteCollectionCommandOutput, OpenSearchServerlessClientResolvedConfig> {
35
51
  readonly input: DeleteCollectionCommandInput;
@@ -31,6 +31,22 @@ export interface DeleteSecurityConfigCommandOutput extends DeleteSecurityConfigR
31
31
  * @see {@link DeleteSecurityConfigCommandOutput} for command's `response` shape.
32
32
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
33
33
  *
34
+ * @throws {@link ConflictException} (client fault)
35
+ * <p>When creating a collection, thrown when a collection with the same name already exists
36
+ * or is being created. When deleting a collection, thrown when the collection is not in
37
+ * the ACTIVE or FAILED state.</p>
38
+ *
39
+ * @throws {@link InternalServerException} (server fault)
40
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
41
+ *
42
+ * @throws {@link ResourceNotFoundException} (client fault)
43
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
44
+ *
45
+ * @throws {@link ValidationException} (client fault)
46
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
47
+ * input.</p>
48
+ *
49
+ *
34
50
  */
35
51
  export declare class DeleteSecurityConfigCommand extends $Command<DeleteSecurityConfigCommandInput, DeleteSecurityConfigCommandOutput, OpenSearchServerlessClientResolvedConfig> {
36
52
  readonly input: DeleteSecurityConfigCommandInput;
@@ -29,6 +29,22 @@ export interface DeleteSecurityPolicyCommandOutput extends DeleteSecurityPolicyR
29
29
  * @see {@link DeleteSecurityPolicyCommandOutput} for command's `response` shape.
30
30
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
31
31
  *
32
+ * @throws {@link ConflictException} (client fault)
33
+ * <p>When creating a collection, thrown when a collection with the same name already exists
34
+ * or is being created. When deleting a collection, thrown when the collection is not in
35
+ * the ACTIVE or FAILED state.</p>
36
+ *
37
+ * @throws {@link InternalServerException} (server fault)
38
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
39
+ *
40
+ * @throws {@link ResourceNotFoundException} (client fault)
41
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
42
+ *
43
+ * @throws {@link ValidationException} (client fault)
44
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
45
+ * input.</p>
46
+ *
47
+ *
32
48
  */
33
49
  export declare class DeleteSecurityPolicyCommand extends $Command<DeleteSecurityPolicyCommandInput, DeleteSecurityPolicyCommandOutput, OpenSearchServerlessClientResolvedConfig> {
34
50
  readonly input: DeleteSecurityPolicyCommandInput;
@@ -30,6 +30,22 @@ export interface DeleteVpcEndpointCommandOutput extends DeleteVpcEndpointRespons
30
30
  * @see {@link DeleteVpcEndpointCommandOutput} for command's `response` shape.
31
31
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
32
32
  *
33
+ * @throws {@link ConflictException} (client fault)
34
+ * <p>When creating a collection, thrown when a collection with the same name already exists
35
+ * or is being created. When deleting a collection, thrown when the collection is not in
36
+ * the ACTIVE or FAILED state.</p>
37
+ *
38
+ * @throws {@link InternalServerException} (server fault)
39
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
40
+ *
41
+ * @throws {@link ResourceNotFoundException} (client fault)
42
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
43
+ *
44
+ * @throws {@link ValidationException} (client fault)
45
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
46
+ * input.</p>
47
+ *
48
+ *
33
49
  */
34
50
  export declare class DeleteVpcEndpointCommand extends $Command<DeleteVpcEndpointCommandInput, DeleteVpcEndpointCommandOutput, OpenSearchServerlessClientResolvedConfig> {
35
51
  readonly input: DeleteVpcEndpointCommandInput;
@@ -30,6 +30,17 @@ export interface GetAccessPolicyCommandOutput extends GetAccessPolicyResponse, _
30
30
  * @see {@link GetAccessPolicyCommandOutput} for command's `response` shape.
31
31
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
32
32
  *
33
+ * @throws {@link InternalServerException} (server fault)
34
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
35
+ *
36
+ * @throws {@link ResourceNotFoundException} (client fault)
37
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
38
+ *
39
+ * @throws {@link ValidationException} (client fault)
40
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
41
+ * input.</p>
42
+ *
43
+ *
33
44
  */
34
45
  export declare class GetAccessPolicyCommand extends $Command<GetAccessPolicyCommandInput, GetAccessPolicyCommandOutput, OpenSearchServerlessClientResolvedConfig> {
35
46
  readonly input: GetAccessPolicyCommandInput;
@@ -29,6 +29,14 @@ export interface GetAccountSettingsCommandOutput extends GetAccountSettingsRespo
29
29
  * @see {@link GetAccountSettingsCommandOutput} for command's `response` shape.
30
30
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
31
31
  *
32
+ * @throws {@link InternalServerException} (server fault)
33
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
34
+ *
35
+ * @throws {@link ValidationException} (client fault)
36
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
37
+ * input.</p>
38
+ *
39
+ *
32
40
  */
33
41
  export declare class GetAccountSettingsCommand extends $Command<GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput, OpenSearchServerlessClientResolvedConfig> {
34
42
  readonly input: GetAccountSettingsCommandInput;
@@ -30,6 +30,10 @@ export interface GetPoliciesStatsCommandOutput extends GetPoliciesStatsResponse,
30
30
  * @see {@link GetPoliciesStatsCommandOutput} for command's `response` shape.
31
31
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
32
32
  *
33
+ * @throws {@link InternalServerException} (server fault)
34
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
35
+ *
36
+ *
33
37
  */
34
38
  export declare class GetPoliciesStatsCommand extends $Command<GetPoliciesStatsCommandInput, GetPoliciesStatsCommandOutput, OpenSearchServerlessClientResolvedConfig> {
35
39
  readonly input: GetPoliciesStatsCommandInput;
@@ -31,6 +31,17 @@ export interface GetSecurityConfigCommandOutput extends GetSecurityConfigRespons
31
31
  * @see {@link GetSecurityConfigCommandOutput} for command's `response` shape.
32
32
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
33
33
  *
34
+ * @throws {@link InternalServerException} (server fault)
35
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
36
+ *
37
+ * @throws {@link ResourceNotFoundException} (client fault)
38
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
39
+ *
40
+ * @throws {@link ValidationException} (client fault)
41
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
42
+ * input.</p>
43
+ *
44
+ *
34
45
  */
35
46
  export declare class GetSecurityConfigCommand extends $Command<GetSecurityConfigCommandInput, GetSecurityConfigCommandOutput, OpenSearchServerlessClientResolvedConfig> {
36
47
  readonly input: GetSecurityConfigCommandInput;
@@ -31,6 +31,17 @@ export interface GetSecurityPolicyCommandOutput extends GetSecurityPolicyRespons
31
31
  * @see {@link GetSecurityPolicyCommandOutput} for command's `response` shape.
32
32
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
33
33
  *
34
+ * @throws {@link InternalServerException} (server fault)
35
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
36
+ *
37
+ * @throws {@link ResourceNotFoundException} (client fault)
38
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
39
+ *
40
+ * @throws {@link ValidationException} (client fault)
41
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
42
+ * input.</p>
43
+ *
44
+ *
34
45
  */
35
46
  export declare class GetSecurityPolicyCommand extends $Command<GetSecurityPolicyCommandInput, GetSecurityPolicyCommandOutput, OpenSearchServerlessClientResolvedConfig> {
36
47
  readonly input: GetSecurityPolicyCommandInput;
@@ -29,6 +29,14 @@ export interface ListAccessPoliciesCommandOutput extends ListAccessPoliciesRespo
29
29
  * @see {@link ListAccessPoliciesCommandOutput} for command's `response` shape.
30
30
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
31
31
  *
32
+ * @throws {@link InternalServerException} (server fault)
33
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
34
+ *
35
+ * @throws {@link ValidationException} (client fault)
36
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
37
+ * input.</p>
38
+ *
39
+ *
32
40
  */
33
41
  export declare class ListAccessPoliciesCommand extends $Command<ListAccessPoliciesCommandInput, ListAccessPoliciesCommandOutput, OpenSearchServerlessClientResolvedConfig> {
34
42
  readonly input: ListAccessPoliciesCommandInput;
@@ -34,6 +34,14 @@ export interface ListCollectionsCommandOutput extends ListCollectionsResponse, _
34
34
  * @see {@link ListCollectionsCommandOutput} for command's `response` shape.
35
35
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
36
36
  *
37
+ * @throws {@link InternalServerException} (server fault)
38
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
39
+ *
40
+ * @throws {@link ValidationException} (client fault)
41
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
42
+ * input.</p>
43
+ *
44
+ *
37
45
  */
38
46
  export declare class ListCollectionsCommand extends $Command<ListCollectionsCommandInput, ListCollectionsCommandOutput, OpenSearchServerlessClientResolvedConfig> {
39
47
  readonly input: ListCollectionsCommandInput;
@@ -31,6 +31,14 @@ export interface ListSecurityConfigsCommandOutput extends ListSecurityConfigsRes
31
31
  * @see {@link ListSecurityConfigsCommandOutput} for command's `response` shape.
32
32
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
33
33
  *
34
+ * @throws {@link InternalServerException} (server fault)
35
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
36
+ *
37
+ * @throws {@link ValidationException} (client fault)
38
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
39
+ * input.</p>
40
+ *
41
+ *
34
42
  */
35
43
  export declare class ListSecurityConfigsCommand extends $Command<ListSecurityConfigsCommandInput, ListSecurityConfigsCommandOutput, OpenSearchServerlessClientResolvedConfig> {
36
44
  readonly input: ListSecurityConfigsCommandInput;
@@ -29,6 +29,14 @@ export interface ListSecurityPoliciesCommandOutput extends ListSecurityPoliciesR
29
29
  * @see {@link ListSecurityPoliciesCommandOutput} for command's `response` shape.
30
30
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
31
31
  *
32
+ * @throws {@link InternalServerException} (server fault)
33
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
34
+ *
35
+ * @throws {@link ValidationException} (client fault)
36
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
37
+ * input.</p>
38
+ *
39
+ *
32
40
  */
33
41
  export declare class ListSecurityPoliciesCommand extends $Command<ListSecurityPoliciesCommandInput, ListSecurityPoliciesCommandOutput, OpenSearchServerlessClientResolvedConfig> {
34
42
  readonly input: ListSecurityPoliciesCommandInput;
@@ -29,6 +29,17 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
29
29
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
30
30
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
31
31
  *
32
+ * @throws {@link InternalServerException} (server fault)
33
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
34
+ *
35
+ * @throws {@link ResourceNotFoundException} (client fault)
36
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
37
+ *
38
+ * @throws {@link ValidationException} (client fault)
39
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
40
+ * input.</p>
41
+ *
42
+ *
32
43
  */
33
44
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, OpenSearchServerlessClientResolvedConfig> {
34
45
  readonly input: ListTagsForResourceCommandInput;
@@ -31,6 +31,14 @@ export interface ListVpcEndpointsCommandOutput extends ListVpcEndpointsResponse,
31
31
  * @see {@link ListVpcEndpointsCommandOutput} for command's `response` shape.
32
32
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
33
33
  *
34
+ * @throws {@link InternalServerException} (server fault)
35
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
36
+ *
37
+ * @throws {@link ValidationException} (client fault)
38
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
39
+ * input.</p>
40
+ *
41
+ *
34
42
  */
35
43
  export declare class ListVpcEndpointsCommand extends $Command<ListVpcEndpointsCommandInput, ListVpcEndpointsCommandOutput, OpenSearchServerlessClientResolvedConfig> {
36
44
  readonly input: ListVpcEndpointsCommandInput;
@@ -29,6 +29,22 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
29
29
  * @see {@link TagResourceCommandOutput} for command's `response` shape.
30
30
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
31
31
  *
32
+ * @throws {@link ConflictException} (client fault)
33
+ * <p>When creating a collection, thrown when a collection with the same name already exists
34
+ * or is being created. When deleting a collection, thrown when the collection is not in
35
+ * the ACTIVE or FAILED state.</p>
36
+ *
37
+ * @throws {@link InternalServerException} (server fault)
38
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
39
+ *
40
+ * @throws {@link ResourceNotFoundException} (client fault)
41
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
42
+ *
43
+ * @throws {@link ValidationException} (client fault)
44
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
45
+ * input.</p>
46
+ *
47
+ *
32
48
  */
33
49
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, OpenSearchServerlessClientResolvedConfig> {
34
50
  readonly input: TagResourceCommandInput;
@@ -29,6 +29,22 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
29
29
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
30
30
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
31
31
  *
32
+ * @throws {@link ConflictException} (client fault)
33
+ * <p>When creating a collection, thrown when a collection with the same name already exists
34
+ * or is being created. When deleting a collection, thrown when the collection is not in
35
+ * the ACTIVE or FAILED state.</p>
36
+ *
37
+ * @throws {@link InternalServerException} (server fault)
38
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
39
+ *
40
+ * @throws {@link ResourceNotFoundException} (client fault)
41
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
42
+ *
43
+ * @throws {@link ValidationException} (client fault)
44
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
45
+ * input.</p>
46
+ *
47
+ *
32
48
  */
33
49
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, OpenSearchServerlessClientResolvedConfig> {
34
50
  readonly input: UntagResourceCommandInput;
@@ -30,6 +30,22 @@ export interface UpdateAccessPolicyCommandOutput extends UpdateAccessPolicyRespo
30
30
  * @see {@link UpdateAccessPolicyCommandOutput} for command's `response` shape.
31
31
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
32
32
  *
33
+ * @throws {@link ConflictException} (client fault)
34
+ * <p>When creating a collection, thrown when a collection with the same name already exists
35
+ * or is being created. When deleting a collection, thrown when the collection is not in
36
+ * the ACTIVE or FAILED state.</p>
37
+ *
38
+ * @throws {@link InternalServerException} (server fault)
39
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
40
+ *
41
+ * @throws {@link ResourceNotFoundException} (client fault)
42
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
43
+ *
44
+ * @throws {@link ValidationException} (client fault)
45
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
46
+ * input.</p>
47
+ *
48
+ *
33
49
  */
34
50
  export declare class UpdateAccessPolicyCommand extends $Command<UpdateAccessPolicyCommandInput, UpdateAccessPolicyCommandOutput, OpenSearchServerlessClientResolvedConfig> {
35
51
  readonly input: UpdateAccessPolicyCommandInput;
@@ -30,6 +30,14 @@ export interface UpdateAccountSettingsCommandOutput extends UpdateAccountSetting
30
30
  * @see {@link UpdateAccountSettingsCommandOutput} for command's `response` shape.
31
31
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
32
32
  *
33
+ * @throws {@link InternalServerException} (server fault)
34
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
35
+ *
36
+ * @throws {@link ValidationException} (client fault)
37
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
38
+ * input.</p>
39
+ *
40
+ *
33
41
  */
34
42
  export declare class UpdateAccountSettingsCommand extends $Command<UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput, OpenSearchServerlessClientResolvedConfig> {
35
43
  readonly input: UpdateAccountSettingsCommandInput;
@@ -29,6 +29,19 @@ export interface UpdateCollectionCommandOutput extends UpdateCollectionResponse,
29
29
  * @see {@link UpdateCollectionCommandOutput} for command's `response` shape.
30
30
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
31
31
  *
32
+ * @throws {@link ConflictException} (client fault)
33
+ * <p>When creating a collection, thrown when a collection with the same name already exists
34
+ * or is being created. When deleting a collection, thrown when the collection is not in
35
+ * the ACTIVE or FAILED state.</p>
36
+ *
37
+ * @throws {@link InternalServerException} (server fault)
38
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
39
+ *
40
+ * @throws {@link ValidationException} (client fault)
41
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
42
+ * input.</p>
43
+ *
44
+ *
32
45
  */
33
46
  export declare class UpdateCollectionCommand extends $Command<UpdateCollectionCommandInput, UpdateCollectionCommandOutput, OpenSearchServerlessClientResolvedConfig> {
34
47
  readonly input: UpdateCollectionCommandInput;
@@ -31,6 +31,22 @@ export interface UpdateSecurityConfigCommandOutput extends UpdateSecurityConfigR
31
31
  * @see {@link UpdateSecurityConfigCommandOutput} for command's `response` shape.
32
32
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
33
33
  *
34
+ * @throws {@link ConflictException} (client fault)
35
+ * <p>When creating a collection, thrown when a collection with the same name already exists
36
+ * or is being created. When deleting a collection, thrown when the collection is not in
37
+ * the ACTIVE or FAILED state.</p>
38
+ *
39
+ * @throws {@link InternalServerException} (server fault)
40
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
41
+ *
42
+ * @throws {@link ResourceNotFoundException} (client fault)
43
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
44
+ *
45
+ * @throws {@link ValidationException} (client fault)
46
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
47
+ * input.</p>
48
+ *
49
+ *
34
50
  */
35
51
  export declare class UpdateSecurityConfigCommand extends $Command<UpdateSecurityConfigCommandInput, UpdateSecurityConfigCommandOutput, OpenSearchServerlessClientResolvedConfig> {
36
52
  readonly input: UpdateSecurityConfigCommandInput;
@@ -31,6 +31,22 @@ export interface UpdateSecurityPolicyCommandOutput extends UpdateSecurityPolicyR
31
31
  * @see {@link UpdateSecurityPolicyCommandOutput} for command's `response` shape.
32
32
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
33
33
  *
34
+ * @throws {@link ConflictException} (client fault)
35
+ * <p>When creating a collection, thrown when a collection with the same name already exists
36
+ * or is being created. When deleting a collection, thrown when the collection is not in
37
+ * the ACTIVE or FAILED state.</p>
38
+ *
39
+ * @throws {@link InternalServerException} (server fault)
40
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
41
+ *
42
+ * @throws {@link ResourceNotFoundException} (client fault)
43
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
44
+ *
45
+ * @throws {@link ValidationException} (client fault)
46
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
47
+ * input.</p>
48
+ *
49
+ *
34
50
  */
35
51
  export declare class UpdateSecurityPolicyCommand extends $Command<UpdateSecurityPolicyCommandInput, UpdateSecurityPolicyCommandOutput, OpenSearchServerlessClientResolvedConfig> {
36
52
  readonly input: UpdateSecurityPolicyCommandInput;
@@ -30,6 +30,19 @@ export interface UpdateVpcEndpointCommandOutput extends UpdateVpcEndpointRespons
30
30
  * @see {@link UpdateVpcEndpointCommandOutput} for command's `response` shape.
31
31
  * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
32
32
  *
33
+ * @throws {@link ConflictException} (client fault)
34
+ * <p>When creating a collection, thrown when a collection with the same name already exists
35
+ * or is being created. When deleting a collection, thrown when the collection is not in
36
+ * the ACTIVE or FAILED state.</p>
37
+ *
38
+ * @throws {@link InternalServerException} (server fault)
39
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
40
+ *
41
+ * @throws {@link ValidationException} (client fault)
42
+ * <p>Thrown when the HTTP request contains invalid input or is missing required
43
+ * input.</p>
44
+ *
45
+ *
33
46
  */
34
47
  export declare class UpdateVpcEndpointCommand extends $Command<UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput, OpenSearchServerlessClientResolvedConfig> {
35
48
  readonly input: UpdateVpcEndpointCommandInput;
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.289.0",
4
+ "version": "3.290.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",
@@ -20,37 +20,37 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.289.0",
24
- "@aws-sdk/config-resolver": "3.289.0",
25
- "@aws-sdk/credential-provider-node": "3.289.0",
26
- "@aws-sdk/fetch-http-handler": "3.289.0",
27
- "@aws-sdk/hash-node": "3.289.0",
28
- "@aws-sdk/invalid-dependency": "3.289.0",
29
- "@aws-sdk/middleware-content-length": "3.289.0",
30
- "@aws-sdk/middleware-endpoint": "3.289.0",
31
- "@aws-sdk/middleware-host-header": "3.289.0",
32
- "@aws-sdk/middleware-logger": "3.289.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.289.0",
34
- "@aws-sdk/middleware-retry": "3.289.0",
35
- "@aws-sdk/middleware-serde": "3.289.0",
36
- "@aws-sdk/middleware-signing": "3.289.0",
37
- "@aws-sdk/middleware-stack": "3.289.0",
38
- "@aws-sdk/middleware-user-agent": "3.289.0",
39
- "@aws-sdk/node-config-provider": "3.289.0",
40
- "@aws-sdk/node-http-handler": "3.289.0",
41
- "@aws-sdk/protocol-http": "3.289.0",
42
- "@aws-sdk/smithy-client": "3.289.0",
43
- "@aws-sdk/types": "3.289.0",
44
- "@aws-sdk/url-parser": "3.289.0",
23
+ "@aws-sdk/client-sts": "3.290.0",
24
+ "@aws-sdk/config-resolver": "3.290.0",
25
+ "@aws-sdk/credential-provider-node": "3.290.0",
26
+ "@aws-sdk/fetch-http-handler": "3.290.0",
27
+ "@aws-sdk/hash-node": "3.290.0",
28
+ "@aws-sdk/invalid-dependency": "3.290.0",
29
+ "@aws-sdk/middleware-content-length": "3.290.0",
30
+ "@aws-sdk/middleware-endpoint": "3.290.0",
31
+ "@aws-sdk/middleware-host-header": "3.290.0",
32
+ "@aws-sdk/middleware-logger": "3.290.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.290.0",
34
+ "@aws-sdk/middleware-retry": "3.290.0",
35
+ "@aws-sdk/middleware-serde": "3.290.0",
36
+ "@aws-sdk/middleware-signing": "3.290.0",
37
+ "@aws-sdk/middleware-stack": "3.290.0",
38
+ "@aws-sdk/middleware-user-agent": "3.290.0",
39
+ "@aws-sdk/node-config-provider": "3.290.0",
40
+ "@aws-sdk/node-http-handler": "3.290.0",
41
+ "@aws-sdk/protocol-http": "3.290.0",
42
+ "@aws-sdk/smithy-client": "3.290.0",
43
+ "@aws-sdk/types": "3.290.0",
44
+ "@aws-sdk/url-parser": "3.290.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.289.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.289.0",
50
- "@aws-sdk/util-endpoints": "3.289.0",
51
- "@aws-sdk/util-retry": "3.289.0",
52
- "@aws-sdk/util-user-agent-browser": "3.289.0",
53
- "@aws-sdk/util-user-agent-node": "3.289.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.290.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.290.0",
50
+ "@aws-sdk/util-endpoints": "3.290.0",
51
+ "@aws-sdk/util-retry": "3.290.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.290.0",
53
+ "@aws-sdk/util-user-agent-node": "3.290.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "tslib": "^2.3.1",
56
56
  "uuid": "^8.3.2"