NAME

Paws::IoT::UpdateMitigationAction - Arguments for method UpdateMitigationAction on Paws::IoT

DESCRIPTION

This class represents the parameters used for calling the method UpdateMitigationAction on the AWS IoT service. Use the attributes of this class as arguments to method UpdateMitigationAction.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateMitigationAction.

SYNOPSIS

my $iot = Paws->service('IoT');
my $UpdateMitigationActionResponse = $iot->UpdateMitigationAction(
  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
  },    # OPTIONAL
  RoleArn => 'MyRoleArn',    # OPTIONAL
);

# Results:
my $ActionArn = $UpdateMitigationActionResponse->ActionArn;
my $ActionId  = $UpdateMitigationActionResponse->ActionId;

# Returns a L<Paws::IoT::UpdateMitigationActionResponse> 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/UpdateMitigationAction

ATTRIBUTES

REQUIRED ActionName => Str

The friendly name for the mitigation action. You cannot change the name by using UpdateMitigationAction. Instead, you must delete and recreate the mitigation action with the new name.

ActionParams => Paws::IoT::MitigationActionParams

Defines the type of action and the parameters for that action.

RoleArn => Str

The ARN of the IAM role that is used to apply the mitigation action.

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateMitigationAction 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