Region Property
The region the class will make requests against.
Syntax
ANSI (Cross Platform) char* GetRegion();
int SetRegion(const char* lpszRegion); Unicode (Windows) LPWSTR GetRegion();
INT SetRegion(LPCWSTR lpszRegion);
@property (nonatomic,readwrite,assign,getter=region,setter=setRegion:) NSString* region; - (NSString*)region; - (void)setRegion:(NSString*)newRegion;
#define PID_WASABI_REGION 77 IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_Wasabi_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_Wasabi_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
"us-east-1"
Remarks
This property control which region the class will make requests against. By default the class uses us-east-1, the US East (Ashburn, VA) region. This property should be changed to create or access resources in other regions.
Regions:
Value | Region |
eu-central-1 | Europe (Amsterdam) |
us-east-1 (Default) | US East (Ashburn, VA) |
us-east-2 | US East (Manassas, VA) |
us-west-1 | US West (Hillsboro, OR) |
The class will always convert this property's value to lowercase. If this property is cleared, the class will reset it to the default value.
Data Type
String