@aws-sdk/client-osis 3.321.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/LICENSE +201 -0
- package/README.md +322 -0
- package/dist-cjs/OSIS.js +39 -0
- package/dist-cjs/OSISClient.js +40 -0
- package/dist-cjs/commands/CreatePipelineCommand.js +45 -0
- package/dist-cjs/commands/DeletePipelineCommand.js +45 -0
- package/dist-cjs/commands/GetPipelineBlueprintCommand.js +45 -0
- package/dist-cjs/commands/GetPipelineChangeProgressCommand.js +45 -0
- package/dist-cjs/commands/GetPipelineCommand.js +45 -0
- package/dist-cjs/commands/ListPipelineBlueprintsCommand.js +45 -0
- package/dist-cjs/commands/ListPipelinesCommand.js +45 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +45 -0
- package/dist-cjs/commands/StartPipelineCommand.js +45 -0
- package/dist-cjs/commands/StopPipelineCommand.js +45 -0
- package/dist-cjs/commands/TagResourceCommand.js +45 -0
- package/dist-cjs/commands/UntagResourceCommand.js +45 -0
- package/dist-cjs/commands/UpdatePipelineCommand.js +45 -0
- package/dist-cjs/commands/ValidatePipelineCommand.js +45 -0
- package/dist-cjs/commands/index.js +17 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/OSISServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +132 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListPipelinesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1137 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +48 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-es/OSIS.js +35 -0
- package/dist-es/OSISClient.js +36 -0
- package/dist-es/commands/CreatePipelineCommand.js +41 -0
- package/dist-es/commands/DeletePipelineCommand.js +41 -0
- package/dist-es/commands/GetPipelineBlueprintCommand.js +41 -0
- package/dist-es/commands/GetPipelineChangeProgressCommand.js +41 -0
- package/dist-es/commands/GetPipelineCommand.js +41 -0
- package/dist-es/commands/ListPipelineBlueprintsCommand.js +41 -0
- package/dist-es/commands/ListPipelinesCommand.js +41 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +41 -0
- package/dist-es/commands/StartPipelineCommand.js +41 -0
- package/dist-es/commands/StopPipelineCommand.js +41 -0
- package/dist-es/commands/TagResourceCommand.js +41 -0
- package/dist-es/commands/UntagResourceCommand.js +41 -0
- package/dist-es/commands/UpdatePipelineCommand.js +41 -0
- package/dist-es/commands/ValidatePipelineCommand.js +41 -0
- package/dist-es/commands/index.js +14 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/OSISServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +121 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListPipelinesPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1106 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +17 -0
- package/dist-types/OSIS.d.ts +110 -0
- package/dist-types/OSISClient.d.ts +177 -0
- package/dist-types/commands/CreatePipelineCommand.d.ts +102 -0
- package/dist-types/commands/DeletePipelineCommand.d.ts +80 -0
- package/dist-types/commands/GetPipelineBlueprintCommand.d.ts +77 -0
- package/dist-types/commands/GetPipelineChangeProgressCommand.d.ts +80 -0
- package/dist-types/commands/GetPipelineCommand.d.ts +76 -0
- package/dist-types/commands/ListPipelineBlueprintsCommand.d.ts +74 -0
- package/dist-types/commands/ListPipelinesCommand.d.ts +79 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +78 -0
- package/dist-types/commands/StartPipelineCommand.d.ts +80 -0
- package/dist-types/commands/StopPipelineCommand.d.ts +80 -0
- package/dist-types/commands/TagResourceCommand.d.ts +86 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +80 -0
- package/dist-types/commands/UpdatePipelineCommand.d.ts +89 -0
- package/dist-types/commands/ValidatePipelineCommand.d.ts +75 -0
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/OSISServiceException.d.ts +12 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +718 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListPipelinesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +128 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +18 -0
- package/dist-types/ts3.4/OSIS.d.ts +243 -0
- package/dist-types/ts3.4/OSISClient.d.ts +196 -0
- package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetPipelineBlueprintCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetPipelineChangeProgressCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetPipelineCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListPipelineBlueprintsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartPipelineCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/StopPipelineCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdatePipelineCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ValidatePipelineCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/OSISServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +247 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListPipelinesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +173 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +80 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
- package/package.json +98 -0
|
@@ -0,0 +1,718 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { OSISServiceException as __BaseException } from "./OSISServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* <p>You don't have permissions to access the resource.</p>
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* <p>The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch.</p>
|
|
18
|
+
*/
|
|
19
|
+
export interface CloudWatchLogDestination {
|
|
20
|
+
/**
|
|
21
|
+
* <p>The name of the CloudWatch Logs group to send pipeline logs to. You can specify an existing
|
|
22
|
+
* log group or create a new one. For example,
|
|
23
|
+
* <code>/aws/OpenSearchService/IngestionService/my-pipeline</code>.</p>
|
|
24
|
+
*/
|
|
25
|
+
LogGroup: string | undefined;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Container for the values required to configure logging for the pipeline. If you don't
|
|
30
|
+
* specify these values, OpenSearch Ingestion will not publish logs from your application to
|
|
31
|
+
* CloudWatch Logs.</p>
|
|
32
|
+
*/
|
|
33
|
+
export interface LogPublishingOptions {
|
|
34
|
+
/**
|
|
35
|
+
* <p>Whether logs should be published.</p>
|
|
36
|
+
*/
|
|
37
|
+
IsLoggingEnabled?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* <p>The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs. This
|
|
40
|
+
* parameter is required if <code>IsLoggingEnabled</code> is set to <code>true</code>.</p>
|
|
41
|
+
*/
|
|
42
|
+
CloudWatchLogDestination?: CloudWatchLogDestination;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
* <p>A tag (key-value pair) for an OpenSearch Ingestion pipeline.</p>
|
|
47
|
+
*/
|
|
48
|
+
export interface Tag {
|
|
49
|
+
/**
|
|
50
|
+
* <p>The tag key. Tag keys must be unique for the pipeline to which they are attached.</p>
|
|
51
|
+
*/
|
|
52
|
+
Key: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* <p>The value assigned to the corresponding tag key. Tag values can be null and don't have to
|
|
55
|
+
* be unique in a tag set. For example, you can have a key value pair in a tag set of
|
|
56
|
+
* <code>project : Trinity</code> and <code>cost-center : Trinity</code>
|
|
57
|
+
* </p>
|
|
58
|
+
*/
|
|
59
|
+
Value: string | undefined;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
* <p>Options that specify the subnets and security groups for an OpenSearch Ingestion
|
|
64
|
+
* VPC endpoint.</p>
|
|
65
|
+
*/
|
|
66
|
+
export interface VpcOptions {
|
|
67
|
+
/**
|
|
68
|
+
* <p>A list of subnet IDs associated with the VPC endpoint.</p>
|
|
69
|
+
*/
|
|
70
|
+
SubnetIds: string[] | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* <p>A list of security groups associated with the VPC endpoint.</p>
|
|
73
|
+
*/
|
|
74
|
+
SecurityGroupIds?: string[];
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export interface CreatePipelineRequest {
|
|
80
|
+
/**
|
|
81
|
+
* <p>The name of the OpenSearch Ingestion pipeline to create. Pipeline names are unique across the pipelines
|
|
82
|
+
* owned by an account within an Amazon Web Services Region.</p>
|
|
83
|
+
*/
|
|
84
|
+
PipelineName: string | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* <p>The minimum pipeline capacity, in Ingestion Compute Units (ICUs).</p>
|
|
87
|
+
*/
|
|
88
|
+
MinUnits: number | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* <p>The maximum pipeline capacity, in Ingestion Compute Units (ICUs).</p>
|
|
91
|
+
*/
|
|
92
|
+
MaxUnits: number | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* <p>The pipeline configuration in YAML format. The command accepts the pipeline configuration as
|
|
95
|
+
* a string or within a .yaml file. If you provide the configuration as a string, each new line must
|
|
96
|
+
* be escaped with <code>\n</code>.</p>
|
|
97
|
+
*/
|
|
98
|
+
PipelineConfigurationBody: string | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* <p>Key-value pairs to configure log publishing.</p>
|
|
101
|
+
*/
|
|
102
|
+
LogPublishingOptions?: LogPublishingOptions;
|
|
103
|
+
/**
|
|
104
|
+
* <p>Container for the values required to configure VPC access for the pipeline. If you don't specify
|
|
105
|
+
* these values, OpenSearch Ingestion creates the pipeline with a public endpoint.</p>
|
|
106
|
+
*/
|
|
107
|
+
VpcOptions?: VpcOptions;
|
|
108
|
+
/**
|
|
109
|
+
* <p>List of tags to add to the pipeline upon creation.</p>
|
|
110
|
+
*/
|
|
111
|
+
Tags?: Tag[];
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
* @enum
|
|
116
|
+
*/
|
|
117
|
+
export declare const PipelineStatus: {
|
|
118
|
+
readonly ACTIVE: "ACTIVE";
|
|
119
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
120
|
+
readonly CREATING: "CREATING";
|
|
121
|
+
readonly DELETING: "DELETING";
|
|
122
|
+
readonly STARTING: "STARTING";
|
|
123
|
+
readonly START_FAILED: "START_FAILED";
|
|
124
|
+
readonly STOPPED: "STOPPED";
|
|
125
|
+
readonly STOPPING: "STOPPING";
|
|
126
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
127
|
+
readonly UPDATING: "UPDATING";
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
export type PipelineStatus = (typeof PipelineStatus)[keyof typeof PipelineStatus];
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
* <p>Information about a pipeline's current status.</p>
|
|
136
|
+
*/
|
|
137
|
+
export interface PipelineStatusReason {
|
|
138
|
+
/**
|
|
139
|
+
* <p>A description of why a pipeline has a certain status.</p>
|
|
140
|
+
*/
|
|
141
|
+
Description?: string;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
* <p>An OpenSearch Ingestion-managed VPC endpoint that will access one or more
|
|
146
|
+
* pipelines.</p>
|
|
147
|
+
*/
|
|
148
|
+
export interface VpcEndpoint {
|
|
149
|
+
/**
|
|
150
|
+
* <p>The unique identifier of the endpoint.</p>
|
|
151
|
+
*/
|
|
152
|
+
VpcEndpointId?: string;
|
|
153
|
+
/**
|
|
154
|
+
* <p>The ID for your VPC. Amazon Web Services PrivateLink generates this value when you create a
|
|
155
|
+
* VPC.</p>
|
|
156
|
+
*/
|
|
157
|
+
VpcId?: string;
|
|
158
|
+
/**
|
|
159
|
+
* <p>Information about the VPC, including associated subnets and security groups.</p>
|
|
160
|
+
*/
|
|
161
|
+
VpcOptions?: VpcOptions;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* @public
|
|
165
|
+
* <p>Information about an existing OpenSearch Ingestion pipeline.</p>
|
|
166
|
+
*/
|
|
167
|
+
export interface Pipeline {
|
|
168
|
+
/**
|
|
169
|
+
* <p>The name of the pipeline.</p>
|
|
170
|
+
*/
|
|
171
|
+
PipelineName?: string;
|
|
172
|
+
/**
|
|
173
|
+
* <p>The Amazon Resource Name (ARN) of the pipeline.</p>
|
|
174
|
+
*/
|
|
175
|
+
PipelineArn?: string;
|
|
176
|
+
/**
|
|
177
|
+
* <p>The minimum pipeline capacity, in Ingestion Compute Units (ICUs).</p>
|
|
178
|
+
*/
|
|
179
|
+
MinUnits?: number;
|
|
180
|
+
/**
|
|
181
|
+
* <p>The maximum pipeline capacity, in Ingestion Compute Units (ICUs).</p>
|
|
182
|
+
*/
|
|
183
|
+
MaxUnits?: number;
|
|
184
|
+
/**
|
|
185
|
+
* <p>The current status of the pipeline.</p>
|
|
186
|
+
*/
|
|
187
|
+
Status?: PipelineStatus | string;
|
|
188
|
+
/**
|
|
189
|
+
* <p>The reason for the current status of the pipeline.</p>
|
|
190
|
+
*/
|
|
191
|
+
StatusReason?: PipelineStatusReason;
|
|
192
|
+
/**
|
|
193
|
+
* <p>The Data Prepper pipeline configuration in YAML format.</p>
|
|
194
|
+
*/
|
|
195
|
+
PipelineConfigurationBody?: string;
|
|
196
|
+
/**
|
|
197
|
+
* <p>The date and time when the pipeline was created.</p>
|
|
198
|
+
*/
|
|
199
|
+
CreatedAt?: Date;
|
|
200
|
+
/**
|
|
201
|
+
* <p>The date and time when the pipeline was last updated.</p>
|
|
202
|
+
*/
|
|
203
|
+
LastUpdatedAt?: Date;
|
|
204
|
+
/**
|
|
205
|
+
* <p>The ingestion endpoints for the pipeline, which you can send data to.</p>
|
|
206
|
+
*/
|
|
207
|
+
IngestEndpointUrls?: string[];
|
|
208
|
+
/**
|
|
209
|
+
* <p>Key-value pairs that represent log publishing settings.</p>
|
|
210
|
+
*/
|
|
211
|
+
LogPublishingOptions?: LogPublishingOptions;
|
|
212
|
+
/**
|
|
213
|
+
* <p>The VPC interface endpoints that have access to the pipeline.</p>
|
|
214
|
+
*/
|
|
215
|
+
VpcEndpoints?: VpcEndpoint[];
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
export interface CreatePipelineResponse {
|
|
221
|
+
/**
|
|
222
|
+
* <p>Container for information about the created pipeline.</p>
|
|
223
|
+
*/
|
|
224
|
+
Pipeline?: Pipeline;
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* @public
|
|
228
|
+
* <p>The request failed because of an unknown error, exception, or failure (the failure is
|
|
229
|
+
* internal to the service).</p>
|
|
230
|
+
*/
|
|
231
|
+
export declare class InternalException extends __BaseException {
|
|
232
|
+
readonly name: "InternalException";
|
|
233
|
+
readonly $fault: "server";
|
|
234
|
+
/**
|
|
235
|
+
* @internal
|
|
236
|
+
*/
|
|
237
|
+
constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* @public
|
|
241
|
+
* <p>You attempted to create more than the allowed number of tags.</p>
|
|
242
|
+
*/
|
|
243
|
+
export declare class LimitExceededException extends __BaseException {
|
|
244
|
+
readonly name: "LimitExceededException";
|
|
245
|
+
readonly $fault: "client";
|
|
246
|
+
/**
|
|
247
|
+
* @internal
|
|
248
|
+
*/
|
|
249
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* @public
|
|
253
|
+
* <p>You attempted to create a resource that already exists.</p>
|
|
254
|
+
*/
|
|
255
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
256
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
257
|
+
readonly $fault: "client";
|
|
258
|
+
/**
|
|
259
|
+
* @internal
|
|
260
|
+
*/
|
|
261
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* @public
|
|
265
|
+
* <p>An exception for missing or invalid input fields.</p>
|
|
266
|
+
*/
|
|
267
|
+
export declare class ValidationException extends __BaseException {
|
|
268
|
+
readonly name: "ValidationException";
|
|
269
|
+
readonly $fault: "client";
|
|
270
|
+
/**
|
|
271
|
+
* @internal
|
|
272
|
+
*/
|
|
273
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* @public
|
|
277
|
+
* <p>The client attempted to remove a resource that is currently in use.</p>
|
|
278
|
+
*/
|
|
279
|
+
export declare class ConflictException extends __BaseException {
|
|
280
|
+
readonly name: "ConflictException";
|
|
281
|
+
readonly $fault: "client";
|
|
282
|
+
/**
|
|
283
|
+
* @internal
|
|
284
|
+
*/
|
|
285
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* @public
|
|
289
|
+
*/
|
|
290
|
+
export interface DeletePipelineRequest {
|
|
291
|
+
/**
|
|
292
|
+
* <p>The name of the pipeline to delete.</p>
|
|
293
|
+
*/
|
|
294
|
+
PipelineName: string | undefined;
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* @public
|
|
298
|
+
*/
|
|
299
|
+
export interface DeletePipelineResponse {
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* @public
|
|
303
|
+
* <p>You attempted to access or delete a resource that does not exist.</p>
|
|
304
|
+
*/
|
|
305
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
306
|
+
readonly name: "ResourceNotFoundException";
|
|
307
|
+
readonly $fault: "client";
|
|
308
|
+
/**
|
|
309
|
+
* @internal
|
|
310
|
+
*/
|
|
311
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* @public
|
|
315
|
+
*/
|
|
316
|
+
export interface GetPipelineRequest {
|
|
317
|
+
/**
|
|
318
|
+
* <p>The name of the pipeline to get information about.</p>
|
|
319
|
+
*/
|
|
320
|
+
PipelineName: string | undefined;
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* @public
|
|
324
|
+
*/
|
|
325
|
+
export interface GetPipelineResponse {
|
|
326
|
+
/**
|
|
327
|
+
* <p>Detailed information about the requested pipeline.</p>
|
|
328
|
+
*/
|
|
329
|
+
Pipeline?: Pipeline;
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* @public
|
|
333
|
+
*/
|
|
334
|
+
export interface GetPipelineBlueprintRequest {
|
|
335
|
+
/**
|
|
336
|
+
* <p>The name of the blueprint to retrieve.</p>
|
|
337
|
+
*/
|
|
338
|
+
BlueprintName: string | undefined;
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* @public
|
|
342
|
+
* <p>Container for information about an OpenSearch Ingestion blueprint.</p>
|
|
343
|
+
*/
|
|
344
|
+
export interface PipelineBlueprint {
|
|
345
|
+
/**
|
|
346
|
+
* <p>The name of the blueprint.</p>
|
|
347
|
+
*/
|
|
348
|
+
BlueprintName?: string;
|
|
349
|
+
/**
|
|
350
|
+
* <p>The YAML configuration of the blueprint.</p>
|
|
351
|
+
*/
|
|
352
|
+
PipelineConfigurationBody?: string;
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* @public
|
|
356
|
+
*/
|
|
357
|
+
export interface GetPipelineBlueprintResponse {
|
|
358
|
+
/**
|
|
359
|
+
* <p>The requested blueprint in YAML format.</p>
|
|
360
|
+
*/
|
|
361
|
+
Blueprint?: PipelineBlueprint;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* @public
|
|
365
|
+
*/
|
|
366
|
+
export interface GetPipelineChangeProgressRequest {
|
|
367
|
+
/**
|
|
368
|
+
* <p>The name of the pipeline.</p>
|
|
369
|
+
*/
|
|
370
|
+
PipelineName: string | undefined;
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* @public
|
|
374
|
+
* @enum
|
|
375
|
+
*/
|
|
376
|
+
export declare const ChangeProgressStageStatuses: {
|
|
377
|
+
readonly COMPLETED: "COMPLETED";
|
|
378
|
+
readonly FAILED: "FAILED";
|
|
379
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
380
|
+
readonly PENDING: "PENDING";
|
|
381
|
+
};
|
|
382
|
+
/**
|
|
383
|
+
* @public
|
|
384
|
+
*/
|
|
385
|
+
export type ChangeProgressStageStatuses = (typeof ChangeProgressStageStatuses)[keyof typeof ChangeProgressStageStatuses];
|
|
386
|
+
/**
|
|
387
|
+
* @public
|
|
388
|
+
* <p>Progress details for a specific stage of a pipeline configuration change.</p>
|
|
389
|
+
*/
|
|
390
|
+
export interface ChangeProgressStage {
|
|
391
|
+
/**
|
|
392
|
+
* <p>The name of the stage.</p>
|
|
393
|
+
*/
|
|
394
|
+
Name?: string;
|
|
395
|
+
/**
|
|
396
|
+
* <p>The current status of the stage that the change is in.</p>
|
|
397
|
+
*/
|
|
398
|
+
Status?: ChangeProgressStageStatuses | string;
|
|
399
|
+
/**
|
|
400
|
+
* <p>A description of the stage.</p>
|
|
401
|
+
*/
|
|
402
|
+
Description?: string;
|
|
403
|
+
/**
|
|
404
|
+
* <p>The most recent updated timestamp of the stage.</p>
|
|
405
|
+
*/
|
|
406
|
+
LastUpdatedAt?: Date;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* @public
|
|
410
|
+
* @enum
|
|
411
|
+
*/
|
|
412
|
+
export declare const ChangeProgressStatuses: {
|
|
413
|
+
readonly COMPLETED: "COMPLETED";
|
|
414
|
+
readonly FAILED: "FAILED";
|
|
415
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
416
|
+
readonly PENDING: "PENDING";
|
|
417
|
+
};
|
|
418
|
+
/**
|
|
419
|
+
* @public
|
|
420
|
+
*/
|
|
421
|
+
export type ChangeProgressStatuses = (typeof ChangeProgressStatuses)[keyof typeof ChangeProgressStatuses];
|
|
422
|
+
/**
|
|
423
|
+
* @public
|
|
424
|
+
* <p>The progress details of a pipeline configuration change.</p>
|
|
425
|
+
*/
|
|
426
|
+
export interface ChangeProgressStatus {
|
|
427
|
+
/**
|
|
428
|
+
* <p>The time at which the configuration change is made on the pipeline.</p>
|
|
429
|
+
*/
|
|
430
|
+
StartTime?: Date;
|
|
431
|
+
/**
|
|
432
|
+
* <p>The overall status of the pipeline configuration change.</p>
|
|
433
|
+
*/
|
|
434
|
+
Status?: ChangeProgressStatuses | string;
|
|
435
|
+
/**
|
|
436
|
+
* <p>The total number of stages required for the pipeline configuration change.</p>
|
|
437
|
+
*/
|
|
438
|
+
TotalNumberOfStages?: number;
|
|
439
|
+
/**
|
|
440
|
+
* <p>Information about the stages that the pipeline is going through to perform the configuration change.</p>
|
|
441
|
+
*/
|
|
442
|
+
ChangeProgressStages?: ChangeProgressStage[];
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* @public
|
|
446
|
+
*/
|
|
447
|
+
export interface GetPipelineChangeProgressResponse {
|
|
448
|
+
/**
|
|
449
|
+
* <p>The current status of the change happening on the pipeline.</p>
|
|
450
|
+
*/
|
|
451
|
+
ChangeProgressStatuses?: ChangeProgressStatus[];
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* @public
|
|
455
|
+
* <p>An invalid pagination token provided in the request.</p>
|
|
456
|
+
*/
|
|
457
|
+
export declare class InvalidPaginationTokenException extends __BaseException {
|
|
458
|
+
readonly name: "InvalidPaginationTokenException";
|
|
459
|
+
readonly $fault: "client";
|
|
460
|
+
/**
|
|
461
|
+
* @internal
|
|
462
|
+
*/
|
|
463
|
+
constructor(opts: __ExceptionOptionType<InvalidPaginationTokenException, __BaseException>);
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* @public
|
|
467
|
+
*/
|
|
468
|
+
export interface ListPipelineBlueprintsRequest {
|
|
469
|
+
}
|
|
470
|
+
/**
|
|
471
|
+
* @public
|
|
472
|
+
* <p>A summary of an OpenSearch Ingestion blueprint.</p>
|
|
473
|
+
*/
|
|
474
|
+
export interface PipelineBlueprintSummary {
|
|
475
|
+
/**
|
|
476
|
+
* <p>The name of the blueprint.</p>
|
|
477
|
+
*/
|
|
478
|
+
BlueprintName?: string;
|
|
479
|
+
}
|
|
480
|
+
/**
|
|
481
|
+
* @public
|
|
482
|
+
*/
|
|
483
|
+
export interface ListPipelineBlueprintsResponse {
|
|
484
|
+
/**
|
|
485
|
+
* <p>A list of available blueprints for Data Prepper.</p>
|
|
486
|
+
*/
|
|
487
|
+
Blueprints?: PipelineBlueprintSummary[];
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* @public
|
|
491
|
+
*/
|
|
492
|
+
export interface ListPipelinesRequest {
|
|
493
|
+
/**
|
|
494
|
+
* <p>An optional parameter that specifies the maximum number of results to return. You can use
|
|
495
|
+
* <code>nextToken</code> to get the next page of results.</p>
|
|
496
|
+
*/
|
|
497
|
+
MaxResults?: number;
|
|
498
|
+
/**
|
|
499
|
+
* <p>If your initial <code>ListPipelines</code> operation returns a <code>nextToken</code>, you
|
|
500
|
+
* can include the returned <code>nextToken</code> in subsequent <code>ListPipelines</code>
|
|
501
|
+
* operations, which returns results in the next page.</p>
|
|
502
|
+
*/
|
|
503
|
+
NextToken?: string;
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* @public
|
|
507
|
+
* <p>Summary information for an OpenSearch Ingestion pipeline.</p>
|
|
508
|
+
*/
|
|
509
|
+
export interface PipelineSummary {
|
|
510
|
+
/**
|
|
511
|
+
* <p>The current status of the pipeline.</p>
|
|
512
|
+
*/
|
|
513
|
+
Status?: PipelineStatus | string;
|
|
514
|
+
/**
|
|
515
|
+
* <p>Information about a pipeline's current status.</p>
|
|
516
|
+
*/
|
|
517
|
+
StatusReason?: PipelineStatusReason;
|
|
518
|
+
/**
|
|
519
|
+
* <p>The name of the pipeline.</p>
|
|
520
|
+
*/
|
|
521
|
+
PipelineName?: string;
|
|
522
|
+
/**
|
|
523
|
+
* <p>The Amazon Resource Name (ARN) of the pipeline.</p>
|
|
524
|
+
*/
|
|
525
|
+
PipelineArn?: string;
|
|
526
|
+
/**
|
|
527
|
+
* <p>The minimum pipeline capacity, in Ingestion Compute Units (ICUs).</p>
|
|
528
|
+
*/
|
|
529
|
+
MinUnits?: number;
|
|
530
|
+
/**
|
|
531
|
+
* <p>The maximum pipeline capacity, in Ingestion Compute Units (ICUs).</p>
|
|
532
|
+
*/
|
|
533
|
+
MaxUnits?: number;
|
|
534
|
+
/**
|
|
535
|
+
* <p>The date and time when the pipeline was created.</p>
|
|
536
|
+
*/
|
|
537
|
+
CreatedAt?: Date;
|
|
538
|
+
/**
|
|
539
|
+
* <p>The date and time when the pipeline was last updated.</p>
|
|
540
|
+
*/
|
|
541
|
+
LastUpdatedAt?: Date;
|
|
542
|
+
}
|
|
543
|
+
/**
|
|
544
|
+
* @public
|
|
545
|
+
*/
|
|
546
|
+
export interface ListPipelinesResponse {
|
|
547
|
+
/**
|
|
548
|
+
* <p>When <code>nextToken</code> is returned, there are more results available. The value of
|
|
549
|
+
* <code>nextToken</code> is a unique pagination token for each page. Make the call again using
|
|
550
|
+
* the returned token to retrieve the next page.</p>
|
|
551
|
+
*/
|
|
552
|
+
NextToken?: string;
|
|
553
|
+
/**
|
|
554
|
+
* <p>A list of all existing Data Prepper pipelines.</p>
|
|
555
|
+
*/
|
|
556
|
+
Pipelines?: PipelineSummary[];
|
|
557
|
+
}
|
|
558
|
+
/**
|
|
559
|
+
* @public
|
|
560
|
+
*/
|
|
561
|
+
export interface ListTagsForResourceRequest {
|
|
562
|
+
/**
|
|
563
|
+
* <p>The Amazon Resource Name (ARN) of the pipeline to retrieve tags for.</p>
|
|
564
|
+
*/
|
|
565
|
+
Arn: string | undefined;
|
|
566
|
+
}
|
|
567
|
+
/**
|
|
568
|
+
* @public
|
|
569
|
+
*/
|
|
570
|
+
export interface ListTagsForResourceResponse {
|
|
571
|
+
/**
|
|
572
|
+
* <p>A list of tags associated with the given pipeline.</p>
|
|
573
|
+
*/
|
|
574
|
+
Tags?: Tag[];
|
|
575
|
+
}
|
|
576
|
+
/**
|
|
577
|
+
* @public
|
|
578
|
+
*/
|
|
579
|
+
export interface StartPipelineRequest {
|
|
580
|
+
/**
|
|
581
|
+
* <p>The name of the pipeline to start.</p>
|
|
582
|
+
*/
|
|
583
|
+
PipelineName: string | undefined;
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* @public
|
|
587
|
+
*/
|
|
588
|
+
export interface StartPipelineResponse {
|
|
589
|
+
/**
|
|
590
|
+
* <p>Information about an existing OpenSearch Ingestion pipeline.</p>
|
|
591
|
+
*/
|
|
592
|
+
Pipeline?: Pipeline;
|
|
593
|
+
}
|
|
594
|
+
/**
|
|
595
|
+
* @public
|
|
596
|
+
*/
|
|
597
|
+
export interface StopPipelineRequest {
|
|
598
|
+
/**
|
|
599
|
+
* <p>The name of the pipeline to stop.</p>
|
|
600
|
+
*/
|
|
601
|
+
PipelineName: string | undefined;
|
|
602
|
+
}
|
|
603
|
+
/**
|
|
604
|
+
* @public
|
|
605
|
+
*/
|
|
606
|
+
export interface StopPipelineResponse {
|
|
607
|
+
/**
|
|
608
|
+
* <p>Information about an existing OpenSearch Ingestion pipeline.</p>
|
|
609
|
+
*/
|
|
610
|
+
Pipeline?: Pipeline;
|
|
611
|
+
}
|
|
612
|
+
/**
|
|
613
|
+
* @public
|
|
614
|
+
*/
|
|
615
|
+
export interface TagResourceRequest {
|
|
616
|
+
/**
|
|
617
|
+
* <p>The Amazon Resource Name (ARN) of the pipeline to tag.</p>
|
|
618
|
+
*/
|
|
619
|
+
Arn: string | undefined;
|
|
620
|
+
/**
|
|
621
|
+
* <p>The list of key-value tags to add to the pipeline.</p>
|
|
622
|
+
*/
|
|
623
|
+
Tags: Tag[] | undefined;
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* @public
|
|
627
|
+
*/
|
|
628
|
+
export interface TagResourceResponse {
|
|
629
|
+
}
|
|
630
|
+
/**
|
|
631
|
+
* @public
|
|
632
|
+
*/
|
|
633
|
+
export interface UntagResourceRequest {
|
|
634
|
+
/**
|
|
635
|
+
* <p>The Amazon Resource Name (ARN) of the pipeline to remove tags from.</p>
|
|
636
|
+
*/
|
|
637
|
+
Arn: string | undefined;
|
|
638
|
+
/**
|
|
639
|
+
* <p>The tag keys to remove.</p>
|
|
640
|
+
*/
|
|
641
|
+
TagKeys: string[] | undefined;
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
* @public
|
|
645
|
+
*/
|
|
646
|
+
export interface UntagResourceResponse {
|
|
647
|
+
}
|
|
648
|
+
/**
|
|
649
|
+
* @public
|
|
650
|
+
*/
|
|
651
|
+
export interface UpdatePipelineRequest {
|
|
652
|
+
/**
|
|
653
|
+
* <p>The name of the pipeline to update.</p>
|
|
654
|
+
*/
|
|
655
|
+
PipelineName: string | undefined;
|
|
656
|
+
/**
|
|
657
|
+
* <p>The minimum pipeline capacity, in Ingestion Compute Units (ICUs).</p>
|
|
658
|
+
*/
|
|
659
|
+
MinUnits?: number;
|
|
660
|
+
/**
|
|
661
|
+
* <p>The maximum pipeline capacity, in Ingestion Compute Units (ICUs)</p>
|
|
662
|
+
*/
|
|
663
|
+
MaxUnits?: number;
|
|
664
|
+
/**
|
|
665
|
+
* <p>The pipeline configuration in YAML format. The command accepts the pipeline configuration as
|
|
666
|
+
* a string or within a .yaml file. If you provide the configuration as a string, each new line must
|
|
667
|
+
* be escaped with <code>\n</code>.</p>
|
|
668
|
+
*/
|
|
669
|
+
PipelineConfigurationBody?: string;
|
|
670
|
+
/**
|
|
671
|
+
* <p>Key-value pairs to configure log publishing.</p>
|
|
672
|
+
*/
|
|
673
|
+
LogPublishingOptions?: LogPublishingOptions;
|
|
674
|
+
}
|
|
675
|
+
/**
|
|
676
|
+
* @public
|
|
677
|
+
*/
|
|
678
|
+
export interface UpdatePipelineResponse {
|
|
679
|
+
/**
|
|
680
|
+
* <p>Container for information about the updated pipeline.</p>
|
|
681
|
+
*/
|
|
682
|
+
Pipeline?: Pipeline;
|
|
683
|
+
}
|
|
684
|
+
/**
|
|
685
|
+
* @public
|
|
686
|
+
*/
|
|
687
|
+
export interface ValidatePipelineRequest {
|
|
688
|
+
/**
|
|
689
|
+
* <p>The pipeline configuration in YAML format. The command accepts the pipeline configuration as
|
|
690
|
+
* a string or within a .yaml file. If you provide the configuration as a string, each new line must
|
|
691
|
+
* be escaped with <code>\n</code>.</p>
|
|
692
|
+
*/
|
|
693
|
+
PipelineConfigurationBody: string | undefined;
|
|
694
|
+
}
|
|
695
|
+
/**
|
|
696
|
+
* @public
|
|
697
|
+
* <p>A validation message associated with a <code>ValidatePipeline</code> request in OpenSearch
|
|
698
|
+
* Ingestion.</p>
|
|
699
|
+
*/
|
|
700
|
+
export interface ValidationMessage {
|
|
701
|
+
/**
|
|
702
|
+
* <p>The validation message.</p>
|
|
703
|
+
*/
|
|
704
|
+
Message?: string;
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* @public
|
|
708
|
+
*/
|
|
709
|
+
export interface ValidatePipelineResponse {
|
|
710
|
+
/**
|
|
711
|
+
* <p>A boolean indicating whether or not the pipeline configuration is valid.</p>
|
|
712
|
+
*/
|
|
713
|
+
isValid?: boolean;
|
|
714
|
+
/**
|
|
715
|
+
* <p>A list of errors if the configuration is invalid.</p>
|
|
716
|
+
*/
|
|
717
|
+
Errors?: ValidationMessage[];
|
|
718
|
+
}
|