NAME
Paws::FIS::UpdateExperimentTemplate - Arguments for method UpdateExperimentTemplate on Paws::FIS
DESCRIPTION
This class represents the parameters used for calling the method UpdateExperimentTemplate on the AWS Fault Injection Simulator service. Use the attributes of this class as arguments to method UpdateExperimentTemplate.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateExperimentTemplate.
SYNOPSIS
my $fis = Paws->service('FIS');
my $UpdateExperimentTemplateResponse = $fis->UpdateExperimentTemplate(
Id => 'MyExperimentTemplateId',
Actions => {
'MyExperimentTemplateActionName' => {
ActionId => 'MyActionId', # max: 128; OPTIONAL
Description =>
'MyExperimentTemplateActionDescription', # max: 512; OPTIONAL
Parameters => {
'MyExperimentTemplateActionParameterName' =>
'MyExperimentTemplateActionParameter'
, # key: max: 64, value: max: 1024
}, # OPTIONAL
StartAfter => [
'MyExperimentTemplateActionStartAfter', ... # max: 64
], # OPTIONAL
Targets => {
'MyExperimentTemplateActionTargetName' =>
'MyExperimentTemplateTargetName', # key: max: 64, value: max: 64
}, # OPTIONAL
}, # key: max: 64
}, # OPTIONAL
Description => 'MyExperimentTemplateDescription', # OPTIONAL
RoleArn => 'MyRoleArn', # OPTIONAL
StopConditions => [
{
Source => 'MyStopConditionSource', # max: 64
Value => 'MyStopConditionValue', # min: 20, max: 2048; OPTIONAL
},
...
], # OPTIONAL
Targets => {
'MyExperimentTemplateTargetName' => {
ResourceType => 'MyResourceType', # max: 64
SelectionMode => 'MyExperimentTemplateTargetSelectionMode', # max: 64
Filters => [
{
Path => 'MyExperimentTemplateTargetFilterPath', # max: 256
Values => [
'MyExperimentTemplateTargetFilterValue', ... # max: 128
],
},
...
], # OPTIONAL
ResourceArns => [
'MyResourceArn', ... # min: 20, max: 2048
], # max: 5; OPTIONAL
ResourceTags => {
'MyTagKey' => 'MyTagValue', # key: max: 128, value: max: 256
}, # max: 50; OPTIONAL
}, # key: max: 64
}, # OPTIONAL
);
# Results:
my $ExperimentTemplate =
$UpdateExperimentTemplateResponse->ExperimentTemplate;
# Returns a L<Paws::FIS::UpdateExperimentTemplateResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/fis/UpdateExperimentTemplate
ATTRIBUTES
Actions => Paws::FIS::UpdateExperimentTemplateActionInputMap
The actions for the experiment.
Description => Str
A description for the template.
REQUIRED Id => Str
The ID of the experiment template.
RoleArn => Str
The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
StopConditions => ArrayRef[Paws::FIS::UpdateExperimentTemplateStopConditionInput]
The stop conditions for the experiment.
Targets => Paws::FIS::UpdateExperimentTemplateTargetInputMap
The targets for the experiment.
SEE ALSO
This class forms part of Paws, documenting arguments for method UpdateExperimentTemplate in Paws::FIS
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues