mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
* feat(elb): implement Classic (v1) Elastic Load Balancing Classic ELB (2012-06-01) and ELBv2 (2015-12-01) share an endpoint host and an `elasticloadbalancing` credential scope, but they are different APIs. Every Classic request was reaching the ELBv2 handler, which rejected a well-formed one with `ValidationError: Name is required for load balancer.` — because the name arrived as `LoadBalancerName`, the Classic parameter — and answered a request that guessed `Name` with an ALB object in the 2015-12-01 namespace, a shape Classic has no concept of. Route on the API version. Every Query-protocol request carries the version it speaks as the `Version` form parameter, and both service models declare it, so that is the discriminator: 2012-06-01 to the new Classic handler, 2015-12-01 to ELBv2. This is the same in-case split the `rds` scope already uses to separate RDS, Neptune and DocumentDB. Requests that omit `Version` fall back to their parameter shape — an action unique to one API, else `LoadBalancerName` / `LoadBalancerNames` selecting Classic, else ELBv2 as before. Classic state is its own model, not the v2 one: keyed by name, no ARN, listeners inline, and one structured attribute record. Responses follow the 2012-06-01 model's wrapper and element names — `CreateLoadBalancerResult` carries `DNSName` and nothing else. Scope is what the AWS provider drives for `aws_elb` and for an Auto Scaling group attached to one: Create/Delete/DescribeLoadBalancers, the listener operations, ConfigureHealthCheck, Register/DeregisterInstances, DescribeInstanceHealth, Modify/DescribeLoadBalancerAttributes, the subnet, availability-zone and security-group operations, and tagging. The stickiness and backend-server policy operations, and SetLoadBalancerListenerSSLCertificate, answer `UnsupportedOperation` in the 2012-06-01 namespace rather than a fabricated result. There is no Classic data plane: listener ports are recorded but no socket is opened. Health is checked per instance from the single `HealthCheck.Target` string — `HTTP:`/`HTTPS:` probed with a request, `TCP:`/`SSL:` by connecting — with the same counters and thresholds ElbV2HealthChecker uses. An ASG naming Classic load balancers in `LoadBalancerNames` now registers and deregisters its instances with them, so a `min_elb_capacity` wait can be satisfied. * docs(elb): register ElbClassicQueryHandler in services.yaml Unblocks 'make docs-check', which fails on rebase without this — the handler was never registered when the Classic ELB feature landed. * fix(elb): register ElbClassicService for native init, deregister stale ASG instances from Classic ELBs ElbClassicService's SecureRandom field wasn't declared under --initialize-at-run-time, which fails GraalVM native image builds (image-heap Random instances have cached seeds). Registers it alongside the other services/*.Service entries in application.yml. Also closes a gap Greptile flagged: removeStaleInstances() pruned an ASG's dead instance references without deregistering them from target groups or named Classic load balancers first, unlike the terminating- and scale-in paths, leaving orphaned registrations visible through DescribeLoadBalancers/DescribeInstanceHealth. * fix(elb): return the documented 409 for a Classic multi-VPC subnet set CreateLoadBalancer's own Errors table puts InvalidConfigurationRequest at HTTP 409; the Classic path raised it at 400. The error code was already right, so a client that retries on 409 but fails hard on 400 got the wrong signal from the one place the two can be told apart. Covered by a unit test that asserts the status, not just the code. Also from review: the empty-Listeners ValidationError carried a message copied from an unrelated subnet/AZ check, and the new cross-reference to the Classic docs page split elb.md's opening sentence mid-paragraph instead of following it.
241 lines
14 KiB
YAML
241 lines
14 KiB
YAML
# Registry of services whose Supported Actions tables are auto-generated.
|
|
#
|
|
# The action LIST comes from handler source (mode: switch|rest); the Description
|
|
# column is hand-written and PRESERVED across regen, keyed by action name.
|
|
# Per-service overrides: rename_actions (method->canonical), exclude_actions.
|
|
#
|
|
# Phase 1 covers single-table switch-mode services. REST controllers, multi-table
|
|
# docs, mixed-mode (ses), S3 query-string dispatch, and non-tabular docs are tracked
|
|
# as follow-ups; their switch handlers are acknowledged in deferred_handlers below so
|
|
# the new-service sentinel only fires on genuinely unregistered handlers.
|
|
|
|
services:
|
|
- service: acm
|
|
doc: docs/services/acm.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/acm/AcmJsonHandler.java, mode: switch }
|
|
- service: applicationautoscaling
|
|
doc: docs/services/applicationautoscaling.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/applicationautoscaling/ApplicationAutoScalingJsonHandler.java, mode: switch }
|
|
- service: athena
|
|
doc: docs/services/athena.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/athena/AthenaJsonHandler.java, mode: switch }
|
|
- service: cloudformation
|
|
doc: docs/services/cloudformation.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cloudformation/CloudFormationQueryHandler.java, mode: switch }
|
|
- service: cloudhsmv2
|
|
doc: docs/services/cloudhsmv2.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cloudhsmv2/CloudHsmV2JsonHandler.java, mode: switch }
|
|
- service: cloudtrail
|
|
doc: docs/services/cloudtrail.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cloudtrail/CloudTrailJsonHandler.java, mode: switch }
|
|
- service: codegurureviewer
|
|
doc: docs/services/codegurureviewer.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/codegurureviewer/CodeGuruReviewerController.java, mode: rest }
|
|
- { path: src/main/java/io/github/hectorvent/floci/core/common/SharedTagsController.java, mode: rest }
|
|
rename_actions:
|
|
ListTags: ListTagsForResource
|
|
TagResourcePost: TagResource
|
|
exclude_actions:
|
|
- ListTagsByQuery
|
|
- TagResourceByBody
|
|
- TagResourcePut
|
|
- UntagResourceByQuery
|
|
- service: comprehend
|
|
doc: docs/services/comprehend.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/comprehend/ComprehendJsonHandler.java, mode: switch }
|
|
- service: connect
|
|
doc: docs/services/connect.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/connect/ConnectController.java, mode: rest }
|
|
- { path: src/main/java/io/github/hectorvent/floci/core/common/SharedTagsController.java, mode: rest }
|
|
rename_actions:
|
|
ListTags: ListTagsForResource
|
|
TagResourcePost: TagResource
|
|
exclude_actions:
|
|
- ListTagsByQuery
|
|
- TagResourceByBody
|
|
- TagResourcePut
|
|
- UntagResourceByQuery
|
|
- service: rekognition
|
|
doc: docs/services/rekognition.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/rekognition/RekognitionJsonHandler.java, mode: switch }
|
|
- service: docdb
|
|
doc: docs/services/docdb.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/docdb/DocDbQueryHandler.java, mode: switch }
|
|
- service: efs
|
|
doc: docs/services/efs.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/efs/EfsController.java, mode: rest }
|
|
- service: organizations
|
|
doc: docs/services/organizations.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/organizations/OrganizationsJsonHandler.java, mode: switch }
|
|
- service: elasticache
|
|
doc: docs/services/elasticache.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/elasticache/ElastiCacheQueryHandler.java, mode: switch }
|
|
- service: emr
|
|
doc: docs/services/emr.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/emr/EmrHandler.java, mode: switch }
|
|
- service: eventbridge
|
|
doc: docs/services/eventbridge.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/eventbridge/EventBridgeHandler.java, mode: switch }
|
|
- service: firehose
|
|
doc: docs/services/firehose.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/firehose/FirehoseJsonHandler.java, mode: switch }
|
|
- service: resource-explorer-2
|
|
doc: docs/services/resource-explorer.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/resourceexplorer2/ResourceExplorer2Controller.java, mode: rest }
|
|
- { path: src/main/java/io/github/hectorvent/floci/core/common/SharedTagsController.java, mode: rest }
|
|
rename_actions:
|
|
ListTags: ListTagsForResource
|
|
TagResourcePost: TagResource
|
|
exclude_actions:
|
|
- ListTagsByQuery
|
|
- TagResourceByBody
|
|
- TagResourcePut
|
|
- UntagResourceByQuery
|
|
- service: fis
|
|
doc: docs/services/fis.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/fis/FisController.java, mode: rest }
|
|
- { path: src/main/java/io/github/hectorvent/floci/core/common/SharedTagsController.java, mode: rest }
|
|
rename_actions:
|
|
ListTags: ListTagsForResource
|
|
TagResourcePost: TagResource
|
|
exclude_actions:
|
|
- ListTagsByQuery
|
|
- TagResourceByBody
|
|
- TagResourcePut
|
|
- UntagResourceByQuery
|
|
- service: kinesis
|
|
doc: docs/services/kinesis.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/kinesis/KinesisJsonHandler.java, mode: switch }
|
|
- service: kinesisanalytics
|
|
doc: docs/services/kinesisanalytics.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/kinesisanalytics/KinesisAnalyticsV2JsonHandler.java, mode: switch }
|
|
- service: kms
|
|
doc: docs/services/kms.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/kms/KmsJsonHandler.java, mode: switch }
|
|
- service: memorydb
|
|
doc: docs/services/memorydb.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/memorydb/MemoryDbHandler.java, mode: switch }
|
|
- service: neptune
|
|
doc: docs/services/neptune.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/neptune/NeptuneQueryHandler.java, mode: switch }
|
|
- service: networkfirewall
|
|
doc: docs/services/network-firewall.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/networkfirewall/NetworkFirewallJsonHandler.java, mode: switch }
|
|
- service: ram
|
|
doc: docs/services/ram.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/ram/RamController.java, mode: rest }
|
|
- service: rds
|
|
doc: docs/services/rds.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/rds/RdsQueryHandler.java, mode: switch }
|
|
exclude_actions: [SubnetIds, VpcSecurityGroupIds, OptionsToRemove]
|
|
- service: redshift
|
|
doc: docs/services/redshift.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/redshift/RedshiftQueryHandler.java, mode: switch }
|
|
# SubnetIds / VpcSecurityGroupIds / TagKeys are labels of an inner member-name
|
|
# switch (memberKeyRegex), not actions — same shape as the rds exclusions above.
|
|
exclude_actions: [SubnetIds, VpcSecurityGroupIds, TagKeys]
|
|
- service: route53resolver
|
|
doc: docs/services/route53resolver.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/route53resolver/Route53ResolverJsonHandler.java, mode: switch }
|
|
- service: secretsmanager
|
|
doc: docs/services/secrets-manager.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/secretsmanager/SecretsManagerJsonHandler.java, mode: switch }
|
|
- service: servicecatalog
|
|
doc: docs/services/service-catalog.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/servicecatalog/ServiceCatalogJsonHandler.java, mode: switch }
|
|
- service: servicequotas
|
|
doc: docs/services/servicequotas.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/servicequotas/ServiceQuotasJsonHandler.java, mode: switch }
|
|
- service: sqs
|
|
doc: docs/services/sqs.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/sqs/SqsJsonHandler.java, mode: switch }
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/sqs/SqsQueryHandler.java, mode: switch }
|
|
- service: stepfunctions
|
|
doc: docs/services/step-functions.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/stepfunctions/StepFunctionsJsonHandler.java, mode: switch }
|
|
- service: swf
|
|
doc: docs/services/swf.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/swf/SwfJsonHandler.java, mode: switch }
|
|
- service: wafv2
|
|
doc: docs/services/wafv2.md
|
|
sources:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/wafv2/WafV2Handler.java, mode: switch }
|
|
|
|
# Switch handlers that exist but are intentionally not yet covered (see reasons).
|
|
# A NEW switch handler not listed here and not registered above fails `--strict`.
|
|
deferred_handlers:
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/ssoadmin/SsoAdminJsonHandler.java } # single-op Identity Center stub, no standalone doc page yet
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2JsonHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/applicationautoscaling/ScalingPolicyAlarmActionHandler.java } # not a JSON/Query action dispatcher — its `case "X" ->` arms are the StepScaling AdjustmentType switch, not AWS actions
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/autoscaling/AutoScalingQueryHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/bcmdataexports/BcmDataExportsJsonHandler.java } # no standalone action table yet
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/ce/CostExplorerJsonHandler.java } # no standalone action table yet
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cloudcontrol/CloudControlJsonHandler.java } # no standalone action table yet
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cloudmap/CloudMapHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cloudwatch/logs/CloudWatchLogsHandler.java } # multi-table doc (nested handler)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cloudwatch/metrics/CloudWatchMetricsJsonHandler.java } # multi-table doc (nested handler)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cloudwatch/metrics/CloudWatchMetricsQueryHandler.java } # multi-table doc (nested handler)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/codebuild/CodeBuildJsonHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/codedeploy/CodeDeployJsonHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cognito/CognitoJsonHandler.java } # non-tabular doc (grouped/inline); separate docs effort
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/configservice/ConfigServiceJsonHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/cur/CurJsonHandler.java } # no standalone action table yet
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbJsonHandler.java } # multi-table doc
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/dynamodb/DynamoDbStreamsJsonHandler.java } # multi-table doc
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/ec2/Ec2QueryHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/ecr/EcrJsonHandler.java } # doc packs multiple actions per row (`A` / `B`) + REST endpoints; needs de-grouping
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/ecs/EcsJsonHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/elasticbeanstalk/ElasticBeanstalkQueryHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/elb/ElbClassicQueryHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/elbv2/ElbV2QueryHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/glue/GlueJsonHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/iam/IamQueryHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/iam/StsQueryHandler.java } # sts (lives in iam package); single-table, registerable next
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/lakeformation/LakeFormationJsonHandler.java } # no standalone action table yet
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/lightsail/LightsailJsonHandler.java } # non-tabular doc (grouped/inline); standalone action table to be added
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/pricing/PricingJsonHandler.java } # no standalone action table yet
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/resourcegroupstagging/ResourceGroupsTaggingJsonHandler.java } # non-tabular doc (grouped/inline)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/ses/SesQueryHandler.java } # mixed-mode (Query + REST surface)
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/sns/SnsJsonHandler.java } # multi-table doc
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/sns/SnsQueryHandler.java } # multi-table doc
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/ssm/Ec2MessagesJsonHandler.java } # multi-table doc
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/ssm/SsmJsonHandler.java } # multi-table doc
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/textract/TextractJsonHandler.java } # no standalone action table yet
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/transcribe/TranscribeJsonHandler.java } # no standalone action table yet
|
|
- { path: src/main/java/io/github/hectorvent/floci/services/transfer/TransferHandler.java } # multi-table doc
|