Skip to content

/AWS1/IF_DPL=>REGISTERAPPLICATIONREVISION()

About RegisterApplicationRevision

Registers with CodeDeploy a revision for the specified application.

Method Signature

METHODS /AWS1/IF_DPL~REGISTERAPPLICATIONREVISION
  IMPORTING
    !IV_APPLICATIONNAME TYPE /AWS1/DPLAPPLICATIONNAME OPTIONAL
    !IV_DESCRIPTION TYPE /AWS1/DPLDESCRIPTION OPTIONAL
    !IO_REVISION TYPE REF TO /AWS1/CL_DPLREVISIONLOCATION OPTIONAL
  RAISING
    /AWS1/CX_DPLAPPLICATIONDOESN00
    /AWS1/CX_DPLAPPLICATIONNAMER00
    /AWS1/CX_DPLDESCTOOLONGEX
    /AWS1/CX_DPLINVAPPLICATIONNA00
    /AWS1/CX_DPLINVALIDREVISIONEX
    /AWS1/CX_DPLREVISIONREQUIREDEX
    /AWS1/CX_DPLCLIENTEXC
    /AWS1/CX_DPLSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_applicationname TYPE /AWS1/DPLAPPLICATIONNAME /AWS1/DPLAPPLICATIONNAME

The name of an CodeDeploy application associated with the user or Amazon Web Services account.

io_revision TYPE REF TO /AWS1/CL_DPLREVISIONLOCATION /AWS1/CL_DPLREVISIONLOCATION

Information about the application revision to register, including type and location.

Optional arguments:

iv_description TYPE /AWS1/DPLDESCRIPTION /AWS1/DPLDESCRIPTION

A comment about the revision.

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->registerapplicationrevision(
  io_revision = new /aws1/cl_dplrevisionlocation(
    io_appspeccontent = new /aws1/cl_dplappspeccontent(
      iv_content = |string|
      iv_sha256 = |string|
    )
    io_githublocation = new /aws1/cl_dplgithublocation(
      iv_commitid = |string|
      iv_repository = |string|
    )
    io_s3location = new /aws1/cl_dpls3location(
      iv_bucket = |string|
      iv_bundletype = |string|
      iv_etag = |string|
      iv_key = |string|
      iv_version = |string|
    )
    io_string = new /aws1/cl_dplrawstring(
      iv_content = |string|
      iv_sha256 = |string|
    )
    iv_revisiontype = |string|
  )
  iv_applicationname = |string|
  iv_description = |string|
).