Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Performs a recipe step within an interactive DataBrew session that's currently open.
Synopsis
- data SendProjectSessionAction = SendProjectSessionAction' {}
- newSendProjectSessionAction :: Text -> SendProjectSessionAction
- sendProjectSessionAction_clientSessionId :: Lens' SendProjectSessionAction (Maybe Text)
- sendProjectSessionAction_preview :: Lens' SendProjectSessionAction (Maybe Bool)
- sendProjectSessionAction_recipeStep :: Lens' SendProjectSessionAction (Maybe RecipeStep)
- sendProjectSessionAction_stepIndex :: Lens' SendProjectSessionAction (Maybe Natural)
- sendProjectSessionAction_viewFrame :: Lens' SendProjectSessionAction (Maybe ViewFrame)
- sendProjectSessionAction_name :: Lens' SendProjectSessionAction Text
- data SendProjectSessionActionResponse = SendProjectSessionActionResponse' {}
- newSendProjectSessionActionResponse :: Int -> Text -> SendProjectSessionActionResponse
- sendProjectSessionActionResponse_actionId :: Lens' SendProjectSessionActionResponse (Maybe Int)
- sendProjectSessionActionResponse_result :: Lens' SendProjectSessionActionResponse (Maybe Text)
- sendProjectSessionActionResponse_httpStatus :: Lens' SendProjectSessionActionResponse Int
- sendProjectSessionActionResponse_name :: Lens' SendProjectSessionActionResponse Text
Creating a Request
data SendProjectSessionAction Source #
See: newSendProjectSessionAction
smart constructor.
SendProjectSessionAction' | |
|
Instances
newSendProjectSessionAction Source #
Create a value of SendProjectSessionAction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientSessionId:SendProjectSessionAction'
, sendProjectSessionAction_clientSessionId
- A unique identifier for an interactive session that's currently open
and ready for work. The action will be performed on this session.
$sel:preview:SendProjectSessionAction'
, sendProjectSessionAction_preview
- If true, the result of the recipe step will be returned, but not
applied.
$sel:recipeStep:SendProjectSessionAction'
, sendProjectSessionAction_recipeStep
- Undocumented member.
$sel:stepIndex:SendProjectSessionAction'
, sendProjectSessionAction_stepIndex
- The index from which to preview a step. This index is used to preview
the result of steps that have already been applied, so that the
resulting view frame is from earlier in the view frame stack.
$sel:viewFrame:SendProjectSessionAction'
, sendProjectSessionAction_viewFrame
- Undocumented member.
SendProjectSessionAction
, sendProjectSessionAction_name
- The name of the project to apply the action to.
Request Lenses
sendProjectSessionAction_clientSessionId :: Lens' SendProjectSessionAction (Maybe Text) Source #
A unique identifier for an interactive session that's currently open and ready for work. The action will be performed on this session.
sendProjectSessionAction_preview :: Lens' SendProjectSessionAction (Maybe Bool) Source #
If true, the result of the recipe step will be returned, but not applied.
sendProjectSessionAction_recipeStep :: Lens' SendProjectSessionAction (Maybe RecipeStep) Source #
Undocumented member.
sendProjectSessionAction_stepIndex :: Lens' SendProjectSessionAction (Maybe Natural) Source #
The index from which to preview a step. This index is used to preview the result of steps that have already been applied, so that the resulting view frame is from earlier in the view frame stack.
sendProjectSessionAction_viewFrame :: Lens' SendProjectSessionAction (Maybe ViewFrame) Source #
Undocumented member.
sendProjectSessionAction_name :: Lens' SendProjectSessionAction Text Source #
The name of the project to apply the action to.
Destructuring the Response
data SendProjectSessionActionResponse Source #
See: newSendProjectSessionActionResponse
smart constructor.
Instances
newSendProjectSessionActionResponse Source #
Create a value of SendProjectSessionActionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:actionId:SendProjectSessionActionResponse'
, sendProjectSessionActionResponse_actionId
- A unique identifier for the action that was performed.
$sel:result:SendProjectSessionActionResponse'
, sendProjectSessionActionResponse_result
- A message indicating the result of performing the action.
$sel:httpStatus:SendProjectSessionActionResponse'
, sendProjectSessionActionResponse_httpStatus
- The response's http status code.
SendProjectSessionAction
, sendProjectSessionActionResponse_name
- The name of the project that was affected by the action.
Response Lenses
sendProjectSessionActionResponse_actionId :: Lens' SendProjectSessionActionResponse (Maybe Int) Source #
A unique identifier for the action that was performed.
sendProjectSessionActionResponse_result :: Lens' SendProjectSessionActionResponse (Maybe Text) Source #
A message indicating the result of performing the action.
sendProjectSessionActionResponse_httpStatus :: Lens' SendProjectSessionActionResponse Int Source #
The response's http status code.
sendProjectSessionActionResponse_name :: Lens' SendProjectSessionActionResponse Text Source #
The name of the project that was affected by the action.