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 |
Synopsis
- data MaintenanceWindowLambdaParameters = MaintenanceWindowLambdaParameters' {}
- newMaintenanceWindowLambdaParameters :: MaintenanceWindowLambdaParameters
- maintenanceWindowLambdaParameters_payload :: Lens' MaintenanceWindowLambdaParameters (Maybe ByteString)
- maintenanceWindowLambdaParameters_qualifier :: Lens' MaintenanceWindowLambdaParameters (Maybe Text)
- maintenanceWindowLambdaParameters_clientContext :: Lens' MaintenanceWindowLambdaParameters (Maybe Text)
Documentation
data MaintenanceWindowLambdaParameters Source #
The parameters for a LAMBDA
task type.
For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage
Service (Amazon S3) bucket to contain logs, instead use the
OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Amazon
Web Services Systems Manager handles these options for the supported
maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
TaskParameters
has been deprecated. To specify parameters to pass to a
task when it runs, instead use the Parameters
option in the
TaskInvocationParameters
structure. For information about how Systems
Manager handles these options for the supported maintenance window task
types, see MaintenanceWindowTaskInvocationParameters.
For Lambda tasks, Systems Manager ignores any values specified for TaskParameters and LoggingInfo.
See: newMaintenanceWindowLambdaParameters
smart constructor.
MaintenanceWindowLambdaParameters' | |
|
Instances
newMaintenanceWindowLambdaParameters :: MaintenanceWindowLambdaParameters Source #
Create a value of MaintenanceWindowLambdaParameters
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:payload:MaintenanceWindowLambdaParameters'
, maintenanceWindowLambdaParameters_payload
- JSON to provide to your Lambda function as input.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
$sel:qualifier:MaintenanceWindowLambdaParameters'
, maintenanceWindowLambdaParameters_qualifier
- (Optional) Specify an Lambda function version or alias name. If you
specify a function version, the operation uses the qualified function
Amazon Resource Name (ARN) to invoke a specific Lambda function. If you
specify an alias name, the operation uses the alias ARN to invoke the
Lambda function version to which the alias points.
$sel:clientContext:MaintenanceWindowLambdaParameters'
, maintenanceWindowLambdaParameters_clientContext
- Pass client-specific information to the Lambda function that you are
invoking. You can then process the client information in your Lambda
function as you choose through the context variable.
maintenanceWindowLambdaParameters_payload :: Lens' MaintenanceWindowLambdaParameters (Maybe ByteString) Source #
JSON to provide to your Lambda function as input.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
maintenanceWindowLambdaParameters_qualifier :: Lens' MaintenanceWindowLambdaParameters (Maybe Text) Source #
(Optional) Specify an Lambda function version or alias name. If you specify a function version, the operation uses the qualified function Amazon Resource Name (ARN) to invoke a specific Lambda function. If you specify an alias name, the operation uses the alias ARN to invoke the Lambda function version to which the alias points.
maintenanceWindowLambdaParameters_clientContext :: Lens' MaintenanceWindowLambdaParameters (Maybe Text) Source #
Pass client-specific information to the Lambda function that you are invoking. You can then process the client information in your Lambda function as you choose through the context variable.