@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
@@ -35,6 +35,33 @@ export interface DescribeReservedInstancesCommandOutput extends DescribeReserved
35
35
  * };
36
36
  * const command = new DescribeReservedInstancesCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // DescribeReservedInstancesResponse
39
+ * // NextToken: "STRING_VALUE",
40
+ * // ReservedInstances: [ // ReservedInstanceList
41
+ * // { // ReservedInstance
42
+ * // ReservationName: "STRING_VALUE",
43
+ * // ReservedInstanceId: "STRING_VALUE",
44
+ * // BillingSubscriptionId: Number("long"),
45
+ * // ReservedInstanceOfferingId: "STRING_VALUE",
46
+ * // 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",
47
+ * // StartTime: new Date("TIMESTAMP"),
48
+ * // Duration: Number("int"),
49
+ * // FixedPrice: Number("double"),
50
+ * // UsagePrice: Number("double"),
51
+ * // CurrencyCode: "STRING_VALUE",
52
+ * // InstanceCount: Number("int"),
53
+ * // State: "STRING_VALUE",
54
+ * // PaymentOption: "ALL_UPFRONT" || "PARTIAL_UPFRONT" || "NO_UPFRONT",
55
+ * // RecurringCharges: [ // RecurringChargeList
56
+ * // { // RecurringCharge
57
+ * // RecurringChargeAmount: Number("double"),
58
+ * // RecurringChargeFrequency: "STRING_VALUE",
59
+ * // },
60
+ * // ],
61
+ * // },
62
+ * // ],
63
+ * // };
64
+ *
38
65
  * ```
39
66
  *
40
67
  * @param DescribeReservedInstancesCommandInput - {@link DescribeReservedInstancesCommandInput}
@@ -44,17 +71,19 @@ export interface DescribeReservedInstancesCommandOutput extends DescribeReserved
44
71
  * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
45
72
  *
46
73
  * @throws {@link DisabledOperationException} (client fault)
47
- * <p>An error occured because the client wanted to access a not supported operation.</p>
74
+ * <p>An error occured because the client wanted to access an unsupported operation.</p>
48
75
  *
49
76
  * @throws {@link InternalException} (server fault)
50
77
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
51
78
  *
52
79
  * @throws {@link ResourceNotFoundException} (client fault)
53
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
80
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
54
81
  *
55
82
  * @throws {@link ValidationException} (client fault)
56
83
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
57
84
  *
85
+ * @throws {@link OpenSearchServiceException}
86
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
58
87
  *
59
88
  */
60
89
  export declare class DescribeReservedInstancesCommand extends $Command<DescribeReservedInstancesCommandInput, DescribeReservedInstancesCommandOutput, OpenSearchClientResolvedConfig> {
@@ -33,6 +33,37 @@ export interface DescribeVpcEndpointsCommandOutput extends DescribeVpcEndpointsR
33
33
  * };
34
34
  * const command = new DescribeVpcEndpointsCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // DescribeVpcEndpointsResponse
37
+ * // VpcEndpoints: [ // VpcEndpoints // required
38
+ * // { // VpcEndpoint
39
+ * // VpcEndpointId: "STRING_VALUE",
40
+ * // VpcEndpointOwner: "STRING_VALUE",
41
+ * // DomainArn: "STRING_VALUE",
42
+ * // VpcOptions: { // VPCDerivedInfo
43
+ * // VPCId: "STRING_VALUE",
44
+ * // SubnetIds: [ // StringList
45
+ * // "STRING_VALUE",
46
+ * // ],
47
+ * // AvailabilityZones: [
48
+ * // "STRING_VALUE",
49
+ * // ],
50
+ * // SecurityGroupIds: [
51
+ * // "STRING_VALUE",
52
+ * // ],
53
+ * // },
54
+ * // Status: "CREATING" || "CREATE_FAILED" || "ACTIVE" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "DELETE_FAILED",
55
+ * // Endpoint: "STRING_VALUE",
56
+ * // },
57
+ * // ],
58
+ * // VpcEndpointErrors: [ // VpcEndpointErrorList // required
59
+ * // { // VpcEndpointError
60
+ * // VpcEndpointId: "STRING_VALUE",
61
+ * // ErrorCode: "ENDPOINT_NOT_FOUND" || "SERVER_ERROR",
62
+ * // ErrorMessage: "STRING_VALUE",
63
+ * // },
64
+ * // ],
65
+ * // };
66
+ *
36
67
  * ```
