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 |
Returns information about an AppConfig extension.
Synopsis
- data GetExtension = GetExtension' {}
- newGetExtension :: Text -> GetExtension
- getExtension_versionNumber :: Lens' GetExtension (Maybe Int)
- getExtension_extensionIdentifier :: Lens' GetExtension 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 GetExtension Source #
See: newGetExtension
smart constructor.
GetExtension' | |
|
Instances
Create a value of GetExtension
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:
GetExtension
, getExtension_versionNumber
- The extension version number. If no version number was defined,
AppConfig uses the highest version.
GetExtension
, getExtension_extensionIdentifier
- The name, the ID, or the Amazon Resource Name (ARN) of the extension.
Request Lenses
getExtension_versionNumber :: Lens' GetExtension (Maybe Int) Source #
The extension version number. If no version number was defined, AppConfig uses the highest version.
getExtension_extensionIdentifier :: Lens' GetExtension 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.