Skip to content

/AWS1/IF_S3F=>DELETEFILESYSTEM()

About DeleteFileSystem

Deletes an S3 File System. You can optionally force deletion of a file system that has pending export data.

Method Signature

METHODS /AWS1/IF_S3F~DELETEFILESYSTEM
  IMPORTING
    !IV_FILESYSTEMID TYPE /AWS1/S3FFILESYSTEMID OPTIONAL
    !IV_FORCEDELETE TYPE /AWS1/S3FBOOLEAN OPTIONAL
  RAISING
    /AWS1/CX_S3FTHROTTLINGEX
    /AWS1/CX_S3FCONFLICTEXCEPTION
    /AWS1/CX_S3FINTERNALSERVEREX
    /AWS1/CX_S3FRESOURCENOTFOUNDEX
    /AWS1/CX_S3FVLDTNEXCEPTION
    /AWS1/CX_S3FCLIENTEXC
    /AWS1/CX_S3FSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_filesystemid TYPE /AWS1/S3FFILESYSTEMID /AWS1/S3FFILESYSTEMID

The ID or Amazon Resource Name (ARN) of the S3 File System to delete.

Optional arguments:

iv_forcedelete TYPE /AWS1/S3FBOOLEAN /AWS1/S3FBOOLEAN

If true, allows deletion of a file system that contains data pending export to S3. If false (the default), the deletion will fail if there is data that has not yet been exported to the S3 bucket. Use this parameter with caution as it may result in data loss.

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

lo_client->deletefilesystem(
  iv_filesystemid = |string|
  iv_forcedelete = ABAP_TRUE
).