@aws-sdk/client-opensearchserverless 3.299.0 → 3.301.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 +5 -0
  3. package/dist-types/commands/CreateAccessPolicyCommand.d.ts +7 -0
  4. package/dist-types/commands/CreateCollectionCommand.d.ts +12 -0
  5. package/dist-types/commands/CreateSecurityConfigCommand.d.ts +12 -0
  6. package/dist-types/commands/CreateSecurityPolicyCommand.d.ts +7 -0
  7. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +11 -0
  8. package/dist-types/commands/DeleteAccessPolicyCommand.d.ts +5 -0
  9. package/dist-types/commands/DeleteCollectionCommand.d.ts +4 -0
  10. package/dist-types/commands/DeleteSecurityConfigCommand.d.ts +4 -0
  11. package/dist-types/commands/DeleteSecurityPolicyCommand.d.ts +5 -0
  12. package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +4 -0
  13. package/dist-types/commands/GetAccessPolicyCommand.d.ts +4 -0
  14. package/dist-types/commands/GetAccountSettingsCommand.d.ts +1 -0
  15. package/dist-types/commands/GetPoliciesStatsCommand.d.ts +1 -0
  16. package/dist-types/commands/GetSecurityConfigCommand.d.ts +3 -0
  17. package/dist-types/commands/GetSecurityPolicyCommand.d.ts +4 -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 +5 -0
  21. package/dist-types/commands/ListSecurityPoliciesCommand.d.ts +8 -0
  22. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  23. package/dist-types/commands/ListVpcEndpointsCommand.d.ts +7 -0
  24. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  25. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  26. package/dist-types/commands/UpdateAccessPolicyCommand.d.ts +8 -0
  27. package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +6 -0
  28. package/dist-types/commands/UpdateCollectionCommand.d.ts +5 -0
  29. package/dist-types/commands/UpdateSecurityConfigCommand.d.ts +12 -0
  30. package/dist-types/commands/UpdateSecurityPolicyCommand.d.ts +8 -0
  31. package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +16 -0
  32. package/package.json +8 -8
