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 |
Updates an AppConfig extension. For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.
Synopsis
- data UpdateExtension = UpdateExtension' {}
- newUpdateExtension :: Text -> UpdateExtension
- updateExtension_actions :: Lens' UpdateExtension (Maybe (HashMap ActionPoint (NonEmpty Action)))
- updateExtension_description :: Lens' UpdateExtension (Maybe Text)
- updateExtension_parameters :: Lens' UpdateExtension (Maybe (HashMap Text Parameter))
- updateExtension_versionNumber :: Lens' UpdateExtension (Maybe Int)
- updateExtension_extensionIdentifier :: Lens' UpdateExtension Text
- data Extension = Extension' {}
- newExtension :: Extension
- extension_actions :: Lens' Extension (Maybe (HashMap ActionPoint (NonEmpty Action)))
- extension_arn :: Lens' Extension (Maybe Text)
- extension_description :: Lens' Extension (Maybe Text)
- extension_id :: Lens' Extension (Maybe Text)
- extension_name :: Lens' Extension (Maybe Text)
- extension_parameters :: Lens' Extension (Maybe (HashMap Text Parameter))
- extension_versionNumber :: Lens' Extension (Maybe Int)
Creating a Request
data UpdateExtension Source #
See: newUpdateExtension
smart constructor.
UpdateExtension' | |
|
Instances
Create a value of UpdateExtension
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:
UpdateExtension
, updateExtension_actions
- The actions defined in the extension.
UpdateExtension
, updateExtension_description
- Information about the extension.
UpdateExtension
, updateExtension_parameters
- One or more parameters for the actions called by the extension.
UpdateExtension
, updateExtension_versionNumber
- The extension version number.
UpdateExtension
, updateExtension_extensionIdentifier
- The name, the ID, or the Amazon Resource Name (ARN) of the extension.
Request Lenses
updateExtension_actions :: Lens' UpdateExtension (Maybe (HashMap ActionPoint (NonEmpty Action))) Source #
The actions defined in the extension.
updateExtension_description :: Lens' UpdateExtension (Maybe Text) Source #
Information about the extension.
updateExtension_parameters :: Lens' UpdateExtension (Maybe (HashMap Text Parameter)) Source #
One or more parameters for the actions called by the extension.
updateExtension_versionNumber :: Lens' UpdateExtension (Maybe Int) Source #
The extension version number.
updateExtension_extensionIdentifier :: Lens' UpdateExtension Text Source #
The name, the ID, or the Amazon Resource Name (ARN) of the extension.
Destructuring the Response
See: newExtension
smart constructor.
Extension' | |
|
Instances
newExtension :: Extension Source #
Create a value of Extension
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:actions:Extension'
, extension_actions
- The actions defined in the extension.
$sel:arn:Extension'
, extension_arn
- The system-generated Amazon Resource Name (ARN) for the extension.
Extension
, extension_description
- Information about the extension.
$sel:id:Extension'
, extension_id
- The system-generated ID of the extension.
Extension
, extension_name
- The extension name.
$sel:parameters:Extension'
, extension_parameters
- The parameters accepted by the extension. You specify parameter values
when you associate the extension to an AppConfig resource by using the
CreateExtensionAssociation
API action. For Lambda extension actions,
these parameters are included in the Lambda request object.
$sel:versionNumber:Extension'
, extension_versionNumber
- The extension version number.
Response Lenses
extension_actions :: Lens' Extension (Maybe (HashMap ActionPoint (NonEmpty Action))) Source #
The actions defined in the extension.
extension_arn :: Lens' Extension (Maybe Text) Source #
The system-generated Amazon Resource Name (ARN) for the extension.
extension_parameters :: Lens' Extension (Maybe (HashMap Text Parameter)) Source #
The parameters accepted by the extension. You specify parameter values
when you associate the extension to an AppConfig resource by using the
CreateExtensionAssociation
API action. For Lambda extension actions,
these parameters are included in the Lambda request object.