@aws-sdk/client-opensearch 3.325.0 → 3.327.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 (80) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/OpenSearch.js +4 -0
  3. package/dist-cjs/commands/DescribeDomainHealthCommand.js +45 -0
  4. package/dist-cjs/commands/DescribeDomainNodesCommand.js +45 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +45 -2
  7. package/dist-cjs/protocols/Aws_restJson1.js +161 -3
  8. package/dist-es/OpenSearch.js +4 -0
  9. package/dist-es/commands/DescribeDomainHealthCommand.js +41 -0
  10. package/dist-es/commands/DescribeDomainNodesCommand.js +41 -0
  11. package/dist-es/commands/index.js +2 -0
  12. package/dist-es/models/models_0.js +42 -0
  13. package/dist-es/protocols/Aws_restJson1.js +155 -1
  14. package/dist-types/OpenSearch.d.ts +14 -0
  15. package/dist-types/OpenSearchClient.d.ts +4 -2
  16. package/dist-types/commands/AcceptInboundConnectionCommand.d.ts +29 -2
  17. package/dist-types/commands/AddTagsCommand.d.ts +4 -0
  18. package/dist-types/commands/AssociatePackageCommand.d.ts +20 -1
  19. package/dist-types/commands/AuthorizeVpcEndpointAccessCommand.d.ts +11 -2
  20. package/dist-types/commands/CancelServiceSoftwareUpdateCommand.d.ts +16 -1
  21. package/dist-types/commands/CreateDomainCommand.d.ts +138 -1
  22. package/dist-types/commands/CreateOutboundConnectionCommand.d.ts +30 -1
  23. package/dist-types/commands/CreatePackageCommand.d.ts +19 -0
  24. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +25 -1
  25. package/dist-types/commands/DeleteDomainCommand.d.ts +137 -1
  26. package/dist-types/commands/DeleteInboundConnectionCommand.d.ts +29 -2
  27. package/dist-types/commands/DeleteOutboundConnectionCommand.d.ts +33 -2
  28. package/dist-types/commands/DeletePackageCommand.d.ts +20 -1
  29. package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +13 -2
  30. package/dist-types/commands/DescribeDomainAutoTunesCommand.d.ts +20 -1
  31. package/dist-types/commands/DescribeDomainChangeProgressCommand.d.ts +26 -1
  32. package/dist-types/commands/DescribeDomainCommand.d.ts +137 -1
  33. package/dist-types/commands/DescribeDomainConfigCommand.d.ts +211 -1
  34. package/dist-types/commands/DescribeDomainHealthCommand.d.ts +109 -0
  35. package/dist-types/commands/DescribeDomainNodesCommand.d.ts +99 -0
  36. package/dist-types/commands/DescribeDomainsCommand.d.ts +138 -0
  37. package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +154 -2
  38. package/dist-types/commands/DescribeInboundConnectionsCommand.d.ts +32 -2
  39. package/dist-types/commands/DescribeInstanceTypeLimitsCommand.d.ts +38 -1
  40. package/dist-types/commands/DescribeOutboundConnectionsCommand.d.ts +36 -2
  41. package/dist-types/commands/DescribePackagesCommand.d.ts +23 -1
  42. package/dist-types/commands/DescribeReservedInstanceOfferingsCommand.d.ts +25 -2
  43. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +31 -2
  44. package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +34 -1
  45. package/dist-types/commands/DissociatePackageCommand.d.ts +20 -1
  46. package/dist-types/commands/GetCompatibleVersionsCommand.d.ts +15 -2
  47. package/dist-types/commands/GetPackageVersionHistoryCommand.d.ts +17 -3
  48. package/dist-types/commands/GetUpgradeHistoryCommand.d.ts +25 -2
  49. package/dist-types/commands/GetUpgradeStatusCommand.d.ts +10 -2
  50. package/dist-types/commands/ListDomainNamesCommand.d.ts +11 -0
  51. package/dist-types/commands/ListDomainsForPackageCommand.d.ts +23 -1
  52. package/dist-types/commands/ListInstanceTypeDetailsCommand.d.ts +25 -1
  53. package/dist-types/commands/ListPackagesForDomainCommand.d.ts +23 -1
  54. package/dist-types/commands/ListScheduledActionsCommand.d.ts +21 -2
  55. package/dist-types/commands/ListTagsCommand.d.ts +12 -1
  56. package/dist-types/commands/ListVersionsCommand.d.ts +10 -1
  57. package/dist-types/commands/ListVpcEndpointAccessCommand.d.ts +14 -2
  58. package/dist-types/commands/ListVpcEndpointsCommand.d.ts +15 -1
  59. package/dist-types/commands/ListVpcEndpointsForDomainCommand.d.ts +16 -2
  60. package/dist-types/commands/PurchaseReservedInstanceOfferingCommand.d.ts +9 -2
  61. package/dist-types/commands/RejectInboundConnectionCommand.d.ts +29 -2
  62. package/dist-types/commands/RemoveTagsCommand.d.ts +4 -0
  63. package/dist-types/commands/RevokeVpcEndpointAccessCommand.d.ts +6 -2
  64. package/dist-types/commands/StartServiceSoftwareUpdateCommand.d.ts +16 -1
  65. package/dist-types/commands/UpdateDomainConfigCommand.d.ts +230 -2
  66. package/dist-types/commands/UpdatePackageCommand.d.ts +20 -1
  67. package/dist-types/commands/UpdateScheduledActionCommand.d.ts +17 -1
  68. package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +26 -2
  69. package/dist-types/commands/UpgradeDomainCommand.d.ts +18 -2
  70. package/dist-types/commands/index.d.ts +2 -0
  71. package/dist-types/models/models_0.d.ts +345 -23
  72. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  73. package/dist-types/ts3.4/OpenSearch.d.ts +34 -0
  74. package/dist-types/ts3.4/OpenSearchClient.d.ts +12 -0
  75. package/dist-types/ts3.4/commands/DescribeDomainHealthCommand.d.ts +41 -0
  76. package/dist-types/ts3.4/commands/DescribeDomainNodesCommand.d.ts +38 -0
  77. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  78. package/dist-types/ts3.4/models/models_0.d.ts +93 -0
  79. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  80. package/package.json +7 -7
