NAME

Paws::GuardDuty::CreateDetector - Arguments for method CreateDetector on Paws::GuardDuty

DESCRIPTION

This class represents the parameters used for calling the method CreateDetector on the Amazon GuardDuty service. Use the attributes of this class as arguments to method CreateDetector.

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

SYNOPSIS

my $guardduty = Paws->service('GuardDuty');
my $CreateDetectorResponse = $guardduty->CreateDetector(
  Enable                     => 1,
  ClientToken                => 'MyClientToken',      # OPTIONAL
  FindingPublishingFrequency => 'FIFTEEN_MINUTES',    # OPTIONAL
  Tags                       => {
    'MyTagKey' => 'MyTagValue',    # key: min: 1, max: 128, value: max: 256
  },    # OPTIONAL
);

# Results:
my $DetectorId = $CreateDetectorResponse->DetectorId;

# Returns a L<Paws::GuardDuty::CreateDetectorResponse> 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/guardduty/CreateDetector

ATTRIBUTES

ClientToken => Str

The idempotency token for the create request.

REQUIRED Enable => Bool

A boolean value that specifies whether the detector is to be enabled.

FindingPublishingFrequency => Str

A enum value that specifies how frequently customer got Finding updates published.

Valid values are: "FIFTEEN_MINUTES", "ONE_HOUR", "SIX_HOURS"

Tags => Paws::GuardDuty::TagMap

The tags to be added to a new detector resource.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateDetector in Paws::GuardDuty

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