chore: rename the package to io.floci.aws (#7689)

Move the Java sources from io.github.hectorvent.floci to io.floci.aws, matching io.floci.gcp, io.floci.az and io.floci.oci. Generated by tools/rename/rename_package.py apply on the base commit, with no other edits.

Logger categories and the arn.fail-on-blank-region property move to the io.floci.aws prefix. The pom groupId becomes io.floci; the artifactId stays floci.

Refs #6589

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
This commit is contained in:
Hector Ventura authored and GitHub committed 2026-11-06 11:07:21 -04:00
1 parent 81ff58630e
commit 7cf443fcee
6703 files changed
+29400 -29400

No files matched your search

@@ -0,0 +1,55 @@
package io.floci.aws.services.resourcegroups;
import com.fasterxml.jackson.databind.JsonNode;
import io.floci.aws.core.common.AwsException;
import io.floci.aws.core.common.RequestConstraintCheck;
import java.util.List;
/**
* Checks a Resource Groups request against the constraints vendored in
* {@code aws/resource-groups-request-shapes.json} by {@code tools/aws/regen_resource_groups_shapes.py},
* answering {@code BadRequestException}.
*/
final class ResourceGroupsRequestShapes {
private static final RequestConstraintCheck CHECK = RequestConstraintCheck.load(
"aws/resource-groups-request-shapes.json", "Resource Groups request shapes",
new RequestConstraintCheck.Messages() {
@Override
public AwsException type(String path, String type) {
return bad(path + " must be a " + type + ".");
}
@Override
public AwsException bounds(String path, String type, Long min, Long max, long size) {
return bad(path + " is outside the modeled bounds.");
}
@Override
public AwsException pattern(String path, String pattern) {
return bad(path + " does not match the modeled pattern.");
}
@Override
public AwsException enumValue(String path, List<String> values) {
return bad(path + " is not a modeled value.");
}
@Override
public AwsException required(String path) {
return bad(path + " is required.");
}
});
private ResourceGroupsRequestShapes() {
}
static void check(String operation, JsonNode request) {
CHECK.check(operation, request);
}
private static AwsException bad(String message) {
return new AwsException("BadRequestException", message, 400);
}
}