@aws-sdk/client-opensearch 3.427.0 → 3.429.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +3 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/commands/AssociatePackageCommand.d.ts +1 -1
- package/dist-types/commands/CreatePackageCommand.d.ts +10 -2
- package/dist-types/commands/DeletePackageCommand.d.ts +9 -1
- package/dist-types/commands/DescribePackagesCommand.d.ts +10 -2
- package/dist-types/commands/DissociatePackageCommand.d.ts +1 -1
- package/dist-types/commands/GetPackageVersionHistoryCommand.d.ts +7 -0
- package/dist-types/commands/ListDomainsForPackageCommand.d.ts +1 -1
- package/dist-types/commands/ListPackagesForDomainCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDomainConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePackageCommand.d.ts +9 -1
- package/dist-types/models/models_0.d.ts +123 -72
- package/dist-types/ts3.4/models/models_0.d.ts +80 -67
- package/package.json +31 -31
|
@@ -141,6 +141,7 @@ exports.DomainPackageStatus = {
|
|
|
141
141
|
};
|
|
142
142
|
exports.PackageType = {
|
|
143
143
|
TXT_DICTIONARY: "TXT-DICTIONARY",
|
|
144
|
+
ZIP_PLUGIN: "ZIP-PLUGIN",
|
|
144
145
|
};
|
|
145
146
|
class ConflictException extends OpenSearchServiceException_1.OpenSearchServiceException {
|
|
146
147
|
constructor(opts) {
|
|
@@ -442,9 +443,11 @@ class InvalidPaginationTokenException extends OpenSearchServiceException_1.OpenS
|
|
|
442
443
|
}
|
|
443
444
|
exports.InvalidPaginationTokenException = InvalidPaginationTokenException;
|
|
444
445
|
exports.DescribePackagesFilterName = {
|
|
446
|
+
EngineVersion: "EngineVersion",
|
|
445
447
|
PackageID: "PackageID",
|
|
446
448
|
PackageName: "PackageName",
|
|
447
449
|
PackageStatus: "PackageStatus",
|
|
450
|
+
PackageType: "PackageType",
|
|
448
451
|
};
|
|
449
452
|
exports.ReservedInstancePaymentOption = {
|
|
450
453
|
ALL_UPFRONT: "ALL_UPFRONT",
|
|
@@ -4096,7 +4096,9 @@ const de_OptionStatus = (output, context) => {
|
|
|
4096
4096
|
const de_PackageDetails = (output, context) => {
|
|
4097
4097
|
return (0, smithy_client_1.take)(output, {
|
|
4098
4098
|
AvailablePackageVersion: smithy_client_1.expectString,
|
|
4099
|
+
AvailablePluginProperties: smithy_client_1._json,
|
|
4099
4100
|
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4101
|
+
EngineVersion: smithy_client_1.expectString,
|
|
4100
4102
|
ErrorDetails: smithy_client_1._json,
|
|
4101
4103
|
LastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4102
4104
|
PackageDescription: smithy_client_1.expectString,
|
|
@@ -4119,6 +4121,7 @@ const de_PackageVersionHistory = (output, context) => {
|
|
|
4119
4121
|
CommitMessage: smithy_client_1.expectString,
|
|
4120
4122
|
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4121
4123
|
PackageVersion: smithy_client_1.expectString,
|
|
4124
|
+
PluginProperties: smithy_client_1._json,
|
|
4122
4125
|
});
|
|
4123
4126
|
};
|
|
4124
4127
|
const de_PackageVersionHistoryList = (output, context) => {
|
|
@@ -130,6 +130,7 @@ export const DomainPackageStatus = {
|
|
|
130
130
|
};
|
|
131
131
|
export const PackageType = {
|
|
132
132
|
TXT_DICTIONARY: "TXT-DICTIONARY",
|
|
133
|
+
ZIP_PLUGIN: "ZIP-PLUGIN",
|
|
133
134
|
};
|
|
134
135
|
export class ConflictException extends __BaseException {
|
|
135
136
|
constructor(opts) {
|
|
@@ -426,9 +427,11 @@ export class InvalidPaginationTokenException extends __BaseException {
|
|
|
426
427
|
}
|
|
427
428
|
}
|
|
428
429
|
export const DescribePackagesFilterName = {
|
|
430
|
+
EngineVersion: "EngineVersion",
|
|
429
431
|
PackageID: "PackageID",
|
|
430
432
|
PackageName: "PackageName",
|
|
431
433
|
PackageStatus: "PackageStatus",
|
|
434
|
+
PackageType: "PackageType",
|
|
432
435
|
};
|
|
433
436
|
export const ReservedInstancePaymentOption = {
|
|
434
437
|
ALL_UPFRONT: "ALL_UPFRONT",
|
|
@@ -3983,7 +3983,9 @@ const de_OptionStatus = (output, context) => {
|
|
|
3983
3983
|
const de_PackageDetails = (output, context) => {
|
|
3984
3984
|
return take(output, {
|
|
3985
3985
|
AvailablePackageVersion: __expectString,
|
|
3986
|
+
AvailablePluginProperties: _json,
|
|
3986
3987
|
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3988
|
+
EngineVersion: __expectString,
|
|
3987
3989
|
ErrorDetails: _json,
|
|
3988
3990
|
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3989
3991
|
PackageDescription: __expectString,
|
|
@@ -4006,6 +4008,7 @@ const de_PackageVersionHistory = (output, context) => {
|
|
|
4006
4008
|
CommitMessage: __expectString,
|
|
4007
4009
|
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4008
4010
|
PackageVersion: __expectString,
|
|
4011
|
+
PluginProperties: _json,
|
|
4009
4012
|
});
|
|
4010
4013
|
};
|
|
4011
4014
|
const de_PackageVersionHistoryList = (output, context) => {
|
|
@@ -42,7 +42,7 @@ export interface AssociatePackageCommandOutput extends AssociatePackageResponse,
|
|
|
42
42
|
* // DomainPackageDetails: { // DomainPackageDetails
|
|
43
43
|
* // PackageID: "STRING_VALUE",
|
|
44
44
|
* // PackageName: "STRING_VALUE",
|
|
45
|
-
* // PackageType: "TXT-DICTIONARY",
|
|
45
|
+
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN",
|
|
46
46
|
* // LastUpdated: new Date("TIMESTAMP"),
|
|
47
47
|
* // DomainName: "STRING_VALUE",
|
|
48
48
|
* // DomainPackageStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ACTIVE" || "DISSOCIATING" || "DISSOCIATION_FAILED",
|
|
@@ -33,7 +33,7 @@ export interface CreatePackageCommandOutput extends CreatePackageResponse, __Met
|
|
|
33
33
|
* const client = new OpenSearchClient(config);
|
|
34
34
|
* const input = { // CreatePackageRequest
|
|
35
35
|
* PackageName: "STRING_VALUE", // required
|
|
36
|
-
* PackageType: "TXT-DICTIONARY", // required
|
|
36
|
+
* PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN", // required
|
|
37
37
|
* PackageDescription: "STRING_VALUE",
|
|
38
38
|
* PackageSource: { // PackageSource
|
|
39
39
|
* S3BucketName: "STRING_VALUE",
|
|
@@ -46,7 +46,7 @@ export interface CreatePackageCommandOutput extends CreatePackageResponse, __Met
|
|
|
46
46
|
* // PackageDetails: { // PackageDetails
|
|
47
47
|
* // PackageID: "STRING_VALUE",
|
|
48
48
|
* // PackageName: "STRING_VALUE",
|
|
49
|
-
* // PackageType: "TXT-DICTIONARY",
|
|
49
|
+
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN",
|
|
50
50
|
* // PackageDescription: "STRING_VALUE",
|
|
51
51
|
* // PackageStatus: "COPYING" || "COPY_FAILED" || "VALIDATING" || "VALIDATION_FAILED" || "AVAILABLE" || "DELETING" || "DELETED" || "DELETE_FAILED",
|
|
52
52
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
@@ -56,6 +56,14 @@ export interface CreatePackageCommandOutput extends CreatePackageResponse, __Met
|
|
|
56
56
|
* // ErrorType: "STRING_VALUE",
|
|
57
57
|
* // ErrorMessage: "STRING_VALUE",
|
|
58
58
|
* // },
|
|
59
|
+
* // EngineVersion: "STRING_VALUE",
|
|
60
|
+
* // AvailablePluginProperties: { // PluginProperties
|
|
61
|
+
* // Name: "STRING_VALUE",
|
|
62
|
+
* // Description: "STRING_VALUE",
|
|
63
|
+
* // Version: "STRING_VALUE",
|
|
64
|
+
* // ClassName: "STRING_VALUE",
|
|
65
|
+
* // UncompressedSizeInBytes: Number("long"),
|
|
66
|
+
* // },
|
|
59
67
|
* // },
|
|
60
68
|
* // };
|
|
61
69
|
*
|
|
@@ -40,7 +40,7 @@ export interface DeletePackageCommandOutput extends DeletePackageResponse, __Met
|
|
|
40
40
|
* // PackageDetails: { // PackageDetails
|
|
41
41
|
* // PackageID: "STRING_VALUE",
|
|
42
42
|
* // PackageName: "STRING_VALUE",
|
|
43
|
-
* // PackageType: "TXT-DICTIONARY",
|
|
43
|
+
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN",
|
|
44
44
|
* // PackageDescription: "STRING_VALUE",
|
|
45
45
|
* // PackageStatus: "COPYING" || "COPY_FAILED" || "VALIDATING" || "VALIDATION_FAILED" || "AVAILABLE" || "DELETING" || "DELETED" || "DELETE_FAILED",
|
|
46
46
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
@@ -50,6 +50,14 @@ export interface DeletePackageCommandOutput extends DeletePackageResponse, __Met
|
|
|
50
50
|
* // ErrorType: "STRING_VALUE",
|
|
51
51
|
* // ErrorMessage: "STRING_VALUE",
|
|
52
52
|
* // },
|
|
53
|
+
* // EngineVersion: "STRING_VALUE",
|
|
54
|
+
* // AvailablePluginProperties: { // PluginProperties
|
|
55
|
+
* // Name: "STRING_VALUE",
|
|
56
|
+
* // Description: "STRING_VALUE",
|
|
57
|
+
* // Version: "STRING_VALUE",
|
|
58
|
+
* // ClassName: "STRING_VALUE",
|
|
59
|
+
* // UncompressedSizeInBytes: Number("long"),
|
|
60
|
+
* // },
|
|
53
61
|
* // },
|
|
54
62
|
* // };
|
|
55
63
|
*
|
|
@@ -34,7 +34,7 @@ export interface DescribePackagesCommandOutput extends DescribePackagesResponse,
|
|
|
34
34
|
* const input = { // DescribePackagesRequest
|
|
35
35
|
* Filters: [ // DescribePackagesFilterList
|
|
36
36
|
* { // DescribePackagesFilter
|
|
37
|
-
* Name: "PackageID" || "PackageName" || "PackageStatus",
|
|
37
|
+
* Name: "PackageID" || "PackageName" || "PackageStatus" || "PackageType" || "EngineVersion",
|
|
38
38
|
* Value: [ // DescribePackagesFilterValues
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
@@ -50,7 +50,7 @@ export interface DescribePackagesCommandOutput extends DescribePackagesResponse,
|
|
|
50
50
|
* // { // PackageDetails
|
|
51
51
|
* // PackageID: "STRING_VALUE",
|
|
52
52
|
* // PackageName: "STRING_VALUE",
|
|
53
|
-
* // PackageType: "TXT-DICTIONARY",
|
|
53
|
+
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN",
|
|
54
54
|
* // PackageDescription: "STRING_VALUE",
|
|
55
55
|
* // PackageStatus: "COPYING" || "COPY_FAILED" || "VALIDATING" || "VALIDATION_FAILED" || "AVAILABLE" || "DELETING" || "DELETED" || "DELETE_FAILED",
|
|
56
56
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
@@ -60,6 +60,14 @@ export interface DescribePackagesCommandOutput extends DescribePackagesResponse,
|
|
|
60
60
|
* // ErrorType: "STRING_VALUE",
|
|
61
61
|
* // ErrorMessage: "STRING_VALUE",
|
|
62
62
|
* // },
|
|
63
|
+
* // EngineVersion: "STRING_VALUE",
|
|
64
|
+
* // AvailablePluginProperties: { // PluginProperties
|
|
65
|
+
* // Name: "STRING_VALUE",
|
|
66
|
+
* // Description: "STRING_VALUE",
|
|
67
|
+
* // Version: "STRING_VALUE",
|
|
68
|
+
* // ClassName: "STRING_VALUE",
|
|
69
|
+
* // UncompressedSizeInBytes: Number("long"),
|
|
70
|
+
* // },
|
|
63
71
|
* // },
|
|
64
72
|
* // ],
|
|
65
73
|
* // NextToken: "STRING_VALUE",
|
|
@@ -43,7 +43,7 @@ export interface DissociatePackageCommandOutput extends DissociatePackageRespons
|
|
|
43
43
|
* // DomainPackageDetails: { // DomainPackageDetails
|
|
44
44
|
* // PackageID: "STRING_VALUE",
|
|
45
45
|
* // PackageName: "STRING_VALUE",
|
|
46
|
-
* // PackageType: "TXT-DICTIONARY",
|
|
46
|
+
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN",
|
|
47
47
|
* // LastUpdated: new Date("TIMESTAMP"),
|
|
48
48
|
* // DomainName: "STRING_VALUE",
|
|
49
49
|
* // DomainPackageStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ACTIVE" || "DISSOCIATING" || "DISSOCIATION_FAILED",
|
|
@@ -46,6 +46,13 @@ export interface GetPackageVersionHistoryCommandOutput extends GetPackageVersion
|
|
|
46
46
|
* // PackageVersion: "STRING_VALUE",
|
|
47
47
|
* // CommitMessage: "STRING_VALUE",
|
|
48
48
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
49
|
+
* // PluginProperties: { // PluginProperties
|
|
50
|
+
* // Name: "STRING_VALUE",
|
|
51
|
+
* // Description: "STRING_VALUE",
|
|
52
|
+
* // Version: "STRING_VALUE",
|
|
53
|
+
* // ClassName: "STRING_VALUE",
|
|
54
|
+
* // UncompressedSizeInBytes: Number("long"),
|
|
55
|
+
* // },
|
|
49
56
|
* // },
|
|
50
57
|
* // ],
|
|
51
58
|
* // NextToken: "STRING_VALUE",
|
|
@@ -44,7 +44,7 @@ export interface ListDomainsForPackageCommandOutput extends ListDomainsForPackag
|
|
|
44
44
|
* // { // DomainPackageDetails
|
|
45
45
|
* // PackageID: "STRING_VALUE",
|
|
46
46
|
* // PackageName: "STRING_VALUE",
|
|
47
|
-
* // PackageType: "TXT-DICTIONARY",
|
|
47
|
+
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN",
|
|
48
48
|
* // LastUpdated: new Date("TIMESTAMP"),
|
|
49
49
|
* // DomainName: "STRING_VALUE",
|
|
50
50
|
* // DomainPackageStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ACTIVE" || "DISSOCIATING" || "DISSOCIATION_FAILED",
|
|
@@ -44,7 +44,7 @@ export interface ListPackagesForDomainCommandOutput extends ListPackagesForDomai
|
|
|
44
44
|
* // { // DomainPackageDetails
|
|
45
45
|
* // PackageID: "STRING_VALUE",
|
|
46
46
|
* // PackageName: "STRING_VALUE",
|
|
47
|
-
* // PackageType: "TXT-DICTIONARY",
|
|
47
|
+
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN",
|
|
48
48
|
* // LastUpdated: new Date("TIMESTAMP"),
|
|
49
49
|
* // DomainName: "STRING_VALUE",
|
|
50
50
|
* // DomainPackageStatus: "ASSOCIATING" || "ASSOCIATION_FAILED" || "ACTIVE" || "DISSOCIATING" || "DISSOCIATION_FAILED",
|
|
@@ -24,7 +24,7 @@ export interface UpdateDomainConfigCommandOutput extends UpdateDomainConfigRespo
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Modifies the cluster configuration of the specified Amazon OpenSearch Service
|
|
27
|
-
* domain
|
|
27
|
+
* domain.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -46,7 +46,7 @@ export interface UpdatePackageCommandOutput extends UpdatePackageResponse, __Met
|
|
|
46
46
|
* // PackageDetails: { // PackageDetails
|
|
47
47
|
* // PackageID: "STRING_VALUE",
|
|
48
48
|
* // PackageName: "STRING_VALUE",
|
|
49
|
-
* // PackageType: "TXT-DICTIONARY",
|
|
49
|
+
* // PackageType: "TXT-DICTIONARY" || "ZIP-PLUGIN",
|
|
50
50
|
* // PackageDescription: "STRING_VALUE",
|
|
51
51
|
* // PackageStatus: "COPYING" || "COPY_FAILED" || "VALIDATING" || "VALIDATION_FAILED" || "AVAILABLE" || "DELETING" || "DELETED" || "DELETE_FAILED",
|
|
52
52
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
@@ -56,6 +56,14 @@ export interface UpdatePackageCommandOutput extends UpdatePackageResponse, __Met
|
|
|
56
56
|
* // ErrorType: "STRING_VALUE",
|
|
57
57
|
* // ErrorMessage: "STRING_VALUE",
|
|
58
58
|
* // },
|
|
59
|
+
* // EngineVersion: "STRING_VALUE",
|
|
60
|
+
* // AvailablePluginProperties: { // PluginProperties
|
|
61
|
+
* // Name: "STRING_VALUE",
|
|
62
|
+
* // Description: "STRING_VALUE",
|
|
63
|
+
* // Version: "STRING_VALUE",
|
|
64
|
+
* // ClassName: "STRING_VALUE",
|
|
65
|
+
* // UncompressedSizeInBytes: Number("long"),
|
|
66
|
+
* // },
|
|
59
67
|
* // },
|
|
60
68
|
* // };
|
|
61
69
|
*
|