SAP ABAP Class CL_CSI_PROVIDER_AWS_HELPER (CSI AWS Helper Class)
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   CA-EPT-RCC (Application Component) Remote Control and Communication Framework
     CSI_PROVIDER_AWS (Package) Cloud Service Provider: AWS
Properties
Class CL_CSI_PROVIDER_AWS_HELPER  
Short Description CSI AWS Helper Class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CSI_PROVIDER_AWS   Cloud Service Provider: AWS 
Created 20091112   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 IF_CSI_SERVICE_C Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_RCC_SERVICE_C Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_CSI_PROVIDER_AWS_HELPER has no interface implemented.
Friends
Class CL_CSI_PROVIDER_AWS_HELPER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_REST_AUTH Constant Public Type reference (TYPE) CSI_STRING 'Authorization' CSI String 20100104
2 MC_CONTENT_LENGTH Constant Private Type reference (TYPE) CSI_STRING 'Content-Length' CSI String 20091221
3 MC_CONTENT_RANGE Constant Private Type reference (TYPE) CSI_STRING 'Content-Range' CSI String 20091221
4 MC_CONTENT_TYPE Constant Private Type reference (TYPE) CSI_STRING 'Content-Type' CSI String 20091221
5 MC_NO_CONTENT Constant Private Type reference (TYPE) CSI_INT 204 CSI Integer (4 Byte) 20091222
6 MC_OK Constant Public Type reference (TYPE) CSI_INT 200 CSI Integer (4 Byte) 20091221
7 MC_PARTIAL_CONTENT Constant Private Type reference (TYPE) CSI_INT 206 CSI Integer (4 Byte) 20091221
8 MC_X_AMZ_DATE Constant Private Type reference (TYPE) CSI_STRING 'x-amz-date' CSI String 20091222
9 MT_RFC_BUFFER Static Attribute Private Type reference (TYPE) LTYT_RFC_BUFFER 20091217
10 MT_ZONE_BUFFER Static Attribute Private Type reference (TYPE) CSIT_AWS_BUFFER 20091209
11 MV_ZONE_BUFFER_REGION Static Attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20110303
Methods
# Method Level Visibility Method type Description Created on
1 AWS_URL_ESCAPE Static method Public Method URL Escape a String the way AWS likes it 20091209
2 BUILD_BUFFER Static method Private Method Build Up the Buffer 20091209
3 EC2_DO_REST_CALL Static method Public Method 20091209
4 GET_RFC_DEST Static method Public Method Get the RFC Destination IF Created Already 20091217
5 GET_ZONE_BUFFER Static method Public Method Get the ZONE Buffer 20091209
6 RFC_COPY_DEST Static method Public Method Copy an RFC Destination 20091209
7 RFC_GET_HOSTNAME Static method Public Method Get the Hostname of an RFC Destination 20091209
8 S3_BUCKET_OPERATION Static method Public Method PUT / DELETE a bucket 20091209
9 S3_DO_REST_CALL Static method Public Method 20091209
10 S3_SET_REST_REQUEST Static method Public Method 20091209
Events
Class CL_CSI_PROVIDER_AWS_HELPER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LTYS_RFC_BUFFER Private See coding 20091217 BEGIN OF ltys_rfc_buffer, name TYPE csi_string, dest TYPE rfcdest, END OF ltys_rfc_buffer
2 LTYT_RFC_BUFFER Private See coding 20091217 ltyt_rfc_buffer TYPE HASHED TABLE OF ltys_rfc_buffer WITH UNIQUE KEY name
Method Signatures

Method AWS_URL_ESCAPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_UNESCAPED Call by reference Type reference (TYPE) STRING 20091209
2 Returning RV_ESCAPED Value transfer Type reference (TYPE) STRING 20091209

Method AWS_URL_ESCAPE on class CL_CSI_PROVIDER_AWS_HELPER has no exception.

Method BUILD_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ACCOUNT Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_ACCOUNT_AWS 20091209
2 Importing IO_PROVIDER Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_AWS 20091209
3 Importing IV_FORCE_REBUILD Call by reference Type reference (TYPE) ABAP_BOOL Force Rebuild of the Buffer 20110303
4 Importing IV_REGION Call by reference Type reference (TYPE) CSI_REGION Build only that region 20110727
5 Importing IV_REGION_ONLY Call by reference Type reference (TYPE) ABAP_BOOL Build the Regions and nothing else 20110303
# Exception Resumable Description Created on
1 CX_CSI_NODE 20091209

Method EC2_DO_REST_CALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CDATA Call by reference Type reference (TYPE) STRING 20091209
2 Exporting EV_CODE Call by reference Type reference (TYPE) INT4 20091209
3 Exporting EV_DATA Call by reference Type reference (TYPE) XSTRING 20091209
4 Exporting EV_REASON Call by reference Type reference (TYPE) STRING 20091209
5 Importing IO_ACCOUNT Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_ACCOUNT_AWS 20091209
6 Importing IO_PARAMETER Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_AWS_PARAMETER 20091209
7 Importing IV_ACTION Call by reference Type reference (TYPE) STRING 20091209
8 Importing IV_HTTP_DESTINATION Call by reference Type reference (TYPE) RFCDEST 20091209
9 Importing IV_METHOD Call by reference Type reference (TYPE) STRING 20091209
10 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP 20091209
11 Importing IV_URI Call by reference Type reference (TYPE) STRING 20091209
# Exception Resumable Description Created on
1 CX_AI_SYSTEM_FAULT 20091209

