| 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 |
Amazonka.DataBrew.StartProjectSession
Description
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 (Sensitive 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.
Constructors
| StartProjectSession' | |
Fields
| |
Instances
newStartProjectSession Source #
Arguments
| :: Text | |
| -> StartProjectSession |
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.
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.
Constructors
| StartProjectSessionResponse' | |
Fields
| |
Instances
newStartProjectSessionResponse Source #
Arguments
| :: 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.
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.