![]() |
![]()
| ![]() |
![]()
NAMEPaws::GuardDuty::CreatePublishingDestination - Arguments for method CreatePublishingDestination on Paws::GuardDuty DESCRIPTIONThis class represents the parameters used for calling the method CreatePublishingDestination on the Amazon GuardDuty service. Use the attributes of this class as arguments to method CreatePublishingDestination. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreatePublishingDestination. SYNOPSISmy $guardduty = Paws->service('GuardDuty'); my $CreatePublishingDestinationResponse = $guardduty->CreatePublishingDestination( DestinationProperties => { DestinationArn => 'MyString', # OPTIONAL KmsKeyArn => 'MyString', # OPTIONAL }, DestinationType => 'S3', DetectorId => 'MyDetectorId', ClientToken => 'MyClientToken', # OPTIONAL ); # Results: my $DestinationId = $CreatePublishingDestinationResponse->DestinationId; # Returns a L<Paws::GuardDuty::CreatePublishingDestinationResponse> 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/CreatePublishingDestination> ATTRIBUTESClientToken => StrThe idempotency token for the request. REQUIRED DestinationProperties => Paws::GuardDuty::DestinationPropertiesThe properties of the publishing destination, including the ARNs for the destination and the KMS key used for encryption. REQUIRED DestinationType => StrThe type of resource for the publishing destination. Currently only Amazon S3 buckets are supported. Valid values are: "S3" REQUIRED DetectorId => StrThe ID of the GuardDuty detector associated with the publishing destination. SEE ALSOThis class forms part of Paws, documenting arguments for method CreatePublishingDestination 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>
|