SAP ABAP Class CL_CSI_NODE_AWS (CSI AWS Node: EC2 Instance)
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
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_CSI_NODE CSI Node 20100315
Properties
Class CL_CSI_NODE_AWS  
Short Description CSI AWS Node: EC2 Instance    
Super Class CL_CSI_NODE CSI Node 
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CSI_PROVIDER_AWS   Cloud Service Provider: AWS 
Created 20091117   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_CSI_NODE_AWS has no forward declaration.
Interfaces
Class CL_CSI_NODE_AWS has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_CSI_NODE 20100316 CSI Node
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_AWS_INITIAL Constant Private Type reference (TYPE) CSI_INT -1 CSI Integer (4 Byte) 20100225
2 LC_NO_UPDATE Constant Private Type reference (TYPE) CSI_INT 511 CSI Integer (4 Byte) 20091118
3 LC_UPDATED Constant Private Type reference (TYPE) CSI_INT 0 CSI Integer (4 Byte) 20091118
4 MC_OK Constant Public Type reference (TYPE) CSI_INT 200 CSI Integer (4 Byte) 20100226
5 MO_AWS_ACCOUNT Instance attribute Private Object reference (TYPE REF TO) CL_CSI_PROVIDER_ACCOUNT_AWS 20100316
6 MO_AWS_PROVIDER Instance attribute Private Object reference (TYPE REF TO) CL_CSI_PROVIDER_AWS 20100316
7 MS_AWS_NODE Instance attribute Private Type reference (TYPE) CSIS_AWS_RUNNINGINSTANCES_ITEM CSI AWS Running Instances Item 20091118
8 MT_EBS Instance attribute Private Type reference (TYPE) CSIT_AWS_EBS_VOLUME_ID CSI AWS Volume ID 20100225
9 ST_NODES Static Attribute Private Type reference (TYPE) CSIT_NODE_OBJ CSI Node Object Table 20091118
10 SV_LAST_LIST_CHECK Static Attribute Private Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20091118
Methods
# Method Level Visibility Method type Description Created on
1 AWS_STATE_TO_CSI Static method Private Method Convert the AWS-State Info to the CSI State 20100111
2 CALL_PROVIDER Static method Private Method Call the Node Provider with the given Parameters 20100316
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20100316
4 DESCRIBE_ADDRESSES Static method Public Method Describe available Elastic IPs 20100226
5 DESCRIBE_AVAILABILITYZONES Static method Public Method Describe Availability Zones 20091208
6 DESCRIBE_IMAGES Static method Public Method Describe available Images 20091209
7 DESCRIBE_INSTANCES Static method Private Method Describe running Instances 20091118
8 DESCRIBE_KEYPAIRS Static method Public Method Describe available Key Pairs 20091208
9 DESCRIBE_METHOD Static method Private Method Describe 20091208
10 DESCRIBE_REGIONS Static method Public Method Describe available Regions 20091208
11 DESCRIBE_SECURITYGROUPS Static method Public Method Describe available Security Groups 20091208
12 DESCRIBE_SUBNETS Static method Public Method Describe available Subnets 20110726
13 DESCRIBE_VOLUMES Static method Public Method Describe available Volumes 20100226
14 INSTANCE_TO_ME Instance method Private Method Move Instance Data to my own Data 20091218
15 INSTANCE_TO_NODE Static method Private Method Move the Data from AWS Instance to IF_CSI_NODE 20091218
16 REFRESH_TRANSFORM Static method Private Method Transform the Result of the Refresh Call 20100316
17 SET_IF_NODE_INFO Instance method Private Method Set the required interface node infos 20091118
Events
Class CL_CSI_NODE_AWS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTYS_INST_REGION Private See coding 20100316 BEGIN OF gtys_inst_region, region TYPE csi_region, reservation TYPE csit_aws_reservation_info_item, END OF gtys_inst_region
2 GTYS_LIST_PARAMETER Private See coding 20100316 BEGIN OF gtys_list_parameter, inst_region TYPE gtyt_inst_region, filter_status TYPE csi_node_status, END OF gtys_list_parameter
3 GTYT_INST_REGION Private See coding 20100316 gtyt_inst_region TYPE HASHED TABLE OF gtys_inst_region WITH UNIQUE KEY region
Method Signatures

