![]() |
![]()
| ![]() |
![]()
NAMEPaws::DataExchange::CreateJob - Arguments for method CreateJob on Paws::DataExchange DESCRIPTIONThis class represents the parameters used for calling the method CreateJob on the AWS Data Exchange service. Use the attributes of this class as arguments to method CreateJob. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateJob. SYNOPSISmy $dataexchange = Paws->service('DataExchange'); my $CreateJobResponse = $dataexchange->CreateJob( Details => { ExportAssetToSignedUrl => { AssetId => 'MyId', DataSetId => 'MyId', RevisionId => 'MyId', }, # OPTIONAL ExportAssetsToS3 => { AssetDestinations => [ { AssetId => 'MyId', Bucket => 'My__string', Key => 'My__string', }, ... ], DataSetId => 'MyId', RevisionId => 'MyId', Encryption => { Type => 'aws:kms', # values: aws:kms, AES256 KmsKeyArn => 'My__string', }, # OPTIONAL }, # OPTIONAL ExportRevisionsToS3 => { DataSetId => 'MyId', RevisionDestinations => [ { Bucket => 'My__string', RevisionId => 'MyId', KeyPattern => 'My__string', }, ... ], Encryption => { Type => 'aws:kms', # values: aws:kms, AES256 KmsKeyArn => 'My__string', }, # OPTIONAL }, # OPTIONAL ImportAssetFromSignedUrl => { AssetName => 'MyAssetName', DataSetId => 'MyId', Md5Hash => 'My__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093' , # min: 24, max: 24 RevisionId => 'MyId', }, # OPTIONAL ImportAssetsFromS3 => { AssetSources => [ { Bucket => 'My__string', Key => 'My__string', }, ... ], DataSetId => 'MyId', RevisionId => 'MyId', }, # OPTIONAL }, Type => 'IMPORT_ASSETS_FROM_S3', ); # Results: my $Arn = $CreateJobResponse->Arn; my $CreatedAt = $CreateJobResponse->CreatedAt; my $Details = $CreateJobResponse->Details; my $Errors = $CreateJobResponse->Errors; my $Id = $CreateJobResponse->Id; my $State = $CreateJobResponse->State; my $Type = $CreateJobResponse->Type; my $UpdatedAt = $CreateJobResponse->UpdatedAt; # Returns a L<Paws::DataExchange::CreateJobResponse> 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/dataexchange/CreateJob> ATTRIBUTESREQUIRED Details => Paws::DataExchange::RequestDetailsThe details for the CreateJob request. REQUIRED Type => StrThe type of job to be created. Valid values are: "IMPORT_ASSETS_FROM_S3", "IMPORT_ASSET_FROM_SIGNED_URL", "EXPORT_ASSETS_TO_S3", "EXPORT_ASSET_TO_SIGNED_URL", "EXPORT_REVISIONS_TO_S3" SEE ALSOThis class forms part of Paws, documenting arguments for method CreateJob in Paws::DataExchange 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>
|