AWS SDK for C++  1.9.71
AWS SDK for C++
Region.h
Go to the documentation of this file.
1 
6 #pragma once
7 
9 
11 
12 namespace Aws
13 {
17  namespace Region
18  {
19  // AWS_GLOBAL is a pseudo region that can be used to tell SDK to use the service global endpoint if there is any.
20  // You can specify this region to corresponding environment variable, config file item and in your code.
21  // For services without global region, the request will be directed to us-east-1
22  static const char AWS_GLOBAL[] = "aws-global";
23  static const char US_EAST_1[] = "us-east-1";
24  static const char US_EAST_2[] = "us-east-2";
25  static const char US_WEST_1[] = "us-west-1";
26  static const char US_WEST_2[] = "us-west-2";
27  static const char AF_SOUTH_1[] = "af-south-1";
28  static const char EU_WEST_1[] = "eu-west-1";
29  static const char EU_WEST_2[] = "eu-west-2";
30  static const char EU_WEST_3[] = "eu-west-3";
31  static const char EU_CENTRAL_1[] = "eu-central-1";
32  static const char EU_NORTH_1[] = "eu-north-1";
33  static const char AP_EAST_1[] = "ap-east-1";
34  static const char AP_SOUTH_1[] = "ap-south-1";
35  static const char AP_SOUTHEAST_1[] = "ap-southeast-1";
36  static const char AP_SOUTHEAST_2[] = "ap-southeast-2";
37  static const char AP_NORTHEAST_1[] = "ap-northeast-1";
38  static const char AP_NORTHEAST_2[] = "ap-northeast-2";
39  static const char AP_NORTHEAST_3[] = "ap-northeast-3";
40  static const char SA_EAST_1[] = "sa-east-1";
41  static const char CA_CENTRAL_1[] = "ca-central-1";
42  static const char CN_NORTH_1[] = "cn-north-1";
43  static const char CN_NORTHWEST_1[] = "cn-northwest-1";
44  static const char ME_SOUTH_1[] = "me-south-1";
45  static const char US_GOV_WEST_1[] = "us-gov-west-1";
46  static const char US_GOV_EAST_1[] = "us-gov-east-1";
47 
48  // If a pseudo region, for example, aws-global or us-east-1-fips is provided, it should be converted to the region name used for signing.
50 
51  // A FIPs region starts with "fips-" or ends with "-fips".
52  bool AWS_CORE_API IsFipsRegion(const Aws::String& region);
53  }
54 
55 } // namespace Aws
56 
AWS_CORE_API
#define AWS_CORE_API
Definition: Core_EXPORTS.h:25
Aws::Region::CA_CENTRAL_1
static const char CA_CENTRAL_1[]
Definition: Region.h:41
Aws::Region::CN_NORTHWEST_1
static const char CN_NORTHWEST_1[]
Definition: Region.h:43
Aws::Region::EU_CENTRAL_1
static const char EU_CENTRAL_1[]
Definition: Region.h:31
Aws::Region::CN_NORTH_1
static const char CN_NORTH_1[]
Definition: Region.h:42
Aws::Region::AWS_GLOBAL
static const char AWS_GLOBAL[]
Definition: Region.h:22
Aws::Region::US_GOV_WEST_1
static const char US_GOV_WEST_1[]
Definition: Region.h:45
Aws::Region::US_WEST_2
static const char US_WEST_2[]
Definition: Region.h:26
Aws::Region::EU_WEST_3
static const char EU_WEST_3[]
Definition: Region.h:30
Aws::Region::AP_NORTHEAST_3
static const char AP_NORTHEAST_3[]
Definition: Region.h:39
Aws::Region::US_EAST_2
static const char US_EAST_2[]
Definition: Region.h:24
Aws::Region::ComputeSignerRegion
Aws::String AWS_CORE_API ComputeSignerRegion(const Aws::String &region)
Aws::Region::IsFipsRegion
bool AWS_CORE_API IsFipsRegion(const Aws::String &region)
Aws::Region::ME_SOUTH_1
static const char ME_SOUTH_1[]
Definition: Region.h:44
Aws::Region::US_EAST_1
static const char US_EAST_1[]
Definition: Region.h:23
AWSString.h
Aws::Region::AP_NORTHEAST_1
static const char AP_NORTHEAST_1[]
Definition: Region.h:37
Aws::Region::AP_SOUTHEAST_2
static const char AP_SOUTHEAST_2[]
Definition: Region.h:36
Core_EXPORTS.h
Aws::Region::AP_SOUTHEAST_1
static const char AP_SOUTHEAST_1[]
Definition: Region.h:35
Aws
Definition: AccessManagementClient.h:15
Aws::Region::SA_EAST_1
static const char SA_EAST_1[]
Definition: Region.h:40
Aws::Region::EU_WEST_1
static const char EU_WEST_1[]
Definition: Region.h:28
Aws::Region::AF_SOUTH_1
static const char AF_SOUTH_1[]
Definition: Region.h:27
Aws::Region::US_GOV_EAST_1
static const char US_GOV_EAST_1[]
Definition: Region.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Region::AP_SOUTH_1
static const char AP_SOUTH_1[]
Definition: Region.h:34
Aws::Region::US_WEST_1
static const char US_WEST_1[]
Definition: Region.h:25
Aws::Region::AP_NORTHEAST_2
static const char AP_NORTHEAST_2[]
Definition: Region.h:38
Aws::Region::EU_NORTH_1
static const char EU_NORTH_1[]
Definition: Region.h:32
Aws::Region::EU_WEST_2
static const char EU_WEST_2[]
Definition: Region.h:29
Aws::Region::AP_EAST_1
static const char AP_EAST_1[]
Definition: Region.h:33