-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Amazon Data Pipeline SDK.
--   
--   The types from this library are intended to be used with
--   <a>amazonka</a>, which provides mechanisms for specifying AuthN/AuthZ
--   information, sending requests, and receiving responses.
--   
--   Lenses are used for constructing and manipulating types, due to the
--   depth of nesting of AWS types and transparency regarding
--   de/serialisation into more palatable Haskell values. The provided
--   lenses should be compatible with any of the major lens libraries such
--   as <a>lens</a> or <a>lens-family-core</a>.
--   
--   See <a>Network.AWS.DataPipeline</a> or <a>the AWS documentation</a> to
--   get started.
@package amazonka-datapipeline
@version 1.4.5


module Network.AWS.DataPipeline.Types

-- | API version <tt>2012-10-29</tt> of the Amazon Data Pipeline SDK
--   configuration.
dataPipeline :: Service

-- | The request was not valid. Verify that your request was properly
--   formatted, that the signature was generated with the correct
--   credentials, and that you haven't exceeded any of the service limits
--   for your account.
_InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError

-- | An internal service error occurred.
_InternalServiceError :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified pipeline has been deleted.
_PipelineDeletedException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified pipeline was not found. Verify that you used the correct
--   user and account identifiers.
_PipelineNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified task was not found.
_TaskNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
data OperatorType
OperatorBetween :: OperatorType
OperatorEQ' :: OperatorType
OperatorGE :: OperatorType
OperatorLE :: OperatorType
OperatorRefEQ :: OperatorType
data TaskStatus
Failed :: TaskStatus
False' :: TaskStatus
Finished :: TaskStatus

-- | A key-value pair that describes a property of a pipeline object. The
--   value is specified as either a string value (<tt>StringValue</tt> ) or
--   a reference to another object (<tt>RefValue</tt> ) but not as both.
--   
--   <i>See:</i> <a>field</a> smart constructor.
data Field

-- | Creates a value of <a>Field</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>fRefValue</a> - The field value, expressed as the identifier of
--   another object.</li>
--   <li><a>fStringValue</a> - The field value, expressed as a String.</li>
--   <li><a>fKey</a> - The field identifier.</li>
--   </ul>
field :: Text -> Field

-- | The field value, expressed as the identifier of another object.
fRefValue :: Lens' Field (Maybe Text)

-- | The field value, expressed as a String.
fStringValue :: Lens' Field (Maybe Text)

-- | The field identifier.
fKey :: Lens' Field Text

-- | Identity information for the EC2 instance that is hosting the task
--   runner. You can get this value by calling a metadata URI from the EC2
--   instance. For more information, see <a>Instance Metadata</a> in the
--   <i>Amazon Elastic Compute Cloud User Guide.</i> Passing in this value
--   proves that your task runner is running on an EC2 instance, and
--   ensures the proper AWS Data Pipeline service charges are applied to
--   your pipeline.
--   
--   <i>See:</i> <a>instanceIdentity</a> smart constructor.
data InstanceIdentity

-- | Creates a value of <a>InstanceIdentity</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>iiSignature</a> - A signature which can be used to verify the
--   accuracy and authenticity of the information provided in the instance
--   identity document.</li>
--   <li><a>iiDocument</a> - A description of an EC2 instance that is
--   generated when the instance is launched and exposed to the instance
--   via the instance metadata service in the form of a JSON representation
--   of an object.</li>
--   </ul>
instanceIdentity :: InstanceIdentity

-- | A signature which can be used to verify the accuracy and authenticity
--   of the information provided in the instance identity document.
iiSignature :: Lens' InstanceIdentity (Maybe Text)

-- | A description of an EC2 instance that is generated when the instance
--   is launched and exposed to the instance via the instance metadata
--   service in the form of a JSON representation of an object.
iiDocument :: Lens' InstanceIdentity (Maybe Text)

-- | Contains a logical operation for comparing the value of a field with a
--   specified value.
--   
--   <i>See:</i> <a>operator</a> smart constructor.
data Operator

-- | Creates a value of <a>Operator</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>oValues</a> - The value that the actual field value will be
--   compared with.</li>
--   <li><a>oType</a> - The logical operation to be performed: equal
--   (<tt>EQ</tt> ), equal reference (<tt>REF_EQ</tt> ), less than or equal
--   (<tt>LE</tt> ), greater than or equal (<tt>GE</tt> ), or between
--   (<tt>BETWEEN</tt> ). Equal reference (<tt>REF_EQ</tt> ) can be used
--   only with reference fields. The other comparison types can be used
--   only with String fields. The comparison types you can use apply only
--   to certain object fields, as detailed below. The comparison operators
--   EQ and REF_EQ act on the following fields: * name * <tt>sphere *
--   parent * </tt>componentParent * <tt>instanceParent * </tt>status *
--   <tt>scheduledStartTime * </tt>scheduledEndTime * <tt>actualStartTime *
--   </tt>actualEndTime The comparison operators <tt>GE</tt> , <tt>LE</tt>
--   , and <tt>BETWEEN</tt> act on the following fields: *
--   <tt>scheduledStartTime * </tt>scheduledEndTime * <tt>actualStartTime *
--   </tt>actualEndTime Note that fields beginning with the at sign (@) are
--   read-only and set by the web service. When you name fields, you should
--   choose names containing only alpha-numeric values, as symbols may be
--   reserved by AWS Data Pipeline. User-defined fields that you add to a
--   pipeline should prefix their name with the string "my".</li>
--   </ul>
operator :: Operator

-- | The value that the actual field value will be compared with.
oValues :: Lens' Operator [Text]

-- | The logical operation to be performed: equal (<tt>EQ</tt> ), equal
--   reference (<tt>REF_EQ</tt> ), less than or equal (<tt>LE</tt> ),
--   greater than or equal (<tt>GE</tt> ), or between (<tt>BETWEEN</tt> ).
--   Equal reference (<tt>REF_EQ</tt> ) can be used only with reference
--   fields. The other comparison types can be used only with String
--   fields. The comparison types you can use apply only to certain object
--   fields, as detailed below. The comparison operators EQ and REF_EQ act
--   on the following fields: * name * <tt>sphere * parent *
--   </tt>componentParent * <tt>instanceParent * </tt>status *
--   <tt>scheduledStartTime * </tt>scheduledEndTime * <tt>actualStartTime *
--   </tt>actualEndTime The comparison operators <tt>GE</tt> , <tt>LE</tt>
--   , and <tt>BETWEEN</tt> act on the following fields: *
--   <tt>scheduledStartTime * </tt>scheduledEndTime * <tt>actualStartTime *
--   </tt>actualEndTime Note that fields beginning with the at sign (@) are
--   read-only and set by the web service. When you name fields, you should
--   choose names containing only alpha-numeric values, as symbols may be
--   reserved by AWS Data Pipeline. User-defined fields that you add to a
--   pipeline should prefix their name with the string "my".
oType :: Lens' Operator (Maybe OperatorType)

-- | The attributes allowed or specified with a parameter object.
--   
--   <i>See:</i> <a>parameterAttribute</a> smart constructor.
data ParameterAttribute

-- | Creates a value of <a>ParameterAttribute</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>paKey</a> - The field identifier.</li>
--   <li><a>paStringValue</a> - The field value, expressed as a
--   String.</li>
--   </ul>
parameterAttribute :: Text -> Text -> ParameterAttribute

-- | The field identifier.
paKey :: Lens' ParameterAttribute Text

-- | The field value, expressed as a String.
paStringValue :: Lens' ParameterAttribute Text

-- | Contains information about a parameter object.
--   
--   <i>See:</i> <a>parameterObject</a> smart constructor.
data ParameterObject

-- | Creates a value of <a>ParameterObject</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>poId</a> - The ID of the parameter object.</li>
--   <li><a>poAttributes</a> - The attributes of the parameter object.</li>
--   </ul>
parameterObject :: Text -> ParameterObject

-- | The ID of the parameter object.
poId :: Lens' ParameterObject Text

-- | The attributes of the parameter object.
poAttributes :: Lens' ParameterObject [ParameterAttribute]

-- | A value or list of parameter values.
--   
--   <i>See:</i> <a>parameterValue</a> smart constructor.
data ParameterValue

-- | Creates a value of <a>ParameterValue</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pvId</a> - The ID of the parameter value.</li>
--   <li><a>pvStringValue</a> - The field value, expressed as a
--   String.</li>
--   </ul>
parameterValue :: Text -> Text -> ParameterValue

-- | The ID of the parameter value.
pvId :: Lens' ParameterValue Text

-- | The field value, expressed as a String.
pvStringValue :: Lens' ParameterValue Text

-- | Contains pipeline metadata.
--   
--   <i>See:</i> <a>pipelineDescription</a> smart constructor.
data PipelineDescription

-- | Creates a value of <a>PipelineDescription</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pdDescription</a> - Description of the pipeline.</li>
--   <li><a>pdTags</a> - A list of tags to associated with a pipeline. Tags
--   let you control access to pipelines. For more information, see
--   <a>Controlling User Access to Pipelines</a> in the <i>AWS Data
--   Pipeline Developer Guide</i> .</li>
--   <li><a>pdPipelineId</a> - The pipeline identifier that was assigned by
--   AWS Data Pipeline. This is a string of the form
--   <tt>df-297EG78HU43EEXAMPLE</tt> .</li>
--   <li><a>pdName</a> - The name of the pipeline.</li>
--   <li><a>pdFields</a> - A list of read-only fields that contain metadata
--   about the pipeline: <tt>userId, </tt>accountId, and
--   @pipelineState.</li>
--   </ul>
pipelineDescription :: Text -> Text -> PipelineDescription

-- | Description of the pipeline.
pdDescription :: Lens' PipelineDescription (Maybe Text)

-- | A list of tags to associated with a pipeline. Tags let you control
--   access to pipelines. For more information, see <a>Controlling User
--   Access to Pipelines</a> in the <i>AWS Data Pipeline Developer
--   Guide</i> .
pdTags :: Lens' PipelineDescription [Tag]

-- | The pipeline identifier that was assigned by AWS Data Pipeline. This
--   is a string of the form <tt>df-297EG78HU43EEXAMPLE</tt> .
pdPipelineId :: Lens' PipelineDescription Text

-- | The name of the pipeline.
pdName :: Lens' PipelineDescription Text

-- | A list of read-only fields that contain metadata about the pipeline:
--   <tt>userId, </tt>accountId, and @pipelineState.
pdFields :: Lens' PipelineDescription [Field]

-- | Contains the name and identifier of a pipeline.
--   
--   <i>See:</i> <a>pipelineIdName</a> smart constructor.
data PipelineIdName

-- | Creates a value of <a>PipelineIdName</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pinName</a> - The name of the pipeline.</li>
--   <li><a>pinId</a> - The ID of the pipeline that was assigned by AWS
--   Data Pipeline. This is a string of the form
--   <tt>df-297EG78HU43EEXAMPLE</tt> .</li>
--   </ul>
pipelineIdName :: PipelineIdName

-- | The name of the pipeline.
pinName :: Lens' PipelineIdName (Maybe Text)

-- | The ID of the pipeline that was assigned by AWS Data Pipeline. This is
--   a string of the form <tt>df-297EG78HU43EEXAMPLE</tt> .
pinId :: Lens' PipelineIdName (Maybe Text)

-- | Contains information about a pipeline object. This can be a logical,
--   physical, or physical attempt pipeline object. The complete set of
--   components of a pipeline defines the pipeline.
--   
--   <i>See:</i> <a>pipelineObject</a> smart constructor.
data PipelineObject

-- | Creates a value of <a>PipelineObject</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pId</a> - The ID of the object.</li>
--   <li><a>pName</a> - The name of the object.</li>
--   <li><a>pFields</a> - Key-value pairs that define the properties of the
--   object.</li>
--   </ul>
pipelineObject :: Text -> Text -> PipelineObject

-- | The ID of the object.
pId :: Lens' PipelineObject Text

-- | The name of the object.
pName :: Lens' PipelineObject Text

-- | Key-value pairs that define the properties of the object.
pFields :: Lens' PipelineObject [Field]

-- | Defines the query to run against an object.
--   
--   <i>See:</i> <a>query</a> smart constructor.
data Query

-- | Creates a value of <a>Query</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>qSelectors</a> - List of selectors that define the query. An
--   object must satisfy all of the selectors to match the query.</li>
--   </ul>
query :: Query

-- | List of selectors that define the query. An object must satisfy all of
--   the selectors to match the query.
qSelectors :: Lens' Query [Selector]

-- | A comparision that is used to determine whether a query should return
--   this object.
--   
--   <i>See:</i> <a>selector</a> smart constructor.
data Selector

-- | Creates a value of <a>Selector</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sOperator</a> - Undocumented member.</li>
--   <li><a>sFieldName</a> - The name of the field that the operator will
--   be applied to. The field name is the "key" portion of the field
--   definition in the pipeline definition syntax that is used by the AWS
--   Data Pipeline API. If the field is not set on the object, the
--   condition fails.</li>
--   </ul>
selector :: Selector

-- | Undocumented member.
sOperator :: Lens' Selector (Maybe Operator)

-- | The name of the field that the operator will be applied to. The field
--   name is the "key" portion of the field definition in the pipeline
--   definition syntax that is used by the AWS Data Pipeline API. If the
--   field is not set on the object, the condition fails.
sFieldName :: Lens' Selector (Maybe Text)

-- | Tags are key<i>value pairs defined by a user and associated with a
--   pipeline to control access. AWS Data Pipeline allows you to associate
--   ten tags per pipeline. For more information, see
--   &lt;http:</i><i>docs.aws.amazon.com</i>datapipeline<i>latest</i>DeveloperGuide<i>dp-control-access.html
--   Controlling User Access to Pipelines&gt; in the </i>AWS Data Pipeline
--   Developer Guide/ .
--   
--   <i>See:</i> <a>tag</a> smart constructor.
data Tag

-- | Creates a value of <a>Tag</a> with the minimum fields required to make
--   a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tagKey</a> - The key name of a tag defined by a user. For more
--   information, see <a>Controlling User Access to Pipelines</a> in the
--   <i>AWS Data Pipeline Developer Guide</i> .</li>
--   <li><a>tagValue</a> - The optional value portion of a tag defined by a
--   user. For more information, see <a>Controlling User Access to
--   Pipelines</a> in the <i>AWS Data Pipeline Developer Guide</i> .</li>
--   </ul>
tag :: Text -> Text -> Tag

-- | The key name of a tag defined by a user. For more information, see
--   <a>Controlling User Access to Pipelines</a> in the <i>AWS Data
--   Pipeline Developer Guide</i> .
tagKey :: Lens' Tag Text

-- | The optional value portion of a tag defined by a user. For more
--   information, see <a>Controlling User Access to Pipelines</a> in the
--   <i>AWS Data Pipeline Developer Guide</i> .
tagValue :: Lens' Tag Text

-- | Contains information about a pipeline task that is assigned to a task
--   runner.
--   
--   <i>See:</i> <a>taskObject</a> smart constructor.
data TaskObject

-- | Creates a value of <a>TaskObject</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>toPipelineId</a> - The ID of the pipeline that provided the
--   task.</li>
--   <li><a>toAttemptId</a> - The ID of the pipeline task attempt object.
--   AWS Data Pipeline uses this value to track how many times a task is
--   attempted.</li>
--   <li><a>toTaskId</a> - An internal identifier for the task. This ID is
--   passed to the <tt>SetTaskStatus</tt> and <tt>ReportTaskProgress</tt>
--   actions.</li>
--   <li><a>toObjects</a> - Connection information for the location where
--   the task runner will publish the output of the task.</li>
--   </ul>
taskObject :: TaskObject

-- | The ID of the pipeline that provided the task.
toPipelineId :: Lens' TaskObject (Maybe Text)

-- | The ID of the pipeline task attempt object. AWS Data Pipeline uses
--   this value to track how many times a task is attempted.
toAttemptId :: Lens' TaskObject (Maybe Text)

-- | An internal identifier for the task. This ID is passed to the
--   <tt>SetTaskStatus</tt> and <tt>ReportTaskProgress</tt> actions.
toTaskId :: Lens' TaskObject (Maybe Text)

-- | Connection information for the location where the task runner will
--   publish the output of the task.
toObjects :: Lens' TaskObject (HashMap Text PipelineObject)

-- | Defines a validation error. Validation errors prevent pipeline
--   activation. The set of validation errors that can be returned are
--   defined by AWS Data Pipeline.
--   
--   <i>See:</i> <a>validationError</a> smart constructor.
data ValidationError

-- | Creates a value of <a>ValidationError</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>veId</a> - The identifier of the object that contains the
--   validation error.</li>
--   <li><a>veErrors</a> - A description of the validation error.</li>
--   </ul>
validationError :: ValidationError

-- | The identifier of the object that contains the validation error.
veId :: Lens' ValidationError (Maybe Text)

-- | A description of the validation error.
veErrors :: Lens' ValidationError [Text]

-- | Defines a validation warning. Validation warnings do not prevent
--   pipeline activation. The set of validation warnings that can be
--   returned are defined by AWS Data Pipeline.
--   
--   <i>See:</i> <a>validationWarning</a> smart constructor.
data ValidationWarning

-- | Creates a value of <a>ValidationWarning</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>vwWarnings</a> - A description of the validation warning.</li>
--   <li><a>vwId</a> - The identifier of the object that contains the
--   validation warning.</li>
--   </ul>
validationWarning :: ValidationWarning

-- | A description of the validation warning.
vwWarnings :: Lens' ValidationWarning [Text]

-- | The identifier of the object that contains the validation warning.
vwId :: Lens' ValidationWarning (Maybe Text)


-- | Validates the specified pipeline definition to ensure that it is well
--   formed and can be run without error.
module Network.AWS.DataPipeline.ValidatePipelineDefinition

-- | Creates a value of <a>ValidatePipelineDefinition</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>vpdParameterObjects</a> - The parameter objects used with the
--   pipeline.</li>
--   <li><a>vpdParameterValues</a> - The parameter values used with the
--   pipeline.</li>
--   <li><a>vpdPipelineId</a> - The ID of the pipeline.</li>
--   <li><a>vpdPipelineObjects</a> - The objects that define the pipeline
--   changes to validate against the pipeline.</li>
--   </ul>
validatePipelineDefinition :: Text -> ValidatePipelineDefinition

-- | Contains the parameters for ValidatePipelineDefinition.
--   
--   <i>See:</i> <a>validatePipelineDefinition</a> smart constructor.
data ValidatePipelineDefinition

-- | The parameter objects used with the pipeline.
vpdParameterObjects :: Lens' ValidatePipelineDefinition [ParameterObject]

-- | The parameter values used with the pipeline.
vpdParameterValues :: Lens' ValidatePipelineDefinition [ParameterValue]

-- | The ID of the pipeline.
vpdPipelineId :: Lens' ValidatePipelineDefinition Text

-- | The objects that define the pipeline changes to validate against the
--   pipeline.
vpdPipelineObjects :: Lens' ValidatePipelineDefinition [PipelineObject]

-- | Creates a value of <a>ValidatePipelineDefinitionResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>vpdrsValidationErrors</a> - Any validation errors that were
--   found.</li>
--   <li><a>vpdrsValidationWarnings</a> - Any validation warnings that were
--   found.</li>
--   <li><a>vpdrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>vpdrsErrored</a> - Indicates whether there were validation
--   errors.</li>
--   </ul>
validatePipelineDefinitionResponse :: Int -> Bool -> ValidatePipelineDefinitionResponse

-- | Contains the output of ValidatePipelineDefinition.
--   
--   <i>See:</i> <a>validatePipelineDefinitionResponse</a> smart
--   constructor.
data ValidatePipelineDefinitionResponse

-- | Any validation errors that were found.
vpdrsValidationErrors :: Lens' ValidatePipelineDefinitionResponse [ValidationError]

-- | Any validation warnings that were found.
vpdrsValidationWarnings :: Lens' ValidatePipelineDefinitionResponse [ValidationWarning]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
vpdrsResponseStatus :: Lens' ValidatePipelineDefinitionResponse Int

-- | Indicates whether there were validation errors.
vpdrsErrored :: Lens' ValidatePipelineDefinitionResponse Bool
instance GHC.Generics.Generic Network.AWS.DataPipeline.ValidatePipelineDefinition.ValidatePipelineDefinitionResponse
instance Data.Data.Data Network.AWS.DataPipeline.ValidatePipelineDefinition.ValidatePipelineDefinitionResponse
instance GHC.Show.Show Network.AWS.DataPipeline.ValidatePipelineDefinition.ValidatePipelineDefinitionResponse
instance GHC.Read.Read Network.AWS.DataPipeline.ValidatePipelineDefinition.ValidatePipelineDefinitionResponse
instance GHC.Classes.Eq Network.AWS.DataPipeline.ValidatePipelineDefinition.ValidatePipelineDefinitionResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.ValidatePipelineDefinition.ValidatePipelineDefinition
instance Data.Data.Data Network.AWS.DataPipeline.ValidatePipelineDefinition.ValidatePipelineDefinition
instance GHC.Show.Show Network.AWS.DataPipeline.ValidatePipelineDefinition.ValidatePipelineDefinition
instance GHC.Read.Read Network.AWS.DataPipeline.ValidatePipelineDefinition.ValidatePipelineDefinition
instance GHC.Classes.Eq Network.AWS.DataPipeline.ValidatePipelineDefinition.ValidatePipelineDefinition
instance Network.AWS.Types.AWSRequest Network.AWS.DataPipeline.ValidatePipelineDefinition.ValidatePipelineDefinition
instance Data.Hashable.Class.Hashable Network.AWS.DataPipeline.ValidatePipelineDefinition.ValidatePipelineDefinition
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.ValidatePipelineDefinition.ValidatePipelineDefinition
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DataPipeline.ValidatePipelineDefinition.ValidatePipelineDefinition
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DataPipeline.ValidatePipelineDefinition.ValidatePipelineDefinition
instance Network.AWS.Data.Path.ToPath Network.AWS.DataPipeline.ValidatePipelineDefinition.ValidatePipelineDefinition
instance Network.AWS.Data.Query.ToQuery Network.AWS.DataPipeline.ValidatePipelineDefinition.ValidatePipelineDefinition
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.ValidatePipelineDefinition.ValidatePipelineDefinitionResponse


module Network.AWS.DataPipeline.Waiters


-- | Task runners call <tt>SetTaskStatus</tt> to notify AWS Data Pipeline
--   that a task is completed and provide information about the final
--   status. A task runner makes this call regardless of whether the task
--   was sucessful. A task runner does not need to call
--   <tt>SetTaskStatus</tt> for tasks that are canceled by the web service
--   during a call to <tt>ReportTaskProgress</tt> .
module Network.AWS.DataPipeline.SetTaskStatus

-- | Creates a value of <a>SetTaskStatus</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>stsErrorStackTrace</a> - If an error occurred during the task,
--   this value specifies the stack trace associated with the error. This
--   value is set on the physical attempt object. It is used to display
--   error information to the user. The web service does not parse this
--   value.</li>
--   <li><a>stsErrorId</a> - If an error occurred during the task, this
--   value specifies the error code. This value is set on the physical
--   attempt object. It is used to display error information to the user.
--   It should not start with string <a>Service_</a> which is reserved by
--   the system.</li>
--   <li><a>stsErrorMessage</a> - If an error occurred during the task,
--   this value specifies a text description of the error. This value is
--   set on the physical attempt object. It is used to display error
--   information to the user. The web service does not parse this
--   value.</li>
--   <li><a>stsTaskId</a> - The ID of the task assigned to the task runner.
--   This value is provided in the response for <tt>PollForTask</tt> .</li>
--   <li><a>stsTaskStatus</a> - If <tt>FINISHED</tt> , the task
--   successfully completed. If <tt>FAILED</tt> , the task ended
--   unsuccessfully. Preconditions use false.</li>
--   </ul>
setTaskStatus :: Text -> TaskStatus -> SetTaskStatus

-- | Contains the parameters for SetTaskStatus.
--   
--   <i>See:</i> <a>setTaskStatus</a> smart constructor.
data SetTaskStatus

-- | If an error occurred during the task, this value specifies the stack
--   trace associated with the error. This value is set on the physical
--   attempt object. It is used to display error information to the user.
--   The web service does not parse this value.
stsErrorStackTrace :: Lens' SetTaskStatus (Maybe Text)

-- | If an error occurred during the task, this value specifies the error
--   code. This value is set on the physical attempt object. It is used to
--   display error information to the user. It should not start with string
--   <a>Service_</a> which is reserved by the system.
stsErrorId :: Lens' SetTaskStatus (Maybe Text)

-- | If an error occurred during the task, this value specifies a text
--   description of the error. This value is set on the physical attempt
--   object. It is used to display error information to the user. The web
--   service does not parse this value.
stsErrorMessage :: Lens' SetTaskStatus (Maybe Text)

-- | The ID of the task assigned to the task runner. This value is provided
--   in the response for <tt>PollForTask</tt> .
stsTaskId :: Lens' SetTaskStatus Text

-- | If <tt>FINISHED</tt> , the task successfully completed. If
--   <tt>FAILED</tt> , the task ended unsuccessfully. Preconditions use
--   false.
stsTaskStatus :: Lens' SetTaskStatus TaskStatus

-- | Creates a value of <a>SetTaskStatusResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>stsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
setTaskStatusResponse :: Int -> SetTaskStatusResponse

-- | Contains the output of SetTaskStatus.
--   
--   <i>See:</i> <a>setTaskStatusResponse</a> smart constructor.
data SetTaskStatusResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
stsrsResponseStatus :: Lens' SetTaskStatusResponse Int
instance GHC.Generics.Generic Network.AWS.DataPipeline.SetTaskStatus.SetTaskStatusResponse
instance Data.Data.Data Network.AWS.DataPipeline.SetTaskStatus.SetTaskStatusResponse
instance GHC.Show.Show Network.AWS.DataPipeline.SetTaskStatus.SetTaskStatusResponse
instance GHC.Read.Read Network.AWS.DataPipeline.SetTaskStatus.SetTaskStatusResponse
instance GHC.Classes.Eq Network.AWS.DataPipeline.SetTaskStatus.SetTaskStatusResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.SetTaskStatus.SetTaskStatus
instance Data.Data.Data Network.AWS.DataPipeline.SetTaskStatus.SetTaskStatus
instance GHC.Show.Show Network.AWS.DataPipeline.SetTaskStatus.SetTaskStatus
instance GHC.Read.Read Network.AWS.DataPipeline.SetTaskStatus.SetTaskStatus
instance GHC.Classes.Eq Network.AWS.DataPipeline.SetTaskStatus.SetTaskStatus
instance Network.AWS.Types.AWSRequest Network.AWS.DataPipeline.SetTaskStatus.SetTaskStatus
instance Data.Hashable.Class.Hashable Network.AWS.DataPipeline.SetTaskStatus.SetTaskStatus
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.SetTaskStatus.SetTaskStatus
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DataPipeline.SetTaskStatus.SetTaskStatus
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DataPipeline.SetTaskStatus.SetTaskStatus
instance Network.AWS.Data.Path.ToPath Network.AWS.DataPipeline.SetTaskStatus.SetTaskStatus
instance Network.AWS.Data.Query.ToQuery Network.AWS.DataPipeline.SetTaskStatus.SetTaskStatus
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.SetTaskStatus.SetTaskStatusResponse


-- | Requests that the status of the specified physical or logical pipeline
--   objects be updated in the specified pipeline. This update might not
--   occur immediately, but is eventually consistent. The status that can
--   be set depends on the type of object (for example, DataNode or
--   Activity). You cannot perform this operation on <tt>FINISHED</tt>
--   pipelines and attempting to do so returns
--   <tt>InvalidRequestException</tt> .
module Network.AWS.DataPipeline.SetStatus

-- | Creates a value of <a>SetStatus</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ssPipelineId</a> - The ID of the pipeline that contains the
--   objects.</li>
--   <li><a>ssObjectIds</a> - The IDs of the objects. The corresponding
--   objects can be either physical or components, but not a mix of both
--   types.</li>
--   <li><a>ssStatus</a> - The status to be set on all the objects
--   specified in <tt>objectIds</tt> . For components, use <tt>PAUSE</tt>
--   or <tt>RESUME</tt> . For instances, use <tt>TRY_CANCEL</tt> ,
--   <tt>RERUN</tt> , or <tt>MARK_FINISHED</tt> .</li>
--   </ul>
setStatus :: Text -> Text -> SetStatus

-- | Contains the parameters for SetStatus.
--   
--   <i>See:</i> <a>setStatus</a> smart constructor.
data SetStatus

-- | The ID of the pipeline that contains the objects.
ssPipelineId :: Lens' SetStatus Text

-- | The IDs of the objects. The corresponding objects can be either
--   physical or components, but not a mix of both types.
ssObjectIds :: Lens' SetStatus [Text]

-- | The status to be set on all the objects specified in
--   <tt>objectIds</tt> . For components, use <tt>PAUSE</tt> or
--   <tt>RESUME</tt> . For instances, use <tt>TRY_CANCEL</tt> ,
--   <tt>RERUN</tt> , or <tt>MARK_FINISHED</tt> .
ssStatus :: Lens' SetStatus Text

-- | Creates a value of <a>SetStatusResponse</a> with the minimum fields
--   required to make a request.
setStatusResponse :: SetStatusResponse