Method AWS_STATE_TO_CSI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_AWS_STATE Call by reference Type reference (TYPE) CSI_INT CSI Integer (4 Byte) 20100111
2 Returning RV_STATE Value transfer Type reference (TYPE) CSI_NODE_STATUS CSI Node Status 20100111

Method AWS_STATE_TO_CSI on class CL_CSI_NODE_AWS has no exception.

Method CALL_PROVIDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CR_ADD_DATA Call by reference Object reference (TYPE REF TO) DATA 20100316
2 Exporting EV_CDATA Call by reference Type reference (TYPE) CSI_STRING CSI String 20100316
3 Exporting EV_CODE Call by reference Type reference (TYPE) CSI_INT CSI Integer (4 Byte) 20100316
4 Exporting EV_DATA Call by reference Type reference (TYPE) XSTRING 20100316
5 Exporting EV_REASON Call by reference Type reference (TYPE) CSI_STRING CSI String 20100316
6 Importing IO_ACCOUNT Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_ACCOUNT_AWS CSI AWS Cloud Provider Account 20100316
7 Importing IO_PROVIDER Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_AWS CSI AWS Cloud Provider Implementation 20100316
8 Importing IT_PARAMETER Call by reference Type reference (TYPE) CSIT_PARAMETER CSI Parameter Table 20100316
9 Importing IV_ACTION Call by reference Type reference (TYPE) CSI_NODE_ACTION CSI Node Action 20100316
10 Importing IV_HTTP_DESTINATION Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20100316
11 Importing IV_REGION Call by reference Type reference (TYPE) CSI_REGION CSI Region 20100316
# Exception Resumable Description Created on
1 CX_CSI_NODE CSI Node Exceptions 20100316

Method CONSTRUCTOR 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 CSI Cloud Provider Account 20100316
2 Importing IO_PROVIDER Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER CSI Cloud Service Provider 20100316
3 Importing IS_NODE Call by reference Type reference (TYPE) CSIS_NODE CSI Cloud Node 20100316

Method CONSTRUCTOR on class CL_CSI_NODE_AWS has no exception.

Method DESCRIBE_ADDRESSES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_LAST_CHECK Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20100226
2 Exporting ET_ADDRESSES Call by reference Type reference (TYPE) CSIT_AWS_ADDRESS_ITEM CSI AWS Key Pair Item 20100226
3 Exporting EV_CODE Call by reference Type reference (TYPE) CSI_INT CSI Integer (4 Byte) 20100226
4 Importing IO_ACCOUNT Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_ACCOUNT_AWS CSI AWS Cloud Provider Account 20100226
5 Importing IO_PROVIDER Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_AWS CSI AWS Cloud Provider Implementation 20100226
6 Importing IV_HTTP_DESTINATION Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20100226
# Exception Resumable Description Created on
1 CX_CSI_NODE CSI Node Exceptions 20100226

Method DESCRIBE_AVAILABILITYZONES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_LAST_CHECK Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20091208
2 Exporting ET_AVAILABILITYZONES Call by reference Type reference (TYPE) CSIT_AWS_AVAILABILITYZONE_ITEM CSI AWS Availability Zone Item 20091208
3 Exporting EV_CODE Call by reference Type reference (TYPE) CSI_INT CSI Integer (4 Byte) 20091208
4 Importing IO_ACCOUNT Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_ACCOUNT_AWS AWS Cloud Provider Account 20091208
5 Importing IO_PROVIDER Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_AWS AWS Cloud Provider Implementation 20091208
6 Importing IV_HTTP_DESTINATION Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20091208
# Exception Resumable Description Created on
1 CX_CSI_NODE CSI Node Exceptions 20091208

Method DESCRIBE_IMAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_LAST_CHECK Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20091209
2 Exporting ET_IMAGES Call by reference Type reference (TYPE) CSIT_AWS_IMAGE_ITEM CSI AWS Image Item Table 20091209
3 Exporting EV_CODE Call by reference Type reference (TYPE) CSI_INT CSI Integer (4 Byte) 20091209
4 Importing IO_ACCOUNT Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_ACCOUNT_AWS AWS Cloud Provider Account 20091209
5 Importing IO_PROVIDER Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_AWS AWS Cloud Provider Implementation 20091209
6 Importing IV_EXECUTABLE_BY Call by reference Type reference (TYPE) CSI_STRING CSI String 20091209
7 Importing IV_HTTP_DESTINATION Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20091209
8 Importing IV_OWNER Call by reference Type reference (TYPE) CSI_STRING CSI String 20091209
# Exception Resumable Description Created on
1 CX_CSI_NODE CSI Node Exceptions 20091209

