s3solutiondata
s3solutiondata |
Purpose
Generate an ID referring to a DMP solutionData folder for a given lifecycle stage, for use with
s3init
Synopsis
function s3solutiondata(env:text):text
Argument
env
|
The lifecycle environment of the solutionData folder; one of the constants
S3_DMP_DESIGN,
S3_DMP_STAGING,
S3_DMP_PRODUCTION
|
Return value
A bucket configuration ID that can be passed to
s3init
Example
declarations mybucket: s3bucket end-declarations s3init(mybucket,s3solutiondata(S3_DMP_STAGING)) if s3status(mybucket)<>S3_OK then writeln("Error returned by S3: ",s3getlasterror(mybucket)) exit(1) end-if
Further information
1. Within DMP, this function can be used to generate an ID for the "solution data" folder of a given lifecycle environment.
2. This function is not available in the Xpress Workbench version 3.3.3 component in DMP.
Related topics