|
NAMEPaws::GuardDuty::CreateThreatIntelSet - Arguments for method CreateThreatIntelSet on Paws::GuardDuty DESCRIPTIONThis class represents the parameters used for calling the method CreateThreatIntelSet on the Amazon GuardDuty service. Use the attributes of this class as arguments to method CreateThreatIntelSet. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateThreatIntelSet. SYNOPSIS my $guardduty = Paws->service('GuardDuty');
my $CreateThreatIntelSetResponse = $guardduty->CreateThreatIntelSet(
Activate => 1,
DetectorId => 'MyDetectorId',
Format => 'TXT',
Location => 'MyLocation',
Name => 'MyName',
ClientToken => 'MyClientToken', # OPTIONAL
Tags => {
'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256
}, # OPTIONAL
);
# Results:
my $ThreatIntelSetId = $CreateThreatIntelSetResponse->ThreatIntelSetId;
# Returns a L<Paws::GuardDuty::CreateThreatIntelSetResponse> 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/CreateThreatIntelSet> ATTRIBUTESREQUIRED Activate => BoolA Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet. ClientToken => StrThe idempotency token for the create request. REQUIRED DetectorId => StrThe unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for. REQUIRED Format => StrThe format of the file that contains the ThreatIntelSet. Valid values are: "TXT", "STIX", "OTX_CSV", "ALIEN_VAULT", "PROOF_POINT", "FIRE_EYE" REQUIRED Location => StrThe URI of the file that contains the ThreatIntelSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key. REQUIRED Name => StrA user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet. Tags => Paws::GuardDuty::TagMapThe tags to be added to a new threat list resource. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateThreatIntelSet in Paws::GuardDuty BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|