Method DESCRIBE_INSTANCES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_LAST_CHECK Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20091118
2 Exporting ES_RESERVATION Call by reference Type reference (TYPE) CSIS_AWS_RESERVATION_INFO_ITEM CSI AWS Reservation Info Set Item 20100111
3 Exporting ET_RESERVATION Call by reference Type reference (TYPE) CSIT_AWS_RESERVATION_INFO_ITEM CSI AWS Running Instances Item 20100111
4 Exporting EV_CODE Call by reference Type reference (TYPE) CSI_INT Return Code 20091118
5 Importing IO_ACCOUNT Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_ACCOUNT_AWS AWS Cloud Provider Account 20091118
6 Importing IO_PROVIDER Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_AWS CSI Cloud Service Provider 20091118
7 Importing IV_NAME Call by reference Type reference (TYPE) CSI_DESCRIPTION CSI Cloud Node Identifier 20110718
8 Importing IV_REGION Call by reference Type reference (TYPE) CSI_REGION CSI Region 20091217
# Exception Resumable Description Created on
1 CX_CSI_NODE CSI Node Exceptions 20091118

Method DESCRIBE_KEYPAIRS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_LAST_CHECK Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20091208
2 Exporting ET_KEYPAIRS Call by reference Type reference (TYPE) CSIT_AWS_KEY_PAIR_ITEM CSI AWS Key Pair Item 20091208
3 Exporting EV_CODE Call by reference Type reference (TYPE) CSI_INT CSI Integer (4 Byte) 20091208
4 Importing IO_ACCOUNT Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_ACCOUNT_AWS AWS Cloud Provider Account 20091208
5 Importing IO_PROVIDER Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_AWS AWS Cloud Provider Implementation 20091208
6 Importing IV_HTTP_DESTINATION Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20091208
# Exception Resumable Description Created on
1 CX_CSI_NODE CSI Node Exceptions 20091208

Method DESCRIBE_METHOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_LAST_CHECK Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20091208
2 Exporting EV_CODE Call by reference Type reference (TYPE) CSI_INT CSI Integer (4 Byte) 20091208
3 Exporting EV_DATA Call by reference Type reference (TYPE) XSTRING 20091208
4 Exporting EV_REASON Call by reference Type reference (TYPE) STRING CSI String 20091208
5 Importing IO_ACCOUNT Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_ACCOUNT_AWS AWS Cloud Provider Account 20091208
6 Importing IO_PARAMETER Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_AWS_PARAMETER AWS Parameter class 20091209
7 Importing IV_COMMAND Call by reference Type reference (TYPE) STRING 20091208
8 Importing IV_HTTP_DESTINATION Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20091208
# Exception Resumable Description Created on
1 CX_CSI_NODE CSI Node Exceptions 20091208

Method DESCRIBE_REGIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_LAST_CHECK Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20091208
2 Exporting ET_REGIONS Call by reference Type reference (TYPE) CSIT_AWS_REGION_ITEM CSI AWS Region Item Table 20091208
3 Exporting EV_CODE Call by reference Type reference (TYPE) CSI_INT CSI Integer (4 Byte) 20091208
4 Importing IO_ACCOUNT Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_ACCOUNT_AWS AWS Cloud Provider Account 20091208
5 Importing IO_PROVIDER Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_AWS AWS Cloud Provider Implementation 20091208
6 Importing IV_HTTP_DESTINATION Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20091208
# Exception Resumable Description Created on
1 CX_CSI_NODE CSI Node Exceptions 20091208

Method DESCRIBE_SECURITYGROUPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_LAST_CHECK Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20091208
2 Exporting ET_SECURITYGROUPS Call by reference Type reference (TYPE) CSIT_AWS_SECURITY_GROUP_ITEM CSI AWS Security Group Item Table 20091208
3 Exporting EV_CODE Call by reference Type reference (TYPE) CSI_INT CSI Integer (4 Byte) 20091208
4 Importing IO_ACCOUNT Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_ACCOUNT_AWS AWS Cloud Provider Account 20091208
5 Importing IO_PROVIDER Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_AWS AWS Cloud Provider Implementation 20091208
6 Importing IV_HTTP_DESTINATION Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20091208
# Exception Resumable Description Created on
1 CX_CSI_NODE CSI Node Exceptions 20091208