-- | <i>See:</i> <a>setStatusResponse</a> smart constructor.
data SetStatusResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.SetStatus.SetStatusResponse
instance Data.Data.Data Network.AWS.DataPipeline.SetStatus.SetStatusResponse
instance GHC.Show.Show Network.AWS.DataPipeline.SetStatus.SetStatusResponse
instance GHC.Read.Read Network.AWS.DataPipeline.SetStatus.SetStatusResponse
instance GHC.Classes.Eq Network.AWS.DataPipeline.SetStatus.SetStatusResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.SetStatus.SetStatus
instance Data.Data.Data Network.AWS.DataPipeline.SetStatus.SetStatus
instance GHC.Show.Show Network.AWS.DataPipeline.SetStatus.SetStatus
instance GHC.Read.Read Network.AWS.DataPipeline.SetStatus.SetStatus
instance GHC.Classes.Eq Network.AWS.DataPipeline.SetStatus.SetStatus
instance Network.AWS.Types.AWSRequest Network.AWS.DataPipeline.SetStatus.SetStatus
instance Data.Hashable.Class.Hashable Network.AWS.DataPipeline.SetStatus.SetStatus
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.SetStatus.SetStatus
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DataPipeline.SetStatus.SetStatus
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DataPipeline.SetStatus.SetStatus
instance Network.AWS.Data.Path.ToPath Network.AWS.DataPipeline.SetStatus.SetStatus
instance Network.AWS.Data.Query.ToQuery Network.AWS.DataPipeline.SetStatus.SetStatus
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.SetStatus.SetStatusResponse


-- | Task runners call <tt>ReportTaskRunnerHeartbeat</tt> every 15 minutes
--   to indicate that they are operational. If the AWS Data Pipeline Task
--   Runner is launched on a resource managed by AWS Data Pipeline, the web
--   service can use this call to detect when the task runner application
--   has failed and restart a new instance.
module Network.AWS.DataPipeline.ReportTaskRunnerHeartbeat

-- | Creates a value of <a>ReportTaskRunnerHeartbeat</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtrhHostname</a> - The public DNS name of the task runner.</li>
--   <li><a>rtrhWorkerGroup</a> - The type of task the task runner is
--   configured to accept and process. The worker group is set as a field
--   on objects in the pipeline when they are created. You can only specify
--   a single value for <tt>workerGroup</tt> . There are no wildcard values
--   permitted in <tt>workerGroup</tt> ; the string must be an exact,
--   case-sensitive, match.</li>
--   <li><a>rtrhTaskrunnerId</a> - The ID of the task runner. This value
--   should be unique across your AWS account. In the case of AWS Data
--   Pipeline Task Runner launched on a resource managed by AWS Data
--   Pipeline, the web service provides a unique identifier when it
--   launches the application. If you have written a custom task runner,
--   you should assign a unique identifier for the task runner.</li>
--   </ul>
reportTaskRunnerHeartbeat :: Text -> ReportTaskRunnerHeartbeat

-- | Contains the parameters for ReportTaskRunnerHeartbeat.
--   
--   <i>See:</i> <a>reportTaskRunnerHeartbeat</a> smart constructor.
data ReportTaskRunnerHeartbeat

-- | The public DNS name of the task runner.
rtrhHostname :: Lens' ReportTaskRunnerHeartbeat (Maybe Text)

-- | The type of task the task runner is configured to accept and process.
--   The worker group is set as a field on objects in the pipeline when
--   they are created. You can only specify a single value for
--   <tt>workerGroup</tt> . There are no wildcard values permitted in
--   <tt>workerGroup</tt> ; the string must be an exact, case-sensitive,
--   match.
rtrhWorkerGroup :: Lens' ReportTaskRunnerHeartbeat (Maybe Text)

-- | The ID of the task runner. This value should be unique across your AWS
--   account. In the case of AWS Data Pipeline Task Runner launched on a
--   resource managed by AWS Data Pipeline, the web service provides a
--   unique identifier when it launches the application. If you have
--   written a custom task runner, you should assign a unique identifier
--   for the task runner.
rtrhTaskrunnerId :: Lens' ReportTaskRunnerHeartbeat Text

-- | Creates a value of <a>ReportTaskRunnerHeartbeatResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtrhrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>rtrhrsTerminate</a> - Indicates whether the calling task runner
--   should terminate.</li>
--   </ul>
reportTaskRunnerHeartbeatResponse :: Int -> Bool -> ReportTaskRunnerHeartbeatResponse

-- | Contains the output of ReportTaskRunnerHeartbeat.
--   
--   <i>See:</i> <a>reportTaskRunnerHeartbeatResponse</a> smart
--   constructor.
data ReportTaskRunnerHeartbeatResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
rtrhrsResponseStatus :: Lens' ReportTaskRunnerHeartbeatResponse Int

-- | Indicates whether the calling task runner should terminate.
rtrhrsTerminate :: Lens' ReportTaskRunnerHeartbeatResponse Bool
instance GHC.Generics.Generic Network.AWS.DataPipeline.ReportTaskRunnerHeartbeat.ReportTaskRunnerHeartbeatResponse
instance Data.Data.Data Network.AWS.DataPipeline.ReportTaskRunnerHeartbeat.ReportTaskRunnerHeartbeatResponse
instance GHC.Show.Show Network.AWS.DataPipeline.ReportTaskRunnerHeartbeat.ReportTaskRunnerHeartbeatResponse
instance GHC.Read.Read Network.AWS.DataPipeline.ReportTaskRunnerHeartbeat.ReportTaskRunnerHeartbeatResponse
instance GHC.Classes.Eq Network.AWS.DataPipeline.ReportTaskRunnerHeartbeat.ReportTaskRunnerHeartbeatResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.ReportTaskRunnerHeartbeat.ReportTaskRunnerHeartbeat
instance Data.Data.Data Network.AWS.DataPipeline.ReportTaskRunnerHeartbeat.ReportTaskRunnerHeartbeat
instance GHC.Show.Show Network.AWS.DataPipeline.ReportTaskRunnerHeartbeat.ReportTaskRunnerHeartbeat
instance GHC.Read.Read Network.AWS.DataPipeline.ReportTaskRunnerHeartbeat.ReportTaskRunnerHeartbeat
instance GHC.Classes.Eq Network.AWS.DataPipeline.ReportTaskRunnerHeartbeat.ReportTaskRunnerHeartbeat
instance Network.AWS.Types.AWSRequest Network.AWS.DataPipeline.ReportTaskRunnerHeartbeat.ReportTaskRunnerHeartbeat
instance Data.Hashable.Class.Hashable Network.AWS.DataPipeline.ReportTaskRunnerHeartbeat.ReportTaskRunnerHeartbeat
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.ReportTaskRunnerHeartbeat.ReportTaskRunnerHeartbeat
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DataPipeline.ReportTaskRunnerHeartbeat.ReportTaskRunnerHeartbeat
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DataPipeline.ReportTaskRunnerHeartbeat.ReportTaskRunnerHeartbeat
instance Network.AWS.Data.Path.ToPath Network.AWS.DataPipeline.ReportTaskRunnerHeartbeat.ReportTaskRunnerHeartbeat
instance Network.AWS.Data.Query.ToQuery Network.AWS.DataPipeline.ReportTaskRunnerHeartbeat.ReportTaskRunnerHeartbeat
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.ReportTaskRunnerHeartbeat.ReportTaskRunnerHeartbeatResponse


-- | Task runners call <tt>ReportTaskProgress</tt> when assigned a task to
--   acknowledge that it has the task. If the web service does not receive
--   this acknowledgement within 2 minutes, it assigns the task in a
--   subsequent <tt>PollForTask</tt> call. After this initial
--   acknowledgement, the task runner only needs to report progress every
--   15 minutes to maintain its ownership of the task. You can change this
--   reporting time from 15 minutes by specifying a
--   <tt>reportProgressTimeout</tt> field in your pipeline.
--   
--   If a task runner does not report its status after 5 minutes, AWS Data
--   Pipeline assumes that the task runner is unable to process the task
--   and reassigns the task in a subsequent response to
--   <tt>PollForTask</tt> . Task runners should call
--   <tt>ReportTaskProgress</tt> every 60 seconds.
module Network.AWS.DataPipeline.ReportTaskProgress

-- | Creates a value of <a>ReportTaskProgress</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtpFields</a> - Key-value pairs that define the properties of
--   the ReportTaskProgressInput object.</li>
--   <li><a>rtpTaskId</a> - The ID of the task assigned to the task runner.
--   This value is provided in the response for <tt>PollForTask</tt> .</li>
--   </ul>
reportTaskProgress :: Text -> ReportTaskProgress

-- | Contains the parameters for ReportTaskProgress.
--   
--   <i>See:</i> <a>reportTaskProgress</a> smart constructor.
data ReportTaskProgress

-- | Key-value pairs that define the properties of the
--   ReportTaskProgressInput object.
rtpFields :: Lens' ReportTaskProgress [Field]

-- | The ID of the task assigned to the task runner. This value is provided
--   in the response for <tt>PollForTask</tt> .
rtpTaskId :: Lens' ReportTaskProgress Text

-- | Creates a value of <a>ReportTaskProgressResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtprsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>rtprsCanceled</a> - If true, the calling task runner should
--   cancel processing of the task. The task runner does not need to call
--   <tt>SetTaskStatus</tt> for canceled tasks.</li>
--   </ul>
reportTaskProgressResponse :: Int -> Bool -> ReportTaskProgressResponse

-- | Contains the output of ReportTaskProgress.
--   
--   <i>See:</i> <a>reportTaskProgressResponse</a> smart constructor.
data ReportTaskProgressResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
rtprsResponseStatus :: Lens' ReportTaskProgressResponse Int

-- | If true, the calling task runner should cancel processing of the task.
--   The task runner does not need to call <tt>SetTaskStatus</tt> for
--   canceled tasks.
rtprsCanceled :: Lens' ReportTaskProgressResponse Bool
instance GHC.Generics.Generic Network.AWS.DataPipeline.ReportTaskProgress.ReportTaskProgressResponse
instance Data.Data.Data Network.AWS.DataPipeline.ReportTaskProgress.ReportTaskProgressResponse
instance GHC.Show.Show Network.AWS.DataPipeline.ReportTaskProgress.ReportTaskProgressResponse
instance GHC.Read.Read Network.AWS.DataPipeline.ReportTaskProgress.ReportTaskProgressResponse
instance GHC.Classes.Eq Network.AWS.DataPipeline.ReportTaskProgress.ReportTaskProgressResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.ReportTaskProgress.ReportTaskProgress
instance Data.Data.Data Network.AWS.DataPipeline.ReportTaskProgress.ReportTaskProgress
instance GHC.Show.Show Network.AWS.DataPipeline.ReportTaskProgress.ReportTaskProgress
instance GHC.Read.Read Network.AWS.DataPipeline.ReportTaskProgress.ReportTaskProgress
instance GHC.Classes.Eq Network.AWS.DataPipeline.ReportTaskProgress.ReportTaskProgress
instance Network.AWS.Types.AWSRequest Network.AWS.DataPipeline.ReportTaskProgress.ReportTaskProgress
instance Data.Hashable.Class.Hashable Network.AWS.DataPipeline.ReportTaskProgress.ReportTaskProgress
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.ReportTaskProgress.ReportTaskProgress
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DataPipeline.ReportTaskProgress.ReportTaskProgress
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DataPipeline.ReportTaskProgress.ReportTaskProgress
instance Network.AWS.Data.Path.ToPath Network.AWS.DataPipeline.ReportTaskProgress.ReportTaskProgress
instance Network.AWS.Data.Query.ToQuery Network.AWS.DataPipeline.ReportTaskProgress.ReportTaskProgress
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.ReportTaskProgress.ReportTaskProgressResponse


-- | Removes existing tags from the specified pipeline.
module Network.AWS.DataPipeline.RemoveTags

-- | Creates a value of <a>RemoveTags</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtPipelineId</a> - The ID of the pipeline.</li>
--   <li><a>rtTagKeys</a> - The keys of the tags to remove.</li>
--   </ul>
removeTags :: Text -> RemoveTags

-- | Contains the parameters for RemoveTags.
--   
--   <i>See:</i> <a>removeTags</a> smart constructor.
data RemoveTags

-- | The ID of the pipeline.
rtPipelineId :: Lens' RemoveTags Text

-- | The keys of the tags to remove.
rtTagKeys :: Lens' RemoveTags [Text]

-- | Creates a value of <a>RemoveTagsResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
removeTagsResponse :: Int -> RemoveTagsResponse

-- | Contains the output of RemoveTags.
--   
--   <i>See:</i> <a>removeTagsResponse</a> smart constructor.
data RemoveTagsResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
rtrsResponseStatus :: Lens' RemoveTagsResponse Int
instance GHC.Generics.Generic Network.AWS.DataPipeline.RemoveTags.RemoveTagsResponse
instance Data.Data.Data Network.AWS.DataPipeline.RemoveTags.RemoveTagsResponse
instance GHC.Show.Show Network.AWS.DataPipeline.RemoveTags.RemoveTagsResponse
instance GHC.Read.Read Network.AWS.DataPipeline.RemoveTags.RemoveTagsResponse
instance GHC.Classes.Eq Network.AWS.DataPipeline.RemoveTags.RemoveTagsResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.RemoveTags.RemoveTags
instance Data.Data.Data Network.AWS.DataPipeline.RemoveTags.RemoveTags
instance GHC.Show.Show Network.AWS.DataPipeline.RemoveTags.RemoveTags
instance GHC.Read.Read Network.AWS.DataPipeline.RemoveTags.RemoveTags
instance GHC.Classes.Eq Network.AWS.DataPipeline.RemoveTags.RemoveTags
instance Network.AWS.Types.AWSRequest Network.AWS.DataPipeline.RemoveTags.RemoveTags
instance Data.Hashable.Class.Hashable Network.AWS.DataPipeline.RemoveTags.RemoveTags
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.RemoveTags.RemoveTags
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DataPipeline.RemoveTags.RemoveTags
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DataPipeline.RemoveTags.RemoveTags
instance Network.AWS.Data.Path.ToPath Network.AWS.DataPipeline.RemoveTags.RemoveTags
instance Network.AWS.Data.Query.ToQuery Network.AWS.DataPipeline.RemoveTags.RemoveTags
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.RemoveTags.RemoveTagsResponse


-- | Queries the specified pipeline for the names of objects that match the
--   specified set of conditions.
--   
--   This operation returns paginated results.
module Network.AWS.DataPipeline.QueryObjects

