defaults.go 69 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610
  1. // Code generated by aws/endpoints/v3model_codegen.go. DO NOT EDIT.
  2. package endpoints
  3. import (
  4. "regexp"
  5. )
  6. // Partition identifiers
  7. const (
  8. AwsPartitionID = "aws" // AWS Standard partition.
  9. AwsCnPartitionID = "aws-cn" // AWS China partition.
  10. AwsUsGovPartitionID = "aws-us-gov" // AWS GovCloud (US) partition.
  11. )
  12. // AWS Standard partition's regions.
  13. const (
  14. ApNortheast1RegionID = "ap-northeast-1" // Asia Pacific (Tokyo).
  15. ApNortheast2RegionID = "ap-northeast-2" // Asia Pacific (Seoul).
  16. ApSouth1RegionID = "ap-south-1" // Asia Pacific (Mumbai).
  17. ApSoutheast1RegionID = "ap-southeast-1" // Asia Pacific (Singapore).
  18. ApSoutheast2RegionID = "ap-southeast-2" // Asia Pacific (Sydney).
  19. CaCentral1RegionID = "ca-central-1" // Canada (Central).
  20. EuCentral1RegionID = "eu-central-1" // EU (Frankfurt).
  21. EuWest1RegionID = "eu-west-1" // EU (Ireland).
  22. EuWest2RegionID = "eu-west-2" // EU (London).
  23. EuWest3RegionID = "eu-west-3" // EU (Paris).
  24. SaEast1RegionID = "sa-east-1" // South America (Sao Paulo).
  25. UsEast1RegionID = "us-east-1" // US East (N. Virginia).
  26. UsEast2RegionID = "us-east-2" // US East (Ohio).
  27. UsWest1RegionID = "us-west-1" // US West (N. California).
  28. UsWest2RegionID = "us-west-2" // US West (Oregon).
  29. )
  30. // AWS China partition's regions.
  31. const (
  32. CnNorth1RegionID = "cn-north-1" // China (Beijing).
  33. CnNorthwest1RegionID = "cn-northwest-1" // China (Ningxia).
  34. )
  35. // AWS GovCloud (US) partition's regions.
  36. const (
  37. UsGovWest1RegionID = "us-gov-west-1" // AWS GovCloud (US).
  38. )
  39. // Service identifiers
  40. const (
  41. AcmServiceID = "acm" // Acm.
  42. ApiPricingServiceID = "api.pricing" // ApiPricing.
  43. ApigatewayServiceID = "apigateway" // Apigateway.
  44. ApplicationAutoscalingServiceID = "application-autoscaling" // ApplicationAutoscaling.
  45. Appstream2ServiceID = "appstream2" // Appstream2.
  46. AthenaServiceID = "athena" // Athena.
  47. AutoscalingServiceID = "autoscaling" // Autoscaling.
  48. BatchServiceID = "batch" // Batch.
  49. BudgetsServiceID = "budgets" // Budgets.
  50. ClouddirectoryServiceID = "clouddirectory" // Clouddirectory.
  51. CloudformationServiceID = "cloudformation" // Cloudformation.
  52. CloudfrontServiceID = "cloudfront" // Cloudfront.
  53. CloudhsmServiceID = "cloudhsm" // Cloudhsm.
  54. Cloudhsmv2ServiceID = "cloudhsmv2" // Cloudhsmv2.
  55. CloudsearchServiceID = "cloudsearch" // Cloudsearch.
  56. CloudtrailServiceID = "cloudtrail" // Cloudtrail.
  57. CodebuildServiceID = "codebuild" // Codebuild.
  58. CodecommitServiceID = "codecommit" // Codecommit.
  59. CodedeployServiceID = "codedeploy" // Codedeploy.
  60. CodepipelineServiceID = "codepipeline" // Codepipeline.
  61. CodestarServiceID = "codestar" // Codestar.
  62. CognitoIdentityServiceID = "cognito-identity" // CognitoIdentity.
  63. CognitoIdpServiceID = "cognito-idp" // CognitoIdp.
  64. CognitoSyncServiceID = "cognito-sync" // CognitoSync.
  65. ConfigServiceID = "config" // Config.
  66. CurServiceID = "cur" // Cur.
  67. DatapipelineServiceID = "datapipeline" // Datapipeline.
  68. DaxServiceID = "dax" // Dax.
  69. DevicefarmServiceID = "devicefarm" // Devicefarm.
  70. DirectconnectServiceID = "directconnect" // Directconnect.
  71. DiscoveryServiceID = "discovery" // Discovery.
  72. DmsServiceID = "dms" // Dms.
  73. DsServiceID = "ds" // Ds.
  74. DynamodbServiceID = "dynamodb" // Dynamodb.
  75. Ec2ServiceID = "ec2" // Ec2.
  76. Ec2metadataServiceID = "ec2metadata" // Ec2metadata.
  77. EcrServiceID = "ecr" // Ecr.
  78. EcsServiceID = "ecs" // Ecs.
  79. ElasticacheServiceID = "elasticache" // Elasticache.
  80. ElasticbeanstalkServiceID = "elasticbeanstalk" // Elasticbeanstalk.
  81. ElasticfilesystemServiceID = "elasticfilesystem" // Elasticfilesystem.
  82. ElasticloadbalancingServiceID = "elasticloadbalancing" // Elasticloadbalancing.
  83. ElasticmapreduceServiceID = "elasticmapreduce" // Elasticmapreduce.
  84. ElastictranscoderServiceID = "elastictranscoder" // Elastictranscoder.
  85. EmailServiceID = "email" // Email.
  86. EntitlementMarketplaceServiceID = "entitlement.marketplace" // EntitlementMarketplace.
  87. EsServiceID = "es" // Es.
  88. EventsServiceID = "events" // Events.
  89. FirehoseServiceID = "firehose" // Firehose.
  90. GameliftServiceID = "gamelift" // Gamelift.
  91. GlacierServiceID = "glacier" // Glacier.
  92. GlueServiceID = "glue" // Glue.
  93. GreengrassServiceID = "greengrass" // Greengrass.
  94. HealthServiceID = "health" // Health.
  95. IamServiceID = "iam" // Iam.
  96. ImportexportServiceID = "importexport" // Importexport.
  97. InspectorServiceID = "inspector" // Inspector.
  98. IotServiceID = "iot" // Iot.
  99. KinesisServiceID = "kinesis" // Kinesis.
  100. KinesisanalyticsServiceID = "kinesisanalytics" // Kinesisanalytics.
  101. KmsServiceID = "kms" // Kms.
  102. LambdaServiceID = "lambda" // Lambda.
  103. LightsailServiceID = "lightsail" // Lightsail.
  104. LogsServiceID = "logs" // Logs.
  105. MachinelearningServiceID = "machinelearning" // Machinelearning.
  106. MarketplacecommerceanalyticsServiceID = "marketplacecommerceanalytics" // Marketplacecommerceanalytics.
  107. MeteringMarketplaceServiceID = "metering.marketplace" // MeteringMarketplace.
  108. MghServiceID = "mgh" // Mgh.
  109. MobileanalyticsServiceID = "mobileanalytics" // Mobileanalytics.
  110. ModelsLexServiceID = "models.lex" // ModelsLex.
  111. MonitoringServiceID = "monitoring" // Monitoring.
  112. MturkRequesterServiceID = "mturk-requester" // MturkRequester.
  113. OpsworksServiceID = "opsworks" // Opsworks.
  114. OpsworksCmServiceID = "opsworks-cm" // OpsworksCm.
  115. OrganizationsServiceID = "organizations" // Organizations.
  116. PinpointServiceID = "pinpoint" // Pinpoint.
  117. PollyServiceID = "polly" // Polly.
  118. RdsServiceID = "rds" // Rds.
  119. RedshiftServiceID = "redshift" // Redshift.
  120. RekognitionServiceID = "rekognition" // Rekognition.
  121. Route53ServiceID = "route53" // Route53.
  122. Route53domainsServiceID = "route53domains" // Route53domains.
  123. RuntimeLexServiceID = "runtime.lex" // RuntimeLex.
  124. S3ServiceID = "s3" // S3.
  125. SdbServiceID = "sdb" // Sdb.
  126. ServicecatalogServiceID = "servicecatalog" // Servicecatalog.
  127. ShieldServiceID = "shield" // Shield.
  128. SmsServiceID = "sms" // Sms.
  129. SnowballServiceID = "snowball" // Snowball.
  130. SnsServiceID = "sns" // Sns.
  131. SqsServiceID = "sqs" // Sqs.
  132. SsmServiceID = "ssm" // Ssm.
  133. StatesServiceID = "states" // States.
  134. StoragegatewayServiceID = "storagegateway" // Storagegateway.
  135. StreamsDynamodbServiceID = "streams.dynamodb" // StreamsDynamodb.
  136. StsServiceID = "sts" // Sts.
  137. SupportServiceID = "support" // Support.
  138. SwfServiceID = "swf" // Swf.
  139. TaggingServiceID = "tagging" // Tagging.
  140. WafServiceID = "waf" // Waf.
  141. WafRegionalServiceID = "waf-regional" // WafRegional.
  142. WorkdocsServiceID = "workdocs" // Workdocs.
  143. WorkspacesServiceID = "workspaces" // Workspaces.
  144. XrayServiceID = "xray" // Xray.
  145. )
  146. // DefaultResolver returns an Endpoint resolver that will be able
  147. // to resolve endpoints for: AWS Standard, AWS China, and AWS GovCloud (US).
  148. //
  149. // Use DefaultPartitions() to get the list of the default partitions.
  150. func DefaultResolver() Resolver {
  151. return defaultPartitions
  152. }
  153. // DefaultPartitions returns a list of the partitions the SDK is bundled
  154. // with. The available partitions are: AWS Standard, AWS China, and AWS GovCloud (US).
  155. //
  156. // partitions := endpoints.DefaultPartitions
  157. // for _, p := range partitions {
  158. // // ... inspect partitions
  159. // }
  160. func DefaultPartitions() []Partition {
  161. return defaultPartitions.Partitions()
  162. }
  163. var defaultPartitions = partitions{
  164. awsPartition,
  165. awscnPartition,
  166. awsusgovPartition,
  167. }
  168. // AwsPartition returns the Resolver for AWS Standard.
  169. func AwsPartition() Partition {
  170. return awsPartition.Partition()
  171. }
  172. var awsPartition = partition{
  173. ID: "aws",
  174. Name: "AWS Standard",
  175. DNSSuffix: "amazonaws.com",
  176. RegionRegex: regionRegex{
  177. Regexp: func() *regexp.Regexp {
  178. reg, _ := regexp.Compile("^(us|eu|ap|sa|ca)\\-\\w+\\-\\d+$")
  179. return reg
  180. }(),
  181. },
  182. Defaults: endpoint{
  183. Hostname: "{service}.{region}.{dnsSuffix}",
  184. Protocols: []string{"https"},
  185. SignatureVersions: []string{"v4"},
  186. },
  187. Regions: regions{
  188. "ap-northeast-1": region{
  189. Description: "Asia Pacific (Tokyo)",
  190. },
  191. "ap-northeast-2": region{
  192. Description: "Asia Pacific (Seoul)",
  193. },
  194. "ap-south-1": region{
  195. Description: "Asia Pacific (Mumbai)",
  196. },
  197. "ap-southeast-1": region{
  198. Description: "Asia Pacific (Singapore)",
  199. },
  200. "ap-southeast-2": region{
  201. Description: "Asia Pacific (Sydney)",
  202. },
  203. "ca-central-1": region{
  204. Description: "Canada (Central)",
  205. },
  206. "eu-central-1": region{
  207. Description: "EU (Frankfurt)",
  208. },
  209. "eu-west-1": region{
  210. Description: "EU (Ireland)",
  211. },
  212. "eu-west-2": region{
  213. Description: "EU (London)",
  214. },
  215. "eu-west-3": region{
  216. Description: "EU (Paris)",
  217. },
  218. "sa-east-1": region{
  219. Description: "South America (Sao Paulo)",
  220. },
  221. "us-east-1": region{
  222. Description: "US East (N. Virginia)",
  223. },
  224. "us-east-2": region{
  225. Description: "US East (Ohio)",
  226. },
  227. "us-west-1": region{
  228. Description: "US West (N. California)",
  229. },
  230. "us-west-2": region{
  231. Description: "US West (Oregon)",
  232. },
  233. },
  234. Services: services{
  235. "acm": service{
  236. Endpoints: endpoints{
  237. "ap-northeast-1": endpoint{},
  238. "ap-northeast-2": endpoint{},
  239. "ap-south-1": endpoint{},
  240. "ap-southeast-1": endpoint{},
  241. "ap-southeast-2": endpoint{},
  242. "ca-central-1": endpoint{},
  243. "eu-central-1": endpoint{},
  244. "eu-west-1": endpoint{},
  245. "eu-west-2": endpoint{},
  246. "eu-west-3": endpoint{},
  247. "sa-east-1": endpoint{},
  248. "us-east-1": endpoint{},
  249. "us-east-2": endpoint{},
  250. "us-west-1": endpoint{},
  251. "us-west-2": endpoint{},
  252. },
  253. },
  254. "api.pricing": service{
  255. Defaults: endpoint{
  256. CredentialScope: credentialScope{
  257. Service: "pricing",
  258. },
  259. },
  260. Endpoints: endpoints{
  261. "ap-south-1": endpoint{},
  262. "us-east-1": endpoint{},
  263. },
  264. },
  265. "apigateway": service{
  266. Endpoints: endpoints{
  267. "ap-northeast-1": endpoint{},
  268. "ap-northeast-2": endpoint{},
  269. "ap-south-1": endpoint{},
  270. "ap-southeast-1": endpoint{},
  271. "ap-southeast-2": endpoint{},
  272. "ca-central-1": endpoint{},
  273. "eu-central-1": endpoint{},
  274. "eu-west-1": endpoint{},
  275. "eu-west-2": endpoint{},
  276. "eu-west-3": endpoint{},
  277. "sa-east-1": endpoint{},
  278. "us-east-1": endpoint{},
  279. "us-east-2": endpoint{},
  280. "us-west-1": endpoint{},
  281. "us-west-2": endpoint{},
  282. },
  283. },
  284. "application-autoscaling": service{
  285. Defaults: endpoint{
  286. Hostname: "autoscaling.{region}.amazonaws.com",
  287. Protocols: []string{"http", "https"},
  288. CredentialScope: credentialScope{
  289. Service: "application-autoscaling",
  290. },
  291. },
  292. Endpoints: endpoints{
  293. "ap-northeast-1": endpoint{},
  294. "ap-northeast-2": endpoint{},
  295. "ap-south-1": endpoint{},
  296. "ap-southeast-1": endpoint{},
  297. "ap-southeast-2": endpoint{},
  298. "ca-central-1": endpoint{},
  299. "eu-central-1": endpoint{},
  300. "eu-west-1": endpoint{},
  301. "eu-west-2": endpoint{},
  302. "eu-west-3": endpoint{},
  303. "sa-east-1": endpoint{},
  304. "us-east-1": endpoint{},
  305. "us-east-2": endpoint{},
  306. "us-west-1": endpoint{},
  307. "us-west-2": endpoint{},
  308. },
  309. },
  310. "appstream2": service{
  311. Defaults: endpoint{
  312. Protocols: []string{"https"},
  313. CredentialScope: credentialScope{
  314. Service: "appstream",
  315. },
  316. },
  317. Endpoints: endpoints{
  318. "ap-northeast-1": endpoint{},
  319. "eu-west-1": endpoint{},
  320. "us-east-1": endpoint{},
  321. "us-west-2": endpoint{},
  322. },
  323. },
  324. "athena": service{
  325. Endpoints: endpoints{
  326. "ap-northeast-1": endpoint{},
  327. "ap-southeast-1": endpoint{},
  328. "ap-southeast-2": endpoint{},
  329. "eu-central-1": endpoint{},
  330. "eu-west-1": endpoint{},
  331. "us-east-1": endpoint{},
  332. "us-east-2": endpoint{},
  333. "us-west-2": endpoint{},
  334. },
  335. },
  336. "autoscaling": service{
  337. Defaults: endpoint{
  338. Protocols: []string{"http", "https"},
  339. },
  340. Endpoints: endpoints{
  341. "ap-northeast-1": endpoint{},
  342. "ap-northeast-2": endpoint{},
  343. "ap-south-1": endpoint{},
  344. "ap-southeast-1": endpoint{},
  345. "ap-southeast-2": endpoint{},
  346. "ca-central-1": endpoint{},
  347. "eu-central-1": endpoint{},
  348. "eu-west-1": endpoint{},
  349. "eu-west-2": endpoint{},
  350. "eu-west-3": endpoint{},
  351. "sa-east-1": endpoint{},
  352. "us-east-1": endpoint{},
  353. "us-east-2": endpoint{},
  354. "us-west-1": endpoint{},
  355. "us-west-2": endpoint{},
  356. },
  357. },
  358. "batch": service{
  359. Endpoints: endpoints{
  360. "ap-northeast-1": endpoint{},
  361. "ap-southeast-1": endpoint{},
  362. "ap-southeast-2": endpoint{},
  363. "eu-central-1": endpoint{},
  364. "eu-west-1": endpoint{},
  365. "eu-west-2": endpoint{},
  366. "us-east-1": endpoint{},
  367. "us-east-2": endpoint{},
  368. "us-west-2": endpoint{},
  369. },
  370. },
  371. "budgets": service{
  372. PartitionEndpoint: "aws-global",
  373. IsRegionalized: boxedFalse,
  374. Endpoints: endpoints{
  375. "aws-global": endpoint{
  376. Hostname: "budgets.amazonaws.com",
  377. CredentialScope: credentialScope{
  378. Region: "us-east-1",
  379. },
  380. },
  381. },
  382. },
  383. "clouddirectory": service{
  384. Endpoints: endpoints{
  385. "ap-southeast-1": endpoint{},
  386. "ap-southeast-2": endpoint{},
  387. "eu-west-1": endpoint{},
  388. "eu-west-2": endpoint{},
  389. "us-east-1": endpoint{},
  390. "us-east-2": endpoint{},
  391. "us-west-2": endpoint{},
  392. },
  393. },
  394. "cloudformation": service{
  395. Endpoints: endpoints{
  396. "ap-northeast-1": endpoint{},
  397. "ap-northeast-2": endpoint{},
  398. "ap-south-1": endpoint{},
  399. "ap-southeast-1": endpoint{},
  400. "ap-southeast-2": endpoint{},
  401. "ca-central-1": endpoint{},
  402. "eu-central-1": endpoint{},
  403. "eu-west-1": endpoint{},
  404. "eu-west-2": endpoint{},
  405. "eu-west-3": endpoint{},
  406. "sa-east-1": endpoint{},
  407. "us-east-1": endpoint{},
  408. "us-east-2": endpoint{},
  409. "us-west-1": endpoint{},
  410. "us-west-2": endpoint{},
  411. },
  412. },
  413. "cloudfront": service{
  414. PartitionEndpoint: "aws-global",
  415. IsRegionalized: boxedFalse,
  416. Endpoints: endpoints{
  417. "aws-global": endpoint{
  418. Hostname: "cloudfront.amazonaws.com",
  419. Protocols: []string{"http", "https"},
  420. CredentialScope: credentialScope{
  421. Region: "us-east-1",
  422. },
  423. },
  424. },
  425. },
  426. "cloudhsm": service{
  427. Endpoints: endpoints{
  428. "ap-northeast-1": endpoint{},
  429. "ap-southeast-1": endpoint{},
  430. "ap-southeast-2": endpoint{},
  431. "ca-central-1": endpoint{},
  432. "eu-central-1": endpoint{},
  433. "eu-west-1": endpoint{},
  434. "us-east-1": endpoint{},
  435. "us-east-2": endpoint{},
  436. "us-west-1": endpoint{},
  437. "us-west-2": endpoint{},
  438. },
  439. },
  440. "cloudhsmv2": service{
  441. Endpoints: endpoints{
  442. "ap-northeast-1": endpoint{},
  443. "ap-south-1": endpoint{},
  444. "ap-southeast-1": endpoint{},
  445. "ap-southeast-2": endpoint{},
  446. "ca-central-1": endpoint{},
  447. "eu-central-1": endpoint{},
  448. "eu-west-1": endpoint{},
  449. "us-east-1": endpoint{},
  450. "us-east-2": endpoint{},
  451. "us-west-1": endpoint{},
  452. "us-west-2": endpoint{},
  453. },
  454. },
  455. "cloudsearch": service{
  456. Endpoints: endpoints{
  457. "ap-northeast-1": endpoint{},
  458. "ap-northeast-2": endpoint{},
  459. "ap-southeast-1": endpoint{},
  460. "ap-southeast-2": endpoint{},
  461. "eu-central-1": endpoint{},
  462. "eu-west-1": endpoint{},
  463. "sa-east-1": endpoint{},
  464. "us-east-1": endpoint{},
  465. "us-west-1": endpoint{},
  466. "us-west-2": endpoint{},
  467. },
  468. },
  469. "cloudtrail": service{
  470. Endpoints: endpoints{
  471. "ap-northeast-1": endpoint{},
  472. "ap-northeast-2": endpoint{},
  473. "ap-south-1": endpoint{},
  474. "ap-southeast-1": endpoint{},
  475. "ap-southeast-2": endpoint{},
  476. "ca-central-1": endpoint{},
  477. "eu-central-1": endpoint{},
  478. "eu-west-1": endpoint{},
  479. "eu-west-2": endpoint{},
  480. "eu-west-3": endpoint{},
  481. "sa-east-1": endpoint{},
  482. "us-east-1": endpoint{},
  483. "us-east-2": endpoint{},
  484. "us-west-1": endpoint{},
  485. "us-west-2": endpoint{},
  486. },
  487. },
  488. "codebuild": service{
  489. Endpoints: endpoints{
  490. "ap-northeast-1": endpoint{},
  491. "ap-northeast-2": endpoint{},
  492. "ap-southeast-1": endpoint{},
  493. "ap-southeast-2": endpoint{},
  494. "ca-central-1": endpoint{},
  495. "eu-central-1": endpoint{},
  496. "eu-west-1": endpoint{},
  497. "eu-west-2": endpoint{},
  498. "us-east-1": endpoint{},
  499. "us-east-2": endpoint{},
  500. "us-west-1": endpoint{},
  501. "us-west-2": endpoint{},
  502. },
  503. },
  504. "codecommit": service{
  505. Endpoints: endpoints{
  506. "ap-northeast-1": endpoint{},
  507. "ap-northeast-2": endpoint{},
  508. "ap-south-1": endpoint{},
  509. "ap-southeast-1": endpoint{},
  510. "ap-southeast-2": endpoint{},
  511. "ca-central-1": endpoint{},
  512. "eu-central-1": endpoint{},
  513. "eu-west-1": endpoint{},
  514. "eu-west-2": endpoint{},
  515. "sa-east-1": endpoint{},
  516. "us-east-1": endpoint{},
  517. "us-east-2": endpoint{},
  518. "us-west-1": endpoint{},
  519. "us-west-2": endpoint{},
  520. },
  521. },
  522. "codedeploy": service{
  523. Endpoints: endpoints{
  524. "ap-northeast-1": endpoint{},
  525. "ap-northeast-2": endpoint{},
  526. "ap-south-1": endpoint{},
  527. "ap-southeast-1": endpoint{},
  528. "ap-southeast-2": endpoint{},
  529. "ca-central-1": endpoint{},
  530. "eu-central-1": endpoint{},
  531. "eu-west-1": endpoint{},
  532. "eu-west-2": endpoint{},
  533. "eu-west-3": endpoint{},
  534. "sa-east-1": endpoint{},
  535. "us-east-1": endpoint{},
  536. "us-east-2": endpoint{},
  537. "us-west-1": endpoint{},
  538. "us-west-2": endpoint{},
  539. },
  540. },
  541. "codepipeline": service{
  542. Endpoints: endpoints{
  543. "ap-northeast-1": endpoint{},
  544. "ap-northeast-2": endpoint{},
  545. "ap-south-1": endpoint{},
  546. "ap-southeast-1": endpoint{},
  547. "ap-southeast-2": endpoint{},
  548. "ca-central-1": endpoint{},
  549. "eu-central-1": endpoint{},
  550. "eu-west-1": endpoint{},
  551. "eu-west-2": endpoint{},
  552. "sa-east-1": endpoint{},
  553. "us-east-1": endpoint{},
  554. "us-east-2": endpoint{},
  555. "us-west-1": endpoint{},
  556. "us-west-2": endpoint{},
  557. },
  558. },
  559. "codestar": service{
  560. Endpoints: endpoints{
  561. "ap-northeast-1": endpoint{},
  562. "ap-southeast-1": endpoint{},
  563. "ap-southeast-2": endpoint{},
  564. "ca-central-1": endpoint{},
  565. "eu-central-1": endpoint{},
  566. "eu-west-1": endpoint{},
  567. "eu-west-2": endpoint{},
  568. "us-east-1": endpoint{},
  569. "us-east-2": endpoint{},
  570. "us-west-1": endpoint{},
  571. "us-west-2": endpoint{},
  572. },
  573. },
  574. "cognito-identity": service{
  575. Endpoints: endpoints{
  576. "ap-northeast-1": endpoint{},
  577. "ap-northeast-2": endpoint{},
  578. "ap-south-1": endpoint{},
  579. "ap-southeast-1": endpoint{},
  580. "ap-southeast-2": endpoint{},
  581. "eu-central-1": endpoint{},
  582. "eu-west-1": endpoint{},
  583. "eu-west-2": endpoint{},
  584. "us-east-1": endpoint{},
  585. "us-east-2": endpoint{},
  586. "us-west-2": endpoint{},
  587. },
  588. },
  589. "cognito-idp": service{
  590. Endpoints: endpoints{
  591. "ap-northeast-1": endpoint{},
  592. "ap-northeast-2": endpoint{},
  593. "ap-south-1": endpoint{},
  594. "ap-southeast-1": endpoint{},
  595. "ap-southeast-2": endpoint{},
  596. "eu-central-1": endpoint{},
  597. "eu-west-1": endpoint{},
  598. "eu-west-2": endpoint{},
  599. "us-east-1": endpoint{},
  600. "us-east-2": endpoint{},
  601. "us-west-2": endpoint{},
  602. },
  603. },
  604. "cognito-sync": service{
  605. Endpoints: endpoints{
  606. "ap-northeast-1": endpoint{},
  607. "ap-northeast-2": endpoint{},
  608. "ap-south-1": endpoint{},
  609. "ap-southeast-1": endpoint{},
  610. "ap-southeast-2": endpoint{},
  611. "eu-central-1": endpoint{},
  612. "eu-west-1": endpoint{},
  613. "eu-west-2": endpoint{},
  614. "us-east-1": endpoint{},
  615. "us-east-2": endpoint{},
  616. "us-west-2": endpoint{},
  617. },
  618. },
  619. "config": service{
  620. Endpoints: endpoints{
  621. "ap-northeast-1": endpoint{},
  622. "ap-northeast-2": endpoint{},
  623. "ap-south-1": endpoint{},
  624. "ap-southeast-1": endpoint{},
  625. "ap-southeast-2": endpoint{},
  626. "ca-central-1": endpoint{},
  627. "eu-central-1": endpoint{},
  628. "eu-west-1": endpoint{},
  629. "eu-west-2": endpoint{},
  630. "eu-west-3": endpoint{},
  631. "sa-east-1": endpoint{},
  632. "us-east-1": endpoint{},
  633. "us-east-2": endpoint{},
  634. "us-west-1": endpoint{},
  635. "us-west-2": endpoint{},
  636. },
  637. },
  638. "cur": service{
  639. Endpoints: endpoints{
  640. "us-east-1": endpoint{},
  641. },
  642. },
  643. "datapipeline": service{
  644. Endpoints: endpoints{
  645. "ap-northeast-1": endpoint{},
  646. "ap-southeast-2": endpoint{},
  647. "eu-west-1": endpoint{},
  648. "us-east-1": endpoint{},
  649. "us-west-2": endpoint{},
  650. },
  651. },
  652. "dax": service{
  653. Endpoints: endpoints{
  654. "ap-northeast-1": endpoint{},
  655. "ap-south-1": endpoint{},
  656. "eu-west-1": endpoint{},
  657. "sa-east-1": endpoint{},
  658. "us-east-1": endpoint{},
  659. "us-west-1": endpoint{},
  660. "us-west-2": endpoint{},
  661. },
  662. },
  663. "devicefarm": service{
  664. Endpoints: endpoints{
  665. "us-west-2": endpoint{},
  666. },
  667. },
  668. "directconnect": service{
  669. Endpoints: endpoints{
  670. "ap-northeast-1": endpoint{},
  671. "ap-northeast-2": endpoint{},
  672. "ap-south-1": endpoint{},
  673. "ap-southeast-1": endpoint{},
  674. "ap-southeast-2": endpoint{},
  675. "ca-central-1": endpoint{},
  676. "eu-central-1": endpoint{},
  677. "eu-west-1": endpoint{},
  678. "eu-west-2": endpoint{},
  679. "eu-west-3": endpoint{},
  680. "sa-east-1": endpoint{},
  681. "us-east-1": endpoint{},
  682. "us-east-2": endpoint{},
  683. "us-west-1": endpoint{},
  684. "us-west-2": endpoint{},
  685. },
  686. },
  687. "discovery": service{
  688. Endpoints: endpoints{
  689. "us-west-2": endpoint{},
  690. },
  691. },
  692. "dms": service{
  693. Endpoints: endpoints{
  694. "ap-northeast-1": endpoint{},
  695. "ap-northeast-2": endpoint{},
  696. "ap-south-1": endpoint{},
  697. "ap-southeast-1": endpoint{},
  698. "ap-southeast-2": endpoint{},
  699. "ca-central-1": endpoint{},
  700. "eu-central-1": endpoint{},
  701. "eu-west-1": endpoint{},
  702. "eu-west-2": endpoint{},
  703. "sa-east-1": endpoint{},
  704. "us-east-1": endpoint{},
  705. "us-east-2": endpoint{},
  706. "us-west-1": endpoint{},
  707. "us-west-2": endpoint{},
  708. },
  709. },
  710. "ds": service{
  711. Endpoints: endpoints{
  712. "ap-northeast-1": endpoint{},
  713. "ap-northeast-2": endpoint{},
  714. "ap-south-1": endpoint{},
  715. "ap-southeast-1": endpoint{},
  716. "ap-southeast-2": endpoint{},
  717. "ca-central-1": endpoint{},
  718. "eu-central-1": endpoint{},
  719. "eu-west-1": endpoint{},
  720. "eu-west-2": endpoint{},
  721. "sa-east-1": endpoint{},
  722. "us-east-1": endpoint{},
  723. "us-east-2": endpoint{},
  724. "us-west-1": endpoint{},
  725. "us-west-2": endpoint{},
  726. },
  727. },
  728. "dynamodb": service{
  729. Defaults: endpoint{
  730. Protocols: []string{"http", "https"},
  731. },
  732. Endpoints: endpoints{
  733. "ap-northeast-1": endpoint{},
  734. "ap-northeast-2": endpoint{},
  735. "ap-south-1": endpoint{},
  736. "ap-southeast-1": endpoint{},
  737. "ap-southeast-2": endpoint{},
  738. "ca-central-1": endpoint{},
  739. "eu-central-1": endpoint{},
  740. "eu-west-1": endpoint{},
  741. "eu-west-2": endpoint{},
  742. "eu-west-3": endpoint{},
  743. "local": endpoint{
  744. Hostname: "localhost:8000",
  745. Protocols: []string{"http"},
  746. CredentialScope: credentialScope{
  747. Region: "us-east-1",
  748. },
  749. },
  750. "sa-east-1": endpoint{},
  751. "us-east-1": endpoint{},
  752. "us-east-2": endpoint{},
  753. "us-west-1": endpoint{},
  754. "us-west-2": endpoint{},
  755. },
  756. },
  757. "ec2": service{
  758. Defaults: endpoint{
  759. Protocols: []string{"http", "https"},
  760. },
  761. Endpoints: endpoints{
  762. "ap-northeast-1": endpoint{},
  763. "ap-northeast-2": endpoint{},
  764. "ap-south-1": endpoint{},
  765. "ap-southeast-1": endpoint{},
  766. "ap-southeast-2": endpoint{},
  767. "ca-central-1": endpoint{},
  768. "eu-central-1": endpoint{},
  769. "eu-west-1": endpoint{},
  770. "eu-west-2": endpoint{},
  771. "eu-west-3": endpoint{},
  772. "sa-east-1": endpoint{},
  773. "us-east-1": endpoint{},
  774. "us-east-2": endpoint{},
  775. "us-west-1": endpoint{},
  776. "us-west-2": endpoint{},
  777. },
  778. },
  779. "ec2metadata": service{
  780. PartitionEndpoint: "aws-global",
  781. IsRegionalized: boxedFalse,
  782. Endpoints: endpoints{
  783. "aws-global": endpoint{
  784. Hostname: "169.254.169.254/latest",
  785. Protocols: []string{"http"},
  786. },
  787. },
  788. },
  789. "ecr": service{
  790. Endpoints: endpoints{
  791. "ap-northeast-1": endpoint{},
  792. "ap-northeast-2": endpoint{},
  793. "ap-south-1": endpoint{},
  794. "ap-southeast-1": endpoint{},
  795. "ap-southeast-2": endpoint{},
  796. "ca-central-1": endpoint{},
  797. "eu-central-1": endpoint{},
  798. "eu-west-1": endpoint{},
  799. "eu-west-2": endpoint{},
  800. "eu-west-3": endpoint{},
  801. "sa-east-1": endpoint{},
  802. "us-east-1": endpoint{},
  803. "us-east-2": endpoint{},
  804. "us-west-1": endpoint{},
  805. "us-west-2": endpoint{},
  806. },
  807. },
  808. "ecs": service{
  809. Endpoints: endpoints{
  810. "ap-northeast-1": endpoint{},
  811. "ap-northeast-2": endpoint{},
  812. "ap-south-1": endpoint{},
  813. "ap-southeast-1": endpoint{},
  814. "ap-southeast-2": endpoint{},
  815. "ca-central-1": endpoint{},
  816. "eu-central-1": endpoint{},
  817. "eu-west-1": endpoint{},
  818. "eu-west-2": endpoint{},
  819. "eu-west-3": endpoint{},
  820. "sa-east-1": endpoint{},
  821. "us-east-1": endpoint{},
  822. "us-east-2": endpoint{},
  823. "us-west-1": endpoint{},
  824. "us-west-2": endpoint{},
  825. },
  826. },
  827. "elasticache": service{
  828. Endpoints: endpoints{
  829. "ap-northeast-1": endpoint{},
  830. "ap-northeast-2": endpoint{},
  831. "ap-south-1": endpoint{},
  832. "ap-southeast-1": endpoint{},
  833. "ap-southeast-2": endpoint{},
  834. "ca-central-1": endpoint{},
  835. "eu-central-1": endpoint{},
  836. "eu-west-1": endpoint{},
  837. "eu-west-2": endpoint{},
  838. "eu-west-3": endpoint{},
  839. "sa-east-1": endpoint{},
  840. "us-east-1": endpoint{},
  841. "us-east-2": endpoint{},
  842. "us-west-1": endpoint{},
  843. "us-west-2": endpoint{},
  844. },
  845. },
  846. "elasticbeanstalk": service{
  847. Endpoints: endpoints{
  848. "ap-northeast-1": endpoint{},
  849. "ap-northeast-2": endpoint{},
  850. "ap-south-1": endpoint{},
  851. "ap-southeast-1": endpoint{},
  852. "ap-southeast-2": endpoint{},
  853. "ca-central-1": endpoint{},
  854. "eu-central-1": endpoint{},
  855. "eu-west-1": endpoint{},
  856. "eu-west-2": endpoint{},
  857. "eu-west-3": endpoint{},
  858. "sa-east-1": endpoint{},
  859. "us-east-1": endpoint{},
  860. "us-east-2": endpoint{},
  861. "us-west-1": endpoint{},
  862. "us-west-2": endpoint{},
  863. },
  864. },
  865. "elasticfilesystem": service{
  866. Endpoints: endpoints{
  867. "ap-southeast-2": endpoint{},
  868. "eu-central-1": endpoint{},
  869. "eu-west-1": endpoint{},
  870. "us-east-1": endpoint{},
  871. "us-east-2": endpoint{},
  872. "us-west-2": endpoint{},
  873. },
  874. },
  875. "elasticloadbalancing": service{
  876. Defaults: endpoint{
  877. Protocols: []string{"https"},
  878. },
  879. Endpoints: endpoints{
  880. "ap-northeast-1": endpoint{},
  881. "ap-northeast-2": endpoint{},
  882. "ap-south-1": endpoint{},
  883. "ap-southeast-1": endpoint{},
  884. "ap-southeast-2": endpoint{},
  885. "ca-central-1": endpoint{},
  886. "eu-central-1": endpoint{},
  887. "eu-west-1": endpoint{},
  888. "eu-west-2": endpoint{},
  889. "eu-west-3": endpoint{},
  890. "sa-east-1": endpoint{},
  891. "us-east-1": endpoint{},
  892. "us-east-2": endpoint{},
  893. "us-west-1": endpoint{},
  894. "us-west-2": endpoint{},
  895. },
  896. },
  897. "elasticmapreduce": service{
  898. Defaults: endpoint{
  899. SSLCommonName: "{region}.{service}.{dnsSuffix}",
  900. Protocols: []string{"http", "https"},
  901. },
  902. Endpoints: endpoints{
  903. "ap-northeast-1": endpoint{},
  904. "ap-northeast-2": endpoint{},
  905. "ap-south-1": endpoint{},
  906. "ap-southeast-1": endpoint{},
  907. "ap-southeast-2": endpoint{},
  908. "ca-central-1": endpoint{},
  909. "eu-central-1": endpoint{
  910. SSLCommonName: "{service}.{region}.{dnsSuffix}",
  911. },
  912. "eu-west-1": endpoint{},
  913. "eu-west-2": endpoint{},
  914. "eu-west-3": endpoint{},
  915. "sa-east-1": endpoint{},
  916. "us-east-1": endpoint{
  917. SSLCommonName: "{service}.{region}.{dnsSuffix}",
  918. },
  919. "us-east-2": endpoint{},
  920. "us-west-1": endpoint{},
  921. "us-west-2": endpoint{},
  922. },
  923. },
  924. "elastictranscoder": service{
  925. Endpoints: endpoints{
  926. "ap-northeast-1": endpoint{},
  927. "ap-south-1": endpoint{},
  928. "ap-southeast-1": endpoint{},
  929. "ap-southeast-2": endpoint{},
  930. "eu-west-1": endpoint{},
  931. "us-east-1": endpoint{},
  932. "us-west-1": endpoint{},
  933. "us-west-2": endpoint{},
  934. },
  935. },
  936. "email": service{
  937. Endpoints: endpoints{
  938. "eu-west-1": endpoint{},
  939. "us-east-1": endpoint{},
  940. "us-west-2": endpoint{},
  941. },
  942. },
  943. "entitlement.marketplace": service{
  944. Defaults: endpoint{
  945. CredentialScope: credentialScope{
  946. Service: "aws-marketplace",
  947. },
  948. },
  949. Endpoints: endpoints{
  950. "us-east-1": endpoint{},
  951. },
  952. },
  953. "es": service{
  954. Endpoints: endpoints{
  955. "ap-northeast-1": endpoint{},
  956. "ap-northeast-2": endpoint{},
  957. "ap-south-1": endpoint{},
  958. "ap-southeast-1": endpoint{},
  959. "ap-southeast-2": endpoint{},
  960. "ca-central-1": endpoint{},
  961. "eu-central-1": endpoint{},
  962. "eu-west-1": endpoint{},
  963. "eu-west-2": endpoint{},
  964. "eu-west-3": endpoint{},
  965. "sa-east-1": endpoint{},
  966. "us-east-1": endpoint{},
  967. "us-east-2": endpoint{},
  968. "us-west-1": endpoint{},
  969. "us-west-2": endpoint{},
  970. },
  971. },
  972. "events": service{
  973. Endpoints: endpoints{
  974. "ap-northeast-1": endpoint{},
  975. "ap-northeast-2": endpoint{},
  976. "ap-south-1": endpoint{},
  977. "ap-southeast-1": endpoint{},
  978. "ap-southeast-2": endpoint{},
  979. "ca-central-1": endpoint{},
  980. "eu-central-1": endpoint{},
  981. "eu-west-1": endpoint{},
  982. "eu-west-2": endpoint{},
  983. "eu-west-3": endpoint{},
  984. "sa-east-1": endpoint{},
  985. "us-east-1": endpoint{},
  986. "us-east-2": endpoint{},
  987. "us-west-1": endpoint{},
  988. "us-west-2": endpoint{},
  989. },
  990. },
  991. "firehose": service{
  992. Endpoints: endpoints{
  993. "ap-northeast-1": endpoint{},
  994. "eu-central-1": endpoint{},
  995. "eu-west-1": endpoint{},
  996. "us-east-1": endpoint{},
  997. "us-east-2": endpoint{},
  998. "us-west-2": endpoint{},
  999. },
  1000. },
  1001. "gamelift": service{
  1002. Endpoints: endpoints{
  1003. "ap-northeast-1": endpoint{},
  1004. "ap-northeast-2": endpoint{},
  1005. "ap-south-1": endpoint{},
  1006. "ap-southeast-1": endpoint{},
  1007. "ap-southeast-2": endpoint{},
  1008. "ca-central-1": endpoint{},
  1009. "eu-central-1": endpoint{},
  1010. "eu-west-1": endpoint{},
  1011. "eu-west-2": endpoint{},
  1012. "sa-east-1": endpoint{},
  1013. "us-east-1": endpoint{},
  1014. "us-east-2": endpoint{},
  1015. "us-west-1": endpoint{},
  1016. "us-west-2": endpoint{},
  1017. },
  1018. },
  1019. "glacier": service{
  1020. Defaults: endpoint{
  1021. Protocols: []string{"http", "https"},
  1022. },
  1023. Endpoints: endpoints{
  1024. "ap-northeast-1": endpoint{},
  1025. "ap-northeast-2": endpoint{},
  1026. "ap-south-1": endpoint{},
  1027. "ap-southeast-1": endpoint{},
  1028. "ap-southeast-2": endpoint{},
  1029. "ca-central-1": endpoint{},
  1030. "eu-central-1": endpoint{},
  1031. "eu-west-1": endpoint{},
  1032. "eu-west-2": endpoint{},
  1033. "eu-west-3": endpoint{},
  1034. "us-east-1": endpoint{},
  1035. "us-east-2": endpoint{},
  1036. "us-west-1": endpoint{},
  1037. "us-west-2": endpoint{},
  1038. },
  1039. },
  1040. "glue": service{
  1041. Endpoints: endpoints{
  1042. "eu-west-1": endpoint{},
  1043. "us-east-1": endpoint{},
  1044. "us-east-2": endpoint{},
  1045. "us-west-2": endpoint{},
  1046. },
  1047. },
  1048. "greengrass": service{
  1049. IsRegionalized: boxedTrue,
  1050. Defaults: endpoint{
  1051. Protocols: []string{"https"},
  1052. },
  1053. Endpoints: endpoints{
  1054. "ap-northeast-1": endpoint{},
  1055. "ap-southeast-2": endpoint{},
  1056. "eu-central-1": endpoint{},
  1057. "us-east-1": endpoint{},
  1058. "us-west-2": endpoint{},
  1059. },
  1060. },
  1061. "health": service{
  1062. Endpoints: endpoints{
  1063. "us-east-1": endpoint{},
  1064. },
  1065. },
  1066. "iam": service{
  1067. PartitionEndpoint: "aws-global",
  1068. IsRegionalized: boxedFalse,
  1069. Endpoints: endpoints{
  1070. "aws-global": endpoint{
  1071. Hostname: "iam.amazonaws.com",
  1072. CredentialScope: credentialScope{
  1073. Region: "us-east-1",
  1074. },
  1075. },
  1076. },
  1077. },
  1078. "importexport": service{
  1079. PartitionEndpoint: "aws-global",
  1080. IsRegionalized: boxedFalse,
  1081. Endpoints: endpoints{
  1082. "aws-global": endpoint{
  1083. Hostname: "importexport.amazonaws.com",
  1084. SignatureVersions: []string{"v2", "v4"},
  1085. CredentialScope: credentialScope{
  1086. Region: "us-east-1",
  1087. Service: "IngestionService",
  1088. },
  1089. },
  1090. },
  1091. },
  1092. "inspector": service{
  1093. Endpoints: endpoints{
  1094. "ap-northeast-1": endpoint{},
  1095. "ap-northeast-2": endpoint{},
  1096. "ap-south-1": endpoint{},
  1097. "ap-southeast-2": endpoint{},
  1098. "eu-central-1": endpoint{},
  1099. "eu-west-1": endpoint{},
  1100. "us-east-1": endpoint{},
  1101. "us-west-1": endpoint{},
  1102. "us-west-2": endpoint{},
  1103. },
  1104. },
  1105. "iot": service{
  1106. Defaults: endpoint{
  1107. CredentialScope: credentialScope{
  1108. Service: "execute-api",
  1109. },
  1110. },
  1111. Endpoints: endpoints{
  1112. "ap-northeast-1": endpoint{},
  1113. "ap-northeast-2": endpoint{},
  1114. "ap-southeast-1": endpoint{},
  1115. "ap-southeast-2": endpoint{},
  1116. "eu-central-1": endpoint{},
  1117. "eu-west-1": endpoint{},
  1118. "eu-west-2": endpoint{},
  1119. "us-east-1": endpoint{},
  1120. "us-east-2": endpoint{},
  1121. "us-west-2": endpoint{},
  1122. },
  1123. },
  1124. "kinesis": service{
  1125. Endpoints: endpoints{
  1126. "ap-northeast-1": endpoint{},
  1127. "ap-northeast-2": endpoint{},
  1128. "ap-south-1": endpoint{},
  1129. "ap-southeast-1": endpoint{},
  1130. "ap-southeast-2": endpoint{},
  1131. "ca-central-1": endpoint{},
  1132. "eu-central-1": endpoint{},
  1133. "eu-west-1": endpoint{},
  1134. "eu-west-2": endpoint{},
  1135. "eu-west-3": endpoint{},
  1136. "sa-east-1": endpoint{},
  1137. "us-east-1": endpoint{},
  1138. "us-east-2": endpoint{},
  1139. "us-west-1": endpoint{},
  1140. "us-west-2": endpoint{},
  1141. },
  1142. },
  1143. "kinesisanalytics": service{
  1144. Endpoints: endpoints{
  1145. "eu-west-1": endpoint{},
  1146. "us-east-1": endpoint{},
  1147. "us-west-2": endpoint{},
  1148. },
  1149. },
  1150. "kms": service{
  1151. Endpoints: endpoints{
  1152. "ap-northeast-1": endpoint{},
  1153. "ap-northeast-2": endpoint{},
  1154. "ap-south-1": endpoint{},
  1155. "ap-southeast-1": endpoint{},
  1156. "ap-southeast-2": endpoint{},
  1157. "ca-central-1": endpoint{},
  1158. "eu-central-1": endpoint{},
  1159. "eu-west-1": endpoint{},
  1160. "eu-west-2": endpoint{},
  1161. "eu-west-3": endpoint{},
  1162. "sa-east-1": endpoint{},
  1163. "us-east-1": endpoint{},
  1164. "us-east-2": endpoint{},
  1165. "us-west-1": endpoint{},
  1166. "us-west-2": endpoint{},
  1167. },
  1168. },
  1169. "lambda": service{
  1170. Endpoints: endpoints{
  1171. "ap-northeast-1": endpoint{},
  1172. "ap-northeast-2": endpoint{},
  1173. "ap-south-1": endpoint{},
  1174. "ap-southeast-1": endpoint{},
  1175. "ap-southeast-2": endpoint{},
  1176. "ca-central-1": endpoint{},
  1177. "eu-central-1": endpoint{},
  1178. "eu-west-1": endpoint{},
  1179. "eu-west-2": endpoint{},
  1180. "eu-west-3": endpoint{},
  1181. "sa-east-1": endpoint{},
  1182. "us-east-1": endpoint{},
  1183. "us-east-2": endpoint{},
  1184. "us-west-1": endpoint{},
  1185. "us-west-2": endpoint{},
  1186. },
  1187. },
  1188. "lightsail": service{
  1189. Endpoints: endpoints{
  1190. "ap-northeast-1": endpoint{},
  1191. "ap-south-1": endpoint{},
  1192. "ap-southeast-1": endpoint{},
  1193. "ap-southeast-2": endpoint{},
  1194. "eu-central-1": endpoint{},
  1195. "eu-west-1": endpoint{},
  1196. "eu-west-2": endpoint{},
  1197. "us-east-1": endpoint{},
  1198. "us-east-2": endpoint{},
  1199. "us-west-2": endpoint{},
  1200. },
  1201. },
  1202. "logs": service{
  1203. Endpoints: endpoints{
  1204. "ap-northeast-1": endpoint{},
  1205. "ap-northeast-2": endpoint{},
  1206. "ap-south-1": endpoint{},
  1207. "ap-southeast-1": endpoint{},
  1208. "ap-southeast-2": endpoint{},
  1209. "ca-central-1": endpoint{},
  1210. "eu-central-1": endpoint{},
  1211. "eu-west-1": endpoint{},
  1212. "eu-west-2": endpoint{},
  1213. "eu-west-3": endpoint{},
  1214. "sa-east-1": endpoint{},
  1215. "us-east-1": endpoint{},
  1216. "us-east-2": endpoint{},
  1217. "us-west-1": endpoint{},
  1218. "us-west-2": endpoint{},
  1219. },
  1220. },
  1221. "machinelearning": service{
  1222. Endpoints: endpoints{
  1223. "eu-west-1": endpoint{},
  1224. "us-east-1": endpoint{},
  1225. },
  1226. },
  1227. "marketplacecommerceanalytics": service{
  1228. Endpoints: endpoints{
  1229. "us-east-1": endpoint{},
  1230. },
  1231. },
  1232. "metering.marketplace": service{
  1233. Defaults: endpoint{
  1234. CredentialScope: credentialScope{
  1235. Service: "aws-marketplace",
  1236. },
  1237. },
  1238. Endpoints: endpoints{
  1239. "ap-northeast-1": endpoint{},
  1240. "ap-northeast-2": endpoint{},
  1241. "ap-south-1": endpoint{},
  1242. "ap-southeast-1": endpoint{},
  1243. "ap-southeast-2": endpoint{},
  1244. "ca-central-1": endpoint{},
  1245. "eu-central-1": endpoint{},
  1246. "eu-west-1": endpoint{},
  1247. "eu-west-2": endpoint{},
  1248. "sa-east-1": endpoint{},
  1249. "us-east-1": endpoint{},
  1250. "us-east-2": endpoint{},
  1251. "us-west-1": endpoint{},
  1252. "us-west-2": endpoint{},
  1253. },
  1254. },
  1255. "mgh": service{
  1256. Endpoints: endpoints{
  1257. "us-west-2": endpoint{},
  1258. },
  1259. },
  1260. "mobileanalytics": service{
  1261. Endpoints: endpoints{
  1262. "us-east-1": endpoint{},
  1263. },
  1264. },
  1265. "models.lex": service{
  1266. Defaults: endpoint{
  1267. CredentialScope: credentialScope{
  1268. Service: "lex",
  1269. },
  1270. },
  1271. Endpoints: endpoints{
  1272. "us-east-1": endpoint{},
  1273. },
  1274. },
  1275. "monitoring": service{
  1276. Defaults: endpoint{
  1277. Protocols: []string{"http", "https"},
  1278. },
  1279. Endpoints: endpoints{
  1280. "ap-northeast-1": endpoint{},
  1281. "ap-northeast-2": endpoint{},
  1282. "ap-south-1": endpoint{},
  1283. "ap-southeast-1": endpoint{},
  1284. "ap-southeast-2": endpoint{},
  1285. "ca-central-1": endpoint{},
  1286. "eu-central-1": endpoint{},
  1287. "eu-west-1": endpoint{},
  1288. "eu-west-2": endpoint{},
  1289. "eu-west-3": endpoint{},
  1290. "sa-east-1": endpoint{},
  1291. "us-east-1": endpoint{},
  1292. "us-east-2": endpoint{},
  1293. "us-west-1": endpoint{},
  1294. "us-west-2": endpoint{},
  1295. },
  1296. },
  1297. "mturk-requester": service{
  1298. IsRegionalized: boxedFalse,
  1299. Endpoints: endpoints{
  1300. "sandbox": endpoint{
  1301. Hostname: "mturk-requester-sandbox.us-east-1.amazonaws.com",
  1302. },
  1303. "us-east-1": endpoint{},
  1304. },
  1305. },
  1306. "opsworks": service{
  1307. Endpoints: endpoints{
  1308. "ap-northeast-1": endpoint{},
  1309. "ap-northeast-2": endpoint{},
  1310. "ap-south-1": endpoint{},
  1311. "ap-southeast-1": endpoint{},
  1312. "ap-southeast-2": endpoint{},
  1313. "eu-central-1": endpoint{},
  1314. "eu-west-1": endpoint{},
  1315. "eu-west-2": endpoint{},
  1316. "eu-west-3": endpoint{},
  1317. "sa-east-1": endpoint{},
  1318. "us-east-1": endpoint{},
  1319. "us-east-2": endpoint{},
  1320. "us-west-1": endpoint{},
  1321. "us-west-2": endpoint{},
  1322. },
  1323. },
  1324. "opsworks-cm": service{
  1325. Endpoints: endpoints{
  1326. "eu-west-1": endpoint{},
  1327. "us-east-1": endpoint{},
  1328. "us-west-2": endpoint{},
  1329. },
  1330. },
  1331. "organizations": service{
  1332. PartitionEndpoint: "aws-global",
  1333. IsRegionalized: boxedFalse,
  1334. Endpoints: endpoints{
  1335. "aws-global": endpoint{
  1336. Hostname: "organizations.us-east-1.amazonaws.com",
  1337. CredentialScope: credentialScope{
  1338. Region: "us-east-1",
  1339. },
  1340. },
  1341. },
  1342. },
  1343. "pinpoint": service{
  1344. Defaults: endpoint{
  1345. CredentialScope: credentialScope{
  1346. Service: "mobiletargeting",
  1347. },
  1348. },
  1349. Endpoints: endpoints{
  1350. "us-east-1": endpoint{},
  1351. },
  1352. },
  1353. "polly": service{
  1354. Endpoints: endpoints{
  1355. "ap-northeast-1": endpoint{},
  1356. "ap-northeast-2": endpoint{},
  1357. "ap-south-1": endpoint{},
  1358. "ap-southeast-1": endpoint{},
  1359. "ap-southeast-2": endpoint{},
  1360. "ca-central-1": endpoint{},
  1361. "eu-central-1": endpoint{},
  1362. "eu-west-1": endpoint{},
  1363. "eu-west-2": endpoint{},
  1364. "eu-west-3": endpoint{},
  1365. "sa-east-1": endpoint{},
  1366. "us-east-1": endpoint{},
  1367. "us-east-2": endpoint{},
  1368. "us-west-1": endpoint{},
  1369. "us-west-2": endpoint{},
  1370. },
  1371. },
  1372. "rds": service{
  1373. Endpoints: endpoints{
  1374. "ap-northeast-1": endpoint{},
  1375. "ap-northeast-2": endpoint{},
  1376. "ap-south-1": endpoint{},
  1377. "ap-southeast-1": endpoint{},
  1378. "ap-southeast-2": endpoint{},
  1379. "ca-central-1": endpoint{},
  1380. "eu-central-1": endpoint{},
  1381. "eu-west-1": endpoint{},
  1382. "eu-west-2": endpoint{},
  1383. "eu-west-3": endpoint{},
  1384. "sa-east-1": endpoint{},
  1385. "us-east-1": endpoint{
  1386. SSLCommonName: "{service}.{dnsSuffix}",
  1387. },
  1388. "us-east-2": endpoint{},
  1389. "us-west-1": endpoint{},
  1390. "us-west-2": endpoint{},
  1391. },
  1392. },
  1393. "redshift": service{
  1394. Endpoints: endpoints{
  1395. "ap-northeast-1": endpoint{},
  1396. "ap-northeast-2": endpoint{},
  1397. "ap-south-1": endpoint{},
  1398. "ap-southeast-1": endpoint{},
  1399. "ap-southeast-2": endpoint{},
  1400. "ca-central-1": endpoint{},
  1401. "eu-central-1": endpoint{},
  1402. "eu-west-1": endpoint{},
  1403. "eu-west-2": endpoint{},
  1404. "eu-west-3": endpoint{},
  1405. "sa-east-1": endpoint{},
  1406. "us-east-1": endpoint{},
  1407. "us-east-2": endpoint{},
  1408. "us-west-1": endpoint{},
  1409. "us-west-2": endpoint{},
  1410. },
  1411. },
  1412. "rekognition": service{
  1413. Endpoints: endpoints{
  1414. "eu-west-1": endpoint{},
  1415. "us-east-1": endpoint{},
  1416. "us-west-2": endpoint{},
  1417. },
  1418. },
  1419. "route53": service{
  1420. PartitionEndpoint: "aws-global",
  1421. IsRegionalized: boxedFalse,
  1422. Endpoints: endpoints{
  1423. "aws-global": endpoint{
  1424. Hostname: "route53.amazonaws.com",
  1425. CredentialScope: credentialScope{
  1426. Region: "us-east-1",
  1427. },
  1428. },
  1429. },
  1430. },
  1431. "route53domains": service{
  1432. Endpoints: endpoints{
  1433. "us-east-1": endpoint{},
  1434. },
  1435. },
  1436. "runtime.lex": service{
  1437. Defaults: endpoint{
  1438. CredentialScope: credentialScope{
  1439. Service: "lex",
  1440. },
  1441. },
  1442. Endpoints: endpoints{
  1443. "eu-west-1": endpoint{},
  1444. "us-east-1": endpoint{},
  1445. },
  1446. },
  1447. "s3": service{
  1448. PartitionEndpoint: "us-east-1",
  1449. IsRegionalized: boxedTrue,
  1450. Defaults: endpoint{
  1451. Protocols: []string{"http", "https"},
  1452. SignatureVersions: []string{"s3v4"},
  1453. HasDualStack: boxedTrue,
  1454. DualStackHostname: "{service}.dualstack.{region}.{dnsSuffix}",
  1455. },
  1456. Endpoints: endpoints{
  1457. "ap-northeast-1": endpoint{
  1458. Hostname: "s3.ap-northeast-1.amazonaws.com",
  1459. SignatureVersions: []string{"s3", "s3v4"},
  1460. },
  1461. "ap-northeast-2": endpoint{},
  1462. "ap-south-1": endpoint{},
  1463. "ap-southeast-1": endpoint{
  1464. Hostname: "s3.ap-southeast-1.amazonaws.com",
  1465. SignatureVersions: []string{"s3", "s3v4"},
  1466. },
  1467. "ap-southeast-2": endpoint{
  1468. Hostname: "s3.ap-southeast-2.amazonaws.com",
  1469. SignatureVersions: []string{"s3", "s3v4"},
  1470. },
  1471. "ca-central-1": endpoint{},
  1472. "eu-central-1": endpoint{},
  1473. "eu-west-1": endpoint{
  1474. Hostname: "s3.eu-west-1.amazonaws.com",
  1475. SignatureVersions: []string{"s3", "s3v4"},
  1476. },
  1477. "eu-west-2": endpoint{},
  1478. "eu-west-3": endpoint{},
  1479. "s3-external-1": endpoint{
  1480. Hostname: "s3-external-1.amazonaws.com",
  1481. SignatureVersions: []string{"s3", "s3v4"},
  1482. CredentialScope: credentialScope{
  1483. Region: "us-east-1",
  1484. },
  1485. },
  1486. "sa-east-1": endpoint{
  1487. Hostname: "s3.sa-east-1.amazonaws.com",
  1488. SignatureVersions: []string{"s3", "s3v4"},
  1489. },
  1490. "us-east-1": endpoint{
  1491. Hostname: "s3.amazonaws.com",
  1492. SignatureVersions: []string{"s3", "s3v4"},
  1493. },
  1494. "us-east-2": endpoint{},
  1495. "us-west-1": endpoint{
  1496. Hostname: "s3.us-west-1.amazonaws.com",
  1497. SignatureVersions: []string{"s3", "s3v4"},
  1498. },
  1499. "us-west-2": endpoint{
  1500. Hostname: "s3.us-west-2.amazonaws.com",
  1501. SignatureVersions: []string{"s3", "s3v4"},
  1502. },
  1503. },
  1504. },
  1505. "sdb": service{
  1506. Defaults: endpoint{
  1507. Protocols: []string{"http", "https"},
  1508. SignatureVersions: []string{"v2"},
  1509. },
  1510. Endpoints: endpoints{
  1511. "ap-northeast-1": endpoint{},
  1512. "ap-southeast-1": endpoint{},
  1513. "ap-southeast-2": endpoint{},
  1514. "eu-west-1": endpoint{},
  1515. "sa-east-1": endpoint{},
  1516. "us-east-1": endpoint{
  1517. Hostname: "sdb.amazonaws.com",
  1518. },
  1519. "us-west-1": endpoint{},
  1520. "us-west-2": endpoint{},
  1521. },
  1522. },
  1523. "servicecatalog": service{
  1524. Endpoints: endpoints{
  1525. "ap-northeast-1": endpoint{},
  1526. "ap-northeast-2": endpoint{},
  1527. "ap-south-1": endpoint{},
  1528. "ap-southeast-1": endpoint{},
  1529. "ap-southeast-2": endpoint{},
  1530. "ca-central-1": endpoint{},
  1531. "eu-central-1": endpoint{},
  1532. "eu-west-1": endpoint{},
  1533. "eu-west-2": endpoint{},
  1534. "eu-west-3": endpoint{},
  1535. "sa-east-1": endpoint{},
  1536. "us-east-1": endpoint{},
  1537. "us-east-2": endpoint{},
  1538. "us-west-1": endpoint{},
  1539. "us-west-2": endpoint{},
  1540. },
  1541. },
  1542. "shield": service{
  1543. IsRegionalized: boxedFalse,
  1544. Defaults: endpoint{
  1545. SSLCommonName: "Shield.us-east-1.amazonaws.com",
  1546. Protocols: []string{"https"},
  1547. },
  1548. Endpoints: endpoints{
  1549. "us-east-1": endpoint{},
  1550. },
  1551. },
  1552. "sms": service{
  1553. Endpoints: endpoints{
  1554. "ap-northeast-1": endpoint{},
  1555. "ap-northeast-2": endpoint{},
  1556. "ap-south-1": endpoint{},
  1557. "ap-southeast-2": endpoint{},
  1558. "eu-central-1": endpoint{},
  1559. "eu-west-1": endpoint{},
  1560. "eu-west-3": endpoint{},
  1561. "us-east-1": endpoint{},
  1562. "us-east-2": endpoint{},
  1563. "us-west-1": endpoint{},
  1564. "us-west-2": endpoint{},
  1565. },
  1566. },
  1567. "snowball": service{
  1568. Endpoints: endpoints{
  1569. "ap-northeast-1": endpoint{},
  1570. "ap-south-1": endpoint{},
  1571. "ap-southeast-2": endpoint{},
  1572. "eu-central-1": endpoint{},
  1573. "eu-west-1": endpoint{},
  1574. "eu-west-2": endpoint{},
  1575. "eu-west-3": endpoint{},
  1576. "sa-east-1": endpoint{},
  1577. "us-east-1": endpoint{},
  1578. "us-east-2": endpoint{},
  1579. "us-west-1": endpoint{},
  1580. "us-west-2": endpoint{},
  1581. },
  1582. },
  1583. "sns": service{
  1584. Defaults: endpoint{
  1585. Protocols: []string{"http", "https"},
  1586. },
  1587. Endpoints: endpoints{
  1588. "ap-northeast-1": endpoint{},
  1589. "ap-northeast-2": endpoint{},
  1590. "ap-south-1": endpoint{},
  1591. "ap-southeast-1": endpoint{},
  1592. "ap-southeast-2": endpoint{},
  1593. "ca-central-1": endpoint{},
  1594. "eu-central-1": endpoint{},
  1595. "eu-west-1": endpoint{},
  1596. "eu-west-2": endpoint{},
  1597. "eu-west-3": endpoint{},
  1598. "sa-east-1": endpoint{},
  1599. "us-east-1": endpoint{},
  1600. "us-east-2": endpoint{},
  1601. "us-west-1": endpoint{},
  1602. "us-west-2": endpoint{},
  1603. },
  1604. },
  1605. "sqs": service{
  1606. Defaults: endpoint{
  1607. SSLCommonName: "{region}.queue.{dnsSuffix}",
  1608. Protocols: []string{"http", "https"},
  1609. },
  1610. Endpoints: endpoints{
  1611. "ap-northeast-1": endpoint{},
  1612. "ap-northeast-2": endpoint{},
  1613. "ap-south-1": endpoint{},
  1614. "ap-southeast-1": endpoint{},
  1615. "ap-southeast-2": endpoint{},
  1616. "ca-central-1": endpoint{},
  1617. "eu-central-1": endpoint{},
  1618. "eu-west-1": endpoint{},
  1619. "eu-west-2": endpoint{},
  1620. "eu-west-3": endpoint{},
  1621. "sa-east-1": endpoint{},
  1622. "us-east-1": endpoint{
  1623. SSLCommonName: "queue.{dnsSuffix}",
  1624. },
  1625. "us-east-2": endpoint{},
  1626. "us-west-1": endpoint{},
  1627. "us-west-2": endpoint{},
  1628. },
  1629. },
  1630. "ssm": service{
  1631. Endpoints: endpoints{
  1632. "ap-northeast-1": endpoint{},
  1633. "ap-northeast-2": endpoint{},
  1634. "ap-south-1": endpoint{},
  1635. "ap-southeast-1": endpoint{},
  1636. "ap-southeast-2": endpoint{},
  1637. "ca-central-1": endpoint{},
  1638. "eu-central-1": endpoint{},
  1639. "eu-west-1": endpoint{},
  1640. "eu-west-2": endpoint{},
  1641. "eu-west-3": endpoint{},
  1642. "sa-east-1": endpoint{},
  1643. "us-east-1": endpoint{},
  1644. "us-east-2": endpoint{},
  1645. "us-west-1": endpoint{},
  1646. "us-west-2": endpoint{},
  1647. },
  1648. },
  1649. "states": service{
  1650. Endpoints: endpoints{
  1651. "ap-northeast-1": endpoint{},
  1652. "ap-southeast-2": endpoint{},
  1653. "eu-central-1": endpoint{},
  1654. "eu-west-1": endpoint{},
  1655. "eu-west-2": endpoint{},
  1656. "us-east-1": endpoint{},
  1657. "us-east-2": endpoint{},
  1658. "us-west-2": endpoint{},
  1659. },
  1660. },
  1661. "storagegateway": service{
  1662. Endpoints: endpoints{
  1663. "ap-northeast-1": endpoint{},
  1664. "ap-northeast-2": endpoint{},
  1665. "ap-south-1": endpoint{},
  1666. "ap-southeast-1": endpoint{},
  1667. "ap-southeast-2": endpoint{},
  1668. "ca-central-1": endpoint{},
  1669. "eu-central-1": endpoint{},
  1670. "eu-west-1": endpoint{},
  1671. "eu-west-2": endpoint{},
  1672. "eu-west-3": endpoint{},
  1673. "sa-east-1": endpoint{},
  1674. "us-east-1": endpoint{},
  1675. "us-east-2": endpoint{},
  1676. "us-west-1": endpoint{},
  1677. "us-west-2": endpoint{},
  1678. },
  1679. },
  1680. "streams.dynamodb": service{
  1681. Defaults: endpoint{
  1682. Protocols: []string{"http", "https"},
  1683. CredentialScope: credentialScope{
  1684. Service: "dynamodb",
  1685. },
  1686. },
  1687. Endpoints: endpoints{
  1688. "ap-northeast-1": endpoint{},
  1689. "ap-northeast-2": endpoint{},
  1690. "ap-south-1": endpoint{},
  1691. "ap-southeast-1": endpoint{},
  1692. "ap-southeast-2": endpoint{},
  1693. "ca-central-1": endpoint{},
  1694. "eu-central-1": endpoint{},
  1695. "eu-west-1": endpoint{},
  1696. "eu-west-2": endpoint{},
  1697. "eu-west-3": endpoint{},
  1698. "local": endpoint{
  1699. Hostname: "localhost:8000",
  1700. Protocols: []string{"http"},
  1701. CredentialScope: credentialScope{
  1702. Region: "us-east-1",
  1703. },
  1704. },
  1705. "sa-east-1": endpoint{},
  1706. "us-east-1": endpoint{},
  1707. "us-east-2": endpoint{},
  1708. "us-west-1": endpoint{},
  1709. "us-west-2": endpoint{},
  1710. },
  1711. },
  1712. "sts": service{
  1713. PartitionEndpoint: "aws-global",
  1714. Defaults: endpoint{
  1715. Hostname: "sts.amazonaws.com",
  1716. CredentialScope: credentialScope{
  1717. Region: "us-east-1",
  1718. },
  1719. },
  1720. Endpoints: endpoints{
  1721. "ap-northeast-1": endpoint{},
  1722. "ap-northeast-2": endpoint{
  1723. Hostname: "sts.ap-northeast-2.amazonaws.com",
  1724. CredentialScope: credentialScope{
  1725. Region: "ap-northeast-2",
  1726. },
  1727. },
  1728. "ap-south-1": endpoint{},
  1729. "ap-southeast-1": endpoint{},
  1730. "ap-southeast-2": endpoint{},
  1731. "aws-global": endpoint{},
  1732. "ca-central-1": endpoint{},
  1733. "eu-central-1": endpoint{},
  1734. "eu-west-1": endpoint{},
  1735. "eu-west-2": endpoint{},
  1736. "eu-west-3": endpoint{},
  1737. "sa-east-1": endpoint{},
  1738. "us-east-1": endpoint{},
  1739. "us-east-1-fips": endpoint{
  1740. Hostname: "sts-fips.us-east-1.amazonaws.com",
  1741. CredentialScope: credentialScope{
  1742. Region: "us-east-1",
  1743. },
  1744. },
  1745. "us-east-2": endpoint{},
  1746. "us-east-2-fips": endpoint{
  1747. Hostname: "sts-fips.us-east-2.amazonaws.com",
  1748. CredentialScope: credentialScope{
  1749. Region: "us-east-2",
  1750. },
  1751. },
  1752. "us-west-1": endpoint{},
  1753. "us-west-1-fips": endpoint{
  1754. Hostname: "sts-fips.us-west-1.amazonaws.com",
  1755. CredentialScope: credentialScope{
  1756. Region: "us-west-1",
  1757. },
  1758. },
  1759. "us-west-2": endpoint{},
  1760. "us-west-2-fips": endpoint{
  1761. Hostname: "sts-fips.us-west-2.amazonaws.com",
  1762. CredentialScope: credentialScope{
  1763. Region: "us-west-2",
  1764. },
  1765. },
  1766. },
  1767. },
  1768. "support": service{
  1769. Endpoints: endpoints{
  1770. "us-east-1": endpoint{},
  1771. },
  1772. },
  1773. "swf": service{
  1774. Endpoints: endpoints{
  1775. "ap-northeast-1": endpoint{},
  1776. "ap-northeast-2": endpoint{},
  1777. "ap-south-1": endpoint{},
  1778. "ap-southeast-1": endpoint{},
  1779. "ap-southeast-2": endpoint{},
  1780. "ca-central-1": endpoint{},
  1781. "eu-central-1": endpoint{},
  1782. "eu-west-1": endpoint{},
  1783. "eu-west-2": endpoint{},
  1784. "eu-west-3": endpoint{},
  1785. "sa-east-1": endpoint{},
  1786. "us-east-1": endpoint{},
  1787. "us-east-2": endpoint{},
  1788. "us-west-1": endpoint{},
  1789. "us-west-2": endpoint{},
  1790. },
  1791. },
  1792. "tagging": service{
  1793. Endpoints: endpoints{
  1794. "ap-northeast-1": endpoint{},
  1795. "ap-northeast-2": endpoint{},
  1796. "ap-south-1": endpoint{},
  1797. "ap-southeast-1": endpoint{},
  1798. "ap-southeast-2": endpoint{},
  1799. "ca-central-1": endpoint{},
  1800. "eu-central-1": endpoint{},
  1801. "eu-west-1": endpoint{},
  1802. "eu-west-2": endpoint{},
  1803. "sa-east-1": endpoint{},
  1804. "us-east-1": endpoint{},
  1805. "us-east-2": endpoint{},
  1806. "us-west-1": endpoint{},
  1807. "us-west-2": endpoint{},
  1808. },
  1809. },
  1810. "waf": service{
  1811. PartitionEndpoint: "aws-global",
  1812. IsRegionalized: boxedFalse,
  1813. Endpoints: endpoints{
  1814. "aws-global": endpoint{
  1815. Hostname: "waf.amazonaws.com",
  1816. CredentialScope: credentialScope{
  1817. Region: "us-east-1",
  1818. },
  1819. },
  1820. },
  1821. },
  1822. "waf-regional": service{
  1823. Endpoints: endpoints{
  1824. "ap-northeast-1": endpoint{},
  1825. "eu-west-1": endpoint{},
  1826. "us-east-1": endpoint{},
  1827. "us-west-1": endpoint{},
  1828. "us-west-2": endpoint{},
  1829. },
  1830. },
  1831. "workdocs": service{
  1832. Endpoints: endpoints{
  1833. "ap-northeast-1": endpoint{},
  1834. "ap-southeast-1": endpoint{},
  1835. "ap-southeast-2": endpoint{},
  1836. "eu-west-1": endpoint{},
  1837. "us-east-1": endpoint{},
  1838. "us-west-2": endpoint{},
  1839. },
  1840. },
  1841. "workspaces": service{
  1842. Endpoints: endpoints{
  1843. "ap-northeast-1": endpoint{},
  1844. "ap-southeast-1": endpoint{},
  1845. "ap-southeast-2": endpoint{},
  1846. "eu-central-1": endpoint{},
  1847. "eu-west-1": endpoint{},
  1848. "eu-west-2": endpoint{},
  1849. "us-east-1": endpoint{},
  1850. "us-west-2": endpoint{},
  1851. },
  1852. },
  1853. "xray": service{
  1854. Endpoints: endpoints{
  1855. "ap-northeast-1": endpoint{},
  1856. "ap-northeast-2": endpoint{},
  1857. "ap-south-1": endpoint{},
  1858. "ap-southeast-1": endpoint{},
  1859. "ap-southeast-2": endpoint{},
  1860. "ca-central-1": endpoint{},
  1861. "eu-central-1": endpoint{},
  1862. "eu-west-1": endpoint{},
  1863. "eu-west-2": endpoint{},
  1864. "sa-east-1": endpoint{},
  1865. "us-east-1": endpoint{},
  1866. "us-east-2": endpoint{},
  1867. "us-west-1": endpoint{},
  1868. "us-west-2": endpoint{},
  1869. },
  1870. },
  1871. },
  1872. }
  1873. // AwsCnPartition returns the Resolver for AWS China.
  1874. func AwsCnPartition() Partition {
  1875. return awscnPartition.Partition()
  1876. }
  1877. var awscnPartition = partition{
  1878. ID: "aws-cn",
  1879. Name: "AWS China",
  1880. DNSSuffix: "amazonaws.com.cn",
  1881. RegionRegex: regionRegex{
  1882. Regexp: func() *regexp.Regexp {
  1883. reg, _ := regexp.Compile("^cn\\-\\w+\\-\\d+$")
  1884. return reg
  1885. }(),
  1886. },
  1887. Defaults: endpoint{
  1888. Hostname: "{service}.{region}.{dnsSuffix}",
  1889. Protocols: []string{"https"},
  1890. SignatureVersions: []string{"v4"},
  1891. },
  1892. Regions: regions{
  1893. "cn-north-1": region{
  1894. Description: "China (Beijing)",
  1895. },
  1896. "cn-northwest-1": region{
  1897. Description: "China (Ningxia)",
  1898. },
  1899. },
  1900. Services: services{
  1901. "apigateway": service{
  1902. Endpoints: endpoints{
  1903. "cn-north-1": endpoint{},
  1904. },
  1905. },
  1906. "application-autoscaling": service{
  1907. Defaults: endpoint{
  1908. Hostname: "autoscaling.{region}.amazonaws.com",
  1909. Protocols: []string{"http", "https"},
  1910. CredentialScope: credentialScope{
  1911. Service: "application-autoscaling",
  1912. },
  1913. },
  1914. Endpoints: endpoints{
  1915. "cn-north-1": endpoint{},
  1916. "cn-northwest-1": endpoint{},
  1917. },
  1918. },
  1919. "autoscaling": service{
  1920. Defaults: endpoint{
  1921. Protocols: []string{"http", "https"},
  1922. },
  1923. Endpoints: endpoints{
  1924. "cn-north-1": endpoint{},
  1925. "cn-northwest-1": endpoint{},
  1926. },
  1927. },
  1928. "cloudformation": service{
  1929. Endpoints: endpoints{
  1930. "cn-north-1": endpoint{},
  1931. "cn-northwest-1": endpoint{},
  1932. },
  1933. },
  1934. "cloudtrail": service{
  1935. Endpoints: endpoints{
  1936. "cn-north-1": endpoint{},
  1937. "cn-northwest-1": endpoint{},
  1938. },
  1939. },
  1940. "codedeploy": service{
  1941. Endpoints: endpoints{
  1942. "cn-north-1": endpoint{},
  1943. "cn-northwest-1": endpoint{},
  1944. },
  1945. },
  1946. "cognito-identity": service{
  1947. Endpoints: endpoints{
  1948. "cn-north-1": endpoint{},
  1949. },
  1950. },
  1951. "config": service{
  1952. Endpoints: endpoints{
  1953. "cn-north-1": endpoint{},
  1954. "cn-northwest-1": endpoint{},
  1955. },
  1956. },
  1957. "directconnect": service{
  1958. Endpoints: endpoints{
  1959. "cn-north-1": endpoint{},
  1960. "cn-northwest-1": endpoint{},
  1961. },
  1962. },
  1963. "dynamodb": service{
  1964. Defaults: endpoint{
  1965. Protocols: []string{"http", "https"},
  1966. },
  1967. Endpoints: endpoints{
  1968. "cn-north-1": endpoint{},
  1969. "cn-northwest-1": endpoint{},
  1970. },
  1971. },
  1972. "ec2": service{
  1973. Defaults: endpoint{
  1974. Protocols: []string{"http", "https"},
  1975. },
  1976. Endpoints: endpoints{
  1977. "cn-north-1": endpoint{},
  1978. "cn-northwest-1": endpoint{},
  1979. },
  1980. },
  1981. "ec2metadata": service{
  1982. PartitionEndpoint: "aws-global",
  1983. IsRegionalized: boxedFalse,
  1984. Endpoints: endpoints{
  1985. "aws-global": endpoint{
  1986. Hostname: "169.254.169.254/latest",
  1987. Protocols: []string{"http"},
  1988. },
  1989. },
  1990. },
  1991. "ecr": service{
  1992. Endpoints: endpoints{
  1993. "cn-north-1": endpoint{},
  1994. },
  1995. },
  1996. "ecs": service{
  1997. Endpoints: endpoints{
  1998. "cn-north-1": endpoint{},
  1999. },
  2000. },
  2001. "elasticache": service{
  2002. Endpoints: endpoints{
  2003. "cn-north-1": endpoint{},
  2004. "cn-northwest-1": endpoint{},
  2005. },
  2006. },
  2007. "elasticbeanstalk": service{
  2008. Endpoints: endpoints{
  2009. "cn-north-1": endpoint{},
  2010. "cn-northwest-1": endpoint{},
  2011. },
  2012. },
  2013. "elasticloadbalancing": service{
  2014. Defaults: endpoint{
  2015. Protocols: []string{"https"},
  2016. },
  2017. Endpoints: endpoints{
  2018. "cn-north-1": endpoint{},
  2019. "cn-northwest-1": endpoint{},
  2020. },
  2021. },
  2022. "elasticmapreduce": service{
  2023. Defaults: endpoint{
  2024. Protocols: []string{"http", "https"},
  2025. },
  2026. Endpoints: endpoints{
  2027. "cn-north-1": endpoint{},
  2028. "cn-northwest-1": endpoint{},
  2029. },
  2030. },
  2031. "es": service{
  2032. Endpoints: endpoints{
  2033. "cn-northwest-1": endpoint{},
  2034. },
  2035. },
  2036. "events": service{
  2037. Endpoints: endpoints{
  2038. "cn-north-1": endpoint{},
  2039. "cn-northwest-1": endpoint{},
  2040. },
  2041. },
  2042. "glacier": service{
  2043. Defaults: endpoint{
  2044. Protocols: []string{"http", "https"},
  2045. },
  2046. Endpoints: endpoints{
  2047. "cn-north-1": endpoint{},
  2048. "cn-northwest-1": endpoint{},
  2049. },
  2050. },
  2051. "iam": service{
  2052. PartitionEndpoint: "aws-cn-global",
  2053. IsRegionalized: boxedFalse,
  2054. Endpoints: endpoints{
  2055. "aws-cn-global": endpoint{
  2056. Hostname: "iam.cn-north-1.amazonaws.com.cn",
  2057. CredentialScope: credentialScope{
  2058. Region: "cn-north-1",
  2059. },
  2060. },
  2061. },
  2062. },
  2063. "iot": service{
  2064. Defaults: endpoint{
  2065. CredentialScope: credentialScope{
  2066. Service: "execute-api",
  2067. },
  2068. },
  2069. Endpoints: endpoints{
  2070. "cn-north-1": endpoint{},
  2071. },
  2072. },
  2073. "kinesis": service{
  2074. Endpoints: endpoints{
  2075. "cn-north-1": endpoint{},
  2076. "cn-northwest-1": endpoint{},
  2077. },
  2078. },
  2079. "lambda": service{
  2080. Endpoints: endpoints{
  2081. "cn-north-1": endpoint{},
  2082. },
  2083. },
  2084. "logs": service{
  2085. Endpoints: endpoints{
  2086. "cn-north-1": endpoint{},
  2087. "cn-northwest-1": endpoint{},
  2088. },
  2089. },
  2090. "monitoring": service{
  2091. Defaults: endpoint{
  2092. Protocols: []string{"http", "https"},
  2093. },
  2094. Endpoints: endpoints{
  2095. "cn-north-1": endpoint{},
  2096. "cn-northwest-1": endpoint{},
  2097. },
  2098. },
  2099. "rds": service{
  2100. Endpoints: endpoints{
  2101. "cn-north-1": endpoint{},
  2102. "cn-northwest-1": endpoint{},
  2103. },
  2104. },
  2105. "redshift": service{
  2106. Endpoints: endpoints{
  2107. "cn-north-1": endpoint{},
  2108. "cn-northwest-1": endpoint{},
  2109. },
  2110. },
  2111. "s3": service{
  2112. Defaults: endpoint{
  2113. Protocols: []string{"http", "https"},
  2114. SignatureVersions: []string{"s3v4"},
  2115. },
  2116. Endpoints: endpoints{
  2117. "cn-north-1": endpoint{},
  2118. "cn-northwest-1": endpoint{},
  2119. },
  2120. },
  2121. "snowball": service{
  2122. Endpoints: endpoints{
  2123. "cn-north-1": endpoint{},
  2124. },
  2125. },
  2126. "sns": service{
  2127. Defaults: endpoint{
  2128. Protocols: []string{"http", "https"},
  2129. },
  2130. Endpoints: endpoints{
  2131. "cn-north-1": endpoint{},
  2132. "cn-northwest-1": endpoint{},
  2133. },
  2134. },
  2135. "sqs": service{
  2136. Defaults: endpoint{
  2137. SSLCommonName: "{region}.queue.{dnsSuffix}",
  2138. Protocols: []string{"http", "https"},
  2139. },
  2140. Endpoints: endpoints{
  2141. "cn-north-1": endpoint{},
  2142. "cn-northwest-1": endpoint{},
  2143. },
  2144. },
  2145. "ssm": service{
  2146. Endpoints: endpoints{
  2147. "cn-north-1": endpoint{},
  2148. "cn-northwest-1": endpoint{},
  2149. },
  2150. },
  2151. "storagegateway": service{
  2152. Endpoints: endpoints{
  2153. "cn-north-1": endpoint{},
  2154. },
  2155. },
  2156. "streams.dynamodb": service{
  2157. Defaults: endpoint{
  2158. Protocols: []string{"http", "https"},
  2159. CredentialScope: credentialScope{
  2160. Service: "dynamodb",
  2161. },
  2162. },
  2163. Endpoints: endpoints{
  2164. "cn-north-1": endpoint{},
  2165. "cn-northwest-1": endpoint{},
  2166. },
  2167. },
  2168. "sts": service{
  2169. Endpoints: endpoints{
  2170. "cn-north-1": endpoint{},
  2171. "cn-northwest-1": endpoint{},
  2172. },
  2173. },
  2174. "swf": service{
  2175. Endpoints: endpoints{
  2176. "cn-north-1": endpoint{},
  2177. "cn-northwest-1": endpoint{},
  2178. },
  2179. },
  2180. "tagging": service{
  2181. Endpoints: endpoints{
  2182. "cn-north-1": endpoint{},
  2183. },
  2184. },
  2185. },
  2186. }
  2187. // AwsUsGovPartition returns the Resolver for AWS GovCloud (US).
  2188. func AwsUsGovPartition() Partition {
  2189. return awsusgovPartition.Partition()
  2190. }
  2191. var awsusgovPartition = partition{
  2192. ID: "aws-us-gov",
  2193. Name: "AWS GovCloud (US)",
  2194. DNSSuffix: "amazonaws.com",
  2195. RegionRegex: regionRegex{
  2196. Regexp: func() *regexp.Regexp {
  2197. reg, _ := regexp.Compile("^us\\-gov\\-\\w+\\-\\d+$")
  2198. return reg
  2199. }(),
  2200. },
  2201. Defaults: endpoint{
  2202. Hostname: "{service}.{region}.{dnsSuffix}",
  2203. Protocols: []string{"https"},
  2204. SignatureVersions: []string{"v4"},
  2205. },
  2206. Regions: regions{
  2207. "us-gov-west-1": region{
  2208. Description: "AWS GovCloud (US)",
  2209. },
  2210. },
  2211. Services: services{
  2212. "acm": service{
  2213. Endpoints: endpoints{
  2214. "us-gov-west-1": endpoint{},
  2215. },
  2216. },
  2217. "apigateway": service{
  2218. Endpoints: endpoints{
  2219. "us-gov-west-1": endpoint{},
  2220. },
  2221. },
  2222. "autoscaling": service{
  2223. Endpoints: endpoints{
  2224. "us-gov-west-1": endpoint{
  2225. Protocols: []string{"http", "https"},
  2226. },
  2227. },
  2228. },
  2229. "cloudformation": service{
  2230. Endpoints: endpoints{
  2231. "us-gov-west-1": endpoint{},
  2232. },
  2233. },
  2234. "cloudhsm": service{
  2235. Endpoints: endpoints{
  2236. "us-gov-west-1": endpoint{},
  2237. },
  2238. },
  2239. "cloudtrail": service{
  2240. Endpoints: endpoints{
  2241. "us-gov-west-1": endpoint{},
  2242. },
  2243. },
  2244. "codedeploy": service{
  2245. Endpoints: endpoints{
  2246. "us-gov-west-1": endpoint{},
  2247. },
  2248. },
  2249. "config": service{
  2250. Endpoints: endpoints{
  2251. "us-gov-west-1": endpoint{},
  2252. },
  2253. },
  2254. "directconnect": service{
  2255. Endpoints: endpoints{
  2256. "us-gov-west-1": endpoint{},
  2257. },
  2258. },
  2259. "dms": service{
  2260. Endpoints: endpoints{
  2261. "us-gov-west-1": endpoint{},
  2262. },
  2263. },
  2264. "dynamodb": service{
  2265. Endpoints: endpoints{
  2266. "us-gov-west-1": endpoint{},
  2267. "us-gov-west-1-fips": endpoint{
  2268. Hostname: "dynamodb.us-gov-west-1.amazonaws.com",
  2269. CredentialScope: credentialScope{
  2270. Region: "us-gov-west-1",
  2271. },
  2272. },
  2273. },
  2274. },
  2275. "ec2": service{
  2276. Endpoints: endpoints{
  2277. "us-gov-west-1": endpoint{},
  2278. },
  2279. },
  2280. "ec2metadata": service{
  2281. PartitionEndpoint: "aws-global",
  2282. IsRegionalized: boxedFalse,
  2283. Endpoints: endpoints{
  2284. "aws-global": endpoint{
  2285. Hostname: "169.254.169.254/latest",
  2286. Protocols: []string{"http"},
  2287. },
  2288. },
  2289. },
  2290. "elasticache": service{
  2291. Endpoints: endpoints{
  2292. "us-gov-west-1": endpoint{},
  2293. },
  2294. },
  2295. "elasticbeanstalk": service{
  2296. Endpoints: endpoints{
  2297. "us-gov-west-1": endpoint{},
  2298. },
  2299. },
  2300. "elasticloadbalancing": service{
  2301. Endpoints: endpoints{
  2302. "us-gov-west-1": endpoint{
  2303. Protocols: []string{"http", "https"},
  2304. },
  2305. },
  2306. },
  2307. "elasticmapreduce": service{
  2308. Endpoints: endpoints{
  2309. "us-gov-west-1": endpoint{
  2310. Protocols: []string{"http", "https"},
  2311. },
  2312. },
  2313. },
  2314. "events": service{
  2315. Endpoints: endpoints{
  2316. "us-gov-west-1": endpoint{},
  2317. },
  2318. },
  2319. "glacier": service{
  2320. Endpoints: endpoints{
  2321. "us-gov-west-1": endpoint{
  2322. Protocols: []string{"http", "https"},
  2323. },
  2324. },
  2325. },
  2326. "iam": service{
  2327. PartitionEndpoint: "aws-us-gov-global",
  2328. IsRegionalized: boxedFalse,
  2329. Endpoints: endpoints{
  2330. "aws-us-gov-global": endpoint{
  2331. Hostname: "iam.us-gov.amazonaws.com",
  2332. CredentialScope: credentialScope{
  2333. Region: "us-gov-west-1",
  2334. },
  2335. },
  2336. },
  2337. },
  2338. "kinesis": service{
  2339. Endpoints: endpoints{
  2340. "us-gov-west-1": endpoint{},
  2341. },
  2342. },
  2343. "kms": service{
  2344. Endpoints: endpoints{
  2345. "us-gov-west-1": endpoint{},
  2346. },
  2347. },
  2348. "lambda": service{
  2349. Endpoints: endpoints{
  2350. "us-gov-west-1": endpoint{},
  2351. },
  2352. },
  2353. "logs": service{
  2354. Endpoints: endpoints{
  2355. "us-gov-west-1": endpoint{},
  2356. },
  2357. },
  2358. "monitoring": service{
  2359. Endpoints: endpoints{
  2360. "us-gov-west-1": endpoint{},
  2361. },
  2362. },
  2363. "rds": service{
  2364. Endpoints: endpoints{
  2365. "us-gov-west-1": endpoint{},
  2366. },
  2367. },
  2368. "redshift": service{
  2369. Endpoints: endpoints{
  2370. "us-gov-west-1": endpoint{},
  2371. },
  2372. },
  2373. "rekognition": service{
  2374. Endpoints: endpoints{
  2375. "us-gov-west-1": endpoint{},
  2376. },
  2377. },
  2378. "s3": service{
  2379. Defaults: endpoint{
  2380. SignatureVersions: []string{"s3", "s3v4"},
  2381. },
  2382. Endpoints: endpoints{
  2383. "fips-us-gov-west-1": endpoint{
  2384. Hostname: "s3-fips-us-gov-west-1.amazonaws.com",
  2385. CredentialScope: credentialScope{
  2386. Region: "us-gov-west-1",
  2387. },
  2388. },
  2389. "us-gov-west-1": endpoint{
  2390. Hostname: "s3.us-gov-west-1.amazonaws.com",
  2391. Protocols: []string{"http", "https"},
  2392. },
  2393. },
  2394. },
  2395. "sms": service{
  2396. Endpoints: endpoints{
  2397. "us-gov-west-1": endpoint{},
  2398. },
  2399. },
  2400. "snowball": service{
  2401. Endpoints: endpoints{
  2402. "us-gov-west-1": endpoint{},
  2403. },
  2404. },
  2405. "sns": service{
  2406. Endpoints: endpoints{
  2407. "us-gov-west-1": endpoint{
  2408. Protocols: []string{"http", "https"},
  2409. },
  2410. },
  2411. },
  2412. "sqs": service{
  2413. Endpoints: endpoints{
  2414. "us-gov-west-1": endpoint{
  2415. SSLCommonName: "{region}.queue.{dnsSuffix}",
  2416. Protocols: []string{"http", "https"},
  2417. },
  2418. },
  2419. },
  2420. "ssm": service{
  2421. Endpoints: endpoints{
  2422. "us-gov-west-1": endpoint{},
  2423. },
  2424. },
  2425. "streams.dynamodb": service{
  2426. Defaults: endpoint{
  2427. CredentialScope: credentialScope{
  2428. Service: "dynamodb",
  2429. },
  2430. },
  2431. Endpoints: endpoints{
  2432. "us-gov-west-1": endpoint{},
  2433. "us-gov-west-1-fips": endpoint{
  2434. Hostname: "dynamodb.us-gov-west-1.amazonaws.com",
  2435. CredentialScope: credentialScope{
  2436. Region: "us-gov-west-1",
  2437. },
  2438. },
  2439. },
  2440. },
  2441. "sts": service{
  2442. Endpoints: endpoints{
  2443. "us-gov-west-1": endpoint{},
  2444. },
  2445. },
  2446. "swf": service{
  2447. Endpoints: endpoints{
  2448. "us-gov-west-1": endpoint{},
  2449. },
  2450. },
  2451. },
  2452. }