37
68
  *
38
69
  * @param DescribeVpcEndpointsCommandInput - {@link DescribeVpcEndpointsCommandInput}
@@ -45,7 +76,7 @@ export interface DescribeVpcEndpointsCommandOutput extends DescribeVpcEndpointsR
45
76
  * <p>An error occurred while processing the request.</p>
46
77
  *
47
78
  * @throws {@link DisabledOperationException} (client fault)
48
- * <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>
49
80
  *
50
81
  * @throws {@link InternalException} (server fault)
51
82
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
@@ -53,6 +84,8 @@ export interface DescribeVpcEndpointsCommandOutput extends DescribeVpcEndpointsR
53
84
  * @throws {@link ValidationException} (client fault)
54
85
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
55
86
  *
87
+ * @throws {@link OpenSearchServiceException}
88
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
56
89
  *
57
90
  */
58
91
  export declare class DescribeVpcEndpointsCommand extends $Command<DescribeVpcEndpointsCommandInput, DescribeVpcEndpointsCommandOutput, OpenSearchClientResolvedConfig> {
@@ -35,6 +35,23 @@ export interface DissociatePackageCommandOutput extends DissociatePackageRespons
35
35
  * };
36
36
  * const command = new DissociatePackageCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // DissociatePackageResponse
39
+ * // DomainPackageDetails: { // DomainPackageDetails
40
+ * // PackageID: "STRING_VALUE",
41
+ * // PackageName: "STRING_VALUE",
42
+ * // PackageType: "TXT-DICTIONARY",
43
+ * // LastUpdated: new Date("TIMESTAMP"),
44
+ * // DomainName: "STRING_VALUE",
45
+ * // DomainPackageStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ACTIVE" || "DISSOCIATING" || "DISSOCIATION_FAILED",
46
+ * // PackageVersion: "STRING_VALUE",
47
+ * // ReferencePath: "STRING_VALUE",
48
+ * // ErrorDetails: { // ErrorDetails
49
+ * // ErrorType: "STRING_VALUE",
50
+ * // ErrorMessage: "STRING_VALUE",
51
+ * // },
52
+ * // },
53
+ * // };
54
+ *
38
55
  * ```
39
56
  *
40
57
  * @param DissociatePackageCommandInput - {@link DissociatePackageCommandInput}
@@ -56,11 +73,13 @@ export interface DissociatePackageCommandOutput extends DissociatePackageRespons
56
73
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
57
74
  *
58
75
  * @throws {@link ResourceNotFoundException} (client fault)
59
- * <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>
60
77
  *
61
78
  * @throws {@link ValidationException} (client fault)
62
79
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
63
80
  *
81
+ * @throws {@link OpenSearchServiceException}
82
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
64
83
  *
65
84
  */
66
85
  export declare class DissociatePackageCommand extends $Command<DissociatePackageCommandInput, DissociatePackageCommandOutput, OpenSearchClientResolvedConfig> {
@@ -32,6 +32,17 @@ export interface GetCompatibleVersionsCommandOutput extends GetCompatibleVersion
32
32
  * };
33
33
  * const command = new GetCompatibleVersionsCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetCompatibleVersionsResponse
36
+ * // CompatibleVersions: [ // CompatibleVersionsList
37
+ * // { // CompatibleVersionsMap
38
+ * // SourceVersion: "STRING_VALUE",
39
+ * // TargetVersions: [ // VersionList
40
+ * // "STRING_VALUE",
41
+ * // ],
42
+ * // },
43
+ * // ],
44
+ * // };
45
+ *
35
46
  * ```
36
47
  *
37
48
  * @param GetCompatibleVersionsCommandInput - {@link GetCompatibleVersionsCommandInput}
@@ -44,17 +55,19 @@ export interface GetCompatibleVersionsCommandOutput extends GetCompatibleVersion
44
55
  * <p>An error occurred while processing the request.</p>
45
56
  *
46
57
  * @throws {@link DisabledOperationException} (client fault)
47
- * <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>
48
59
  *
49
60
  * @throws {@link InternalException} (server fault)
50
61
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
51
62
  *
52
63
  * @throws {@link ResourceNotFoundException} (client fault)
53
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
64
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
54
65
  *
55
66
  * @throws {@link ValidationException} (client fault)
56
67
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
57
68
  *
69
+ * @throws {@link OpenSearchServiceException}
70
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
58
71
  *
59
72
  */
60
73
  export declare class GetCompatibleVersionsCommand extends $Command<GetCompatibleVersionsCommandInput, GetCompatibleVersionsCommandOutput, OpenSearchClientResolvedConfig> {
@@ -19,8 +19,8 @@ export interface GetPackageVersionHistoryCommandOutput extends GetPackageVersion
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Returns a list of Amazon OpenSearch Service package versions, along with their creation time
23
- * and commit message. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/custom-packages.html">Custom packages for Amazon
22
+ * <p>Returns a list of Amazon OpenSearch Service package versions, along with their creation time, commit message, and plugin properties (if the
23
+ * package is a zip plugin package). For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/custom-packages.html">Custom packages for Amazon
24
24
  * OpenSearch Service</a>.</p>
25
25
  * @example
26
26
  * Use a bare-bones client and the command you need to make an API call.
@@ -35,6 +35,18 @@ export interface GetPackageVersionHistoryCommandOutput extends GetPackageVersion
35
35
  * };
36
36
  * const command = new GetPackageVersionHistoryCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // GetPackageVersionHistoryResponse
39
+ * // PackageID: "STRING_VALUE",
40
+ * // PackageVersionHistoryList: [ // PackageVersionHistoryList
41
+ * // { // PackageVersionHistory
42
+ * // PackageVersion: "STRING_VALUE",
43
+ * // CommitMessage: "STRING_VALUE",
44
+ * // CreatedAt: new Date("TIMESTAMP"),
45
+ * // },
46
+ * // ],
47
+ * // NextToken: "STRING_VALUE",
48
+ * // };
49
+ *
38
50
  * ```
39
51
  *
40
52
  * @param GetPackageVersionHistoryCommandInput - {@link GetPackageVersionHistoryCommandInput}
@@ -53,11 +65,13 @@ export interface GetPackageVersionHistoryCommandOutput extends GetPackageVersion
53
65
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
54
66
  *
55
67
  * @throws {@link ResourceNotFoundException} (client fault)
56
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
68
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
57
69
  *
58
70
  * @throws {@link ValidationException} (client fault)
59
71
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
60
72
  *
73
+ * @throws {@link OpenSearchServiceException}
74
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
61
75
  *
62
76
  */
63
77
  export declare class GetPackageVersionHistoryCommand extends $Command<GetPackageVersionHistoryCommandInput, GetPackageVersionHistoryCommandOutput, OpenSearchClientResolvedConfig> {
@@ -34,6 +34,27 @@ export interface GetUpgradeHistoryCommandOutput extends GetUpgradeHistoryRespons
34
34
  * };
35
35
  * const command = new GetUpgradeHistoryCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // GetUpgradeHistoryResponse
38
+ * // UpgradeHistories: [ // UpgradeHistoryList
39
+ * // { // UpgradeHistory
40
+ * // UpgradeName: "STRING_VALUE",
41
+ * // StartTimestamp: new Date("TIMESTAMP"),
42
+ * // UpgradeStatus: "IN_PROGRESS" || "SUCCEEDED" || "SUCCEEDED_WITH_ISSUES" || "FAILED",
43
+ * // StepsList: [ // UpgradeStepsList
44
+ * // { // UpgradeStepItem
45
+ * // UpgradeStep: "PRE_UPGRADE_CHECK" || "SNAPSHOT" || "UPGRADE",
46
+ * // UpgradeStepStatus: "IN_PROGRESS" || "SUCCEEDED" || "SUCCEEDED_WITH_ISSUES" || "FAILED",
47
+ * // Issues: [ // Issues
48
+ * // "STRING_VALUE",
49
+ * // ],
50
+ * // ProgressPercent: Number("double"),
51
+ * // },
52
+ * // ],
53
+ * // },
54
+ * // ],
55
+ * // NextToken: "STRING_VALUE",
56
+ * // };
57
+ *
37
58
  * ```
