Commit Graph
3063 Commits
Author SHA1 Message Date
soreavis 3455a8f6fa fix(config): keep a conformance pack's delivery, parameters and tags (#10065)
PutConformancePack read only the pack's name and template, so
DescribeConformancePacks never returned the DeliveryS3Bucket,
DeliveryS3KeyPrefix and ConformancePackInputParameters the pack was put
with, and its Tags were dropped. The pack now stores and returns them,
and a Put on an existing pack replaces them. Tags apply only when the Put
creates the pack, as the PutConformancePack reference says, and are
written before the pack, so a tag without a Key stores nothing.

The Config integration tests share one ConfigRequests.call helper.
2026-12-03 10:41:09 -04:00
Priamo Germosen f895b21f52 fix(iam): check Amazon MWAA by its generated routes, resources and passed roles (#10017)
Under enforcement a REST route no vendored model names runs unchecked, and Amazon MWAA was among them: any caller could
create, read, update or delete an environment, get its CLI or web login token, and pass an execution role with no
iam:PassRole. MWAA's model routes are vendored (regen_rest_routes.MODELS, signed airflow), so each request is checked as
its operation's action, and airflow joins the generated tables of request resources, passed roles and tags on create: an
environment by the name its path gives or the ARN its body does, CreateEnvironment's and UpdateEnvironment's
ExecutionRoleArn passed to airflow, and the tags a create carries.

MwaaStoredResourceArns answers the tags MWAA holds on an environment, read in place in the ARN's account and Region, a
pre-multi-account entry under its bare name included, which an aws:ResourceTag condition reads.
StoredResourceArns names it, and now says MSK answers the tags of a cluster alone, as #9973 left MSK.

A namespace the table reads is served on its tag routes only at the ARN its path encodes, so MwaaIntegrationTest's tag
calls send the ARN encoded, as the SDKs do; IamActionRegistryTest's example of a route Floci does not check on a
resource it reads becomes IoT's DescribeThing.

IamRestRouteEnforcementIntegrationTest checks that with no grant an environment's read is refused, that a grant on one
environment reads it and refuses another, and that an aws:ResourceTag condition reads an environment's tags.
IamPassRoleEnforcementIntegrationTest checks that CreateEnvironment and UpdateEnvironment need iam:PassRole on the
execution role they name, passed to airflow.amazonaws.com, which a grant for EC2 does not cover.

An ARN names the account that owns the resource, so a request on another account's resource is cross-account whether
or not its service holds a policy on it. Before, a resource with no supplied policy had no owner, so the caller's own
policies alone decided a call on another account's MWAA environment, and an aws:ResourceTag condition answered on that
environment's tags. ResourcePolicyProviders.ownerAccount now answers the first supplied policy's owner, or else the
ARN's account, and IamEnforcementFilter and RoleResourceAccessAuthorizer judge the request as IAM's cross-account
evaluation logic does: "AWS allows the request only if both account policy evaluations allow the request". An ARN
naming no account, as an S3 bucket's, is judged within the caller's account as before.

So every service that holds a resource-based policy supplies it, read in the account the ARN names: Backup vault access
policies, Bedrock guardrails and guardrail profiles, Bedrock AgentCore, CloudHSM backups, CloudWatch Logs destinations,
DynamoDB tables, ECR repositories and the registry policy, the Glue Data Catalog (for its Data Catalog resources alone,
never a job or crawler), Lambda web functions, Marketplace entities, OAM sinks, Organizations, Payment Cryptography
keys, S3 Tables buckets and tables, S3 Vectors buckets, Secrets Manager secrets, SES identity policies, SSM parameters
and WAF rule groups. An OpenSearch domain's access policy is not among them: AWS applies it to the domain's subresources
only, "not the domain itself", and "accessing the configuration API requires an identity-based policy", while Floci
checks the configuration API alone. Nor is an EFS file system policy, which AWS uses "to control file system data
access" by NFS clients, which Floci does not serve. Nor are the resource policies CloudWatch Logs' PutResourcePolicy
sets, which AWS enforces only for AWS service principals, "not IAM users, roles, or cross-account principals". Nor is a
Redshift cluster's or Serverless namespace's resource policy, which AWS describes as "resource policies that work with
zero-ETL integrations", whose actions Floci does not check. CloudHSM reported every backup ARN in 000000000000; it now
names the caller's account, so the ARN DescribeBackups gives is the caller's own.

A resource with no policy that its service acts on in the account its ARN names (StoredResourceArns.reachedInItsAccount:
a RAM invitation sent to the caller or a share another account owns, an SSM document another account owns, a Redshift
snapshot named by its owner) is judged within the caller's account, its handler answering whether the owner's share lets
the caller use it, as that contract already says. So accepting a RAM invitation, associating a shared SSM document and
restoring a shared Redshift snapshot work as before.

ResourcePolicyProvidersIntegrationTest checks that each provider supplies its policy, owned by the ARN's account, and
nothing for the same ARN in another account, and that the Glue Data Catalog policy is not supplied for a job.
IamRestRouteEnforcementIntegrationTest checks that another account's MWAA environment is refused whatever its tags and
the caller's policies, and that EKS tagging of a foreign ARN is refused; IamRequestResourceEnforcementIntegrationTest
checks that a repository in another registry is refused while its policy grants another account and reaches ECR once it
grants the caller's; LogsArnTagAuthorizationIntegrationTest checks that a foreign log group ARN is refused.

AWS added 24 RDS actions to the Service Reference at 18:02Z on 2026-12-02 (branches, data groups and DB cluster groups,
and ResyncIntegration), which the online verify gate reads from AWS's current copy, so the generated tables take them.

AWS's Service Reference stopped listing iam:PassRole for kinesisanalytics:AddApplicationReferenceDataSource at 05:02Z on
2026-12-03, so the regenerated passed-roles table drops it, and the request-resources table, generated beside it, is
regenerated with it.
2026-12-03 09:38:39 -04:00
Priamo Germosen 23b66d557a feat(cloudwatch): evaluate PromQL alarms and list their contributors (#10050)
PutMetricAlarm takes EvaluationCriteria.PromQLCriteria over Query, JSON,
CBOR and CloudFormation, with the answers AWS gives: the members of an
alarm on a metric are refused as unnecessary, by name, and the
EvaluationInterval must be 10, 20, 30 or a multiple of 60. An interval
without criteria is now the ValidationError AWS answers, "EvaluationCriteria
is required when EvaluationInterval is specified", in place of Floci's
InvalidParameterCombination. A new PromQL alarm is in OK with "No time
series evaluated to ALARM", and DescribeAlarms echoes its criteria and
interval without the single-metric members.

The alarm evaluator runs the alarm's instant query once its interval has
passed, as the account that owns it. Each series returned is a
contributor, identified by its labels without __name__, as Prometheus
labels an alert. Contributors go to ALARM after PendingPeriod and back to
OK after RecoveryPeriod, as Prometheus's for and keep_firing_for move an
alert, at most 100 at a time, and the alarm is in ALARM while one is. A
failed or non-vector query is EVALUATION_ERROR and keeps the state;
more than 500 series is PARTIAL_DATA. A run is dropped when the alarm
changed while its query ran.

Each contributor change is an AlarmContributorStateUpdate history item
and a contributor-level SNS notification, with AlarmContributorId and
AlarmContributorAttributes and no NewStateReason or Trigger.
DescribeAlarmContributors lists the contributors in ALARM, and
DescribeAlarmHistory filters by AlarmContributorId. A query that returns
one series and ends in a comparison with a number drives Auto Scaling
step actions with that number as the threshold.

Floci's own choices where AWS documents none: the contributor history
summary and data, the empty contributor StateReason, the message for
criteria without an interval, EvaluationWindow among the unnecessary
members, and the evaluation error reasons.

Part of #7030.
2026-12-03 08:51:22 -04:00
ngtrthvu 4b30bfd2f2 docs(ui): add Local Console, a third-party console, to the known consoles table (#10063)
Lists Local Console (ghcr.io/ngtrthvu3007/local-console), a third-party
console that follows Console Contract v1 and labels itself, in the known
consoles table.
2026-12-03 08:37:04 -04:00
Stefan Dobrovolny de2fbf8dee fix(s3): emit ObjectTagging notifications for PutObjectTagging and DeleteObjectTagging (#10062) 2026-12-03 08:29:15 -04:00
XuJian 00f3d9f894 feat(ec2): merge an overlay catalog onto the EC2 images in use (#10049) 2026-12-03 08:03:53 -04:00
Victor 6eedefad9b feat(cognitoidentity): support GetOpenIdTokenForDeveloperIdentity (#9986)
Adds GetOpenIdTokenForDeveloperIdentity for developer-authenticated
identities. Each (DeveloperProviderName, developer user) pair gets a
stable IdentityId; additional logins must name a provider the pool is
configured for and are linked by the user their token identifies, so a
login already linked to another identity answers
ResourceConflictException and a developer user registered elsewhere
DeveloperUserAlreadyRegisteredException. Tokens are RS512 JWS signed
with a per-pool key, carry PrincipalTags, and use AWS's regional issuer.
The pool's OIDC discovery document and JWKS are served under
/.well-known and follow the cognito-identity service's enablement.

Closes #9995
2026-12-03 07:46:03 -04:00
Kenshin Okinaka 295cce5497 feat(athena): add to_iso8601 and with_timezone (#10055) 2026-12-03 07:34:07 -04:00
Niels Kootstra d1b30b79db fix(lambda): delete a function's asynchronous invoke configs with the function (#10009)
DeleteFunction left the function's event invoke configs in the store, so
a function created later under the same name inherited the deleted
one's retry, event age and destination settings. Deleting the whole
function now removes its configs for every qualifier, leaving other
functions alone, including ones whose names share a prefix. Put and
Update of a config take the same per-function lock as the delete, so a
write racing a delete gets ResourceNotFoundException instead of bringing
the settings back.
2026-12-03 07:30:43 -04:00
Kenshin Okinaka 49508c020d fix(athena): run a query in the work group it names (#10053) 2026-12-03 07:23:54 -04:00
Allen Sanborn fcc8954e01 feat(logs): add DeleteResourcePolicy and resource-scoped resource policies (#10045) 2026-12-03 07:16:45 -04:00
Jackson PriceandAndre Kurait f16bd3787c fix(appconfig): honor the latest version number when creating hosted configurations (#10043)
Compare the optional locking token with the latest hosted version for the profile before storing a new configuration. Two callers that read the same version can no longer both complete conditional writes against it.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
Signed-off-by: Andre Kurait <AndreKurait@gmail.com>
Signed-off-by: Jackson Price <jxnprice@amazon.com>
2026-12-03 07:12:42 -04:00
Allen Sanborn 2fc674116e fix(cloudfront): store and return the whole field-level encryption config and profile (#10041)
Creating a field-level encryption config or profile kept only its
CallerReference and Comment, so reads came back nearly empty. The whole
FieldLevelEncryptionConfig and FieldLevelEncryptionProfileConfig element
is now stored as sent and replayed on every read.
GetFieldLevelEncryptionConfig answers with a FieldLevelEncryptionConfig
root in the CloudFront namespace, GET /field-level-encryption/{Id} and
GET /field-level-encryption-profile/{Id}/config are served, and the
lists return the summary shapes. Records stored by an older Floci are
rebuilt from the fields they kept.

Closes #7914
2026-12-03 00:05:51 -04:00
TATSUNO “Taz” Yasuhiro 72e062b1fe feat(eventbridgev2): retry and dead-letter failed queue deliveries (#10042)
A queue target used to log and drop an event whose delivery failed. A
queue now gets the events of one publish in batches of up to
MaxBatchSize, and a failed batch is retried and dead-lettered as a
function's is. The first attempt still runs before PutEvents returns;
only the retries run in the background, and a FIFO subscriber's later
batches wait behind one being retried. A subscriber deleted or reset
during the first attempt sends no retries or dead letters. The
dead-letter record's error code follows the stage that failed:
CUSTOMER_VALIDATION for a DelaySeconds that is no integer or a batch the
queue refuses whole, RESOURCE_NOT_FOUND for a missing queue, and
PARTIAL_BATCH_FAILURE when the queue refuses some entries. An expression
with no value now leaves its parameter out, and a standard dead-letter
queue gets the first event's group id.
2026-12-02 23:49:45 -04:00
Priamo Germosen 979d576684 feat(cloudwatch): query explicit-bucket histograms in PromQL (#10039)
The guide's "How CloudWatch stores histogram metrics" says CloudWatch
converts an explicit-bucket histogram to an exponential one at
ingestion, keeping the count and sum exactly and placing each source
bucket's count in the exponential buckets that cover its range,
weighted by how its density compares with its neighbors' rather than
spread evenly. The guide does not give the algorithm, so Floci's is
its own.

A delta data point's bucket has its density run linearly between edge
densities averaged with each neighbor, and its unbounded buckets reach
its min and max. Any other data point, a cumulative one among them,
has its buckets spread evenly and its min and max unread: the guide's
"Querying histogram metrics" reads a cumulative histogram's growth with
rate, which takes a falling bucket for a counter reset, and a bucket
weighted by its neighbors, or reaching a maximum, gives up part of its
range as they grow. Without a min the lowest bucket reaches down to
zero as histogram_quantile assumes of a classic histogram, without a
max the highest is held just above its bound, a bucket that reaches
zero becomes the zero bucket, and the schema is the finest at most 8
that holds the buckets in 160, the OpenTelemetry SDK default. The
layout depends on the bounds, never the counts, so a cumulative series
with fixed bounds keeps it, and lengths are halved before they are
subtracted, so bounds far apart keep finite counts.

Explicit-bucket series are labelled __type__="histogram" and
__temporality__ as exponential ones are, sharing one reader. Summaries
still carry no sample: the guide lists gauge, sum, histogram and
exponential histogram as the metric types it stores.

Part of #7030.
2026-12-02 23:36:30 -04:00
Hector Ventura 5fffd9f3a8 refactor(docker): read the Docker host override from floci.docker.host-override (#10025)
The Docker host override every container Floci starts relies on was
read from the Lambda section by core classes. floci.docker.host-override
(env FLOCI_DOCKER_HOST_OVERRIDE) is now the key, read through
EmulatorConfig.effectiveDockerHostOverride() by DockerHostResolver and
TlsProxyServer. It wins when set and not blank; otherwise the former
floci.services.lambda.docker-host-override still applies, giving every
reader the value it gave before, and its first use logs a deprecation
warning. The docs say which key wins and that the self-signed TLS
certificate does not name the override.
2026-12-02 23:24:29 -04:00
Allen Sanborn 2a2c51abe5 fix(application-autoscaling): accept scheduled actions on every dimension with AWS validation (floci-ws2dh) (#10034) 2026-12-02 23:21:20 -04:00
Jimmy Liu Jia cf07da1eeb fix(ec2): enforce security group rule quotas (#9929) 2026-12-02 23:12:59 -04:00
Jackson PriceandAndre Kurait 161872029e fix(cloudformation): keep included S3 snippets with their change set (#10033)
CreateChangeSet now stores the template with its AWS::Include snippets
merged beside the submitted one, and DescribeChangeSet and
ExecuteChangeSet use that copy, so overwriting or deleting the S3
object after creation no longer changes the preview or what deploys. A
new change set reads the current object, UsePreviousTemplate included,
and a snippet that can't be read at creation fails the change set with
the reason in StatusReason. Creating a change set retries at most three
times when the stack changes under it, then answers ServiceUnavailable.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-12-02 22:48:40 -04:00
Jimmy Liu Jia cf8d4bd68f feat(glue): search federated catalog tables (#10038) 2026-12-02 22:47:46 -04:00
Tomoki Odaka b922f1be4b feat(cognito): federate SAML 2.0 identity providers through /oauth2/authorize (#9910)
A SAML provider registered with CreateIdentityProvider now signs users
in through /oauth2/authorize, as OIDC and Google providers do. Floci
sends an unsigned AuthnRequest to the metadata's SingleSignOnService
and accepts the response at /saml2/idpresponse, on a custom domain and
on Floci's host, when its signature verifies with a metadata
certificate, it answers the request Floci sent, and its issuer,
audience, time window and bearer confirmation hold. The user is
reconciled as <ProviderName>_<NameID>, its attributes mapped by SAML
attribute name, and the client gets a Cognito authorization code.

The signature check moves to core/common/SamlSignatures, shared with
AssumeRoleWithSAML, and both now read an assertion's elements from
their parents' own children, so nothing placed inside a signature,
which its digest leaves out, is read.
2026-12-02 22:32:41 -04:00
Hector Ventura 1fcfedf08e fix(stepfunctions): check the tags Scheduler, ECS, EMR, CloudFormation and DynamoDB tasks create resources with (#10022)
A Step Functions task calling Scheduler, ECS, EMR, CloudFormation or
DynamoDB createTable was checked for its action and the roles it passes
but never for the tags it sends. Every arm now goes through
RequestChecks, so a runTask, createCluster, createStack family call or
createTable with tags needs the tag-on-create and tagging permissions
the generated tables give a direct call, and a request without tags is
checked exactly as before.

An ecs:runTask task now launches its tasks with the tags it is checked
for, building its request through the new EcsService.runTaskRequest
that the EventBridge and Scheduler targets share. RunTask with
propagateTags TASK_DEFINITION now gives a task the task definition's
tags beside the request's own, the request's value winning on a shared
key, instead of dropping the request's tags, and RunTask and StartTask
refuse a request whose merged tags would exceed 50 before any task
launches.
2026-12-02 22:05:47 -04:00
Jackson PriceandAndre Kurait 6ae5ab98e3 docs(ec2): show how to find interface VPC endpoint network interfaces (#10031)
The DescribeNetworkInterfaces entry now lists the network interfaces of
interface VPC endpoints, and the guide shows the AWS CLI call that
finds them by the requester-managed and interface-type filters.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-12-02 22:04:39 -04:00
TATSUNO “Taz” Yasuhiro b8b5f38776 feat(eventbridgev2): fill PutEvents event group and deduplication ids (#10027)
A PutEvents event carried EventGroupId and DeduplicationId in its
SystemMetadata only when the entry gave them. Both are now always set:
DeduplicationId is the given value or a random UUID, and EventGroupId is
the given value or that DeduplicationId. SystemMetadata follows AWS's
key order, aws:IngestionTime always has three fraction digits, and a
FIFO dead-letter queue takes the event's EventGroupId instead of a
random group of its own.
2026-12-02 22:01:04 -04:00
thejrose1984 3a37423474 fix(apigateway): send WebSocket AWS integrations with an sqs:path URI to SQS (#9860) 2026-12-02 21:59:55 -04:00
Priamo Germosen 324910b4dc feat(cloudwatch): estimate quantiles and spreads of histograms in PromQL (#10029)
histogram_quantile, histogram_fraction, histogram_stddev and
histogram_stdvar follow Prometheus v3.16. A native histogram's quantile
is found from the lowest bucket below 0.5 or for a NaN sum and from the
highest otherwise, interpolated exponentially (Go's Log2 and Exp2) or
linearly in the zero bucket, which reaches only to zero when one side
has no buckets; NaN observations give the NaN-result and skew infos.
The fraction interpolates each bound the same way, and the variance
takes each bucket at the geometric mean of its bounds, Kahan-summed.

Float series with an le label are classic histograms, grouped by their
other labels: BucketQuantile and BucketFraction sort, coalesce and raise
falling counts, with the forced-monotonicity info merged over samples
as Prometheus merges it. A malformed or NaN le (read as Go's ParseFloat
reads it) and a native histogram of a classic one's labels are left out
with Prometheus's warnings. quantile, quantile_over_time and
histogram_quantile warn of a quantile outside 0 to 1.

log2 now takes Go's own Log of the fraction rather than Java's Math.log,
which differed in the last bit for some inputs and so moved a quantile
interpolated through it. Shortest number formatting writes the one digit
Go writes for the smallest subnormals (5e-324, where Java's toString
gives 4.9E-324), in the API's numbers and in annotations alike.

Part of #7030.
2026-12-02 21:45:00 -04:00
Jimmy Liu Jia 99a1fef5cf fix(glue): reject unsupported catalog-scoped operations (#10020) 2026-12-02 21:40:04 -04:00
Hector Ventura f610e43bc6 fix(cloudformation): accept SES configuration set tags and options (#10021)
AWS::SES::ConfigurationSet accepted only Name, so a template with Tags
or any option property, including a CDK app with a Tags.of(...) aspect,
ended CREATE_FAILED. The provisioner now accepts Tags and every option
property, validates their shapes against the registry schema and passes
the values to SES. An in-place update writes only the options and tag
keys the stack owns, a tag change is checked against the final set
before anything is written, and a failed update rolls back only what it
changed. Boolean options are read through the shared
resolveOptionalBoolean.
2026-12-02 21:36:36 -04:00
rajp33 758f80673a fix(rds): let rds_replication members use the logical slot functions over SQL (#10007) 2026-12-02 21:23:55 -04:00
XuJian c633ae21cd feat(iot): search thing groups in the AWS_ThingGroups index (#10006) 2026-12-02 21:13:33 -04:00
XuJian 5470b03f4b feat(quicksight): add group, membership and namespace APIs (#10010)
Adds CreateGroup, DescribeGroup, ListGroups, DeleteGroup,
CreateGroupMembership, ListGroupMemberships, DeleteGroupMembership and
ListNamespaces. Groups and memberships are namespace-scoped records in
the account-aware store, a membership records the member's user ARN,
and DeleteUser and DeleteGroup remove the memberships they leave behind
by ARN in one atomic write. ListNamespaces reports default plus every
namespace holding a user or a group, since namespaces are implicit
here. The list operations share the module's pagination.

Closes #9836
2026-12-02 21:06:17 -04:00
Priamo Germosen 83209f39f6 feat(cloudwatch): take rates and resets of native histograms in PromQL (#10018)
rate, increase and delta of a histogram's range follow Prometheus
v3.16's histogramRate: the last histogram at the range's coarsest
schema less the first, each histogram before a counter reset added
back for a counter (the first taken as empty when the second follows a
reset), then extrapolated with the float path's factor, the count
standing in for the value. A counter reset is detected as
FloatHistogram.DetectReset detects one: a fall in the count, the zero
bucket or any bucket at the newer schema above the zero threshold, a
finer schema or a smaller zero threshold.

irate and idelta take the last two samples of either kind, resets and
changes count floats and histograms in time order, and a range of both
kinds has no rate with Prometheus's mixed-samples warning. Histograms
keep no counter reset hint, as the guide says rate treats every
histogram alike, so delta and idelta of histograms give Prometheus's
"this native histogram metric is not a gauge" warning.

Part of #7030.
2026-12-02 18:22:46 -04:00
Priamo Germosen 8705f7b1fe feat(cloudwatch): add, scale and aggregate native histograms in PromQL (#10015)
Histogram samples now take part in arithmetic and aggregation as
Prometheus v3.16 lets them: a histogram is added to or taken from
another, multiplied by a float or divided by one, negated, and compared
with == and !=; two histograms are first brought to the coarser schema,
merging the finer one's buckets, and to the larger zero threshold, which
takes the buckets it then covers. Any other pairing keeps nothing, with
Prometheus's "incompatible sample types encountered for binary operator"
info between two vectors.

sum and avg add histograms with Kahan compensation (PromQlHistogramSum,
a port of KahanAdd on Floci's dense buckets), avg falling back to a
running mean when the sum overflows, and so do sum_over_time and
avg_over_time; a group or a range holding both floats and histograms has
no result and gets Prometheus's "encountered a mix of histograms and
floats" warning, which responses now carry under warnings. A computed
histogram is counted against the query's memory once, as a label set
is, and a data point whose buckets reach past the bucket of infinite
observations carries no sample.

Part of #7030.
2026-12-02 17:10:20 -04:00
Priamo Germosen 7efb8cef00 fix(iam): check Amazon MSK by its generated routes, resources and passed roles (#9973)
Under enforcement a REST route no vendored model names runs unchecked, and Amazon MSK was among them: any caller could
create, describe, update or delete a cluster or a configuration. MSK's model routes are vendored
(regen_rest_routes.MODELS), so each request is checked as its operation's action, and kafka joins the generated tables
of request resources, passed roles and tags on create: a cluster, configuration, replicator, VPC connection or topic by
the ARN its path or body gives, CreateReplicator's and CreateChannel's service execution roles passed to kafka, and the
tags a create carries.

A JSON request carries a body member by its botocore locationName where one renames it, as MSK's do (Name is name on the
wire, ConfigurationInfo.Arn is configurationInfo.arn), and MSK's handler reads that name, so regen_iam_request_resources
names each body member path it reads as the request carries it (wire_named): a create is checked on the configuration or
cluster of the name MSK makes, and a body naming another under the botocore spelling too is checked on the one MSK
reads. GuardDuty's CreateFilter name and UpdatePublishingDestination destinationProperties, and API Gateway v2's portal
members, are read as their requests carry them too.

CreateClusterV2 names the configuration its brokers start from two structures deep (provisioned.configurationInfo.arn),
of a type the Service Reference lists for it, and the table read ARN members at most one structure deep, so
regen_iam_request_resources._nested_arns now reads too the members ending in Arn or Arns, holding a string, of a
top-level structure's structures, from botocore alone. 107 operations of other namespaces gain such a row; each ARN is
checked as one of the operation's types where it fits one and dropped where it does not, as one level deep already is,
so most (a KMS key, a role or a bucket naming no type of the action) change nothing. Those that do: Glue's CreateCatalog
and UpdateCatalog on their target catalog, EC2's RunInstances on the resource group a capacity reservation target names,
and Amazon Managed Service for Prometheus' CreateScraper on its workspace and EKS cluster and UpdateScraper on its
workspace. A create checks the tags it carries on what it makes alone, which the table marks by the type its name gives
past its verb; CreateClusterV2's subject, ClusterV2, names no type, so with_made now reads a subject named with a
version that names none without it, and CreateClusterV2 makes a cluster as CreateCluster does: a tagged create needs
kafka:TagResource on the new cluster, not on the configuration it names. A resource the request names by its ARN, or the
service's default a row stands for, exists already, so with_made never counts it as one the create makes, as no such row
of the table was: Glue's tagged CreateCatalog needs glue:TagResource on the catalog it makes, not on the Redshift
catalog it targets. That marks the created row of 95 creates across 38 namespaces; where the created row does not
resolve, the tag check still falls back to every resource the request names, so only a create naming an existing
resource of one of its types by ARN checks its tags on less.

MskStoredResourceArns answers the tags MSK holds on a cluster, read in place in the ARN's account, which an
aws:ResourceTag condition reads where the Service Reference gives the key (a cluster, not a configuration); a tag MSK
keeps with no value is read as an empty one, so it never fails the check.

AWS tags no MSK configuration: CreateConfiguration takes no tags, AWS::MSK::Configuration has none, the Service
Authorization Reference gives a configuration no aws:ResourceTag key and TagResource only assessment, cluster and
vpc-connection, and AWS's evaluation suite notes that TagResource rejects a configuration ARN ("Invalid input resource
arn"). Floci tagged them since #2366, so TagResource, UntagResource and ListTagsForResource now refuse a configuration's
ARN with that BadRequestException, as AWS does, and floci.services.msk.configuration-tags
(FLOCI_SERVICES_MSK_CONFIGURATION_TAGS, off by default) keeps the earlier tagging for state or scripts relying on it;
IAM checks those calls on '*', as no type of the action fits a configuration.

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

The tables also take the RDS cluster group types (cluster-group, cluster-group-snapshot, cluster-group-auto-backup) AWS
added to the Service Reference on 2026-12-02, on its tagging and restore actions, which the online verify gate reads.

IamRestRouteEnforcementIntegrationTest checks that with no grant a configuration's read is refused, that a grant on one
configuration reads it and refuses another, that an aws:ResourceTag condition reads a cluster's tags, that a cluster
holding a tag with no value is refused rather than answered with a 500, and that CreateConfiguration is checked on the
configuration of the name MSK reads, a body naming another under the botocore spelling too included; that a deny on the
configuration CreateClusterV2 names refuses the create, and that a tagged one needs kafka:TagResource on its new cluster
alone; MskServiceTest and MskControllerIntegrationTest check that a configuration's tag calls are refused unless
configuration-tags is on; IamRequestResourceEnforcementIntegrationTest checks that a deny on the catalog Glue's
CreateCatalog targets refuses it and a deny on tagging that catalog does not refuse a tagged one;
test_regen_iam_request_resources checks the wire names a JSON body path is read by the path read two structures deep,
the type a create named with a version makes, and that no resource named by ARN is made.
2026-12-02 16:20:07 -04:00
Priamo Germosen 6d2160108b feat(cloudwatch): query OTLP exponential histograms as native histograms (#10014)
Exponential histogram data points become native histogram samples, as
Prometheus's OTLP translator converts them: a scale above 8 is lowered to
8 by merging buckets, a scale below -4 carries no sample, OTLP bucket i
is bucket i + 1, and the zero threshold is Prometheus's 1e-128. Their
series carry __type__="histogram" and __temporality__, the labels the
user guide's "Querying histogram metrics" reads; __type__ is dropped
wherever the metric name is, as Prometheus drops it.

A series keeps its float samples apart from its histogram samples, so
the functions that do not mention native histograms ignore them, as
Prometheus's documentation says. histogram_count, histogram_sum and
histogram_avg read them; count, group, count_values (with Prometheus's
text form of a histogram), count_over_time, present_over_time,
last_over_time, timestamp and the label functions take them; min, max,
stddev, stdvar, quantile, topk and bottomk skip them with Prometheus's
"ignored histogram in <op> aggregation" info, placed as Prometheus places
it, returned under infos. The API writes histogram samples under
histogram and histograms as Prometheus does, with bucket bounds from
Prometheus's own table, and now writes numbers below 1e-6 and from 1e21
with an exponent, as Prometheus's MarshalFloat does.

Part of #7030.
2026-12-02 16:11:15 -04:00
Priamo Germosen aba7912fb2 feat(cloudwatch): serve PromQL range queries (#10002)
QueryMetrics over a range, GET and POST /api/v1/query_range: the query
evaluated at each step from start to end, both included, answered as a
matrix in order of the series' labels, a scalar as a series with no
labels. Parameters are checked in the order and with the messages of
Prometheus 3.0's API (start, end, end before start, step as seconds or a
duration, zero or negative step, 11,000 points per series), then against
the guide's 30-day range. A range query and a subquery share one step
evaluator, and a range query's result keeps its memory charge as an
instant query's does.

The guide's per-account concurrency limits now apply to every PromQL
endpoint: 30 query and 30 discovery requests of an account at once, one
past that refused with a 429.

A query's parse and type errors now carry Prometheus's `invalid parameter
"query": ` prefix on both query endpoints. Folds in two leftovers of the
Jackson 3 move: PromQlSeries uses stringNode, and OtlpMetricsDecoder no
longer catches an IOException nothing throws.

Part of #7030.
2026-12-02 14:57:28 -04:00
Jimmy Liu Jia df3fe5ce38 feat(logs): support stats, ispresent and like in Insights queries (#9925) 2026-12-02 14:48:14 -04:00
Jackson PriceandAndre Kurait fbd845c33c fix(codedeploy): return the compute platform for deployment groups (#9993)
GetDeploymentGroup and BatchGetDeploymentGroups returned each group
without its computePlatform, so SDK callers read null. Both reads now
fill it from the group's application when the group has none stored,
which covers new groups and ones saved before alike, and a stored value
still wins.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-12-02 14:04:05 -04:00
Allen Sanborn cf5dd0e3cf fix(apigateway): reject unknown UpdateMethod patch paths and CUSTOM auth without an authorizer (#9999) 2026-12-02 14:03:59 -04:00
XuJian 35b760918c fix(s3): ListBuckets filters the buckets by prefix and bucket-region (#9887)
ListBuckets read prefix and bucket-region only to decide whether to
render each bucket's BucketRegion, so the list was never narrowed. Both
parameters now filter the listed buckets before the page is cut, so a
continuation token resumes the filtered list, and a sent prefix, empty
included, comes back as the response's Prefix. A bucket-region outside
the Regions AWS publishes, or other than the Region the request reached
(for a presigned request, the one its credential names), is refused
with InvalidArgument as AWS answers it.

Closes #9858
2026-12-02 11:57:42 -04:00
Priamo Germosen 253e988b63 feat(cloudwatch): serve PromQL instant queries (#9990)
Part 2 of #7030. QueryMetrics (/api/v1/query) evaluates a PromQL
expression at one time over the stored OTLP metrics: a Prometheus 3.0
parser and a float engine with selectors, range selectors, subqueries,
the offset and @ modifiers, operators with vector matching, aggregations
and every non-experimental function but those of native histograms.

A result holds at most 500 series, truncated with the user guide's
warning, and every selector must name a metric. The guide's scan limits
and execution timeout bound the read, now shared with discovery, and a
query holds at most Prometheus's default 50,000,000 samples in memory.
2026-12-02 11:54:35 -04:00
Kenshin Okinaka 2352e27016 fix(athena): answer Trino's from_iso8601_timestamp on DuckDB (#9981) 2026-12-02 11:38:08 -04:00
Hector Ventura aca8c5129f fix(ses): cap the part count and nesting of the MIME messages Floci parses (#9996)
SES raw sends, the SMTP relay and EKS bootstrap user data parse
client-supplied MIME with mime4j, and the 0.8.12 the Quarkus BOM manages
caps neither the part count nor the nesting depth, so a message of a
huge number of tiny parts made the emulator build an object graph for
every part. mime4j is now managed at 0.8.15, and MimeMessages, the one
place Floci parses client-supplied MIME, pins its limits: SES's quota of
500 MIME parts, and mime4j's defaults of 64 levels of nesting, 16,384
header fields and 1 MB of header bytes.

Over a limit, a raw send is refused with InvalidParameterValue
(BadRequestException on v2) "Raw message could not be parsed.", a
simple send whose assembled attachments exceed it is refused rather
than sent unscreened, the relay skips the message, and EKS reads the
user data as non-multipart.
2026-12-02 10:56:24 -04:00
Vũ Thế Huy 850c12d2d1 feat(glue): wire Spark ETL jobs to Floci Redshift connections and S3 staging (#9638) 2026-12-02 09:04:31 -04:00
Ignas 2bb2a85e28 feat(route53): resolve public aliases to regional API Gateway custom domains (#9979)
A public Route 53 alias resolves only when a DNS record source claims
its target, and API Gateway had none, so an alias to a regional custom
domain's regionalDomainName returned REFUSED. ApiGatewayDnsRecordSource
now answers such an alias with the receiving listener's address, as
ElbV2DnsRecordSource does for an Application Load Balancer. The target
must name exactly one stored domain, in any account or Region, and the
alias's hosted zone ID must be that domain's regionalHostedZoneId; a
mismatch or an ambiguous name is REFUSED, and AAAA gets NOERROR with no
addresses.

Closes #9978
2026-12-02 08:56:42 -04:00
XuJian 9673300913 feat(quicksight): list and delete registered users (#9987) 2026-12-02 08:53:51 -04:00
Rashen Anupama 3fe3faa37e feat(iot): serve thing connectivity from MQTT session history (#9974)
GetThingConnectivityData now answers for a registered thing from the
MQTT broker's account- and Region-scoped session history: whether it is
connected, the last event's timestamp in epoch seconds and the
disconnect reason, with no session details for a thing that has never
connected. With connectivity indexing off it answers
InvalidRequestException with AWS's message, and includeSocketInformation
is accepted without the socket fields Floci doesn't track.

Closes #9933
2026-12-02 08:52:13 -04:00
Jackson PriceandAndre Kurait f7ac903d91 docs(elbv2): clarify target group health check intervals (#9983)
The ELB guide now gives the 5 to 300 second range CreateTargetGroup and
ModifyTargetGroup accept for HealthCheckIntervalSeconds, and says a
ModifyTargetGroup that omits it keeps the target group's current
interval.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-12-02 08:45:09 -04:00
Priamo Germosen e0254217be feat(cloudwatch): serve PromQL series and label discovery (#9984)
Part 1 of #7030. GetSeries (/api/v1/series) and GetLabels (/api/v1/labels,
/api/v1/label/<name>/values) answer over the metrics the OTLP endpoint
ingests, with the labels, selector syntax, limits and Prometheus envelope
the CloudWatch user guide's PromQL pages give. Regular expressions are
RE2's, as Prometheus's are.

The guide's "IAM permissions for PromQL" table is vendored by a new fetcher
and read by the authorized-actions generator, so the operations are checked
as cloudwatch:ListMetrics, and QueryMetrics carries cloudwatch:ListMetrics
as a companion every request needs, which the enforcement filter checks.
@IamOperation can name a method's operation.

The OTLP 40 KB metadata limit counts the resource and scope schema URLs,
which PromQL reads as labels of the series.
2026-12-02 08:40:21 -04:00
Andre Kurait a144aa4175 fix(cloudformation): preserve legacy S3 noncurrent expiration (#9967)
CloudFormation dropped an S3 lifecycle rule's deprecated
NoncurrentVersionExpirationInDays, so the stack succeeded but S3 held no
noncurrent expiration. The resolved days are now sent as NoncurrentDays
when the structured NoncurrentVersionExpiration property is absent.
Parameter updates and moves between the legacy and structured forms keep
the bucket and replace its retention settings.
2026-12-02 08:34:22 -04:00