-- | Creates a value of <a>QueryObjects</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>qoQuery</a> - The query that defines the objects to be
--   returned. The <tt>Query</tt> object can contain a maximum of ten
--   selectors. The conditions in the query are limited to top-level String
--   fields in the object. These filters can be applied to components,
--   instances, and attempts.</li>
--   <li><a>qoMarker</a> - The starting point for the results to be
--   returned. For the first call, this value should be empty. As long as
--   there are more results, continue to call <tt>QueryObjects</tt> with
--   the marker value from the previous call to retrieve the next set of
--   results.</li>
--   <li><a>qoLimit</a> - The maximum number of object names that
--   <tt>QueryObjects</tt> will return in a single call. The default value
--   is 100.</li>
--   <li><a>qoPipelineId</a> - The ID of the pipeline.</li>
--   <li><a>qoSphere</a> - Indicates whether the query applies to
--   components or instances. The possible values are: <tt>COMPONENT</tt> ,
--   <tt>INSTANCE</tt> , and <tt>ATTEMPT</tt> .</li>
--   </ul>
queryObjects :: Text -> Text -> QueryObjects

-- | Contains the parameters for QueryObjects.
--   
--   <i>See:</i> <a>queryObjects</a> smart constructor.
data QueryObjects

-- | The query that defines the objects to be returned. The <tt>Query</tt>
--   object can contain a maximum of ten selectors. The conditions in the
--   query are limited to top-level String fields in the object. These
--   filters can be applied to components, instances, and attempts.
qoQuery :: Lens' QueryObjects (Maybe Query)

-- | The starting point for the results to be returned. For the first call,
--   this value should be empty. As long as there are more results,
--   continue to call <tt>QueryObjects</tt> with the marker value from the
--   previous call to retrieve the next set of results.
qoMarker :: Lens' QueryObjects (Maybe Text)

-- | The maximum number of object names that <tt>QueryObjects</tt> will
--   return in a single call. The default value is 100.
qoLimit :: Lens' QueryObjects (Maybe Int)

-- | The ID of the pipeline.
qoPipelineId :: Lens' QueryObjects Text

-- | Indicates whether the query applies to components or instances. The
--   possible values are: <tt>COMPONENT</tt> , <tt>INSTANCE</tt> , and
--   <tt>ATTEMPT</tt> .
qoSphere :: Lens' QueryObjects Text

-- | Creates a value of <a>QueryObjectsResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>qorsHasMoreResults</a> - Indicates whether there are more
--   results that can be obtained by a subsequent call.</li>
--   <li><a>qorsIds</a> - The identifiers that match the query
--   selectors.</li>
--   <li><a>qorsMarker</a> - The starting point for the next page of
--   results. To view the next page of results, call <tt>QueryObjects</tt>
--   again with this marker value. If the value is null, there are no more
--   results.</li>
--   <li><a>qorsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
queryObjectsResponse :: Int -> QueryObjectsResponse

-- | Contains the output of QueryObjects.
--   
--   <i>See:</i> <a>queryObjectsResponse</a> smart constructor.
data QueryObjectsResponse

-- | Indicates whether there are more results that can be obtained by a
--   subsequent call.
qorsHasMoreResults :: Lens' QueryObjectsResponse (Maybe Bool)

-- | The identifiers that match the query selectors.
qorsIds :: Lens' QueryObjectsResponse [Text]

-- | The starting point for the next page of results. To view the next page
--   of results, call <tt>QueryObjects</tt> again with this marker value.
--   If the value is null, there are no more results.
qorsMarker :: Lens' QueryObjectsResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
qorsResponseStatus :: Lens' QueryObjectsResponse Int
instance GHC.Generics.Generic Network.AWS.DataPipeline.QueryObjects.QueryObjectsResponse
instance Data.Data.Data Network.AWS.DataPipeline.QueryObjects.QueryObjectsResponse
instance GHC.Show.Show Network.AWS.DataPipeline.QueryObjects.QueryObjectsResponse
instance GHC.Read.Read Network.AWS.DataPipeline.QueryObjects.QueryObjectsResponse
instance GHC.Classes.Eq Network.AWS.DataPipeline.QueryObjects.QueryObjectsResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.QueryObjects.QueryObjects
instance Data.Data.Data Network.AWS.DataPipeline.QueryObjects.QueryObjects
instance GHC.Show.Show Network.AWS.DataPipeline.QueryObjects.QueryObjects
instance GHC.Read.Read Network.AWS.DataPipeline.QueryObjects.QueryObjects
instance GHC.Classes.Eq Network.AWS.DataPipeline.QueryObjects.QueryObjects
instance Network.AWS.Pager.AWSPager Network.AWS.DataPipeline.QueryObjects.QueryObjects
instance Network.AWS.Types.AWSRequest Network.AWS.DataPipeline.QueryObjects.QueryObjects
instance Data.Hashable.Class.Hashable Network.AWS.DataPipeline.QueryObjects.QueryObjects
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.QueryObjects.QueryObjects
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DataPipeline.QueryObjects.QueryObjects
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DataPipeline.QueryObjects.QueryObjects
instance Network.AWS.Data.Path.ToPath Network.AWS.DataPipeline.QueryObjects.QueryObjects
instance Network.AWS.Data.Query.ToQuery Network.AWS.DataPipeline.QueryObjects.QueryObjects
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.QueryObjects.QueryObjectsResponse


-- | Adds tasks, schedules, and preconditions to the specified pipeline.
--   You can use <tt>PutPipelineDefinition</tt> to populate a new pipeline.
--   
--   <tt>PutPipelineDefinition</tt> also validates the configuration as it
--   adds it to the pipeline. Changes to the pipeline are saved unless one
--   of the following three validation errors exists in the pipeline.
--   
--   <ul>
--   <li>An object is missing a name or identifier field. * A string or
--   reference field is empty. * The number of objects in the pipeline
--   exceeds the maximum allowed objects. * The pipeline is in a FINISHED
--   state.</li>
--   </ul>
--   
--   Pipeline object definitions are passed to the
--   <tt>PutPipelineDefinition</tt> action and returned by the
--   <tt>GetPipelineDefinition</tt> action.
module Network.AWS.DataPipeline.PutPipelineDefinition

-- | Creates a value of <a>PutPipelineDefinition</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ppdParameterObjects</a> - The parameter objects used with the
--   pipeline.</li>
--   <li><a>ppdParameterValues</a> - The parameter values used with the
--   pipeline.</li>
--   <li><a>ppdPipelineId</a> - The ID of the pipeline.</li>
--   <li><a>ppdPipelineObjects</a> - The objects that define the pipeline.
--   These objects overwrite the existing pipeline definition.</li>
--   </ul>
putPipelineDefinition :: Text -> PutPipelineDefinition

-- | Contains the parameters for PutPipelineDefinition.
--   
--   <i>See:</i> <a>putPipelineDefinition</a> smart constructor.
data PutPipelineDefinition

-- | The parameter objects used with the pipeline.
ppdParameterObjects :: Lens' PutPipelineDefinition [ParameterObject]

-- | The parameter values used with the pipeline.
ppdParameterValues :: Lens' PutPipelineDefinition [ParameterValue]

-- | The ID of the pipeline.
ppdPipelineId :: Lens' PutPipelineDefinition Text

-- | The objects that define the pipeline. These objects overwrite the
--   existing pipeline definition.
ppdPipelineObjects :: Lens' PutPipelineDefinition [PipelineObject]

-- | Creates a value of <a>PutPipelineDefinitionResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ppdrsValidationErrors</a> - The validation errors that are
--   associated with the objects defined in <tt>pipelineObjects</tt> .</li>
--   <li><a>ppdrsValidationWarnings</a> - The validation warnings that are
--   associated with the objects defined in <tt>pipelineObjects</tt> .</li>
--   <li><a>ppdrsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>ppdrsErrored</a> - Indicates whether there were validation
--   errors, and the pipeline definition is stored but cannot be activated
--   until you correct the pipeline and call <tt>PutPipelineDefinition</tt>
--   to commit the corrected pipeline.</li>
--   </ul>
putPipelineDefinitionResponse :: Int -> Bool -> PutPipelineDefinitionResponse

-- | Contains the output of PutPipelineDefinition.
--   
--   <i>See:</i> <a>putPipelineDefinitionResponse</a> smart constructor.
data PutPipelineDefinitionResponse

-- | The validation errors that are associated with the objects defined in
--   <tt>pipelineObjects</tt> .
ppdrsValidationErrors :: Lens' PutPipelineDefinitionResponse [ValidationError]

-- | The validation warnings that are associated with the objects defined
--   in <tt>pipelineObjects</tt> .
ppdrsValidationWarnings :: Lens' PutPipelineDefinitionResponse [ValidationWarning]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ppdrsResponseStatus :: Lens' PutPipelineDefinitionResponse Int

-- | Indicates whether there were validation errors, and the pipeline
--   definition is stored but cannot be activated until you correct the
--   pipeline and call <tt>PutPipelineDefinition</tt> to commit the
--   corrected pipeline.
ppdrsErrored :: Lens' PutPipelineDefinitionResponse Bool
instance GHC.Generics.Generic Network.AWS.DataPipeline.PutPipelineDefinition.PutPipelineDefinitionResponse
instance Data.Data.Data Network.AWS.DataPipeline.PutPipelineDefinition.PutPipelineDefinitionResponse
instance GHC.Show.Show Network.AWS.DataPipeline.PutPipelineDefinition.PutPipelineDefinitionResponse
instance GHC.Read.Read Network.AWS.DataPipeline.PutPipelineDefinition.PutPipelineDefinitionResponse
instance GHC.Classes.Eq Network.AWS.DataPipeline.PutPipelineDefinition.PutPipelineDefinitionResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.PutPipelineDefinition.PutPipelineDefinition
instance Data.Data.Data Network.AWS.DataPipeline.PutPipelineDefinition.PutPipelineDefinition
instance GHC.Show.Show Network.AWS.DataPipeline.PutPipelineDefinition.PutPipelineDefinition
instance GHC.Read.Read Network.AWS.DataPipeline.PutPipelineDefinition.PutPipelineDefinition
instance GHC.Classes.Eq Network.AWS.DataPipeline.PutPipelineDefinition.PutPipelineDefinition
instance Network.AWS.Types.AWSRequest Network.AWS.DataPipeline.PutPipelineDefinition.PutPipelineDefinition
instance Data.Hashable.Class.Hashable Network.AWS.DataPipeline.PutPipelineDefinition.PutPipelineDefinition
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.PutPipelineDefinition.PutPipelineDefinition
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DataPipeline.PutPipelineDefinition.PutPipelineDefinition
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DataPipeline.PutPipelineDefinition.PutPipelineDefinition
instance Network.AWS.Data.Path.ToPath Network.AWS.DataPipeline.PutPipelineDefinition.PutPipelineDefinition
instance Network.AWS.Data.Query.ToQuery Network.AWS.DataPipeline.PutPipelineDefinition.PutPipelineDefinition
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.PutPipelineDefinition.PutPipelineDefinitionResponse


-- | Task runners call <tt>PollForTask</tt> to receive a task to perform
--   from AWS Data Pipeline. The task runner specifies which tasks it can
--   perform by setting a value for the <tt>workerGroup</tt> parameter. The
--   task returned can come from any of the pipelines that match the
--   <tt>workerGroup</tt> value passed in by the task runner and that was
--   launched using the IAM user credentials specified by the task runner.
--   
--   If tasks are ready in the work queue, <tt>PollForTask</tt> returns a
--   response immediately. If no tasks are available in the queue,
--   <tt>PollForTask</tt> uses long-polling and holds on to a poll
--   connection for up to a 90 seconds, during which time the first newly
--   scheduled task is handed to the task runner. To accomodate this, set
--   the socket timeout in your task runner to 90 seconds. The task runner
--   should not call <tt>PollForTask</tt> again on the same
--   <tt>workerGroup</tt> until it receives a response, and this can take
--   up to 90 seconds.
module Network.AWS.DataPipeline.PollForTask

-- | Creates a value of <a>PollForTask</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pftHostname</a> - The public DNS name of the calling task
--   runner.</li>
--   <li><a>pftInstanceIdentity</a> - Identity information for the EC2
--   instance that is hosting the task runner. You can get this value from
--   the instance using
--   <tt><a>http://169.254.169.254/latest/meta-data/instance-id</a></tt> .
--   For more information, see <a>Instance Metadata</a> in the <i>Amazon
--   Elastic Compute Cloud User Guide.</i> Passing in this value proves
--   that your task runner is running on an EC2 instance, and ensures the
--   proper AWS Data Pipeline service charges are applied to your
--   pipeline.</li>
--   <li><a>pftWorkerGroup</a> - The type of task the task runner is
--   configured to accept and process. The worker group is set as a field
--   on objects in the pipeline when they are created. You can only specify
--   a single value for <tt>workerGroup</tt> in the call to
--   <tt>PollForTask</tt> . There are no wildcard values permitted in
--   <tt>workerGroup</tt> ; the string must be an exact, case-sensitive,
--   match.</li>
--   </ul>
pollForTask :: Text -> PollForTask

-- | Contains the parameters for PollForTask.
--   
--   <i>See:</i> <a>pollForTask</a> smart constructor.
data PollForTask

-- | The public DNS name of the calling task runner.
pftHostname :: Lens' PollForTask (Maybe Text)

-- | Identity information for the EC2 instance that is hosting the task
--   runner. You can get this value from the instance using
--   <tt><a>http://169.254.169.254/latest/meta-data/instance-id</a></tt> .
--   For more information, see <a>Instance Metadata</a> in the <i>Amazon
--   Elastic Compute Cloud User Guide.</i> Passing in this value proves
--   that your task runner is running on an EC2 instance, and ensures the
--   proper AWS Data Pipeline service charges are applied to your pipeline.
pftInstanceIdentity :: Lens' PollForTask (Maybe InstanceIdentity)

-- | The type of task the task runner is configured to accept and process.
--   The worker group is set as a field on objects in the pipeline when
--   they are created. You can only specify a single value for
--   <tt>workerGroup</tt> in the call to <tt>PollForTask</tt> . There are
--   no wildcard values permitted in <tt>workerGroup</tt> ; the string must
--   be an exact, case-sensitive, match.
pftWorkerGroup :: Lens' PollForTask Text

-- | Creates a value of <a>PollForTaskResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pftrsTaskObject</a> - The information needed to complete the
--   task that is being assigned to the task runner. One of the fields
--   returned in this object is <tt>taskId</tt> , which contains an
--   identifier for the task being assigned. The calling task runner uses
--   <tt>taskId</tt> in subsequent calls to <tt>ReportTaskProgress</tt> and
--   <tt>SetTaskStatus</tt> .</li>
--   <li><a>pftrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
pollForTaskResponse :: Int -> PollForTaskResponse

-- | Contains the output of PollForTask.
--   
--   <i>See:</i> <a>pollForTaskResponse</a> smart constructor.
data PollForTaskResponse