38
59
  *
39
60
  * @param GetUpgradeHistoryCommandInput - {@link GetUpgradeHistoryCommandInput}
@@ -46,17 +67,19 @@ export interface GetUpgradeHistoryCommandOutput extends GetUpgradeHistoryRespons
46
67
  * <p>An error occurred while processing the request.</p>
47
68
  *
48
69
  * @throws {@link DisabledOperationException} (client fault)
49
- * <p>An error occured because the client wanted to access a not supported operation.</p>
70
+ * <p>An error occured because the client wanted to access an unsupported operation.</p>
50
71
  *
51
72
  * @throws {@link InternalException} (server fault)
52
73
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
53
74
  *
54
75
  * @throws {@link ResourceNotFoundException} (client fault)
55
- * <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>
56
77
  *
57
78
  * @throws {@link ValidationException} (client fault)
58
79
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
59
80
  *
81
+ * @throws {@link OpenSearchServiceException}
82
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
60
83
  *
61
84
  */
62
85
  export declare class GetUpgradeHistoryCommand extends $Command<GetUpgradeHistoryCommandInput, GetUpgradeHistoryCommandOutput, OpenSearchClientResolvedConfig> {
@@ -32,6 +32,12 @@ export interface GetUpgradeStatusCommandOutput extends GetUpgradeStatusResponse,
32
32
  * };
33
33
  * const command = new GetUpgradeStatusCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetUpgradeStatusResponse
36
+ * // UpgradeStep: "PRE_UPGRADE_CHECK" || "SNAPSHOT" || "UPGRADE",
37
+ * // StepStatus: "IN_PROGRESS" || "SUCCEEDED" || "SUCCEEDED_WITH_ISSUES" || "FAILED",
38
+ * // UpgradeName: "STRING_VALUE",
39
+ * // };
40
+ *
35
41
  * ```
36
42
  *
37
43
  * @param GetUpgradeStatusCommandInput - {@link GetUpgradeStatusCommandInput}
@@ -44,17 +50,19 @@ export interface GetUpgradeStatusCommandOutput extends GetUpgradeStatusResponse,
44
50
  * <p>An error occurred while processing the request.</p>
45
51
  *
46
52
  * @throws {@link DisabledOperationException} (client fault)
47
- * <p>An error occured because the client wanted to access a not supported operation.</p>
53
+ * <p>An error occured because the client wanted to access an unsupported operation.</p>
48
54
  *
49
55
  * @throws {@link InternalException} (server fault)
50
56
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
51
57
  *
52
58
  * @throws {@link ResourceNotFoundException} (client fault)
53
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
59
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
54
60
  *
55
61
  * @throws {@link ValidationException} (client fault)
56
62
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
57
63
  *
64
+ * @throws {@link OpenSearchServiceException}
65
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
58
66
  *
59
67
  */
60
68
  export declare class GetUpgradeStatusCommand extends $Command<GetUpgradeStatusCommandInput, GetUpgradeStatusCommandOutput, OpenSearchClientResolvedConfig> {
@@ -32,6 +32,15 @@ export interface ListDomainNamesCommandOutput extends ListDomainNamesResponse, _
32
32
  * };
33
33
  * const command = new ListDomainNamesCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListDomainNamesResponse
36
+ * // DomainNames: [ // DomainInfoList
37
+ * // { // DomainInfo
38
+ * // DomainName: "STRING_VALUE",
39
+ * // EngineType: "OpenSearch" || "Elasticsearch",
40
+ * // },
41
+ * // ],
42
+ * // };
43
+ *
35
44
  * ```
36
45
  *
37
46
  * @param ListDomainNamesCommandInput - {@link ListDomainNamesCommandInput}
@@ -46,6 +55,8 @@ export interface ListDomainNamesCommandOutput extends ListDomainNamesResponse, _
46
55
  * @throws {@link ValidationException} (client fault)
47
56
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
48
57
  *
58
+ * @throws {@link OpenSearchServiceException}
59
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
49
60
  *
50
61
  */
51
62
  export declare class ListDomainNamesCommand extends $Command<ListDomainNamesCommandInput, ListDomainNamesCommandOutput, OpenSearchClientResolvedConfig> {
@@ -35,6 +35,26 @@ export interface ListDomainsForPackageCommandOutput extends ListDomainsForPackag
35
35
  * };