@@ -31,6 +31,18 @@ export interface ListVpcEndpointsCommandOutput extends ListVpcEndpointsResponse,
31
31
  * };
32
32
  * const command = new ListVpcEndpointsCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListVpcEndpointsResponse
35
+ * // VpcEndpointSummaryList: [ // VpcEndpointSummaryList // required
36
+ * // { // VpcEndpointSummary
37
+ * // VpcEndpointId: "STRING_VALUE",
38
+ * // VpcEndpointOwner: "STRING_VALUE",
39
+ * // DomainArn: "STRING_VALUE",
40
+ * // Status: "CREATING" || "CREATE_FAILED" || "ACTIVE" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "DELETE_FAILED",
41
+ * // },
42
+ * // ],
43
+ * // NextToken: "STRING_VALUE", // required
44
+ * // };
45
+ *
34
46
  * ```
35
47
  *
36
48
  * @param ListVpcEndpointsCommandInput - {@link ListVpcEndpointsCommandInput}
@@ -43,11 +55,13 @@ export interface ListVpcEndpointsCommandOutput extends ListVpcEndpointsResponse,
43
55
  * <p>An error occurred while processing the request.</p>
44
56
  *
45
57
  * @throws {@link DisabledOperationException} (client fault)
46
- * <p>An error occured because the client wanted to access a not supported operation.</p>
58
+ * <p>An error occured because the client wanted to access an unsupported operation.</p>
47
59
  *
48
60
  * @throws {@link InternalException} (server fault)
49
61
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
50
62
  *
63
+ * @throws {@link OpenSearchServiceException}
64
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
51
65
  *
52
66
  */
53
67
  export declare class ListVpcEndpointsCommand extends $Command<ListVpcEndpointsCommandInput, ListVpcEndpointsCommandOutput, OpenSearchClientResolvedConfig> {
@@ -33,6 +33,18 @@ export interface ListVpcEndpointsForDomainCommandOutput extends ListVpcEndpoints
33
33
  * };
34
34
  * const command = new ListVpcEndpointsForDomainCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListVpcEndpointsForDomainResponse
37
+ * // VpcEndpointSummaryList: [ // VpcEndpointSummaryList // required
38
+ * // { // VpcEndpointSummary
39
+ * // VpcEndpointId: "STRING_VALUE",
40
+ * // VpcEndpointOwner: "STRING_VALUE",
41
+ * // DomainArn: "STRING_VALUE",
42
+ * // Status: "CREATING" || "CREATE_FAILED" || "ACTIVE" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "DELETE_FAILED",
43
+ * // },
44
+ * // ],
45
+ * // NextToken: "STRING_VALUE", // required
46
+ * // };
47
+ *
36
48
  * ```
37
49
  *
38
50
  * @param ListVpcEndpointsForDomainCommandInput - {@link ListVpcEndpointsForDomainCommandInput}
@@ -45,14 +57,16 @@ export interface ListVpcEndpointsForDomainCommandOutput extends ListVpcEndpoints
45
57
  * <p>An error occurred while processing the request.</p>
46
58
  *
47
59
  * @throws {@link DisabledOperationException} (client fault)
48
- * <p>An error occured because the client wanted to access a not supported operation.</p>
60
+ * <p>An error occured because the client wanted to access an unsupported operation.</p>
49
61
  *
50
62
  * @throws {@link InternalException} (server fault)
51
63
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
52
64
  *
53
65
  * @throws {@link ResourceNotFoundException} (client fault)
54
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
66
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
55
67
  *
68
+ * @throws {@link OpenSearchServiceException}
69
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
56
70
  *
57
71
  */
58
72
  export declare class ListVpcEndpointsForDomainCommand extends $Command<ListVpcEndpointsForDomainCommandInput, ListVpcEndpointsForDomainCommandOutput, OpenSearchClientResolvedConfig> {
@@ -33,6 +33,11 @@ export interface PurchaseReservedInstanceOfferingCommandOutput extends PurchaseR
33
33
  * };
34
34
  * const command = new PurchaseReservedInstanceOfferingCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // PurchaseReservedInstanceOfferingResponse
