aws.s3 » assertPresent(profile,remotePath)
Description
This command checks if there are any files(at least one) matching the pattern provided in the remotePath
i.e in the
S3 bucket/folder.
Check here for more information regarding profile
.
Parameters
- profile - the profile added in the data file which contains AWS credentials and connectivity
- remotePath - the pattern which specifies the folder, file or a pattern of files.
Example
Script:
Output: