Skip to content

Commit b73724c

Browse files
authored
fix: add cognito and globalaccelerator services (#893)
1 parent 21286db commit b73724c

File tree

1 file changed

+84
-80
lines changed

1 file changed

+84
-80
lines changed

pkg/console/service_map.go

Lines changed: 84 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -3,87 +3,91 @@ package console
33
// ServiceMap maps CLI flags to AWS console URL paths.
44
// e.g. passing in `-s ec2` will open the console at the ec2/v2 URL.
55
var ServiceMap = map[string]string{
6-
"": "console",
7-
"acm": "acm",
8-
"aos": "aos",
9-
"apigateway": "apigateway",
10-
"apigw": "apigateway",
11-
"appsync": "appsync",
12-
"athena": "athena",
13-
"backup": "backup",
14-
"bedrock": "bedrock",
15-
"billing": "billing",
16-
"c9": "cloud9",
17-
"ce": "cost-management",
18-
"cf": "cloudfront",
19-
"cfn": "cloudformation",
20-
"cloudformation": "cloudformation",
21-
"cloudfront": "cloudfront",
22-
"cloudmap": "cloudmap",
23-
"cloudwatch": "cloudwatch",
24-
"codeartifact": "codesuite/codeartifact",
25-
"codecommit": "codesuite/codecommit",
26-
"codedeploy": "codedeploy",
27-
"codepipeline": "codepipeline",
28-
"codesuite": "codesuite",
29-
"config": "config",
30-
"controltower": "controltower",
31-
"ct": "cloudtrail",
32-
"cw": "cloudwatch",
33-
"ddb": "dynamodbv2",
34-
"dms": "dms/v2",
35-
"dx": "directconnect/v2",
36-
"dynamodb": "dynamodbv2",
37-
"eb": "elasticbeanstalk",
38-
"ebs": "elasticbeanstalk",
39-
"ec2": "ec2/v2",
40-
"ecr": "ecr",
41-
"ecs": "ecs",
42-
"eks": "eks",
43-
"elasticache": "elasticache",
44-
"eventbridge": "events",
45-
"events": "events",
46-
"gd": "guardduty",
47-
"grafana": "grafana",
48-
"iam": "iamv2",
49-
"kms": "kms",
50-
"l": "lambda",
51-
"lambda": "lambda",
52-
"mwaa": "mwaa",
53-
"organizations": "organizations/v2",
54-
"orgs": "organizations/v2",
55-
"param": "systems-manager/parameters",
56-
"r53": "route53/v2",
57-
"ram": "ram",
58-
"rds": "rds",
59-
"redshift": "redshiftv2",
60-
"route53": "route53/v2",
61-
"s3": "s3",
62-
"sagemaker": "sagemaker",
63-
"scrh": "securityhub",
64-
"scrm": "secretsmanager",
65-
"secretsmanager": "secretsmanager",
66-
"securityhub": "securityhub",
67-
"ses": "ses",
68-
"sfn": "states",
69-
"sm": "secretsmanager",
70-
"sns": "sns",
71-
"sqs": "sqs",
72-
"ssm": "systems-manager",
73-
"sso": "singlesignon",
74-
"states": "states",
75-
"stepfn": "states",
76-
"tra": "trustedadvisor",
77-
"trustedadvisor": "trustedadvisor",
78-
"vpc": "vpc",
79-
"waf": "wafv2",
80-
"wafv2": "wafv2/homev2",
6+
"": "console",
7+
"acm": "acm",
8+
"aos": "aos",
9+
"apigateway": "apigateway",
10+
"apigw": "apigateway",
11+
"appsync": "appsync",
12+
"athena": "athena",
13+
"backup": "backup",
14+
"bedrock": "bedrock",
15+
"billing": "billing",
16+
"c9": "cloud9",
17+
"ce": "cost-management",
18+
"cf": "cloudfront",
19+
"cfn": "cloudformation",
20+
"cloudformation": "cloudformation",
21+
"cloudfront": "cloudfront",
22+
"cloudmap": "cloudmap",
23+
"cloudwatch": "cloudwatch",
24+
"codeartifact": "codesuite/codeartifact",
25+
"codecommit": "codesuite/codecommit",
26+
"codedeploy": "codedeploy",
27+
"codepipeline": "codepipeline",
28+
"codesuite": "codesuite",
29+
"cognito": "cognito",
30+
"config": "config",
31+
"controltower": "controltower",
32+
"ct": "cloudtrail",
33+
"cw": "cloudwatch",
34+
"ddb": "dynamodbv2",
35+
"dms": "dms/v2",
36+
"dx": "directconnect/v2",
37+
"dynamodb": "dynamodbv2",
38+
"eb": "elasticbeanstalk",
39+
"ebs": "elasticbeanstalk",
40+
"ec2": "ec2/v2",
41+
"ecr": "ecr",
42+
"ecs": "ecs",
43+
"eks": "eks",
44+
"elasticache": "elasticache",
45+
"eventbridge": "events",
46+
"events": "events",
47+
"ga": "globalaccelerator",
48+
"gd": "guardduty",
49+
"globalaccelerator": "globalaccelerator",
50+
"grafana": "grafana",
51+
"iam": "iamv2",
52+
"kms": "kms",
53+
"l": "lambda",
54+
"lambda": "lambda",
55+
"mwaa": "mwaa",
56+
"organizations": "organizations/v2",
57+
"orgs": "organizations/v2",
58+
"param": "systems-manager/parameters",
59+
"r53": "route53/v2",
60+
"ram": "ram",
61+
"rds": "rds",
62+
"redshift": "redshiftv2",
63+
"route53": "route53/v2",
64+
"s3": "s3",
65+
"sagemaker": "sagemaker",
66+
"scrh": "securityhub",
67+
"scrm": "secretsmanager",
68+
"secretsmanager": "secretsmanager",
69+
"securityhub": "securityhub",
70+
"ses": "ses",
71+
"sfn": "states",
72+
"sm": "secretsmanager",
73+
"sns": "sns",
74+
"sqs": "sqs",
75+
"ssm": "systems-manager",
76+
"sso": "singlesignon",
77+
"states": "states",
78+
"stepfn": "states",
79+
"tra": "trustedadvisor",
80+
"trustedadvisor": "trustedadvisor",
81+
"vpc": "vpc",
82+
"waf": "wafv2",
83+
"wafv2": "wafv2/homev2",
8184
}
8285

8386
var globalServiceMap = map[string]bool{
84-
"dx": true,
85-
"iam": true,
86-
"r53": true,
87-
"route53": true,
88-
"trustedadvisor": true,
87+
"dx": true,
88+
"globalaccelerator": true,
89+
"iam": true,
90+
"r53": true,
91+
"route53": true,
92+
"trustedadvisor": true,
8993
}

0 commit comments

Comments
 (0)