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 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_name :: Lens' CreateCustomPluginResponse (Maybe Text)
- createCustomPluginResponse_customPluginArn :: Lens' CreateCustomPluginResponse (Maybe Text)
- createCustomPluginResponse_customPluginState :: Lens' CreateCustomPluginResponse (Maybe CustomPluginState)
- createCustomPluginResponse_revision :: Lens' CreateCustomPluginResponse (Maybe Integer)
- createCustomPluginResponse_httpStatus :: Lens' CreateCustomPluginResponse Int
Creating a Request
data CreateCustomPlugin Source #
See: newCreateCustomPlugin
smart constructor.
CreateCustomPlugin' | |
|
Instances
newCreateCustomPlugin Source #
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:
$sel:description:CreateCustomPlugin'
, createCustomPlugin_description
- A summary description of the custom plugin.
$sel:contentType:CreateCustomPlugin'
, createCustomPlugin_contentType
- The type of the plugin file.
$sel:location:CreateCustomPlugin'
, createCustomPlugin_location
- Information about the location of a custom plugin.
$sel:name: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.
CreateCustomPluginResponse' | |
|
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:
$sel:name:CreateCustomPlugin'
, createCustomPluginResponse_name
- The name of the custom plugin.
$sel:customPluginArn:CreateCustomPluginResponse'
, createCustomPluginResponse_customPluginArn
- The Amazon Resource Name (ARN) that Amazon assigned to the custom
plugin.
$sel:customPluginState:CreateCustomPluginResponse'
, createCustomPluginResponse_customPluginState
- The state of the custom plugin.
$sel:revision:CreateCustomPluginResponse'
, createCustomPluginResponse_revision
- The revision of the custom plugin.
$sel:httpStatus:CreateCustomPluginResponse'
, createCustomPluginResponse_httpStatus
- The response's http status code.
Response Lenses
createCustomPluginResponse_name :: Lens' CreateCustomPluginResponse (Maybe Text) Source #
The name of the custom plugin.
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_revision :: Lens' CreateCustomPluginResponse (Maybe Integer) Source #
The revision of the custom plugin.
createCustomPluginResponse_httpStatus :: Lens' CreateCustomPluginResponse Int Source #
The response's http status code.