Documentation ¶
Overview ¶
Code generated by internal/generate/namesconsts/main.go; DO NOT EDIT.
Package names provides constants for AWS service names that are used as keys for the endpoints slice in internal/conns/conns.go. The package also exposes access to data found in the names_data.csv file, which provides additional service-related name information.
Consumers of the names package include the conns package (internal/conn/conns.go), the provider package (internal/provider/provider.go), generators, and the skaff tool.
It is very important that information in the names_data.csv be exactly correct because the Terrform AWS Provider relies on the information to function correctly.
Index ¶
- Constants
- func AWSGoClientTypeName(providerPackage string, version int) (string, error)
- func AWSGoPackage(providerPackage string, version int) (string, error)
- func AWSGoV1ClientTypeName(providerPackage string) (string, error)
- func AWSGoV1Package(providerPackage string) (string, error)
- func AWSGoV2Package(providerPackage string) (string, error)
- func Aliases() []string
- func DeprecatedEnvVar(service string) string
- func EnvVar(service string) string
- func FullHumanFriendly(service string) (string, error)
- func HumanFriendly(service string) (string, error)
- func ProviderNameUpper(service string) (string, error)
- func ProviderPackageForAlias(serviceAlias string) (string, error)
- func ProviderPackages() []string
- type ServiceDatum
Constants ¶
const ( AttrARN = "arn" AttrDescription = "description" AttrEnabled = "enabled" AttrID = "id" // Should be explicitly declared only for Framework resources AttrKMSKeyARN = "kms_key_arn" AttrName = "name" AttrTags = "tags" AttrTagsAll = "tags_all" AttrTimeouts = "timeouts" // Should be explicitly declared only for Framework resources AttrType = "type" )
const ( ColAWSCLIV2Command = 0 ColAWSCLIV2CommandNoDashes = 1 ColGoV1Package = 2 ColGoV2Package = 3 ColProviderPackageActual = 4 ColProviderPackageCorrect = 5 ColSplitPackageRealPackage = 6 ColAliases = 7 ColProviderNameUpper = 8 ColGoV1ClientTypeName = 9 ColSkipClientGenerate = 10 ColClientSDKV1 = 11 ColClientSDKV2 = 12 ColResourcePrefixActual = 13 ColResourcePrefixCorrect = 14 ColFilePrefix = 15 ColDocPrefix = 16 ColHumanFriendly = 17 ColBrand = 18 ColExclude = 19 // If set, the service is completely ignored ColNotImplemented = 20 // If set, the service will be included in, e.g. labels, but not have a service client ColAllowedSubcategory = 21 ColDeprecatedEnvVar = 22 ColEnvVar = 23 ColNote = 24 )
const ( ACM = "acm" ACMPCA = "acmpca" AMP = "amp" APIGateway = "apigateway" APIGatewayV2 = "apigatewayv2" AccessAnalyzer = "accessanalyzer" Account = "account" Amplify = "amplify" AppAutoScaling = "appautoscaling" AppConfig = "appconfig" AppFlow = "appflow" AppIntegrations = "appintegrations" AppMesh = "appmesh" AppRunner = "apprunner" AppStream = "appstream" AppSync = "appsync" ApplicationInsights = "applicationinsights" Athena = "athena" AuditManager = "auditmanager" AutoScaling = "autoscaling" AutoScalingPlans = "autoscalingplans" Backup = "backup" Batch = "batch" Bedrock = "bedrock" Budgets = "budgets" CE = "ce" CUR = "cur" Chime = "chime" ChimeSDKMediaPipelines = "chimesdkmediapipelines" ChimeSDKVoice = "chimesdkvoice" CleanRooms = "cleanrooms" Cloud9 = "cloud9" CloudControl = "cloudcontrol" CloudFormation = "cloudformation" CloudFront = "cloudfront" CloudHSMV2 = "cloudhsmv2" CloudSearch = "cloudsearch" CloudTrail = "cloudtrail" CloudWatch = "cloudwatch" CodeArtifact = "codeartifact" CodeBuild = "codebuild" CodeCatalyst = "codecatalyst" CodeCommit = "codecommit" CodeGuruReviewer = "codegurureviewer" CodePipeline = "codepipeline" CodeStarConnections = "codestarconnections" CodeStarNotifications = "codestarnotifications" CognitoIDP = "cognitoidp" CognitoIdentity = "cognitoidentity" Comprehend = "comprehend" ComputeOptimizer = "computeoptimizer" ConfigService = "configservice" Connect = "connect" ControlTower = "controltower" DAX = "dax" DLM = "dlm" DMS = "dms" DS = "ds" DataExchange = "dataexchange" DataPipeline = "datapipeline" DataSync = "datasync" Deploy = "deploy" Detective = "detective" DeviceFarm = "devicefarm" DirectConnect = "directconnect" DocDB = "docdb" DocDBElastic = "docdbelastic" DynamoDB = "dynamodb" EC2 = "ec2" ECR = "ecr" ECRPublic = "ecrpublic" ECS = "ecs" EFS = "efs" EKS = "eks" ELB = "elb" ELBV2 = "elbv2" EMR = "emr" EMRContainers = "emrcontainers" EMRServerless = "emrserverless" ElastiCache = "elasticache" ElasticBeanstalk = "elasticbeanstalk" ElasticTranscoder = "elastictranscoder" Elasticsearch = "elasticsearch" Events = "events" Evidently = "evidently" FIS = "fis" FMS = "fms" FSx = "fsx" FinSpace = "finspace" Firehose = "firehose" GameLift = "gamelift" Glacier = "glacier" GlobalAccelerator = "globalaccelerator" Glue = "glue" Grafana = "grafana" Greengrass = "greengrass" GuardDuty = "guardduty" HealthLake = "healthlake" IAM = "iam" IVS = "ivs" IVSChat = "ivschat" IdentityStore = "identitystore" ImageBuilder = "imagebuilder" Inspector = "inspector" Inspector2 = "inspector2" InternetMonitor = "internetmonitor" IoT = "iot" IoTAnalytics = "iotanalytics" IoTEvents = "iotevents" KMS = "kms" Kafka = "kafka" KafkaConnect = "kafkaconnect" Kendra = "kendra" Keyspaces = "keyspaces" Kinesis = "kinesis" KinesisAnalytics = "kinesisanalytics" KinesisAnalyticsV2 = "kinesisanalyticsv2" KinesisVideo = "kinesisvideo" LakeFormation = "lakeformation" Lambda = "lambda" LexModels = "lexmodels" LexV2Models = "lexv2models" LicenseManager = "licensemanager" Lightsail = "lightsail" Location = "location" Logs = "logs" MQ = "mq" MWAA = "mwaa" Macie2 = "macie2" MediaConnect = "mediaconnect" MediaConvert = "mediaconvert" MediaLive = "medialive" MediaPackage = "mediapackage" MediaStore = "mediastore" MemoryDB = "memorydb" Neptune = "neptune" NetworkFirewall = "networkfirewall" NetworkManager = "networkmanager" ObservabilityAccessManager = "oam" OpenSearch = "opensearch" OpenSearchServerless = "opensearchserverless" OpsWorks = "opsworks" Organizations = "organizations" Outposts = "outposts" Pinpoint = "pinpoint" Pipes = "pipes" Pricing = "pricing" QLDB = "qldb" QuickSight = "quicksight" RAM = "ram" RBin = "rbin" RDS = "rds" RUM = "rum" Redshift = "redshift" RedshiftData = "redshiftdata" RedshiftServerless = "redshiftserverless" ResourceExplorer2 = "resourceexplorer2" ResourceGroups = "resourcegroups" ResourceGroupsTaggingAPI = "resourcegroupstaggingapi" RolesAnywhere = "rolesanywhere" Route53 = "route53" Route53Domains = "route53domains" Route53RecoveryControlConfig = "route53recoverycontrolconfig" Route53RecoveryReadiness = "route53recoveryreadiness" Route53Resolver = "route53resolver" S3 = "s3" S3Control = "s3control" S3Outposts = "s3outposts" SES = "ses" SESV2 = "sesv2" SFN = "sfn" SNS = "sns" SQS = "sqs" SSM = "ssm" SSMContacts = "ssmcontacts" SSMIncidents = "ssmincidents" SSOAdmin = "ssoadmin" STS = "sts" SWF = "swf" SageMaker = "sagemaker" Scheduler = "scheduler" Schemas = "schemas" SecretsManager = "secretsmanager" SecurityHub = "securityhub" SecurityLake = "securitylake" ServerlessRepo = "serverlessrepo" ServiceCatalog = "servicecatalog" ServiceDiscovery = "servicediscovery" ServiceQuotas = "servicequotas" Shield = "shield" Signer = "signer" SimpleDB = "simpledb" StorageGateway = "storagegateway" Synthetics = "synthetics" TimestreamWrite = "timestreamwrite" Transcribe = "transcribe" Transfer = "transfer" VPCLattice = "vpclattice" VerifiedPermissions = "verifiedpermissions" WAF = "waf" WAFRegional = "wafregional" WAFV2 = "wafv2" WorkLink = "worklink" WorkSpaces = "workspaces" XRay = "xray" )
const ( AccessAnalyzerEndpointID = "access-analyzer" AccountEndpointID = "account" ACMEndpointID = "acm" AuditManagerEndpointID = "auditmanager" CleanRoomsEndpointID = "cleanrooms" CloudWatchLogsEndpointID = "logs" CodeStarConnectionsEndpointID = "codestar-connections" CodeStarNotificationsEndpointID = "codestar-notifications" ComprehendEndpointID = "comprehend" ComputeOptimizerEndpointID = "computeoptimizer" DSEndpointID = "ds" EMRServerlessEndpointID = "emrserverless" GlacierEndpointID = "glacier" IdentityStoreEndpointID = "identitystore" Inspector2EndpointID = "inspector2" InternetMonitorEndpointID = "internetmonitor" IVSChatEndpointID = "ivschat" KendraEndpointID = "kendra" KeyspacesEndpointID = "keyspaces" LambdaEndpointID = "lambda" LexV2ModelsEndpointID = "models-v2-lex" MediaLiveEndpointID = "medialive" ObservabilityAccessManagerEndpointID = "oam" OpenSearchServerlessEndpointID = "aoss" PipesEndpointID = "pipes" PricingEndpointID = "pricing" QLDBEndpointID = "qldb" RedshiftDataEndpointID = "redshift-data" ResourceExplorer2EndpointID = "resource-explorer-2" ResourceGroupsEndpointID = "resource-groups" ResourceGroupsTaggingAPIEndpointID = "tagging" RolesAnywhereEndpointID = "rolesanywhere" Route53DomainsEndpointID = "route53domains" SchedulerEndpointID = "scheduler" ServiceQuotasEndpointID = "servicequotas" S3EndpointID = "s3" S3ControlEndpointID = "s3-control" SESV2EndpointID = "sesv2" SSMEndpointID = "ssm" SSMContactsEndpointID = "ssm-contacts" SSMIncidentsEndpointID = "ssm-incidents" SWFEndpointID = "swf" TimestreamWriteEndpointID = "ingest.timestream" TranscribeEndpointID = "transcribe" VPCLatticeEndpointID = "vpc-lattice" XRayEndpointID = "xray" )
These "should" be defined by the AWS Go SDK v2, but currently aren't.
const ( StandardPartitionID = "aws" // AWS Standard partition. USGovCloudPartitionID = "aws-us-gov" // AWS GovCloud (US) partition. )
These should move to aws-sdk-go-base. See https://github.com/hashicorp/aws-sdk-go-base/issues/649.
const ( USEast1RegionID = "us-east-1" // US East (N. Virginia). USWest1RegionID = "us-west-1" // US West (N. California). USWest2RegionID = "us-west-2" // US West (Oregon). USGovEast1RegionID = "us-gov-east-1" // AWS GovCloud (US-East). USGovWest1RegionID = "us-gov-west-1" // AWS GovCloud (US-West). )
Variables ¶
This section is empty.
Functions ¶
func AWSGoClientTypeName ¶
func AWSGoV1ClientTypeName ¶
func AWSGoV1Package ¶
func AWSGoV2Package ¶
func DeprecatedEnvVar ¶
func FullHumanFriendly ¶
func HumanFriendly ¶
func ProviderNameUpper ¶
func ProviderPackageForAlias ¶
func ProviderPackages ¶
func ProviderPackages() []string
Types ¶
type ServiceDatum ¶
type ServiceDatum struct { Aliases []string Brand string DeprecatedEnvVar string EnvVar string GoV1ClientTypeName string GoV1Package string GoV2Package string HumanFriendly string ProviderNameUpper string }
Type ServiceDatum corresponds closely to columns in `names_data.csv` and are described in detail in README.md.