-- | The information needed to complete the task that is being assigned to
--   the task runner. One of the fields returned in this object is
--   <tt>taskId</tt> , which contains an identifier for the task being
--   assigned. The calling task runner uses <tt>taskId</tt> in subsequent
--   calls to <tt>ReportTaskProgress</tt> and <tt>SetTaskStatus</tt> .
pftrsTaskObject :: Lens' PollForTaskResponse (Maybe TaskObject)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
pftrsResponseStatus :: Lens' PollForTaskResponse Int
instance GHC.Generics.Generic Network.AWS.DataPipeline.PollForTask.PollForTaskResponse
instance Data.Data.Data Network.AWS.DataPipeline.PollForTask.PollForTaskResponse
instance GHC.Show.Show Network.AWS.DataPipeline.PollForTask.PollForTaskResponse
instance GHC.Read.Read Network.AWS.DataPipeline.PollForTask.PollForTaskResponse
instance GHC.Classes.Eq Network.AWS.DataPipeline.PollForTask.PollForTaskResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.PollForTask.PollForTask
instance Data.Data.Data Network.AWS.DataPipeline.PollForTask.PollForTask
instance GHC.Show.Show Network.AWS.DataPipeline.PollForTask.PollForTask
instance GHC.Read.Read Network.AWS.DataPipeline.PollForTask.PollForTask
instance GHC.Classes.Eq Network.AWS.DataPipeline.PollForTask.PollForTask
instance Network.AWS.Types.AWSRequest Network.AWS.DataPipeline.PollForTask.PollForTask
instance Data.Hashable.Class.Hashable Network.AWS.DataPipeline.PollForTask.PollForTask
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.PollForTask.PollForTask
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DataPipeline.PollForTask.PollForTask
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DataPipeline.PollForTask.PollForTask
instance Network.AWS.Data.Path.ToPath Network.AWS.DataPipeline.PollForTask.PollForTask
instance Network.AWS.Data.Query.ToQuery Network.AWS.DataPipeline.PollForTask.PollForTask
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.PollForTask.PollForTaskResponse


-- | Lists the pipeline identifiers for all active pipelines that you have
--   permission to access.
--   
--   This operation returns paginated results.
module Network.AWS.DataPipeline.ListPipelines

-- | Creates a value of <a>ListPipelines</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lpMarker</a> - The starting point for the results to be
--   returned. For the first call, this value should be empty. As long as
--   there are more results, continue to call <tt>ListPipelines</tt> with
--   the marker value from the previous call to retrieve the next set of
--   results.</li>
--   </ul>
listPipelines :: ListPipelines

-- | Contains the parameters for ListPipelines.
--   
--   <i>See:</i> <a>listPipelines</a> smart constructor.
data ListPipelines

-- | The starting point for the results to be returned. For the first call,
--   this value should be empty. As long as there are more results,
--   continue to call <tt>ListPipelines</tt> with the marker value from the
--   previous call to retrieve the next set of results.
lpMarker :: Lens' ListPipelines (Maybe Text)

-- | Creates a value of <a>ListPipelinesResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lprsHasMoreResults</a> - Indicates whether there are more
--   results that can be obtained by a subsequent call.</li>
--   <li><a>lprsMarker</a> - The starting point for the next page of
--   results. To view the next page of results, call
--   <tt>ListPipelinesOutput</tt> again with this marker value. If the
--   value is null, there are no more results.</li>
--   <li><a>lprsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>lprsPipelineIdList</a> - The pipeline identifiers. If you
--   require additional information about the pipelines, you can use these
--   identifiers to call <tt>DescribePipelines</tt> and
--   <tt>GetPipelineDefinition</tt> .</li>
--   </ul>
listPipelinesResponse :: Int -> ListPipelinesResponse

-- | Contains the output of ListPipelines.
--   
--   <i>See:</i> <a>listPipelinesResponse</a> smart constructor.
data ListPipelinesResponse

-- | Indicates whether there are more results that can be obtained by a
--   subsequent call.
lprsHasMoreResults :: Lens' ListPipelinesResponse (Maybe Bool)

-- | The starting point for the next page of results. To view the next page
--   of results, call <tt>ListPipelinesOutput</tt> again with this marker
--   value. If the value is null, there are no more results.
lprsMarker :: Lens' ListPipelinesResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lprsResponseStatus :: Lens' ListPipelinesResponse Int

-- | The pipeline identifiers. If you require additional information about
--   the pipelines, you can use these identifiers to call
--   <tt>DescribePipelines</tt> and <tt>GetPipelineDefinition</tt> .
lprsPipelineIdList :: Lens' ListPipelinesResponse [PipelineIdName]
instance GHC.Generics.Generic Network.AWS.DataPipeline.ListPipelines.ListPipelinesResponse
instance Data.Data.Data Network.AWS.DataPipeline.ListPipelines.ListPipelinesResponse
instance GHC.Show.Show Network.AWS.DataPipeline.ListPipelines.ListPipelinesResponse
instance GHC.Read.Read Network.AWS.DataPipeline.ListPipelines.ListPipelinesResponse
instance GHC.Classes.Eq Network.AWS.DataPipeline.ListPipelines.ListPipelinesResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.ListPipelines.ListPipelines
instance Data.Data.Data Network.AWS.DataPipeline.ListPipelines.ListPipelines
instance GHC.Show.Show Network.AWS.DataPipeline.ListPipelines.ListPipelines
instance GHC.Read.Read Network.AWS.DataPipeline.ListPipelines.ListPipelines
instance GHC.Classes.Eq Network.AWS.DataPipeline.ListPipelines.ListPipelines
instance Network.AWS.Pager.AWSPager Network.AWS.DataPipeline.ListPipelines.ListPipelines
instance Network.AWS.Types.AWSRequest Network.AWS.DataPipeline.ListPipelines.ListPipelines
instance Data.Hashable.Class.Hashable Network.AWS.DataPipeline.ListPipelines.ListPipelines
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.ListPipelines.ListPipelines
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DataPipeline.ListPipelines.ListPipelines
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DataPipeline.ListPipelines.ListPipelines
instance Network.AWS.Data.Path.ToPath Network.AWS.DataPipeline.ListPipelines.ListPipelines
instance Network.AWS.Data.Query.ToQuery Network.AWS.DataPipeline.ListPipelines.ListPipelines
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.ListPipelines.ListPipelinesResponse


-- | Gets the definition of the specified pipeline. You can call
--   <tt>GetPipelineDefinition</tt> to retrieve the pipeline definition
--   that you provided using <tt>PutPipelineDefinition</tt> .
module Network.AWS.DataPipeline.GetPipelineDefinition

-- | Creates a value of <a>GetPipelineDefinition</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gpdVersion</a> - The version of the pipeline definition to
--   retrieve. Set this parameter to <tt>latest</tt> (default) to use the
--   last definition saved to the pipeline or <tt>active</tt> to use the
--   last definition that was activated.</li>
--   <li><a>gpdPipelineId</a> - The ID of the pipeline.</li>
--   </ul>
getPipelineDefinition :: Text -> GetPipelineDefinition

-- | Contains the parameters for GetPipelineDefinition.
--   
--   <i>See:</i> <a>getPipelineDefinition</a> smart constructor.
data GetPipelineDefinition

-- | The version of the pipeline definition to retrieve. Set this parameter
--   to <tt>latest</tt> (default) to use the last definition saved to the
--   pipeline or <tt>active</tt> to use the last definition that was
--   activated.
gpdVersion :: Lens' GetPipelineDefinition (Maybe Text)

-- | The ID of the pipeline.
gpdPipelineId :: Lens' GetPipelineDefinition Text

-- | Creates a value of <a>GetPipelineDefinitionResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gpdrsPipelineObjects</a> - The objects defined in the
--   pipeline.</li>
--   <li><a>gpdrsParameterObjects</a> - The parameter objects used in the
--   pipeline definition.</li>
--   <li><a>gpdrsParameterValues</a> - The parameter values used in the
--   pipeline definition.</li>
--   <li><a>gpdrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
getPipelineDefinitionResponse :: Int -> GetPipelineDefinitionResponse

-- | Contains the output of GetPipelineDefinition.
--   
--   <i>See:</i> <a>getPipelineDefinitionResponse</a> smart constructor.
data GetPipelineDefinitionResponse

-- | The objects defined in the pipeline.
gpdrsPipelineObjects :: Lens' GetPipelineDefinitionResponse [PipelineObject]

-- | The parameter objects used in the pipeline definition.
gpdrsParameterObjects :: Lens' GetPipelineDefinitionResponse [ParameterObject]

-- | The parameter values used in the pipeline definition.
gpdrsParameterValues :: Lens' GetPipelineDefinitionResponse [ParameterValue]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gpdrsResponseStatus :: Lens' GetPipelineDefinitionResponse Int
instance GHC.Generics.Generic Network.AWS.DataPipeline.GetPipelineDefinition.GetPipelineDefinitionResponse
instance Data.Data.Data Network.AWS.DataPipeline.GetPipelineDefinition.GetPipelineDefinitionResponse
instance GHC.Show.Show Network.AWS.DataPipeline.GetPipelineDefinition.GetPipelineDefinitionResponse
instance GHC.Read.Read Network.AWS.DataPipeline.GetPipelineDefinition.GetPipelineDefinitionResponse
instance GHC.Classes.Eq Network.AWS.DataPipeline.GetPipelineDefinition.GetPipelineDefinitionResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.GetPipelineDefinition.GetPipelineDefinition
instance Data.Data.Data Network.AWS.DataPipeline.GetPipelineDefinition.GetPipelineDefinition
instance GHC.Show.Show Network.AWS.DataPipeline.GetPipelineDefinition.GetPipelineDefinition
instance GHC.Read.Read Network.AWS.DataPipeline.GetPipelineDefinition.GetPipelineDefinition
instance GHC.Classes.Eq Network.AWS.DataPipeline.GetPipelineDefinition.GetPipelineDefinition
instance Network.AWS.Types.AWSRequest Network.AWS.DataPipeline.GetPipelineDefinition.GetPipelineDefinition
instance Data.Hashable.Class.Hashable Network.AWS.DataPipeline.GetPipelineDefinition.GetPipelineDefinition
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.GetPipelineDefinition.GetPipelineDefinition
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DataPipeline.GetPipelineDefinition.GetPipelineDefinition
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DataPipeline.GetPipelineDefinition.GetPipelineDefinition
instance Network.AWS.Data.Path.ToPath Network.AWS.DataPipeline.GetPipelineDefinition.GetPipelineDefinition
instance Network.AWS.Data.Query.ToQuery Network.AWS.DataPipeline.GetPipelineDefinition.GetPipelineDefinition
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.GetPipelineDefinition.GetPipelineDefinitionResponse


-- | Task runners call <tt>EvaluateExpression</tt> to evaluate a string in
--   the context of the specified object. For example, a task runner can
--   evaluate SQL queries stored in Amazon S3.
module Network.AWS.DataPipeline.EvaluateExpression

-- | Creates a value of <a>EvaluateExpression</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eePipelineId</a> - The ID of the pipeline.</li>
--   <li><a>eeObjectId</a> - The ID of the object.</li>
--   <li><a>eeExpression</a> - The expression to evaluate.</li>
--   </ul>
evaluateExpression :: Text -> Text -> Text -> EvaluateExpression

-- | Contains the parameters for EvaluateExpression.
--   
--   <i>See:</i> <a>evaluateExpression</a> smart constructor.
data EvaluateExpression

-- | The ID of the pipeline.
eePipelineId :: Lens' EvaluateExpression Text

-- | The ID of the object.
eeObjectId :: Lens' EvaluateExpression Text

-- | The expression to evaluate.
eeExpression :: Lens' EvaluateExpression Text

-- | Creates a value of <a>EvaluateExpressionResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eersResponseStatus</a> - -- | The response status code.</li>
--   <li><a>eersEvaluatedExpression</a> - The evaluated expression.</li>
--   </ul>
evaluateExpressionResponse :: Int -> Text -> EvaluateExpressionResponse

-- | Contains the output of EvaluateExpression.
--   
--   <i>See:</i> <a>evaluateExpressionResponse</a> smart constructor.
data EvaluateExpressionResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
eersResponseStatus :: Lens' EvaluateExpressionResponse Int

-- | The evaluated expression.
eersEvaluatedExpression :: Lens' EvaluateExpressionResponse Text
instance GHC.Generics.Generic Network.AWS.DataPipeline.EvaluateExpression.EvaluateExpressionResponse
instance Data.Data.Data Network.AWS.DataPipeline.EvaluateExpression.EvaluateExpressionResponse
instance GHC.Show.Show Network.AWS.DataPipeline.EvaluateExpression.EvaluateExpressionResponse
instance GHC.Read.Read Network.AWS.DataPipeline.EvaluateExpression.EvaluateExpressionResponse
instance GHC.Classes.Eq Network.AWS.DataPipeline.EvaluateExpression.EvaluateExpressionResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.EvaluateExpression.EvaluateExpression
instance Data.Data.Data Network.AWS.DataPipeline.EvaluateExpression.EvaluateExpression
instance GHC.Show.Show Network.AWS.DataPipeline.EvaluateExpression.EvaluateExpression
instance GHC.Read.Read Network.AWS.DataPipeline.EvaluateExpression.EvaluateExpression
instance GHC.Classes.Eq Network.AWS.DataPipeline.EvaluateExpression.EvaluateExpression
instance Network.AWS.Types.AWSRequest Network.AWS.DataPipeline.EvaluateExpression.EvaluateExpression
instance Data.Hashable.Class.Hashable Network.AWS.DataPipeline.EvaluateExpression.EvaluateExpression
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.EvaluateExpression.EvaluateExpression
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DataPipeline.EvaluateExpression.EvaluateExpression
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DataPipeline.EvaluateExpression.EvaluateExpression
instance Network.AWS.Data.Path.ToPath Network.AWS.DataPipeline.EvaluateExpression.EvaluateExpression
instance Network.AWS.Data.Query.ToQuery Network.AWS.DataPipeline.EvaluateExpression.EvaluateExpression
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.EvaluateExpression.EvaluateExpressionResponse


-- | Retrieves metadata about one or more pipelines. The information
--   retrieved includes the name of the pipeline, the pipeline identifier,
--   its current state, and the user account that owns the pipeline. Using
--   account credentials, you can retrieve metadata about pipelines that
--   you or your IAM users have created. If you are using an IAM user
--   account, you can retrieve metadata about only those pipelines for
--   which you have read permissions.
--   
--   To retrieve the full pipeline definition instead of metadata about the
--   pipeline, call <tt>GetPipelineDefinition</tt> .
module Network.AWS.DataPipeline.DescribePipelines

-- | Creates a value of <a>DescribePipelines</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dpPipelineIds</a> - The IDs of the pipelines to describe. You
--   can pass as many as 25 identifiers in a single call. To obtain
--   pipeline IDs, call <tt>ListPipelines</tt> .</li>
--   </ul>
describePipelines :: DescribePipelines

