/AWS1/IF_S3C=>DELETEACCESSGRANT()¶
About DeleteAccessGrant¶
Deletes the access grant from the S3 Access Grants instance. You cannot undo an access grant deletion and the grantee will no longer have access to the S3 data.
- Permissions
-
You must have the
s3:DeleteAccessGrantpermission to use this operation.
You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.
Method Signature¶
METHODS /AWS1/IF_S3C~DELETEACCESSGRANT
IMPORTING
!IV_ACCOUNTID TYPE /AWS1/S3CACCOUNTID OPTIONAL
!IV_ACCESSGRANTID TYPE /AWS1/S3CACCESSGRANTID OPTIONAL
RAISING
/AWS1/CX_S3CCLIENTEXC
/AWS1/CX_S3CSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_accountid TYPE /AWS1/S3CACCOUNTID /AWS1/S3CACCOUNTID¶
The Amazon Web Services account ID of the S3 Access Grants instance.
iv_accessgrantid TYPE /AWS1/S3CACCESSGRANTID /AWS1/S3CACCESSGRANTID¶
The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.
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->deleteaccessgrant(
iv_accessgrantid = |string|
iv_accountid = |string|
).