Skip to content

/AWS1/IF_BIL=>DELETEBILLINGVIEW()

About DeleteBillingView

Deletes the specified billing view.

Method Signature

METHODS /AWS1/IF_BIL~DELETEBILLINGVIEW
  IMPORTING
    !IV_ARN TYPE /AWS1/BILBILLINGVIEWARN OPTIONAL
    !IV_FORCE TYPE /AWS1/BILBOOLEAN OPTIONAL
  PREFERRED PARAMETER iv_arn
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_bildeletebllngviewrsp
  RAISING
    /AWS1/CX_BILACCESSDENIEDEX
    /AWS1/CX_BILCONFLICTEXCEPTION
    /AWS1/CX_BILINTERNALSERVEREX
    /AWS1/CX_BILTHROTTLINGEX
    /AWS1/CX_BILVALIDATIONEX
    /AWS1/CX_BILCLIENTEXC
    /AWS1/CX_BILSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_arn TYPE /AWS1/BILBILLINGVIEWARN /AWS1/BILBILLINGVIEWARN

The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.

Optional arguments:

iv_force TYPE /AWS1/BILBOOLEAN /AWS1/BILBOOLEAN

If set to true, forces deletion of the billing view even if it has derived resources (e.g. other billing views or budgets). Use with caution as this may break dependent resources.

RETURNING

oo_output TYPE REF TO /aws1/cl_bildeletebllngviewrsp /AWS1/CL_BILDELETEBLLNGVIEWRSP

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.

DATA(lo_result) = lo_client->deletebillingview(
  iv_arn = |string|
  iv_force = ABAP_TRUE
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_billingviewarn = lo_result->get_arn( ).
ENDIF.

Invoke DeleteBillingView

Invoke DeleteBillingView

DATA(lo_result) = lo_client->deletebillingview( iv_arn = |arn:aws:billing::123456789101:billingview/custom-46f47cb2-a11d-43f3-983d-470b5708a899| ) .