NAME
Paws::IoT::CreateMitigationAction - Arguments for method CreateMitigationAction on Paws::IoT
DESCRIPTION
This class represents the parameters used for calling the method CreateMitigationAction on the AWS IoT service. Use the attributes of this class as arguments to method CreateMitigationAction.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateMitigationAction.
SYNOPSIS
my $iot = Paws->service('IoT');
my $CreateMitigationActionResponse = $iot->CreateMitigationAction(
ActionName => 'MyMitigationActionName',
ActionParams => {
AddThingsToThingGroupParams => {
ThingGroupNames => [
'MyThingGroupName', ... # min: 1, max: 128
], # min: 1, max: 10
OverrideDynamicGroups => 1, # OPTIONAL
}, # OPTIONAL
EnableIoTLoggingParams => {
LogLevel => 'DEBUG', # values: DEBUG, INFO, ERROR, WARN, DISABLED
RoleArnForLogging => 'MyRoleArn', # min: 20, max: 2048
}, # OPTIONAL
PublishFindingToSnsParams => {
TopicArn => 'MySnsTopicArn', # max: 350
}, # OPTIONAL
ReplaceDefaultPolicyVersionParams => {
TemplateName => 'BLANK_POLICY', # values: BLANK_POLICY
}, # OPTIONAL
UpdateCACertificateParams => {
Action => 'DEACTIVATE', # values: DEACTIVATE
}, # OPTIONAL
UpdateDeviceCertificateParams => {
Action => 'DEACTIVATE', # values: DEACTIVATE
}, # OPTIONAL
},
RoleArn => 'MyRoleArn',
Tags => [
{
Key => 'MyTagKey', # min: 1, max: 128
Value => 'MyTagValue', # min: 1, max: 256; OPTIONAL
},
...
], # OPTIONAL
);
# Results:
my $ActionArn = $CreateMitigationActionResponse->ActionArn;
my $ActionId = $CreateMitigationActionResponse->ActionId;
# Returns a L<Paws::IoT::CreateMitigationActionResponse> 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/CreateMitigationAction
ATTRIBUTES
REQUIRED ActionName => Str
A friendly name for the action. Choose a friendly name that accurately describes the action (for example, EnableLoggingAction
).
REQUIRED ActionParams => Paws::IoT::MitigationActionParams
Defines the type of action and the parameters for that action.
REQUIRED RoleArn => Str
The ARN of the IAM role that is used to apply the mitigation action.
Tags => ArrayRef[Paws::IoT::Tag]
Metadata that can be used to manage the mitigation action.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateMitigationAction 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