@aws-sdk/client-osis 3.450.0 → 3.454.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 +17 -14
- package/dist-cjs/protocols/Aws_restJson1.js +12 -0
- package/dist-es/models/models_0.js +15 -12
- package/dist-es/protocols/Aws_restJson1.js +12 -0
- package/dist-types/commands/CreatePipelineCommand.d.ts +27 -0
- package/dist-types/commands/GetPipelineCommand.d.ts +18 -0
- package/dist-types/commands/ListPipelinesCommand.d.ts +6 -0
- package/dist-types/commands/StartPipelineCommand.d.ts +18 -0
- package/dist-types/commands/StopPipelineCommand.d.ts +18 -0
- package/dist-types/commands/UpdatePipelineCommand.d.ts +24 -0
- package/dist-types/models/models_0.d.ts +109 -12
- package/dist-types/ts3.4/models/models_0.d.ts +31 -7
- package/package.json +35 -35
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InvalidPaginationTokenException = exports.ChangeProgressStatuses = exports.ChangeProgressStageStatuses = exports.
|
|
3
|
+
exports.InvalidPaginationTokenException = exports.ChangeProgressStatuses = exports.ChangeProgressStageStatuses = exports.ConflictException = exports.ValidationException = exports.ResourceNotFoundException = exports.ResourceAlreadyExistsException = exports.LimitExceededException = exports.InternalException = exports.PipelineStatus = exports.VpcEndpointServiceName = exports.AccessDeniedException = void 0;
|
|
4
4
|
const OSISServiceException_1 = require("./OSISServiceException");
|
|
5
5
|
class AccessDeniedException extends OSISServiceException_1.OSISServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -15,6 +15,9 @@ class AccessDeniedException extends OSISServiceException_1.OSISServiceException
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
+
exports.VpcEndpointServiceName = {
|
|
19
|
+
OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS",
|
|
20
|
+
};
|
|
18
21
|
exports.PipelineStatus = {
|
|
19
22
|
ACTIVE: "ACTIVE",
|
|
20
23
|
CREATE_FAILED: "CREATE_FAILED",
|
|
@@ -66,6 +69,19 @@ class ResourceAlreadyExistsException extends OSISServiceException_1.OSISServiceE
|
|
|
66
69
|
}
|
|
67
70
|
}
|
|
68
71
|
exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
|
|
72
|
+
class ResourceNotFoundException extends OSISServiceException_1.OSISServiceException {
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "ResourceNotFoundException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
this.name = "ResourceNotFoundException";
|
|
80
|
+
this.$fault = "client";
|
|
81
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
69
85
|
class ValidationException extends OSISServiceException_1.OSISServiceException {
|
|
70
86
|
constructor(opts) {
|
|
71
87
|
super({
|
|
@@ -92,19 +108,6 @@ class ConflictException extends OSISServiceException_1.OSISServiceException {
|
|
|
92
108
|
}
|
|
93
109
|
}
|
|
94
110
|
exports.ConflictException = ConflictException;
|
|
95
|
-
class ResourceNotFoundException extends OSISServiceException_1.OSISServiceException {
|
|
96
|
-
constructor(opts) {
|
|
97
|
-
super({
|
|
98
|
-
name: "ResourceNotFoundException",
|
|
99
|
-
$fault: "client",
|
|
100
|
-
...opts,
|
|
101
|
-
});
|
|
102
|
-
this.name = "ResourceNotFoundException";
|
|
103
|
-
this.$fault = "client";
|
|
104
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
108
111
|
exports.ChangeProgressStageStatuses = {
|
|
109
112
|
COMPLETED: "COMPLETED",
|
|
110
113
|
FAILED: "FAILED",
|
|
@@ -13,6 +13,8 @@ const se_CreatePipelineCommand = async (input, context) => {
|
|
|
13
13
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2022-01-01/osis/createPipeline";
|
|
14
14
|
let body;
|
|
15
15
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
16
|
+
BufferOptions: (_) => (0, smithy_client_1._json)(_),
|
|
17
|
+
EncryptionAtRestOptions: (_) => (0, smithy_client_1._json)(_),
|
|
16
18
|
LogPublishingOptions: (_) => (0, smithy_client_1._json)(_),
|
|
17
19
|
MaxUnits: [],
|
|
18
20
|
MinUnits: [],
|
|
@@ -260,6 +262,8 @@ const se_UpdatePipelineCommand = async (input, context) => {
|
|
|
260
262
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "PipelineName", () => input.PipelineName, "{PipelineName}", false);
|
|
261
263
|
let body;
|
|
262
264
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
265
|
+
BufferOptions: (_) => (0, smithy_client_1._json)(_),
|
|
266
|
+
EncryptionAtRestOptions: (_) => (0, smithy_client_1._json)(_),
|
|
263
267
|
LogPublishingOptions: (_) => (0, smithy_client_1._json)(_),
|
|
264
268
|
MaxUnits: [],
|
|
265
269
|
MinUnits: [],
|
|
@@ -331,6 +335,9 @@ const de_CreatePipelineCommandError = async (output, context) => {
|
|
|
331
335
|
case "ResourceAlreadyExistsException":
|
|
332
336
|
case "com.amazonaws.osis#ResourceAlreadyExistsException":
|
|
333
337
|
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
338
|
+
case "ResourceNotFoundException":
|
|
339
|
+
case "com.amazonaws.osis#ResourceNotFoundException":
|
|
340
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
334
341
|
case "ValidationException":
|
|
335
342
|
case "com.amazonaws.osis#ValidationException":
|
|
336
343
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
@@ -1043,7 +1050,9 @@ const de_ChangeProgressStatusList = (output, context) => {
|
|
|
1043
1050
|
};
|
|
1044
1051
|
const de_Pipeline = (output, context) => {
|
|
1045
1052
|
return (0, smithy_client_1.take)(output, {
|
|
1053
|
+
BufferOptions: smithy_client_1._json,
|
|
1046
1054
|
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1055
|
+
EncryptionAtRestOptions: smithy_client_1._json,
|
|
1047
1056
|
IngestEndpointUrls: smithy_client_1._json,
|
|
1048
1057
|
LastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1049
1058
|
LogPublishingOptions: smithy_client_1._json,
|
|
@@ -1052,8 +1061,10 @@ const de_Pipeline = (output, context) => {
|
|
|
1052
1061
|
PipelineArn: smithy_client_1.expectString,
|
|
1053
1062
|
PipelineConfigurationBody: smithy_client_1.expectString,
|
|
1054
1063
|
PipelineName: smithy_client_1.expectString,
|
|
1064
|
+
ServiceVpcEndpoints: smithy_client_1._json,
|
|
1055
1065
|
Status: smithy_client_1.expectString,
|
|
1056
1066
|
StatusReason: smithy_client_1._json,
|
|
1067
|
+
Tags: smithy_client_1._json,
|
|
1057
1068
|
VpcEndpoints: smithy_client_1._json,
|
|
1058
1069
|
});
|
|
1059
1070
|
};
|
|
@@ -1067,6 +1078,7 @@ const de_PipelineSummary = (output, context) => {
|
|
|
1067
1078
|
PipelineName: smithy_client_1.expectString,
|
|
1068
1079
|
Status: smithy_client_1.expectString,
|
|
1069
1080
|
StatusReason: smithy_client_1._json,
|
|
1081
|
+
Tags: smithy_client_1._json,
|
|
1070
1082
|
});
|
|
1071
1083
|
};
|
|
1072
1084
|
const de_PipelineSummaryList = (output, context) => {
|
|
@@ -11,6 +11,9 @@ export class AccessDeniedException extends __BaseException {
|
|
|
11
11
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
+
export const VpcEndpointServiceName = {
|
|
15
|
+
OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS",
|
|
16
|
+
};
|
|
14
17
|
export const PipelineStatus = {
|
|
15
18
|
ACTIVE: "ACTIVE",
|
|
16
19
|
CREATE_FAILED: "CREATE_FAILED",
|
|
@@ -59,40 +62,40 @@ export class ResourceAlreadyExistsException extends __BaseException {
|
|
|
59
62
|
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
60
63
|
}
|
|
61
64
|
}
|
|
62
|
-
export class
|
|
65
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
63
66
|
constructor(opts) {
|
|
64
67
|
super({
|
|
65
|
-
name: "
|
|
68
|
+
name: "ResourceNotFoundException",
|
|
66
69
|
$fault: "client",
|
|
67
70
|
...opts,
|
|
68
71
|
});
|
|
69
|
-
this.name = "
|
|
72
|
+
this.name = "ResourceNotFoundException";
|
|
70
73
|
this.$fault = "client";
|
|
71
|
-
Object.setPrototypeOf(this,
|
|
74
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
72
75
|
}
|
|
73
76
|
}
|
|
74
|
-
export class
|
|
77
|
+
export class ValidationException extends __BaseException {
|
|
75
78
|
constructor(opts) {
|
|
76
79
|
super({
|
|
77
|
-
name: "
|
|
80
|
+
name: "ValidationException",
|
|
78
81
|
$fault: "client",
|
|
79
82
|
...opts,
|
|
80
83
|
});
|
|
81
|
-
this.name = "
|
|
84
|
+
this.name = "ValidationException";
|
|
82
85
|
this.$fault = "client";
|
|
83
|
-
Object.setPrototypeOf(this,
|
|
86
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
84
87
|
}
|
|
85
88
|
}
|
|
86
|
-
export class
|
|
89
|
+
export class ConflictException extends __BaseException {
|
|
87
90
|
constructor(opts) {
|
|
88
91
|
super({
|
|
89
|
-
name: "
|
|
92
|
+
name: "ConflictException",
|
|
90
93
|
$fault: "client",
|
|
91
94
|
...opts,
|
|
92
95
|
});
|
|
93
|
-
this.name = "
|
|
96
|
+
this.name = "ConflictException";
|
|
94
97
|
this.$fault = "client";
|
|
95
|
-
Object.setPrototypeOf(this,
|
|
98
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
96
99
|
}
|
|
97
100
|
}
|
|
98
101
|
export const ChangeProgressStageStatuses = {
|
|
@@ -10,6 +10,8 @@ export const se_CreatePipelineCommand = async (input, context) => {
|
|
|
10
10
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2022-01-01/osis/createPipeline";
|
|
11
11
|
let body;
|
|
12
12
|
body = JSON.stringify(take(input, {
|
|
13
|
+
BufferOptions: (_) => _json(_),
|
|
14
|
+
EncryptionAtRestOptions: (_) => _json(_),
|
|
13
15
|
LogPublishingOptions: (_) => _json(_),
|
|
14
16
|
MaxUnits: [],
|
|
15
17
|
MinUnits: [],
|
|
@@ -245,6 +247,8 @@ export const se_UpdatePipelineCommand = async (input, context) => {
|
|
|
245
247
|
resolvedPath = __resolvedPath(resolvedPath, input, "PipelineName", () => input.PipelineName, "{PipelineName}", false);
|
|
246
248
|
let body;
|
|
247
249
|
body = JSON.stringify(take(input, {
|
|
250
|
+
BufferOptions: (_) => _json(_),
|
|
251
|
+
EncryptionAtRestOptions: (_) => _json(_),
|
|
248
252
|
LogPublishingOptions: (_) => _json(_),
|
|
249
253
|
MaxUnits: [],
|
|
250
254
|
MinUnits: [],
|
|
@@ -313,6 +317,9 @@ const de_CreatePipelineCommandError = async (output, context) => {
|
|
|
313
317
|
case "ResourceAlreadyExistsException":
|
|
314
318
|
case "com.amazonaws.osis#ResourceAlreadyExistsException":
|
|
315
319
|
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
320
|
+
case "ResourceNotFoundException":
|
|
321
|
+
case "com.amazonaws.osis#ResourceNotFoundException":
|
|
322
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
316
323
|
case "ValidationException":
|
|
317
324
|
case "com.amazonaws.osis#ValidationException":
|
|
318
325
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
@@ -1012,7 +1019,9 @@ const de_ChangeProgressStatusList = (output, context) => {
|
|
|
1012
1019
|
};
|
|
1013
1020
|
const de_Pipeline = (output, context) => {
|
|
1014
1021
|
return take(output, {
|
|
1022
|
+
BufferOptions: _json,
|
|
1015
1023
|
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1024
|
+
EncryptionAtRestOptions: _json,
|
|
1016
1025
|
IngestEndpointUrls: _json,
|
|
1017
1026
|
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1018
1027
|
LogPublishingOptions: _json,
|
|
@@ -1021,8 +1030,10 @@ const de_Pipeline = (output, context) => {
|
|
|
1021
1030
|
PipelineArn: __expectString,
|
|
1022
1031
|
PipelineConfigurationBody: __expectString,
|
|
1023
1032
|
PipelineName: __expectString,
|
|
1033
|
+
ServiceVpcEndpoints: _json,
|
|
1024
1034
|
Status: __expectString,
|
|
1025
1035
|
StatusReason: _json,
|
|
1036
|
+
Tags: _json,
|
|
1026
1037
|
VpcEndpoints: _json,
|
|
1027
1038
|
});
|
|
1028
1039
|
};
|
|
@@ -1036,6 +1047,7 @@ const de_PipelineSummary = (output, context) => {
|
|
|
1036
1047
|
PipelineName: __expectString,
|
|
1037
1048
|
Status: __expectString,
|
|
1038
1049
|
StatusReason: _json,
|
|
1050
|
+
Tags: _json,
|
|
1039
1051
|
});
|
|
1040
1052
|
};
|
|
1041
1053
|
const de_PipelineSummaryList = (output, context) => {
|
|
@@ -49,6 +49,12 @@ export interface CreatePipelineCommandOutput extends CreatePipelineResponse, __M
|
|
|
49
49
|
* "STRING_VALUE",
|
|
50
50
|
* ],
|
|
51
51
|
* },
|
|
52
|
+
* BufferOptions: { // BufferOptions
|
|
53
|
+
* PersistentBufferEnabled: true || false, // required
|
|
54
|
+
* },
|
|
55
|
+
* EncryptionAtRestOptions: { // EncryptionAtRestOptions
|
|
56
|
+
* KmsKeyArn: "STRING_VALUE", // required
|
|
57
|
+
* },
|
|
52
58
|
* Tags: [ // TagList
|
|
53
59
|
* { // Tag
|
|
54
60
|
* Key: "STRING_VALUE", // required
|
|
@@ -94,6 +100,24 @@ export interface CreatePipelineCommandOutput extends CreatePipelineResponse, __M
|
|
|
94
100
|
* // },
|
|
95
101
|
* // },
|
|
96
102
|
* // ],
|
|
103
|
+
* // BufferOptions: { // BufferOptions
|
|
104
|
+
* // PersistentBufferEnabled: true || false, // required
|
|
105
|
+
* // },
|
|
106
|
+
* // EncryptionAtRestOptions: { // EncryptionAtRestOptions
|
|
107
|
+
* // KmsKeyArn: "STRING_VALUE", // required
|
|
108
|
+
* // },
|
|
109
|
+
* // ServiceVpcEndpoints: [ // ServiceVpcEndpointsList
|
|
110
|
+
* // { // ServiceVpcEndpoint
|
|
111
|
+
* // ServiceName: "OPENSEARCH_SERVERLESS",
|
|
112
|
+
* // VpcEndpointId: "STRING_VALUE",
|
|
113
|
+
* // },
|
|
114
|
+
* // ],
|
|
115
|
+
* // Tags: [ // TagList
|
|
116
|
+
* // { // Tag
|
|
117
|
+
* // Key: "STRING_VALUE", // required
|
|
118
|
+
* // Value: "STRING_VALUE", // required
|
|
119
|
+
* // },
|
|
120
|
+
* // ],
|
|
97
121
|
* // },
|
|
98
122
|
* // };
|
|
99
123
|
*
|
|
@@ -118,6 +142,9 @@ export interface CreatePipelineCommandOutput extends CreatePipelineResponse, __M
|
|
|
118
142
|
* @throws {@link ResourceAlreadyExistsException} (client fault)
|
|
119
143
|
* <p>You attempted to create a resource that already exists.</p>
|
|
120
144
|
*
|
|
145
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
146
|
+
* <p>You attempted to access or delete a resource that does not exist.</p>
|
|
147
|
+
*
|
|
121
148
|
* @throws {@link ValidationException} (client fault)
|
|
122
149
|
* <p>An exception for missing or invalid input fields.</p>
|
|
123
150
|
*
|
|
@@ -71,6 +71,24 @@ export interface GetPipelineCommandOutput extends GetPipelineResponse, __Metadat
|
|
|
71
71
|
* // },
|
|
72
72
|
* // },
|
|
73
73
|
* // ],
|
|
74
|
+
* // BufferOptions: { // BufferOptions
|
|
75
|
+
* // PersistentBufferEnabled: true || false, // required
|
|
76
|
+
* // },
|
|
77
|
+
* // EncryptionAtRestOptions: { // EncryptionAtRestOptions
|
|
78
|
+
* // KmsKeyArn: "STRING_VALUE", // required
|
|
79
|
+
* // },
|
|
80
|
+
* // ServiceVpcEndpoints: [ // ServiceVpcEndpointsList
|
|
81
|
+
* // { // ServiceVpcEndpoint
|
|
82
|
+
* // ServiceName: "OPENSEARCH_SERVERLESS",
|
|
83
|
+
* // VpcEndpointId: "STRING_VALUE",
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // Tags: [ // TagList
|
|
87
|
+
* // { // Tag
|
|
88
|
+
* // Key: "STRING_VALUE", // required
|
|
89
|
+
* // Value: "STRING_VALUE", // required
|
|
90
|
+
* // },
|
|
91
|
+
* // ],
|
|
74
92
|
* // },
|
|
75
93
|
* // };
|
|
76
94
|
*
|
|
@@ -51,6 +51,12 @@ export interface ListPipelinesCommandOutput extends ListPipelinesResponse, __Met
|
|
|
51
51
|
* // MaxUnits: Number("int"),
|
|
52
52
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
53
53
|
* // LastUpdatedAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // Tags: [ // TagList
|
|
55
|
+
* // { // Tag
|
|
56
|
+
* // Key: "STRING_VALUE", // required
|
|
57
|
+
* // Value: "STRING_VALUE", // required
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
54
60
|
* // },
|
|
55
61
|
* // ],
|
|
56
62
|
* // };
|
|
@@ -71,6 +71,24 @@ export interface StartPipelineCommandOutput extends StartPipelineResponse, __Met
|
|
|
71
71
|
* // },
|
|
72
72
|
* // },
|
|
73
73
|
* // ],
|
|
74
|
+
* // BufferOptions: { // BufferOptions
|
|
75
|
+
* // PersistentBufferEnabled: true || false, // required
|
|
76
|
+
* // },
|
|
77
|
+
* // EncryptionAtRestOptions: { // EncryptionAtRestOptions
|
|
78
|
+
* // KmsKeyArn: "STRING_VALUE", // required
|
|
79
|
+
* // },
|
|
80
|
+
* // ServiceVpcEndpoints: [ // ServiceVpcEndpointsList
|
|
81
|
+
* // { // ServiceVpcEndpoint
|
|
82
|
+
* // ServiceName: "OPENSEARCH_SERVERLESS",
|
|
83
|
+
* // VpcEndpointId: "STRING_VALUE",
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // Tags: [ // TagList
|
|
87
|
+
* // { // Tag
|
|
88
|
+
* // Key: "STRING_VALUE", // required
|
|
89
|
+
* // Value: "STRING_VALUE", // required
|
|
90
|
+
* // },
|
|
91
|
+
* // ],
|
|
74
92
|
* // },
|
|
75
93
|
* // };
|
|
76
94
|
*
|
|
@@ -71,6 +71,24 @@ export interface StopPipelineCommandOutput extends StopPipelineResponse, __Metad
|
|
|
71
71
|
* // },
|
|
72
72
|
* // },
|
|
73
73
|
* // ],
|
|
74
|
+
* // BufferOptions: { // BufferOptions
|
|
75
|
+
* // PersistentBufferEnabled: true || false, // required
|
|
76
|
+
* // },
|
|
77
|
+
* // EncryptionAtRestOptions: { // EncryptionAtRestOptions
|
|
78
|
+
* // KmsKeyArn: "STRING_VALUE", // required
|
|
79
|
+
* // },
|
|
80
|
+
* // ServiceVpcEndpoints: [ // ServiceVpcEndpointsList
|
|
81
|
+
* // { // ServiceVpcEndpoint
|
|
82
|
+
* // ServiceName: "OPENSEARCH_SERVERLESS",
|
|
83
|
+
* // VpcEndpointId: "STRING_VALUE",
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // Tags: [ // TagList
|
|
87
|
+
* // { // Tag
|
|
88
|
+
* // Key: "STRING_VALUE", // required
|
|
89
|
+
* // Value: "STRING_VALUE", // required
|
|
90
|
+
* // },
|
|
91
|
+
* // ],
|
|
74
92
|
* // },
|
|
75
93
|
* // };
|
|
76
94
|
*
|
|
@@ -41,6 +41,12 @@ export interface UpdatePipelineCommandOutput extends UpdatePipelineResponse, __M
|
|
|
41
41
|
* LogGroup: "STRING_VALUE", // required
|
|
42
42
|
* },
|
|
43
43
|
* },
|
|
44
|
+
* BufferOptions: { // BufferOptions
|
|
45
|
+
* PersistentBufferEnabled: true || false, // required
|
|
46
|
+
* },
|
|
47
|
+
* EncryptionAtRestOptions: { // EncryptionAtRestOptions
|
|
48
|
+
* KmsKeyArn: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
44
50
|
* };
|
|
45
51
|
* const command = new UpdatePipelineCommand(input);
|
|
46
52
|
* const response = await client.send(command);
|
|
@@ -80,6 +86,24 @@ export interface UpdatePipelineCommandOutput extends UpdatePipelineResponse, __M
|
|
|
80
86
|
* // },
|
|
81
87
|
* // },
|
|
82
88
|
* // ],
|
|
89
|
+
* // BufferOptions: { // BufferOptions
|
|
90
|
+
* // PersistentBufferEnabled: true || false, // required
|
|
91
|
+
* // },
|
|
92
|
+
* // EncryptionAtRestOptions: { // EncryptionAtRestOptions
|
|
93
|
+
* // KmsKeyArn: "STRING_VALUE", // required
|
|
94
|
+
* // },
|
|
95
|
+
* // ServiceVpcEndpoints: [ // ServiceVpcEndpointsList
|
|
96
|
+
* // { // ServiceVpcEndpoint
|
|
97
|
+
* // ServiceName: "OPENSEARCH_SERVERLESS",
|
|
98
|
+
* // VpcEndpointId: "STRING_VALUE",
|
|
99
|
+
* // },
|
|
100
|
+
* // ],
|
|
101
|
+
* // Tags: [ // TagList
|
|
102
|
+
* // { // Tag
|
|
103
|
+
* // Key: "STRING_VALUE", // required
|
|
104
|
+
* // Value: "STRING_VALUE", // required
|
|
105
|
+
* // },
|
|
106
|
+
* // ],
|
|
83
107
|
* // },
|
|
84
108
|
* // };
|
|
85
109
|
*
|
|
@@ -12,6 +12,30 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
12
12
|
*/
|
|
13
13
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* <p>Options that specify the configuration of a persistent buffer.
|
|
18
|
+
* To configure how OpenSearch Ingestion encrypts this data, set the EncryptionAtRestOptions.</p>
|
|
19
|
+
*/
|
|
20
|
+
export interface BufferOptions {
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
* <p>Whether persistent buffering should be enabled.</p>
|
|
24
|
+
*/
|
|
25
|
+
PersistentBufferEnabled: boolean | undefined;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Options to control how OpenSearch encrypts all data-at-rest.</p>
|
|
30
|
+
*/
|
|
31
|
+
export interface EncryptionAtRestOptions {
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
* <p>The ARN of the KMS key used to encrypt data-at-rest in OpenSearch Ingestion.
|
|
35
|
+
* By default, data is encrypted using an AWS owned key.</p>
|
|
36
|
+
*/
|
|
37
|
+
KmsKeyArn: string | undefined;
|
|
38
|
+
}
|
|
15
39
|
/**
|
|
16
40
|
* @public
|
|
17
41
|
* <p>The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch.</p>
|
|
@@ -118,12 +142,49 @@ export interface CreatePipelineRequest {
|
|
|
118
142
|
* these values, OpenSearch Ingestion creates the pipeline with a public endpoint.</p>
|
|
119
143
|
*/
|
|
120
144
|
VpcOptions?: VpcOptions;
|
|
145
|
+
/**
|
|
146
|
+
* @public
|
|
147
|
+
* <p>Key-value pairs to configure persistent buffering for the pipeline.</p>
|
|
148
|
+
*/
|
|
149
|
+
BufferOptions?: BufferOptions;
|
|
150
|
+
/**
|
|
151
|
+
* @public
|
|
152
|
+
* <p>Key-value pairs to configure encryption for data that is written to a persistent buffer.</p>
|
|
153
|
+
*/
|
|
154
|
+
EncryptionAtRestOptions?: EncryptionAtRestOptions;
|
|
121
155
|
/**
|
|
122
156
|
* @public
|
|
123
157
|
* <p>List of tags to add to the pipeline upon creation.</p>
|
|
124
158
|
*/
|
|
125
159
|
Tags?: Tag[];
|
|
126
160
|
}
|
|
161
|
+
/**
|
|
162
|
+
* @public
|
|
163
|
+
* @enum
|
|
164
|
+
*/
|
|
165
|
+
export declare const VpcEndpointServiceName: {
|
|
166
|
+
readonly OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS";
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
export type VpcEndpointServiceName = (typeof VpcEndpointServiceName)[keyof typeof VpcEndpointServiceName];
|
|
172
|
+
/**
|
|
173
|
+
* @public
|
|
174
|
+
* <p>A container for information about VPC endpoints that were created to other services</p>
|
|
175
|
+
*/
|
|
176
|
+
export interface ServiceVpcEndpoint {
|
|
177
|
+
/**
|
|
178
|
+
* @public
|
|
179
|
+
* <p>The name of the service for which a VPC endpoint was created.</p>
|
|
180
|
+
*/
|
|
181
|
+
ServiceName?: VpcEndpointServiceName;
|
|
182
|
+
/**
|
|
183
|
+
* @public
|
|
184
|
+
* <p>The ID of the VPC endpoint that was created.</p>
|
|
185
|
+
*/
|
|
186
|
+
VpcEndpointId?: string;
|
|
187
|
+
}
|
|
127
188
|
/**
|
|
128
189
|
* @public
|
|
129
190
|
* @enum
|
|
@@ -243,6 +304,27 @@ export interface Pipeline {
|
|
|
243
304
|
* <p>The VPC interface endpoints that have access to the pipeline.</p>
|
|
244
305
|
*/
|
|
245
306
|
VpcEndpoints?: VpcEndpoint[];
|
|
307
|
+
/**
|
|
308
|
+
* @public
|
|
309
|
+
* <p>Options that specify the configuration of a persistent buffer.
|
|
310
|
+
* To configure how OpenSearch Ingestion encrypts this data, set the EncryptionAtRestOptions.</p>
|
|
311
|
+
*/
|
|
312
|
+
BufferOptions?: BufferOptions;
|
|
313
|
+
/**
|
|
314
|
+
* @public
|
|
315
|
+
* <p>Options to control how OpenSearch encrypts all data-at-rest.</p>
|
|
316
|
+
*/
|
|
317
|
+
EncryptionAtRestOptions?: EncryptionAtRestOptions;
|
|
318
|
+
/**
|
|
319
|
+
* @public
|
|
320
|
+
* <p>A list of VPC endpoints that OpenSearch Ingestion has created to other AWS services.</p>
|
|
321
|
+
*/
|
|
322
|
+
ServiceVpcEndpoints?: ServiceVpcEndpoint[];
|
|
323
|
+
/**
|
|
324
|
+
* @public
|
|
325
|
+
* <p>A list of tags associated with the given pipeline.</p>
|
|
326
|
+
*/
|
|
327
|
+
Tags?: Tag[];
|
|
246
328
|
}
|
|
247
329
|
/**
|
|
248
330
|
* @public
|
|
@@ -291,6 +373,18 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
|
291
373
|
*/
|
|
292
374
|
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
293
375
|
}
|
|
376
|
+
/**
|
|
377
|
+
* @public
|
|
378
|
+
* <p>You attempted to access or delete a resource that does not exist.</p>
|
|
379
|
+
*/
|
|
380
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
381
|
+
readonly name: "ResourceNotFoundException";
|
|
382
|
+
readonly $fault: "client";
|
|
383
|
+
/**
|
|
384
|
+
* @internal
|
|
385
|
+
*/
|
|
386
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
387
|
+
}
|
|
294
388
|
/**
|
|
295
389
|
* @public
|
|
296
390
|
* <p>An exception for missing or invalid input fields.</p>
|
|
@@ -330,18 +424,6 @@ export interface DeletePipelineRequest {
|
|
|
330
424
|
*/
|
|
331
425
|
export interface DeletePipelineResponse {
|
|
332
426
|
}
|
|
333
|
-
/**
|
|
334
|
-
* @public
|
|
335
|
-
* <p>You attempted to access or delete a resource that does not exist.</p>
|
|
336
|
-
*/
|
|
337
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
338
|
-
readonly name: "ResourceNotFoundException";
|
|
339
|
-
readonly $fault: "client";
|
|
340
|
-
/**
|
|
341
|
-
* @internal
|
|
342
|
-
*/
|
|
343
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
344
|
-
}
|
|
345
427
|
/**
|
|
346
428
|
* @public
|
|
347
429
|
*/
|
|
@@ -599,6 +681,11 @@ export interface PipelineSummary {
|
|
|
599
681
|
* <p>The date and time when the pipeline was last updated.</p>
|
|
600
682
|
*/
|
|
601
683
|
LastUpdatedAt?: Date;
|
|
684
|
+
/**
|
|
685
|
+
* @public
|
|
686
|
+
* <p>A list of tags associated with the given pipeline.</p>
|
|
687
|
+
*/
|
|
688
|
+
Tags?: Tag[];
|
|
602
689
|
}
|
|
603
690
|
/**
|
|
604
691
|
* @public
|
|
@@ -748,6 +835,16 @@ export interface UpdatePipelineRequest {
|
|
|
748
835
|
* <p>Key-value pairs to configure log publishing.</p>
|
|
749
836
|
*/
|
|
750
837
|
LogPublishingOptions?: LogPublishingOptions;
|
|
838
|
+
/**
|
|
839
|
+
* @public
|
|
840
|
+
* <p>Key-value pairs to configure persistent buffering for the pipeline.</p>
|
|
841
|
+
*/
|
|
842
|
+
BufferOptions?: BufferOptions;
|
|
843
|
+
/**
|
|
844
|
+
* @public
|
|
845
|
+
* <p>Key-value pairs to configure encryption for data that is written to a persistent buffer.</p>
|
|
846
|
+
*/
|
|
847
|
+
EncryptionAtRestOptions?: EncryptionAtRestOptions;
|
|
751
848
|
}
|
|
752
849
|
/**
|
|
753
850
|
* @public
|
|
@@ -7,6 +7,12 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
7
7
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
|
+
export interface BufferOptions {
|
|
11
|
+
PersistentBufferEnabled: boolean | undefined;
|
|
12
|
+
}
|
|
13
|
+
export interface EncryptionAtRestOptions {
|
|
14
|
+
KmsKeyArn: string | undefined;
|
|
15
|
+
}
|
|
10
16
|
export interface CloudWatchLogDestination {
|
|
11
17
|
LogGroup: string | undefined;
|
|
12
18
|
}
|
|
@@ -29,8 +35,19 @@ export interface CreatePipelineRequest {
|
|
|
29
35
|
PipelineConfigurationBody: string | undefined;
|
|
30
36
|
LogPublishingOptions?: LogPublishingOptions;
|
|
31
37
|
VpcOptions?: VpcOptions;
|
|
38
|
+
BufferOptions?: BufferOptions;
|
|
39
|
+
EncryptionAtRestOptions?: EncryptionAtRestOptions;
|
|
32
40
|
Tags?: Tag[];
|
|
33
41
|
}
|
|
42
|
+
export declare const VpcEndpointServiceName: {
|
|
43
|
+
readonly OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS";
|
|
44
|
+
};
|
|
45
|
+
export type VpcEndpointServiceName =
|
|
46
|
+
(typeof VpcEndpointServiceName)[keyof typeof VpcEndpointServiceName];
|
|
47
|
+
export interface ServiceVpcEndpoint {
|
|
48
|
+
ServiceName?: VpcEndpointServiceName;
|
|
49
|
+
VpcEndpointId?: string;
|
|
50
|
+
}
|
|
34
51
|
export declare const PipelineStatus: {
|
|
35
52
|
readonly ACTIVE: "ACTIVE";
|
|
36
53
|
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
@@ -66,6 +83,10 @@ export interface Pipeline {
|
|
|
66
83
|
IngestEndpointUrls?: string[];
|
|
67
84
|
LogPublishingOptions?: LogPublishingOptions;
|
|
68
85
|
VpcEndpoints?: VpcEndpoint[];
|
|
86
|
+
BufferOptions?: BufferOptions;
|
|
87
|
+
EncryptionAtRestOptions?: EncryptionAtRestOptions;
|
|
88
|
+
ServiceVpcEndpoints?: ServiceVpcEndpoint[];
|
|
89
|
+
Tags?: Tag[];
|
|
69
90
|
}
|
|
70
91
|
export interface CreatePipelineResponse {
|
|
71
92
|
Pipeline?: Pipeline;
|
|
@@ -89,6 +110,13 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
|
89
110
|
opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
|
|
90
111
|
);
|
|
91
112
|
}
|
|
113
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
114
|
+
readonly name: "ResourceNotFoundException";
|
|
115
|
+
readonly $fault: "client";
|
|
116
|
+
constructor(
|
|
117
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
118
|
+
);
|
|
119
|
+
}
|
|
92
120
|
export declare class ValidationException extends __BaseException {
|
|
93
121
|
readonly name: "ValidationException";
|
|
94
122
|
readonly $fault: "client";
|
|
@@ -105,13 +133,6 @@ export interface DeletePipelineRequest {
|
|
|
105
133
|
PipelineName: string | undefined;
|
|
106
134
|
}
|
|
107
135
|
export interface DeletePipelineResponse {}
|
|
108
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
109
|
-
readonly name: "ResourceNotFoundException";
|
|
110
|
-
readonly $fault: "client";
|
|
111
|
-
constructor(
|
|
112
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
113
|
-
);
|
|
114
|
-
}
|
|
115
136
|
export interface GetPipelineRequest {
|
|
116
137
|
PipelineName: string | undefined;
|
|
117
138
|
}
|
|
@@ -192,6 +213,7 @@ export interface PipelineSummary {
|
|
|
192
213
|
MaxUnits?: number;
|
|
193
214
|
CreatedAt?: Date;
|
|
194
215
|
LastUpdatedAt?: Date;
|
|
216
|
+
Tags?: Tag[];
|
|
195
217
|
}
|
|
196
218
|
export interface ListPipelinesResponse {
|
|
197
219
|
NextToken?: string;
|
|
@@ -231,6 +253,8 @@ export interface UpdatePipelineRequest {
|
|
|
231
253
|
MaxUnits?: number;
|
|
232
254
|
PipelineConfigurationBody?: string;
|
|
233
255
|
LogPublishingOptions?: LogPublishingOptions;
|
|
256
|
+
BufferOptions?: BufferOptions;
|
|
257
|
+
EncryptionAtRestOptions?: EncryptionAtRestOptions;
|
|
234
258
|
}
|
|
235
259
|
export interface UpdatePipelineResponse {
|
|
236
260
|
Pipeline?: Pipeline;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-osis",
|
|
3
3
|
"description": "AWS SDK for JavaScript Osis Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.454.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-signing": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
37
|
-
"@smithy/config-resolver": "^2.0.
|
|
38
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
39
|
-
"@smithy/hash-node": "^2.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^2.
|
|
43
|
-
"@smithy/middleware-retry": "^2.0.
|
|
44
|
-
"@smithy/middleware-serde": "^2.0.
|
|
45
|
-
"@smithy/middleware-stack": "^2.0.
|
|
46
|
-
"@smithy/node-config-provider": "^2.1.
|
|
47
|
-
"@smithy/node-http-handler": "^2.1.
|
|
48
|
-
"@smithy/protocol-http": "^3.0.
|
|
49
|
-
"@smithy/smithy-client": "^2.1.
|
|
50
|
-
"@smithy/types": "^2.
|
|
51
|
-
"@smithy/url-parser": "^2.0.
|
|
52
|
-
"@smithy/util-base64": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.454.0",
|
|
25
|
+
"@aws-sdk/core": "3.451.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.451.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.451.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.451.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.451.0",
|
|
30
|
+
"@aws-sdk/middleware-signing": "3.451.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.451.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.451.0",
|
|
33
|
+
"@aws-sdk/types": "3.451.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.451.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.451.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.451.0",
|
|
37
|
+
"@smithy/config-resolver": "^2.0.18",
|
|
38
|
+
"@smithy/fetch-http-handler": "^2.2.6",
|
|
39
|
+
"@smithy/hash-node": "^2.0.15",
|
|
40
|
+
"@smithy/invalid-dependency": "^2.0.13",
|
|
41
|
+
"@smithy/middleware-content-length": "^2.0.15",
|
|
42
|
+
"@smithy/middleware-endpoint": "^2.2.0",
|
|
43
|
+
"@smithy/middleware-retry": "^2.0.20",
|
|
44
|
+
"@smithy/middleware-serde": "^2.0.13",
|
|
45
|
+
"@smithy/middleware-stack": "^2.0.7",
|
|
46
|
+
"@smithy/node-config-provider": "^2.1.5",
|
|
47
|
+
"@smithy/node-http-handler": "^2.1.9",
|
|
48
|
+
"@smithy/protocol-http": "^3.0.9",
|
|
49
|
+
"@smithy/smithy-client": "^2.1.15",
|
|
50
|
+
"@smithy/types": "^2.5.0",
|
|
51
|
+
"@smithy/url-parser": "^2.0.13",
|
|
52
|
+
"@smithy/util-base64": "^2.0.1",
|
|
53
53
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
57
|
-
"@smithy/util-endpoints": "^1.0.
|
|
58
|
-
"@smithy/util-retry": "^2.0.
|
|
59
|
-
"@smithy/util-utf8": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^2.0.19",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.0.25",
|
|
57
|
+
"@smithy/util-endpoints": "^1.0.4",
|
|
58
|
+
"@smithy/util-retry": "^2.0.6",
|
|
59
|
+
"@smithy/util-utf8": "^2.0.2",
|
|
60
60
|
"tslib": "^2.5.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|