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 a Kinesis Data Analytics application. For information about creating a Kinesis Data Analytics application, see Creating an Application.
Synopsis
- data CreateApplication = CreateApplication' {
- applicationDescription :: Maybe Text
- cloudWatchLoggingOptions :: Maybe [CloudWatchLoggingOption]
- applicationMode :: Maybe ApplicationMode
- applicationConfiguration :: Maybe ApplicationConfiguration
- tags :: Maybe (NonEmpty Tag)
- applicationName :: Text
- runtimeEnvironment :: RuntimeEnvironment
- serviceExecutionRole :: Text
- newCreateApplication :: Text -> RuntimeEnvironment -> Text -> CreateApplication
- createApplication_applicationDescription :: Lens' CreateApplication (Maybe Text)
- createApplication_cloudWatchLoggingOptions :: Lens' CreateApplication (Maybe [CloudWatchLoggingOption])
- createApplication_applicationMode :: Lens' CreateApplication (Maybe ApplicationMode)
- createApplication_applicationConfiguration :: Lens' CreateApplication (Maybe ApplicationConfiguration)
- createApplication_tags :: Lens' CreateApplication (Maybe (NonEmpty Tag))
- createApplication_applicationName :: Lens' CreateApplication Text
- createApplication_runtimeEnvironment :: Lens' CreateApplication RuntimeEnvironment
- createApplication_serviceExecutionRole :: Lens' CreateApplication Text
- data CreateApplicationResponse = CreateApplicationResponse' {}
- newCreateApplicationResponse :: Int -> ApplicationDetail -> CreateApplicationResponse
- createApplicationResponse_httpStatus :: Lens' CreateApplicationResponse Int
- createApplicationResponse_applicationDetail :: Lens' CreateApplicationResponse ApplicationDetail
Creating a Request
data CreateApplication Source #
See: newCreateApplication
smart constructor.
CreateApplication' | |
|
Instances
:: Text | |
-> RuntimeEnvironment | |
-> Text | |
-> CreateApplication |
Create a value of CreateApplication
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:applicationDescription:CreateApplication'
, createApplication_applicationDescription
- A summary description of the application.
$sel:cloudWatchLoggingOptions:CreateApplication'
, createApplication_cloudWatchLoggingOptions
- Use this parameter to configure an Amazon CloudWatch log stream to
monitor application configuration errors.
$sel:applicationMode:CreateApplication'
, createApplication_applicationMode
- Use the STREAMING
mode to create a Kinesis Data Analytics Studio
notebook. To create a Kinesis Data Analytics Studio notebook, use the
INTERACTIVE
mode.
$sel:applicationConfiguration:CreateApplication'
, createApplication_applicationConfiguration
- Use this parameter to configure the application.
$sel:tags:CreateApplication'
, createApplication_tags
- A list of one or more tags to assign to the application. A tag is a
key-value pair that identifies an application. Note that the maximum
number of application tags includes system tags. The maximum number of
user-defined application tags is 50. For more information, see
Using Tagging.
$sel:applicationName:CreateApplication'
, createApplication_applicationName
- The name of your application (for example, sample-app
).
$sel:runtimeEnvironment:CreateApplication'
, createApplication_runtimeEnvironment
- The runtime environment for the application (SQL-1_0
, FLINK-1_6
,
FLINK-1_8
, or FLINK-1_11
).
$sel:serviceExecutionRole:CreateApplication'
, createApplication_serviceExecutionRole
- The IAM role used by the application to access Kinesis data streams,
Kinesis Data Firehose delivery streams, Amazon S3 objects, and other
external resources.
Request Lenses
createApplication_applicationDescription :: Lens' CreateApplication (Maybe Text) Source #
A summary description of the application.
createApplication_cloudWatchLoggingOptions :: Lens' CreateApplication (Maybe [CloudWatchLoggingOption]) Source #
Use this parameter to configure an Amazon CloudWatch log stream to monitor application configuration errors.
createApplication_applicationMode :: Lens' CreateApplication (Maybe ApplicationMode) Source #
Use the STREAMING
mode to create a Kinesis Data Analytics Studio
notebook. To create a Kinesis Data Analytics Studio notebook, use the
INTERACTIVE
mode.
createApplication_applicationConfiguration :: Lens' CreateApplication (Maybe ApplicationConfiguration) Source #
Use this parameter to configure the application.
createApplication_tags :: Lens' CreateApplication (Maybe (NonEmpty Tag)) Source #
A list of one or more tags to assign to the application. A tag is a key-value pair that identifies an application. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50. For more information, see Using Tagging.
createApplication_applicationName :: Lens' CreateApplication Text Source #
The name of your application (for example, sample-app
).
createApplication_runtimeEnvironment :: Lens' CreateApplication RuntimeEnvironment Source #
The runtime environment for the application (SQL-1_0
, FLINK-1_6
,
FLINK-1_8
, or FLINK-1_11
).
createApplication_serviceExecutionRole :: Lens' CreateApplication Text Source #
The IAM role used by the application to access Kinesis data streams, Kinesis Data Firehose delivery streams, Amazon S3 objects, and other external resources.
Destructuring the Response
data CreateApplicationResponse Source #
See: newCreateApplicationResponse
smart constructor.
CreateApplicationResponse' | |
|
Instances
newCreateApplicationResponse Source #
Create a value of CreateApplicationResponse
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:httpStatus:CreateApplicationResponse'
, createApplicationResponse_httpStatus
- The response's http status code.
$sel:applicationDetail:CreateApplicationResponse'
, createApplicationResponse_applicationDetail
- In response to your CreateApplication
request, Kinesis Data Analytics
returns a response with details of the application it created.
Response Lenses
createApplicationResponse_httpStatus :: Lens' CreateApplicationResponse Int Source #
The response's http status code.
createApplicationResponse_applicationDetail :: Lens' CreateApplicationResponse ApplicationDetail Source #
In response to your CreateApplication
request, Kinesis Data Analytics
returns a response with details of the application it created.