@@ -28,6 +28,14 @@ export interface BatchGetCollectionCommandOutput extends BatchGetCollectionRespo
28
28
  * import { OpenSearchServerlessClient, BatchGetCollectionCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
29
29
  * // const { OpenSearchServerlessClient, BatchGetCollectionCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
30
30
  * const client = new OpenSearchServerlessClient(config);
31
+ * const input = { // BatchGetCollectionRequest
32
+ * ids: [ // CollectionIds
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * names: [ // CollectionNames
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * };
31
39
  * const command = new BatchGetCollectionCommand(input);
32
40
  * const response = await client.send(command);
33
41
  * ```
@@ -28,6 +28,11 @@ export interface BatchGetVpcEndpointCommandOutput extends BatchGetVpcEndpointRes
28
28
  * import { OpenSearchServerlessClient, BatchGetVpcEndpointCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
29
29
  * // const { OpenSearchServerlessClient, BatchGetVpcEndpointCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
30
30
  * const client = new OpenSearchServerlessClient(config);
31
+ * const input = { // BatchGetVpcEndpointRequest
32
+ * ids: [ // VpcEndpointIds // required
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * };
31
36
  * const command = new BatchGetVpcEndpointCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -29,6 +29,13 @@ export interface CreateAccessPolicyCommandOutput extends CreateAccessPolicyRespo
29
29
  * import { OpenSearchServerlessClient, CreateAccessPolicyCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
30
30
  * // const { OpenSearchServerlessClient, CreateAccessPolicyCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
31
31
  * const client = new OpenSearchServerlessClient(config);
32
+ * const input = { // CreateAccessPolicyRequest
33
+ * type: "STRING_VALUE", // required
34
+ * name: "STRING_VALUE", // required
35
+ * description: "STRING_VALUE",
36
+ * policy: "STRING_VALUE", // required
37
+ * clientToken: "STRING_VALUE",
38
+ * };
32
39
  * const command = new CreateAccessPolicyCommand(input);
33
40
  * const response = await client.send(command);
34
41
  * ```
@@ -27,6 +27,18 @@ export interface CreateCollectionCommandOutput extends CreateCollectionResponse,
27
27
  * import { OpenSearchServerlessClient, CreateCollectionCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
28
28
  * // const { OpenSearchServerlessClient, CreateCollectionCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
29
29
  * const client = new OpenSearchServerlessClient(config);
30
+ * const input = { // CreateCollectionRequest
31
+ * name: "STRING_VALUE", // required
32
+ * type: "STRING_VALUE",
33
+ * description: "STRING_VALUE",
34
+ * tags: [ // Tags
35
+ * { // Tag
36
+ * key: "STRING_VALUE", // required
37
+ * value: "STRING_VALUE", // required
38
+ * },
39
+ * ],
40
+ * clientToken: "STRING_VALUE",
41
+ * };
30
42
  * const command = new CreateCollectionCommand(input);
31
43
  * const response = await client.send(command);
32
44
  * ```
@@ -28,6 +28,18 @@ export interface CreateSecurityConfigCommandOutput extends CreateSecurityConfigR
28
28
  * import { OpenSearchServerlessClient, CreateSecurityConfigCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
29
29
  * // const { OpenSearchServerlessClient, CreateSecurityConfigCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
30
30
  * const client = new OpenSearchServerlessClient(config);
31
+ * const input = { // CreateSecurityConfigRequest
32
+ * type: "STRING_VALUE", // required
33
+ * name: "STRING_VALUE", // required
34
+ * description: "STRING_VALUE",
35
+ * samlOptions: { // SamlConfigOptions
36
+ * metadata: "STRING_VALUE", // required
37
+ * userAttribute: "STRING_VALUE",
38
+ * groupAttribute: "STRING_VALUE",
39
+ * sessionTimeout: Number("int"),
40
+ * },
41
+ * clientToken: "STRING_VALUE",
42
+ * };
31
43
  * const command = new CreateSecurityConfigCommand(input);
32
44
  * const response = await client.send(command);
33
45
  * ```
@@ -31,6 +31,13 @@ export interface CreateSecurityPolicyCommandOutput extends CreateSecurityPolicyR
31
31
  * import { OpenSearchServerlessClient, CreateSecurityPolicyCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
32
32
  * // const { OpenSearchServerlessClient, CreateSecurityPolicyCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
33
33
  * const client = new OpenSearchServerlessClient(config);
34
+ * const input = { // CreateSecurityPolicyRequest
35
+ * type: "STRING_VALUE", // required
36
+ * name: "STRING_VALUE", // required
37
+ * description: "STRING_VALUE",
38
+ * policy: "STRING_VALUE", // required
39
+ * clientToken: "STRING_VALUE",
40
+ * };
34
41
  * const command = new CreateSecurityPolicyCommand(input);
35
42
  * const response = await client.send(command);
36
43
  * ```
@@ -27,6 +27,17 @@ export interface CreateVpcEndpointCommandOutput extends CreateVpcEndpointRespons
27
27
  * import { OpenSearchServerlessClient, CreateVpcEndpointCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
28
28
  * // const { OpenSearchServerlessClient, CreateVpcEndpointCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
29
29
  * const client = new OpenSearchServerlessClient(config);
30
+ * const input = { // CreateVpcEndpointRequest
31
+ * name: "STRING_VALUE", // required
32
+ * vpcId: "STRING_VALUE", // required
33
+ * subnetIds: [ // SubnetIds // required
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * securityGroupIds: [ // SecurityGroupIds
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * clientToken: "STRING_VALUE",
40
+ * };
30
41
  * const command = new CreateVpcEndpointCommand(input);
31
42
  * const response = await client.send(command);
32
43
  * ```
@@ -27,6 +27,11 @@ export interface DeleteAccessPolicyCommandOutput extends DeleteAccessPolicyRespo
27
27
  * import { OpenSearchServerlessClient, DeleteAccessPolicyCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
28
28
  * // const { OpenSearchServerlessClient, DeleteAccessPolicyCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
29
29
  * const client = new OpenSearchServerlessClient(config);
30
+ * const input = { // DeleteAccessPolicyRequest
31
+ * type: "STRING_VALUE", // required
32
+ * name: "STRING_VALUE", // required
33
+ * clientToken: "STRING_VALUE",
34
+ * };
30
35
  * const command = new DeleteAccessPolicyCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,10 @@ export interface DeleteCollectionCommandOutput extends DeleteCollectionResponse,
27
27
  * import { OpenSearchServerlessClient, DeleteCollectionCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
28
28
  * // const { OpenSearchServerlessClient, DeleteCollectionCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
29
29
  * const client = new OpenSearchServerlessClient(config);
30
+ * const input = { // DeleteCollectionRequest
31
+ * id: "STRING_VALUE", // required
32
+ * clientToken: "STRING_VALUE",
33
+ * };
30
34
  * const command = new DeleteCollectionCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -28,6 +28,10 @@ export interface DeleteSecurityConfigCommandOutput extends DeleteSecurityConfigR
28
28
  * import { OpenSearchServerlessClient, DeleteSecurityConfigCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
29
29
  * // const { OpenSearchServerlessClient, DeleteSecurityConfigCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
30
30
  * const client = new OpenSearchServerlessClient(config);
31
+ * const input = { // DeleteSecurityConfigRequest
32
+ * id: "STRING_VALUE", // required
33
+ * clientToken: "STRING_VALUE",
34
+ * };
31
35
  * const command = new DeleteSecurityConfigCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -26,6 +26,11 @@ export interface DeleteSecurityPolicyCommandOutput extends DeleteSecurityPolicyR
26
26
  * import { OpenSearchServerlessClient, DeleteSecurityPolicyCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
27
27
  * // const { OpenSearchServerlessClient, DeleteSecurityPolicyCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
28
28
  * const client = new OpenSearchServerlessClient(config);
29
+ * const input = { // DeleteSecurityPolicyRequest
30
+ * type: "STRING_VALUE", // required
31
+ * name: "STRING_VALUE", // required
32
+ * clientToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new DeleteSecurityPolicyCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,10 @@ export interface DeleteVpcEndpointCommandOutput extends DeleteVpcEndpointRespons
27
27
  * import { OpenSearchServerlessClient, DeleteVpcEndpointCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
28
28
  * // const { OpenSearchServerlessClient, DeleteVpcEndpointCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
29
29
  * const client = new OpenSearchServerlessClient(config);
30
+ * const input = { // DeleteVpcEndpointRequest
31
+ * id: "STRING_VALUE", // required
32
+ * clientToken: "STRING_VALUE",
33
+ * };
30
34
  * const command = new DeleteVpcEndpointCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -27,6 +27,10 @@ export interface GetAccessPolicyCommandOutput extends GetAccessPolicyResponse, _
27
27
  * import { OpenSearchServerlessClient, GetAccessPolicyCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
28
28
  * // const { OpenSearchServerlessClient, GetAccessPolicyCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
29
29
  * const client = new OpenSearchServerlessClient(config);
30
+ * const input = { // GetAccessPolicyRequest
31
+ * type: "STRING_VALUE", // required
32
+ * name: "STRING_VALUE", // required
33
+ * };
30
34
  * const command = new GetAccessPolicyCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -26,6 +26,7 @@ export interface GetAccountSettingsCommandOutput extends GetAccountSettingsRespo
26
26
  * import { OpenSearchServerlessClient, GetAccountSettingsCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
27
27
  * // const { OpenSearchServerlessClient, GetAccountSettingsCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
28
28
  * const client = new OpenSearchServerlessClient(config);
29
+ * const input = {};
29
30
  * const command = new GetAccountSettingsCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -27,6 +27,7 @@ export interface GetPoliciesStatsCommandOutput extends GetPoliciesStatsResponse,
27
27
  * import { OpenSearchServerlessClient, GetPoliciesStatsCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
28
28
  * // const { OpenSearchServerlessClient, GetPoliciesStatsCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
29
29
  * const client = new OpenSearchServerlessClient(config);
30
+ * const input = {};
30
31
  * const command = new GetPoliciesStatsCommand(input);
31
32
  * const response = await client.send(command);
32
33
  * ```
@@ -28,6 +28,9 @@ export interface GetSecurityConfigCommandOutput extends GetSecurityConfigRespons
28
28
  * import { OpenSearchServerlessClient, GetSecurityConfigCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
29
29
  * // const { OpenSearchServerlessClient, GetSecurityConfigCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
30
30
  * const client = new OpenSearchServerlessClient(config);
31
+ * const input = { // GetSecurityConfigRequest
32
+ * id: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new GetSecurityConfigCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -28,6 +28,10 @@ export interface GetSecurityPolicyCommandOutput extends GetSecurityPolicyRespons
28
28
  * import { OpenSearchServerlessClient, GetSecurityPolicyCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
29
29
  * // const { OpenSearchServerlessClient, GetSecurityPolicyCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
30
30
  * const client = new OpenSearchServerlessClient(config);
31
+ * const input = { // GetSecurityPolicyRequest
32
+ * type: "STRING_VALUE", // required
33
+ * name: "STRING_VALUE", // required
34
+ * };
31
35
  * const command = new GetSecurityPolicyCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -26,6 +26,14 @@ export interface ListAccessPoliciesCommandOutput extends ListAccessPoliciesRespo
26
26
  * import { OpenSearchServerlessClient, ListAccessPoliciesCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
27
27
  * // const { OpenSearchServerlessClient, ListAccessPoliciesCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
28
28
  * const client = new OpenSearchServerlessClient(config);
29
+ * const input = { // ListAccessPoliciesRequest
30
+ * type: "STRING_VALUE", // required
31
+ * resource: [ // ResourceFilter
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
29
37
  * const command = new ListAccessPoliciesCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -31,6 +31,14 @@ export interface ListCollectionsCommandOutput extends ListCollectionsResponse, _
31
31
  * import { OpenSearchServerlessClient, ListCollectionsCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
32
32
  * // const { OpenSearchServerlessClient, ListCollectionsCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
33
33
  * const client = new OpenSearchServerlessClient(config);
34
+ * const input = { // ListCollectionsRequest
35
+ * collectionFilters: { // CollectionFilters
36
+ * name: "STRING_VALUE",
37
+ * status: "STRING_VALUE",
38
+ * },
39
+ * nextToken: "STRING_VALUE",
40
+ * maxResults: Number("int"),
41
+ * };
34
42
  * const command = new ListCollectionsCommand(input);
35
43
  * const response = await client.send(command);
36
44
  * ```
@@ -28,6 +28,11 @@ export interface ListSecurityConfigsCommandOutput extends ListSecurityConfigsRes
28
28
  * import { OpenSearchServerlessClient, ListSecurityConfigsCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
29
29
  * // const { OpenSearchServerlessClient, ListSecurityConfigsCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
30
30
  * const client = new OpenSearchServerlessClient(config);
31
+ * const input = { // ListSecurityConfigsRequest
32
+ * type: "STRING_VALUE", // required
33
+ * nextToken: "STRING_VALUE",
34
+ * maxResults: Number("int"),
35
+ * };
31
36
  * const command = new ListSecurityConfigsCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -26,6 +26,14 @@ export interface ListSecurityPoliciesCommandOutput extends ListSecurityPoliciesR
26
26
  * import { OpenSearchServerlessClient, ListSecurityPoliciesCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
27
27
  * // const { OpenSearchServerlessClient, ListSecurityPoliciesCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
28
28
  * const client = new OpenSearchServerlessClient(config);
29
+ * const input = { // ListSecurityPoliciesRequest
30
+ * type: "STRING_VALUE", // required
31
+ * resource: [ // ResourceFilter
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
29
37
  * const command = new ListSecurityPoliciesCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { OpenSearchServerlessClient, ListTagsForResourceCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
27
27
  * // const { OpenSearchServerlessClient, ListTagsForResourceCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
28
28
  * const client = new OpenSearchServerlessClient(config);
29
+ * const input = { // ListTagsForResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -28,6 +28,13 @@ export interface ListVpcEndpointsCommandOutput extends ListVpcEndpointsResponse,
28
28
  * import { OpenSearchServerlessClient, ListVpcEndpointsCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
29
29
  * // const { OpenSearchServerlessClient, ListVpcEndpointsCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
30
30
  * const client = new OpenSearchServerlessClient(config);
31
+ * const input = { // ListVpcEndpointsRequest
32
+ * vpcEndpointFilters: { // VpcEndpointFilters
33
+ * status: "STRING_VALUE",
34
+ * },
35
+ * nextToken: "STRING_VALUE",
36
+ * maxResults: Number("int"),
37
+ * };
31
38
  * const command = new ListVpcEndpointsCommand(input);
32
39
  * const response = await client.send(command);
33
40
  * ```
@@ -26,6 +26,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { OpenSearchServerlessClient, TagResourceCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
27
27
  * // const { OpenSearchServerlessClient, TagResourceCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
28
28
  * const client = new OpenSearchServerlessClient(config);
29
+ * const input = { // TagResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tags: [ // Tags // required
32
+ * { // Tag
33
+ * key: "STRING_VALUE", // required
34
+ * value: "STRING_VALUE", // required
35
+ * },
36
+ * ],
37
+ * };
29
38
  * const command = new TagResourceCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { OpenSearchServerlessClient, UntagResourceCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
27
27
  * // const { OpenSearchServerlessClient, UntagResourceCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
28
28
  * const client = new OpenSearchServerlessClient(config);
29
+ * const input = { // UntagResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tagKeys: [ // TagKeys // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -27,6 +27,14 @@ export interface UpdateAccessPolicyCommandOutput extends UpdateAccessPolicyRespo
27
27
  * import { OpenSearchServerlessClient, UpdateAccessPolicyCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
28
28
  * // const { OpenSearchServerlessClient, UpdateAccessPolicyCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
29
29
  * const client = new OpenSearchServerlessClient(config);
30
+ * const input = { // UpdateAccessPolicyRequest
31
+ * type: "STRING_VALUE", // required
32
+ * name: "STRING_VALUE", // required
33
+ * policyVersion: "STRING_VALUE", // required
34
+ * description: "STRING_VALUE",
35
+ * policy: "STRING_VALUE",
36
+ * clientToken: "STRING_VALUE",
37
+ * };
30
38
  * const command = new UpdateAccessPolicyCommand(input);
31
39
  * const response = await client.send(command);
32
40
  * ```
@@ -27,6 +27,12 @@ export interface UpdateAccountSettingsCommandOutput extends UpdateAccountSetting
27
27
  * import { OpenSearchServerlessClient, UpdateAccountSettingsCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
28
28
  * // const { OpenSearchServerlessClient, UpdateAccountSettingsCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
29
29
  * const client = new OpenSearchServerlessClient(config);
30
+ * const input = { // UpdateAccountSettingsRequest
31
+ * capacityLimits: { // CapacityLimits
32
+ * maxIndexingCapacityInOCU: Number("int"),
33
+ * maxSearchCapacityInOCU: Number("int"),
34
+ * },
35
+ * };
30
36
  * const command = new UpdateAccountSettingsCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -26,6 +26,11 @@ export interface UpdateCollectionCommandOutput extends UpdateCollectionResponse,
26
26
  * import { OpenSearchServerlessClient, UpdateCollectionCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
27
27
  * // const { OpenSearchServerlessClient, UpdateCollectionCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
28
28
  * const client = new OpenSearchServerlessClient(config);
29
+ * const input = { // UpdateCollectionRequest
30
+ * id: "STRING_VALUE", // required
31
+ * description: "STRING_VALUE",
32
+ * clientToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new UpdateCollectionCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -28,6 +28,18 @@ export interface UpdateSecurityConfigCommandOutput extends UpdateSecurityConfigR
28
28
  * import { OpenSearchServerlessClient, UpdateSecurityConfigCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
29
29
  * // const { OpenSearchServerlessClient, UpdateSecurityConfigCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
30
30
  * const client = new OpenSearchServerlessClient(config);
31
+ * const input = { // UpdateSecurityConfigRequest
32
+ * id: "STRING_VALUE", // required
33
+ * configVersion: "STRING_VALUE", // required
34
+ * description: "STRING_VALUE",
35
+ * samlOptions: { // SamlConfigOptions
36
+ * metadata: "STRING_VALUE", // required
37
+ * userAttribute: "STRING_VALUE",
38
+ * groupAttribute: "STRING_VALUE",
39
+ * sessionTimeout: Number("int"),
40
+ * },
41
+ * clientToken: "STRING_VALUE",
42
+ * };
31
43
  * const command = new UpdateSecurityConfigCommand(input);
32
44
  * const response = await client.send(command);
33
45
  * ```
@@ -28,6 +28,14 @@ export interface UpdateSecurityPolicyCommandOutput extends UpdateSecurityPolicyR
28
28
  * import { OpenSearchServerlessClient, UpdateSecurityPolicyCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
29
29
  * // const { OpenSearchServerlessClient, UpdateSecurityPolicyCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
30
30
  * const client = new OpenSearchServerlessClient(config);
31
+ * const input = { // UpdateSecurityPolicyRequest
32
+ * type: "STRING_VALUE", // required
33
+ * name: "STRING_VALUE", // required
34
+ * policyVersion: "STRING_VALUE", // required
35
+ * description: "STRING_VALUE",
36
+ * policy: "STRING_VALUE",
37
+ * clientToken: "STRING_VALUE",
38
+ * };
31
39
  * const command = new UpdateSecurityPolicyCommand(input);
32
40
  * const response = await client.send(command);
33
41
  * ```
@@ -27,6 +27,22 @@ export interface UpdateVpcEndpointCommandOutput extends UpdateVpcEndpointRespons
27
27
  * import { OpenSearchServerlessClient, UpdateVpcEndpointCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
28
28
  * // const { OpenSearchServerlessClient, UpdateVpcEndpointCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
29
29
  * const client = new OpenSearchServerlessClient(config);
30
+ * const input = { // UpdateVpcEndpointRequest
31
+ * id: "STRING_VALUE", // required
32
+ * addSubnetIds: [ // SubnetIds
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * removeSubnetIds: [
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * addSecurityGroupIds: [ // SecurityGroupIds
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * removeSecurityGroupIds: [
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * clientToken: "STRING_VALUE",
45
+ * };
30
46
  * const command = new UpdateVpcEndpointCommand(input);
31
47
  * const response = await client.send(command);
32
48
  * ```
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.299.0",
4
+ "version": "3.301.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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"