36
36
  * const command = new ListDomainsForPackageCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ListDomainsForPackageResponse
39
+ * // DomainPackageDetailsList: [ // DomainPackageDetailsList
40
+ * // { // DomainPackageDetails
41
+ * // PackageID: "STRING_VALUE",
42
+ * // PackageName: "STRING_VALUE",
43
+ * // PackageType: "TXT-DICTIONARY",
44
+ * // LastUpdated: new Date("TIMESTAMP"),
45
+ * // DomainName: "STRING_VALUE",
46
+ * // DomainPackageStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ACTIVE" || "DISSOCIATING" || "DISSOCIATION_FAILED",
47
+ * // PackageVersion: "STRING_VALUE",
48
+ * // ReferencePath: "STRING_VALUE",
49
+ * // ErrorDetails: { // ErrorDetails
50
+ * // ErrorType: "STRING_VALUE",
51
+ * // ErrorMessage: "STRING_VALUE",
52
+ * // },
53
+ * // },
54
+ * // ],
55
+ * // NextToken: "STRING_VALUE",
56
+ * // };
57
+ *
38
58
  * ```
39
59
  *
40
60
  * @param ListDomainsForPackageCommandInput - {@link ListDomainsForPackageCommandInput}
@@ -53,11 +73,13 @@ export interface ListDomainsForPackageCommandOutput extends ListDomainsForPackag
53
73
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
54
74
  *
55
75
  * @throws {@link ResourceNotFoundException} (client fault)
56
- * <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>
57
77
  *
58
78
  * @throws {@link ValidationException} (client fault)
59
79
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
60
80
  *
81
+ * @throws {@link OpenSearchServiceException}
82
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
61
83
  *
62
84
  */
63
85
  export declare class ListDomainsForPackageCommand extends $Command<ListDomainsForPackageCommandInput, ListDomainsForPackageCommandOutput, OpenSearchClientResolvedConfig> {
@@ -32,9 +32,31 @@ export interface ListInstanceTypeDetailsCommandOutput extends ListInstanceTypeDe
32
32
  * DomainName: "STRING_VALUE",
33
33
  * MaxResults: Number("int"),
34
34
  * NextToken: "STRING_VALUE",
35
+ * RetrieveAZs: true || false,
36
+ * InstanceType: "STRING_VALUE",
35
37
  * };
36
38
  * const command = new ListInstanceTypeDetailsCommand(input);
37
39
  * const response = await client.send(command);
40
+ * // { // ListInstanceTypeDetailsResponse
41
+ * // InstanceTypeDetails: [ // InstanceTypeDetailsList
42
+ * // { // InstanceTypeDetails
43
+ * // 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",
44
+ * // EncryptionEnabled: true || false,
45
+ * // CognitoEnabled: true || false,
46
+ * // AppLogsEnabled: true || false,
47
+ * // AdvancedSecurityEnabled: true || false,
48
+ * // WarmEnabled: true || false,
49
+ * // InstanceRole: [ // InstanceRoleList
50
+ * // "STRING_VALUE",
51
+ * // ],
52
+ * // AvailabilityZones: [ // AvailabilityZoneList
53
+ * // "STRING_VALUE",
54
+ * // ],
55
+ * // },
56
+ * // ],
57
+ * // NextToken: "STRING_VALUE",
58
+ * // };
59
+ *
38
60
  * ```
39
61
  *
40
62
  * @param ListInstanceTypeDetailsCommandInput - {@link ListInstanceTypeDetailsCommandInput}
@@ -50,11 +72,13 @@ export interface ListInstanceTypeDetailsCommandOutput extends ListInstanceTypeDe
50
72
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
51
73
  *
52
74
  * @throws {@link ResourceNotFoundException} (client fault)
53
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
75
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
54
76
  *
55
77
  * @throws {@link ValidationException} (client fault)
56
78
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
57
79
  *
80
+ * @throws {@link OpenSearchServiceException}
81
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
58
82
  *
59
83
  */
