NAME
Paws::IoT::StartAuditMitigationActionsTask - Arguments for method StartAuditMitigationActionsTask on Paws::IoT
DESCRIPTION
This class represents the parameters used for calling the method StartAuditMitigationActionsTask on the AWS IoT service. Use the attributes of this class as arguments to method StartAuditMitigationActionsTask.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartAuditMitigationActionsTask.
SYNOPSIS
my $iot = Paws->service('IoT');
my $StartAuditMitigationActionsTaskResponse =
$iot->StartAuditMitigationActionsTask(
AuditCheckToActionsMapping => {
'MyAuditCheckName' => [
'MyMitigationActionName', ... # max: 128
], # , value: min: 1, max: 5
},
ClientRequestToken => 'MyClientRequestToken',
Target => {
AuditCheckToReasonCodeFilter => {
'MyAuditCheckName' => [ 'MyReasonForNonComplianceCode', ... ]
, # , value: min: 1, max: 25
}, # OPTIONAL
AuditTaskId => 'MyAuditTaskId', # min: 1, max: 40; OPTIONAL
FindingIds => [
'MyFindingId', ... # min: 1, max: 128
], # min: 1, max: 25; OPTIONAL
},
TaskId => 'MyMitigationActionsTaskId',
);
# Results:
my $TaskId = $StartAuditMitigationActionsTaskResponse->TaskId;
# Returns a L<Paws::IoT::StartAuditMitigationActionsTaskResponse> 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/iot/StartAuditMitigationActionsTask
ATTRIBUTES
REQUIRED AuditCheckToActionsMapping => Paws::IoT::AuditCheckToActionsMapping
For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your AWS account.
REQUIRED ClientRequestToken => Str
Each audit mitigation task must have a unique client request token. If you try to start a new task with the same token as a task that already exists, an exception occurs. If you omit this value, a unique client request token is generated automatically.
REQUIRED Target => Paws::IoT::AuditMitigationActionsTaskTarget
Specifies the audit findings to which the mitigation actions are applied. You can apply them to a type of audit check, to all findings from an audit, or to a specific set of findings.
REQUIRED TaskId => Str
A unique identifier for the task. You can use this identifier to check the status of the task or to cancel it.
SEE ALSO
This class forms part of Paws, documenting arguments for method StartAuditMitigationActionsTask in Paws::IoT
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