-- | Contains the parameters for DescribePipelines.
--   
--   <i>See:</i> <a>describePipelines</a> smart constructor.
data DescribePipelines

-- | The IDs of the pipelines to describe. You can pass as many as 25
--   identifiers in a single call. To obtain pipeline IDs, call
--   <tt>ListPipelines</tt> .
dpPipelineIds :: Lens' DescribePipelines [Text]

-- | Creates a value of <a>DescribePipelinesResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dprsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>dprsPipelineDescriptionList</a> - An array of descriptions for
--   the specified pipelines.</li>
--   </ul>
describePipelinesResponse :: Int -> DescribePipelinesResponse

-- | Contains the output of DescribePipelines.
--   
--   <i>See:</i> <a>describePipelinesResponse</a> smart constructor.
data DescribePipelinesResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dprsResponseStatus :: Lens' DescribePipelinesResponse Int

-- | An array of descriptions for the specified pipelines.
dprsPipelineDescriptionList :: Lens' DescribePipelinesResponse [PipelineDescription]
instance GHC.Generics.Generic Network.AWS.DataPipeline.DescribePipelines.DescribePipelinesResponse
instance Data.Data.Data Network.AWS.DataPipeline.DescribePipelines.DescribePipelinesResponse
instance GHC.Show.Show Network.AWS.DataPipeline.DescribePipelines.DescribePipelinesResponse
instance GHC.Read.Read Network.AWS.DataPipeline.DescribePipelines.DescribePipelinesResponse
instance GHC.Classes.Eq Network.AWS.DataPipeline.DescribePipelines.DescribePipelinesResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.DescribePipelines.DescribePipelines
instance Data.Data.Data Network.AWS.DataPipeline.DescribePipelines.DescribePipelines
instance GHC.Show.Show Network.AWS.DataPipeline.DescribePipelines.DescribePipelines
instance GHC.Read.Read Network.AWS.DataPipeline.DescribePipelines.DescribePipelines
instance GHC.Classes.Eq Network.AWS.DataPipeline.DescribePipelines.DescribePipelines
instance Network.AWS.Types.AWSRequest Network.AWS.DataPipeline.DescribePipelines.DescribePipelines
instance Data.Hashable.Class.Hashable Network.AWS.DataPipeline.DescribePipelines.DescribePipelines
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.DescribePipelines.DescribePipelines
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DataPipeline.DescribePipelines.DescribePipelines
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DataPipeline.DescribePipelines.DescribePipelines
instance Network.AWS.Data.Path.ToPath Network.AWS.DataPipeline.DescribePipelines.DescribePipelines
instance Network.AWS.Data.Query.ToQuery Network.AWS.DataPipeline.DescribePipelines.DescribePipelines
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.DescribePipelines.DescribePipelinesResponse


-- | Gets the object definitions for a set of objects associated with the
--   pipeline. Object definitions are composed of a set of fields that
--   define the properties of the object.
--   
--   This operation returns paginated results.
module Network.AWS.DataPipeline.DescribeObjects

-- | Creates a value of <a>DescribeObjects</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>doEvaluateExpressions</a> - Indicates whether any expressions
--   in the object should be evaluated when the object descriptions are
--   returned.</li>
--   <li><a>doMarker</a> - The starting point for the results to be
--   returned. For the first call, this value should be empty. As long as
--   there are more results, continue to call <tt>DescribeObjects</tt> with
--   the marker value from the previous call to retrieve the next set of
--   results.</li>
--   <li><a>doPipelineId</a> - The ID of the pipeline that contains the
--   object definitions.</li>
--   <li><a>doObjectIds</a> - The IDs of the pipeline objects that contain
--   the definitions to be described. You can pass as many as 25
--   identifiers in a single call to <tt>DescribeObjects</tt> .</li>
--   </ul>
describeObjects :: Text -> DescribeObjects

-- | Contains the parameters for DescribeObjects.
--   
--   <i>See:</i> <a>describeObjects</a> smart constructor.
data DescribeObjects

-- | Indicates whether any expressions in the object should be evaluated
--   when the object descriptions are returned.
doEvaluateExpressions :: Lens' DescribeObjects (Maybe Bool)

-- | The starting point for the results to be returned. For the first call,
--   this value should be empty. As long as there are more results,
--   continue to call <tt>DescribeObjects</tt> with the marker value from
--   the previous call to retrieve the next set of results.
doMarker :: Lens' DescribeObjects (Maybe Text)

-- | The ID of the pipeline that contains the object definitions.
doPipelineId :: Lens' DescribeObjects Text

-- | The IDs of the pipeline objects that contain the definitions to be
--   described. You can pass as many as 25 identifiers in a single call to
--   <tt>DescribeObjects</tt> .
doObjectIds :: Lens' DescribeObjects [Text]

-- | Creates a value of <a>DescribeObjectsResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dorsHasMoreResults</a> - Indicates whether there are more
--   results to return.</li>
--   <li><a>dorsMarker</a> - The starting point for the next page of
--   results. To view the next page of results, call
--   <tt>DescribeObjects</tt> again with this marker value. If the value is
--   null, there are no more results.</li>
--   <li><a>dorsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>dorsPipelineObjects</a> - An array of object definitions.</li>
--   </ul>
describeObjectsResponse :: Int -> DescribeObjectsResponse

-- | Contains the output of DescribeObjects.
--   
--   <i>See:</i> <a>describeObjectsResponse</a> smart constructor.
data DescribeObjectsResponse

-- | Indicates whether there are more results to return.
dorsHasMoreResults :: Lens' DescribeObjectsResponse (Maybe Bool)

-- | The starting point for the next page of results. To view the next page
--   of results, call <tt>DescribeObjects</tt> again with this marker
--   value. If the value is null, there are no more results.
dorsMarker :: Lens' DescribeObjectsResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dorsResponseStatus :: Lens' DescribeObjectsResponse Int

-- | An array of object definitions.
dorsPipelineObjects :: Lens' DescribeObjectsResponse [PipelineObject]
instance GHC.Generics.Generic Network.AWS.DataPipeline.DescribeObjects.DescribeObjectsResponse
instance Data.Data.Data Network.AWS.DataPipeline.DescribeObjects.DescribeObjectsResponse
instance GHC.Show.Show Network.AWS.DataPipeline.DescribeObjects.DescribeObjectsResponse
instance GHC.Read.Read Network.AWS.DataPipeline.DescribeObjects.DescribeObjectsResponse
instance GHC.Classes.Eq Network.AWS.DataPipeline.DescribeObjects.DescribeObjectsResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.DescribeObjects.DescribeObjects
instance Data.Data.Data Network.AWS.DataPipeline.DescribeObjects.DescribeObjects
instance GHC.Show.Show Network.AWS.DataPipeline.DescribeObjects.DescribeObjects
instance GHC.Read.Read Network.AWS.DataPipeline.DescribeObjects.DescribeObjects
instance GHC.Classes.Eq Network.AWS.DataPipeline.DescribeObjects.DescribeObjects
instance Network.AWS.Pager.AWSPager Network.AWS.DataPipeline.DescribeObjects.DescribeObjects
instance Network.AWS.Types.AWSRequest Network.AWS.DataPipeline.DescribeObjects.DescribeObjects
instance Data.Hashable.Class.Hashable Network.AWS.DataPipeline.DescribeObjects.DescribeObjects
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.DescribeObjects.DescribeObjects
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DataPipeline.DescribeObjects.DescribeObjects
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DataPipeline.DescribeObjects.DescribeObjects
instance Network.AWS.Data.Path.ToPath Network.AWS.DataPipeline.DescribeObjects.DescribeObjects
instance Network.AWS.Data.Query.ToQuery Network.AWS.DataPipeline.DescribeObjects.DescribeObjects
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.DescribeObjects.DescribeObjectsResponse


-- | Deletes a pipeline, its pipeline definition, and its run history. AWS
--   Data Pipeline attempts to cancel instances associated with the
--   pipeline that are currently being processed by task runners.
--   
--   Deleting a pipeline cannot be undone. You cannot query or restore a
--   deleted pipeline. To temporarily pause a pipeline instead of deleting
--   it, call <tt>SetStatus</tt> with the status set to <tt>PAUSE</tt> on
--   individual components. Components that are paused by
--   <tt>SetStatus</tt> can be resumed.
module Network.AWS.DataPipeline.DeletePipeline

-- | Creates a value of <a>DeletePipeline</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dpPipelineId</a> - The ID of the pipeline.</li>
--   </ul>
deletePipeline :: Text -> DeletePipeline

-- | Contains the parameters for DeletePipeline.
--   
--   <i>See:</i> <a>deletePipeline</a> smart constructor.
data DeletePipeline

-- | The ID of the pipeline.
dpPipelineId :: Lens' DeletePipeline Text

-- | Creates a value of <a>DeletePipelineResponse</a> with the minimum
--   fields required to make a request.
deletePipelineResponse :: DeletePipelineResponse

-- | <i>See:</i> <a>deletePipelineResponse</a> smart constructor.
data DeletePipelineResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.DeletePipeline.DeletePipelineResponse
instance Data.Data.Data Network.AWS.DataPipeline.DeletePipeline.DeletePipelineResponse
instance GHC.Show.Show Network.AWS.DataPipeline.DeletePipeline.DeletePipelineResponse
instance GHC.Read.Read Network.AWS.DataPipeline.DeletePipeline.DeletePipelineResponse
instance GHC.Classes.Eq Network.AWS.DataPipeline.DeletePipeline.DeletePipelineResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.DeletePipeline.DeletePipeline
instance Data.Data.Data Network.AWS.DataPipeline.DeletePipeline.DeletePipeline
instance GHC.Show.Show Network.AWS.DataPipeline.DeletePipeline.DeletePipeline
instance GHC.Read.Read Network.AWS.DataPipeline.DeletePipeline.DeletePipeline
instance GHC.Classes.Eq Network.AWS.DataPipeline.DeletePipeline.DeletePipeline
instance Network.AWS.Types.AWSRequest Network.AWS.DataPipeline.DeletePipeline.DeletePipeline
instance Data.Hashable.Class.Hashable Network.AWS.DataPipeline.DeletePipeline.DeletePipeline
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.DeletePipeline.DeletePipeline
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DataPipeline.DeletePipeline.DeletePipeline
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DataPipeline.DeletePipeline.DeletePipeline
instance Network.AWS.Data.Path.ToPath Network.AWS.DataPipeline.DeletePipeline.DeletePipeline
instance Network.AWS.Data.Query.ToQuery Network.AWS.DataPipeline.DeletePipeline.DeletePipeline
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.DeletePipeline.DeletePipelineResponse


-- | Deactivates the specified running pipeline. The pipeline is set to the
--   <tt>DEACTIVATING</tt> state until the deactivation process completes.
--   
--   To resume a deactivated pipeline, use <tt>ActivatePipeline</tt> . By
--   default, the pipeline resumes from the last completed execution.
--   Optionally, you can specify the date and time to resume the pipeline.
module Network.AWS.DataPipeline.DeactivatePipeline

-- | Creates a value of <a>DeactivatePipeline</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dCancelActive</a> - Indicates whether to cancel any running
--   objects. The default is true, which sets the state of any running
--   objects to <tt>CANCELED</tt> . If this value is false, the pipeline is
--   deactivated after all running objects finish.</li>
--   <li><a>dPipelineId</a> - The ID of the pipeline.</li>
--   </ul>
deactivatePipeline :: Text -> DeactivatePipeline

-- | Contains the parameters for DeactivatePipeline.
--   
--   <i>See:</i> <a>deactivatePipeline</a> smart constructor.
data DeactivatePipeline

-- | Indicates whether to cancel any running objects. The default is true,
--   which sets the state of any running objects to <tt>CANCELED</tt> . If
--   this value is false, the pipeline is deactivated after all running
--   objects finish.
dCancelActive :: Lens' DeactivatePipeline (Maybe Bool)

-- | The ID of the pipeline.
dPipelineId :: Lens' DeactivatePipeline Text

-- | Creates a value of <a>DeactivatePipelineResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deactivatePipelineResponse :: Int -> DeactivatePipelineResponse

-- | Contains the output of DeactivatePipeline.
--   
--   <i>See:</i> <a>deactivatePipelineResponse</a> smart constructor.
data DeactivatePipelineResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
drsResponseStatus :: Lens' DeactivatePipelineResponse Int
instance GHC.Generics.Generic Network.AWS.DataPipeline.DeactivatePipeline.DeactivatePipelineResponse
instance Data.Data.Data Network.AWS.DataPipeline.DeactivatePipeline.DeactivatePipelineResponse
instance GHC.Show.Show Network.AWS.DataPipeline.DeactivatePipeline.DeactivatePipelineResponse
instance GHC.Read.Read Network.AWS.DataPipeline.DeactivatePipeline.DeactivatePipelineResponse
instance GHC.Classes.Eq Network.AWS.DataPipeline.DeactivatePipeline.DeactivatePipelineResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.DeactivatePipeline.DeactivatePipeline
instance Data.Data.Data Network.AWS.DataPipeline.DeactivatePipeline.DeactivatePipeline
instance GHC.Show.Show Network.AWS.DataPipeline.DeactivatePipeline.DeactivatePipeline
instance GHC.Read.Read Network.AWS.DataPipeline.DeactivatePipeline.DeactivatePipeline
instance GHC.Classes.Eq Network.AWS.DataPipeline.DeactivatePipeline.DeactivatePipeline
instance Network.AWS.Types.AWSRequest Network.AWS.DataPipeline.DeactivatePipeline.DeactivatePipeline
instance Data.Hashable.Class.Hashable Network.AWS.DataPipeline.DeactivatePipeline.DeactivatePipeline
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.DeactivatePipeline.DeactivatePipeline
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DataPipeline.DeactivatePipeline.DeactivatePipeline
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DataPipeline.DeactivatePipeline.DeactivatePipeline
instance Network.AWS.Data.Path.ToPath Network.AWS.DataPipeline.DeactivatePipeline.DeactivatePipeline
instance Network.AWS.Data.Query.ToQuery Network.AWS.DataPipeline.DeactivatePipeline.DeactivatePipeline
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.DeactivatePipeline.DeactivatePipelineResponse


-- | Creates a new, empty pipeline. Use <tt>PutPipelineDefinition</tt> to
--   populate the pipeline.
module Network.AWS.DataPipeline.CreatePipeline

