diff --git a/endpoints/endpoints.go b/endpoints/endpoints.go index 68a29284..fd2d7627 100644 --- a/endpoints/endpoints.go +++ b/endpoints/endpoints.go @@ -4,5 +4,6 @@ package endpoints const ( - AwsGlobalRegionID = "aws-global" // AWS Standard global region. + // AWS Standard global region. + AwsGlobalRegionID = "aws-global" ) diff --git a/endpoints/endpoints_gen.go b/endpoints/endpoints_gen.go index b61fe057..65fbb3f9 100644 --- a/endpoints/endpoints_gen.go +++ b/endpoints/endpoints_gen.go @@ -11,62 +11,107 @@ import ( // All known partition IDs. const ( - AwsPartitionID = "aws" // AWS Standard - AwsCnPartitionID = "aws-cn" // AWS China - AwsIsoPartitionID = "aws-iso" // AWS ISO (US) - AwsIsoBPartitionID = "aws-iso-b" // AWS ISOB (US) - AwsIsoEPartitionID = "aws-iso-e" // AWS ISOE (Europe) - AwsIsoFPartitionID = "aws-iso-f" // AWS ISOF - AwsUsGovPartitionID = "aws-us-gov" // AWS GovCloud (US) + // AWS Standard + AwsPartitionID = "aws" + // AWS China + AwsCnPartitionID = "aws-cn" + // AWS ISO (US) + AwsIsoPartitionID = "aws-iso" + // AWS ISOB (US) + AwsIsoBPartitionID = "aws-iso-b" + // AWS ISOE (Europe) + AwsIsoEPartitionID = "aws-iso-e" + // AWS ISOF + AwsIsoFPartitionID = "aws-iso-f" + // AWS GovCloud (US) + AwsUsGovPartitionID = "aws-us-gov" ) // All known Region IDs. const ( // AWS Standard partition's Regions. - AfSouth1RegionID = "af-south-1" // Africa (Cape Town) - ApEast1RegionID = "ap-east-1" // Asia Pacific (Hong Kong) - ApNortheast1RegionID = "ap-northeast-1" // Asia Pacific (Tokyo) - ApNortheast2RegionID = "ap-northeast-2" // Asia Pacific (Seoul) - ApNortheast3RegionID = "ap-northeast-3" // Asia Pacific (Osaka) - ApSouth1RegionID = "ap-south-1" // Asia Pacific (Mumbai) - ApSouth2RegionID = "ap-south-2" // Asia Pacific (Hyderabad) - ApSoutheast1RegionID = "ap-southeast-1" // Asia Pacific (Singapore) - ApSoutheast2RegionID = "ap-southeast-2" // Asia Pacific (Sydney) - ApSoutheast3RegionID = "ap-southeast-3" // Asia Pacific (Jakarta) - ApSoutheast4RegionID = "ap-southeast-4" // Asia Pacific (Melbourne) - ApSoutheast5RegionID = "ap-southeast-5" // Asia Pacific (Malaysia) - CaCentral1RegionID = "ca-central-1" // Canada (Central) - CaWest1RegionID = "ca-west-1" // Canada West (Calgary) - EuCentral1RegionID = "eu-central-1" // Europe (Frankfurt) - EuCentral2RegionID = "eu-central-2" // Europe (Zurich) - EuNorth1RegionID = "eu-north-1" // Europe (Stockholm) - EuSouth1RegionID = "eu-south-1" // Europe (Milan) - EuSouth2RegionID = "eu-south-2" // Europe (Spain) - EuWest1RegionID = "eu-west-1" // Europe (Ireland) - EuWest2RegionID = "eu-west-2" // Europe (London) - EuWest3RegionID = "eu-west-3" // Europe (Paris) - IlCentral1RegionID = "il-central-1" // Israel (Tel Aviv) - MeCentral1RegionID = "me-central-1" // Middle East (UAE) - MeSouth1RegionID = "me-south-1" // Middle East (Bahrain) - SaEast1RegionID = "sa-east-1" // South America (Sao Paulo) - UsEast1RegionID = "us-east-1" // US East (N. Virginia) - UsEast2RegionID = "us-east-2" // US East (Ohio) - UsWest1RegionID = "us-west-1" // US West (N. California) - UsWest2RegionID = "us-west-2" // US West (Oregon) + // Africa (Cape Town) + AfSouth1RegionID = "af-south-1" + // Asia Pacific (Hong Kong) + ApEast1RegionID = "ap-east-1" + // Asia Pacific (Tokyo) + ApNortheast1RegionID = "ap-northeast-1" + // Asia Pacific (Seoul) + ApNortheast2RegionID = "ap-northeast-2" + // Asia Pacific (Osaka) + ApNortheast3RegionID = "ap-northeast-3" + // Asia Pacific (Mumbai) + ApSouth1RegionID = "ap-south-1" + // Asia Pacific (Hyderabad) + ApSouth2RegionID = "ap-south-2" + // Asia Pacific (Singapore) + ApSoutheast1RegionID = "ap-southeast-1" + // Asia Pacific (Sydney) + ApSoutheast2RegionID = "ap-southeast-2" + // Asia Pacific (Jakarta) + ApSoutheast3RegionID = "ap-southeast-3" + // Asia Pacific (Melbourne) + ApSoutheast4RegionID = "ap-southeast-4" + // Asia Pacific (Malaysia) + ApSoutheast5RegionID = "ap-southeast-5" + // Canada (Central) + CaCentral1RegionID = "ca-central-1" + // Canada West (Calgary) + CaWest1RegionID = "ca-west-1" + // Europe (Frankfurt) + EuCentral1RegionID = "eu-central-1" + // Europe (Zurich) + EuCentral2RegionID = "eu-central-2" + // Europe (Stockholm) + EuNorth1RegionID = "eu-north-1" + // Europe (Milan) + EuSouth1RegionID = "eu-south-1" + // Europe (Spain) + EuSouth2RegionID = "eu-south-2" + // Europe (Ireland) + EuWest1RegionID = "eu-west-1" + // Europe (London) + EuWest2RegionID = "eu-west-2" + // Europe (Paris) + EuWest3RegionID = "eu-west-3" + // Israel (Tel Aviv) + IlCentral1RegionID = "il-central-1" + // Middle East (UAE) + MeCentral1RegionID = "me-central-1" + // Middle East (Bahrain) + MeSouth1RegionID = "me-south-1" + // South America (Sao Paulo) + SaEast1RegionID = "sa-east-1" + // US East (N. Virginia) + UsEast1RegionID = "us-east-1" + // US East (Ohio) + UsEast2RegionID = "us-east-2" + // US West (N. California) + UsWest1RegionID = "us-west-1" + // US West (Oregon) + UsWest2RegionID = "us-west-2" // AWS China partition's Regions. - CnNorth1RegionID = "cn-north-1" // China (Beijing) - CnNorthwest1RegionID = "cn-northwest-1" // China (Ningxia) + // China (Beijing) + CnNorth1RegionID = "cn-north-1" + // China (Ningxia) + CnNorthwest1RegionID = "cn-northwest-1" // AWS ISO (US) partition's Regions. - UsIsoEast1RegionID = "us-iso-east-1" // US ISO East - UsIsoWest1RegionID = "us-iso-west-1" // US ISO WEST + // US ISO East + UsIsoEast1RegionID = "us-iso-east-1" + // US ISO WEST + UsIsoWest1RegionID = "us-iso-west-1" // AWS ISOB (US) partition's Regions. - UsIsobEast1RegionID = "us-isob-east-1" // US ISOB East (Ohio) + // US ISOB East (Ohio) + UsIsobEast1RegionID = "us-isob-east-1" // AWS ISOE (Europe) partition's Regions. - EuIsoeWest1RegionID = "eu-isoe-west-1" // EU ISOE West + // EU ISOE West + EuIsoeWest1RegionID = "eu-isoe-west-1" // AWS ISOF partition's Regions. // AWS GovCloud (US) partition's Regions. - UsGovEast1RegionID = "us-gov-east-1" // AWS GovCloud (US-East) - UsGovWest1RegionID = "us-gov-west-1" // AWS GovCloud (US-West) + // AWS GovCloud (US-East) + UsGovEast1RegionID = "us-gov-east-1" + // AWS GovCloud (US-West) + UsGovWest1RegionID = "us-gov-west-1" ) var ( @@ -838,6 +883,12 @@ var ( "networkmanager": { id: "networkmanager", }, + "notifications": { + id: "notifications", + }, + "notifications-contacts": { + id: "notifications-contacts", + }, "oam": { id: "oam", }, @@ -1477,6 +1528,9 @@ var ( "network-firewall": { id: "network-firewall", }, + "notifications": { + id: "notifications", + }, "oam": { id: "oam", }, @@ -2481,6 +2535,9 @@ var ( "meetings-chime": { id: "meetings-chime", }, + "memory-db": { + id: "memory-db", + }, "metering.marketplace": { id: "metering.marketplace", }, @@ -2511,6 +2568,9 @@ var ( "networkmanager": { id: "networkmanager", }, + "notifications": { + id: "notifications", + }, "oam": { id: "oam", }, diff --git a/internal/generate/endpoints/output.go.gtpl b/internal/generate/endpoints/output.go.gtpl index d2f93809..387d4949 100644 --- a/internal/generate/endpoints/output.go.gtpl +++ b/internal/generate/endpoints/output.go.gtpl @@ -12,7 +12,8 @@ import ( // All known partition IDs. const ( {{- range .Partitions }} - {{ .ID | IDToTitle}}PartitionID = "{{ .ID }}" // {{ .Name }} + // {{ .Name }} + {{ .ID | IDToTitle}}PartitionID = "{{ .ID }}" {{- end }} ) @@ -21,7 +22,8 @@ const ( {{- range .Partitions }} // {{ .Name }} partition's Regions. {{- range .Regions }} - {{ .ID | IDToTitle}}RegionID = "{{ .ID }}" // {{ .Description }} + // {{ .Description }} + {{ .ID | IDToTitle}}RegionID = "{{ .ID }}" {{- end }} {{- end }} )