60
84
  export declare class ListInstanceTypeDetailsCommand extends $Command<ListInstanceTypeDetailsCommandInput, ListInstanceTypeDetailsCommandOutput, OpenSearchClientResolvedConfig> {
@@ -35,6 +35,26 @@ export interface ListPackagesForDomainCommandOutput extends ListPackagesForDomai
35
35
  * };
36
36
  * const command = new ListPackagesForDomainCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ListPackagesForDomainResponse
39
+ * // DomainPackageDetailsList: [ // DomainPackageDetailsList
40
+ * // { // DomainPackageDetails
41
+ * // PackageID: "STRING_VALUE",
42
+ * // PackageName: "STRING_VALUE",
43
+ * // PackageType: "TXT-DICTIONARY",
44
+ * // LastUpdated: new Date("TIMESTAMP"),
45
+ * // DomainName: "STRING_VALUE",
46
+ * // DomainPackageStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ACTIVE" || "DISSOCIATING" || "DISSOCIATION_FAILED",
47
+ * // PackageVersion: "STRING_VALUE",
48
+ * // ReferencePath: "STRING_VALUE",
49
+ * // ErrorDetails: { // ErrorDetails
50
+ * // ErrorType: "STRING_VALUE",
51
+ * // ErrorMessage: "STRING_VALUE",
52
+ * // },
53
+ * // },
54
+ * // ],
55
+ * // NextToken: "STRING_VALUE",
56
+ * // };
57
+ *
38
58
  * ```
39
59
  *
40
60
  * @param ListPackagesForDomainCommandInput - {@link ListPackagesForDomainCommandInput}
@@ -53,11 +73,13 @@ export interface ListPackagesForDomainCommandOutput extends ListPackagesForDomai
53
73
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
54
74
  *
55
75
  * @throws {@link ResourceNotFoundException} (client fault)
56
- * <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>
57
77
  *
58
78
  * @throws {@link ValidationException} (client fault)
59
79
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
60
80
  *
81
+ * @throws {@link OpenSearchServiceException}
82
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
61
83
  *
62
84
  */
63
85
  export declare class ListPackagesForDomainCommand extends $Command<ListPackagesForDomainCommandInput, ListPackagesForDomainCommandOutput, OpenSearchClientResolvedConfig> {
@@ -36,6 +36,23 @@ export interface ListScheduledActionsCommandOutput extends ListScheduledActionsR
36
36
  * };
37
37
  * const command = new ListScheduledActionsCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // ListScheduledActionsResponse
40
+ * // ScheduledActions: [ // ScheduledActionsList
41
+ * // { // ScheduledAction
42
+ * // Id: "STRING_VALUE", // required
43
+ * // Type: "SERVICE_SOFTWARE_UPDATE" || "JVM_HEAP_SIZE_TUNING" || "JVM_YOUNG_GEN_TUNING", // required
44
+ * // Severity: "HIGH" || "MEDIUM" || "LOW", // required
45
+ * // ScheduledTime: Number("long"), // required
46
+ * // Description: "STRING_VALUE",
47
+ * // ScheduledBy: "CUSTOMER" || "SYSTEM",
48
+ * // Status: "PENDING_UPDATE" || "IN_PROGRESS" || "FAILED" || "COMPLETED" || "NOT_ELIGIBLE" || "ELIGIBLE",
49
+ * // Mandatory: true || false,
50
+ * // Cancellable: true || false,
51
+ * // },
52
+ * // ],
53
+ * // NextToken: "STRING_VALUE",
54
+ * // };
55
+ *
39
56
  * ```
40
57
  *
41
58
  * @param ListScheduledActionsCommandInput - {@link ListScheduledActionsCommandInput}
@@ -51,14 +68,16 @@ export interface ListScheduledActionsCommandOutput extends ListScheduledActionsR
51
68
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
52
69
  *
53
70
  * @throws {@link InvalidPaginationTokenException} (client fault)
54
- * <p>The request processing has failed because you provided an invalid pagination token.</p>
71
+ * <p>Request processing failed because you provided an invalid pagination token.</p>
55
72
  *
56
73
  * @throws {@link ResourceNotFoundException} (client fault)
57
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
74
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
58
75
  *
59
76
  * @throws {@link ValidationException} (client fault)
60
77
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
61
78
  *
79
+ * @throws {@link OpenSearchServiceException}
80
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
62
81
  *
