/AWS1/CL_PPMS3FILE¶
Contains information for the S3 bucket that contains media files.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_bucketname TYPE /AWS1/PPMSTRING /AWS1/PPMSTRING¶
The bucket name.
iv_key TYPE /AWS1/PPMSTRING /AWS1/PPMSTRING¶
The S3 key prefix that defines the storage location of your media files. The prefix works like a folder path in S3, and is combined with the WhatsApp mediaId to create the final file path.
For example, if a media file's WhatsApp mediaId is
123.ogg, and the key isaudio/example.ogg, the final file path isaudio/example.ogg123.ogg.For the same mediaId, a key of
audio/results in the file pathaudio/123.ogg.
Queryable Attributes¶
bucketName¶
The bucket name.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BUCKETNAME() |
Getter for BUCKETNAME, with configurable default |
ASK_BUCKETNAME() |
Getter for BUCKETNAME w/ exceptions if field has no value |
HAS_BUCKETNAME() |
Determine if BUCKETNAME has a value |
key¶
The S3 key prefix that defines the storage location of your media files. The prefix works like a folder path in S3, and is combined with the WhatsApp mediaId to create the final file path.
For example, if a media file's WhatsApp mediaId is
123.ogg, and the key isaudio/example.ogg, the final file path isaudio/example.ogg123.ogg.For the same mediaId, a key of
audio/results in the file pathaudio/123.ogg.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_KEY() |
Getter for KEY, with configurable default |
ASK_KEY() |
Getter for KEY w/ exceptions if field has no value |
HAS_KEY() |
Determine if KEY has a value |