Commit Graph
6316 Commits
Author SHA1 Message Date
Priamo Germosen e04990a9bb feat(cloudformation): provision CloudWatch resource metrics configurations (#10171)
AWS::CloudWatch::ResourceMetricsConfiguration creates the detailed monitoring
configuration of its ResourceArn and deletes it with the stack. Ref returns
the ARN, and CreatedAt and UpdatedAt return the configuration's timestamps to
the millisecond, as the API answers them.

MetricSelections updates in place, and a dropped list removes the filter. The
resolved selections are compared with the stored ones, so a selection reading
a replaced resource takes its new value. A new ResourceArn replaces the
configuration, and the old one is deleted once the update completes. A failed
update puts the previous selections back, with the timestamps of that write,
and a create for a configured ARN fails with AlreadyExists. CreatedAt and
UpdatedAt are read-only and refused in the template. A configuration already
gone is taken as deleted.

CfnExceptions.alreadyExists builds the resource handler's AlreadyExists answer
and CfnExceptions.refuseReadOnly the read-only refusal, for the provisioners
that spelled them out, and the OTel enrichment snapshot
moves to a __Floci key in CfnRollback, as every other provisioner's does.

Part of #7030.
2026-12-04 12:27:32 -04:00
Priamo Germosen bece631041 feat(cloudwatch): create, read, update and delete resource metrics configurations (#10164)
Add CreateResourceMetricsConfiguration, GetResourceMetricsConfiguration,
UpdateResourceMetricsConfiguration and DeleteResourceMetricsConfiguration
over Query, JSON 1.0 and CBOR: at most one detailed monitoring
configuration per resource ARN, kept per account and Region. Floci stores
the configuration; collecting the selected metrics comes next.

The model is checked first, every violation in AWS's form, the metric
selection list quoted as AWS writes it. Then the ARN must name a resource
type ("ARN is missing resource type") and one with detailed monitoring
("Unsupported resource type"): the guides document only ElastiCache
replication groups. These refusals are ValidationError, the JSON body
naming com.amazon.coral.validate#ValidationException, as recorded from
AWS. A second create is ConflictException (409) and a missing
configuration ResourceNotFoundException (404), each with its exception's
model documentation, as AWS quotes no message. An update replaces the
selections, and one without them collects every metric.

DeleteReplicationGroup fires a ReplicationGroupDeleted event, and the
configuration of the deleted group is deleted with it, as the ElastiCache
user guide says. SmithyValidationErrors.Violations gains sizeOutOfRange, the quoted
twin of the list-size violation.

Part of #7030.
2026-12-04 11:25:25 -04:00
Priamo Germosen 1f5c7abaaf feat(cloudformation): provision CloudWatch OTel enrichment and resource tags for telemetry (#10157)
AWS::ObservabilityAdmin::TelemetryEnrichment starts resource tags for
telemetry in the stack's Region and stops it on delete. Scope must be
ACCOUNT; Ref returns it and Status is RUNNING.

AWS::CloudWatch::OTelEnrichment starts OTel enrichment with its filters,
updates them in place as UpdateOTelEnrichment does (a dropped list is
cleared), and stops it on delete. An update writes the filters when the
template changes them or when they resolve to other values than the
running ones, as a Ref to a resource the update replaces does. Ref and AccountId are the account,
Status is RUNNING, and a failed stack update puts the previous filters
back. Both are singletons: a create while the feature already runs fails
with AlreadyExists, as the CloudFormation handler contract requires, and
the check and the start hold one lock.

Properties go through template validation, then the schema's model
validation, with the two types added to the vendored property types.
The vendored schema data is regenerated from AWS's current archive, which
adds AvailabilityZoneId to AWS::EC2::Instance (recorded as a writable gap,
since the instance provisioner does not read it) and an EBS Throughput, and
drops ElasticGpuSpecifications and ElasticInferenceAccelerators, whose gap
rows go.
2026-12-04 10:41:26 -04:00
Priamo Germosen ebdb9c6615 fix(iam): check Bedrock AgentCore by its generated routes, resources, passed roles and tags (#10153)
Under enforcement a REST route no vendored model names runs unchecked, and Bedrock AgentCore was among them: any caller
could create, read, update or delete its runtimes, runtime endpoints, gateways, gateway targets and rules, memories,
harnesses, browsers, code interpreters, workload identities and credential providers, put a resource policy, write and
read memory events and invoke a runtime, with no permission at all. AgentCore's two models are vendored now
(regen_rest_routes.MODELS: bedrock-agentcore and bedrock-agentcore-control, both signed bedrock-agentcore), so each
request is checked as its operation's action, and bedrock-agentcore joins the generated tables of request resources,
passed roles and tags on create: a resource by the id its path gives, the role each create or update passes, and the
tags a create carries.

The Service Reference passes CreateCapacityProvider's roles to bedrock-agentcore and ec2 without saying which member's
goes where. fetch_bedrock_agentcore_roles.py vendors what AWS says of each into
tools/aws/sources/bedrock-agentcore-roles.json, a ROLE_SOURCES entry as Batch's is: the operator role is "the IAM role
that AgentCore assumes to manage the capacity provider" (Control API reference), which AgentCore's capacity provider
sample says must trust bedrock-agentcore.amazonaws.com, and launchParameters.instanceProfileArn is "the IAM instance
profile to associate with launched instances", whose role the IAM User Guide's trust policy for an EC2 instance's role
gives to ec2.amazonaws.com. That member names an instance profile, which the rule does not read by its name, so the
source lists it in roleMembers, and the check that every vendored role is read now counts such members as the table
does.

BedrockAgentCoreStoredResourceArns answers the tags AgentCore holds on the resource an ARN reaches, in its account and
Region, which an aws:ResourceTag condition reads: a runtime, a runtime endpoint, a gateway, a memory or a harness as
the tag routes read the same ARN (a qualified runtime ARN answers the runtime's), and a custom browser, a custom code
interpreter or a browser profile from the tool. The table asks for a consent portal, a code interpreter by its name or
a configuration bundle to be found, which Floci does not serve, and for the memory an event is in, which the path of
GetEvent and DeleteEvent already names. A runtime endpoint's routes are checked on its runtime and a credential
provider's on *, as the generated table reads them: their ARNs end in a ${Name} beside another variable, which no
reading fills.

The tag routes no longer take the agent/<uuid> and agentEndpoint/<uuid> forms Floci wrote before #8088. They name no
AWS resource, so IAM could only check them as named, past a deny on the runtime or endpoint they reached; they now get
a ValidationException, and a legacy agent/ ARN names no runtime on invoke. A CloudFormation stack that holds an
agentEndpoint/<uuid> physical id still updates and deletes that endpoint.

A namespace the table reads is served on its tag routes only at the ARN its path encodes, as Connect's, MSK's and
MWAA's are, so AgentCore's and CloudFormation's AgentCore tests send the ARN encoded, as the SDKs do, and
docs/services/bedrock-agentcore.md says so.

IamRestRouteEnforcementIntegrationTest checks that with no grant a gateway's read is refused, that a grant on one
gateway reads it and refuses another, and that an aws:ResourceTag condition reads its tags; that a gateway create needs
iam:PassRole on its role and bedrock-agentcore:TagResource for the tags it carries; that a data plane event write is
checked on the memory its path names; that an aws:ResourceTag grant reads a browser's tags; and that a deny on a
runtime's tags holds for its ARN and its qualified ARN while the legacy endpoint form is refused.
2026-12-04 10:30:49 -04:00
Jackson PriceandAndre Kurait 8b48ac5297 test(ses): wait for terminal import and export job statuses (#10155)
Share the job polling across the SES import and export suites. Keep reading while a job is pending and report its request path on timeout.

Co-authored-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Jackson Price <jxnprice@amazon.com>
2026-12-04 09:45:47 -04:00
Priamo Germosen 15bcb53828 feat(cloudwatch): republish vended metrics for PromQL through OTel enrichment (#10151)
While OTel enrichment runs in an account's Region, each datapoint Floci
vends there is republished as an OpenTelemetry data point that PromQL
reads, when the CloudWatch user guide's "Supported resources and
metrics" page lists its metric for the resource it measures with exactly
its dimension names, and the enrichment's filters keep it: include
first, then the exclude match set subtracted, empty lists permissive,
names matched exactly. The classic datapoint is stored as before.

The page's tables are vendored as aws/cloudwatch-otel-enrichment.json by
tools/aws/regen_cloudwatch_otel_enrichment.py, which copies each
namespace's scope and, per resource, whether its ARN and tags are added
and each metric's instrument type and dimension sets, and refuses a
reworded page. make cloudwatch-otel-enrichment-check reads the file's
shape offline, in aws-data-check; -verify compares it with the live page,
in iam-data-verify and the weekly drift run.

A republished series carries the guide's labels: the dimensions as data
point attributes, cloud.resource_id, provider, Region and account on the
resource, the namespace's scope with cloudwatch.source and
cloudwatch.solution, and the resource's tags as @aws.tag.<key> with
resource tag enrichment while resource tags for telemetry run. Only a
request enrichment wrote maps tag.* to @aws.tag; one a client sends keeps
@resource.tag.*. A Sum is a delta sum of the datapoint's sum; a Histogram
is a delta one-bucket histogram of its sample count, sum, minimum and
maximum, as CloudWatch does not document that conversion.

SQS queues pass their ARN and tags, and so do paused Aurora Serverless v2
instances and clusters and Redshift clusters; of those the page lists
every AWS/SQS metric and the paused instance's ACUUtilization and
CPUUtilization. A failed republication is logged and never reaches the
classic publication.

Part of #7030.
2026-12-04 09:33:01 -04:00
Jackson PriceandAndre Kurait e32d6cb253 test(codeartifact): check result order when the first sidecar item waits (#10154)
Hold the first item until the other nine have mapped their values. The result must still follow the input list.

Signed-off-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Jackson Price <jxnprice@amazon.com>
Co-authored-by: Andre Kurait <akurait@amazon.com>
2026-12-04 09:31:14 -04:00
Hector Ventura b3082851e1 test(core): enforce the core boundary now that its allowlist is empty (#10150) 2026-12-04 09:23:18 -04:00
Hector Ventura 4f934b16b0 refactor(lifecycle): let services start, restore and stop through hooks (#10149)
EmulatorLifecycle injected every service manager it started, restored
or stopped, and read their settings, which kept it tied to AWS. Services
now register small hook beans in their own packages (ShutdownHook,
StartupHook, HttpStartedHook and BannerContributor), and the lifecycle
runs them sorted by explicit ShutdownOrder and StartupOrder values
instead of CDI's order.

The hooks are beans of their own rather than the services, so reading
their order and name creates no service before the storage load. Every
step keeps its order, name, log message and error handling: synchronous
startup failures still fail the startup, background restore failures
are logged and startup goes on, and shutdown failures are logged per
step. The EKS restore runs as an HttpStartedHook once the HTTP server
listens, and the IAM enforcement banner line comes from a
BannerContributor.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
2026-12-04 08:53:11 -04:00
Priamo Germosen 7064800c45 chore(deps): bump botocore to 1.44.18 (#10128)
Bumps botocore from 1.44.17 to 1.44.18 with its regenerated data. 1.44.18 adds
RDS data groups and DB cluster groups, whose operations the IAM tables now
read from the model rather than marking them as missing from the pinned
botocore.

The Service Reference lists two tagging actions for rds:CreateDataGroup,
rds:AddTagsToDataGroup and rds:AddTagsToResource, without saying whether the
tags a create carries need one or both, so the tag-on-create generator stopped
on it. The Aurora User Guide's prerequisites for data groups answer it: "To add
tags when you create a data group, grant rds:AddTagsToResource and
rds:AddTagsToDataGroup on *". fetch_rds_tag_actions.py vendors that page into
tools/aws/sources/rds-tag-actions.json, and the generator, granted it for RDS
alone (TAG_ACTION_SOURCES), lists both actions for the operation when they are
the ones the reference lists. --verify reads the page again.

That sentence grants both actions "on *", where the guide grants adding
tags to a data group that exists "on data-group:*", so the fetcher copies
that resource too and the table marks the operation anyResource: Floci
checks the create's tagging actions on *, not on the DB cluster the create
itself is checked on.

The tag-on-create table and TagOnCreate now carry each operation's tagging
actions as a list, and the enforcement filter, RequestChecks and STS's trust
policy check every action an operation's tags need. An operation with one
tagging action is checked as before. verify_role_sources' body becomes
verify_vendored_sources, which both generators use to verify their vendored
sources.

The guide's IAM page for database cluster groups authorizes
rds:CreateDBClusterGroup against "* (the group doesn't exist yet)", where the
Service Reference lists cluster-group for it and a group's ARN holds a
resource ID the request does not carry. fetch_rds_cluster_group_permissions.py
vendors that page's table as RDS's permission source, and the request
resources generator checks an action its row authorizes against * alone
there.

fetch_dms_arn_formats.py refreshes its botocore examples at the new pin, and
the authorized-actions table takes the Service Reference's new mapping of
budgets:DescribeBudgetSpendForPrincipal to budgets:ViewBudget.
2026-12-04 08:28:12 -04:00
Ignas ba5da89f87 fix(ecr): run the backing registry with an init so exec'd commands are reaped (#10140) 2026-12-04 07:37:19 -04:00
Jimmy Liu Jia c518e8deac fix(lambda): handle Function URL CORS and OPTIONS (#10142) 2026-12-04 07:27:11 -04:00
XuJian 2841047e09 fix(route53): page record sets by set identifier too (#10147)
ListResourceRecordSets resumed a page on the record name and type only, so a
page cut inside a group of weighted, latency, failover or geolocation record
sets sent the next request back to the first record set of that group and the
walk never advanced. Route 53 keys a record set on name, type and SetIdentifier,
and names the record set a page resumes at through NextRecordIdentifier when it
shares the name and type of the last record set on the page.

The handler now reads the identifier query parameter, the listing orders record
sets that share a name and type by their routing set identifier, and
NextRecordIdentifier is written only when the next page starts inside such a
group.

Closes #10145
2026-12-04 07:26:54 -04:00
Kenshin Okinaka 5c4108b1dc test(athena): add a rows helper for the sidecar tests that read every row (#10137) 2026-12-04 07:22:25 -04:00
Oleksandr Nikolaichuk b1c9107526 refactor(cloudformation): IoT Authorizer takes replacement from the engine (#10144) 2026-12-04 07:18:54 -04:00
Niels Kootstra f0cd34cfbd fix(lambda): honour a response Content-Type header of any case in the local proxy (#10141) 2026-12-04 07:14:23 -04:00
Oleksandr Nikolaichuk c68a08388e refactor(cloudformation): Events Archive takes replacement from the engine (#10143) 2026-12-04 07:13:34 -04:00
Jackson Price 810027bcd2 test(dynamodb): reuse the shared request helper in import tests (#10135) 2026-12-04 07:00:25 -04:00
Jackson Price f6de4caa5e test: share monitor waits across EKS, Lambda and ECS tests (#10127)
Use the shared thread-state poller for layer policy calls and task
startup. Keep the held monitor and fail if the worker exits before
blocking.

Move the EKS state check into ThreadStates and pass each caller's
timeout through to the shared poller.

Signed-off-by: Jackson Price <jxnprice@amazon.com>
2026-12-04 07:00:01 -04:00
Hector Ventura d08b578474 refactor(core): untangle TLS and DNS from AWS service code (#10134) 2026-12-04 06:58:54 -04:00
Kenshin Okinaka 21e89fe7ff test(athena): share the Trino query helpers across the sidecar tests (#10131)
The date-time and JSON function tests each had the same private
row(sql) helper, and jsonResultColumnsAreTypedAsAthenaTypesThem ran
the same translated DESCRIBE and athenaType mapping as the date-time
tests' types(sql). Both helpers move to TrinoSidecarQueries, which the
two classes call.
2026-12-04 00:13:35 -04:00
XuJian 83f600dc3f feat(route53resolver): answer GetFirewallConfig for a VPC (#10073) 2026-12-04 00:12:00 -04:00
Jackson PriceandAndre Kurait 29616491c8 test(dynamodb): wait for import completion and reuse the export check (#10129)
Wait through CANCELLING in the import tests and report the import ARN on timeout. Use the same DescribeExport check in the round-trip and export tests.

Co-authored-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Jackson Price <jxnprice@amazon.com>
2026-12-04 00:04:13 -04:00
Priamo Germosen a0a382b59a fix(iam): check Amazon Connect by its generated routes, resources and tags (#10125)
Under enforcement a REST route no vendored model names runs unchecked, and Amazon Connect was among them: any caller
could create, describe, update or delete an instance, its attributes or its storage configs. Connect's model routes are
vendored (regen_rest_routes.MODELS, signed connect), so each request is checked as its operation's action, and connect
joins the generated tables of request resources and tags on create: an instance by the id its path gives, each of
Connect's other resources by the members its request names, and the tags a create carries.

ConnectStoredResourceArns answers the tags Connect holds on an instance, read in place in the ARN's account and Region,
which an aws:ResourceTag condition reads. The table asks for a traffic distribution group or a data table to be found,
which Floci does not serve, so there is nothing to find. The table's integer variables now include Connect's
customer-managed-view-version ViewVersion, which test_regen_iam_request_resources pins.

A namespace the table reads is served on its tag routes only at the ARN its path encodes, so ConnectIntegrationTest's
tag calls send the ARN encoded, as the SDKs do, rather than with its '/' raw.

IamRestRouteEnforcementIntegrationTest checks that with no grant an instance's read is refused, that a grant on one
instance reads it and refuses another, and that an aws:ResourceTag condition reads its tags.

ConnectService named an instance by any ARN, reading the text after its first slash, so an ARN of another shape
(arn:aws:connect:us-east-1::other/<id>) reached an instance IAM had not checked the request on, past a deny on it. It
now takes an instance's own ARN alone, the one IAM checks, refuses an ARN of any other shape, and looks one of another
account or Region up as given, which finds nothing; storedTags answers an instance's own ARN alone, so another
partition's gets no tags. ConnectStoredResourceArnsTest covers both, IamRestRouteEnforcementIntegrationTest checks that
an instance deny holds for each form the path gives it and that a tagged CreateInstance needs connect:TagResource, and
docs/services/connect.md says which ARNs are taken.
2026-12-04 00:02:50 -04:00
Hector Ventura ae9b7962ef refactor(docker): make the Docker client connect timeout configurable (#10132) 2026-12-04 00:01:53 -04:00
Priamo Germosen 00230a3612 feat(cloudwatch): start, read, update and stop OTel enrichment (#10130)
Add StartOTelEnrichment, GetOTelEnrichment, UpdateOTelEnrichment and
StopOTelEnrichment over Query, JSON 1.0 and CBOR, with one configuration
per account and Region as the user guide scopes it. Floci stores the
configuration; enriching vended metrics comes next.

Resource tag enrichment, the default, needs ObservabilityAdmin's resource
tags for telemetry running in the Region: a start without it is the
modeled ValidationError with the API reference's sentence, as AWS quotes
no message. EnableTagEnrichment false needs nothing. A start while
running changes nothing, an update replaces both filter lists as a pair
and keeps the stored tag setting it omits, and an update while stopped is
AWS's ResourceNotFoundException "OTel enrichment is not enabled for this
account". A stopped enrichment reads as its status alone.

Filters are validated as the model gives them, every violation listed in
AWS's form, then against the 100 selectors allowed across both lists. A
selector naming metrics without a namespace is refused as a null namespace
over Query too, for metric streams as well, rather than read as no selector.
Over JSON, a filter list sent as something else is refused with the
deserializer's SerializationException, and EnableTagEnrichment sent as a
string is read as the boolean it names or refused, so a malformed update
changes nothing.
Over Query, a filter name XML cannot carry is written as U+FFFD, for
metric streams too.

Part of #7030.
2026-12-03 22:58:23 -04:00
Hector Ventura 570c8357a2 refactor(lifecycle): let services contribute their /_floci/info fields (#10126) 2026-12-03 22:32:39 -04:00
Jackson PriceandAndre Kurait 29dcba08c2 test(redshift): distinguish port conflicts from other socket errors (#10122)
Keep each test socket open only for its bind probe and retry only bind conflicts while waiting for release.
Share the listener port checks between the Redshift and RDS proxy tests through FreePorts.

Co-authored-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Jackson Price <jxnprice@amazon.com>
2026-12-03 22:06:58 -04:00
Jackson PriceandAndre Kurait 77f22686c4 test(ssm): verify contention on the command during status updates (#10121)
Observe the command monitor before releasing the status writer. Release the writer and join each worker even when an assertion fails.
Share the wait for a worker blocked in a method through ThreadStates.awaitBlockedIn.

Co-authored-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Jackson Price <jxnprice@amazon.com>
2026-12-03 22:00:05 -04:00
Hector Ventura b83b9346ab refactor(core): give ContainerLogStreamer a log sink instead of CloudWatch Logs (#10123) 2026-12-03 21:56:39 -04:00
Daniël van Ziel 9d93fee08d fix(appsync): return the raw SDL from GetIntrospectionSchema (#10124) 2026-12-03 21:48:05 -04:00
Priamo Germosen ae99b5a874 feat(observabilityadmin): serve resource tags for telemetry with its Resource Explorer managed view (#10075)
CloudWatch's OTel enrichment reads resource tags through ObservabilityAdmin's
resource tags for telemetry feature, which has to be running before
StartOTelEnrichment enables tag enrichment. Add the ObservabilityAdmin service
with StartTelemetryEnrichment, StopTelemetryEnrichment and
GetTelemetryEnrichmentStatus, one feature per account and Region.

Starting the feature has Resource Explorer create a LOCAL index when the
Region has none and a managed view that includes tags, as the CloudWatch user
guide describes. GetManagedView and ListManagedViews now answer the views
Floci's services create. A status read before the first start is the modeled
ResourceNotFoundException, and a stop of a stopped or never-started feature
changes nothing.

The passed-roles table now reads ObservabilityAdmin. A vendored source,
written from the CloudWatch user guide and the Observability Admin API
reference, gives a dataset integration's role to CloudWatch Logs, whose trust
policy it names, and gives where a telemetry pipeline's YAML configuration
names its roles: its source's and its Secrets Manager extension's, each going
to the service its source type's role trusts, and to CloudWatch Logs as well
with a lookup processor or a conditional route.

Part of #7030.
2026-12-03 21:35:28 -04:00
Stefan Dobrovolny 5576c5080b fix(dynamodb): compare an export ClientToken retry as the first call resolved it (#10120) 2026-12-03 20:53:44 -04:00
Lucien 803c814468 feat(iot): add the software package catalog (#10028) 2026-12-03 20:47:25 -04:00
Jackson PriceandAndre Kurait ef42ed081c test(dynamodb): require exports to complete before checking results (#10119)
Check the terminal status in the shared export test helper.
Fail at the wait when an export fails or stays in progress.

Co-authored-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Jackson Price <jxnprice@amazon.com>
2026-12-03 20:21:19 -04:00
Jackson PriceandAndre Kurait a3542e47f4 test(glue): verify delete waits for the job run write (#10118)
The Glue race test now waits for the delete worker to identify itself and
then for that thread to block on the service monitor before releasing the
paused job-run write. Both waits fail on timeout, so a slow-to-start delete
worker can no longer miss the overlap and still pass.

Co-authored-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Jackson Price <jxnprice@amazon.com>
2026-12-03 20:06:20 -04:00
Priamo Germosen ed36acd1d9 chore(deps): bump botocore to 1.44.17 (#10117)
Bumps botocore from 1.44.14 to 1.44.17 with its regenerated data. 1.44.18 waits: it adds RDS data groups, and the
Service Reference lists two tagging actions for CreateDataGroup, rds:AddTagsToDataGroup and rds:AddTagsToResource,
while no AWS page says which one the tags a create carries need, so the tag-on-create generator stops on it.

botocore 1.44.17 moves Athena to REST-JSON ("The AWS SDKs for Athena now use the REST-JSON format"), and Floci serves
Athena as JSON 1.1 under the AmazonAthena target prefix. regen_rpcv2_cbor_shapes reads Athena's model under that prefix
as a JSON facade, as it reads API Gateway V2's, so Athena's shapes there are unchanged but for GetQueryResultStream.
The request-resources table now locates Athena's members in its REST paths (WorkGroup in /workgroups/{WorkGroup}),
and a member is read from a request's path only when the request came over REST: a JSON, CBOR or Query request carries
every member in its body or form, so RequestResources locates none for it. Without that, a JSON 1.1 Athena request lost
the WorkGroup its body names and was checked on the primary workgroup. RequestResourceMembersTest sends a request whose
members its path carries as REST, and RequestResourcesTest sends Athena's StartSession as JSON 1.1.

The other changes follow the models and the Service Reference: IAM's workload identity operations are read now that
botocore has them, its five new paged lists join regen_iam_shapes' operations so their requests are held to the model as
every paged list's is (Floci does not serve them, so IamListPaginationIntegrationTest pages the lists it serves, those
that do not answer UnsupportedOperation), and its condition keys carry their tagging actions (twenty now, with the
workload identity providers and templates); SageMaker, Redshift Serverless, EKS, Bedrock and ECR rows, the service
namespaces and the DynamoDB and S3 Control condition keys follow theirs, and fetch_dms_arn_formats refreshes its
botocore examples at the new pin.
2026-12-03 20:00:26 -04:00
Ridwan 8655fcf3cd chore(storage): add scanInAccount and remove duplicate account helpers (#10116) 2026-12-03 19:25:47 -04:00
Jimmy Liu Jia a355c137d3 fix(apigateway): allow private REST APIs without VPC endpoints (#10115)
CreateRestApi refused a PRIVATE REST API unless vpcEndpointIds was supplied, while AWS treats the VPC endpoint list as optional. The check is removed from the shared endpoint configuration path, so creating a PRIVATE API, switching one to PRIVATE, and removing a PRIVATE API's last VPC endpoint all work without endpoint IDs.

Closes #10110
2026-12-03 19:04:30 -04:00
Jackson PriceandAndre Kurait de2f8944cd test(redshift): check that disabling delivery preserves event history (#10114)
Check the event history before asserting the disabled queue is empty.
Use one SQS long poll to receive the enabled notification.

Co-authored-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Jackson Price <jxnprice@amazon.com>
2026-12-03 18:51:51 -04:00
Jackson PriceandAndre Kurait 52fdf70a52 test(rds): retry only bind failures when checking proxy ports (#10113)
Keep the half-second release check and retry only bind failures.
Close each loopback probe even when the listener still owns the port.
Check real proxies with the same wildcard bind they use at startup.
Check loopback fixtures at the address the operating system assigned.

Co-authored-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Jackson Price <jxnprice@amazon.com>
2026-12-03 18:46:26 -04:00
Stefan Dobrovolny 1ce56af826 fix(dynamodb): return the existing export for a repeated ClientToken (#10061) 2026-12-03 18:28:32 -04:00
Murtuza Chhil c95aecbb92 fix(paymentcryptography): the account number may be the account field (#10076)
TranslatePinData binds a format 0 or 3 PIN block to the twelve-digit account field, the twelve right-most digits of the account number without its check digit, and a caller holding the block sends that field as PrimaryAccountNumber. A twelve-digit value was read as a PAN whose check digit was dropped, so the derived field was one digit short and the block did not decipher. For the formats 0 and 3 a twelve-digit value is now the field itself, while format 4, which binds the PIN to the whole PAN, reads it as a PAN as before; the Visa verification value follows the same reading. A request whose translation attributes name no account number is refused with ValidationException instead of throwing.

Closes #10077
2026-12-03 18:24:56 -04:00
Lucien e92a9736be feat(ec2): add VPC endpoint service configurations (#10032) 2026-12-03 18:13:46 -04:00
Jimmy Liu Jia 8ee6891424 refactor(athena): reuse Glue request helper for cleanup (#10109)
AthenaIntegrationTest's seven Glue cleanup requests now go through the shared GlueRequests.call, signed for the default account and Region the test's own calls land in, and its private deleteGlue helper is removed. The cleanup order, request bodies and status assertions are unchanged.
2026-12-03 17:58:33 -04:00
Jimmy Liu Jia 39aa20b68b refactor(glue): reuse catalog refusal in connection batches (#10092)
BatchDeleteConnection and the ordinary Glue actions now share one nonDefaultCatalogRefusal decision. The batch still answers a refusal for each connection name and leaves connections in the default catalog intact, which a new handler test covers for an existing non-default catalog; the batch refusal checks share one test helper.
2026-12-03 17:55:44 -04:00
Jackson PriceandAndre Kurait 053e2aa76b test(sns): wait for signed HTTP deliveries on a queue (#10106)
Let the HTTP handler wake the test as each signed envelope arrives.
Keep the listener and its queue local to the HTTP test.

Co-authored-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Jackson Price <jxnprice@amazon.com>
2026-12-03 17:51:22 -04:00
Jackson PriceandAndre Kurait 1ab1df794e test(opensearch): check duplicate create while the first start is blocked (#10105)
The first domain create pauses in the fake container manager, and while it is paused the test issues the duplicate create on the test thread and checks the ResourceAlreadyExistsException. It then releases the first create, also when an assertion fails, and verifies that the manager started one container. This removes the second worker and the sleep loop that polled it.

Signed-off-by: Andre Kurait <akurait@amazon.com>
Signed-off-by: Jackson Price <jxnprice@amazon.com>
Co-authored-by: Andre Kurait <akurait@amazon.com>
2026-12-03 17:46:12 -04:00
thejrose1984 71c78beeab fix(apigateway): check the role an integration names as its credentials (#9927) 2026-12-03 17:45:41 -04:00
Niels Kootstra 0f894c382e fix(apigateway): select a Lambda error response by the payload's errorMessage (#10085)
For a Lambda (AWS, non-proxy) integration, an integration response's selectionPattern was tested against the error type followed by the whole error payload, so a pattern written for the message could never match. It is now tested against the payload's errorMessage, as the API Gateway developer guide describes; a payload without a textual errorMessage keeps the previous subject. Reading a function error's errorMessage moves to one helper, LambdaFunctionErrors, which AppSync, Cognito and Redshift Spectrum now share, each keeping its own fallback.
2026-12-03 17:44:20 -04:00