63
82
  */
64
83
  export declare class ListScheduledActionsCommand extends $Command<ListScheduledActionsCommandInput, ListScheduledActionsCommandOutput, OpenSearchClientResolvedConfig> {
@@ -32,6 +32,15 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
32
32
  * };
33
33
  * const command = new ListTagsCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListTagsResponse
36
+ * // TagList: [ // TagList
37
+ * // { // Tag
38
+ * // Key: "STRING_VALUE", // required
39
+ * // Value: "STRING_VALUE", // required
40
+ * // },
41
+ * // ],
42
+ * // };
43
+ *
35
44
  * ```
36
45
  *
37
46
  * @param ListTagsCommandInput - {@link ListTagsCommandInput}
@@ -47,11 +56,13 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
47
56
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
48
57
  *
49
58
  * @throws {@link ResourceNotFoundException} (client fault)
50
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
59
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
51
60
  *
52
61
  * @throws {@link ValidationException} (client fault)
53
62
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
54
63
  *
64
+ * @throws {@link OpenSearchServiceException}
65
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
55
66
  *
56
67
  */
57
68
  export declare class ListTagsCommand extends $Command<ListTagsCommandInput, ListTagsCommandOutput, OpenSearchClientResolvedConfig> {
@@ -33,6 +33,13 @@ export interface ListVersionsCommandOutput extends ListVersionsResponse, __Metad
33
33
  * };
34
34
  * const command = new ListVersionsCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListVersionsResponse
37
+ * // Versions: [ // VersionList
38
+ * // "STRING_VALUE",
39
+ * // ],
40
+ * // NextToken: "STRING_VALUE",
41
+ * // };
42
+ *
36
43
  * ```
37
44
  *
38
45
  * @param ListVersionsCommandInput - {@link ListVersionsCommandInput}
@@ -48,11 +55,13 @@ export interface ListVersionsCommandOutput extends ListVersionsResponse, __Metad
48
55
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
49
56
  *
50
57
  * @throws {@link ResourceNotFoundException} (client fault)
51
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
58
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
52
59
  *
53
60
  * @throws {@link ValidationException} (client fault)
54
61
  * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
55
62
  *
63
+ * @throws {@link OpenSearchServiceException}
64
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
56
65
  *
57
66
  */
58
67
  export declare class ListVersionsCommand extends $Command<ListVersionsCommandInput, ListVersionsCommandOutput, OpenSearchClientResolvedConfig> {
@@ -33,6 +33,16 @@ export interface ListVpcEndpointAccessCommandOutput extends ListVpcEndpointAcces
33
33
  * };
34
34
  * const command = new ListVpcEndpointAccessCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListVpcEndpointAccessResponse
37
+ * // AuthorizedPrincipalList: [ // AuthorizedPrincipalList // required
38
+ * // { // AuthorizedPrincipal
39
+ * // PrincipalType: "AWS_ACCOUNT" || "AWS_SERVICE",
40
+ * // Principal: "STRING_VALUE",
41
+ * // },
42
+ * // ],
43
+ * // NextToken: "STRING_VALUE", // required
44
+ * // };
45
+ *
36
46
  * ```
37
47
  *
38
48
  * @param ListVpcEndpointAccessCommandInput - {@link ListVpcEndpointAccessCommandInput}
@@ -45,14 +55,16 @@ export interface ListVpcEndpointAccessCommandOutput extends ListVpcEndpointAcces
45
55
  * <p>An error occurred while processing the request.</p>
46
56
  *
47
57
  * @throws {@link DisabledOperationException} (client fault)
48
- * <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>
49
59
  *
50
60
  * @throws {@link InternalException} (server fault)
51
61
  * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
52
62
  *
53
63
  * @throws {@link ResourceNotFoundException} (client fault)
54
- * <p>An exception for accessing or deleting a resource that does not exist..</p>
64
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
55
65
  *
66
+ * @throws {@link OpenSearchServiceException}
67
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
56
68
  *
57
69
  */
58
70
  export declare class ListVpcEndpointAccessCommand extends $Command<ListVpcEndpointAccessCommandInput, ListVpcEndpointAccessCommandOutput, OpenSearchClientResolvedConfig> {