1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package types
4
5// A key-value pair that describes a property of a pipeline object. The value is
6// specified as either a string value (StringValue) or a reference to another
7// object (RefValue) but not as both.
8type Field struct {
9
10	// The field identifier.
11	//
12	// This member is required.
13	Key *string
14
15	// The field value, expressed as the identifier of another object.
16	RefValue *string
17
18	// The field value, expressed as a String.
19	StringValue *string
20}
21
22// Identity information for the EC2 instance that is hosting the task runner. You
23// can get this value by calling a metadata URI from the EC2 instance. For more
24// information, see Instance Metadata
25// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AESDG-chapter-instancedata.html)
26// in the Amazon Elastic Compute Cloud User Guide. Passing in this value proves
27// that your task runner is running on an EC2 instance, and ensures the proper AWS
28// Data Pipeline service charges are applied to your pipeline.
29type InstanceIdentity struct {
30
31	// A description of an EC2 instance that is generated when the instance is launched
32	// and exposed to the instance via the instance metadata service in the form of a
33	// JSON representation of an object.
34	Document *string
35
36	// A signature which can be used to verify the accuracy and authenticity of the
37	// information provided in the instance identity document.
38	Signature *string
39}
40
41// Contains a logical operation for comparing the value of a field with a specified
42// value.
43type Operator struct {
44
45	// The logical operation to be performed: equal (EQ), equal reference (REF_EQ),
46	// less than or equal (LE), greater than or equal (GE), or between (BETWEEN). Equal
47	// reference (REF_EQ) can be used only with reference fields. The other comparison
48	// types can be used only with String fields. The comparison types you can use
49	// apply only to certain object fields, as detailed below. The comparison operators
50	// EQ and REF_EQ act on the following fields:
51	//
52	// * name
53	//
54	// * @sphere
55	//
56	// * parent
57	//
58	// *
59	// @componentParent
60	//
61	// * @instanceParent
62	//
63	// * @status
64	//
65	// * @scheduledStartTime
66	//
67	// *
68	// @scheduledEndTime
69	//
70	// * @actualStartTime
71	//
72	// * @actualEndTime
73	//
74	// The comparison
75	// operators GE, LE, and BETWEEN act on the following fields:
76	//
77	// *
78	// @scheduledStartTime
79	//
80	// * @scheduledEndTime
81	//
82	// * @actualStartTime
83	//
84	// *
85	// @actualEndTime
86	//
87	// Note that fields beginning with the at sign (@) are read-only
88	// and set by the web service. When you name fields, you should choose names
89	// containing only alpha-numeric values, as symbols may be reserved by AWS Data
90	// Pipeline. User-defined fields that you add to a pipeline should prefix their
91	// name with the string "my".
92	Type OperatorType
93
94	// The value that the actual field value will be compared with.
95	Values []string
96}
97
98// The attributes allowed or specified with a parameter object.
99type ParameterAttribute struct {
100
101	// The field identifier.
102	//
103	// This member is required.
104	Key *string
105
106	// The field value, expressed as a String.
107	//
108	// This member is required.
109	StringValue *string
110}
111
112// Contains information about a parameter object.
113type ParameterObject struct {
114
115	// The attributes of the parameter object.
116	//
117	// This member is required.
118	Attributes []ParameterAttribute
119
120	// The ID of the parameter object.
121	//
122	// This member is required.
123	Id *string
124}
125
126// A value or list of parameter values.
127type ParameterValue struct {
128
129	// The ID of the parameter value.
130	//
131	// This member is required.
132	Id *string
133
134	// The field value, expressed as a String.
135	//
136	// This member is required.
137	StringValue *string
138}
139
140// Contains pipeline metadata.
141type PipelineDescription struct {
142
143	// A list of read-only fields that contain metadata about the pipeline: @userId,
144	// @accountId, and @pipelineState.
145	//
146	// This member is required.
147	Fields []Field
148
149	// The name of the pipeline.
150	//
151	// This member is required.
152	Name *string
153
154	// The pipeline identifier that was assigned by AWS Data Pipeline. This is a string
155	// of the form df-297EG78HU43EEXAMPLE.
156	//
157	// This member is required.
158	PipelineId *string
159
160	// Description of the pipeline.
161	Description *string
162
163	// A list of tags to associated with a pipeline. Tags let you control access to
164	// pipelines. For more information, see Controlling User Access to Pipelines
165	// (https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-control-access.html)
166	// in the AWS Data Pipeline Developer Guide.
167	Tags []Tag
168}
169
170// Contains the name and identifier of a pipeline.
171type PipelineIdName struct {
172
173	// The ID of the pipeline that was assigned by AWS Data Pipeline. This is a string
174	// of the form df-297EG78HU43EEXAMPLE.
175	Id *string
176
177	// The name of the pipeline.
178	Name *string
179}
180
181// Contains information about a pipeline object. This can be a logical, physical,
182// or physical attempt pipeline object. The complete set of components of a
183// pipeline defines the pipeline.
184type PipelineObject struct {
185
186	// Key-value pairs that define the properties of the object.
187	//
188	// This member is required.
189	Fields []Field
190
191	// The ID of the object.
192	//
193	// This member is required.
194	Id *string
195
196	// The name of the object.
197	//
198	// This member is required.
199	Name *string
200}
201
202// Defines the query to run against an object.
203type Query struct {
204
205	// List of selectors that define the query. An object must satisfy all of the
206	// selectors to match the query.
207	Selectors []Selector
208}
209
210// A comparison that is used to determine whether a query should return this
211// object.
212type Selector struct {
213
214	// The name of the field that the operator will be applied to. The field name is
215	// the "key" portion of the field definition in the pipeline definition syntax that
216	// is used by the AWS Data Pipeline API. If the field is not set on the object, the
217	// condition fails.
218	FieldName *string
219
220	// Contains a logical operation for comparing the value of a field with a specified
221	// value.
222	Operator *Operator
223}
224
225// Tags are key/value pairs defined by a user and associated with a pipeline to
226// control access. AWS Data Pipeline allows you to associate ten tags per pipeline.
227// For more information, see Controlling User Access to Pipelines
228// (https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-control-access.html)
229// in the AWS Data Pipeline Developer Guide.
230type Tag struct {
231
232	// The key name of a tag defined by a user. For more information, see Controlling
233	// User Access to Pipelines
234	// (https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-control-access.html)
235	// in the AWS Data Pipeline Developer Guide.
236	//
237	// This member is required.
238	Key *string
239
240	// The optional value portion of a tag defined by a user. For more information, see
241	// Controlling User Access to Pipelines
242	// (https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-control-access.html)
243	// in the AWS Data Pipeline Developer Guide.
244	//
245	// This member is required.
246	Value *string
247}
248
249// Contains information about a pipeline task that is assigned to a task runner.
250type TaskObject struct {
251
252	// The ID of the pipeline task attempt object. AWS Data Pipeline uses this value to
253	// track how many times a task is attempted.
254	AttemptId *string
255
256	// Connection information for the location where the task runner will publish the
257	// output of the task.
258	Objects map[string]PipelineObject
259
260	// The ID of the pipeline that provided the task.
261	PipelineId *string
262
263	// An internal identifier for the task. This ID is passed to the SetTaskStatus and
264	// ReportTaskProgress actions.
265	TaskId *string
266}
267
268// Defines a validation error. Validation errors prevent pipeline activation. The
269// set of validation errors that can be returned are defined by AWS Data Pipeline.
270type ValidationError struct {
271
272	// A description of the validation error.
273	Errors []string
274
275	// The identifier of the object that contains the validation error.
276	Id *string
277}
278
279// Defines a validation warning. Validation warnings do not prevent pipeline
280// activation. The set of validation warnings that can be returned are defined by
281// AWS Data Pipeline.
282type ValidationWarning struct {
283
284	// The identifier of the object that contains the validation warning.
285	Id *string
286
287	// A description of the validation warning.
288	Warnings []string
289}
290