| 1 | |||
| 2 | package Paws::IoT::ListActiveViolations; | ||
| 3 | use Moose; | ||
| 4 | has BehaviorCriteriaType => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'behaviorCriteriaType'); | ||
| 5 | has ListSuppressedAlerts => (is => 'ro', isa => 'Bool', traits => ['ParamInQuery'], query_name => 'listSuppressedAlerts'); | ||
| 6 | has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults'); | ||
| 7 | has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken'); | ||
| 8 | has SecurityProfileName => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'securityProfileName'); | ||
| 9 | has ThingName => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'thingName'); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListActiveViolations'); | ||
| 14 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/active-violations'); | ||
| 15 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | ||
| 16 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoT::ListActiveViolationsResponse'); | ||
| 17 | 1; | ||
| 18 | |||
| 19 | ### main pod documentation begin ### | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Paws::IoT::ListActiveViolations - Arguments for method ListActiveViolations on L<Paws::IoT> | ||
| 24 | |||
| 25 | =head1 DESCRIPTION | ||
| 26 | |||
| 27 | This class represents the parameters used for calling the method ListActiveViolations on the | ||
| 28 | L<AWS IoT|Paws::IoT> service. Use the attributes of this class | ||
| 29 | as arguments to method ListActiveViolations. | ||
| 30 | |||
| 31 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListActiveViolations. | ||
| 32 | |||
| 33 | =head1 SYNOPSIS | ||
| 34 | |||
| 35 | my $iot = Paws->service('IoT'); | ||
| 36 | my $ListActiveViolationsResponse = $iot->ListActiveViolations( | ||
| 37 | BehaviorCriteriaType => 'STATIC', # OPTIONAL | ||
| 38 | ListSuppressedAlerts => 1, # OPTIONAL | ||
| 39 | MaxResults => 1, # OPTIONAL | ||
| 40 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 41 | SecurityProfileName => 'MySecurityProfileName', # OPTIONAL | ||
| 42 | ThingName => 'MyDeviceDefenderThingName', # OPTIONAL | ||
| 43 | ); | ||
| 44 | |||
| 45 | # Results: | ||
| 46 | my $ActiveViolations = $ListActiveViolationsResponse->ActiveViolations; | ||
| 47 | my $NextToken = $ListActiveViolationsResponse->NextToken; | ||
| 48 | |||
| 49 | # Returns a L<Paws::IoT::ListActiveViolationsResponse> object. | ||
| 50 | |||
| 51 | 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. | ||
| 52 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iot/ListActiveViolations> | ||
| 53 | |||
| 54 | =head1 ATTRIBUTES | ||
| 55 | |||
| 56 | |||
| 57 | =head2 BehaviorCriteriaType => Str | ||
| 58 | |||
| 59 | The criteria for a behavior. | ||
| 60 | |||
| 61 | Valid values are: C<"STATIC">, C<"STATISTICAL">, C<"MACHINE_LEARNING"> | ||
| 62 | |||
| 63 | =head2 ListSuppressedAlerts => Bool | ||
| 64 | |||
| 65 | A list of all suppressed alerts. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 MaxResults => Int | ||
| 70 | |||
| 71 | The maximum number of results to return at one time. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head2 NextToken => Str | ||
| 76 | |||
| 77 | The token for the next set of results. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head2 SecurityProfileName => Str | ||
| 82 | |||
| 83 | The name of the Device Defender security profile for which violations | ||
| 84 | are listed. | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head2 ThingName => Str | ||
| 89 | |||
| 90 | The name of the thing whose active violations are listed. | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | =head1 SEE ALSO | ||
| 96 | |||
| 97 | This class forms part of L<Paws>, documenting arguments for method ListActiveViolations in L<Paws::IoT> | ||
| 98 | |||
| 99 | =head1 BUGS and CONTRIBUTIONS | ||
| 100 | |||
| 101 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 102 | |||
| 103 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 104 | |||
| 105 | =cut | ||
| 106 |