Method GET_RFC_DEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DEFAULT Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20091217
2 Importing IV_ENDPOINT Call by reference Type reference (TYPE) RFCHOST_EXT Name of Target Host 20091217
3 Importing IV_NAME Call by reference Type reference (TYPE) CSI_STRING CSI String 20091217
4 Importing IV_OVERWRITE Call by reference Type reference (TYPE) CSI_BOOL CSI Bool Field 20091217
5 Returning RV_RFCDEST Value transfer Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20091217

Method GET_RFC_DEST on class CL_CSI_PROVIDER_AWS_HELPER has no exception.

Method GET_ZONE_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_BUFFER Call by reference Type reference (TYPE) CSIS_AWS_BUFFER 20100201
2 Importing IO_PROVIDER Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_AWS AWS Cloud Provider Implementation 20091209
3 Importing IV_REGION Call by reference Type reference (TYPE) CSI_REGION Looking for a specific region only 20110727
4 Importing IV_REGION_ONLY Call by reference Type reference (TYPE) ABAP_BOOL 20110303

Method GET_ZONE_BUFFER on class CL_CSI_PROVIDER_AWS_HELPER has no exception.

Method RFC_COPY_DEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_HOSTNAME Call by reference Type reference (TYPE) RFCHOST_EXT 20091209
2 Importing IV_NAME Call by reference Type reference (TYPE) CSI_STRING CSI String 20091217
3 Importing IV_NEW Call by reference Type reference (TYPE) RFCDEST 20091209
4 Importing IV_OLD Call by reference Type reference (TYPE) RFCDEST 20091209

Method RFC_COPY_DEST on class CL_CSI_PROVIDER_AWS_HELPER has no exception.

Method RFC_GET_HOSTNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RFC_DEST Call by reference Type reference (TYPE) RFCDEST 20091209
2 Returning RV_HOSTNAME Value transfer Type reference (TYPE) RFCHOST_EXT 20091209

Method RFC_GET_HOSTNAME on class CL_CSI_PROVIDER_AWS_HELPER has no exception.

Method S3_BUCKET_OPERATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CODE Call by reference Type reference (TYPE) CSI_INT CSI Integer (4 Byte) 20091221
2 Exporting EV_REASON Call by reference Type reference (TYPE) CSI_STRING CSI String 20091221
3 Importing IO_ACCOUNT Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_ACCOUNT_AWS 20091209
4 Importing IV_BUCKET Call by reference Type reference (TYPE) STRING 20091209
5 Importing IV_DELETE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20091209
6 Importing IV_HTTP_DESTINATION Call by reference Type reference (TYPE) RFCDEST 20091209
7 Importing IV_LOGICALPORTNAME Call by reference Type reference (TYPE) PRX_LOGICAL_PORT_NAME 20091209
8 Importing IV_QUERYTYPE Call by reference Type reference (TYPE) CSI_SERVICE_QUERYTYPE IF_CSI_SERVICE_C=>QUERYTYPE_REST 20091209
# Exception Resumable Description Created on
1 CX_AI_APPLICATION_FAULT 20091209
2 CX_AI_SYSTEM_FAULT 20091209

Method S3_DO_REST_CALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RESPONSE_HEADER_FIELDS Call by reference Type reference (TYPE) TIHTTPNVP 20091209
2 Exporting EV_CDATA Call by reference Type reference (TYPE) STRING 20091209
3 Exporting EV_CODE Call by reference Type reference (TYPE) INT4 20091209
4 Exporting EV_DATA Call by reference Type reference (TYPE) XSTRING 20091209
5 Exporting EV_REASON Call by reference Type reference (TYPE) STRING 20091209
6 Importing IO_ACCOUNT Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_ACCOUNT_AWS 20091209
7 Importing IT_REQUEST_HEADER_FIELDS Call by reference Type reference (TYPE) TIHTTPNVP 20091209
8 Importing IV_BUCKET Call by reference Type reference (TYPE) STRING 20100215
9 Importing IV_CDATA Call by reference Type reference (TYPE) STRING 20091209
10 Importing IV_CONTENT_MD5 Call by reference Type reference (TYPE) STRING 20091209
11 Importing IV_CONTENT_TYPE Call by reference Type reference (TYPE) STRING 20091209
12 Importing IV_DATA Call by reference Type reference (TYPE) XSTRING 20091209
13 Importing IV_HTTP_DESTINATION Call by reference Type reference (TYPE) RFCDEST 20091209
14 Importing IV_METHOD Call by reference Type reference (TYPE) STRING 20091209
15 Importing IV_RAISE_EXCEPTION Call by reference Type reference (TYPE) CSI_BOOL ABAP_TRUE CSI Bool Field 20100215
16 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP 20091209
17 Importing IV_URI Call by reference Type reference (TYPE) STRING 20091209
# Exception Resumable Description Created on
1 CX_AI_SYSTEM_FAULT 20091209

Method S3_SET_REST_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_REQUEST Call by reference Object reference (TYPE REF TO) IF_HTTP_REQUEST 20091209
2 Importing IO_ACCOUNT Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_ACCOUNT_AWS 20091209
3 Importing IT_ADDITIONAL_HEADER Call by reference Type reference (TYPE) TIHTTPNVP HTTP Framework (iHTTP) Table Name/Value Pairs 20091222
4 Importing IV_BUCKET Call by reference Type reference (TYPE) STRING 20100215
5 Importing IV_CONTENT_MD5 Call by reference Type reference (TYPE) STRING 20091209
6 Importing IV_CONTENT_TYPE Call by reference Type reference (TYPE) STRING 20091209
7 Importing IV_METHOD Call by reference Type reference (TYPE) STRING 20091209
8 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP 20091209
9 Importing IV_URI Call by reference Type reference (TYPE) STRING 20091209

Method S3_SET_REST_REQUEST on class CL_CSI_PROVIDER_AWS_HELPER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 702