| 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.KafkaConnect.CreateCustomPlugin
Description
Creates a custom plugin using the specified properties.
Synopsis
- data CreateCustomPlugin = CreateCustomPlugin' {}
- newCreateCustomPlugin :: CustomPluginContentType -> CustomPluginLocation -> Text -> CreateCustomPlugin
- createCustomPlugin_description :: Lens' CreateCustomPlugin (Maybe Text)
- createCustomPlugin_contentType :: Lens' CreateCustomPlugin CustomPluginContentType
- createCustomPlugin_location :: Lens' CreateCustomPlugin CustomPluginLocation
- createCustomPlugin_name :: Lens' CreateCustomPlugin Text
- data CreateCustomPluginResponse = CreateCustomPluginResponse' {}
- newCreateCustomPluginResponse :: Int -> CreateCustomPluginResponse
- createCustomPluginResponse_customPluginArn :: Lens' CreateCustomPluginResponse (Maybe Text)
- createCustomPluginResponse_customPluginState :: Lens' CreateCustomPluginResponse (Maybe CustomPluginState)
- createCustomPluginResponse_name :: Lens' CreateCustomPluginResponse (Maybe Text)
- createCustomPluginResponse_revision :: Lens' CreateCustomPluginResponse (Maybe Integer)
- createCustomPluginResponse_httpStatus :: Lens' CreateCustomPluginResponse Int
Creating a Request
data CreateCustomPlugin Source #
See: newCreateCustomPlugin smart constructor.
Constructors
| CreateCustomPlugin' | |
Fields
| |
Instances
newCreateCustomPlugin Source #
Arguments
| :: CustomPluginContentType | |
| -> CustomPluginLocation | |
| -> Text | |
| -> CreateCustomPlugin |
Create a value of CreateCustomPlugin 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:
CreateCustomPlugin, createCustomPlugin_description - A summary description of the custom plugin.
CreateCustomPlugin, createCustomPlugin_contentType - The type of the plugin file.
CreateCustomPlugin, createCustomPlugin_location - Information about the location of a custom plugin.
CreateCustomPlugin, createCustomPlugin_name - The name of the custom plugin.
Request Lenses
createCustomPlugin_description :: Lens' CreateCustomPlugin (Maybe Text) Source #
A summary description of the custom plugin.
createCustomPlugin_contentType :: Lens' CreateCustomPlugin CustomPluginContentType Source #
The type of the plugin file.
createCustomPlugin_location :: Lens' CreateCustomPlugin CustomPluginLocation Source #
Information about the location of a custom plugin.
createCustomPlugin_name :: Lens' CreateCustomPlugin Text Source #
The name of the custom plugin.
Destructuring the Response
data CreateCustomPluginResponse Source #
See: newCreateCustomPluginResponse smart constructor.
Constructors
| CreateCustomPluginResponse' | |
Fields
| |
Instances
newCreateCustomPluginResponse Source #
Create a value of CreateCustomPluginResponse 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:
CreateCustomPluginResponse, createCustomPluginResponse_customPluginArn - The Amazon Resource Name (ARN) that Amazon assigned to the custom
plugin.
CreateCustomPluginResponse, createCustomPluginResponse_customPluginState - The state of the custom plugin.
CreateCustomPlugin, createCustomPluginResponse_name - The name of the custom plugin.
CreateCustomPluginResponse, createCustomPluginResponse_revision - The revision of the custom plugin.
$sel:httpStatus:CreateCustomPluginResponse', createCustomPluginResponse_httpStatus - The response's http status code.
Response Lenses
createCustomPluginResponse_customPluginArn :: Lens' CreateCustomPluginResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) that Amazon assigned to the custom plugin.
createCustomPluginResponse_customPluginState :: Lens' CreateCustomPluginResponse (Maybe CustomPluginState) Source #
The state of the custom plugin.
createCustomPluginResponse_name :: Lens' CreateCustomPluginResponse (Maybe Text) Source #
The name of the custom plugin.
createCustomPluginResponse_revision :: Lens' CreateCustomPluginResponse (Maybe Integer) Source #
The revision of the custom plugin.
createCustomPluginResponse_httpStatus :: Lens' CreateCustomPluginResponse Int Source #
The response's http status code.