Method DESCRIBE_SUBNETS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_LAST_CHECK Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20110726
2 Exporting ET_SUBNETS Call by reference Type reference (TYPE) CSIT_AWS_SUBNET_ITEM CSI AWS Volume Item Table 20110726
3 Exporting EV_CODE Call by reference Type reference (TYPE) CSI_INT CSI Integer (4 Byte) 20110726
4 Importing IO_ACCOUNT Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_ACCOUNT_AWS CSI AWS Cloud Provider Account 20110726
5 Importing IO_PROVIDER Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_AWS CSI AWS Cloud Provider Implementation 20110726
6 Importing IV_HTTP_DESTINATION Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20110726
# Exception Resumable Description Created on
1 CX_CSI_NODE CSI Node Exceptions 20110726

Method DESCRIBE_VOLUMES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_LAST_CHECK Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20100226
2 Exporting ET_VOLUMES Call by reference Type reference (TYPE) CSIT_AWS_VOLUME_ITEM CSI AWS Volume Item Table 20100226
3 Exporting EV_CODE Call by reference Type reference (TYPE) CSI_INT CSI Integer (4 Byte) 20100226
4 Importing IO_ACCOUNT Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_ACCOUNT_AWS CSI AWS Cloud Provider Account 20100226
5 Importing IO_PROVIDER Call by reference Object reference (TYPE REF TO) CL_CSI_PROVIDER_AWS CSI AWS Cloud Provider Implementation 20100226
6 Importing IV_HTTP_DESTINATION Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20100226
# Exception Resumable Description Created on
1 CX_CSI_NODE CSI Node Exceptions 20100226

Method INSTANCE_TO_ME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_INSTANCE Call by reference Type reference (TYPE) CSIS_AWS_RUNNINGINSTANCES_ITEM CSI AWS Running Instances Item 20091218

Method INSTANCE_TO_ME on class CL_CSI_NODE_AWS has no exception.

Method INSTANCE_TO_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_NODE Call by reference Type reference (TYPE) CSIS_NODE CSI Cloud Node 20091218
2 Importing IS_INSTANCE Call by reference Type reference (TYPE) CSIS_AWS_RUNNINGINSTANCES_ITEM CSI AWS Running Instances Item 20091218
3 Importing IV_SECURITY_GROUP Call by reference Type reference (TYPE) CSI_AWS_SECURITY_GROUP CSI AWS Security Group 20091218

Method INSTANCE_TO_NODE on class CL_CSI_NODE_AWS has no exception.

Method REFRESH_TRANSFORM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_RESERVATION Call by reference Type reference (TYPE) CSIS_AWS_RESERVATION_INFO_ITEM CSI AWS Reservation Info Set Item 20100316
2 Exporting ET_RESERVATION Call by reference Type reference (TYPE) CSIT_AWS_RESERVATION_INFO_ITEM CSI AWS Reservation Info Item 20100316
3 Importing IV_CDATA Call by reference Type reference (TYPE) CSI_STRING 20100316
4 Importing IV_CODE Call by reference Type reference (TYPE) CSI_INT 20100316
5 Importing IV_DATA Call by reference Type reference (TYPE) XSTRING 20100316
6 Importing IV_NAME Call by reference Type reference (TYPE) CSI_DESCRIPTION CSI Cloud Node Identifier 20110718
7 Importing IV_REASON Call by reference Type reference (TYPE) CSI_STRING 20100316
# Exception Resumable Description Created on
1 CX_CSI_NODE CSI Node Exceptions 20100316

Method SET_IF_NODE_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ID Call by reference Type reference (TYPE) CSI_NODE_ID CSI Cloud Node Identifier 20091118
2 Importing IV_NAME Call by reference Type reference (TYPE) CSI_DESCRIPTION CSI Description 20091118
3 Importing IV_PRIVATE_HOST Call by reference Type reference (TYPE) CSI_STRING CSI String 20091118
4 Importing IV_PRIVATE_IP Call by reference Type reference (TYPE) CSI_IP_ADDRESS CSI String 20091118
5 Importing IV_PUBLIC_HOST Call by reference Type reference (TYPE) CSI_STRING CSI String 20091118
6 Importing IV_PUBLIC_IP Call by reference Type reference (TYPE) CSI_IP_ADDRESS CSI String 20091118
7 Importing IV_REGION Call by reference Type reference (TYPE) CSI_REGION CSI Region 20091214

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