Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Creates an interactive session, enabling you to manipulate data in a DataBrew project.
Synopsis
- data StartProjectSession = StartProjectSession' {
- assumeControl :: Maybe Bool
- name :: Text
- newStartProjectSession :: Text -> StartProjectSession
- startProjectSession_assumeControl :: Lens' StartProjectSession (Maybe Bool)
- startProjectSession_name :: Lens' StartProjectSession Text
- data StartProjectSessionResponse = StartProjectSessionResponse' {
- clientSessionId :: Maybe Text
- httpStatus :: Int
- name :: Text
- newStartProjectSessionResponse :: Int -> Text -> StartProjectSessionResponse
- startProjectSessionResponse_clientSessionId :: Lens' StartProjectSessionResponse (Maybe Text)
- startProjectSessionResponse_httpStatus :: Lens' StartProjectSessionResponse Int
- startProjectSessionResponse_name :: Lens' StartProjectSessionResponse Text
Creating a Request
data StartProjectSession Source #
See: newStartProjectSession
smart constructor.
StartProjectSession' | |
|
Instances
newStartProjectSession Source #
Create a value of StartProjectSession
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:assumeControl:StartProjectSession'
, startProjectSession_assumeControl
- A value that, if true, enables you to take control of a session, even if
a different client is currently accessing the project.
$sel:name:StartProjectSession'
, startProjectSession_name
- The name of the project to act upon.
Request Lenses
startProjectSession_assumeControl :: Lens' StartProjectSession (Maybe Bool) Source #
A value that, if true, enables you to take control of a session, even if a different client is currently accessing the project.
startProjectSession_name :: Lens' StartProjectSession Text Source #
The name of the project to act upon.
Destructuring the Response
data StartProjectSessionResponse Source #
See: newStartProjectSessionResponse
smart constructor.
StartProjectSessionResponse' | |
|
Instances
newStartProjectSessionResponse Source #
:: Int | |
-> Text | |
-> StartProjectSessionResponse |
Create a value of StartProjectSessionResponse
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:StartProjectSessionResponse'
, startProjectSessionResponse_clientSessionId
- A system-generated identifier for the session.
$sel:httpStatus:StartProjectSessionResponse'
, startProjectSessionResponse_httpStatus
- The response's http status code.
$sel:name:StartProjectSession'
, startProjectSessionResponse_name
- The name of the project to be acted upon.
Response Lenses
startProjectSessionResponse_clientSessionId :: Lens' StartProjectSessionResponse (Maybe Text) Source #
A system-generated identifier for the session.
startProjectSessionResponse_httpStatus :: Lens' StartProjectSessionResponse Int Source #
The response's http status code.
startProjectSessionResponse_name :: Lens' StartProjectSessionResponse Text Source #
The name of the project to be acted upon.