37
+ * // ReservedInstanceId: "STRING_VALUE",
38
+ * // ReservationName: "STRING_VALUE",
39
+ * // };
40
+ *
36
41
  * ```
37
42
  *
38
43
  * @param PurchaseReservedInstanceOfferingCommandInput - {@link PurchaseReservedInstanceOfferingCommandInput}
@@ -42,7 +47,7 @@ export interface PurchaseReservedInstanceOfferingCommandOutput extends PurchaseR
42
47
  * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
43
48
  *
44
49
  * @throws {@link DisabledOperationException} (client fault)
45
- * <p>An error occured because the client wanted to access a not supported operation.</p>
50
+ * <p>An error occured because the client wanted to access an unsupported operation.</p>
46
51
  *
47
52
  * @throws {@link InternalException} (server fault)
48
53
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
@@ -54,11 +59,13 @@ export interface PurchaseReservedInstanceOfferingCommandOutput extends PurchaseR
54
59
  * <p>An exception for creating a resource that already exists.</p>
55
60
  *
56
61
  * @throws {@link ResourceNotFoundException} (client fault)
57
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
62
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
58
63
  *
59
64
  * @throws {@link ValidationException} (client fault)
60
65
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
61
66
  *
67
+ * @throws {@link OpenSearchServiceException}
68
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
62
69
  *
63
70
  */
64
71
  export declare class PurchaseReservedInstanceOfferingCommand extends $Command<PurchaseReservedInstanceOfferingCommandInput, PurchaseReservedInstanceOfferingCommandOutput, OpenSearchClientResolvedConfig> {
@@ -32,6 +32,31 @@ export interface RejectInboundConnectionCommandOutput extends RejectInboundConne
32
32
  * };
33
33
  * const command = new RejectInboundConnectionCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // RejectInboundConnectionResponse
36
+ * // Connection: { // InboundConnection
37
+ * // LocalDomainInfo: { // DomainInformationContainer
38
+ * // AWSDomainInformation: { // AWSDomainInformation
39
+ * // OwnerId: "STRING_VALUE",
40
+ * // DomainName: "STRING_VALUE", // required
41
+ * // Region: "STRING_VALUE",
42
+ * // },
43
+ * // },
44
+ * // RemoteDomainInfo: {
45
+ * // AWSDomainInformation: {
46
+ * // OwnerId: "STRING_VALUE",
47
+ * // DomainName: "STRING_VALUE", // required
48
+ * // Region: "STRING_VALUE",
49
+ * // },
50
+ * // },
51
+ * // ConnectionId: "STRING_VALUE",
52
+ * // ConnectionStatus: { // InboundConnectionStatus
53
+ * // StatusCode: "PENDING_ACCEPTANCE" || "APPROVED" || "PROVISIONING" || "ACTIVE" || "REJECTING" || "REJECTED" || "DELETING" || "DELETED",
54
+ * // Message: "STRING_VALUE",
55
+ * // },
56
+ * // ConnectionMode: "DIRECT" || "VPC_ENDPOINT",
57
+ * // },
58
+ * // };
59
+ *
35
60
  * ```
36
61
  *
37
62
  * @param RejectInboundConnectionCommandInput - {@link RejectInboundConnectionCommandInput}
@@ -41,11 +66,13 @@ export interface RejectInboundConnectionCommandOutput extends RejectInboundConne
41
66
  * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
42
67
  *
43
68
  * @throws {@link DisabledOperationException} (client fault)
44
- * <p>An error occured because the client wanted to access a not supported operation.</p>
69
+ * <p>An error occured because the client wanted to access an unsupported operation.</p>
45
70
  *
46
71
  * @throws {@link ResourceNotFoundException} (client fault)
47
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
72
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
48
73
  *
74
+ * @throws {@link OpenSearchServiceException}
75
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
49
76
  *
50
77
  */