-- | Creates a value of <a>CreatePipeline</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cpDescription</a> - The description for the pipeline.</li>
--   <li><a>cpTags</a> - A list of tags to associate with the pipeline at
--   creation. Tags let you control access to pipelines. For more
--   information, see <a>Controlling User Access to Pipelines</a> in the
--   <i>AWS Data Pipeline Developer Guide</i> .</li>
--   <li><a>cpName</a> - The name for the pipeline. You can use the same
--   name for multiple pipelines associated with your AWS account, because
--   AWS Data Pipeline assigns each pipeline a unique pipeline
--   identifier.</li>
--   <li><a>cpUniqueId</a> - A unique identifier. This identifier is not
--   the same as the pipeline identifier assigned by AWS Data Pipeline. You
--   are responsible for defining the format and ensuring the uniqueness of
--   this identifier. You use this parameter to ensure idempotency during
--   repeated calls to <tt>CreatePipeline</tt> . For example, if the first
--   call to <tt>CreatePipeline</tt> does not succeed, you can pass in the
--   same unique identifier and pipeline name combination on a subsequent
--   call to <tt>CreatePipeline</tt> . <tt>CreatePipeline</tt> ensures that
--   if a pipeline already exists with the same name and unique identifier,
--   a new pipeline is not created. Instead, you'll receive the pipeline
--   identifier from the previous attempt. The uniqueness of the name and
--   unique identifier combination is scoped to the AWS account or IAM user
--   credentials.</li>
--   </ul>
createPipeline :: Text -> Text -> CreatePipeline

-- | Contains the parameters for CreatePipeline.
--   
--   <i>See:</i> <a>createPipeline</a> smart constructor.
data CreatePipeline

-- | The description for the pipeline.
cpDescription :: Lens' CreatePipeline (Maybe Text)

-- | A list of tags to associate with the pipeline at creation. Tags let
--   you control access to pipelines. For more information, see
--   <a>Controlling User Access to Pipelines</a> in the <i>AWS Data
--   Pipeline Developer Guide</i> .
cpTags :: Lens' CreatePipeline [Tag]

-- | The name for the pipeline. You can use the same name for multiple
--   pipelines associated with your AWS account, because AWS Data Pipeline
--   assigns each pipeline a unique pipeline identifier.
cpName :: Lens' CreatePipeline Text

-- | A unique identifier. This identifier is not the same as the pipeline
--   identifier assigned by AWS Data Pipeline. You are responsible for
--   defining the format and ensuring the uniqueness of this identifier.
--   You use this parameter to ensure idempotency during repeated calls to
--   <tt>CreatePipeline</tt> . For example, if the first call to
--   <tt>CreatePipeline</tt> does not succeed, you can pass in the same
--   unique identifier and pipeline name combination on a subsequent call
--   to <tt>CreatePipeline</tt> . <tt>CreatePipeline</tt> ensures that if a
--   pipeline already exists with the same name and unique identifier, a
--   new pipeline is not created. Instead, you'll receive the pipeline
--   identifier from the previous attempt. The uniqueness of the name and
--   unique identifier combination is scoped to the AWS account or IAM user
--   credentials.
cpUniqueId :: Lens' CreatePipeline Text

-- | Creates a value of <a>CreatePipelineResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cprsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>cprsPipelineId</a> - The ID that AWS Data Pipeline assigns the
--   newly created pipeline. For example, <tt>df-06372391ZG65EXAMPLE</tt>
--   .</li>
--   </ul>
createPipelineResponse :: Int -> Text -> CreatePipelineResponse

-- | Contains the output of CreatePipeline.
--   
--   <i>See:</i> <a>createPipelineResponse</a> smart constructor.
data CreatePipelineResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
cprsResponseStatus :: Lens' CreatePipelineResponse Int

-- | The ID that AWS Data Pipeline assigns the newly created pipeline. For
--   example, <tt>df-06372391ZG65EXAMPLE</tt> .
cprsPipelineId :: Lens' CreatePipelineResponse Text
instance GHC.Generics.Generic Network.AWS.DataPipeline.CreatePipeline.CreatePipelineResponse
instance Data.Data.Data Network.AWS.DataPipeline.CreatePipeline.CreatePipelineResponse
instance GHC.Show.Show Network.AWS.DataPipeline.CreatePipeline.CreatePipelineResponse
instance GHC.Read.Read Network.AWS.DataPipeline.CreatePipeline.CreatePipelineResponse
instance GHC.Classes.Eq Network.AWS.DataPipeline.CreatePipeline.CreatePipelineResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.CreatePipeline.CreatePipeline
instance Data.Data.Data Network.AWS.DataPipeline.CreatePipeline.CreatePipeline
instance GHC.Show.Show Network.AWS.DataPipeline.CreatePipeline.CreatePipeline
instance GHC.Read.Read Network.AWS.DataPipeline.CreatePipeline.CreatePipeline
instance GHC.Classes.Eq Network.AWS.DataPipeline.CreatePipeline.CreatePipeline
instance Network.AWS.Types.AWSRequest Network.AWS.DataPipeline.CreatePipeline.CreatePipeline
instance Data.Hashable.Class.Hashable Network.AWS.DataPipeline.CreatePipeline.CreatePipeline
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.CreatePipeline.CreatePipeline
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DataPipeline.CreatePipeline.CreatePipeline
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DataPipeline.CreatePipeline.CreatePipeline
instance Network.AWS.Data.Path.ToPath Network.AWS.DataPipeline.CreatePipeline.CreatePipeline
instance Network.AWS.Data.Query.ToQuery Network.AWS.DataPipeline.CreatePipeline.CreatePipeline
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.CreatePipeline.CreatePipelineResponse


-- | Adds or modifies tags for the specified pipeline.
module Network.AWS.DataPipeline.AddTags

-- | Creates a value of <a>AddTags</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>atPipelineId</a> - The ID of the pipeline.</li>
--   <li><a>atTags</a> - The tags to add, as key/value pairs.</li>
--   </ul>
addTags :: Text -> AddTags

-- | Contains the parameters for AddTags.
--   
--   <i>See:</i> <a>addTags</a> smart constructor.
data AddTags

-- | The ID of the pipeline.
atPipelineId :: Lens' AddTags Text

-- | The tags to add, as key/value pairs.
atTags :: Lens' AddTags [Tag]

-- | Creates a value of <a>AddTagsResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>atrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
addTagsResponse :: Int -> AddTagsResponse

-- | Contains the output of AddTags.
--   
--   <i>See:</i> <a>addTagsResponse</a> smart constructor.
data AddTagsResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
atrsResponseStatus :: Lens' AddTagsResponse Int
instance GHC.Generics.Generic Network.AWS.DataPipeline.AddTags.AddTagsResponse
instance Data.Data.Data Network.AWS.DataPipeline.AddTags.AddTagsResponse
instance GHC.Show.Show Network.AWS.DataPipeline.AddTags.AddTagsResponse
instance GHC.Read.Read Network.AWS.DataPipeline.AddTags.AddTagsResponse
instance GHC.Classes.Eq Network.AWS.DataPipeline.AddTags.AddTagsResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.AddTags.AddTags
instance Data.Data.Data Network.AWS.DataPipeline.AddTags.AddTags
instance GHC.Show.Show Network.AWS.DataPipeline.AddTags.AddTags
instance GHC.Read.Read Network.AWS.DataPipeline.AddTags.AddTags
instance GHC.Classes.Eq Network.AWS.DataPipeline.AddTags.AddTags
instance Network.AWS.Types.AWSRequest Network.AWS.DataPipeline.AddTags.AddTags
instance Data.Hashable.Class.Hashable Network.AWS.DataPipeline.AddTags.AddTags
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.AddTags.AddTags
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DataPipeline.AddTags.AddTags
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DataPipeline.AddTags.AddTags
instance Network.AWS.Data.Path.ToPath Network.AWS.DataPipeline.AddTags.AddTags
instance Network.AWS.Data.Query.ToQuery Network.AWS.DataPipeline.AddTags.AddTags
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.AddTags.AddTagsResponse


-- | Validates the specified pipeline and starts processing pipeline tasks.
--   If the pipeline does not pass validation, activation fails.
--   
--   If you need to pause the pipeline to investigate an issue with a
--   component, such as a data source or script, call
--   <tt>DeactivatePipeline</tt> .
--   
--   To activate a finished pipeline, modify the end date for the pipeline
--   and then activate it.
module Network.AWS.DataPipeline.ActivatePipeline

-- | Creates a value of <a>ActivatePipeline</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>apStartTimestamp</a> - The date and time to resume the
--   pipeline. By default, the pipeline resumes from the last completed
--   execution.</li>
--   <li><a>apParameterValues</a> - A list of parameter values to pass to
--   the pipeline at activation.</li>
--   <li><a>apPipelineId</a> - The ID of the pipeline.</li>
--   </ul>
activatePipeline :: Text -> ActivatePipeline

-- | Contains the parameters for ActivatePipeline.
--   
--   <i>See:</i> <a>activatePipeline</a> smart constructor.
data ActivatePipeline

-- | The date and time to resume the pipeline. By default, the pipeline
--   resumes from the last completed execution.
apStartTimestamp :: Lens' ActivatePipeline (Maybe UTCTime)

-- | A list of parameter values to pass to the pipeline at activation.
apParameterValues :: Lens' ActivatePipeline [ParameterValue]

-- | The ID of the pipeline.
apPipelineId :: Lens' ActivatePipeline Text

-- | Creates a value of <a>ActivatePipelineResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aprsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
activatePipelineResponse :: Int -> ActivatePipelineResponse

-- | Contains the output of ActivatePipeline.
--   
--   <i>See:</i> <a>activatePipelineResponse</a> smart constructor.
data ActivatePipelineResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
aprsResponseStatus :: Lens' ActivatePipelineResponse Int
instance GHC.Generics.Generic Network.AWS.DataPipeline.ActivatePipeline.ActivatePipelineResponse
instance Data.Data.Data Network.AWS.DataPipeline.ActivatePipeline.ActivatePipelineResponse
instance GHC.Show.Show Network.AWS.DataPipeline.ActivatePipeline.ActivatePipelineResponse
instance GHC.Read.Read Network.AWS.DataPipeline.ActivatePipeline.ActivatePipelineResponse
instance GHC.Classes.Eq Network.AWS.DataPipeline.ActivatePipeline.ActivatePipelineResponse
instance GHC.Generics.Generic Network.AWS.DataPipeline.ActivatePipeline.ActivatePipeline
instance Data.Data.Data Network.AWS.DataPipeline.ActivatePipeline.ActivatePipeline
instance GHC.Show.Show Network.AWS.DataPipeline.ActivatePipeline.ActivatePipeline
instance GHC.Read.Read Network.AWS.DataPipeline.ActivatePipeline.ActivatePipeline
instance GHC.Classes.Eq Network.AWS.DataPipeline.ActivatePipeline.ActivatePipeline
instance Network.AWS.Types.AWSRequest Network.AWS.DataPipeline.ActivatePipeline.ActivatePipeline
instance Data.Hashable.Class.Hashable Network.AWS.DataPipeline.ActivatePipeline.ActivatePipeline
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.ActivatePipeline.ActivatePipeline
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.DataPipeline.ActivatePipeline.ActivatePipeline
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.DataPipeline.ActivatePipeline.ActivatePipeline
instance Network.AWS.Data.Path.ToPath Network.AWS.DataPipeline.ActivatePipeline.ActivatePipeline
instance Network.AWS.Data.Query.ToQuery Network.AWS.DataPipeline.ActivatePipeline.ActivatePipeline
instance Control.DeepSeq.NFData Network.AWS.DataPipeline.ActivatePipeline.ActivatePipelineResponse


-- | AWS Data Pipeline configures and manages a data-driven workflow called
--   a pipeline. AWS Data Pipeline handles the details of scheduling and
--   ensuring that data dependencies are met so that your application can
--   focus on processing the data.
--   
--   AWS Data Pipeline provides a JAR implementation of a task runner
--   called AWS Data Pipeline Task Runner. AWS Data Pipeline Task Runner
--   provides logic for common data management scenarios, such as
--   performing database queries and running data analysis using Amazon
--   Elastic MapReduce (Amazon EMR). You can use AWS Data Pipeline Task
--   Runner as your task runner, or you can write your own task runner to
--   provide custom data management.
--   
--   AWS Data Pipeline implements two main sets of functionality. Use the
--   first set to create a pipeline and define data sources, schedules,
--   dependencies, and the transforms to be performed on the data. Use the
--   second set in your task runner application to receive the next task
--   ready for processing. The logic for performing the task, such as
--   querying the data, running data analysis, or converting the data from
--   one format to another, is contained within the task runner. The task
--   runner performs the task assigned to it by the web service, reporting
--   progress to the web service as it does so. When the task is done, the
--   task runner reports the final success or failure of the task to the
--   web service.
module Network.AWS.DataPipeline

-- | API version <tt>2012-10-29</tt> of the Amazon Data Pipeline SDK
--   configuration.
dataPipeline :: Service

-- | The request was not valid. Verify that your request was properly
--   formatted, that the signature was generated with the correct
--   credentials, and that you haven't exceeded any of the service limits
--   for your account.
_InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError

-- | An internal service error occurred.
_InternalServiceError :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified pipeline has been deleted.
_PipelineDeletedException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified pipeline was not found. Verify that you used the correct
--   user and account identifiers.
_PipelineNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified task was not found.
_TaskNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
data OperatorType
OperatorBetween :: OperatorType
OperatorEQ' :: OperatorType
OperatorGE :: OperatorType
OperatorLE :: OperatorType
OperatorRefEQ :: OperatorType
data TaskStatus
Failed :: TaskStatus
False' :: TaskStatus
Finished :: TaskStatus

-- | A key-value pair that describes a property of a pipeline object. The
--   value is specified as either a string value (<tt>StringValue</tt> ) or
--   a reference to another object (<tt>RefValue</tt> ) but not as both.
--   
--   <i>See:</i> <a>field</a> smart constructor.
data Field

-- | Creates a value of <a>Field</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>fRefValue</a> - The field value, expressed as the identifier of
--   another object.</li>
--   <li><a>fStringValue</a> - The field value, expressed as a String.</li>
--   <li><a>fKey</a> - The field identifier.</li>
--   </ul>
field :: Text -> Field

-- | The field value, expressed as the identifier of another object.
fRefValue :: Lens' Field (Maybe Text)

-- | The field value, expressed as a String.
fStringValue :: Lens' Field (Maybe Text)

-- | The field identifier.
fKey :: Lens' Field Text

-- | Identity information for the EC2 instance that is hosting the task
--   runner. You can get this value by calling a metadata URI from the EC2
--   instance. For more information, see <a>Instance Metadata</a> in the
--   <i>Amazon Elastic Compute Cloud User Guide.</i> Passing in this value
--   proves that your task runner is running on an EC2 instance, and
--   ensures the proper AWS Data Pipeline service charges are applied to
--   your pipeline.
--   
--   <i>See:</i> <a>instanceIdentity</a> smart constructor.
data InstanceIdentity

-- | Creates a value of <a>InstanceIdentity</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>iiSignature</a> - A signature which can be used to verify the
--   accuracy and authenticity of the information provided in the instance
--   identity document.</li>
--   <li><a>iiDocument</a> - A description of an EC2 instance that is
--   generated when the instance is launched and exposed to the instance
--   via the instance metadata service in the form of a JSON representation
--   of an object.</li>
--   </ul>
instanceIdentity :: InstanceIdentity

-- | A signature which can be used to verify the accuracy and authenticity
--   of the information provided in the instance identity document.
iiSignature :: Lens' InstanceIdentity (Maybe Text)

-- | A description of an EC2 instance that is generated when the instance
--   is launched and exposed to the instance via the instance metadata
--   service in the form of a JSON representation of an object.
iiDocument :: Lens' InstanceIdentity (Maybe Text)

-- | Contains a logical operation for comparing the value of a field with a
--   specified value.
--   
--   <i>See:</i> <a>operator</a> smart constructor.
data Operator

-- | Creates a value of <a>Operator</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>oValues</a> - The value that the actual field value will be
--   compared with.</li>
--   <li><a>oType</a> - The logical operation to be performed: equal
--   (<tt>EQ</tt> ), equal reference (<tt>REF_EQ</tt> ), less than or equal
--   (<tt>LE</tt> ), greater than or equal (<tt>GE</tt> ), or between
--   (<tt>BETWEEN</tt> ). Equal reference (<tt>REF_EQ</tt> ) can be used
--   only with reference fields. The other comparison types can be used
--   only with String fields. The comparison types you can use apply only
--   to certain object fields, as detailed below. The comparison operators
--   EQ and REF_EQ act on the following fields: * name * <tt>sphere *
--   parent * </tt>componentParent * <tt>instanceParent * </tt>status *
--   <tt>scheduledStartTime * </tt>scheduledEndTime * <tt>actualStartTime *
--   </tt>actualEndTime The comparison operators <tt>GE</tt> , <tt>LE</tt>
--   , and <tt>BETWEEN</tt> act on the following fields: *
--   <tt>scheduledStartTime * </tt>scheduledEndTime * <tt>actualStartTime *
--   </tt>actualEndTime Note that fields beginning with the at sign (@) are
--   read-only and set by the web service. When you name fields, you should
--   choose names containing only alpha-numeric values, as symbols may be
--   reserved by AWS Data Pipeline. User-defined fields that you add to a
--   pipeline should prefix their name with the string "my".</li>
--   </ul>
operator :: Operator

-- | The value that the actual field value will be compared with.
oValues :: Lens' Operator [Text]

-- | The logical operation to be performed: equal (<tt>EQ</tt> ), equal
--   reference (<tt>REF_EQ</tt> ), less than or equal (<tt>LE</tt> ),
--   greater than or equal (<tt>GE</tt> ), or between (<tt>BETWEEN</tt> ).
--   Equal reference (<tt>REF_EQ</tt> ) can be used only with reference
--   fields. The other comparison types can be used only with String
--   fields. The comparison types you can use apply only to certain object
--   fields, as detailed below. The comparison operators EQ and REF_EQ act
--   on the following fields: * name * <tt>sphere * parent *
--   </tt>componentParent * <tt>instanceParent * </tt>status *
--   <tt>scheduledStartTime * </tt>scheduledEndTime * <tt>actualStartTime *
--   </tt>actualEndTime The comparison operators <tt>GE</tt> , <tt>LE</tt>
--   , and <tt>BETWEEN</tt> act on the following fields: *
--   <tt>scheduledStartTime * </tt>scheduledEndTime * <tt>actualStartTime *
--   </tt>actualEndTime Note that fields beginning with the at sign (@) are
--   read-only and set by the web service. When you name fields, you should
--   choose names containing only alpha-numeric values, as symbols may be
--   reserved by AWS Data Pipeline. User-defined fields that you add to a
--   pipeline should prefix their name with the string "my".
oType :: Lens' Operator (Maybe OperatorType)

-- | The attributes allowed or specified with a parameter object.
--   
--   <i>See:</i> <a>parameterAttribute</a> smart constructor.
data ParameterAttribute

-- | Creates a value of <a>ParameterAttribute</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>paKey</a> - The field identifier.</li>
--   <li><a>paStringValue</a> - The field value, expressed as a
--   String.</li>
--   </ul>
parameterAttribute :: Text -> Text -> ParameterAttribute

-- | The field identifier.
paKey :: Lens' ParameterAttribute Text

-- | The field value, expressed as a String.
paStringValue :: Lens' ParameterAttribute Text

-- | Contains information about a parameter object.
--   
--   <i>See:</i> <a>parameterObject</a> smart constructor.
data ParameterObject

-- | Creates a value of <a>ParameterObject</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>poId</a> - The ID of the parameter object.</li>
--   <li><a>poAttributes</a> - The attributes of the parameter object.</li>
--   </ul>
parameterObject :: Text -> ParameterObject

-- | The ID of the parameter object.
poId :: Lens' ParameterObject Text

-- | The attributes of the parameter object.
poAttributes :: Lens' ParameterObject [ParameterAttribute]

-- | A value or list of parameter values.
--   
--   <i>See:</i> <a>parameterValue</a> smart constructor.
data ParameterValue

-- | Creates a value of <a>ParameterValue</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pvId</a> - The ID of the parameter value.</li>
--   <li><a>pvStringValue</a> - The field value, expressed as a
--   String.</li>
--   </ul>
parameterValue :: Text -> Text -> ParameterValue

-- | The ID of the parameter value.
pvId :: Lens' ParameterValue Text

-- | The field value, expressed as a String.
pvStringValue :: Lens' ParameterValue Text

-- | Contains pipeline metadata.
--   
--   <i>See:</i> <a>pipelineDescription</a> smart constructor.
data PipelineDescription

-- | Creates a value of <a>PipelineDescription</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pdDescription</a> - Description of the pipeline.</li>
--   <li><a>pdTags</a> - A list of tags to associated with a pipeline. Tags
--   let you control access to pipelines. For more information, see
--   <a>Controlling User Access to Pipelines</a> in the <i>AWS Data
--   Pipeline Developer Guide</i> .</li>
--   <li><a>pdPipelineId</a> - The pipeline identifier that was assigned by
--   AWS Data Pipeline. This is a string of the form
--   <tt>df-297EG78HU43EEXAMPLE</tt> .</li>
--   <li><a>pdName</a> - The name of the pipeline.</li>
--   <li><a>pdFields</a> - A list of read-only fields that contain metadata
--   about the pipeline: <tt>userId, </tt>accountId, and
--   @pipelineState.</li>
--   </ul>
pipelineDescription :: Text -> Text -> PipelineDescription

-- | Description of the pipeline.
pdDescription :: Lens' PipelineDescription (Maybe Text)

-- | A list of tags to associated with a pipeline. Tags let you control
--   access to pipelines. For more information, see <a>Controlling User
--   Access to Pipelines</a> in the <i>AWS Data Pipeline Developer
--   Guide</i> .
pdTags :: Lens' PipelineDescription [Tag]

-- | The pipeline identifier that was assigned by AWS Data Pipeline. This
--   is a string of the form <tt>df-297EG78HU43EEXAMPLE</tt> .
pdPipelineId :: Lens' PipelineDescription Text

-- | The name of the pipeline.
pdName :: Lens' PipelineDescription Text

-- | A list of read-only fields that contain metadata about the pipeline:
--   <tt>userId, </tt>accountId, and @pipelineState.
pdFields :: Lens' PipelineDescription [Field]

-- | Contains the name and identifier of a pipeline.
--   
--   <i>See:</i> <a>pipelineIdName</a> smart constructor.
data PipelineIdName

-- | Creates a value of <a>PipelineIdName</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pinName</a> - The name of the pipeline.</li>
--   <li><a>pinId</a> - The ID of the pipeline that was assigned by AWS
--   Data Pipeline. This is a string of the form
--   <tt>df-297EG78HU43EEXAMPLE</tt> .</li>
--   </ul>
pipelineIdName :: PipelineIdName

-- | The name of the pipeline.
pinName :: Lens' PipelineIdName (Maybe Text)

-- | The ID of the pipeline that was assigned by AWS Data Pipeline. This is
--   a string of the form <tt>df-297EG78HU43EEXAMPLE</tt> .
pinId :: Lens' PipelineIdName (Maybe Text)

-- | Contains information about a pipeline object. This can be a logical,
--   physical, or physical attempt pipeline object. The complete set of
--   components of a pipeline defines the pipeline.
--   
--   <i>See:</i> <a>pipelineObject</a> smart constructor.
data PipelineObject

-- | Creates a value of <a>PipelineObject</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pId</a> - The ID of the object.</li>
--   <li><a>pName</a> - The name of the object.</li>
--   <li><a>pFields</a> - Key-value pairs that define the properties of the
--   object.</li>
--   </ul>
pipelineObject :: Text -> Text -> PipelineObject

-- | The ID of the object.
pId :: Lens' PipelineObject Text

-- | The name of the object.
pName :: Lens' PipelineObject Text

-- | Key-value pairs that define the properties of the object.
pFields :: Lens' PipelineObject [Field]

-- | Defines the query to run against an object.
--   
--   <i>See:</i> <a>query</a> smart constructor.
data Query

-- | Creates a value of <a>Query</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>qSelectors</a> - List of selectors that define the query. An
--   object must satisfy all of the selectors to match the query.</li>
--   </ul>
query :: Query

-- | List of selectors that define the query. An object must satisfy all of
--   the selectors to match the query.
qSelectors :: Lens' Query [Selector]

-- | A comparision that is used to determine whether a query should return
--   this object.
--   
--   <i>See:</i> <a>selector</a> smart constructor.
data Selector

-- | Creates a value of <a>Selector</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sOperator</a> - Undocumented member.</li>
--   <li><a>sFieldName</a> - The name of the field that the operator will
--   be applied to. The field name is the "key" portion of the field
--   definition in the pipeline definition syntax that is used by the AWS
--   Data Pipeline API. If the field is not set on the object, the
--   condition fails.</li>
--   </ul>
selector :: Selector

-- | Undocumented member.
sOperator :: Lens' Selector (Maybe Operator)

-- | The name of the field that the operator will be applied to. The field
--   name is the "key" portion of the field definition in the pipeline
--   definition syntax that is used by the AWS Data Pipeline API. If the
--   field is not set on the object, the condition fails.
sFieldName :: Lens' Selector (Maybe Text)

-- | Tags are key<i>value pairs defined by a user and associated with a
--   pipeline to control access. AWS Data Pipeline allows you to associate
--   ten tags per pipeline. For more information, see
--   &lt;http:</i><i>docs.aws.amazon.com</i>datapipeline<i>latest</i>DeveloperGuide<i>dp-control-access.html
--   Controlling User Access to Pipelines&gt; in the </i>AWS Data Pipeline
--   Developer Guide/ .
--   
--   <i>See:</i> <a>tag</a> smart constructor.
data Tag

-- | Creates a value of <a>Tag</a> with the minimum fields required to make
--   a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tagKey</a> - The key name of a tag defined by a user. For more
--   information, see <a>Controlling User Access to Pipelines</a> in the
--   <i>AWS Data Pipeline Developer Guide</i> .</li>
--   <li><a>tagValue</a> - The optional value portion of a tag defined by a
--   user. For more information, see <a>Controlling User Access to
--   Pipelines</a> in the <i>AWS Data Pipeline Developer Guide</i> .</li>
--   </ul>
tag :: Text -> Text -> Tag

-- | The key name of a tag defined by a user. For more information, see
--   <a>Controlling User Access to Pipelines</a> in the <i>AWS Data
--   Pipeline Developer Guide</i> .
tagKey :: Lens' Tag Text

-- | The optional value portion of a tag defined by a user. For more
--   information, see <a>Controlling User Access to Pipelines</a> in the
--   <i>AWS Data Pipeline Developer Guide</i> .
tagValue :: Lens' Tag Text

-- | Contains information about a pipeline task that is assigned to a task
--   runner.
--   
--   <i>See:</i> <a>taskObject</a> smart constructor.
data TaskObject

-- | Creates a value of <a>TaskObject</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>toPipelineId</a> - The ID of the pipeline that provided the
--   task.</li>
--   <li><a>toAttemptId</a> - The ID of the pipeline task attempt object.
--   AWS Data Pipeline uses this value to track how many times a task is
--   attempted.</li>
--   <li><a>toTaskId</a> - An internal identifier for the task. This ID is
--   passed to the <tt>SetTaskStatus</tt> and <tt>ReportTaskProgress</tt>
--   actions.</li>
--   <li><a>toObjects</a> - Connection information for the location where
--   the task runner will publish the output of the task.</li>
--   </ul>
taskObject :: TaskObject

-- | The ID of the pipeline that provided the task.
toPipelineId :: Lens' TaskObject (Maybe Text)

-- | The ID of the pipeline task attempt object. AWS Data Pipeline uses
--   this value to track how many times a task is attempted.
toAttemptId :: Lens' TaskObject (Maybe Text)

-- | An internal identifier for the task. This ID is passed to the
--   <tt>SetTaskStatus</tt> and <tt>ReportTaskProgress</tt> actions.
toTaskId :: Lens' TaskObject (Maybe Text)

-- | Connection information for the location where the task runner will
--   publish the output of the task.
toObjects :: Lens' TaskObject (HashMap Text PipelineObject)

-- | Defines a validation error. Validation errors prevent pipeline
--   activation. The set of validation errors that can be returned are
--   defined by AWS Data Pipeline.
--   
--   <i>See:</i> <a>validationError</a> smart constructor.
data ValidationError

-- | Creates a value of <a>ValidationError</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>veId</a> - The identifier of the object that contains the
--   validation error.</li>
--   <li><a>veErrors</a> - A description of the validation error.</li>
--   </ul>
validationError :: ValidationError

-- | The identifier of the object that contains the validation error.
veId :: Lens' ValidationError (Maybe Text)

-- | A description of the validation error.
veErrors :: Lens' ValidationError [Text]

-- | Defines a validation warning. Validation warnings do not prevent
--   pipeline activation. The set of validation warnings that can be
--   returned are defined by AWS Data Pipeline.
--   
--   <i>See:</i> <a>validationWarning</a> smart constructor.
data ValidationWarning

-- | Creates a value of <a>ValidationWarning</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>vwWarnings</a> - A description of the validation warning.</li>
--   <li><a>vwId</a> - The identifier of the object that contains the
--   validation warning.</li>
--   </ul>
validationWarning :: ValidationWarning

-- | A description of the validation warning.
vwWarnings :: Lens' ValidationWarning [Text]

-- | The identifier of the object that contains the validation warning.
vwId :: Lens' ValidationWarning (Maybe Text)
