Skip to content

/AWS1/IF_NWS=>DELETESCOPE()

About DeleteScope

Deletes the specified scope.

Method Signature

METHODS /AWS1/IF_NWS~DELETESCOPE
  IMPORTING
    !IV_SCOPEIDENTIFIER TYPE /AWS1/NWSSCOPEIDENTIFIER OPTIONAL
  RAISING
    /AWS1/CX_NWSACCESSDENIEDEX
    /AWS1/CX_NWSCONFLICTEXCEPTION
    /AWS1/CX_NWSINTERNALSERVEREX
    /AWS1/CX_NWSTHROTTLINGEX
    /AWS1/CX_NWSVLDTNEXCEPTION
    /AWS1/CX_NWSCLIENTEXC
    /AWS1/CX_NWSSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_scopeidentifier TYPE /AWS1/NWSSCOPEIDENTIFIER /AWS1/NWSSCOPEIDENTIFIER

The identifier of the scope. This is the scope's Amazon Resource Name (ARN).

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->deletescope( |string| ).

Delete a scope

Deletes a scope by its ARN. The scope must not be associated with any deployment.

lo_client->deletescope( |arn:aws:network-security-manager:us-east-1:123456789012:scope:abc123| ).