51
78
  export declare class RejectInboundConnectionCommand extends $Command<RejectInboundConnectionCommandInput, RejectInboundConnectionCommandOutput, OpenSearchClientResolvedConfig> {
@@ -35,6 +35,8 @@ export interface RemoveTagsCommandOutput extends __MetadataBearer {
35
35
  * };
36
36
  * const command = new RemoveTagsCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param RemoveTagsCommandInput - {@link RemoveTagsCommandInput}
@@ -52,6 +54,8 @@ export interface RemoveTagsCommandOutput extends __MetadataBearer {
52
54
  * @throws {@link ValidationException} (client fault)
53
55
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
54
56
  *
57
+ * @throws {@link OpenSearchServiceException}
58
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
55
59
  *
56
60
  */
57
61
  export declare class RemoveTagsCommand extends $Command<RemoveTagsCommandInput, RemoveTagsCommandOutput, OpenSearchClientResolvedConfig> {
@@ -33,6 +33,8 @@ export interface RevokeVpcEndpointAccessCommandOutput extends RevokeVpcEndpointA
33
33
  * };
34
34
  * const command = new RevokeVpcEndpointAccessCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // {};
37
+ *
36
38
  * ```
37
39
  *
38
40
  * @param RevokeVpcEndpointAccessCommandInput - {@link RevokeVpcEndpointAccessCommandInput}
@@ -45,17 +47,19 @@ export interface RevokeVpcEndpointAccessCommandOutput extends RevokeVpcEndpointA
45
47
  * <p>An error occurred while processing the request.</p>
46
48
  *
47
49
  * @throws {@link DisabledOperationException} (client fault)
48
- * <p>An error occured because the client wanted to access a not supported operation.</p>
50
+ * <p>An error occured because the client wanted to access an unsupported operation.</p>
49
51
  *
50
52
  * @throws {@link InternalException} (server fault)
51
53
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
52
54
  *
53
55
  * @throws {@link ResourceNotFoundException} (client fault)
54
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
56
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
55
57
  *
56
58
  * @throws {@link ValidationException} (client fault)
57
59
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
58
60
  *
61
+ * @throws {@link OpenSearchServiceException}
62
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
59
63
  *
60
64
  */
61
65
  export declare class RevokeVpcEndpointAccessCommand extends $Command<RevokeVpcEndpointAccessCommandInput, RevokeVpcEndpointAccessCommandOutput, OpenSearchClientResolvedConfig> {
@@ -35,6 +35,19 @@ export interface StartServiceSoftwareUpdateCommandOutput extends StartServiceSof
35
35
  * };
36
36
  * const command = new StartServiceSoftwareUpdateCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // StartServiceSoftwareUpdateResponse
39
+ * // ServiceSoftwareOptions: { // ServiceSoftwareOptions
40
+ * // CurrentVersion: "STRING_VALUE",
41
+ * // NewVersion: "STRING_VALUE",
42
+ * // UpdateAvailable: true || false,
43
+ * // Cancellable: true || false,
44
+ * // UpdateStatus: "PENDING_UPDATE" || "IN_PROGRESS" || "COMPLETED" || "NOT_ELIGIBLE" || "ELIGIBLE",
45
+ * // Description: "STRING_VALUE",
46
+ * // AutomatedUpdateDate: new Date("TIMESTAMP"),
47
+ * // OptionalDeployment: true || false,
48
+ * // },
49
+ * // };
50
+ *
38
51
  * ```
39
52
  *
40
53
  * @param StartServiceSoftwareUpdateCommandInput - {@link StartServiceSoftwareUpdateCommandInput}
@@ -50,11 +63,13 @@ export interface StartServiceSoftwareUpdateCommandOutput extends StartServiceSof
50
63
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
51
64
  *
52
65
  * @throws {@link ResourceNotFoundException} (client fault)
53
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
66
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
54
67
  *
55
68
  * @throws {@link ValidationException} (client fault)
56
69
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
57
70
  *
71
+ * @throws {@link OpenSearchServiceException}
72
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
58
73
  *
59
74
  */
60
75
  export declare class StartServiceSoftwareUpdateCommand extends $Command<StartServiceSoftwareUpdateCommandInput, StartServiceSoftwareUpdateCommandOutput, OpenSearchClientResolvedConfig> {
@@ -19,7 +19,8 @@ export interface UpdateDomainConfigCommandOutput extends UpdateDomainConfigRespo
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Modifies the cluster configuration of the specified Amazon OpenSearch Service domain.</p>
22
+ * <p>Modifies the cluster configuration of the specified Amazon OpenSearch Service
23
+ * domain.sl</p>
23
24
  * @example
24
25
  * Use a bare-bones client and the command you need to make an API call.
25
26
  * ```javascript
@@ -44,6 +45,7 @@ export interface UpdateDomainConfigCommandOutput extends UpdateDomainConfigRespo
44
45
  * ColdStorageOptions: { // ColdStorageOptions
45
46
  * Enabled: true || false, // required
46
47
  * },
48
+ * MultiAZWithStandbyEnabled: true || false,
47
49
  * },
48
50
  * EBSOptions: { // EBSOptions
49
51
  * EBSEnabled: true || false,
@@ -147,6 +149,230 @@ export interface UpdateDomainConfigCommandOutput extends UpdateDomainConfigRespo
147
149
  * };
148
150
  * const command = new UpdateDomainConfigCommand(input);
149
151
  * const response = await client.send(command);
152
+ * // { // UpdateDomainConfigResponse
153
+ * // DomainConfig: { // DomainConfig
154
+ * // EngineVersion: { // VersionStatus
155
+ * // Options: "STRING_VALUE", // required
156
+ * // Status: { // OptionStatus
157
+ * // CreationDate: new Date("TIMESTAMP"), // required
158
+ * // UpdateDate: new Date("TIMESTAMP"), // required
159
+ * // UpdateVersion: Number("int"),
160
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active", // required
161
+ * // PendingDeletion: true || false,
162
+ * // },
163
+ * // },
164
+ * // ClusterConfig: { // ClusterConfigStatus
165
+ * // Options: { // ClusterConfig
166
+ * // InstanceType: "m3.medium.search" || "m3.large.search" || "m3.xlarge.search" || "m3.2xlarge.search" || "m4.large.search" || "m4.xlarge.search" || "m4.2xlarge.search" || "m4.4xlarge.search" || "m4.10xlarge.search" || "m5.large.search" || "m5.xlarge.search" || "m5.2xlarge.search" || "m5.4xlarge.search" || "m5.12xlarge.search" || "m5.24xlarge.search" || "r5.large.search" || "r5.xlarge.search" || "r5.2xlarge.search" || "r5.4xlarge.search" || "r5.12xlarge.search" || "r5.24xlarge.search" || "c5.large.search" || "c5.xlarge.search" || "c5.2xlarge.search" || "c5.4xlarge.search" || "c5.9xlarge.search" || "c5.18xlarge.search" || "t3.nano.search" || "t3.micro.search" || "t3.small.search" || "t3.medium.search" || "t3.large.search" || "t3.xlarge.search" || "t3.2xlarge.search" || "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search" || "t2.micro.search" || "t2.small.search" || "t2.medium.search" || "r3.large.search" || "r3.xlarge.search" || "r3.2xlarge.search" || "r3.4xlarge.search" || "r3.8xlarge.search" || "i2.xlarge.search" || "i2.2xlarge.search" || "d2.xlarge.search" || "d2.2xlarge.search" || "d2.4xlarge.search" || "d2.8xlarge.search" || "c4.large.search" || "c4.xlarge.search" || "c4.2xlarge.search" || "c4.4xlarge.search" || "c4.8xlarge.search" || "r4.large.search" || "r4.xlarge.search" || "r4.2xlarge.search" || "r4.4xlarge.search" || "r4.8xlarge.search" || "r4.16xlarge.search" || "i3.large.search" || "i3.xlarge.search" || "i3.2xlarge.search" || "i3.4xlarge.search" || "i3.8xlarge.search" || "i3.16xlarge.search" || "r6g.large.search" || "r6g.xlarge.search" || "r6g.2xlarge.search" || "r6g.4xlarge.search" || "r6g.8xlarge.search" || "r6g.12xlarge.search" || "m6g.large.search" || "m6g.xlarge.search" || "m6g.2xlarge.search" || "m6g.4xlarge.search" || "m6g.8xlarge.search" || "m6g.12xlarge.search" || "c6g.large.search" || "c6g.xlarge.search" || "c6g.2xlarge.search" || "c6g.4xlarge.search" || "c6g.8xlarge.search" || "c6g.12xlarge.search" || "r6gd.large.search" || "r6gd.xlarge.search" || "r6gd.2xlarge.search" || "r6gd.4xlarge.search" || "r6gd.8xlarge.search" || "r6gd.12xlarge.search" || "r6gd.16xlarge.search" || "t4g.small.search" || "t4g.medium.search",
167
+ * // InstanceCount: Number("int"),
168
+ * // DedicatedMasterEnabled: true || false,
169
+ * // ZoneAwarenessEnabled: true || false,
170
+ * // ZoneAwarenessConfig: { // ZoneAwarenessConfig
171
+ * // AvailabilityZoneCount: Number("int"),
172
+ * // },
173
+ * // DedicatedMasterType: "m3.medium.search" || "m3.large.search" || "m3.xlarge.search" || "m3.2xlarge.search" || "m4.large.search" || "m4.xlarge.search" || "m4.2xlarge.search" || "m4.4xlarge.search" || "m4.10xlarge.search" || "m5.large.search" || "m5.xlarge.search" || "m5.2xlarge.search" || "m5.4xlarge.search" || "m5.12xlarge.search" || "m5.24xlarge.search" || "r5.large.search" || "r5.xlarge.search" || "r5.2xlarge.search" || "r5.4xlarge.search" || "r5.12xlarge.search" || "r5.24xlarge.search" || "c5.large.search" || "c5.xlarge.search" || "c5.2xlarge.search" || "c5.4xlarge.search" || "c5.9xlarge.search" || "c5.18xlarge.search" || "t3.nano.search" || "t3.micro.search" || "t3.small.search" || "t3.medium.search" || "t3.large.search" || "t3.xlarge.search" || "t3.2xlarge.search" || "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search" || "t2.micro.search" || "t2.small.search" || "t2.medium.search" || "r3.large.search" || "r3.xlarge.search" || "r3.2xlarge.search" || "r3.4xlarge.search" || "r3.8xlarge.search" || "i2.xlarge.search" || "i2.2xlarge.search" || "d2.xlarge.search" || "d2.2xlarge.search" || "d2.4xlarge.search" || "d2.8xlarge.search" || "c4.large.search" || "c4.xlarge.search" || "c4.2xlarge.search" || "c4.4xlarge.search" || "c4.8xlarge.search" || "r4.large.search" || "r4.xlarge.search" || "r4.2xlarge.search" || "r4.4xlarge.search" || "r4.8xlarge.search" || "r4.16xlarge.search" || "i3.large.search" || "i3.xlarge.search" || "i3.2xlarge.search" || "i3.4xlarge.search" || "i3.8xlarge.search" || "i3.16xlarge.search" || "r6g.large.search" || "r6g.xlarge.search" || "r6g.2xlarge.search" || "r6g.4xlarge.search" || "r6g.8xlarge.search" || "r6g.12xlarge.search" || "m6g.large.search" || "m6g.xlarge.search" || "m6g.2xlarge.search" || "m6g.4xlarge.search" || "m6g.8xlarge.search" || "m6g.12xlarge.search" || "c6g.large.search" || "c6g.xlarge.search" || "c6g.2xlarge.search" || "c6g.4xlarge.search" || "c6g.8xlarge.search" || "c6g.12xlarge.search" || "r6gd.large.search" || "r6gd.xlarge.search" || "r6gd.2xlarge.search" || "r6gd.4xlarge.search" || "r6gd.8xlarge.search" || "r6gd.12xlarge.search" || "r6gd.16xlarge.search" || "t4g.small.search" || "t4g.medium.search",
174
+ * // DedicatedMasterCount: Number("int"),
175
+ * // WarmEnabled: true || false,
176
+ * // WarmType: "ultrawarm1.medium.search" || "ultrawarm1.large.search" || "ultrawarm1.xlarge.search",
177
+ * // WarmCount: Number("int"),
178
+ * // ColdStorageOptions: { // ColdStorageOptions
179
+ * // Enabled: true || false, // required
180
+ * // },
181
+ * // MultiAZWithStandbyEnabled: true || false,
182
+ * // },
183
+ * // Status: {
184
+ * // CreationDate: new Date("TIMESTAMP"), // required
185
+ * // UpdateDate: new Date("TIMESTAMP"), // required
186
+ * // UpdateVersion: Number("int"),
187
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active", // required
188
+ * // PendingDeletion: true || false,
189
+ * // },
190
+ * // },
191
+ * // EBSOptions: { // EBSOptionsStatus
192
+ * // Options: { // EBSOptions
193
+ * // EBSEnabled: true || false,
194
+ * // VolumeType: "standard" || "gp2" || "io1" || "gp3",
195
+ * // VolumeSize: Number("int"),
196
+ * // Iops: Number("int"),
197
+ * // Throughput: Number("int"),
198
+ * // },
199
+ * // Status: {
200
+ * // CreationDate: new Date("TIMESTAMP"), // required
201
+ * // UpdateDate: new Date("TIMESTAMP"), // required
202
+ * // UpdateVersion: Number("int"),
203
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active", // required
204
+ * // PendingDeletion: true || false,
205
+ * // },
206
+ * // },
207
+ * // AccessPolicies: { // AccessPoliciesStatus
208
+ * // Options: "STRING_VALUE", // required
209
+ * // Status: {
210
+ * // CreationDate: new Date("TIMESTAMP"), // required
211
+ * // UpdateDate: new Date("TIMESTAMP"), // required
212
+ * // UpdateVersion: Number("int"),
213
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active", // required
214
+ * // PendingDeletion: true || false,
215
+ * // },
216
+ * // },
217
+ * // SnapshotOptions: { // SnapshotOptionsStatus
218
+ * // Options: { // SnapshotOptions
219
+ * // AutomatedSnapshotStartHour: Number("int"),
220
+ * // },
221
+ * // Status: {
222
+ * // CreationDate: new Date("TIMESTAMP"), // required
223
+ * // UpdateDate: new Date("TIMESTAMP"), // required
224
+ * // UpdateVersion: Number("int"),
225
+ * // State: "RequiresIndexDocuments" || "Processing" || "Active", // required
226
+ * // PendingDeletion: true || false,
227
+ * // },
228
+ * // },
229
+ * // VPCOptions: { // VPCDerivedInfoStatus
230
+ * // Options: { // VPCDerivedInfo
231
+ * // VPCId: "STRING_VALUE",
232
+ * // SubnetIds: [ // StringList
233
+ * // "STRING_VALUE",
234
+ * // ],
235
+ * // AvailabilityZones: [
236
+ * // "STRING_VALUE",
237
+ * // ],
238
+ * // SecurityGroupIds: [
239
+ * // "STRING_VALUE",
240
+ * // ],
241
+ * // },
242
+ * // Status: "<OptionStatus>", // required
243
+ * // },
244
+ * // CognitoOptions: { // CognitoOptionsStatus
245
+ * // Options: { // CognitoOptions
246
+ * // Enabled: true || false,
247
+ * // UserPoolId: "STRING_VALUE",
248
+ * // IdentityPoolId: "STRING_VALUE",
249
+ * // RoleArn: "STRING_VALUE",
250
+ * // },
251
+ * // Status: "<OptionStatus>", // required
252
+ * // },
253
+ * // EncryptionAtRestOptions: { // EncryptionAtRestOptionsStatus
254
+ * // Options: { // EncryptionAtRestOptions
255
+ * // Enabled: true || false,
256
+ * // KmsKeyId: "STRING_VALUE",
257
+ * // },
258
+ * // Status: "<OptionStatus>", // required
259
+ * // },
260
+ * // NodeToNodeEncryptionOptions: { // NodeToNodeEncryptionOptionsStatus
261
+ * // Options: { // NodeToNodeEncryptionOptions
262
+ * // Enabled: true || false,
263
+ * // },
264
+ * // Status: "<OptionStatus>", // required
265
+ * // },
266
+ * // AdvancedOptions: { // AdvancedOptionsStatus
267
+ * // Options: { // AdvancedOptions // required
268
+ * // "<keys>": "STRING_VALUE",
269
+ * // },
270
+ * // Status: "<OptionStatus>", // required
271
+ * // },
272
+ * // LogPublishingOptions: { // LogPublishingOptionsStatus
273
+ * // Options: { // LogPublishingOptions
274
+ * // "<keys>": { // LogPublishingOption
275
+ * // CloudWatchLogsLogGroupArn: "STRING_VALUE",
276
+ * // Enabled: true || false,
277
+ * // },
278
+ * // },
279
+ * // Status: "<OptionStatus>",
280
+ * // },
281
+ * // DomainEndpointOptions: { // DomainEndpointOptionsStatus
282
+ * // Options: { // DomainEndpointOptions
283
+ * // EnforceHTTPS: true || false,
284
+ * // TLSSecurityPolicy: "Policy-Min-TLS-1-0-2019-07" || "Policy-Min-TLS-1-2-2019-07",
285
+ * // CustomEndpointEnabled: true || false,
286
+ * // CustomEndpoint: "STRING_VALUE",
287
+ * // CustomEndpointCertificateArn: "STRING_VALUE",
288
+ * // },
289
+ * // Status: "<OptionStatus>", // required
290
+ * // },
291
+ * // AdvancedSecurityOptions: { // AdvancedSecurityOptionsStatus
292
+ * // Options: { // AdvancedSecurityOptions
293
+ * // Enabled: true || false,
294
+ * // InternalUserDatabaseEnabled: true || false,
295
+ * // SAMLOptions: { // SAMLOptionsOutput
296
+ * // Enabled: true || false,
297
+ * // Idp: { // SAMLIdp
298
+ * // MetadataContent: "STRING_VALUE", // required
299
+ * // EntityId: "STRING_VALUE", // required
300
+ * // },
301
+ * // SubjectKey: "STRING_VALUE",
302
+ * // RolesKey: "STRING_VALUE",
303
+ * // SessionTimeoutMinutes: Number("int"),
304
+ * // },
305
+ * // AnonymousAuthDisableDate: new Date("TIMESTAMP"),
306
+ * // AnonymousAuthEnabled: true || false,
307
+ * // },
308
+ * // Status: "<OptionStatus>", // required
309
+ * // },
310
+ * // AutoTuneOptions: { // AutoTuneOptionsStatus
311
+ * // Options: { // AutoTuneOptions
312
+ * // DesiredState: "ENABLED" || "DISABLED",
313
+ * // RollbackOnDisable: "NO_ROLLBACK" || "DEFAULT_ROLLBACK",
314
+ * // MaintenanceSchedules: [ // AutoTuneMaintenanceScheduleList
315
+ * // { // AutoTuneMaintenanceSchedule
316
+ * // StartAt: new Date("TIMESTAMP"),
317
+ * // Duration: { // Duration
318
+ * // Value: Number("long"),
319
+ * // Unit: "HOURS",
320
+ * // },
321
+ * // CronExpressionForRecurrence: "STRING_VALUE",
322
+ * // },
323
+ * // ],
324
+ * // UseOffPeakWindow: true || false,
325
+ * // },
326
+ * // Status: { // AutoTuneStatus
327
+ * // CreationDate: new Date("TIMESTAMP"), // required
328
+ * // UpdateDate: new Date("TIMESTAMP"), // required
329
+ * // UpdateVersion: Number("int"),
330
+ * // State: "ENABLED" || "DISABLED" || "ENABLE_IN_PROGRESS" || "DISABLE_IN_PROGRESS" || "DISABLED_AND_ROLLBACK_SCHEDULED" || "DISABLED_AND_ROLLBACK_IN_PROGRESS" || "DISABLED_AND_ROLLBACK_COMPLETE" || "DISABLED_AND_ROLLBACK_ERROR" || "ERROR", // required
331
+ * // ErrorMessage: "STRING_VALUE",
332
+ * // PendingDeletion: true || false,
333
+ * // },
334
+ * // },
335
+ * // ChangeProgressDetails: { // ChangeProgressDetails
336
+ * // ChangeId: "STRING_VALUE",
337
+ * // Message: "STRING_VALUE",
338
+ * // },
339
+ * // OffPeakWindowOptions: { // OffPeakWindowOptionsStatus
340
+ * // Options: { // OffPeakWindowOptions
341
+ * // Enabled: true || false,
342
+ * // OffPeakWindow: { // OffPeakWindow
343
+ * // WindowStartTime: { // WindowStartTime
344
+ * // Hours: Number("long"), // required
345
+ * // Minutes: Number("long"), // required
346
+ * // },
347
+ * // },
348
+ * // },
349
+ * // Status: "<OptionStatus>",
350
+ * // },
351
+ * // SoftwareUpdateOptions: { // SoftwareUpdateOptionsStatus
352
+ * // Options: { // SoftwareUpdateOptions
353
+ * // AutoSoftwareUpdateEnabled: true || false,
354
+ * // },
355
+ * // Status: "<OptionStatus>",
356
+ * // },
357
+ * // },
358
+ * // DryRunResults: { // DryRunResults
359
+ * // DeploymentType: "STRING_VALUE",
360
+ * // Message: "STRING_VALUE",
361
+ * // },
362
+ * // DryRunProgressStatus: { // DryRunProgressStatus
363
+ * // DryRunId: "STRING_VALUE", // required
364
+ * // DryRunStatus: "STRING_VALUE", // required
365
+ * // CreationDate: "STRING_VALUE", // required
366
+ * // UpdateDate: "STRING_VALUE", // required
367
+ * // ValidationFailures: [ // ValidationFailures
368
+ * // { // ValidationFailure
369
+ * // Code: "STRING_VALUE",
370
+ * // Message: "STRING_VALUE",
371
+ * // },
372
+ * // ],
373
+ * // },
374
+ * // };
375
+ *
150
376
  * ```
151
377
  *
152
378
  * @param UpdateDomainConfigCommandInput - {@link UpdateDomainConfigCommandInput}
@@ -168,11 +394,13 @@ export interface UpdateDomainConfigCommandOutput extends UpdateDomainConfigRespo
168
394
  * <p>An exception for trying to create more than the allowed number of resources or sub-resources.</p>
169
395
  *
170
396
  * @throws {@link ResourceNotFoundException} (client fault)
171
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
397
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
172
398
  *
173
399
  * @throws {@link ValidationException} (client fault)
174
400
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
175
401
  *
402
+ * @throws {@link OpenSearchServiceException}
403
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
176
404
  *
177
405
  */
178
406
  export declare class UpdateDomainConfigCommand extends $Command<UpdateDomainConfigCommandInput, UpdateDomainConfigCommandOutput, OpenSearchClientResolvedConfig> {
@@ -38,6 +38,23 @@ export interface UpdatePackageCommandOutput extends UpdatePackageResponse, __Met
38
38
  * };
39
39
  * const command = new UpdatePackageCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // UpdatePackageResponse
42
+ * // PackageDetails: { // PackageDetails
43
+ * // PackageID: "STRING_VALUE",
44
+ * // PackageName: "STRING_VALUE",
45
+ * // PackageType: "TXT-DICTIONARY",
46
+ * // PackageDescription: "STRING_VALUE",
47
+ * // PackageStatus: "COPYING" || "COPY_FAILED" || "VALIDATING" || "VALIDATION_FAILED" || "AVAILABLE" || "DELETING" || "DELETED" || "DELETE_FAILED",
48
+ * // CreatedAt: new Date("TIMESTAMP"),
49
+ * // LastUpdatedAt: new Date("TIMESTAMP"),
50
+ * // AvailablePackageVersion: "STRING_VALUE",
51
+ * // ErrorDetails: { // ErrorDetails
52
+ * // ErrorType: "STRING_VALUE",
53
+ * // ErrorMessage: "STRING_VALUE",
54
+ * // },
55
+ * // },
56
+ * // };
57
+ *
41
58
  * ```
42
59
  *
43
60
  * @param UpdatePackageCommandInput - {@link UpdatePackageCommandInput}
@@ -59,11 +76,13 @@ export interface UpdatePackageCommandOutput extends UpdatePackageResponse, __Met
59
76
  * <p>An exception for trying to create more than the allowed number of resources or sub-resources.</p>
60
77
  *
61
78
  * @throws {@link ResourceNotFoundException} (client fault)
62
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
79
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
63
80
  *
64
81
  * @throws {@link ValidationException} (client fault)
65
82
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
66
83
  *
84
+ * @throws {@link OpenSearchServiceException}
85
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
67
86
  *
68
87
  */
69
88
  export declare class UpdatePackageCommand extends $Command<UpdatePackageCommandInput, UpdatePackageCommandOutput, OpenSearchClientResolvedConfig> {
@@ -38,6 +38,20 @@ export interface UpdateScheduledActionCommandOutput extends UpdateScheduledActio
38
38
  * };
39
39
  * const command = new UpdateScheduledActionCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // UpdateScheduledActionResponse
42
+ * // ScheduledAction: { // ScheduledAction
43
+ * // Id: "STRING_VALUE", // required
44
+ * // Type: "SERVICE_SOFTWARE_UPDATE" || "JVM_HEAP_SIZE_TUNING" || "JVM_YOUNG_GEN_TUNING", // required
45
+ * // Severity: "HIGH" || "MEDIUM" || "LOW", // required
46
+ * // ScheduledTime: Number("long"), // required
47
+ * // Description: "STRING_VALUE",
48
+ * // ScheduledBy: "CUSTOMER" || "SYSTEM",
49
+ * // Status: "PENDING_UPDATE" || "IN_PROGRESS" || "FAILED" || "COMPLETED" || "NOT_ELIGIBLE" || "ELIGIBLE",
50
+ * // Mandatory: true || false,
51
+ * // Cancellable: true || false,
52
+ * // },
53
+ * // };
54
+ *
41
55
  * ```
42
56
  *
43
57
  * @param UpdateScheduledActionCommandInput - {@link UpdateScheduledActionCommandInput}
@@ -59,7 +73,7 @@ export interface UpdateScheduledActionCommandOutput extends UpdateScheduledActio
59
73
  * <p>An exception for trying to create more than the allowed number of resources or sub-resources.</p>
60
74
  *
61
75
  * @throws {@link ResourceNotFoundException} (client fault)
62
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
76
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
63
77
  *
64
78
  * @throws {@link SlotNotAvailableException} (client fault)
65
79
  * <p>An exception for attempting to schedule a domain action during an unavailable time slot.</p>
@@ -67,6 +81,8 @@ export interface UpdateScheduledActionCommandOutput extends UpdateScheduledActio
67
81
  * @throws {@link ValidationException} (client fault)
68
82
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
69
83
  *
84
+ * @throws {@link OpenSearchServiceException}
85
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
70
86
  *
71
87
  */
72
88
  export declare class UpdateScheduledActionCommand extends $Command<UpdateScheduledActionCommandInput, UpdateScheduledActionCommandOutput, OpenSearchClientResolvedConfig> {
@@ -39,6 +39,28 @@ export interface UpdateVpcEndpointCommandOutput extends UpdateVpcEndpointRespons
39
39
  * };
40
40
  * const command = new UpdateVpcEndpointCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // UpdateVpcEndpointResponse
43
+ * // VpcEndpoint: { // VpcEndpoint
44
+ * // VpcEndpointId: "STRING_VALUE",
45
+ * // VpcEndpointOwner: "STRING_VALUE",
46
+ * // DomainArn: "STRING_VALUE",
47
+ * // VpcOptions: { // VPCDerivedInfo
48
+ * // VPCId: "STRING_VALUE",
49
+ * // SubnetIds: [ // StringList
50
+ * // "STRING_VALUE",
51
+ * // ],
52
+ * // AvailabilityZones: [
53
+ * // "STRING_VALUE",
54
+ * // ],
55
+ * // SecurityGroupIds: [
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // },
59
+ * // Status: "CREATING" || "CREATE_FAILED" || "ACTIVE" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "DELETE_FAILED",
60
+ * // Endpoint: "STRING_VALUE",
61
+ * // },
62
+ * // };
63
+ *
42
64
  * ```
43
65
  *
44
66
  * @param UpdateVpcEndpointCommandInput - {@link UpdateVpcEndpointCommandInput}
@@ -54,17 +76,19 @@ export interface UpdateVpcEndpointCommandOutput extends UpdateVpcEndpointRespons
54
76
  * <p>An error occurred because the client attempts to remove a resource that is currently in use.</p>
55
77
  *
56
78
  * @throws {@link DisabledOperationException} (client fault)
57
- * <p>An error occured because the client wanted to access a not supported operation.</p>
79
+ * <p>An error occured because the client wanted to access an unsupported operation.</p>
58
80
  *
59
81
  * @throws {@link InternalException} (server fault)
60
82
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
61
83
  *
62
84
  * @throws {@link ResourceNotFoundException} (client fault)
63
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
85
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
64
86
  *
65
87
  * @throws {@link ValidationException} (client fault)
66
88
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
67
89
  *
90
+ * @throws {@link OpenSearchServiceException}
91
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
68
92
  *
69
93
  */
70
94
  export declare class UpdateVpcEndpointCommand extends $Command<UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput, OpenSearchClientResolvedConfig> {