|
@@ -47,6 +47,7 @@ const (
|
|
|
ApigatewayServiceID = "apigateway"
|
|
|
ApplicationAutoscalingServiceID = "application-autoscaling"
|
|
|
Appstream2ServiceID = "appstream2"
|
|
|
+ AthenaServiceID = "athena"
|
|
|
AutoscalingServiceID = "autoscaling"
|
|
|
BatchServiceID = "batch"
|
|
|
BudgetsServiceID = "budgets"
|
|
@@ -60,6 +61,7 @@ const (
|
|
|
CodecommitServiceID = "codecommit"
|
|
|
CodedeployServiceID = "codedeploy"
|
|
|
CodepipelineServiceID = "codepipeline"
|
|
|
+ CodestarServiceID = "codestar"
|
|
|
CognitoIdentityServiceID = "cognito-identity"
|
|
|
CognitoIdpServiceID = "cognito-idp"
|
|
|
CognitoSyncServiceID = "cognito-sync"
|
|
@@ -83,11 +85,13 @@ const (
|
|
|
ElasticmapreduceServiceID = "elasticmapreduce"
|
|
|
ElastictranscoderServiceID = "elastictranscoder"
|
|
|
EmailServiceID = "email"
|
|
|
+ EntitlementMarketplaceServiceID = "entitlement.marketplace"
|
|
|
EsServiceID = "es"
|
|
|
EventsServiceID = "events"
|
|
|
FirehoseServiceID = "firehose"
|
|
|
GameliftServiceID = "gamelift"
|
|
|
GlacierServiceID = "glacier"
|
|
|
+ GreengrassServiceID = "greengrass"
|
|
|
HealthServiceID = "health"
|
|
|
IamServiceID = "iam"
|
|
|
ImportexportServiceID = "importexport"
|
|
@@ -103,6 +107,7 @@ const (
|
|
|
MarketplacecommerceanalyticsServiceID = "marketplacecommerceanalytics"
|
|
|
MeteringMarketplaceServiceID = "metering.marketplace"
|
|
|
MobileanalyticsServiceID = "mobileanalytics"
|
|
|
+ ModelsLexServiceID = "models.lex"
|
|
|
MonitoringServiceID = "monitoring"
|
|
|
MturkRequesterServiceID = "mturk-requester"
|
|
|
OpsworksServiceID = "opsworks"
|
|
@@ -142,17 +147,20 @@ const (
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+func DefaultResolver() Resolver {
|
|
|
+ return defaultPartitions
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
-func DefaultResolver() Resolver {
|
|
|
- return defaultPartitions
|
|
|
+func DefaultPartitions() []Partition {
|
|
|
+ return defaultPartitions.Partitions()
|
|
|
}
|
|
|
|
|
|
var defaultPartitions = partitions{
|
|
@@ -256,6 +264,7 @@ var awsPartition = partition{
|
|
|
"eu-central-1": endpoint{},
|
|
|
"eu-west-1": endpoint{},
|
|
|
"eu-west-2": endpoint{},
|
|
|
+ "sa-east-1": endpoint{},
|
|
|
"us-east-1": endpoint{},
|
|
|
"us-east-2": endpoint{},
|
|
|
"us-west-1": endpoint{},
|
|
@@ -301,6 +310,14 @@ var awsPartition = partition{
|
|
|
"us-west-2": endpoint{},
|
|
|
},
|
|
|
},
|
|
|
+ "athena": service{
|
|
|
+
|
|
|
+ Endpoints: endpoints{
|
|
|
+ "us-east-1": endpoint{},
|
|
|
+ "us-east-2": endpoint{},
|
|
|
+ "us-west-2": endpoint{},
|
|
|
+ },
|
|
|
+ },
|
|
|
"autoscaling": service{
|
|
|
Defaults: endpoint{
|
|
|
Protocols: []string{"http", "https"},
|
|
@@ -325,7 +342,10 @@ var awsPartition = partition{
|
|
|
"batch": service{
|
|
|
|
|
|
Endpoints: endpoints{
|
|
|
- "us-east-1": endpoint{},
|
|
|
+ "ap-northeast-1": endpoint{},
|
|
|
+ "eu-west-1": endpoint{},
|
|
|
+ "us-east-1": endpoint{},
|
|
|
+ "us-west-2": endpoint{},
|
|
|
},
|
|
|
},
|
|
|
"budgets": service{
|
|
@@ -347,6 +367,7 @@ var awsPartition = partition{
|
|
|
"ap-southeast-1": endpoint{},
|
|
|
"ap-southeast-2": endpoint{},
|
|
|
"eu-west-1": endpoint{},
|
|
|
+ "eu-west-2": endpoint{},
|
|
|
"us-east-1": endpoint{},
|
|
|
"us-east-2": endpoint{},
|
|
|
"us-west-2": endpoint{},
|
|
@@ -450,10 +471,18 @@ var awsPartition = partition{
|
|
|
"codecommit": service{
|
|
|
|
|
|
Endpoints: endpoints{
|
|
|
- "eu-west-1": endpoint{},
|
|
|
- "us-east-1": endpoint{},
|
|
|
- "us-east-2": endpoint{},
|
|
|
- "us-west-2": endpoint{},
|
|
|
+ "ap-northeast-1": endpoint{},
|
|
|
+ "ap-northeast-2": endpoint{},
|
|
|
+ "ap-southeast-1": endpoint{},
|
|
|
+ "ap-southeast-2": endpoint{},
|
|
|
+ "eu-central-1": endpoint{},
|
|
|
+ "eu-west-1": endpoint{},
|
|
|
+ "eu-west-2": endpoint{},
|
|
|
+ "sa-east-1": endpoint{},
|
|
|
+ "us-east-1": endpoint{},
|
|
|
+ "us-east-2": endpoint{},
|
|
|
+ "us-west-1": endpoint{},
|
|
|
+ "us-west-2": endpoint{},
|
|
|
},
|
|
|
},
|
|
|
"codedeploy": service{
|
|
@@ -489,11 +518,21 @@ var awsPartition = partition{
|
|
|
"us-west-2": endpoint{},
|
|
|
},
|
|
|
},
|
|
|
+ "codestar": service{
|
|
|
+
|
|
|
+ Endpoints: endpoints{
|
|
|
+ "eu-west-1": endpoint{},
|
|
|
+ "us-east-1": endpoint{},
|
|
|
+ "us-east-2": endpoint{},
|
|
|
+ "us-west-2": endpoint{},
|
|
|
+ },
|
|
|
+ },
|
|
|
"cognito-identity": service{
|
|
|
|
|
|
Endpoints: endpoints{
|
|
|
"ap-northeast-1": endpoint{},
|
|
|
"ap-northeast-2": endpoint{},
|
|
|
+ "ap-south-1": endpoint{},
|
|
|
"ap-southeast-2": endpoint{},
|
|
|
"eu-central-1": endpoint{},
|
|
|
"eu-west-1": endpoint{},
|
|
@@ -508,6 +547,7 @@ var awsPartition = partition{
|
|
|
Endpoints: endpoints{
|
|
|
"ap-northeast-1": endpoint{},
|
|
|
"ap-northeast-2": endpoint{},
|
|
|
+ "ap-south-1": endpoint{},
|
|
|
"ap-southeast-2": endpoint{},
|
|
|
"eu-central-1": endpoint{},
|
|
|
"eu-west-1": endpoint{},
|
|
@@ -522,6 +562,7 @@ var awsPartition = partition{
|
|
|
Endpoints: endpoints{
|
|
|
"ap-northeast-1": endpoint{},
|
|
|
"ap-northeast-2": endpoint{},
|
|
|
+ "ap-south-1": endpoint{},
|
|
|
"ap-southeast-2": endpoint{},
|
|
|
"eu-central-1": endpoint{},
|
|
|
"eu-west-1": endpoint{},
|
|
@@ -620,11 +661,15 @@ var awsPartition = partition{
|
|
|
|
|
|
Endpoints: endpoints{
|
|
|
"ap-northeast-1": endpoint{},
|
|
|
+ "ap-northeast-2": endpoint{},
|
|
|
"ap-southeast-1": endpoint{},
|
|
|
"ap-southeast-2": endpoint{},
|
|
|
+ "ca-central-1": endpoint{},
|
|
|
"eu-central-1": endpoint{},
|
|
|
"eu-west-1": endpoint{},
|
|
|
+ "eu-west-2": endpoint{},
|
|
|
"us-east-1": endpoint{},
|
|
|
+ "us-east-2": endpoint{},
|
|
|
"us-west-2": endpoint{},
|
|
|
},
|
|
|
},
|
|
@@ -836,6 +881,16 @@ var awsPartition = partition{
|
|
|
"us-west-2": endpoint{},
|
|
|
},
|
|
|
},
|
|
|
+ "entitlement.marketplace": service{
|
|
|
+ Defaults: endpoint{
|
|
|
+ CredentialScope: credentialScope{
|
|
|
+ Service: "aws-marketplace",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ Endpoints: endpoints{
|
|
|
+ "us-east-1": endpoint{},
|
|
|
+ },
|
|
|
+ },
|
|
|
"es": service{
|
|
|
|
|
|
Endpoints: endpoints{
|
|
@@ -844,8 +899,10 @@ var awsPartition = partition{
|
|
|
"ap-south-1": endpoint{},
|
|
|
"ap-southeast-1": endpoint{},
|
|
|
"ap-southeast-2": endpoint{},
|
|
|
+ "ca-central-1": endpoint{},
|
|
|
"eu-central-1": endpoint{},
|
|
|
"eu-west-1": endpoint{},
|
|
|
+ "eu-west-2": endpoint{},
|
|
|
"sa-east-1": endpoint{},
|
|
|
"us-east-1": endpoint{},
|
|
|
"us-east-2": endpoint{},
|
|
@@ -913,6 +970,16 @@ var awsPartition = partition{
|
|
|
"us-west-2": endpoint{},
|
|
|
},
|
|
|
},
|
|
|
+ "greengrass": service{
|
|
|
+ IsRegionalized: boxedTrue,
|
|
|
+ Defaults: endpoint{
|
|
|
+ Protocols: []string{"https"},
|
|
|
+ },
|
|
|
+ Endpoints: endpoints{
|
|
|
+ "us-east-1": endpoint{},
|
|
|
+ "us-west-2": endpoint{},
|
|
|
+ },
|
|
|
+ },
|
|
|
"health": service{
|
|
|
|
|
|
Endpoints: endpoints{
|
|
@@ -956,6 +1023,7 @@ var awsPartition = partition{
|
|
|
"ap-southeast-2": endpoint{},
|
|
|
"eu-west-1": endpoint{},
|
|
|
"us-east-1": endpoint{},
|
|
|
+ "us-west-1": endpoint{},
|
|
|
"us-west-2": endpoint{},
|
|
|
},
|
|
|
},
|
|
@@ -1032,9 +1100,11 @@ var awsPartition = partition{
|
|
|
"ap-south-1": endpoint{},
|
|
|
"ap-southeast-1": endpoint{},
|
|
|
"ap-southeast-2": endpoint{},
|
|
|
+ "ca-central-1": endpoint{},
|
|
|
"eu-central-1": endpoint{},
|
|
|
"eu-west-1": endpoint{},
|
|
|
"eu-west-2": endpoint{},
|
|
|
+ "sa-east-1": endpoint{},
|
|
|
"us-east-1": endpoint{},
|
|
|
"us-east-2": endpoint{},
|
|
|
"us-west-1": endpoint{},
|
|
@@ -1044,7 +1114,16 @@ var awsPartition = partition{
|
|
|
"lightsail": service{
|
|
|
|
|
|
Endpoints: endpoints{
|
|
|
- "us-east-1": endpoint{},
|
|
|
+ "ap-northeast-1": endpoint{},
|
|
|
+ "ap-south-1": endpoint{},
|
|
|
+ "ap-southeast-1": endpoint{},
|
|
|
+ "ap-southeast-2": endpoint{},
|
|
|
+ "eu-central-1": endpoint{},
|
|
|
+ "eu-west-1": endpoint{},
|
|
|
+ "eu-west-2": endpoint{},
|
|
|
+ "us-east-1": endpoint{},
|
|
|
+ "us-east-2": endpoint{},
|
|
|
+ "us-west-2": endpoint{},
|
|
|
},
|
|
|
},
|
|
|
"logs": service{
|
|
@@ -1108,6 +1187,16 @@ var awsPartition = partition{
|
|
|
"us-east-1": endpoint{},
|
|
|
},
|
|
|
},
|
|
|
+ "models.lex": service{
|
|
|
+ Defaults: endpoint{
|
|
|
+ CredentialScope: credentialScope{
|
|
|
+ Service: "lex",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ Endpoints: endpoints{
|
|
|
+ "us-east-1": endpoint{},
|
|
|
+ },
|
|
|
+ },
|
|
|
"monitoring": service{
|
|
|
Defaults: endpoint{
|
|
|
Protocols: []string{"http", "https"},
|
|
@@ -1447,10 +1536,13 @@ var awsPartition = partition{
|
|
|
Endpoints: endpoints{
|
|
|
"ap-northeast-1": endpoint{},
|
|
|
"ap-northeast-2": endpoint{},
|
|
|
+ "ap-south-1": endpoint{},
|
|
|
"ap-southeast-1": endpoint{},
|
|
|
"ap-southeast-2": endpoint{},
|
|
|
+ "ca-central-1": endpoint{},
|
|
|
"eu-central-1": endpoint{},
|
|
|
"eu-west-1": endpoint{},
|
|
|
+ "eu-west-2": endpoint{},
|
|
|
"sa-east-1": endpoint{},
|
|
|
"us-east-1": endpoint{},
|
|
|
"us-east-2": endpoint{},
|
|
@@ -1462,6 +1554,7 @@ var awsPartition = partition{
|
|
|
|
|
|
Endpoints: endpoints{
|
|
|
"ap-northeast-1": endpoint{},
|
|
|
+ "ap-southeast-2": endpoint{},
|
|
|
"eu-central-1": endpoint{},
|
|
|
"eu-west-1": endpoint{},
|
|
|
"us-east-1": endpoint{},
|
|
@@ -1474,6 +1567,7 @@ var awsPartition = partition{
|
|
|
Endpoints: endpoints{
|
|
|
"ap-northeast-1": endpoint{},
|
|
|
"ap-northeast-2": endpoint{},
|
|
|
+ "ap-south-1": endpoint{},
|
|
|
"ap-southeast-1": endpoint{},
|
|
|
"ap-southeast-2": endpoint{},
|
|
|
"ca-central-1": endpoint{},
|
|
@@ -1489,7 +1583,7 @@ var awsPartition = partition{
|
|
|
},
|
|
|
"streams.dynamodb": service{
|
|
|
Defaults: endpoint{
|
|
|
- Protocols: []string{"http", "http", "https", "https"},
|
|
|
+ Protocols: []string{"http", "https"},
|
|
|
CredentialScope: credentialScope{
|
|
|
Service: "dynamodb",
|
|
|
},
|
|
@@ -1544,9 +1638,33 @@ var awsPartition = partition{
|
|
|
"eu-west-2": endpoint{},
|
|
|
"sa-east-1": endpoint{},
|
|
|
"us-east-1": endpoint{},
|
|
|
- "us-east-2": endpoint{},
|
|
|
- "us-west-1": endpoint{},
|
|
|
- "us-west-2": endpoint{},
|
|
|
+ "us-east-1-fips": endpoint{
|
|
|
+ Hostname: "sts-fips.us-east-1.amazonaws.com",
|
|
|
+ CredentialScope: credentialScope{
|
|
|
+ Region: "us-east-1",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ "us-east-2": endpoint{},
|
|
|
+ "us-east-2-fips": endpoint{
|
|
|
+ Hostname: "sts-fips.us-east-2.amazonaws.com",
|
|
|
+ CredentialScope: credentialScope{
|
|
|
+ Region: "us-east-2",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ "us-west-1": endpoint{},
|
|
|
+ "us-west-1-fips": endpoint{
|
|
|
+ Hostname: "sts-fips.us-west-1.amazonaws.com",
|
|
|
+ CredentialScope: credentialScope{
|
|
|
+ Region: "us-west-1",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ "us-west-2": endpoint{},
|
|
|
+ "us-west-2-fips": endpoint{
|
|
|
+ Hostname: "sts-fips.us-west-2.amazonaws.com",
|
|
|
+ CredentialScope: credentialScope{
|
|
|
+ Region: "us-west-2",
|
|
|
+ },
|
|
|
+ },
|
|
|
},
|
|
|
},
|
|
|
"support": service{
|
|
@@ -1646,8 +1764,10 @@ var awsPartition = partition{
|
|
|
"ap-south-1": endpoint{},
|
|
|
"ap-southeast-1": endpoint{},
|
|
|
"ap-southeast-2": endpoint{},
|
|
|
+ "ca-central-1": endpoint{},
|
|
|
"eu-central-1": endpoint{},
|
|
|
"eu-west-1": endpoint{},
|
|
|
+ "eu-west-2": endpoint{},
|
|
|
"sa-east-1": endpoint{},
|
|
|
"us-east-1": endpoint{},
|
|
|
"us-east-2": endpoint{},
|
|
@@ -1870,7 +1990,7 @@ var awscnPartition = partition{
|
|
|
},
|
|
|
"streams.dynamodb": service{
|
|
|
Defaults: endpoint{
|
|
|
- Protocols: []string{"http", "http", "https", "https"},
|
|
|
+ Protocols: []string{"http", "https"},
|
|
|
CredentialScope: credentialScope{
|
|
|
Service: "dynamodb",
|
|
|
},
|
|
@@ -1952,6 +2072,12 @@ var awsusgovPartition = partition{
|
|
|
"us-gov-west-1": endpoint{},
|
|
|
},
|
|
|
},
|
|
|
+ "codedeploy": service{
|
|
|
+
|
|
|
+ Endpoints: endpoints{
|
|
|
+ "us-gov-west-1": endpoint{},
|
|
|
+ },
|
|
|
+ },
|
|
|
"config": service{
|
|
|
|
|
|
Endpoints: endpoints{
|
|
@@ -2009,6 +2135,12 @@ var awsusgovPartition = partition{
|
|
|
},
|
|
|
},
|
|
|
},
|
|
|
+ "events": service{
|
|
|
+
|
|
|
+ Endpoints: endpoints{
|
|
|
+ "us-gov-west-1": endpoint{},
|
|
|
+ },
|
|
|
+ },
|
|
|
"glacier": service{
|
|
|
|
|
|
Endpoints: endpoints{
|
|
@@ -2042,6 +2174,12 @@ var awsusgovPartition = partition{
|
|
|
"us-gov-west-1": endpoint{},
|
|
|
},
|
|
|
},
|
|
|
+ "lambda": service{
|
|
|
+
|
|
|
+ Endpoints: endpoints{
|
|
|
+ "us-gov-west-1": endpoint{},
|
|
|
+ },
|
|
|
+ },
|
|
|
"logs": service{
|
|
|
|
|
|
Endpoints: endpoints{
|
|
@@ -2066,6 +2204,12 @@ var awsusgovPartition = partition{
|
|
|
"us-gov-west-1": endpoint{},
|
|
|
},
|
|
|
},
|
|
|
+ "rekognition": service{
|
|
|
+
|
|
|
+ Endpoints: endpoints{
|
|
|
+ "us-gov-west-1": endpoint{},
|
|
|
+ },
|
|
|
+ },
|
|
|
"s3": service{
|
|
|
Defaults: endpoint{
|
|
|
SignatureVersions: []string{"s3", "s3v4"},
|