| 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.KinesisAnalyticsV2.CreateApplication
Description
Creates a Kinesis Data Analytics application. For information about creating a Kinesis Data Analytics application, see Creating an Application.
Synopsis
- data CreateApplication = CreateApplication' {
- applicationConfiguration :: Maybe ApplicationConfiguration
- applicationDescription :: Maybe Text
- applicationMode :: Maybe ApplicationMode
- cloudWatchLoggingOptions :: Maybe [CloudWatchLoggingOption]
- tags :: Maybe (NonEmpty Tag)
- applicationName :: Text
- runtimeEnvironment :: RuntimeEnvironment
- serviceExecutionRole :: Text
- newCreateApplication :: Text -> RuntimeEnvironment -> Text -> CreateApplication
- createApplication_applicationConfiguration :: Lens' CreateApplication (Maybe ApplicationConfiguration)
- createApplication_applicationDescription :: Lens' CreateApplication (Maybe Text)
- createApplication_applicationMode :: Lens' CreateApplication (Maybe ApplicationMode)
- createApplication_cloudWatchLoggingOptions :: Lens' CreateApplication (Maybe [CloudWatchLoggingOption])
- 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.
Constructors
| CreateApplication' | |
Fields
| |
Instances
Arguments
| :: 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:applicationConfiguration:CreateApplication', createApplication_applicationConfiguration - Use this parameter to configure the application.
CreateApplication, createApplication_applicationDescription - A summary description of the application.
CreateApplication, createApplication_applicationMode - Use the STREAMING mode to create a Kinesis Data Analytics For Flink
application. To create a Kinesis Data Analytics Studio notebook, use the
INTERACTIVE mode.
$sel:cloudWatchLoggingOptions:CreateApplication', createApplication_cloudWatchLoggingOptions - Use this parameter to configure an Amazon CloudWatch log stream to
monitor application configuration errors.
$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.
CreateApplication, createApplication_applicationName - The name of your application (for example, sample-app).
CreateApplication, createApplication_runtimeEnvironment - The runtime environment for the application.
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_applicationConfiguration :: Lens' CreateApplication (Maybe ApplicationConfiguration) Source #
Use this parameter to configure the application.
createApplication_applicationDescription :: Lens' CreateApplication (Maybe Text) Source #
A summary description of the application.
createApplication_applicationMode :: Lens' CreateApplication (Maybe ApplicationMode) Source #
Use the STREAMING mode to create a Kinesis Data Analytics For Flink
application. To create a Kinesis Data Analytics Studio notebook, use the
INTERACTIVE mode.
createApplication_cloudWatchLoggingOptions :: Lens' CreateApplication (Maybe [CloudWatchLoggingOption]) Source #
Use this parameter to configure an Amazon CloudWatch log stream to monitor application configuration errors.
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.
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.
Constructors
| CreateApplicationResponse' | |
Fields
| |
Instances
newCreateApplicationResponse Source #
Arguments
| :: Int | |
| -> ApplicationDetail | |
| -> CreateApplicationResponse |
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.